/*
Theme Name: Gymgym Theme
Theme URI: https://gymgym.net/
Author: DYM
Author URI: https://dym.asia/
Description: Gymgymサイト用WordPressテーマ
Version: 1.0
Text Domain: gymgym
*/

@charset "UTF-8";

html,
body {
  overflow-x: hidden;
}

html,
body,
div,
span,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol,
li,
dl,
dt,
dd {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Oswald", "Noto Sans JP", sans-serif;
  margin: 0 auto;
  background-color: #FFF;
}
section {
  background-color: #fff;
}
div,
span {
  margin: 0;
  padding: 0;
}
picture {
  display: block;
}
img {
  display: block;
  width: 100%;
  border: 0;
}
a {
  text-decoration: none;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
a:hover {
  opacity: 0.8;
}
li {
  list-style: none;
}
.pc_only {
  display: none;
}
.sp_only {
  display: block;
}

@media screen and (min-width: 971px) {
  .body {
    max-width: 470px;
  }
  .pc_only {
    display: block;
  }
  .sp_only {
    display: none;
  }
}

/* FV（cross-fadeスライド + 初回非表示対応） */
section.fv {
  position: relative;
  width: 100%;
  min-height: 720px;
  overflow: hidden;
  color: #fff;
  font-family: 'Noto Sans JP', 'DIN2014', sans-serif;
  touch-action: pan-y;
  overscroll-behavior-y: auto;
}
@media (min-width: 1440px) {
  section.fv {
    min-height: 1120px;
  }
}

/* ---------- 背景3枚（cross-fade制御） ---------- */
.fv__bg,
.fv__bg2,
.fv__bg3 {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 2.5s ease-in-out;
  will-change: opacity;
  z-index: 0;
}
.fv__bg {
  background-image: url("../img/fv01.webp");
  opacity: 0;
}
.fv__bg2 {
  background-image: url("../img/fv02.webp");
  opacity: 0;
}
.fv__bg3 {
  background-image: url("../img/fv03.webp");
  opacity: 0;
}
.fv__bg.is-active,
.fv__bg2.is-active,
.fv__bg3.is-active {
  opacity: 1;
}

/* ---------- テキストフェード ---------- */
.fv__text {
  position: absolute;
  bottom: 15%;
  left: 7%;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.7);
  z-index: 2;
  opacity: 0;
  transition: opacity 2.5s ease-in-out;
}
section.fv.text-fadein .fv__text {
  opacity: 1;
}
section.fv.text-fadeout .fv__text {
  opacity: 0;
}

/* ---------- テキストデザイン ---------- */
.fv__catch-ja {
  font-size: 60px;
  font-weight: 800;
  line-height: 1.4;
  margin-bottom: 12px;
}
.fv__catch-en {
  font-size: 28px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
}

/* ---------- バッジ ---------- */
.fv__badge {
  position: absolute;
  right: 4%;
  bottom: 3% !important;
  width: clamp(160px, 20vw, 240px);
  aspect-ratio: 1/1;
  display: grid;
  place-items: center;
  z-index: 3;
  pointer-events: none;
  contain: layout paint style;
  will-change: opacity;
  opacity: 0;
  transition: opacity 2.8s ease;
}
.fv__cta {
  position: relative;
  overflow: hidden;
  display: block;
  border-radius: 999px;
}
.fv__cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 35%;
  height: 100%;
  background: linear-gradient(120deg,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.6) 50%,
      rgba(255, 255, 255, 0) 100%);
  transform: skewX(45deg);
  animation: shineMove 3.5s infinite;
}
@keyframes shineMove {
  0% {
    left: 100%;
  }
  60% {
    left: -125%;
  }
  100% {
    left: -125%;
  }
}
.fv__cta img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.fv__badge-star {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 93%;
  height: auto;
  transform: translate(-50%, -50%);
  transform-origin: center center;
  animation: spinStar 60s linear infinite;
  backface-visibility: hidden;
  pointer-events: none;
}

@keyframes spinStar {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

/* ---------- SP対応 ---------- */
@media (max-width: 970px) {
  section.fv {
    overflow: visible;
    min-height: 500px;
    padding-top: 70px; /* 背景のズレ防止 */
  }

  .fv__bg,
  .fv__bg2,
  .fv__bg3 {
    background-position: center top;
  }

  .fv__bg {
    background-image: url("../img/fv_sp01.webp");
  }

  .fv__bg2 {
    background-image: url("../img/fv_sp02.webp");
  }

  .fv__bg3 {
    background-image: url("../img/fv_sp03.webp");
  }

  .fv__catch-ja {
    font-size: 24px;
  }

  .fv__catch-en {
    font-size: 18px;
  }

  .fv__badge {
    right: 3%;
    bottom: 5% !important;
    width: 140px;
  }
}


/* intro */
.intro {
  background: linear-gradient(to bottom, #ffffff 0%, #DBDEE4 100%);
  display: flex;
  margin-top: -3%;
}

.intro-container {
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 75%;
  max-width: 1100px;
  margin: 0 auto;
}

/* ---------- intro appeal text overlay ---------- */
.appeal-item {
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 1s ease, transform 1s ease;
  transform-origin: center center;
  will-change: opacity, transform;
}

.appeal-item img {
  width: 90%;
  height: auto;
  display: block;
  border-radius: 16px;
  transition: transform 0.6s ease;
}

.appeal__text {
  position: absolute;
  top: 0;
  left: 0;
  width: 90%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 5%;
  box-sizing: border-box;
}

.appeal__text--left {
  position: absolute;
  top: 5%;
  left: 5%;
}

.appeal__en {
  font-family: 'DIN2014', sans-serif;
  font-size: 80px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.1;
  text-align: left;
}

.appeal__text--right {
  position: absolute;
  right: 5%;
  bottom: 6%;
  text-align: right;
  color: #fff;
  width: 60%;
}

.appeal__jp {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.6;
}

.appeal__desc {
  font-size: 14px;
  font-weight: 400;
  line-height: 2;
  opacity: 0.9;
}

.appeal-item.show {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 971px) {
  .appeal01 {
    transform: translateY(60px) translateX(-5%);
  }

  .appeal02 {
    transform: translateY(60px) translateX(15%);
  }

  .appeal03 {
    transform: translateY(60px) translateX(-5%);
  }

  .appeal01.show {
    transform: translateY(0) translateX(-5%);
  }

  .appeal02.show {
    transform: translateY(0) translateX(15%);
  }

  .appeal03.show {
    transform: translateY(0) translateX(-5%);
  }
}

.appeal01:hover {
  transform: scale(1.05) translateY(0) translateX(-5%);
}

.appeal02:hover {
  transform: scale(1.05) translateY(0) translateX(15%);
}

.appeal03:hover {
  transform: scale(1.05) translateY(0) translateX(-5%);
}

@media (max-width: 970px) {
  .appeal-item {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s ease, transform 1s ease;
  }

  .appeal-item.show {
    opacity: 1;
    transform: translateY(0);
  }

  .appeal01:hover,
  .appeal02:hover,
  .appeal03:hover {
    transform: scale(1.03) translateY(0);
  }

  .intro {
    padding: 0px 3%;
    margin-top: -8%;
  }

  .intro-container {
    display: flex;
    flex-direction: column;
    gap: 0px;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
  }

  .appeal__en {
    font-size: 36px;
    color: rgba(255, 255, 255, 0.75);
  }

  .appeal__jp {
    font-size: 23px;
    line-height: 1.4;
    margin: 15px auto;
  }

  .appeal__text {
    position: static;
    width: 100%;
    padding: 5% 0;
  }

  .appeal__desc {
    font-size: 13px;
    font-weight: 800;
    color: #4D4D4D;
  }

  .appeal__text--left {
    left: 5%;
    top: 3%;
  }

  .appeal__text--right {
    position: relative;
    right: 0;
    bottom: 6%;
    text-align: center;
    color: #1f2c5c;
    width: 100%;
  }

  .appeal-item img {
    width: 100%;
    margin: auto;
  }
}

/* ---------- cta ---------- */
.cta {
  background-color: #DBDEE4;
  padding: 5% 0;
}
picture.cta01 {
  display: flex;
  width: 90%;
  margin: 5% auto;
  align-items: flex-end;
  gap: 5%;
  flex-direction: row-reverse;
}
.cta01 .plan__banner img {
  width: 70%;
  margin: 0 auto;
  display: block;
}
.cta_note {
  width: 67%;
  text-align: left;
  margin: auto;
  font-size: 14px;
  font-weight: 500;
  color: #6e6e6e;
  padding-top: 1%;
}

@media (max-width: 970px) {
  picture.cta01 {
    display: block;
    width: 90%;
    margin: 0 auto;
  }
  .cta01 .plan__banner img {
    width: 100%;
  }
  .cta_note {
    width: 100%;
  }
  .plan__banner_cta_note {
    width: 87%;
  }
}

/* ---------- plan section ---------- */
section.plan {
  position: relative;
  z-index: 0;
  background: none;
  /* 背景は擬似要素に任せる */
  overflow: hidden;
}

section.plan::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../img/plan_back.webp");
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  z-index: -1;
  transform: translateZ(0);
  will-change: transform;
}

/* タイトル（Accessなどに合わせて統一） */
.plan__title {
  font-size: 75px;
  font-weight: 800;
  color: hsl(0, 0%, 100%);
  text-align: center;
  font-family: "Barlow", sans-serif;
  margin: 60px auto;
  position: relative;
  top: auto;
  left: auto;
  transform: none;
  text-shadow: none;
}

/* コンテンツ全体ラッパー */
.plan__overlay {
  background-color: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  max-width: 1100px;
  margin: 0 auto 10%;
  padding: 60px 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  text-align: center;
}

/* タブエリア */
.plan__tabs {
  display: flex;
  justify-content: center;
  align-items: center;
  border-bottom: 1px solid #1f2c5c;
  margin-bottom: 40px;
  gap: 0;
}

/* 各タブボタン（均等幅指定） */
.plan__tab {
  flex: 1;
  max-width: 50%;
  text-align: center;
  font-size: 22px;
  background-color: #e3e3e3;
  border: none;
  color: #7d88b1;
  font-weight: bold;
  padding: 14px 0;
  border-radius: 8px 8px 0 0;
  cursor: pointer;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

/* planタブホバー時の背景色変更 */
.plan__tab:hover {
  background-color: #59658f;
  /* 薄い青 */
  color: #d8d8d8;
  /* テキスト色を維持 */
}

.plan__tab.active {
  background-color: #1f2c5c;
  color: #fff;
}

/* active状態を優先的に維持（アクティブ中は白に戻さない） */
.plan__tab.active:hover {
  background-color: #1f2c5c;
  color: #fff;
}

/* ---------- タブコンテンツ切り替え改善 ---------- */
.plan__content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
}

.plan__content.active {
  position: relative;
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

/* コンテンツを包むエリアの高さを維持 */
.plan__content-wrapper {
  position: relative;
}

/* プランカードのレイアウト */
.plan__cards {
  display: flex;
  justify-content: center;
  gap: 24px;
}

/* ---------- 個人プラン用カード（上下ボーダーあり） ---------- */
.plan__card {
  background: #fff;
  border: 2px solid #1f2c5c;
  border-radius: 12px;
  padding: 30px 20px;
  width: 30%;
  position: relative;
  overflow: hidden;
}

.plan__card h3 {
  font-size: 30px;
  font-weight: 700;
  color: #1f2c5c;
  margin-bottom: -5px;
}

.plan__card .price {
  font-size: 24px;
  margin: 12px 0 5px;
  color: #1f2c5c;
  justify-content: center;
  align-items: flex-end;
  gap: 4px;
}

.plan__card .price strong {
  font-size: 40px;
  font-weight: 800;
  line-height: 1;
}

.plan__card .price span {
  font-size: 30px;
  font-weight: 900;
  position: relative;
}

.plan__card .price span::before {
  content: "税抜";
  position: absolute;
  top: -5px;
  left: 5px;
  font-size: 10px;
  color: #1f2c5c;
  font-weight: 400;
}

/* テキスト部分 */
.plan__card p {
  font-size: 17px;
  line-height: 1.8;
  color: #7A7D89;
  margin: 6px -10px;
}

/* 上下のボーダーライン */
.plan__card p:nth-of-type(3)::before,
.plan__card p:nth-of-type(3)::after,
.plan__card .note::before {
  content: "";
  display: block;
  width: 80%;
  height: 1px;
  background-color: #C3C6D1;
  margin: 12px auto;
}

/* プラン価格の下に表示する税込価格 */
.plan__card .tax-detail {
  font-size: 13px;
  color: #1f2c5c;
  margin-top: -6px;
  margin-bottom: 10px;
  line-height: 1.4;
  font-weight: 500;
}

/* 備考 */
.plan__card .note {
  font-weight: 500;
  font-size: 14px;
  color: #1f2c5c;
  margin-top: 10px;
}

/* ---------- 法人チケットプラン（corporate） ---------- */
.plan__content#corporate {
  text-align: center;
}

.plan__content#corporate .plan__cards {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.plan__content#corporate .plan__card {
  background: #fff;
  border: 2px solid #1f2c5c;
  border-radius: 12px;
  padding: 40px 30px;
  width: 40%;
  min-width: 300px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.plan__content#corporate .plan__card h3 {
  font-size: 30px;
  font-weight: 700;
  color: #1f2c5c;
  margin-bottom: 38px;
}

/* 金額部 */
.plan__content#corporate .plan__card .price {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 4px;
  color: #1f2c5c;
  font-size: 22px;
  margin-top: 20px;
  position: relative;
  flex-wrap: wrap;
}

.plan__content#corporate .plan__card .price strong {
  font-size: 50px;
  font-weight: 800;
  line-height: 1;
}

.plan__content#corporate .plan__card .price span {
  font-size: 18px;
  font-weight: 800;
  line-height: 1.2;
  position: relative;
}

/* 税抜表記 */
.plan__content#corporate .plan__card .price span::before {
  content: "税抜";
  position: absolute;
  top: -1em;
  left: 0;
  font-size: 10px;
  color: #1f2c5c;
}

/* 下線 */
.plan__content#corporate .plan__card .price::before {
  content: "";
  display: block;
  width: 80%;
  height: 1.5px;
  background: #1f2c5c;
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
}

.corpirate_price,
.corpirate_price_detail {
  font-size: 18px;
  font-weight: 500;
  color: #1f2c5c;
  margin-top: 10px;
}

.corpirate_price_detail::before {
  content: "";
  display: block;
  width: 80%;
  height: 1px;
  background-color: #C3C6D1;
  margin: 12px auto;
}

.tax-detail_corporate {
  font-size: 13px;
  color: #1f2c5c;
  margin-top: -6px;
  margin-bottom: 10px;
  line-height: 1.4;
  font-weight: 500;
}

.tax-detail_corporate::before {
  content: "";
  display: block;
  width: 80%;
  height: 1px;
  background-color: #C3C6D1;
  margin: 12px auto;
}

/* バナー画像 */
.plan__banner {
  margin-top: 40px;
}

.plan__banner img {
  width: 70%;
  margin: 0 auto;
  display: block;
}

/* ---------- responsive ---------- */
@media (max-width: 970px) {
  section.plan {
    padding: 60px 5%;
  }

  .plan__title {
    font-size: 40px;
    margin-bottom: 40px;
  }

  .plan__overlay {
    padding: 40px 10px;
  }

  .plan__tabs {
    flex-direction: row;
    gap: 0px;
  }

  .plan__tab {
    width: 100%;
    max-width: none;
    font-size: 16px;
    padding: 12px 0;
  }

  .plan__cards {
    flex-direction: column;
    align-items: center;
  }

  .plan__card {
    width: 100%;
    max-width: 275px;
  }

  .plan__content#corporate .plan__card {
    padding: 20px;
    min-width: 255px;
    width: 100%;
  }

  .plan__content#corporate .plan__card .price strong {
    font-size: 40px;
    font-weight: 800;
    line-height: 1;
    margin-right: 5px;
  }

  .plan__content#corporate .plan__card h3 {
    margin-bottom: 10px;
  }

  .plan__content#corporate .plan__card .price::before {
    display: none;
  }

  .plan__banner img {
    width: 90%;
  }

  /* 備考 */
  .plan__card .note {
    font-size: 12px;
    color: #7A7D89;
    margin-top: 14px;
  }
}

/* ---------- healthcare ---------- */
#healthcare {
  scroll-margin-top: 90px;
  /* ← ヘッダーの高さに合わせて調整 */
}

.healthcare {
  max-width: 1100px;
  margin: 0 auto;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.15);
  padding: 65px 35px;
  margin: 5% auto;
}

.healthcare__inner {
  max-width: 1100px;
  margin: 0 auto;
}

/* タイトルエリア */
.healthcare__title {
  width: 75%;
  margin: 0 auto 20px;
}

.healthcare__catch {
  font-size: 45px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #1f2c5c;
  text-align: center;
}

.healthcare__desc {
  color: #1f2c5c;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 50px;
  text-align: center;
}

/* 上部2カラム */
.healthcare__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: 80px;
  text-align: left;
}

.healthcare__img {
  width: 48%;
}

.healthcare__text {
  width: 48%;
  font-size: 14.5px;
  color: #333;
  line-height: 2;
}

/* プランカード */
.healthcare__plans {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 40px;
}

.plan-card {
  border: 2px solid #1f2c5c;
  border-radius: 12px;
  width: 30%;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 24px 16px;
}

.plan-card__plus {
  width: 30px;
  margin: 8px auto;
}

.plan-card__plus img {
  width: 100%;
  display: block;
}

.plan-card h3 {
  color: #1f2c5c;
  font-size: 30px;
  line-height: 1.6;
  text-align: center;
}

.plan-card .plan-card_blue {
  color: #1f2c5c;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.5;
  text-align: center;
}

/* --- 緑文字部分 --- */
.plan-card__main span {
  font-size: 30px;
  font-weight: 700;
  color: #5BB548;
  display: block;
  margin-bottom: 6px;
  text-align: center;
}

.plan-card__sub {
  color: #5BB548;
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 20px;
  text-align: center;
  letter-spacing: 1.5px;
}

.plan-card__img img {
  border-radius: 8px;
  width: 100%;
  margin-bottom: 16px;
}

.plan-card__price {
  font-size: 20px;
  color: #1f2c5c;
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 4px;
}

.plan-card__price strong {
  font-size: 45px;
  font-weight: 700;
}

.plan-card__price span {
  position: relative;
  font-size: 25px;
  font-weight: 700;
}

.plan-card__price span::before {
  content: "税抜";
  position: absolute;
  top: -10px;
  left: 0;
  font-size: 12px;
  color: #1f2c5c;
}

.plan-card__subprice {
  font-size: 16px;
  font-weight: 800;
  color: #1f2c5c;
  text-align: center;
}

/* 吹き出し部分 */
.healthcare__bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  font-size: 55px;
  color: #5BB548;
  font-weight: bold;
  border: 2px solid #5BB548;
  border-radius: 12px;
  padding: 12px 20px;
  margin-inline: auto;
}

.healthcare__month {
  width: 80px;
}

/* バナー */
.healthcare__banner {
  margin-top: 40px;
}

.healthcare__banner img {
  width: 70%;
  margin: 0 auto;
  display: block;
}

@media (max-width: 970px) {
  .healthcare {
    padding: 20px 15px;
    box-shadow: none;
  }

  .healthcare__inner__sp {
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.15);
    padding: 30px 15px;
    margin: 5% auto;
    border-radius: 12px;
  }

  .healthcare__title {
    width: 70%;
  }

  .healthcare__catch {
    font-size: 35px;
    margin-bottom: 5px;
  }

  .healthcare__desc {
    font-size: 13px;
    margin-bottom: 40px;
  }

  .healthcare__top {
    display: block;
    margin-bottom: 40px;
  }

  .healthcare__plans {
    display: block;
  }

  .healthcare__img {
    width: 100%;
  }

  .healthcare__text {
    width: 100%;
    font-size: 15px;
    color: #333;
    font-weight: 500;
    line-height: 2;
    margin: 20px 0;
  }

  .plan-card {
    width: auto;
    padding: 24px 16px;
    margin-bottom: 15px;
  }

  .plan-card h3 {
    font-size: 29px;
  }

  .healthcare__bottom {
    align-items: flex-start;
    gap: 10px;
    font-size: 30px;
  }

  .healthcare__banner img {
    width: 100%;
  }

  .healthcare__month {
    width: 55px;
  }

  .healthcare__bottom_sp_p {
    line-height: 1.1;
  }

  .spnumber {
    font-size: 50px;
  }
}

/* ---------- trainers ---------- */
section.trainers {
  background: linear-gradient(to bottom, #ffffff 0%, #DBDEE4 100%);
  text-align: center;
  padding: 100px 5%;
}

.trainers__title {
  font-size: 75px;
  font-weight: 800;
  color: #1f2c5c;
  text-align: center;
  margin-bottom: 60px;
  font-family: "Barlow", sans-serif;
}

.trainers__wrapper {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 70px;
  flex-wrap: wrap;
}

.trainer {
  width: 30%;
  text-align: center;
}

.trainer picture {
  display: block;
  width: 100%;
  border-radius: 0;
}

.trainer img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.trainer picture:hover img {
  transform: scale(1.08);
}

.trainer__name {
  display: block;
}

.trainer__name-jp {
  font-size: 45px;
  font-weight: 700;
  margin-top: 20px;
  color: #1f2c5c;
}

.trainer__name-en {
  font-size: 25px;
  font-weight: bold;
  color: #1f2c5c;
  margin-top: 4px;
}

@media (max-width: 970px) {
  section.trainers {
    padding: 0px 0%;
  }

  .trainers__title {
    font-size: 32px;
    margin: 40px;
  }

  .trainer {
    width: 70%;
  }

  .trainer__name {
    display: flex;
    align-items: flex-end;
    justify-content: space-evenly;
    margin-top: 15px;
  }

  .trainer__name-jp {
    font-size: 26px;
    font-weight: 700;
    margin-top: 0px;
    color: #1f2c5c;
  }

  .trainer__name-en {
    font-size: 15px;
    font-weight: bold;
    color: #1f2c5c;
    margin-top: 0px;
  }
}

/* ---------- access ---------- */
section.access {
  background: url("../img/plan_back.webp") center/cover no-repeat;
  color: #fff;
  text-align: center;
  padding: 100px 5%;
  position: relative;
}

.access__title {
  font-size: 75px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 60px;
  color: #fff;
  font-family: "Barlow", sans-serif;
}

.access__content {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto 60px;
}

.access__map,
.access__image {
  flex: 1 1 50%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 10px;
}

/* マップと画像の中身を一致させる */
.access__map iframe,
.access__image picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: none;
  display: block;
}

.map__dummy {
  background-color: #dcdcdc;
  width: 100%;
  height: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #1f2c5c;
  font-size: 28px;
  font-weight: 700;
  border-radius: 8px;
}

.access__image picture img {
  width: 100%;
}

/* ---------- access info ---------- */
.access__info {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1000px;
  margin: 0 auto;
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.05em;
  margin-top: 40px;
}

.access__address {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
}

.access__address p {
  margin: 0;
  line-height: 1.6;
}

.access__address p:first-child {
  font-weight: 700;
  margin-bottom: 8px;
}

.access__time {
  text-align: left;
}

.access__time p {
  margin: 0;
  line-height: 1.6;
}

.access__time p:first-child {
  font-weight: 700;
  margin-bottom: 8px;
}

@media (max-width: 970px) {
  section.access {
    padding: 60px 5%;
  }

  .access__title {
    font-size: 40px;
    margin-bottom: 40px;
  }

  .access__content {
    flex-direction: column;
    gap: 30px;
  }

  .access__map,
  .access__image {
    flex: 1 1 100%;
  }

  .access__info {
    flex-direction: row;
    gap: 20px;
  }

  .access__address,
  .access__time {
    text-align: justify;
    font-size: 11px;
    width: 90%;
  }

  .access__address p:first-child {
    font-weight: 400;
    margin-bottom: 0px;
    font-size: 15px;
  }

  .access__time p:first-child {
    font-weight: 400;
    margin-top: 8px;
    font-size: 15px;
  }
}

/* ---------- equipment ---------- */
section.equipment {
  background: linear-gradient(to bottom, #ffffff 0%, #DBDEE4 100%);
  text-align: center;
  padding: 100px 5%;
  position: relative;
}

.equipment__title {
  font-size: 75px;
  font-weight: 800;
  color: #1f2c5c;
  font-family: "Barlow", sans-serif;
  margin-bottom: 60px;
}

.equipment__wrapper {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
}

.equipment__slide {
  position: relative;
  overflow: hidden;
}

.equipment__bg img {
  width: 100%;
  height: auto;
  display: block;
}

/* 左上の英語タイトル */
.equipment__text--left {
  position: absolute;
  top: 5%;
  left: 5%;
  text-align: left;
}

.equipment__headline-en {
  font-size: 70px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.3);
  line-height: 1;
  letter-spacing: 0.02em;
}

.equipment__sub-en {
  font-size: 50px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.3);
  line-height: 1.4;
}

/* 右側の日本語テキスト */
.equipment__text--right {
  position: absolute;
  bottom: 8%;
  right: 6%;
  width: 42%;
  color: #fff;
  text-align: left;
}

.equipment__headline-jp {
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.6;
  text-align: end;
}

.equipment__desc {
  font-size: 14px;
  line-height: 2;
  font-weight: 400;
  color: #fff;
}

/* SP対応 */
@media (max-width: 970px) {
  section.equipment {
    padding: 60px 5%;
  }

  .equipment__title {
    font-size: 40px;
    margin-bottom: 40px;
  }

  .equipment__text--left {
    top: 2%;
    left: 5%;
  }

  .equipment__headline-en {
    font-size: 40px;
  }

  .equipment__sub-en {
    font-size: 24px;
  }

  .equipment__text--right {
    color: #1f2c5c;
    position: relative;
    width: 100%;
    padding: 20px;
  }

  .equipment__headline-jp {
    font-size: 22px;
    text-align: center;
  }

  .equipment__desc {
    font-size: 16px;
    line-height: 2;
    color: #8F8F9C;
    text-align: start;
    font-weight: 500;
  }
}

section.faq {
  background: #f7f8fb;
  padding: 120px 5% 100px;
  font-family: 'Noto Sans JP', sans-serif;
  color: #1f2c5c;
}

/* ---------- wrapper ---------- */
.faq__inner {
  max-width: 1000px;
  margin: 0 auto;
}

/* ---------- title ---------- */
.faq__title {
  font-size: 64px;
  font-weight: 800;
  text-align: center;
  font-family: "Barlow", sans-serif;
  margin-bottom: 60px;
  color: #1f2c5c;
}

/* ---------- item ---------- */
.faq__item {
  position: relative;
  margin-bottom: 40px;
}

/* 質問部分（白いカード） */
.faq__item details>summary {
  display: flex;
  align-items: center;
  cursor: pointer;
  list-style: none;
  padding: 28px 40px;
  font-size: 20px;
  font-weight: 700;
  color: #1f2c5c;
  /* 全体のテキストを薄い青系に */
  user-select: none;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(18, 33, 74, 0.06);
  transition: box-shadow 0.3s ease, color 0.3s ease;
  gap: 16px;
}

/* ホバー時：カードの影＋Qの色を少し濃く */
.faq__item details>summary:hover {
  box-shadow: 0 6px 20px rgba(18, 33, 74, 0.1);
  color: #2d5db0;
}

.faq__item details>summary:hover span {
  color: #2d5db0;
}

/* デフォルトのマーカーを非表示 */
.faq__item details>summary::-webkit-details-marker {
  display: none;
}

/* Q. と質問文を横並び */
.faq__item details>summary span {
  font-weight: 800;
  font-size: 22px;
  flex-shrink: 0;
  line-height: 1;
  margin-right: 8px;
  color: #1f2c5c;
  /* Q の色を薄い青に */
  transition: color 0.3s ease;
}

/* ＋／− アイコン（右端） */
.faq__item details>summary::after {
  content: "+";
  font-size: 36px;
  font-weight: 400;
  color: #1f2c5c;
  margin-left: auto;
  line-height: 1;
  transform: translateY(-1px) rotate(0deg);
  opacity: 1;
  transition: transform 0.4s ease, opacity 0.3s ease, color 0.3s ease;
}

/* 開いたとき − に変化（アニメーション付き） */
.faq__item details[open]>summary::after {
  content: "–";
  color: #1f2c5c;
  transform: translateY(8px) rotate(180deg);
  opacity: 1;
}

/* ---------- 回答部分 ---------- */
.faq__item details>p {
  background: none;
  padding: 0 40px 0 74px;
  /* 左はQとそろえる */
  font-size: 16px;
  line-height: 1.9;
  color: #555;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(10px);
  /* 少し下から */
  transition:
    max-height 0.7s ease,
    opacity 0.7s ease,
    transform 0.7s ease;
  will-change: opacity, transform, max-height;
}

/* 開いたとき：ふわっと上がりながらフェードイン */
.faq__item details[open]>p {
  padding-top: 22px;
  max-height: 800px;
  opacity: 1;
  transform: translateY(0);
}

/* ---------- レスポンシブ ---------- */
@media (max-width: 970px) {
  .faq__title {
    font-size: 48px;
    margin-bottom: 40px;
  }

  .faq__item details>summary {
    padding: 22px 24px;
    font-size: 18px;
    gap: 12px;
  }

  .faq__item details>summary span {
    font-size: 20px;
  }

  .faq__item details>summary::after {
    font-size: 30px;
  }

  .faq__item details>p {
    padding: 0 24px 0 60px;
    font-size: 15px;
  }

  .faq__item details[open]>p {
    padding-top: 18px;
  }
}


/* ---------- gallery ---------- */
section.gallery {
  background: #fff;
  text-align: center;
  padding: 100px 5%;
  position: relative;
}
.gallery__title {
  font-size: 75px;
  font-weight: 800;
  color: #1f2c5c;
  font-family: "Barlow", sans-serif;
  margin-bottom: 60px;
}
/* メインスライダー */
.gallery-main {
  max-width: 1100px;
  margin: 0 auto 30px;
  overflow: hidden;
}
.gallery-main img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}
/* サムネイル */
.gallery-thumb {
  position: relative;
  overflow: visible;
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
  box-sizing: border-box;
  border-radius: 10px;
}
.gallery-thumb img {
  width: 100%;
  border-radius: 120px;
}
.gallery-pagination {
  margin-top: 30px;
  position: relative;
}

.gallery-main {
  max-width: 1000px;
  margin: 0 auto 20px;
}
.gallery-main img {
  width: 100%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.gallery-thumb .slick-slide {
  margin: 0 8px;
}
.gallery-thumb .slick-list {
  margin: 0 -8px;
}

/* --- slick ドットデザイン（番号→丸） --- */
.gallery-thumb .slick-dots {
  text-align: center;
  margin-top: 14px;
}

.gallery-thumb .slick-dots li {
  display: inline-block;
  margin: 0 5px;
}

/* --- slick ドットデザイン（丸を正円に修正） --- */
.gallery-thumb .slick-dots li button {
  width: 10px;           /* ドット幅を統一 */
  height: 10px;          /* 高さも同じにして正円 */
  border-radius: 50%;    /* 丸にする */
  background: #ccc;
  text-indent: -9999px;
  border: none;
  cursor: pointer;
  margin: 6px;
  padding: 0;
}

.gallery-thumb .slick-dots li.slick-active button {
  background: #1f2c5c;
}

.gallery-thumb .slick-dots li.slick-active button {
  background: #1f2c5c;
}

.gallery-thumb .slick-dots li button:before {
  display: none !important;
}

.gallery-thumb .slick-slide {
  margin: 0 10px;
}

.gallery-thumb .slick-list {
  margin: 0 -10px;
}

.gallery-thumb .slick-slide {
  transition: opacity 0.6s ease, transform 0.6s ease;
  transform-origin: center center;
}

.gallery-thumb .slick-list {
  overflow: visible !important; /* ✅ 端の見切れ改善 */
}

/* サムネの左右端フェード（中央ほど濃く） */
.gallery-thumb .slick-list {
  overflow: visible; /* 端の切れを防ぐ */
  -webkit-mask-image: linear-gradient(
    to right,
    rgba(0,0,0,0)   0%,
    rgba(0,0,0,0.85) 12%,
    #000            28%,
    #000            72%,
    rgba(0,0,0,0.85) 88%,
    rgba(0,0,0,0)  100%
  );
  mask-image: linear-gradient(
    to right,
    rgba(0,0,0,0)   0%,
    rgba(0,0,0,0.85) 12%,
    #000            28%,
    #000            72%,
    rgba(0,0,0,0.85) 88%,
    rgba(0,0,0,0)  100%
  );
}

@media (max-width: 970px) {
  section.gallery {
    padding: 60px 5%;
  }

  .gallery__title {
    font-size: 40px;
    margin-bottom: 40px;
  }

  .gallery-main,
  .gallery-thumb {
    width: 100%;
  }
}

@media screen and (max-width: 970px) {
  .pconly {
    display: none !important;
  }
}

@media screen and (min-width: 971px) {
  .sponly {
    display: none !important;
  }
}

@media screen and (max-width: 970px) {
  .follow-active-btn__tel {
    width: 43%;
  }

  .follow-active-btn-wrap-container {
    padding-top: 0;
  }

  .follow-active-btn__link-wrap {
    margin-top: 5px;
  }

  .qa summary p {
    font-size: 14px;
  }
}

/* ====================================
   Fade-up Animation
   ==================================== */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.show {
  opacity: 1;
  transform: translateY(0);
}

/* ===========================
   CTA・キャンペーン・ヘルスケアバナー 拡大アクション
   =========================== */
picture.cta01 a img,
.plan__banner img,
.healthcare__banner img {
  display: block;
  transition: transform 0.6s ease;
  transform-origin: center center;
}

/* ホバー（PC）・タップ（SP）でふわっと拡大 */
picture.cta01 a:hover img,
.plan__banner img:hover,
.healthcare__banner img:hover {
  transform: scale(1.05);
  opacity: 0.7;
}

/* スマホは少し控えめ */
@media (max-width: 970px) {

  picture.cta01 a:hover img,
  .plan__banner img:hover,
  .healthcare__banner img:hover {
    transform: scale(1.03);
  }
}
