/* =============================================
   RESET & BASE
============================================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #f5f3ef;
  --bg-dark: #1a1a1a;
  --green: #00582d;
  --green-dark: #003d1f;
  --green-light: #006e38;
  --gold: #c9a84c;
  --gold-light: #e8c97a;
  --gold-dark: #a07830;
  --white: #ffffff;
  --gray-100: #f5f5f5;
  --gray-200: #e8e8e8;
  --gray-400: #9a9a9a;
  --gray-700: #333333;
  --text: #2a2a2a;
  --font-serif: 'Noto Serif JP', serif;
  --font-en: 'Bodoni Moda', Georgia, serif;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-lg: 0 1px 4px rgba(0,0,0,0.05);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-serif);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.8;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

/* =============================================
   UTILITY
============================================= */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.icon { display: inline-block; vertical-align: middle; flex-shrink: 0; }

.section-label {
  font-family: var(--font-en);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  color: var(--gold);
  text-transform: uppercase;
  display: block;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.5rem, 3.5vw, 2.4rem);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.05em;
}

.divider-gold {
  width: 32px;
  height: 1px;
  background: var(--gold);
  margin: 20px 0 32px;
}

.divider-gold--center {
  margin: 20px auto 32px;
}

/* =============================================
   CTA BUTTON
============================================= */
.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--gold);
  color: var(--green-dark);
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  padding: 18px 42px;
  border: none;
  cursor: pointer;
  transition: opacity var(--transition);
}

.btn-cta:hover {
  opacity: 0.85;
}

.btn-cta--large {
  font-size: 1.1rem;
  padding: 20px 56px;
}

.btn-cta--outline {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
}

.btn-cta--outline:hover {
  background: rgba(201,168,76,0.06);
  opacity: 1;
}

/* =============================================
   STICKY HEADER
============================================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(0, 88, 45, 0.97);
  border-bottom: 1px solid rgba(0,0,0,0.08);
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all var(--transition);
}

.site-header__logo img {
  height: 38px;
  width: auto;
  display: block;
  object-fit: contain;
  transition: opacity 0.3s ease, transform 0.3s ease, filter 0.3s ease;
}

.site-header__logo img:hover {
  opacity: 0.85;
  transform: scale(1.05) translateY(-1px);
  filter: drop-shadow(0 3px 10px rgba(201, 168, 76, 0.28));
}

.site-header__cta {
  font-size: 0.85rem;
  padding: 12px 24px;
}

.site-header__nav {
  display: flex;
  gap: 28px;
  list-style: none;
}

.site-header__nav a {
  color: rgba(255,255,255,0.8);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  transition: color var(--transition);
}

.site-header__nav a:hover {
  color: var(--gold);
}

/* =============================================
   STICKY BOTTOM BAR
============================================= */
.sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: var(--green-dark);
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.sticky-bar__text {
  color: var(--white);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}

.sticky-bar__text strong {
  color: var(--gold);
}

.sticky-bar .btn-cta {
  padding: 12px 28px;
  font-size: 0.9rem;
}

/* =============================================
   SECTION 1: FIRST VIEW / HERO
============================================= */
.hero {
  min-height: 100svh;
  background:
    linear-gradient(to left, rgba(0,30,15,0.88) 0%, rgba(0,30,15,0.55) 50%, rgba(0,0,0,0.18) 100%),
    url('../img/top_fv.jpg') center/cover no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 100px 24px 80px;
  position: relative;
  overflow: hidden;
}

.hero::after { display: none; }

.hero__inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.hero__right {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  width: 56%;
  max-width: 500px;
  order: 1;
}

.hero__left {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  width: 56%;
  max-width: 500px;
  order: 2;
}

.hero__en-title {
  font-family: var(--font-en);
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-weight: 300;
  color: var(--gold);
  letter-spacing: 0.18em;
  margin-bottom: 16px;
  opacity: 0;
  animation: fadeUp 0.9s 0.3s forwards;
}

.hero__title {
  font-size: clamp(2.2rem, 6vw, 4.5rem);
  font-weight: 500;
  color: var(--white);
  line-height: 1.35;
  letter-spacing: 0.05em;
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp 0.9s 0.6s forwards;
}

.hero__title span {
  display: block;
  font-size: clamp(1rem, 2vw, 1.4rem);
  font-weight: 300;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.15em;
  margin-top: 6px;
}

.hero__subtitle {
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  color: rgba(255,255,255,0.85);
  margin-bottom: 32px;
  font-weight: 300;
  letter-spacing: 0.08em;
  opacity: 0;
  animation: fadeUp 0.9s 0.9s forwards;
}

.hero__reviews {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
  opacity: 0;
  animation: fadeUp 0.9s 1.1s forwards;
}

.review-badge {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
}

.review-badge__icon {
  font-size: 2rem;
}

.review-badge__stars {
  color: var(--gold);
  font-size: 0.9rem;
  letter-spacing: 2px;
  display: block;
}

.review-badge__text {
  font-size: 0.8rem;
  color: var(--white);
  letter-spacing: 0.05em;
}

.hero__cta-wrap {
  opacity: 0;
  animation: fadeUp 0.9s 1.3s forwards;
}

.hero__cta-note {
  color: rgba(255,255,255,0.6);
  font-size: 0.8rem;
  margin-top: 12px;
  letter-spacing: 0.05em;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =============================================
   SECTION 2: PRICING & CAMPAIGN
============================================= */
.pricing {
  padding: 100px 0;
  background-color: var(--bg);
}

.pricing__header {
  text-align: center;
  margin-bottom: 60px;
}

/* 比較表 */
.compare-scroll-hint {
  display: none;
  text-align: center;
  font-size: 0.78rem;
  color: var(--gray-400);
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.compare-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 12px;
}

.compare-table {
  width: 100%;
  min-width: 740px;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.compare-table thead th {
  padding: 22px 18px;
  font-weight: 500;
  letter-spacing: 0.05em;
  vertical-align: middle;
  border-bottom: 2px solid var(--gold);
}

.compare-table thead .th-item {
  background: var(--green-dark);
  color: rgba(255,255,255,0.92);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  width: 20%;
  text-align: left;
}

.compare-table thead .th-gym76 {
  background: var(--green-dark);
  color: var(--gold);
  font-family: var(--font-en);
  font-size: 1.1rem;
  text-align: center;
  width: 29%;
  border-left: 1px solid rgba(201,168,76,0.35);
  border-right: 1px solid rgba(201,168,76,0.35);
}

.compare-table thead .th-gym76 span {
  display: block;
  font-family: var(--font-serif);
  font-size: 0.78rem;
  font-weight: 400;
  color: rgba(255,255,255,0.92);
  letter-spacing: 0.08em;
  margin-top: 5px;
}

.compare-table thead .th-rival {
  background: var(--gray-700);
  color: rgba(255,255,255,0.5);
  font-size: 0.82rem;
  text-align: center;
  font-weight: 400;
}

.compare-table tbody tr {
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.compare-table tbody tr:last-child {
  border-bottom: none;
}

.compare-table tbody td {
  padding: 18px 18px;
  vertical-align: middle;
  line-height: 1.6;
}

.compare-table tbody .td-item {
  background: var(--green-dark);
  color: rgba(255,255,255,0.92);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  border-right: 1px solid rgba(201,168,76,0.25);
}

.compare-table tbody .td-gym76 {
  background: #002a17;
  color: var(--white);
  text-align: center;
  font-weight: 500;
  border-left: 1px solid rgba(201,168,76,0.28);
  border-right: 1px solid rgba(201,168,76,0.28);
}

.compare-table tbody tr:nth-child(even) .td-gym76 {
  background: #003520;
}

.compare-table tbody .td-rival {
  background: var(--white);
  color: var(--gray-700);
  text-align: center;
}

.compare-table tbody tr:nth-child(even) .td-rival {
  background: var(--gray-100);
}

.compare-table .price-gold {
  color: var(--gold);
  font-weight: 700;
  font-size: 1.05em;
}

.compare-table .price-del {
  display: block;
  color: rgba(255,255,255,0.38);
  text-decoration: line-through;
  font-size: 0.8em;
  font-weight: 400;
}

.compare-table .check-yes {
  color: var(--gold);
  font-size: 1.2em;
}

.compare-table .check-partial {
  color: var(--gray-400);
}

.compare-table .check-no {
  color: var(--gray-400);
  opacity: 0.5;
}

.compare-table .td-gym76--campaign {
  background: #001f10;
  border-left: 2px solid rgba(201,168,76,0.6);
  border-right: 2px solid rgba(201,168,76,0.6);
  padding: 22px 18px;
}

.compare-table .cell-price-main {
  font-size: 1.5rem;
  font-family: var(--font-en);
  color: var(--gold);
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.03em;
}

.compare-table .cell-price-sub {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.05em;
  margin-top: 4px;
  display: block;
}

.compare-table .cell-campaign-tag {
  display: inline-block;
  margin-top: 12px;
  background: rgba(201,168,76,0.14);
  border: 1px solid rgba(201,168,76,0.45);
  padding: 8px 14px;
  font-size: 0.78rem;
  color: var(--gold-light);
  letter-spacing: 0.06em;
  line-height: 1.7;
  text-align: center;
}

.compare-table .cell-campaign-tag strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.04em;
}

.compare-table .cell-price-del {
  display: block;
  color: rgba(255,255,255,0.35);
  text-decoration: line-through;
  font-size: 0.82rem;
  font-weight: 400;
  margin-bottom: 6px;
}

.compare-table .cell-price-free {
  font-size: 1.8rem;
  font-family: var(--font-en);
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1;
}

.compare-table .cell-campaign-note {
  display: block;
  margin-top: 8px;
  font-size: 0.72rem;
  color: rgba(201,168,76,0.65);
  letter-spacing: 0.06em;
}

.compare-note {
  text-align: right;
  font-size: 0.72rem;
  color: var(--gray-400);
  margin-bottom: 48px;
  letter-spacing: 0.04em;
}

/* =============================================
   SECTION: GYM76の特徴
============================================= */
.gym-features {
  padding: 100px 0;
  background: var(--bg);
  text-align: center;
}

.gym-features__header {
  margin-bottom: 56px;
}

.gym-features__highlights {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.gym-features__highlight-item {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-top: 3px solid var(--gold);
  flex: 1;
  min-width: 220px;
  max-width: 420px;
  overflow: hidden;
}

.gym-features__highlight-img {
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.gym-features__highlight-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gym-features__highlight-item:hover .gym-features__highlight-img img {
  transform: scale(1.05);
}

.gym-features__highlight-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 28px 32px 32px;
}

.gym-features__highlight-num {
  font-family: var(--font-en);
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--gold);
  letter-spacing: 0.12em;
  line-height: 1;
}

.gym-features__highlight-text {
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  font-weight: 500;
  color: var(--text);
  letter-spacing: 0.05em;
  line-height: 1.8;
  text-align: center;
}

.gym-features__body {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 16px;
}

.gym-features__body-text {
  font-size: clamp(0.9rem, 1.8vw, 1.02rem);
  line-height: 2.3;
  letter-spacing: 0.04em;
  color: var(--gray-700);
}

@media (max-width: 640px) {
  .gym-features__highlights {
    flex-direction: column;
    align-items: center;
  }
  .gym-features__highlight-item {
    width: 100%;
    max-width: 100%;
  }
  .gym-features__highlight-img {
    height: 200px;
  }
}

/* =============================================
   SECTION 3: TRAINER'S MESSAGE
============================================= */
.message {
  padding: 100px 0;
  background: var(--green-dark);
  position: relative;
  overflow: hidden;
}

.message::before {
  content: 'PASSION';
  position: absolute;
  top: 50%;
  left: -40px;
  transform: translateY(-50%) rotate(-90deg);
  font-family: var(--font-en);
  font-size: 10rem;
  font-weight: 700;
  color: rgba(201,168,76,0.06);
  letter-spacing: 0.1em;
  pointer-events: none;
  white-space: nowrap;
}

.message__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.message__label {
  color: var(--gold);
}

.message__title {
  color: var(--white);
}

.message__divider {
  background: var(--gold);
}

.message__body {
  color: rgba(255,255,255,0.8);
  font-size: clamp(0.9rem, 1.8vw, 1.05rem);
  line-height: 2.1;
  letter-spacing: 0.03em;
  margin-bottom: 40px;
}

.trainer-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 40px;
  position: relative;
}

.trainer-card::before {
  content: '"';
  position: absolute;
  top: 10px;
  left: 20px;
  font-family: var(--font-en);
  font-size: 5rem;
  color: var(--gold);
  opacity: 0.3;
  line-height: 1;
}

.trainer-card__image {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--gold);
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  overflow: hidden;
}

.trainer-card__image-placeholder {
  width: 80px;
  height: 80px;
  border: 1px solid rgba(201,168,76,0.3);
  margin-bottom: 20px;
  background: rgba(0,61,31,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(201,168,76,0.5);
}

.trainer-card__name {
  font-size: 1.3rem;
  color: var(--white);
  font-weight: 600;
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}

.trainer-card__title {
  font-size: 0.8rem;
  color: var(--gold);
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}

.trainer-card__achievements {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.trainer-card__achievements li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(255,255,255,0.75);
  font-size: 0.85rem;
}

.trainer-card__achievements li::before {
  content: '—';
  color: var(--gold);
  flex-shrink: 0;
}

/* =============================================
   FEATURES
============================================= */
.features {
  padding: 100px 0;
  background: var(--bg);
}

.features__header {
  text-align: center;
  margin-bottom: 64px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2px;
  background: var(--gray-400);
}

.feature-item {
  background: var(--white);
  padding: 44px 32px;
  position: relative;
  overflow: hidden;
  transition: background var(--transition);
}

.feature-item:hover {
  background: var(--gray-100);
}

.feature-item__number {
  font-family: var(--font-en);
  font-size: 4rem;
  font-weight: 300;
  color: rgba(0,88,45,0.12);
  line-height: 1;
  margin-bottom: 16px;
  transition: color var(--transition);
}

.feature-item:hover .feature-item__number {
  color: rgba(0,88,45,0.18);
}

.feature-item__title {
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
  color: var(--green);
}

.feature-item__text {
  font-size: 0.88rem;
  color: var(--gray-700);
  line-height: 1.9;
  transition: color var(--transition);
}

/* =============================================
   IMAGE PARALLAX SECTION
============================================= */
.parallax-section {
  min-height: 70vh;
  background:
    linear-gradient(rgba(0,30,15,0.75), rgba(0,30,15,0.75)),
    url('../img/1772089155793.jpg') center/cover no-repeat;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px;
}

.parallax-section__en {
  font-family: var(--font-en);
  font-size: clamp(0.9rem, 2vw, 1.15rem);
  color: var(--gold);
  letter-spacing: 0.16em;
  display: block;
  margin-bottom: 20px;
}

.parallax-section__title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--white);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.05em;
  margin-bottom: 40px;
}

.parallax-section__title span {
  display: block;
}

/* =============================================
   WHY CHOOSE US
============================================= */
.reasons {
  padding: 100px 0 0;
  background: var(--bg);
}

.reasons__header {
  text-align: center;
  margin-bottom: 80px;
}

.reasons-list {
  width: 100%;
}

.reason-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 500px;
}

.reason-item--reverse .reason-item__text-col {
  order: 2;
}

.reason-item--reverse .reason-item__img-col {
  order: 1;
}

.reason-item__text-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 72px 80px;
  background: var(--bg);
}

.reason-item__img-col {
  overflow: hidden;
  position: relative;
  background: var(--gray-200);
}

.reason-item__img-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s ease;
}

.reason-item:hover .reason-item__img-col img {
  transform: scale(1.04);
}

.reason-item__num {
  font-family: var(--font-en);
  font-size: 5rem;
  font-weight: 400;
  color: var(--gold);
  line-height: 1;
  letter-spacing: -0.04em;
  opacity: 0.55;
  margin-bottom: 28px;
  display: block;
}

.reason-item__title {
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  font-weight: 500;
  color: var(--green-dark);
  letter-spacing: 0.04em;
  line-height: 1.55;
  margin-bottom: 20px;
}

.reason-item__text {
  font-size: 0.88rem;
  color: var(--gray-700);
  line-height: 1.95;
  max-width: 420px;
}

.reasons__cta {
  text-align: center;
  padding: 80px 0 100px;
}

/* =============================================
   SECTION: 料金プラン（回数券 / 法人 / ライフサポート）
============================================= */
.plans-section {
  padding: 100px 0;
  background: var(--green-dark);
}

.plan-group {
  margin-bottom: 0;
}

.plan-group__header {
  margin-bottom: 28px;
}

.plan-group__label {
  font-family: var(--font-serif);
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  font-weight: 500;
  color: var(--white);
  letter-spacing: 0.14em;
  padding: 8px 28px;
  border: 1px solid var(--gold);
  display: inline-block;
}

.plan-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}

.plan-cards--single {
  grid-template-columns: repeat(1, minmax(0, 380px));
}

.plan-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 32px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.plan-card--featured {
  border-color: var(--gold);
  background: rgba(201,168,76,0.07);
}

.plan-card__num {
  font-family: var(--font-en);
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--gold);
  letter-spacing: 0.12em;
  background: rgba(201,168,76,0.12);
  padding: 4px 18px;
  display: inline-block;
}

.plan-card__price {
  font-family: var(--font-en);
  font-size: clamp(1.4rem, 2.8vw, 1.9rem);
  font-weight: 400;
  color: var(--white);
  letter-spacing: 0.04em;
  line-height: 1.2;
}

.plan-card__tax {
  font-size: 0.65em;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.04em;
  font-family: var(--font-serif);
}

.plan-card__per {
  font-size: 0.8rem;
  color: var(--gold-light);
  letter-spacing: 0.06em;
}

.plan-card__support-desc {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.05em;
  line-height: 1.7;
}

.plan-corporate-note {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.82);
  line-height: 2;
  letter-spacing: 0.04em;
  margin-bottom: 20px;
  padding: 14px 20px;
  border-left: 2px solid var(--gold);
  background: rgba(201,168,76,0.05);
}

.plan-notes {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.plan-notes li {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.38);
  letter-spacing: 0.04em;
  padding-left: 1.2em;
  position: relative;
}

.plan-notes li::before {
  content: '※';
  position: absolute;
  left: 0;
}

.plan-divider {
  height: 1px;
  background: rgba(255,255,255,0.08);
  margin: 60px 0;
}

@media (max-width: 768px) {
  .plan-cards {
    grid-template-columns: 1fr;
  }
  .plan-cards--single {
    grid-template-columns: 1fr;
  }
}

/* =============================================
   SECTION 4: FAQ
============================================= */
.faq {
  padding: 100px 0;
  background: var(--green-dark);
}

.faq__header {
  text-align: center;
  margin-bottom: 64px;
}

.faq__header .section-title {
  color: var(--white);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.faq-item {
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.faq-item__question {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  padding: 24px 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  text-align: left;
  font-family: var(--font-serif);
  transition: background var(--transition);
}

.faq-item__question:hover {
  background: rgba(255,255,255,0.04);
}

.faq-item__q-mark {
  font-family: var(--font-en);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--gold);
  flex-shrink: 0;
  width: 36px;
}

.faq-item__q-text {
  flex: 1;
  font-size: clamp(0.9rem, 2vw, 1.05rem);
  color: var(--white);
  font-weight: 500;
  letter-spacing: 0.03em;
}

.faq-item__icon {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gold);
  font-size: 1.1rem;
  transition: transform var(--transition);
}

.faq-item.is-open .faq-item__icon {
  transform: rotate(45deg);
}

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s ease;
  padding: 0 20px 0 76px;
}

.faq-item.is-open .faq-item__answer {
  max-height: 300px;
  padding: 10px 20px 28px 76px;
}

.faq-item__a-text {
  color: rgba(255,255,255,0.75);
  font-size: 0.93rem;
  line-height: 1.9;
  border-left: 1px solid rgba(201,168,76,0.25);
  padding-left: 16px;
}

/* =============================================
   SECTION 5: RESERVATION
============================================= */
.reservation {
  padding: 100px 0;
  background: var(--bg);
}

.reservation__header {
  text-align: center;
  margin-bottom: 64px;
}

.reservation-methods {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 64px;
}

.reserve-method {
  background: var(--white);
  border: 1px solid var(--gray-200);
  padding: 44px 28px;
  text-align: center;
  transition: background var(--transition);
}

.reserve-method:hover {
  background: var(--gray-100);
}

.reserve-method__icon {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--green);
}

.reserve-method__name {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--green-dark);
  margin-bottom: 12px;
  letter-spacing: 0.05em;
}

.reserve-method__detail {
  font-size: 0.88rem;
  color: var(--gray-700);
  line-height: 1.7;
}

.reserve-method__btn {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 28px;
  background: var(--green);
  color: var(--white);
  font-size: 0.88rem;
  font-family: var(--font-serif);
  letter-spacing: 0.05em;
  transition: background var(--transition), transform var(--transition);
}

.reserve-method__btn:hover {
  background: var(--green-dark);
}

.reserve-method__btn--line {
  background: #06c755;
}

.reserve-method__btn--line:hover {
  background: #05a046;
}

.reserve-method--phone .reserve-method__tel {
  font-family: var(--font-en);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--green);
  letter-spacing: 0.05em;
  display: block;
  margin: 8px 0;
}

.reserve-method--phone .reserve-method__hours {
  font-size: 0.8rem;
  color: var(--gray-400);
}

/* Reservation Form */
.reservation-form {
  background: var(--white);
  border: 1px solid var(--gray-200);
  padding: 60px;
  max-width: 700px;
  margin: 0 auto;
}

.reservation-form__title {
  font-size: 1.4rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  color: var(--green-dark);
}

.reservation-form__subtitle {
  font-size: 0.85rem;
  color: var(--gray-400);
  margin-bottom: 40px;
}

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

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--gray-700);
  margin-bottom: 3px;
}

.form-label .required {
  color: #c00;
  margin-left: 4px;
  font-size: 0.75rem;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--gray-200);
  background: var(--gray-100);
  font-family: var(--font-serif);
  font-size: 0.93rem;
  color: var(--text);
  transition: border-color var(--transition), background var(--transition);
  outline: none;
  appearance: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--green);
  background: var(--white);
}

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2300582d' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  padding-right: 44px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.form-info-box {
  background: rgba(0,88,45,0.05);
  border: 1px solid rgba(0,88,45,0.2);
  padding: 20px;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.form-info-box__icon {
  font-size: 1.3rem;
  flex-shrink: 0;
}

.form-info-box__text {
  font-size: 0.88rem;
  color: var(--green-dark);
  line-height: 1.6;
}

.form-info-box__price {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--green);
}

.form-submit {
  text-align: center;
}

.form-note {
  font-size: 0.8rem;
  color: var(--gray-400);
  margin-top: 16px;
  line-height: 1.7;
}

/* =============================================
   SECTION 6: ACCESS
============================================= */
.access {
  padding: 100px 0;
  background: var(--green-dark);
}

.access__header {
  margin-bottom: 60px;
}

.access__header .section-label {
  color: var(--gold);
}

.access__header .section-title {
  color: var(--white);
}

.access__inner {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 64px;
  align-items: start;
}

.access__info {
  color: var(--white);
}

.access__info-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}

.access__info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.access__info-icon {
  font-size: 1.1rem;
  color: var(--gold);
  flex-shrink: 0;
  width: 20px;
}

.access__info-label {
  font-size: 0.75rem;
  color: var(--gold);
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 2px;
}

.access__info-text {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
}

.access__map {
  width: 100%;
  height: 380px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(201,168,76,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.access__map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(30%) contrast(1.1);
}

/* =============================================
   FOOTER
============================================= */
.site-footer {
  background: linear-gradient(to bottom, #003d1f 0%, #002a17 100%);
  padding: 72px 24px 48px;
  text-align: center;
  border-top: 1px solid rgba(201, 168, 76, 0.2);
}

.site-footer__logo {
  margin-bottom: 20px;
}

.site-footer__logo img {
  height: 48px;
  width: auto;
  display: block;
  object-fit: contain;
  margin: 0 auto;
  transition: opacity 0.35s ease, transform 0.35s ease, filter 0.35s ease;
}

.site-footer__logo img:hover {
  opacity: 0.9;
  transform: scale(1.04);
}

.site-footer__tagline {
  font-family: var(--font-en);
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.22em;
  margin-bottom: 40px;
}

.site-footer__nav {
  display: flex;
  gap: 32px;
  justify-content: center;
  list-style: none;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.site-footer__nav a {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.1em;
  transition: color var(--transition);
}

.site-footer__nav a:hover {
  color: var(--gold);
}

.site-footer__copy {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.28);
  letter-spacing: 0.12em;
}

/* =============================================
   SCROLL ANIMATION
============================================= */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* =============================================
   RESPONSIVE
============================================= */
@media (max-width: 768px) {
  .site-header__nav {
    display: none;
  }

  .site-header__cta {
    padding: 10px 18px;
    font-size: 0.8rem;
  }

  .hero {
    padding: 120px 20px 100px;
    background-attachment: scroll;
    background-image:
      linear-gradient(rgba(0,30,15,0.75), rgba(0,30,15,0.60)),
      url('http://lp.gym.masamura-testsite.com/wp-content/uploads/2026/04/top_fvsp.png');
  }

  .hero__inner {
    align-items: flex-start;
  }

  .hero__right {
    width: 100%;
    max-width: 100%;
    order: 1;
  }

  .hero__left {
    width: 100%;
    max-width: 100%;
    order: 2;
  }

  .hero__reviews {
    flex-direction: column;
  }

  .review-badge {
    min-width: unset;
    width: 100%;
  }

  .message__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .reservation-methods {
    grid-template-columns: 1fr;
  }

  .reservation-form {
    padding: 36px 24px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .access__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .access__map {
    height: 280px;
  }

  .parallax-section {
    background-attachment: scroll;
  }

  .site-footer__nav {
    flex-wrap: wrap;
    gap: 16px;
  }

  .sticky-bar {
    flex-direction: column;
    gap: 8px;
    padding: 10px 16px;
  }

  .sticky-bar__text {
    font-size: 0.78rem;
  }

  .sticky-bar .btn-cta {
    width: 100%;
  }

  .reason-item {
    grid-template-columns: 1fr;
    min-height: unset;
  }

  .reason-item__img-col {
    height: 280px;
    order: -1 !important;
  }

  .reason-item__text-col {
    padding: 44px 28px;
    order: 1 !important;
  }

  .reason-item__num {
    font-size: 3.2rem;
    margin-bottom: 18px;
  }

  .reason-item__title {
    font-size: 1.1rem;
    margin-bottom: 14px;
  }

  .reason-item__text {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .compare-scroll-hint { display: block; }
}

@media (max-width: 480px) {
  .btn-cta--large {
    padding: 18px 40px;
    font-size: 1rem;
  }
}

/* =============================================
   MESSAGE PHOTO（右側）
============================================= */
.message__photo {
  background:
    linear-gradient(rgba(0,20,10,0.35), rgba(0,20,10,0.35)),
    url('../img/1774238369656.jpg')
    center/cover no-repeat;
  min-height: 300px;
}

/* =============================================
   TRAINER PROFILES（3列）
============================================= */
.trainers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 72px;
}

.trainer-profile {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
}

.trainer-profile__photo {
  width: 100%;
  aspect-ratio: 4/3;
  background-size: cover;
  background-position: center;
}

.trainer-profile__photo--sobue {
  background-image:
    linear-gradient(rgba(0,25,12,0.3), rgba(0,25,12,0.3)),
    url('../img/%E7%A5%96%E7%88%B6%E6%B1%9F%E3%81%95%E3%82%93.jpg');
  background-position: center top;
}

.trainer-profile__photo--nishikawa {
  background-image:
    linear-gradient(rgba(0,25,12,0.3), rgba(0,25,12,0.3)),
    url('../img/%E8%A5%BF%E5%B7%9D%E3%81%95%E3%82%93.jpg');
  background-position: center top;
}

.trainer-profile__photo--nakamura {
  background-image:
    linear-gradient(rgba(0,25,12,0.3), rgba(0,25,12,0.3)),
    url('../img/nakamura.jpg');
  background-position: center top;
}

.trainer-profile__body {
  padding: 28px 32px 36px;
}

.trainer-profile__name {
  font-size: 1.35rem;
  color: var(--white);
  font-weight: 500;
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}

.trainer-profile__name-en {
  font-family: var(--font-en);
  font-size: 0.78rem;
  color: var(--gold);
  letter-spacing: 0.16em;
  display: block;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.trainer-profile__divider {
  width: 24px;
  height: 1px;
  background: var(--gold);
  margin-bottom: 20px;
}

.trainer-profile__bio {
  color: rgba(255,255,255,0.72);
  font-size: 0.86rem;
  line-height: 2;
  margin-bottom: 24px;
}

.trainer-profile__achievements {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.trainer-profile__achievements li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(255,255,255,0.62);
  font-size: 0.82rem;
  line-height: 1.6;
}

.trainer-profile__achievements li::before {
  content: '—';
  color: var(--gold);
  flex-shrink: 0;
}

@media (max-width: 1024px) {
  .trainers-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .trainer-profile:nth-child(3) {
    grid-column: 1 / -1;
    max-width: calc(50% - 10px);
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 768px) {
  .trainers-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 48px;
  }
  .trainer-profile:nth-child(3) {
    grid-column: auto;
    max-width: 100%;
  }
}

/* =============================================
   FEATURE PHOTO SPLIT
============================================= */
.feature-photo-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 360px;
  margin-bottom: 64px;
  overflow: hidden;
}

.feature-photo-split__img {
  background:
    url('../img/1772089162822.jpg')
    center/cover no-repeat;
}

.feature-photo-split__body {
  padding: 56px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-left: none;
}

.feature-photo-split__title {
  font-size: clamp(1.15rem, 2.5vw, 1.6rem);
  font-weight: 500;
  line-height: 1.65;
  letter-spacing: 0.05em;
  color: var(--green-dark);
  margin-bottom: 16px;
}

.feature-photo-split__text {
  font-size: 0.88rem;
  color: var(--gray-700);
  line-height: 1.9;
}

@media (max-width: 768px) {
  .feature-photo-split {
    grid-template-columns: 1fr;
  }
  .feature-photo-split__img {
    min-height: 240px;
  }
  .feature-photo-split__body {
    padding: 36px 24px;
    border-left: 1px solid var(--gray-200);
    border-top: none;
  }
}

/* =============================================
   TRAINING VISUAL BANNER（reasons〜FAQ間）
============================================= */
.training-banner {
  min-height: 50vh;
  background:
    linear-gradient(rgba(0,20,10,0.72), rgba(0,20,10,0.72)),
    url('../img/1772089154398.jpg')
    center/cover no-repeat;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 72px 24px;
}

.training-banner__inner {
  max-width: 560px;
}

.training-banner__en {
  font-family: var(--font-en);
  font-size: 0.82rem;
  color: var(--gold);
  letter-spacing: 0.22em;
  display: block;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.training-banner__title {
  font-size: clamp(1.7rem, 4vw, 2.8rem);
  color: var(--white);
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: 0.05em;
  margin-bottom: 36px;
}

@media (max-width: 768px) {
  .training-banner {
    background-attachment: scroll;
    min-height: 44vh;
  }
}

/* =============================================
   CONTACT FORM 7 — デザイン統合
============================================= */

/* CF7のinput/select/textareaラッパーをブロック化してレイアウト崩れを防ぐ */
.wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}

/* CF7フォームのデフォルトmarginリセット */
.wpcf7 form.wpcf7-form {
  margin: 0;
}

/* CF7のinput/select/textareaに既存クラスを適用させるための補完 */
.wpcf7 input[type="text"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="email"],
.wpcf7 input[type="date"],
.wpcf7 select,
.wpcf7 textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--gray-200);
  background: var(--gray-100);
  font-family: var(--font-serif);
  font-size: 0.93rem;
  color: var(--text);
  transition: border-color var(--transition), background var(--transition);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  border-radius: 0;
  box-sizing: border-box;
}

.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="tel"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 input[type="date"]:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
  border-color: var(--green);
  background: var(--white);
}

/* selectのカスタム矢印 */
.wpcf7 select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2300582d' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  padding-right: 44px;
}

/* 送信ボタン（CF7 submit は input[type="submit"]） */
.wpcf7 input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--gold);
  color: var(--green-dark);
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  padding: 20px 56px;
  border: none;
  cursor: pointer;
  transition: opacity var(--transition);
  -webkit-appearance: none;
  border-radius: 0;
}

.wpcf7 input[type="submit"]:hover {
  opacity: 0.85;
}

/* バリデーションエラーメッセージ */
.wpcf7-not-valid-tip {
  color: #c00;
  font-size: 0.78rem;
  margin-top: 4px;
  display: block;
  letter-spacing: 0.04em;
}

/* バリデーションNG時のフィールド枠線 */
.wpcf7 input.wpcf7-not-valid,
.wpcf7 select.wpcf7-not-valid,
.wpcf7 textarea.wpcf7-not-valid {
  border-color: #c00;
  background: rgba(200, 0, 0, 0.03);
}

/* 送受信結果メッセージ */
.wpcf7-response-output {
  margin: 24px 0 0;
  padding: 14px 20px;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  border-radius: 0;
  font-family: var(--font-serif);
}

.wpcf7 form.sent .wpcf7-response-output {
  border: 1px solid var(--green);
  background: rgba(0, 88, 45, 0.06);
  color: var(--green-dark);
}

.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output,
.wpcf7 form.spam .wpcf7-response-output,
.wpcf7 form.invalid .wpcf7-response-output {
  border: 1px solid #c00;
  background: rgba(200, 0, 0, 0.04);
  color: #c00;
}


.cf7-confirm-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
}

.cf7-confirm-modal.is-open {
  display: block;
}

.cf7-confirm-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.cf7-confirm-modal__dialog {
  position: relative;
  max-width: 760px;
  width: calc(100% - 32px);
  margin: 60px auto;
  background: #fff;
  padding: 40px 28px;
  border: 1px solid #e8e8e8;
  box-shadow: 0 20px 60px rgba(0,0,0,0.18);
  z-index: 1;
}

.cf7-confirm-modal__title {
  font-size: 1.4rem;
  color: var(--green-dark);
  margin-bottom: 24px;
  letter-spacing: 0.08em;
}

.cf7-confirm-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cf7-confirm-list__row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--gray-200);
}

.cf7-confirm-list__row dt {
  font-weight: 600;
  color: var(--green-dark);
}

.cf7-confirm-list__row dd {
  margin: 0;
  color: var(--gray-700);
  word-break: break-word;
  white-space: pre-wrap;
}

.cf7-confirm-modal__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 32px;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .cf7-confirm-modal__dialog {
    margin: 24px auto;
    padding: 28px 20px;
  }

  .cf7-confirm-list__row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .cf7-confirm-modal__actions {
    flex-direction: column;
  }

  .cf7-confirm-modal__actions .btn-cta {
    width: 100%;
  }
}

.thanks-main {
  background: var(--bg);
  min-height: 100vh;
  padding: 140px 0 100px;
}

.thanks-page {
  padding: 40px 0;
}

.thanks-page__inner {
  max-width: 760px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--gray-200);
  padding: 64px 32px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.thanks-page__text {
  font-size: 1rem;
  color: var(--gray-700);
  line-height: 2;
  letter-spacing: 0.04em;
  margin-bottom: 36px;
}

.thanks-page__btn {
  margin-top: 12px;
}

@media (max-width: 768px) {
  .thanks-main {
    padding: 110px 0 80px;
  }

  .thanks-page__inner {
    padding: 44px 24px;
  }

  .thanks-page__text {
    font-size: 0.95rem;
  }
}

/* CF7 エラーメッセージ */
.wpcf7-not-valid-tip {
  color: #b30000;
  font-size: 0.85rem;
  margin-top: 6px;
  letter-spacing: 0.04em;
}

/* 入力エラーの枠 */
.wpcf7-not-valid {
  border: 1px solid #b30000 !important;
  background: rgba(179, 0, 0, 0.05);
}

/* フォーム全体エラー */
.wpcf7-response-output {
  border: 1px solid #b30000;
  background: rgba(179, 0, 0, 0.05);
  color: #b30000;
  padding: 12px;
  margin-top: 20px;
}

.form-info-box {
  display: block;
}

.cf7-confirm-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
}

.cf7-confirm-modal.is-open {
  display: block;
}

.cf7-confirm-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.cf7-confirm-modal__dialog {
  position: relative;
  z-index: 1;
  max-width: 760px;
  width: calc(100% - 32px);
  margin: 24px auto;
  background: #fff;
  padding: 32px 20px;
  border: 1px solid #e8e8e8;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);

  /* 追加 */
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.cf7-confirm-modal__body {
  overflow: visible;
}

.cf7-confirm-modal__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 32px;
  flex-wrap: wrap;
  position: sticky;
  bottom: 0;
  background: #fff;
  padding-top: 16px;
}

@media (max-width: 768px) {
  .cf7-confirm-modal__dialog {
    width: calc(100% - 20px);
    margin: 10px auto;
    padding: 24px 16px;
    max-height: calc(100vh - 20px);
  }

  .cf7-confirm-modal__actions {
    flex-direction: column;
  }

  .cf7-confirm-modal__actions .btn-cta {
    width: 100%;
  }
}

/* =============================================
   CF7 Confirm Modal
============================================= */
.cf7-confirm-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  padding: 12px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.cf7-confirm-modal.is-open {
  display: block;
}

.cf7-confirm-modal__overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.cf7-confirm-modal__dialog {
  position: relative;
  z-index: 1;
  max-width: 760px;
  width: 100%;
  margin: 24px auto;
  background: #fff;
  padding: 32px 24px;
  border: 1px solid var(--gray-200);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);

  /* ここが重要 */
  max-height: calc(100dvh - 48px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.cf7-confirm-modal__title {
  font-size: 1.6rem;
  color: var(--green-dark);
  margin-bottom: 24px;
  letter-spacing: 0.06em;
  line-height: 1.5;
}

.cf7-confirm-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.cf7-confirm-list__row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--gray-200);
}

.cf7-confirm-list__row dt {
  font-size: 1rem;
  font-weight: 600;
  color: var(--green-dark);
}

.cf7-confirm-list__row dd {
  margin: 0;
  font-size: 1rem;
  color: var(--gray-700);
  line-height: 1.8;
  word-break: break-word;
  white-space: pre-wrap;
}

.cf7-confirm-modal__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 28px;
  padding-top: 20px;
  background: #fff;
  position: sticky;
  bottom: 0;
}

.cf7-confirm-modal__actions .btn-cta {
  min-width: 220px;
}

@media (max-width: 768px) {
  .cf7-confirm-modal {
    padding: 8px;
  }

  .cf7-confirm-modal__dialog {
   width: 90%;
        margin: 30px auto;
        padding: 20px;
        max-height: calc(100dvh - 200px);
  }
	

  .cf7-confirm-modal__title {
    font-size: 1.15rem;
    margin-bottom: 16px;
  }

  .cf7-confirm-list__row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 14px 0;
  }

  .cf7-confirm-list__row dt {
    font-size: 0.95rem;
  }

  .cf7-confirm-list__row dd {
    font-size: 0.95rem;
    line-height: 1.7;
  }

  .cf7-confirm-modal__actions {
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
    padding-top: 16px;
  }

  .cf7-confirm-modal__actions .btn-cta {
    width: 100%;
    min-width: 0;
  }
}

.wpcf7 form.invalid .wpcf7-response-output {
    display: none;
}