@charset "utf-8";
/* ============================================
 * LP共通CSS（2610〜）
 * 各店舗LPの add.css / style.css の後に読み込む
 * ・メンバー様の声（未設置店舗用の基本スタイル）
 * ・What's New 2枚並び（下揃え）
 * ・FVスライダー
 * ・メンバー様の声 アコーディオン
 * ・マタニティセクション
 * ========================================== */

/* ============================
* 260604 Voice追加
* ========================= */

/* voice */
.voice {
  margin: 13.4rem auto 10.7rem;
}
.voice__inner {
  max-width: 930px !important;
  margin-inline: auto;
}
.voice__title {
  width: 40.8rem;
  margin: 0 auto 6.5rem;
}
.voice__movie iframe {
  width: 100%;
  height: auto;
  object-fit: fill;
  aspect-ratio: 560/315;
}
@media screen and (min-width: 768px) {
  .voice__movie {
    width: 86rem;
    margin: 7.8rem auto 8.9rem;
  }
  .voice__card {
    background-color: rgb(238, 238, 238);
    display: grid;
    grid-template-areas: "photo title" "photo text";
    grid-template-columns: 12.5rem 2fr;
    gap: 3rem;
    font-size: 1.6rem;
    padding: 3rem;
  }
  .voice__card--even {
    grid-template-areas: "title photo" "text photo";
    grid-template-columns: 2fr 12.5rem;
  }
  .voice__card + .voice__card {
    margin-top: 3rem;
  }
  .voice__card-title {
    grid-area: title;
    align-self: flex-end;
    font-size: 3rem;
    color: rgb(245, 130, 32);
  }
  .voice__card-text {
    grid-area: text;
    align-self: flex-start;
  }
  .voice__card-text p + p {
    margin-top: 1.5em;
  }
  .voice__card-photo {
    grid-area: photo;
    margin: -3rem 0 -3rem -3rem;
  }
  .voice__card-photo--even {
    margin: -3rem -3rem -3rem 0;
  }
  .voice__card-photo img {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
  }
}
@media screen and (max-width: 767px) {
  .voice {
    margin: 6.3rem auto 7rem;
  }

  .voice__title {
    width: 20.1rem;
    margin: 0 auto 4rem;
  }
  .voice__movie {
    margin: 4.9rem auto 3.9rem;
  }
  .voice__card {
    background-color: rgb(238, 238, 238);
    padding: 0 1.5rem 2.5rem;
  }
  .voice__card + .voice__card {
    margin-top: 2rem;
  }
  .voice__card-title {
    display: none;
  }
  .voice__card-text {
    word-break: normal;
  }
  .voice__card-photo {
    margin: 0 -1.5rem 3rem;
  }
}

/* ============================
* 2610 What's New（HYROX＋マタニティ 2枚並び）
* ========================= */

.cta__inner .cta__banner-wrapper.two-column {
  max-width: 1280px;
  align-items: flex-end; /* PCの横並び時は下揃え */
}

/* タブレット（768px）以下は縦積み（2026-10 SPのHYROX下の二重線削除に伴い、768px幅の横並びをやめる） */
@media screen and (max-width: 768px) {
  .cta__inner .cta__banner-wrapper.two-column {
    display: block;
  }
}

/* ============================
* 2610 FVスライダー
* ========================= */

.fv-slider {
  position: relative;
}

.fv-slider__track {
  display: flex;
  transition: transform 0.6s ease-in-out;
  will-change: transform;
}

.fv-slider__slide {
  flex: 0 0 100%;
  position: relative;
  container-type: inline-size;
}

.fv-slider__slide img {
  display: block;
}

.fv-slider {
  overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
  .fv-slider__track {
    transition: none;
  }
}

/* 2枚目のCTA：1枚目の画像から切り出したボタン画像を同じ位置に配置 */
.fv-slider__btn {
  position: absolute;
  left: calc(704 / 1920 * 100%);
  top: calc(561 / 650 * 100%);
  width: calc(513 / 1920 * 100%);
  height: calc(70 / 650 * 100%);
  border-radius: 99px;
  z-index: 10;
}

.fv-slider__btn img {
  display: block;
  width: 100%;
  height: 100%;
  transition: filter 0.3s ease; /* 1枚目（a要素の transition: 0.3s ease）と揃える */
}

/* ホバー：1枚目（黒20%を重ねる）と同じ見え方に揃える */
.fv-slider__btn:hover {
  opacity: 1;
}

.fv-slider__btn:hover img {
  filter: brightness(0.8);
}

/* ドット：画像の下・中央（PCは背景のオレンジの帯の上） */
.fv-slider__dots {
  display: flex;
  justify-content: center;
  gap: 1rem;
  padding: 1.2rem 0;
}

.fv-slider__dot {
  width: 1rem;
  height: 1rem;
  padding: 0;
  border: 1px solid #bd1931;
  border-radius: 50%;
  background-color: #fff;
  cursor: pointer;
}

.fv-slider__dot.is-active {
  background-color: #bd1931;
}

/* ドラッグ操作 */
.fv-slider__track {
  touch-action: pan-y;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}

.fv-slider.is-dragging .fv-slider__track {
  cursor: grabbing;
}

.fv-slider__track img {
  -webkit-user-drag: none;
  user-select: none;
}

/* 768pxちょうど（iPad縦など）は画像がSP版に切り替わるため、ボタン位置もSP版に合わせる */
@media screen and (max-width: 768px) {
  .eyecatch__cta-link {
    left: 50%;
    transform: translateX(-50%);
    top: calc(1496 / 1650 * 100%);
    width: calc(805 / 1000 * 100%);
    height: calc(125 / 1650 * 100%);
    border-radius: 52px;
  }
}

@media screen and (max-width: 768px) {
  .fv-slider__btn {
    left: 50%;
    transform: translateX(-50%);
    top: calc(1496 / 1650 * 100%);
    width: calc(805 / 1000 * 100%);
    height: calc(125 / 1650 * 100%);
    border-radius: 52px;
  }

  .fv-slider__dots {
    gap: 0.8rem;
    padding: 1rem 0;
  }

  .fv-slider__dot {
    width: 0.8rem;
    height: 0.8rem;
  }
}

/* ============================
* 2610 メンバー様の声 アコーディオン
* ========================= */

.voice__more {
  margin-top: 3rem;
}

.voice__more[hidden] {
  display: none;
}

.voice__more-btn-wrap {
  text-align: center;
  margin-top: 3rem;
}

.voice__more-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1.2rem 4rem;
  border: 2px solid #f08021;
  border-radius: 99px;
  background-color: #fff;
  color: #f08021;
  font-size: 1.6rem;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s ease;
}

.voice__more-btn:hover {
  background-color: #f08021;
  color: #fff;
}

@media screen and (max-width: 767px) {
  .voice__more {
    margin-top: 2rem;
  }

  .voice__more-btn-wrap {
    margin-top: 2.4rem;
  }

  .voice__more-btn {
    font-size: 1.4rem;
    padding: 1rem 3rem;
  }
}

/* ============================
* 2610 マタニティセクション（独立セクション）
* ========================= */

.maternity .for_sp {
  display: none;
}

.maternity .for_pc {
  display: inline;
}

.maternity {
  padding: 0 0 10rem;
  text-align: center;
  scroll-margin-top: 12rem;
}

.maternity__title {
  color: #f08021;
  font-size: 5.6rem; /* 他のh2画像（メンバー様の声・キャンペーン情報）の文字サイズに合わせる */
  font-weight: bold;
  line-height: 1.3;
}

/* 他のh2と同じ短いオレンジの線 */
.maternity__title::after {
  content: "";
  display: block;
  width: 15rem;
  height: 0.5rem;
  margin: 2.4rem auto 0;
  background-color: #f08021;
}

.maternity__subtitle {
  color: #f08021;
  font-size: 3rem;
  font-weight: bold;
  margin-top: 2rem;
}

.maternity__text {
  font-size: 1.6rem;
  line-height: 1.8;
  margin-top: 2.4rem;
}

.maternity__note {
  font-size: 1.2rem;
  margin-top: 1.6rem;
}

.maternity__short {
  width: 32rem;
  margin: 3.2rem auto 0;
}

.maternity__short iframe {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  border-radius: 1.2rem;
}

.maternity__lead {
  font-size: 2rem;
  font-weight: bold;
  margin: 5rem 0 2rem;
}

.maternity__lead::after {
  content: "";
  display: block;
  width: 0;
  height: 0;
  margin: 1rem auto 0;
  border-style: solid;
  border-width: 1.2rem 1.2rem 0;
  border-color: #333 transparent transparent;
}

.maternity__full {
  box-sizing: border-box;
  width: 60.8rem;
  max-width: 100%;
  margin: 0 auto;
  background-color: #f08021;
  padding: 2.4rem 2.4rem 1.6rem;
}

.maternity__full-movie iframe {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 560 / 315;
}

.maternity__full-caption {
  color: #fff;
  font-size: 1.8rem;
  font-weight: bold;
  margin-top: 1.4rem;
}

@media screen and (max-width: 767px) {
  .maternity .for_sp {
    display: inline;
  }

  .maternity .for_pc {
    display: none;
  }

  .maternity {
    padding: 0 0 6rem;
    scroll-margin-top: 7rem;
  }

  .maternity__title {
    font-size: 2.8rem;
  }

  .maternity__title::after {
    width: 7.5rem;
    height: 0.25rem;
    margin-top: 1.2rem;
  }

  .maternity__subtitle {
    font-size: 1.8rem;
    margin-top: 1.2rem;
  }

  .maternity__text {
    font-size: 1.4rem;
    text-align: left;
    margin-top: 2rem;
  }

  .maternity__note {
    font-size: 1.1rem;
    text-align: left;
  }

  .maternity__short {
    width: 24rem;
    margin-top: 2.4rem;
  }

  .maternity__lead {
    font-size: 1.5rem;
    margin: 4rem 0 1.5rem;
  }

  .maternity__full {
    padding: 1.5rem 1.5rem 1.2rem;
  }

  .maternity__full-caption {
    font-size: 1.5rem;
    margin-top: 1rem;
  }
}

/* ============================
* 2610 店舗LP用の補正
* ========================= */

/* マタニティ：店舗LPには [class*="__inner"] の共通余白がないため個別に指定 */
/* 外側（.maternity）に店舗LP共通の左右余白20pxがあるため、内側の余白は付けない */
.maternity__inner {
  max-width: 930px !important;
  margin-inline: auto;
  padding-inline: 0;
  box-sizing: border-box;
}

/* 店舗LPはスマホでも文字サイズが固定（1rem=10px）のため、見出しが1行に収まるよう調整 */
@media screen and (max-width: 767px) {
  .maternity__title {
    font-size: 2.6rem;
  }
}

/* FVドットの帯：店舗LPはFV背景が白のため、共通LPと同じオレンジの背景画像を敷く（PCのみ） */
@media screen and (min-width: 769px) {
  .fv-slider__dots {
    background: url(../img/lp-parts/eyecatch_bg_pc.png) no-repeat center/cover;
  }
}

/* メンバー様の声：style.css型の店舗（溝の口・自由が丘）は [class*="__inner"] に画面幅基準の左右余白が付くため、
   max-width:930px と組み合わさって中身が極端に狭くなる。PCでは左右余白を打ち消す */
@media screen and (min-width: 768px) {
  .voice__inner {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

/* マタニティへのページ内リンク：店舗LPのスムーススクロール（common.js）は着地位置を補正しないため、
   固定ヘッダー（PC100px／SP50px）＋余白分だけ上にアンカーを置く */
.maternity {
  position: relative;
}

.maternity__anchor {
  position: absolute;
  top: -130px;
  left: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

@media screen and (max-width: 767px) {
  .maternity__anchor {
    top: -70px;
  }
}

/* style.css型の店舗（溝の口・自由が丘）の :target { scroll-margin-top } が二重に効かないようにする */
.maternity__anchor:target {
  scroll-margin-top: 0;
}

/* What's New 2枚並び：店舗ごとのCSS差（.w-800 の最大幅指定など）に左右されず、
   PCでは必ず横並び・同じ高さになるよう、画像の横幅比（1006:671）で幅を配分する */
@media screen and (min-width: 769px) {
  .cta__inner .cta__banner-wrapper.two-column {
    display: flex !important;
    flex-wrap: nowrap !important;
    max-width: 1280px !important;
  }

  .cta__inner .cta__banner-wrapper.two-column > a {
    min-width: 0;
  }

  .cta__inner .cta__banner-wrapper.two-column > a:nth-child(1) {
    flex: 1006 1 0%;
  }

  .cta__inner .cta__banner-wrapper.two-column > a:nth-child(2) {
    flex: 671 1 0%;
  }
}
