
body {
  font-family: sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  background: #fafafa;
  scroll-behavior: smooth;
  font-size: 15px;
  line-height: 1.3em;
  text-align: center;
}
h1,h2,h3,h4,h5 {
  font-family: sans-serif;
}
ul,ol {
  list-style-type: none;
  margin: 0;
  padding: 0;
}
a {
  text-decoration: none;
}

/*--------------------------------*/
/* navigation*/
/*--------------------------------*/
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color:rgba(173, 25, 18, 0.9);
}
.nav-container {
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
}
.nav-logo {
  color: white;
  font-weight: bold;
}
.nav-links {
  display: flex;
  gap: 20px;
  align-items: center;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.nav-links a {
  color: white;
  text-decoration: none;
  font-size: 0.9em;
  font-weight: bold;
  transition: 0.2s;
}
.nav-links a:hover {
  opacity: 0.7;
}
.nav-links.open {
  opacity: 1;
  transform: translateY(0);
}
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}
.hamburger span {
  display: block;
  height: 3px;
  width: 25px;
  background: #fff;
  transition: all 0.3s ease;
}
/* ハンバーガー → × に変形 */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}
.top-link {
  display: flex;
  align-items: center;
  color: #fff;
  transition: 0.2s;
}
.top-link-image {
  width: 35px;
  margin-right: 5px;
}
.top-link:hover {
  opacity: 0.7;
}
@media (max-width: 768px) {
  .nav-container {
    height: 70px;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links {
    display: none;
    flex-direction: column;
    background: #e24733;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    padding: 30px 20px 40px;
    font-size: 1.2em;
  }
  .hamburger {
    display: flex;
  }
  .nav-links a {
    padding: 15px 60px 15px 60px;
  }
}
/* オーバーレイ背景 */
.menu-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 900;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
}

/* メニュー表示中に背景を表示 */
.menu-open .menu-overlay {
  opacity: 1;
  visibility: visible;
}

footer {
  padding: 20px;
  text-align: center;
  font-size: 0.9em;
  color: #666;
}


/*--------------------------------*/
/* utility*/
/*--------------------------------*/
.w-100p {
  width: 100%;
  max-width: none;
  padding: 0;
}
.w-1000px {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}
.w-1200px {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.num {
  font-family: roboto;
}
.link {
  color: #0867bf;
}
.link:hover {
  color: #1e85e5;
  text-decoration: underline;
}
.c-highlight {
  color: #e24733;;
}
.block {
  display: inline-block;
}
.i-block {
  display: block;
}
.note {
  display: block;
  font-size: 12px;
  color: #666;
}
@media (max-width: 768px) {
  .block {
    display: block;
  }
  .i-block {
    display: inline;
  }
}

/* fade in */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* fade zoom */
.fade-zoom {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-zoom.visible {
  opacity: 1;
  transform: scale(1);
}

/* fade up */
.fade-zoom-up {
  opacity: 0;
  transform: translateY(-20px) scale(0.95);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-zoom-up.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/*--------------------------------*/
/* section */
/*--------------------------------*/
section {
  max-width: 1000px;
  margin: 0 auto 6em;
  padding: 0 20px;
}
section h2 {
  font-size: 2.5em;
  line-height: 1.1em;
  font-weight: bold;
  margin-bottom: 1.5em;
}
section h2 span {
  display: block;
  color: #e24733;
  font-family: roboto;
  font-size: 0.5em;
  line-height: 0;
  margin: 0.8em 0 0;
}
.sec_intro {
  font-size: 1.5em;
  line-height: 1.5em;
  font-weight: bold;
}

@media (max-width: 768px) {
  section h2 {
    font-size: 1.5em;
  }
  .sec_intro {
    font-size: 1.3em;
  }
  .sec_intro span {
    display: inline;
  }
}


/*--------------------------------*/
/* MV | メインビジュアル */
/*--------------------------------*/
header {
  position: relative;
  height: 65vw;
  max-height: 680px;
  padding: 5em 0 0;
  background: #ad1912;
}
header::after {
  content: '';
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  bottom: -30px;
  width: 100%;
  height: 300px;
  background: url(image/mv_bg.svg) repeat-x bottom;
  background-size: 1000px auto;
}
.mv-ttl {
  max-width: 750px;
  width: 70%;
  margin: 0 auto;
}
.mv-fukidashi {
  position: absolute;
  width: 95%;
  max-width: 1200px;
  margin: 0 auto;
  left: -30px;
  right: 0;
  bottom: 150px;
}
.mv-daruma {
  position: relative;
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10;
}
.mv-daruma-pc {
  display: block;
}
.mv-daruma-sp {
  display: none;
}

@media (max-width: 768px) {
  header {
    height: 160vw;
    min-height: 550px;
    padding: 5em 0 0;
  }
  .mv-ttl {
    max-width: 500px;
  }
  .mv0fukidashi {
    width: 40%;
  }
  .mv-daruma {
    max-width: 400px;
  }
  .mv-daruma-pc {
    display: none;
  }
  .mv-daruma-sp {
    display: block;
    width: 90%;
    max-width: 400px;
  }
  header::after {
    background-size: 800px auto;
  }
}

h1 {
  display: inline-block;
  position: relative;
  margin: 1em 0;
  color: #fff;
  font-size: 3.5em;
  line-height: 1;
  font-weight: bold;
}
h1 .ttl-s {
  font-size: 0.8em;
}
.ttl-line {
  position: relative;
}
.ttl-line::before {
  content: '';
  display: block;
  width: 310px;
  height: 8px;
  position: absolute;
  bottom: -15px;
  left: 0;
  background: url(image/main_ttl-before.png) no-repeat center bottom;
  background-size: 100%;
}
.ttl-dotted {
  position: relative;
}
.ttl-dotted::after {
  content: '';
  display: block;
  width: 165px;
  height: 15px;
  position: absolute;
  top: -20px;
  right: 25px;
  background: url(image/main_ttl-after.png) no-repeat center top;
  background-size: 100%;
}
@media (max-width: 768px) {
  h1 {
    font-size: 2.5em;
    line-height: 2.2em;
    margin: 0 0 0.5em;
  }
  .ttl-line::before {
    width: 225px;
  }
  .ttl-dotted::after {
    width: 125px;
    top: -15px;
    right: 15px;
  }
}

/*--------------------------------*/
/* だるまパックとは| about */
/*--------------------------------*/
.about-intro {
  padding: 5em 30px;
  background: #fce6e6;
}

.about-intro h2 {
  margin: 1em 0;
  font-size: 2em;
  color: #e24733;
}
.about-intro p {
  margin-top: 1em;
  line-height: 1.5em;
}
.about-intro-text {
  font-size: 1.2em;
  font-weight: bold;
}

@media (max-width: 768px) {
  .about-intro p {
    text-align: left;
  }
}

.about-question {
  margin-bottom: 3em;
}
.about-question-ttl {
  width: 800px;
  margin: 0 auto;
}
.about-question_image {
  width: 600px;
  margin: 2em auto 0;
}
.about-question_lsit {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 1em;
}
.about-solution {
  padding: 4em 0;
  background: #ffffca;
}
.about-solution_list {
  max-width: 800px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 1em auto 0;
}
.about-solution_text {
  font-size: 1.3em;
  line-height: 1.3em;
}
.about-solution_list li {
  font-weight: bold;
}
.about-solution_list li span {
  display: block;
}
.about-solution_ttl {
  width: 700px;
  margin: 0 auto 30px;
}
.about-solution_image_box {
  width: 200px;
  height: 200px;
  position: relative;
  margin: 0 auto 20px;
}
.about-solution_image {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
}

.about-point {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  align-items: baseline;
  width: 600px;
  margin: 2em auto 6em;
}
.about-point li {
  display: block;
  position: relative;
  margin: 0 auto;
}
.about-point li p {
  position: absolute;
  height: 45px;
  top: -15px;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  font-weight: bold;
  line-height: 1.5em;
  color: #fff;
}
.about-point li:nth-child(1) {
  width: 100%;
  height: 185px;
  background: url(image/balloon-1.svg) no-repeat;
}
.about-point li:nth-child(2) {
  top: 30px;
  width: 90%;
  height: 170px;
  background: url(image/balloon-2.svg) no-repeat;
}
.about-point li:nth-child(3) {
  top: 15px;
  width: 100%;
  height: 185px;
  background: url(image/balloon-2.svg) no-repeat;
}

/* スマホでは1列に変更 */
@media (max-width: 767px) {
  .about-solution_ttl {
    width: 90%;
  }

  .about-solution_image_box {
    width: 150px;
    height: 150px;
  }

  .about-question_lsit,.about-solution_list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .about-point {
    display: block;
    width: 100%;
    height: 350px;
    margin-bottom: 0;
  }
  .about-point li p {
    height: 65px;
  }
  .about-point li:nth-child(1) {
    width: 150px;
    height: 140px;
    left: -70px;
  }
  .about-point li:nth-child(2) {
    width: 150px;
    height: 140px;
    top: -40px;
    bottom: 0;
    right: -70px;
  }
    .about-point li:nth-child(3) {
    width: 150px;
    height: 140px;
    top: -70px;
    bottom: 0;
    left: -40px;
  }
}


/*--------------------------------*/
/* だるまパックでできること | features */
/*--------------------------------*/
#features {
  padding: 6em;
  background: #ffeeee;
}
.item-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  list-style: none;
  max-width: 1000px;
  padding: 0;
  margin: 20px auto 0;
}
.item-list li {
  padding: 20px;
  border-radius: 8px;
  border: 1px solid #d44841;
  background: #fff;
}
.item-list h3 {
  margin-bottom: 0.2em;
  font-weight: bold;
  font-size: 1.1em;
}
.feature_list_image {
  width: 150px;
  margin: 0 auto;
}
.feature_list_price {
  font-size: 0.8em;
  font-weight: bold;
}
.feature_list_price > span {
  margin-left: 0.3em;
}
.feature_list_price .num {
  font-size: 1.2em;
}
.feature_list_text {
  font-size: 0.9em;
  text-align: left;
  line-height: 1.3em;
}
.price-text {
  font-size: 1.3em;
  font-weight: bold;
  margin-top: 40px;
}
.price-highlight {
  display: inline-block;
  padding: 0 0.2em;
  font-size: 2.5em;
  line-height: 1.7em;
  color: #e24733;
  font-weight: bold;
  position: relative;
  opacity: 0;
  transform: scale(0.8);
  transition: transform 0.5s ease, opacity 0.5s ease;
}
.price {
  display: block;
  font-size: 1.5em;
}
.price .num {
  font-size: 1.8em;
  letter-spacing: -0.01em;
  vertical-align: -5px;
}
.price .num .comma {
  font-size: 0.8em;
  vertical-align: 10px;
}

/* アニメーション発火クラス（IntersectionObserverで付与） */
.price-highlight.visible {
  opacity: 1;
  transform: scale(1);
}
/* 黄色いアニメーション下線 */
.price-highlight::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 25px;
  background: linear-gradient(to right, #ffe91a 100%, transparent 0);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease 0.2s;
  z-index: -1;
}
/* アニメ時に下線が描画される */
.price-highlight.visible::after {
  transform: scaleX(1);
}

@media (max-width: 768px) {
  #features {
    padding: 6em 20px;
  }
  .item-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .item-list li {
    padding: 15px;
  }
  .price-highlight {
    margin-top: 5px;
    font-size: 2em;
    line-height: 1.5em;
  }
  .price {
    font-size: 1.2em;
  }
  .price .num {
    font-size: 1.5em;
    vertical-align: -2px;
  }
  .price .num .comma {
    vertical-align: 5px;
  }
}


/*--------------------------------*/
/* merits | だるまパックのメリット */
/*--------------------------------*/
.merit-list {
  display: grid;
  gap: 35px 20px;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 3em;
}
.merit-list li {
  background: #ffffca;
  padding: 2.5em 2em 2em;
}
.merit-list li h3 {
  position: relative;
  display: inline-block;
  font-size: 1.5em;
  font-weight: bold;
  color: #e24733;
  margin-bottom: 0.5em;
}
.merit-list_text {
  line-height: 1.5em;
  font-weight: bold;
}
.merit-list_text-sub {
  margin-top: 0.3em;
  line-height: 1.5em;
  font-size: 1em;
}
.merit-balloon-image {
  position: absolute;
  top: -25px;
  left: -10px;
  display: block;
  width: 120px;
  transform: rotate(-8deg);
}

@media (max-width: 767px) {
  .merit-list {
      grid-template-columns: repeat(1, 1fr);
  }
  .merit-balloon-image {
    width: 100px;
  }
}


/*--------------------------------*/
/* だるまパックの注文手順 | order */
/*--------------------------------*/
.order-image {
  margin: 2em auto 4em;
}
.order-image-pc {
  display: block;
}
.order-image-sp {
  display: none;
}
@media (max-width: 767px) {
  .order-image-pc {
    display: none;
  }
  .order-image-sp {
    display: block;
  }
}


/*--------------------------------*/
/* よくある質問 | faq */
/*--------------------------------*/
.faq-list {
  display: flex;
  flex-direction: column;
  margin: 0 0 4em;
}
.faq_anchor {
  margin: 50px 0;
  justify-content: center;
}
.faq_anchor li {
  display: inline-block;
}
.faq_anchor li a {
  display: block;
  margin: 5px;
  padding: 8px 20px;
  color: #e24733;
  background: #fff;
  border: 2px solid #e24733;
  font-weight: bold;
  border-radius: 40px;
  transition: 0.2s;
}
.faq_anchor li a:hover {
  background: #e24733;
  color: #fff;
}
.faq-item-head {
  color: #e24733;
  margin: 0 0 15px;
  font-weight: bold;
} 

.faq-item {
  text-align: left;
  border-top: 1px solid #ccc;
}
.faq-item + .faq-item:last-child {
  border-bottom: 1px solid #ccc;
}
.faq-question {
  position: relative;
  display: block;
  width: 100%;
  padding: 1em 2.5em 1em 1em;
  transition: background 0.3s;
  font-size: 1.2em;
  line-height: 1.5em;
    cursor: pointer;
}
.faq-question span {
  margin: 0 5px 0 0;
  color: #e24733;
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  line-height: 1.6;
}
.faq-item.active .faq-answer {
  max-height: 500px; /* 適宜調整 or jsで高さ算出も可 */
}
.faq-question:hover {
  background: #ddd;
}
.faq-answer-text {
  padding: 1em 2.5em;
}

.faq-question::after {
  content: '';
  display: inline-block;
  width: 10px;
  height: 10px;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 20px;
  margin: auto;
  border-right: 2px solid #666;
  border-bottom: 2px solid #666;
  transform: rotate(45deg);
  transition: transform 0.2s;
}
.faq-item.active .faq-question::after {
  transform: rotate(225deg); /* ▲に見える */
}

@media (max-width: 767px) {
  .faq-question {
    font-size: 1em;
  }
  .faq-answer-text {
    padding: 1em 1.5em;
  }
}

/*--------------------------------*/
/* 選挙カーをお探しの方 | car */
/*--------------------------------*/
#car {
  padding: 6em 20px;
  background: #e24733;
}
.car-ttl {
  width: 500px;
  margin: 0 auto;
}
#car h3 {
  color: #fff;
  font-size: 1.5em;
  font-weight: bold;
  line-height: 1.8em;
}
#car h3 span {
  display: inline-block;
  font-size: 1.3em;
  color: #ffe91a;
}
.car-box {
  background: #fff;
  width: 600px;
  padding: 15px;
  margin: 1.5em auto;
  border-radius: 12px;
}
.car-image {
  width: 100%;
}
.car-text {
  color: #fff;
  line-height: 1.5em;
}
#car .cv-button {
  width: 350px;
  margin: 2em auto 0;
  padding: 20px 80px 20px 80px;
  background: #fff;
  color: #e24733;
  font-size: 1.5em;
  transition: 0.2s;
}
#car .cv-button::before{
  content: none;
}
#car .cv-button::after{
  width: 14px;
  height: 14px;
  top: 0;
  right: 30px;
  border-right: 3px solid #e24733;
  border-bottom: 3px solid #e24733;
  transform: rotate(-45deg);
}
#car .cv-button:hover {
  opacity: 0.7;
}

@media (max-width: 767px) {
  #car .sec_intro {
    text-align: left;
  }
  .car-box {
    width: 100%;
  }
  .car-text {
    text-align: left;
  }
  #car .cv-button {
    width: 100%;
    padding: 20px 40px;
    font-size: 1.2em;
  }
}


/*--------------------------------*/
/* 企業情報 | company */
/*--------------------------------*/
#company dl {
  display: grid;
  grid-template-columns: 150px 1fr;
  width: fit-content;
  margin: 0 auto;
  text-align: left;
}
#company dt,
#company dd {
  margin: 0;
  padding: 15px 0;
  border-bottom: 1px solid #ccc;
}
#company dt {
  font-weight: bold;
  color: #333;
}
#company dd {
  color: #555;
}

/* スマホ表示：dtとddを縦並びに変更 */
@media (max-width: 768px) {
  #company dl {
    width: 100%;
    grid-template-columns: 1fr;
  }
  #company dt,
  #company dd {
    border-bottom: none;
    padding: 10px 0 0;
  }
  #company dd {
    padding-bottom: 12px;
    border-bottom: 1px solid #ccc;
  }
}


/*--------------------------------*/
/* contact | お問い合わせ */
/*--------------------------------*/
form {
  max-width: 600px;
  margin: 0 auto;
  text-align: left;
}
form label {
  vertical-align: middle;
}
form input,form select {
  width: calc(100% - 200px);
  padding: 10px;
  font-size: 1em;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}
form input:focus, form select:focus {
  border-color: #e24733;
  outline: none;
  box-shadow: 0 0 3px rgba(211, 51, 51, 0.3);
}
form .input {
  display: block;
  margin-bottom: 1.5em;
}
form .input .wpcf7-not-valid-tip {
  margin: 5px auto 0;
  font-weight: bold;
  font-size: 0.8em;
}
form input[type="submit"] {
  display: block;
  margin:  1em auto 0;
  padding: 25px 60px;
  background-color: #e24733;
  color: white;
  border: none;
  border-radius: 50px;
  font-size: 1.5em;
  font-weight: bold;
  transition: 0.2s;
}
form input[type="submit"]:hover {
  opacity: 0.7;
}
.form-label {
  display: inline-block;
  width: 200px;
  font-weight: bold;
  vertical-align: middle;
}
.form-label > span {
  display: block;
  font-weight: normal;
  font-size: 0.8em;
}

form input[type="radio"] {
  width: auto;
}

.wpcf7-list-item {
  margin: 0;
}
.wpcf7-list-item + .wpcf7-list-item {
  margin: 0 0 0 1em;
}

.wpcf7 form.invalid .wpcf7-response-output {
  margin: 0 auto;
  border: none;
  text-align: center;
  font-weight: bold;
  color: #dc3232;
}
.wpcf7 form.sent .wpcf7-response-output {
  margin: 0 auto;
  border: none;
  text-align: center;
  font-weight: bold;
  color: #46b450;
}

@media (max-width: 768px) {
  form label {
    display:block;
    width: auto;
    margin-bottom: 0.5em;
  }
  .form-label {
    margin-bottom: 0.5em;
  }
  .form-label > span  {
    display: inline-block;
  }
  form input, form select {
    width: 100%;
  }
}


/*--------------------------------*/
/* 申し込みボタン | cv */
/*--------------------------------*/
.cv-button {
  display: block;
  width: 600px;
  position: relative;
  color: #000;
  background: #FFFA1E;
  background: linear-gradient(135deg,rgba(255, 250, 30, 1) 10%, rgba(255, 217, 26, 1) 95%);
  text-decoration: none;
  font-weight: bold;
  border-radius: 50px;
  margin: 0 auto 4em;
  padding: 35px 80px 35px 100px;
  font-size: 2em;
  line-height: 1.1em;
  transition: background-color 0.2s, transform 0.2s;
  border: none;
  cursor: pointer;
}
.cv-button > span {
  padding-right: 2px;
}
.cv-button:hover {
  opacity: 0.7;
}
.cv-button .highlight {
  color: #e24733;
  display: inline-block;
  margin-right: 2px;
}
.cv-button::before {
  content: '';
  display: block;
  position: absolute;
  top: -30px;
  bottom: 0;
  left: 25px;
  margin: auto;
  width: 90px;
  height: 100px;
  background: url(image/daruma.svg) no-repeat;
  background-size: 90px auto;
  transition: background-color 0.2s, transform 0.2s;
}
.cv-button::after {
  content: '';
  display: inline-block;
  width: 18px;
  height: 18px;
  position: absolute;
  top: -5px;
  bottom: 0;
  right: 50px;
  margin: auto;
  border-right: 4px solid #666;
  border-bottom: 4px solid #666;
  transform: rotate(45deg);
  transition: transform 0.2s;
}
.cv-nav {
  position: relative;
  padding: 8px 35px 8px 25px;
  color: #333 !important;
  background: #ffe91a;
  border-radius: 40px;
}
.cv-nav::after {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  position: absolute;
  top: -5px;
  bottom: 0;
  right: 20px;
  margin: auto;
  border-right: 2px solid #666;
  border-bottom: 2px solid #666;
  transform: rotate(45deg);
  transition: transform 0.2s;
}

@media (max-width: 768px) {
  .cv-button {
    width: calc(100% - 30px);
    padding: 25px 40px 25px 60px;
    font-size: 1.25em;
    line-height: 1.2em;
  }
  .cv-button::before {
    top: 0px;
    left: 15px;
    width: 40px;
    height: 45px;
    background-size: 40px auto;
  }
  .cv-button::after {
    width: 12px;
    height: 12px;
    right: 25px;
    border-right: 3px solid #666;
    border-bottom: 3px solid #666;
  }
}

.cv-button:hover::before {
  transform: rotate(-15deg) translateY(-10px);
}


/*--------------------------------*/
/* モーダル | model */
/*--------------------------------*/
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0; top: 0; right: 0; bottom: 0;
  background-color: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
}
.modal-open {
  margin: 2em auto 0;
  padding: 0.8em 1.5em;
  font-weight: bold;
  font-size: 1em;
  color: #e24733;
  border: 2px solid #e24733;
  background: #fff;
  border-radius: 40px;
  cursor: pointer;
  transition: 0.2s;
}
.modal-open:hover {
  color: #fff;
  background: #e24733;
}
.modal-content {
  position: relative;
  background: #fff;
  padding: 10px;
  max-width: 90%;
  max-height: 90%;
  animation: zoomIn 0.3s ease;
}
.modal-content img {
  max-width: 100%;
  height: auto;
  display: block;
}
.modal-close {
  position: absolute;
  top: 10px; right: 15px;
  font-size: 28px;
  font-weight: bold;
  color: #333;
  cursor: pointer;
}
@keyframes zoomIn {
  from { transform: scale(0.8); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

/*--------------------------------*/
/* モーダル | model */
/*--------------------------------*/
.tab-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 10px;
}

.tab-btn {
  width: 180px;
  padding: 15px 20px;
  border: none;
  color: #333;
  background: #eee;
  cursor: pointer;
  font-weight: bold;
  border-radius: 4px;
  transition: background 0.3s;
}
.tab-btn:hover {
  opacity: 0.7;
}

.tab-btn.active {
  background: #e24733;
  color: white;
}

.tab-content {
  display: none;
  padding: 2em 0;
}

.tab-content.active {
  display: block;
}

.tab-ttl {
  margin-bottom: 1em;
  font-size: 1.5em;
  font-weight: bold;
  color: #e24733;
}

@media (max-width: 768px) {
  .tab-buttons {
    gap: 5px;
  }
  .tab-btn {
    padding: 10px;
  }
}

input[type="date"] {
  padding: 10px;
  font-size: 1em;
  color: #333;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 4px;
}

@media screen and (max-width: 768px) {
  input[type="date"] {
    display: block;
  }
}

.form-label > span.required {
  display: inline-block;
  color: #ad1912;
  font-weight: bold;
  font-size: 0.8em;
  margin-left: 0.5em;
}