/*
Theme Name: OFF-GYM LP
Theme URI: https://off-gym.jp
Description: パーソナルジム OFF-GYM ランディングページ専用テーマ
Version: 1.0
Author: OFF-GYM
*/

/* ===== CSS変数 ===== */
:root {
  --color-primary:    #FF6B35;
  --color-primary-dk: #E55A25;
  --color-bg-light:   #FFF5F0;
  --color-white:      #ffffff;
  --color-text:       #333333;
  --color-text-muted: #777777;
  --color-border:     #E8E8E8;
  --color-line:       #06C755;
  --font-main:        'Noto Sans JP', sans-serif;
  --radius-btn:       50px;
  --radius-card:      14px;
  --shadow:           0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-hover:     0 8px 28px rgba(0, 0, 0, 0.14);
}

/* ===== リセット ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-main);
  color: var(--color-text);
  font-size: 16px;
  line-height: 1.75;
  background: var(--color-white);
  padding-bottom: 72px; /* fixed footer bar 分 */
}

img   { max-width: 100%; height: auto; display: block; }
a     { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* ===== 共通レイアウト ===== */
.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

section { padding: 64px 0; }
.section-bg-white { background: var(--color-white); }
.section-bg-light { background: var(--color-bg-light); }

.section-label {
  display: block;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--color-primary);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.section-title {
  font-size: 24px;
  font-weight: 900;
  text-align: center;
  margin-bottom: 8px;
  line-height: 1.4;
  text-wrap: balance;
}

.section-title em {
  font-style: normal;
  color: var(--color-primary);
}

.section-subtitle {
  text-align: center;
  color: var(--color-text-muted);
  font-size: 14px;
  margin-bottom: 44px;
  text-wrap: balance;
}

/* ===== ボタン ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 32px;
  border-radius: var(--radius-btn);
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
  text-align: center;
  border: none;
  line-height: 1;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--color-primary);
  color: var(--color-white);
}

.btn-outline {
  background: var(--color-white);
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn-line {
  background: var(--color-line);
  color: var(--color-white);
}

/* ===== ヘッダー ===== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(6px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  padding: 0 20px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.site-logo {
  font-size: 20px;
  font-weight: 900;
  color: var(--color-primary);
  letter-spacing: 3px;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.site-logo-img {
  height: 36px;
  width: auto;
  display: block;
  object-fit: contain;
}

/* ===== ハンバーガーボタン ===== */
.nav-hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px 4px;
  flex-shrink: 0;
  margin-left: auto;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform 0.28s ease, opacity 0.28s ease;
  transform-origin: center;
}

/* ×アイコン（開いた状態）*/
.nav-hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== ナビメニュー ===== */
.header-nav {
  /* モバイル：ドロップダウン（非表示状態） */
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(8px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  z-index: 99;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.header-nav.open {
  max-height: 480px;
}

.nav-links {
  display: flex;
  flex-direction: column;
  padding: 8px 0;
}

.nav-link {
  display: block;
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 700;
  color: var(--color-text);
  border-bottom: 1px solid #F5F5F5;
  transition: color 0.15s, background 0.15s;
}

.nav-link:hover    { color: var(--color-primary); background: var(--color-bg-light); }
.nav-link.active   { color: var(--color-primary); }

.header-cta {
  display: none;
  gap: 10px;
  flex-shrink: 0;
}

.header-cta .btn {
  font-size: 13px;
  padding: 9px 18px;
}

/* ===== トレーナーカルーセル（モバイル）===== */
.trainer-carousel {
  max-width: 900px;
  margin: 0 auto;
}

.trainer-slides {
  /* デスクトップはCSSグリッドで上書き */
}

.trainer-carousel-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
}

.trainer-prev,
.trainer-next {
  background: var(--color-bg-light);
  border: 2px solid #FFD5C0;
  color: var(--color-primary);
  font-size: 28px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: background 0.2s, border-color 0.2s;
}

.trainer-prev:hover,
.trainer-next:hover {
  background: #FFD5C0;
  border-color: var(--color-primary);
}

.trainer-dots {
  display: flex;
  gap: 8px;
}

.trainer-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #FFD5C0;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.25s, transform 0.25s;
}

.trainer-dots .dot.active {
  background: var(--color-primary);
  transform: scale(1.35);
}

.trainers-grid-card {
  background: var(--color-white);
  border-radius: var(--radius-card);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

/* ===== FV（ファーストビュー）===== */
.fv {
  min-height: 100svh;
  background: var(--color-bg-light);
  display: flex;
  align-items: center;
  padding-top: 60px;
}

.fv-inner {
  padding: 48px 0 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  text-align: center;
}

.fv-badge {
  display: inline-block;
  background: var(--color-primary);
  color: var(--color-white);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 22px;
  border-radius: 50px;
  letter-spacing: 2px;
}

.fv-headline {
  font-size: 34px;
  font-weight: 900;
  line-height: 1.45;
}

.fv-headline em {
  font-style: normal;
  color: var(--color-primary);
  border-bottom: 3px solid var(--color-primary);
}

.fv-sub {
  font-size: 15px;
  color: var(--color-text-muted);
  max-width: 480px;
  line-height: 1.8;
}

.fv-image {
  width: 100%;
  max-width: 360px;
  aspect-ratio: 4 / 3;
  background: #FFD5C0;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  line-height: 1.6;
}

.fv-cta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 320px;
}

.fv-cta .btn {
  width: 100%;
  font-size: 17px;
  padding: 18px 20px;
}

.fv-note {
  font-size: 12px;
  color: var(--color-text-muted);
}

/* ===== お悩みセクション ===== */
.worries-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  max-width: 680px;
  margin: 0 auto;
}

.worry-item {
  background: var(--color-white);
  border: 2px solid #FFD5C0;
  border-radius: var(--radius-card);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 500;
  transition: border-color 0.2s;
}

.worry-item:hover { border-color: var(--color-primary); }

.worry-icon { font-size: 26px; flex-shrink: 0; }

/* ===== 選ばれる理由 ===== */
.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.feature-card {
  background: var(--color-white);
  border-radius: var(--radius-card);
  padding: 28px 20px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: box-shadow 0.2s;
}

.feature-card:hover { box-shadow: var(--shadow-hover); }

.feature-icon {
  font-size: 48px;
  display: block;
  margin-bottom: 14px;
}

.feature-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 8px;
  line-height: 1.4;
  text-wrap: balance;
}

.feature-card p {
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.75;
}

/* ===== お客様の声 ===== */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.testimonial-card {
  background: var(--color-white);
  border-radius: var(--radius-card);
  padding: 24px;
  box-shadow: var(--shadow);
}

.testimonial-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
}

.testimonial-photo {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: #FFD5C0;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: var(--color-primary);
  font-weight: 700;
  text-align: center;
  line-height: 1.4;
}

.testimonial-meta h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 2px;
}

.testimonial-meta span {
  font-size: 12px;
  color: var(--color-text-muted);
}

.testimonial-stars {
  color: #FFB800;
  font-size: 15px;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.testimonial-result {
  display: inline-block;
  background: var(--color-bg-light);
  color: var(--color-primary);
  font-weight: 700;
  font-size: 13px;
  padding: 4px 14px;
  border-radius: 50px;
  margin-bottom: 12px;
}

.testimonial-card p {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.8;
}

/* ===== Before / After ===== */
.ba-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: 720px;
  margin: 0 auto;
}

.ba-card {
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--color-white);
}

.ba-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.ba-photo {
  position: relative;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
}

.ba-photo.before { background: #D9D9D9; color: #999; }
.ba-photo.after  { background: #FFD5C0; color: var(--color-primary); }

.ba-photo-label {
  position: absolute;
  top: 10px; left: 10px;
  padding: 3px 12px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
  color: var(--color-white);
}

.ba-photo.before .ba-photo-label { background: #999; }
.ba-photo.after  .ba-photo-label { background: var(--color-primary); }

.ba-info {
  padding: 16px 20px;
}

.ba-info strong {
  display: block;
  font-size: 18px;
  color: var(--color-primary);
  font-weight: 900;
  margin-bottom: 4px;
}

.ba-info p {
  font-size: 13px;
  color: var(--color-text-muted);
}

/* ===== 料金プラン ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: 840px;
  margin: 0 auto;
}

.plan-card {
  background: var(--color-white);
  border-radius: var(--radius-card);
  border: 2px solid var(--color-border);
  padding: 32px 24px 28px;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow);
  transition: box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}

.plan-card:hover { box-shadow: var(--shadow-hover); }
.plan-card.featured { border-color: var(--color-primary); }

.plan-badge {
  position: absolute;
  top: -15px; left: 50%;
  transform: translateX(-50%);
  background: var(--color-primary);
  color: var(--color-white);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 22px;
  border-radius: 50px;
  white-space: nowrap;
}

.plan-name {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
  text-wrap: balance;
  line-height: 1.3;
}

.plan-sessions {
  font-size: 13px;
  color: var(--color-text-muted);
  margin-bottom: 20px;
}

.plan-price {
  font-size: 40px;
  font-weight: 900;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 4px;
}

.plan-price small {
  font-size: 15px;
  font-weight: 400;
  color: var(--color-text-muted);
}

.plan-price-note {
  font-size: 12px;
  color: var(--color-text-muted);
  margin-bottom: 20px;
}

.plan-features {
  text-align: left;
  margin-bottom: 24px;
  border-top: 1px solid var(--color-border);
  padding-top: 16px;
}

.plan-features li {
  font-size: 14px;
  padding: 7px 0;
  border-bottom: 1px solid #F5F5F5;
  display: flex;
  align-items: center;
  gap: 8px;
}

.plan-features li::before {
  content: '✓';
  color: var(--color-primary);
  font-weight: 900;
  flex-shrink: 0;
}

.plan-card .btn { width: 100%; margin-top: auto; }

/* ===== トレーナー紹介 ===== */

/* 1人：横並びレイアウト */
.trainers-single {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  max-width: 720px;
  margin: 0 auto;
}

/* 2人以上：カードグリッド */
.trainers-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

.trainer-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

/* グリッド時はカードを横並びに */
.trainers-grid .trainer-card {
  background: var(--color-white);
  border-radius: var(--radius-card);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  align-items: center;
  text-align: center;
}

/* 1人時は既存デザインを踏襲 */
.trainers-single .trainer-card {
  background: none;
  padding: 0;
  box-shadow: none;
}

/* deprecated: 旧クラス（後方互換）*/
.trainer-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  max-width: 720px;
  margin: 0 auto;
}

.trainer-photo {
  width: 180px; height: 180px;
  border-radius: 50%;
  background: #FFD5C0;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--color-primary);
  font-weight: 700;
  text-align: center;
  line-height: 1.5;
  object-fit: cover;
}

img.trainer-photo {
  height: 180px;
  object-fit: cover;
}

.trainer-info { text-align: center; }

.trainer-name {
  font-size: 24px;
  font-weight: 900;
  margin-bottom: 4px;
}

.trainer-title {
  font-size: 14px;
  color: var(--color-primary);
  font-weight: 700;
  margin-bottom: 16px;
}

.trainer-bio {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.85;
  text-align: left;
  margin-bottom: 16px;
}

.trainer-certs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.cert-tag {
  background: var(--color-bg-light);
  color: var(--color-primary);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 50px;
  border: 1px solid #FFD5C0;
}

/* ===== アクセス ===== */
.access-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  max-width: 860px;
  margin: 0 auto;
}

.access-map {
  width: 100%;
  aspect-ratio: 4 / 3;
  max-height: 280px;
  background: #D9D9D9;
  border-radius: var(--radius-card);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 14px;
  overflow: hidden;
}

.access-map iframe {
  width: 100%; height: 100%;
  border: 0;
}

.access-info h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--color-primary);
}

.access-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.access-table tr { border-bottom: 1px solid #F0F0F0; }

.access-table th {
  text-align: left;
  padding: 12px 12px 12px 0;
  font-weight: 700;
  width: 110px;
  vertical-align: top;
  padding-top: 13px;
}

.access-table td {
  padding: 12px 8px;
  color: var(--color-text-muted);
  vertical-align: top;
}

/* ===== FAQ ===== */
.faq-list {
  max-width: 740px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--color-white);
  border-radius: var(--radius-card);
  border: 1.5px solid #FFD5C0;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 20px;
  text-align: left;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--color-text);
  font-family: var(--font-main);
  line-height: 1.5;
}

.faq-q-text {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.faq-q-icon {
  color: var(--color-primary);
  font-weight: 900;
  font-size: 18px;
  flex-shrink: 0;
  line-height: 1.5;
}

.faq-arrow {
  flex-shrink: 0;
  transition: transform 0.3s ease;
  color: var(--color-primary);
  font-size: 18px;
  line-height: 1;
}

.faq-item.open .faq-arrow { transform: rotate(180deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-answer-inner {
  padding: 0 20px 20px 48px;
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.85;
}

/* ===== 最終CTA ===== */
.final-cta {
  background: var(--color-primary);
  text-align: center;
  padding: 72px 20px;
  position: relative;
  overflow: hidden;
}

.final-cta .section-label { color: rgba(255,255,255,0.7); }
.final-cta .section-title { color: var(--color-white); }
.final-cta .section-subtitle { color: rgba(255,255,255,0.8); }

.final-cta-btns {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 340px;
  margin: 0 auto;
}

.final-cta-btns .btn {
  width: 100%;
  font-size: 17px;
  padding: 18px 20px;
}

.final-cta-btns .btn-outline {
  background: transparent;
  border-color: var(--color-white);
  color: var(--color-white);
}

.final-cta-btns .btn-outline:hover { background: rgba(255,255,255,0.15); }

.final-note {
  margin-top: 20px;
  font-size: 12px;
  color: rgba(255,255,255,0.6);
}

/* ===== スクロール追従フッターバー ===== */
.fixed-footer-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 200;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(6px);
  box-shadow: 0 -2px 14px rgba(0, 0, 0, 0.1);
  padding: 10px 16px;
  display: flex;
  gap: 10px;
}

.fixed-footer-bar .btn {
  flex: 1;
  font-size: 14px;
  padding: 13px 8px;
}

/* ===== サイトフッター ===== */
.site-footer {
  background: #2a2a2a;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
  padding: 24px 20px;
  font-size: 12px;
  line-height: 2;
}

.site-footer a {
  color: rgba(255,255,255,0.6);
  text-decoration: underline;
}

/* ===== FV カルーセル ===== */
.fv-video {
  position: relative;
  height: 100svh;
  min-height: 480px;
  overflow: hidden;
  background: #111;
}
.fv-video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.fv-video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
}

.fv-carousel {
  position: relative;
  height: 100svh;
  min-height: 480px;
  padding: 0;
  overflow: hidden;
  background: #111;
}

.carousel {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.7s ease;
  cursor: pointer;
  outline: none;
  background: #111;
}

.carousel-slide.active { opacity: 1; }

.carousel-slide picture {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}
.carousel-slide picture img,
.carousel-slide > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

.slide-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  color: var(--color-primary);
  flex-direction: column;
  gap: 8px;
}

.carousel-dots {
  position: absolute;
  bottom: 84px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.carousel-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.25s, transform 0.25s;
}

.carousel-dots .dot.active {
  background: var(--color-white);
  transform: scale(1.35);
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(4px);
  border: none;
  color: var(--color-white);
  font-size: 26px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  line-height: 1;
}

.carousel-arrow:hover { background: rgba(255, 255, 255, 0.45); }
.carousel-prev { left: 14px; }
.carousel-next { right: 14px; }

/* ===== 料金プラン：特別告知・全プランリンク ===== */
.pricing-campaign-banner {
  background: linear-gradient(135deg, #fff3cd, #ffe69c);
  border: 2px solid #f5c518;
  border-radius: 12px;
  padding: 16px 24px;
  text-align: center;
  font-size: 16px;
  font-weight: 500;
  color: #6b4c00;
  margin-bottom: 24px;
  line-height: 1.6;
}
.pricing-campaign-banner strong {
  color: #c8360a;
  font-weight: 700;
}

.pricing-fee-info {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.pricing-fee-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--color-white);
  border: 2px solid var(--color-primary);
  border-radius: var(--radius-card);
  padding: 16px 32px;
  min-width: 180px;
}

.pricing-fee-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.pricing-fee-value {
  font-size: 20px;
  font-weight: 900;
  color: var(--color-text);
}

.pricing-special-note {
  margin-top: 36px;
  background: var(--color-primary);
  color: var(--color-white);
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  padding: 14px 20px;
  border-radius: var(--radius-card);
  line-height: 1.6;
}

.pricing-all-link {
  text-align: center;
  margin-top: 28px;
}

.pricing-all-link .btn {
  font-size: 15px;
  padding: 14px 36px;
}

/* ===== 料金一覧ページ ===== */
.pricing-page-hero {
  background: var(--color-primary);
  padding: 80px 20px 48px;
  text-align: center;
  color: var(--color-white);
}

.pricing-page-hero h1 {
  font-size: 28px;
  font-weight: 900;
  line-height: 1.4;
  margin-bottom: 10px;
}

.pricing-page-hero p {
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
}

.pricing-page-body {
  padding: 56px 0 80px;
  background: var(--color-bg-light);
}

.pricing-page-note-bar {
  background: var(--color-primary);
  color: var(--color-white);
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  padding: 14px 20px;
  border-radius: var(--radius-card);
  margin-bottom: 36px;
  line-height: 1.6;
}

.pricing-category {
  margin-bottom: 40px;
}

.pricing-category-header {
  background: var(--color-primary);
  color: var(--color-white);
  font-size: 15px;
  font-weight: 700;
  padding: 12px 20px;
  border-radius: var(--radius-card) var(--radius-card) 0 0;
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-white);
  border-radius: 0 0 var(--radius-card) var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow);
  font-size: 14px;
}

.pricing-table thead th {
  background: #FFF5F0;
  color: var(--color-primary);
  font-weight: 700;
  padding: 12px 16px;
  text-align: left;
  border-bottom: 2px solid #FFD5C0;
}

.pricing-table thead th:last-child {
  text-align: right;
}

.pricing-table tbody tr {
  border-bottom: 1px solid #F0F0F0;
  transition: background 0.15s;
}

.pricing-table tbody tr:last-child { border-bottom: none; }
.pricing-table tbody tr:hover { background: #FFF8F5; }

.pricing-table td {
  padding: 14px 16px;
  vertical-align: top;
}

.pricing-table td:last-child {
  text-align: right;
  font-weight: 700;
  color: var(--color-primary);
  white-space: pre-line;
}

.pricing-table .plan-featured-badge {
  display: inline-block;
  background: var(--color-primary);
  color: var(--color-white);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 50px;
  margin-left: 8px;
  vertical-align: middle;
}

.pricing-table .plan-td-name {
  font-weight: 700;
  color: var(--color-text);
}

.pricing-table .plan-td-session {
  font-size: 12px;
  color: var(--color-text-muted);
  margin-top: 2px;
}

.pricing-page-footnotes {
  margin-top: 36px;
  font-size: 12px;
  color: var(--color-text-muted);
  line-height: 2;
  white-space: pre-line;
}

.pricing-page-back {
  text-align: center;
  margin-top: 40px;
}

.pricing-page-back .btn {
  font-size: 14px;
  padding: 12px 32px;
}

/* ===== シンプルページ（プライバシーポリシー等）===== */
.simple-page-wrap {
  padding: 60px 0 80px;
  min-height: calc(100vh - 120px);
  background: var(--color-white);
}

.simple-page-inner {
  max-width: 760px;
  margin: 0 auto;
}

.simple-page-title {
  font-size: 26px;
  font-weight: 900;
  color: var(--color-text);
  margin-bottom: 40px;
  padding-bottom: 16px;
  border-bottom: 3px solid var(--color-primary);
}

.simple-page-content {
  font-size: 15px;
  line-height: 2;
  color: var(--color-text);
}

.simple-page-content h2 {
  font-size: 18px;
  font-weight: 700;
  margin: 40px 0 12px;
  color: var(--color-text);
  padding-left: 12px;
  border-left: 4px solid var(--color-primary);
}

.simple-page-content h3 {
  font-size: 15px;
  font-weight: 700;
  margin: 24px 0 8px;
}

.simple-page-content p {
  margin-bottom: 16px;
  color: #555;
}

.simple-page-content ul,
.simple-page-content ol {
  padding-left: 24px;
  margin-bottom: 16px;
  color: #555;
}

.simple-page-content li {
  margin-bottom: 6px;
}

.simple-page-content table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
  font-size: 14px;
}

.simple-page-content table th,
.simple-page-content table td {
  border: 1px solid var(--color-border);
  padding: 12px 16px;
  text-align: left;
  vertical-align: top;
}

.simple-page-content table th {
  background: var(--color-bg-light);
  font-weight: 700;
  width: 30%;
  white-space: nowrap;
}

/* ===== Google 口コミバッジ ===== */
.google-review-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 50px;
  padding: 10px 20px;
  margin: 0 auto 32px;
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: box-shadow 0.2s, transform 0.2s;
  cursor: pointer;
}
.google-review-badge:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}
.grb-logo {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1;
}
.grb-divider {
  width: 1px;
  height: 20px;
  background: var(--color-border);
}
.grb-rating-num {
  font-size: 18px;
  font-weight: 900;
  color: var(--color-text);
  line-height: 1;
}
.grb-stars {
  display: flex;
  gap: 1px;
  line-height: 1;
}
.grb-star { font-size: 16px; }
.grb-star.full  { color: #FBBC05; }
.grb-star.half  { color: #FBBC05; opacity: 0.6; }
.grb-star.empty { color: #ddd; }
.grb-count {
  font-size: 13px;
  color: var(--color-text-light);
  white-space: nowrap;
}

/* ===== スクロールアニメーション ===== */
.anim {
  opacity: 0;
  transform: translateY(70px);
  transition:
    opacity   1s cubic-bezier(0.16, 1, 0.3, 1),
    transform 1s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.anim-left  { transform: translateX(-80px); }
.anim-right { transform: translateX(80px); }
.anim-card  { transform: translateY(60px) scale(0.92); }
.anim.in-view {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .anim { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ===== レスポンシブ（小型タブレット・大型スマホ以上） ===== */
@media (min-width: 480px) {
  .worries-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 600px) {
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
  /* 料金は600pxで2列、価格テキストが窮屈にならないよう */
  .pricing-grid      { grid-template-columns: repeat(2, 1fr); }
  /* 強調プランを常に右上に配置（2列時） */
  .plan-card                                            { order: 1; }
  .plan-card.featured                                   { order: 2; }
  .plan-card:not(.featured) ~ .plan-card:not(.featured) { order: 3; }
  .ba-grid           { grid-template-columns: 1fr 1fr; }
  .fv-headline       { font-size: 40px; }
}

@media (min-width: 900px) {
  /* 900px以上で3列表示、強調を中央に */
  .pricing-grid { grid-template-columns: repeat(3, 1fr); }
}

/* スマホ向け細かい調整 */
@media (max-width: 767px) {
  .fv-carousel {
    height: 100svh;
  }
}

@media (max-width: 599px) {
  /* Google口コミバッジ：小画面で折り返し */
  .google-review-badge {
    flex-wrap: wrap;
    justify-content: center;
    border-radius: 16px;
    gap: 6px 10px;
  }
  .grb-divider { display: none; }
  .grb-count   { width: 100%; text-align: center; margin-top: -2px; }

  /* 料金カード：スマホでは余白を詰める */
  .plan-card { padding: 28px 16px 22px; }
  .plan-price { font-size: 34px; }

  /* 体験料金・入会金バッジ：縦積み */
  .pricing-fee-item { min-width: 140px; padding: 14px 20px; }
  .pricing-fee-value { font-size: 18px; }
}

@media (min-width: 768px) {
  section               { padding: 80px 0; }
  .section-title        { font-size: 30px; }

  /* ヘッダー */
  .site-header          { height: 68px; }
  .nav-hamburger        { display: none; }

  /* デスクトップナビ：インライン表示 */
  .header-nav {
    position: static;
    max-height: none;
    overflow: visible;
    background: none;
    box-shadow: none;
    backdrop-filter: none;
    flex: 1;
  }

  .nav-links {
    flex-direction: row;
    padding: 0;
    gap: 2px;
    justify-content: center;
  }

  .nav-link {
    padding: 6px 12px;
    font-size: 13px;
    border-bottom: none;
    border-radius: 6px;
    position: relative;
  }

  .nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 12px;
    right: 12px;
    height: 2px;
    background: var(--color-primary);
    border-radius: 2px;
    transform: scaleX(0);
    transition: transform 0.2s ease;
  }

  .nav-link:hover::after,
  .nav-link.active::after { transform: scaleX(1); }
  .nav-link.active { background: none; }

  .header-cta { display: flex; }

  /* トレーナー：デスクトップはグリッド */
  .trainer-carousel .trainer-slides {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .trainer-carousel .trainer-slide {
    display: block !important;
  }

  .trainer-carousel-nav { display: none !important; }

  .fv-inner {
    flex-direction: row;
    text-align: left;
    align-items: center;
    justify-content: center;
  }

  .fv-text             { flex: 1; max-width: 520px; }
  .fv-image            { flex: 1; max-width: 420px; height: 340px; }
  .fv-cta              { flex-direction: row; max-width: 100%; }
  .fv-cta .btn         { width: auto; }
  .fv-badge, .fv-note  { text-align: left; }

  .features-grid        { grid-template-columns: repeat(4, 1fr); }
  .testimonials-grid    { grid-template-columns: repeat(3, 1fr); }

  .trainers-single      { flex-direction: row; align-items: flex-start; }
  .trainers-grid        { grid-template-columns: 1fr 1fr; }
  .trainers-grid .trainer-info { text-align: center; }
  .trainers-grid .trainer-certs { justify-content: center; }
  .trainers-single .trainer-info { text-align: left; }
  .trainers-single .trainer-certs { justify-content: flex-start; }
  /* 旧クラス後方互換 */
  .trainer-wrap         { flex-direction: row; align-items: flex-start; }
  .trainer-info         { text-align: left; }
  .trainer-certs        { justify-content: flex-start; }

  .access-grid          { grid-template-columns: 1fr 1fr; align-items: start; }

  .final-cta-btns       { flex-direction: row; max-width: 600px; }
}

@media (min-width: 1080px) {
  .fv-headline { font-size: 50px; }
  .section-title { font-size: 34px; }
}


/* ===== グラデーションオーブ アニメーション ===== */
@keyframes orb-drift-1 {
  0%   { transform: translate(0, 0) scale(1); }
  33%  { transform: translate(60px, -80px) scale(1.1); }
  66%  { transform: translate(-40px, 60px) scale(0.95); }
  100% { transform: translate(0, 0) scale(1); }
}
@keyframes orb-drift-2 {
  0%   { transform: translate(0, 0) scale(1); }
  33%  { transform: translate(-70px, 50px) scale(1.08); }
  66%  { transform: translate(50px, -60px) scale(0.92); }
  100% { transform: translate(0, 0) scale(1); }
}
@keyframes orb-drift-3 {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(40px, 70px) scale(1.12); }
  100% { transform: translate(0, 0) scale(1); }
}
@keyframes orb-drift-4 {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(-50px, -40px) scale(0.9); }
  100% { transform: translate(0, 0) scale(1); }
}

/* ===== FV アニメーション背景 ===== */
.fv-anim-bg {
  position: absolute;
  inset: 0;
  background: #1a0a00;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.fv-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.7;
  pointer-events: none;
}
.fv-orb-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, #ff6b35, #e8420a);
  top: -150px; left: -100px;
  animation: orb-drift-1 14s ease-in-out infinite;
}
.fv-orb-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, #ff9a56, #ff5500);
  bottom: -100px; right: -80px;
  animation: orb-drift-2 18s ease-in-out infinite;
}
.fv-orb-3 {
  width: 350px; height: 350px;
  background: radial-gradient(circle, #ffcc99, #ff8040);
  top: 40%; left: 40%;
  animation: orb-drift-3 12s ease-in-out infinite;
  opacity: 0.45;
}
.fv-orb-4 {
  width: 280px; height: 280px;
  background: radial-gradient(circle, #c0392b, #7b1a00);
  top: 20%; right: 20%;
  animation: orb-drift-4 16s ease-in-out infinite;
  opacity: 0.5;
}
.fv-anim-content {
  position: relative;
  z-index: 1;
  text-align: center;
}
.fv-anim-label {
  color: rgba(255,255,255,0.4);
  font-size: 13px;
}

/* ===== final-CTA オーブ ===== */
.cta-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
  opacity: 0.35;
}
.cta-orb-1 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, #ffcc99, #ff6b00);
  top: -120px; left: -80px;
  animation: orb-drift-1 16s ease-in-out infinite;
}
.cta-orb-2 {
  width: 350px; height: 350px;
  background: radial-gradient(circle, #c0392b, #ff4500);
  bottom: -100px; right: -60px;
  animation: orb-drift-2 20s ease-in-out infinite;
}
.cta-orb-3 {
  width: 250px; height: 250px;
  background: radial-gradient(circle, #ffaa55, #ff6000);
  top: 50%; left: 55%;
  animation: orb-drift-3 14s ease-in-out infinite;
  opacity: 0.25;
}
.final-cta .section-label,
.final-cta .section-title,
.final-cta .section-subtitle,
.final-cta-btns,
.final-note,
.final-cta p {
  position: relative;
  z-index: 1;
}
