/*wp*/

* {
  margin: 0;
  padding: 0;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body {
  font-size: 1.3rem;
  font-family: "Noto Sans JP", sans-serif;
  color: #40210F;
  font-weight: 500;
}

@media (min-width: 700px) {
  body {
    font-size: 1.5rem;
  }
}

.sp_area {
  display: block;
}

@media (min-width: 769px) {
  .sp_area {
    display: none;
  }
}

.pc_area {
  display: none;
}

@media (min-width: 769px) {
  .pc_area {
    display: block;
  }
}

.kintou {
  text-align: justify;
  text-align-last: left;
}

header {
  padding-top: 10px;
  padding-bottom: 10px;
}


.head-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding-left: 50px;
  padding-right: 50px;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.dilmah-logo {
  width: 40px;
}

.head-logo {
  width: 235px;
}

.head-logo img {
  width: 100%;
  height: auto;
}

@media (min-width: 769px) {
  .head-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding-left: 20px;
    padding-right: 20px;
  }

  .logo-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .dilmah-logo {
    width: 50px;
  }

  .head-logo {
    width: 235px;
  }

  .head-logo img {
    width: 100%;
    height: auto;
  }
}

.head-right-navi {
  width: calc(100% - 300px);
}

.ctj-right-logo {
  height: 50px;
  width: auto;
  margin-left: auto;
}

.head-right-navi-list {
  display: flex;
  gap: 20px;
  list-style-type: none;
  justify-content: flex-end;
}

.head-right-navi-list li a {
  font-weight: 700;
  text-decoration: none;
  color: #40210F;
  font-size: 1.7rem;
}

@media (min-width: 960x) {
  .head-right-navi-list {
    gap: 20px;
  }

  .head-right-navi-list li a {
    font-size: 1.5rem;
  }
}

@media (min-width: 1000px) {
  .head-right-navi-list {
    gap: 30px;
  }

  .head-right-navi-list li a {
    font-size: 1.7rem;
  }
}


.head-right-navi-list li a:link,
.head-right-navi-list li a:visited,
.head-right-navi-list li a:active {
  font-weight: 700;
  text-decoration: none;
  color: #40210F;

}

.head-right-navi-list li a:hover {
  font-weight: 700;
  text-decoration: none;
  color: #b35d2b;

}

.top-section {
  background: #FDEBC8;
}

.main-v-wrap {
  display: grid;
  place-items: start center;
}

.main-v-wrap>* {
  grid-area: 1 / 1;
  /* すべて同じエリア（1行目・1列目）に重ねる */
}

/*.main-v-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}*/


/* picture要素自体のサイズ固定 */
picture.main-v-bg {
  display: block;
  width: 100%;
  height: 100%;
}

@media screen and (min-width:700px) {
  picture.main-v-bg {
    display: block;
    width: 100%;
    height: 100%;
    /* 変更: コンテンツの高さに合わせるか、任意の固定値(例: 600px)を指定 */
    min-height: 600px;
    /* 必要に応じて最低限維持したい高さを指定してください */
  }
}

/* picture内のimg要素に対するスタイル */
picture.main-v-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


@media screen and (min-width:700px) {
  picture.main-v-bg img {
    width: 100%;
    height: 100%;
    /* 変更: 高さを維持 */
    object-fit: cover;
    /* 変更: 枠に合わせてはみ出た左右をトリミング */
    object-position: center;
    /* 追記: 画像の中央を基準にトリミング */
    display: block;
  }
}



/* 重ねる画像を縦に並べる設定 */
.main-v-overlay-content {
  display: flex;
  flex-direction: column;
  /* 縦並びにする */
  align-items: center;
  /* 画像と画像の間の隙間（お好みで調整） */
  z-index: 1;
  width: 100%;
}

/* 重ねる画像それぞれのサイズ調整（必要に応じて） */
.main-v-overlay-content-img01 {
  width: 230px;
  height: auto;
  margin-top: 20px
}

@media screen and (min-width:700px) {
  .main-v-overlay-content-img01 {
    width: 350px;
    margin-top: 50px
  }
}

@media screen and (min-width:769px) {
  .main-v-overlay-content-img01 {
    width: 350px;
  }
}

.main-v-overlay-content-img02 {
  width: 230px;
  height: auto;
}

@media screen and (min-width:700px) {
  .main-v-overlay-content-img02 {
    width: 350px;
    margin-top: 10px
  }
}

@media screen and (min-width:769px) {
  .main-v-overlay-content-img02 {
    width: 350px;
  }
}

.main-v-overlay-content-img03 {
  width: 250px;
  height: auto;
}

@media screen and (min-width:700px) {
  .main-v-overlay-content-img03 {
    width: 500px;
  }
}

@media screen and (min-width:769px) {
  .main-v-overlay-content-img03 {
    width: 660px;
  }
}

.main-v-overlay-content-img04 {
  width: 90%;
  height: auto;
  font-size: 1.3rem;
  text-align: center;
  font-family: "Noto Serif JP", serif;
  font-weight: 600;
  display: none;
}

@media screen and (min-width:700px) {
  .main-v-overlay-content-img04 {
    display: none;
  }
}

@media screen and (min-width:769px) {
  .main-v-overlay-content-img04 {
    width: 450px;
    font-size: 1.8rem;
    display: block
  }
}



.main-v-overlay-content-img05 {
  width: 90%;
  border-radius: 20px;
  background: #fff;
  padding: 30px 15px 20px 15px;
  margin-top: 40px;
  text-align: center;
  position: relative;
  display: none;
}

@media screen and (min-width:769px) {
  .main-v-overlay-content-img05 {
    width: 400px;
    border-radius: 20px;
    background: #fff;
    padding: 30px 15px 20px 15px;
    margin-top: 40px;
    display: block
  }

}

.main-v-overlay-content-img04-sp {
  width: 90%;
  height: auto;
  font-size: 1.3rem;
  text-align: center;
  font-family: "Noto Serif JP", serif;
  font-weight: 600;
  display: block;
  text-align: center;
  margin-top: 20px;
  margin-left: auto;
  margin-right: auto;
}

@media screen and (min-width:700px) {
  .main-v-overlay-content-img04-sp {
    display: block;
    font-size: 1.5rem;
    margin-top: 30px;
  }
}

@media screen and (min-width:769px) {
  .main-v-overlay-content-img04-sp {
    width: 450px;
    font-size: 1.8rem;
    display: none;
  }
}


.main-v-overlay-content-img05-sp {
  width: 90%;
  border-radius: 20px;
  background: #fff;
  padding: 30px 15px 20px 15px;
  margin-top: 40px;
  text-align: center;
  position: relative;
  display: block;
  margin: 30px auto 0 auto;
}

@media screen and (min-width:700px) {
  .main-v-overlay-content-img05-sp {
    width: 90%;
    border-radius: 20px;
    background: #fff;
    padding: 30px 15px 20px 15px;
    margin-top: 40px;
    text-align: center;
    position: relative;
    display: block;
  }
}

@media screen and (min-width:769px) {
  .main-v-overlay-content-img05-sp {
    width: 400px;
    border-radius: 20px;
    padding: 30px 15px 20px 15px;
    margin-top: 40px;
    display: none;
  }

}


.prize-text {
  font-weight: 600;
  text-align: center;
  margin-bottom: 10px;
  font-size: 1.7rem;
  color: #40210F;
}

.prize-text span {
  font-weight: 700;
  text-align: center;
  font-size: 2.3rem;
}

.main-v-overlay-content-img05 img {
  width: 100%;
  display: block;
  margin: 0 auto;
}

.x-share {
  background: #F2D500;
  border-radius: 20px;
  padding: 5px 15px;
  text-align: center;
  color: #40210F;
  display: inline-block;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 300px;
  top: -7%;
  font-family: "Noto Serif JP", serif;
  font-weight: 600;

}

/* ボタンのラッパー設定 */
.btn-shine {
  display: inline-block;
  position: relative;
  overflow: hidden;
  /* 光がボタンの外にはみ出さないようにする */
}

/* 画像の下にできる余白を消す */
.btn-shine img {
  display: block;
  width: 350px;
  max-width: 100%;

}

/* 光のライン（初期状態は左の外側に配置） */
.btn-shine::before {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.6) 50%,
      rgba(255, 255, 255, 0) 100%);
  transform: skewX(-25deg);
  /* 光を斜めにする */
  z-index: 1;
}

/* ホバー時のアニメーション設定 */
.btn-shine:hover::before {
  animation: shine-effect 0.6s ease-in-out;
  /* 0.6秒で光る */
}

/* アニメーションの動き（左から右へ移動） */
@keyframes shine-effect {
  0% {
    left: -150%;
  }

  100% {
    left: 150%;
  }
}

.top-section-title img {
  display: block;
  margin: 0 auto 0 auto;
  transform: translateZ(0);
  backface-visibility: hidden;
  image-rendering: -webkit-optimize-contrast;
  height: 80px;
}

@media screen and (min-width:769px) {
  .top-section-title img {
    margin: 0 auto 0 auto;
    height: 100px;
  }
}

.summary-wrap {
  padding-top: 0;
}

@media screen and (min-width:700px) {
  .summary-wrap {
    padding-top: 50px;
  }
}


.summary-text {
  text-align: center;
  font-family: "Noto Serif JP", serif;
  font-weight: 600;
  font-size: 1.3rem;
  color: #40210F;
  line-height: 1.7;
}

@media screen and (min-width:700px) {
  .summary-text {
    font-size: 1.5rem;
    line-height: 2.0;
  }
}

@media screen and (min-width:769px) {
  .summary-text {
    font-size: 1.7rem;
    line-height: 2.0;
  }
}


.summary-terms-box {
  background: #FFF;
  border-radius: 20px;
  padding: 15px 15px;
  width: 90%;
  margin: 20px auto 0 auto;
}

@media screen and (min-width:700px) {
  .summary-terms-box {
    background: #FFF;
    border-radius: 20px;
    padding: 15px 50px;
    width: 90%;
  }
}

@media screen and (min-width:769px) {
  .summary-terms-box {
    background: #FFF;
    border-radius: 20px;
    padding: 15px 50px;
    width: 700px;
  }
}


.summary-terms-box p {
  color: #A51A29;
  font-weight: 600;
  display: flex;
  align-items: flex-start;
  font-size: 1.3rem;
  padding: 5px 0;
}

@media screen and (min-width:769px) {
  .summary-terms-box p {
    font-size: 1.7rem;
    padding: 5px 0;
  }
}

.summary-terms-box p .summary-terms-h {
  display: inline-block;
  width: 25%;
}

@media screen and (min-width:769px) {
  .summary-terms-box p .summary-terms-h {
    display: inline-block;
    width: 20%;
  }
}

.summary-terms-box p .summary-terms-c {
  display: inline-block;
  width: 75%;
}

@media screen and (min-width:769px) {
  .summary-terms-box p .summary-terms-c {
    display: inline-block;
    width: 80%;
  }

}

.howto-wrap {
  width: 90%;
  margin: 0 auto;
}

@media screen and (min-width:700px) {
  .howto-wrap {
    width: 90%;
  }
}

@media screen and (min-width:769px) {
  .howto-wrap {
    width: 900px;
  }
}



.howto-flex {
  display: block;
  margin: 0 auto;
}

@media screen and (min-width:700px) {
  .howto-flex {
    display: flex;
    justify-content: space-between;
    margin: 0 auto;
    gap: 30px;
  }
}

.howto-box {
  background: #FFF;
  padding: 40px 20px 15px 20px;
  border-radius: 20px;
  position: relative;
  width: 100%;
}

.howto-box:nth-child(2),
.howto-box:nth-child(3) {
  margin-top: 30px;
}

@media screen and (min-width:700px) {
  .howto-box {
    background: #FFF;
    padding: 40px 20px 15px 20px;
    border-radius: 20px;
    position: relative;
    width: calc((100% - 60px)/3);
    margin-bottom: 0;
  }

  .howto-box:nth-child(2),
  .howto-box:nth-child(3) {
    margin-top: 0;
  }
}

.howto-box span {
  display: block;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  line-height: 35px;
  background: #F2D500;
  text-align: center;
  font-size: 1.5rem;
  font-weight: 600;
  top: -8%;
}

.howto-box img {
  width: 40px;
  margin: 0 auto;
}

.howto-box h2 {
  text-align: center;
  font-size: 1.8rem;
  color: #A51A29;
  margin-top: 10px;
}

.howto-box p {
  margin-top: 10px;
}


.present-wrap {
  width: 90%;
  margin: 0 auto;
}

@media screen and (min-width:700px) {
  .present-wrap {
    width: 90%;
    margin: 0 auto;
  }
}

@media screen and (min-width:769px) {
  .present-wrap {
    width: 900px;
    margin: 0 auto;
  }
}


.present-a-flex {
  display: block;
}

@media screen and (min-width:700px) {
  .present-a-flex {
    display: flex;
    align-items: stretch;
  }
}

.present-a-img {
  width: 100%;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
  background: #FFF;
  aspect-ratio: 16 / 9;
}


.present-a-img img {
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
  object-fit: cover;
  height: auto;
  width: 100%;
}

.present-a-img2 {
  padding-top: 20px;
}

@media screen and (min-width:700px) {
  .present-a-img2 {
    padding-top: 0;
  }

}

@media screen and (min-width:700px) {
  .present-a-img {
    width: 40%;
    border-top-left-radius: 15px;
    border-top-right-radius: 0;
    border-bottom-left-radius: 15px;
    background: #FFF;
  }

  .present-a-img img {
    border-top-left-radius: 15px;
    border-top-right-radius: 0;
    border-bottom-left-radius: 15px;
    object-fit: cover;
    height: 100%;
    width: auto;
  }

}

.present-a-text {
  width: 100%;
  background: #FFF;
  border-bottom-left-radius: 15px;
  border-bottom-right-radius: 15px;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  position: relative;
}

@media screen and (min-width:700px) {
  .present-a-text {
    width: 60%;
    background: #FFF;
    border-top-right-radius: 15px;
    border-bottom-right-radius: 15px;
    border-bottom-left-radius: 0;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    position: relative;
  }
}

.present-a-text-inner {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  width: 100%;
  padding-left: 20px;
  padding-right: 20px;
  padding-top: 20px;
  padding-bottom: 20px;
  text-align: center;
}

@media screen and (min-width:700px) {
  .present-a-text-inner {
    width: 100%;
    padding-left: 40px;
    padding-right: 40px;
    padding-top: 20px;
    padding-bottom: 20px;
  }
}


.present-a-text img {
  width: 100%;
  height: auto;
  margin: 0 auto;
}

@media screen and (min-width:700px) {
  .present-a-text img {
    width: 80%;
    height: auto;
    margin: 0 auto;
  }
}

.present-a-text-inner-top {
  margin-top: 10px;
  background: #40210F;
  color: #FFF;
  font-weight: 900;
  text-align: center;
  font-size: 1.7rem;
  border-radius: 15px;
  padding: 5px 0;
}

@media screen and (min-width:700px) {
  .present-a-text-inner-top {
    margin-top: 10px;
    background: #40210F;
    color: #FFF;
    font-weight: 900;
    text-align: center;
    font-size: 1.5rem;
    border-radius: 15px;
    padding: 5px 0;
  }
}

.present-a-text-inner-point {
  position: absolute;
  width: 80px !important;
  top: -100px;
  left: 3%;
}

@media screen and (min-width:700px) {
  .present-a-text-inner-point {
    position: absolute;
    width: 90px !important;
    top: 5%;
    left: -12%;
  }
}

@media screen and (min-width:769px) {
  .present-a-text-inner-point {
    position: absolute;
    width: 120px !important;
    top: 5%;
    left: -15%;
  }
}


.present02text {
  text-align: left;
}


.teas-wrap {
  width: 90%;
  margin: 0 auto;
}

@media screen and (min-width:700px) {
  .teas-wrap {
    width: 90%;
  }
}

@media screen and (min-width:769px) {
  .teas-wrap {
    width: 900px;
  }
}

.teas-flex {
  display: block;
  border-radius: 15px;
}


@media screen and (min-width:769px) {
  .teas-flex {
    display: flex;
    align-items: stretch;
    border-radius: 15px;
  }
}

.teas-img {
  width: 100%;
  aspect-ratio: 16/ 9;
}

@media screen and (min-width:769px) {
  .teas-img {
    width: 100%;
    aspect-ratio: initial;
    object-position: initial;
  }
}



.teas-img img {
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
  object-fit: cover;
  object-position: bottom;
  width: 100%;
}

@media screen and (min-width:769px) {
  .teas-img {
    width: 50%;
    border-top-left-radius: 15px;
    border-bottom-left-radius: 15px;
    border-top-right-radius: initial;
  }

  .teas-img img {
    border-top-left-radius: 15px;
    border-bottom-left-radius: 15px;
    border-top-right-radius: 0;
  }
}

.teas-description {
  width: 100%;
  background: #FFF;
  display: flex;
  align-items: center;
  border-bottom-right-radius: 15px;
  border-bottom-left-radius: 15px;
  padding-bottom: 25px;
  padding-top: 25px;
}

@media screen and (min-width:769px) {
  .teas-description {
    width: 50%;
    border-top-right-radius: 15px;
    border-bottom-right-radius: 15px;
    border-bottom-left-radius: 0;
  }

}


.teas-description-inner {
  display: flex;
  flex-direction: column;
}


.teas-description-inner h2 {
  text-align: center;
}


.teas-description-inner p {
  width: 80%;
  margin: 10px auto 0 auto;
}

@media screen and (min-width:769px) {
  .teas-description-inner p {
    width: 70%;
    margin: 20px auto 0 auto;
  }

}

.teas-series-flex {
  display: flex;
  align-items: center;
  width: 90%;
  justify-content: center;
  gap: 15px;
  margin: 0 auto;
}

@media screen and (min-width:769px) {
  .teas-series-flex {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: center;
    gap: 15px;

  }

}

.teas-series-flex div {
  width: 15%;
  font-size: 3.5rem;
  gap: 10px;
}

@media screen and (min-width:769px) {
  .teas-series-flex div {
    width: 15%;
    font-size: 6.0rem;
    gap: 20px;
  }

}

.teas-h-small {
  font-size: 1.7rem;
}

@media screen and (min-width:700px) {
  .teas-h-small {
    font-size: 2.5rem;
  }
}

.teas-series-flex h2 {
  font-size: 1.7rem;
}

@media screen and (min-width:700px) {
  .teas-series-flex h2 {
    font-size: 2.5rem;
  }
}


.teas-series-flex h2 {
  font-family: "Noto Serif JP", serif;
}




/* スライダー全体のラッパー設定 */
.slider-wrapper {
  width: 100%;
  margin: 0 auto;
  position: relative;
}

@media screen and (min-width:700px) {
  .slider-wrapper {
    width: 100%;
    margin: 0 auto;
    position: relative;
  }
}

@media screen and (min-width:769px) {
  .slider-wrapper {
    width: 100%;
    margin: 0 auto;
    position: relative;
  }
}


/* Slickスライダー本体 */
.teas-slider {
  width: 90%;
  margin: 0 auto;
}

@media screen and (min-width:700px) {
  .teas-slider {
    width: 90%;
    margin: 0 auto;
  }
}

@media screen and (min-width:769px) {
  .teas-slider {
    width: 900px;
    margin: 0 auto;
  }
}


.teas-img img {
  max-width: 100%;
  height: auto;
}

/* カスタム矢印のスタイル（Slickデフォルトの矢印を上書き、またはカスタムクラスを指定した場合） */
.slick-prev,
.slick-next {
  width: 30px;
  height: 30px;
  z-index: 10;
}

@media screen and (min-width:769px) {

  .slick-prev,
  .slick-next {
    width: 40px;
    height: 40px
  }
}

.slick-prev {
  left: -35px
    /* ラッパーの左端（900pxの外側） */
}

.slick-next {
  right: -35px;
  /* ラッパーの右端（900pxの外側） */
}

@media screen and (min-width:769px) {
  .slick-prev {
    left: -50px
      /* ラッパーの左端（900pxの外側） */
  }

  .slick-next {
    right: -50px;
    /* ラッパーの右端（900pxの外側） */
  }
}

/* （オプション）Slickのデフォルトの矢印アイコンの色を変更する場合 */
.slick-prev:before,
.slick-next:before {
  color: #333;
  font-size: 20px;
}

@media screen and (min-width:769px) {

  .slick-prev:before,
  .slick-next:before {
    color: #333;
    font-size: 30px;
  }
}


.slick-dotted.slick-slider {
  margin-bottom: 0;
}

.terms-wrap {
  width: 90%;
  margin: 0 auto;
}

@media screen and (min-width:700px) {
  .terms-wrap {
    width: 90%;
  }
}

@media screen and (min-width:769px) {
  .terms-wrap {
    width: 900px;
  }
}

.terms-box {
  background: #FFF;
  border-radius: 15px;
  padding: 20px;
  height: 400px;
  /* お好みの高さに調整してください（max-height: 400px; でも可） */
  overflow-y: auto;
  /* 縦方向にはみ出した場合にスクロールバーを表示 */
}

@media screen and (min-width:700px) {
  .terms-box {
    background: #FFF;
    border-radius: 15px;
    padding: 40px;
    height: 400px;
    /* お好みの高さに調整してください（max-height: 400px; でも可） */
    overflow-y: auto;
    /* 縦方向にはみ出した場合にスクロールバーを表示 */
  }
}

.terms-box h2 {
  font-size: 1.8rem;
}

.terms-box ul {
  list-style-type: disc;
  list-style-position: inside;
  padding-left: 1em;
}

.terms-box ul li {
  text-indent: -1.5em;
  padding-left: 1em;
}



.notice-wrap {
  width: 90%;
  margin: 0 auto;
}

@media screen and (min-width:700px) {
  .notice-wrap {
    width: 90%;
  }
}

@media screen and (min-width:769px) {
  .notice-wrap {
    width: 900px;
  }
}


.notice-wrap img {
  width: 100%;
}


.notice-list {
  list-style-type: none;
  margin-top: 15px;

}

.notice-list li {
  padding: 2px 0;

}



/*********
*診断ページ
***********/


.ctj-section {
  padding-top: 50px;
  padding-bottom: 50px;
}

@media screen and (min-width:700px) {
  .ctj-section {
    padding-top: 50px;
    padding-bottom: 50px;
  }
}

@media screen and (min-width:769px) {
  .ctj-section {
    padding-top: 50px;
    padding-bottom: 50px;
  }
}

.ctj-wrap {
  width: 90%;
  margin: 0 auto;
}

@media screen and (min-width:700px) {
  .ctj-wrap {
    width: 90%;
  }
}

@media screen and (min-width:769px) {
  .ctj-wrap {
    width: 700px;
  }
}

.ctj-title {
  margin-bottom: 30px;
}

@media screen and (min-width:700px) {
  .ctj-title {
    margin-bottom: 50px;
  }
}

.ctj-wrap h1 img {
  width: 100%;
}

@media screen and (min-width:769px) {
  .ctj-wrap h1 img {
    width: 80%;
    margin: 0 auto;
  }
}

.ctj-questions-box {
  background: #fff;
  border-radius: 15px;
  padding: 30px;
  display: none;
}

.ctj-wrap h2 {
  color: #A51A29;
  text-align: center;
  font-size: 2.5rem;
}

.ctj-border-flex {
  display: flex;
  gap: 10px;
  width: 100%;
  margin-top: 10px;
}

.ctj-question-text {
  text-align: center;
  font-size: 2.0rem;
  font-weight: 700;
  margin-top: 30px;
}

@media screen and (min-width:769px) {
  .ctj-question-text {
    font-size: 2.5rem;
  }
}

.ctj-question-text-sub {
  font-size: 1.3rem;
  text-align: center;
  margin-top: 10px;
  margin-bottom: 30px;
}

.ctj-border-flex div {
  width: calc((100% - 30px)/4);
  height: 10px;
  background: #E4BABF;
}

.ctj-border-flex .ctj-border-active {
  background: #A51A29;
}



.ctj-questions-box.is-active {
  display: block;
}

.tea-quiz__options {
  display: flex;
  gap: 15px;
  flex-direction: column;
  align-items: center;
}

.tea-quiz__btn {
  width: 100%;
  border: 2px solid #41210F;
  border-radius: 10px;
  padding: 20px 14px;
  font-size: 1.5rem;
  font-weight: 600;
  text-align: left;
  background: #fff;
  cursor: pointer;
  transition: all 0.5s ease;
  box-shadow: 0 4px 0 #e4e4e4;
  display: flex;
  align-items: center;
}

@media screen and (min-width:769px) {
  .tea-quiz__btn {
    font-size: 2.3rem;
  }
}

.tea-quiz__btn:hover {
  background: #fff6b0;
}

.tea-quiz__btn:active {
  transform: translateY(4px);
  box-shadow: 0 0 0 #e4e4e4;
}

.cts-question-select-text {
  width: calc(100% - 40px);
  display: block;
  padding-left: 10px;
}

.cts-question-select {
  display: block;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  line-height: 40px;
  background: #A51A29;
  text-align: center;
  color: #FFF;
  font-size: 1.4rem;
}

@media screen and (min-width:769px) {
  .cts-question-select {
    width: 45px;
    height: 45px;
    line-height: 45px;
  }
}

.mt10 {
  margin-top: 10px;
}

.mt20 {
  margin-top: 20px;
}

.mt30 {
  margin-top: 30px;
}

.mt40 {
  margin-top: 40px;
}

.mt50 {
  margin-top: 50px;
}

.pt10 {
  padding-top: 10px;
}

.pt20 {
  padding-top: 20px;
}

.pt30 {
  padding-top: 30px;
}

.pt40 {
  padding-top: 40px;
}

.pt50 {
  padding-top: 50px;
}

.pt100 {
  padding-top: 50px;
}

@media screen and (min-width:769px) {
  .pt100 {
    padding-top: 100px;
  }
}

.pt100res {
  padding-top: 50px;
}

@media screen and (min-width:769px) {
  .pt100res {
    padding-top: 0;
  }
}

.pb10 {
  padding-bottom: 10px;
}

.pb20 {
  padding-bottom: 20px;
}

.pb30 {
  padding-bottom: 30px;
}

.pb40 {
  padding-bottom: 40px;
}

.pb50 {
  padding-bottom: 50px;
}

.pb100 {
  padding-bottom: 100px;
}



/* =========================================
   HEROセクションのアニメーション
========================================= */

/* ① 共通のアニメーション定義（下からフワッと浮かび上がる） */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 背景画像用（シンプルにフェードイン） */
@keyframes fadeIn {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

/* ② 初期状態を透明にし、アニメーションを適用 */
.main-v-bg {
  opacity: 0;
  animation: fadeIn 1.2s ease forwards;
  /* 背景は最初にフェードイン */
}

/* オーバーレイの各コンテンツ */
.main-v-overlay-content-img01,
.main-v-overlay-content-img02,
.main-v-overlay-content-img03,
.main-v-overlay-content-img04,
.main-v-overlay-content-img05 {
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
}

/* ③ animation-delayで順番に出現させる（0.3秒間隔） */
.main-v-overlay-content-img01 {
  animation-delay: 0.5s;
  /* 背景が出た後にスタート */
}

.main-v-overlay-content-img02 {
  animation-delay: 0.8s;
}

.main-v-overlay-content-img03 {
  animation-delay: 1.1s;
}

.main-v-overlay-content-img04 {
  animation-delay: 1.4s;
}

.main-v-overlay-content-img05 {
  animation-delay: 1.7s;
}

/* =========================================
   追加：一番下のブロック用アニメーション（Pop In）
========================================= */
@keyframes popIn {
  0% {
    opacity: 0;
    transform: scale(0.8);
    /* 少し小さめからスタート */
  }

  70% {
    opacity: 1;
    transform: scale(1.05);
    /* 少しだけ本来のサイズより大きく（バウンド感） */
  }

  100% {
    opacity: 1;
    transform: scale(1);
    /* 元のサイズに着地 */
  }
}

/* 共通の指定から img05 を除外 */
.main-v-overlay-content-img01,
.main-v-overlay-content-img02,
.main-v-overlay-content-img03,
.main-v-overlay-content-img04 {
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
}

/* img05 だけ新しいアニメーションを適用 */
.main-v-overlay-content-img05 {
  opacity: 0;
  /* 飛び出すような動きにするため、cubic-bezierで少し弾むように調整 */
  animation: popIn 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
  animation-delay: 1.7s;
  /* 順番は最後（他の要素が出た後） */
}

/* ディレイの設定（img01〜04はそのまま） */
.main-v-overlay-content-img01 {
  animation-delay: 0.5s;
}

.main-v-overlay-content-img02 {
  animation-delay: 0.8s;
}

.main-v-overlay-content-img03 {
  animation-delay: 1.1s;
}

.main-v-overlay-content-img04 {
  animation-delay: 1.4s;
}


/* =========================================
   スクロール連動アニメーション
========================================= */
/* ① アニメーションの初期状態（透明＆少し下に配置） */
.fade-in-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

/* ② 画面に入って .is-visible が付いた時の状態 */
.fade-in-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ③ 順番に出現させるための遅延用クラス */
.delay-1 {
  transition-delay: 0.2s;
}

.delay-2 {
  transition-delay: 0.4s;
}

.delay-3 {
  transition-delay: 0.6s;
}

.delay-4 {
  transition-delay: 0.6s;
}









.footer {
  background: #41210F;
  color: #FFF;
  padding: 40px 16px 20px;
}

.footer__container {
  max-width: 980px;
  margin: 0 auto;
  display: block;
}

@media screen and (min-width:700px) {
  .footer__container {
    max-width: 980px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 30px;
  }
}

.footer__info {
  line-height: 1.8;
}

.footer__contact-list {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer__contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer__contact-icon {
  width: 20px;
  height: 20px;
  fill: currentColor;
  opacity: 0.8;
}

.footer__tel-link {
  text-decoration: underline;
  color: inherit;
}

.footer__email-link {
  color: inherit;
  transition: color 0.2s ease;
}

.footer__email-link:hover {
  color: #FFF;
}

.footer__company-name {
  width: 150px;
  margin-bottom: 8px;
}

@media screen and (min-width:700px) {
  .footer__company-name {
    width: 200px;
  }
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 20px;
}

@media screen and (min-width:700px) {
  .footer__links {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
}

.footer__sns {
  display: flex;
  gap: 16px;
}

.footer__sns-link {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: #FFF;

}

.footer__sns-link:hover {
  background-color: #b35d2b;
  transform: translateY(-2px);
}

.footer__sns-icon {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer__official-link {
  display: inline-block;
  color: #FFF;
  padding-bottom: 2px;
}

.footer__official-link:hover {
  color: #b35d2b;
}

.footer__copyright {
  text-align: center;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 1.5rem;
  color: #FFF;
}


/* =========================================
   ハンバーガーメニュー・レスポンシブ対応
========================================= */
/* PC表示時はハンバーガーボタンを隠す */
.hamburger {
  display: none;
}

/* タブレット・スマホ向け (960px以下) */
@media screen and (max-width: 960px) {
  .head-flex {
    padding-left: 20px;
    padding-right: 20px;
  }

  .ctj .head-logo {
    display: none;
  }

  .ctj .head-right-navi {
    display: block;
    position: initial;
    height: initial;
    background: initial;
    z-index: initial;
    transition: initial;
    width: 80%;
  }

  .ctj .head-right-navi .ctj-right-logo {
    margin: 0 auto;
    height: 41px;
    width: auto;
  }

  /* ロゴを少し小さく */
  .head-logo {
    width: 200px;
  }

  /* ハンバーガーボタンのスタイル */
  .hamburger {
    display: block;
    position: relative;
    width: 30px;
    height: 20px;
    cursor: pointer;
    z-index: 1000;
    /* メニューより手前に表示 */
  }

  .hamburger span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #40210F;
    /* 文字色に合わせる */
    border-radius: 2px;
    transition: all 0.3s ease;
  }

  .hamburger span:nth-child(1) {
    top: 0;
  }

  .hamburger span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
  }

  .hamburger span:nth-child(3) {
    bottom: 0;
  }

  /* ハンバーガー アニメーション (.is-active時) */
  .hamburger.is-active span:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
  }

  .hamburger.is-active span:nth-child(2) {
    opacity: 0;
    /* 真ん中の線を消す */
  }

  .hamburger.is-active span:nth-child(3) {
    top: 50%;
    transform: translateY(-50%) rotate(-45deg);
  }

  /* ナビゲーションメニューを全画面化して隠す */
  .head-right-navi {
    position: fixed;
    top: 0;
    right: -100%;
    /* 初期状態は画面右外 */
    width: 90%;
    height: 100vh;
    background-color: rgb(206 201 191 / 85%);
    z-index: 999;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* メニュー展開時 */
  .head-right-navi.is-active {
    right: 0;
  }

  /* メニューリストを縦並びに */
  .head-right-navi-list {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .head-right-navi-list li a {
    font-size: 2.0rem;
    /* スマホタップ用に少し大きく */
  }
}

/* スマホ向け (768px以下) */
@media screen and (max-width: 768px) {
  .head-logo {
    width: 160px;
  }
}

@media screen and (max-width: 520px) {
  .ctj .head-right-navi .ctj-right-logo {
    margin: 0 auto;
    height: 27px;
    width: auto;
  }
}



/* メニューオープン時の背景スクロール防止 */
body.no-scroll {
  overflow: hidden;
}

.result-home {
  display: none;
}

.is-active .result-home {
  display: block;
}

/*
*
*モーダルとフォーム
*
*/
/* =========================================================
   モーダルウィンドウのスタイル
========================================================= */
.modal-overlay {
  display: none;
  /* 初期状態は非表示 */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 9999;
}

.modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 700px;
  max-height: 90vh;
  /* 画面高さの90%を最大値にする */
  overflow-y: auto;
  /* コンテンツが長い場合はスクロールバーを表示 */
  background: #fff;
  padding: 50px 40px;
  border-radius: 10px;
  box-sizing: border-box;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 32px;
  color: #666;
  background: transparent;
  border: none;
  cursor: pointer;
  line-height: 1;
  transition: color 0.3s ease;
}

.modal-close:hover {
  color: #000;
}

.modal-title {
  text-align: center;
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 30px;
}

/* モーダル表示時のスタイル */
.modal-overlay.is-show {
  display: block;
  animation: overlayFadeIn 0.3s ease forwards;
}

/* 中身が下からふわっと浮かび上がるアニメーション */
.modal-overlay.is-show .modal-content {
  animation: contentFadeInUp 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}


@keyframes overlayFadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes contentFadeInUp {
  from {
    opacity: 0;
    transform: translate(-50%, -45%);
    /* 少し下からスタート */
  }

  to {
    opacity: 1;
    transform: translate(-50%, -50%);
    /* 中央に着地 */
  }
}

/* モーダルのスクロールバーをカスタマイズして角丸に合わせる */
.modal-content::-webkit-scrollbar {
  width: 8px;
  /* スクロールバーの幅 */
}

.modal-content::-webkit-scrollbar-track {
  background: transparent;
  /* トラック（背景）を透明にして角丸を隠さないようにする */
  border-radius: 10px;
  /* モーダル本体と同じ角丸を指定 */
}

.modal-content::-webkit-scrollbar-thumb {
  background: #ccc;
  /* スクロールバーのつまみの色 */
  border-radius: 10px;
  /* つまみも角丸にする */
}

/* =========================================================
   フォーム（Contact Form 7）のスタイル
========================================================= */
.form_wrap {
  width: 100%;
}

.form-flex {
  display: block;
  border-bottom: 1px solid #eaeaea;
  padding: 20px 0;
}

.form-flex:first-child {
  border-top: 1px solid #eaeaea;
}

/* 左側の見出しエリア */
.form-h {
  width: 100%;
  font-weight: bold;
  font-size: 15px;
}

/* 必須マーク */
.required::after {
  content: "必須";
  background-color: #d13232;
  color: #fff;
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 4px;
  margin-left: 10px;
  display: inline-block;
  vertical-align: middle;
}

/* 右側の入力エリア */
.form-right {
  width: 100%;
}

.form-p {
  margin: 0;
  padding: 15px 0;
}

/* 入力欄のデザイン */
.wpcf7-form-control.wpcf7-text,
.wpcf7-form-control.wpcf7-select {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 15px;
  box-sizing: border-box;
  transition: border-color 0.3s;
}

.wpcf7-form-control.wpcf7-text:focus,
.wpcf7-form-control.wpcf7-select:focus {
  border-color: #333;
  outline: none;
}

/* ラジオボタン */
.wpcf7-radio .wpcf7-list-item {
  display: inline-block;
  margin-right: 20px;
  margin-left: 0;
}

.wpcf7-radio .wpcf7-list-item.last {
  display: inline-block;
  margin-right: 0;
  margin-left: 0;
}

.wpcf7-spinner {
  display: block;
  margin: 10px auto 0;
}

form.sent .wpcf7-response-output {
  display: none !important;
}

.frequency,
.know {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* 送信ボタン */
.send_button {
  display: block;
  width: 240px;
  margin: 0 auto 0 auto;
  padding: 15px;
  background-color: #32373c;
  /* サイトトーンに合わせた色 */
  color: #fff;
  border: none;
  border-radius: 50px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  transition: opacity 0.3s;
}

.send_button:hover {
  opacity: 0.8;
}

.cf7-cf-turnstile {
  margin: 10px 0 0 0 !important;
}

.cf-turnstile {
  display: flex !important;
  justify-content: center !important;
  width: 100% !important;
  margin: 15px auto !important;
}

.cf-turnstile iframe {
  width: 0 auto
}

/* =========================================================
   レスポンシブ（スマホ表示用）
========================================================= */
@media screen and (max-width: 768px) {
  .modal-content {
    padding: 40px 20px 30px;
  }

  .modal-title {
    font-size: 18px;
    margin-top: 15px;
  }

  .form-flex {
    flex-direction: column;
    align-items: flex-start;
  }

  .form-h, .form-right {
    width: 100%;
  }

  .form-h {
    margin-bottom: 10px;
  }

  .send_button {
    width: 100%;
  }
}



/* =========================================================
   リザルト画面
========================================================= */

.result-section {
  padding-top: 50px;
  padding-bottom: 50px;
}

@media screen and (min-width:700px) {
  .result-section {
    padding-top: 50px;
    padding-bottom: 50px;
  }
}

@media screen and (min-width:769px) {
  .result-section {
    padding-top: 50px;
    padding-bottom: 50px;
  }
}

.result-wrap {
  width: 90%;
  margin: 0 auto;
}

@media screen and (min-width:700px) {
  .result-wrap {
    width: 90%;
  }
}

@media screen and (min-width:769px) {
  .result-wrap {
    width: 700px;
  }
}

.top-section-result-title {
  margin: 0 auto 30px auto;
}

.result-wrap h1 img {
  width: 100%;
}

@media screen and (min-width:769px) {
  .result-wrap h1 img {
    width: 80%;
    margin: 0 auto;
  }
}

.result-box {
  background: #fff;
  border-radius: 15px;
  padding: 30px 20px 30px 20px;
}

@media screen and (min-width:700px) {
  .result-box {
    background: #fff;
    padding: 30px 50px 30px 50px;
  }
}


.result-wrap h2 {
  color: #3C2311;
  text-align: center;
  font-size: 2.5rem;
}

.result-teas-flex {
  display: flex;
  gap: 15px;
  justify-content: center;
  align-items: center;
  margin-bottom: 15px;
}

.result-teas-flex div {
  font-size: 4.0rem;
  text-align: center;
}

.result-teas-flex h2 {
  font-size: 2.0rem;
  font-family: "Noto Serif JP", serif;
  font-weight: 800;
}

@media screen and (min-width:700px) {
  .result-teas-flex div {
    font-size: 6.0rem;
    text-align: center;
  }

  .result-teas-flex h2 {
    font-size: 2.3rem;
    font-family: "Noto Serif JP", serif;
    font-weight: 800;
  }
}

.result-text {
  width: 90%;
  margin: 0 auto;
  padding-top: 30px;
  padding-bottom: 30px;
}

@media screen and (min-width:700px) {
  .result-text {
    width: 80%;
  }
}

.result-text span {
  color: #992831;
}



.result-buy a {
  font-size: 1.5rem;
  display: block;
  background: #3D2412;
  padding-top: 15px;
  padding-bottom: 15px;
  text-align: center;
}


.result-buy a {
  display: block;
}

.result-buy a:link,
.result-buy a:active,
.result-buy a:visited {
  color: #FFF;
  text-decoration: none;
}

.result-buy a:hover {
  color: darkgoldenrod;
}

.result-share-box {
  width: 250px;
  margin: 50px auto 0 auto;
  position: relative;
  opacity: 0;
  animation: 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) 1.7s 1 normal forwards running popIn;
}

@media screen and (min-width:700px) {
  .result-share-box {
    width: 300px;
    margin: 30px auto 0 auto;
    position: relative;
  }
}

.result-retry {
  text-align: center;
  font-weight: 600;
  margin: 30px auto 0 auto;
  display: block;
}

.result-share-box a.result-retry:link,
.result-share-box a.result-retry:active,
.result-share-box a.result-retry:visited {
  color: #992831;
  text-decoration: none;
}

.result-share-box a.result-retry:hover {
  color: darkgoldenrod;
}

.result-star {
  position: absolute;
  top: -50%;
  left: -20%;
  width: 100px !important;
  display: block;
  max-width: none !important;
  /* 親要素の幅への依存を解除 */
  max-height: none !important;
  /* 親要素の高さへの依存を解除 */
  height: auto !important;
  /* アスペクト比を保って拡大 */
  z-index: 1;
  /* テキストやボタンの裏側に配置したい場合 */
}

@media screen and (min-width:700px) {
  .result-star {
    position: absolute;
    top: -10%;
    left: -70%;
    width: 170px !important;
  }
}