@charset "utf-8";
/* ==========================================================================
   ZK FITNESS — 共通スタイル
   配色: 黒 / 白 / ゴールド。可読性を最優先。
   ゴールドは暗い背景でのみ文字色に使う(#c8a04a: 対黒 7.94:1)。
   明るい背景の文字色には --gold-deep(#7a5d18: 対白 6.16:1)を使う。
   ========================================================================== */

/* --- リセット --- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body, h1, h2, h3, h4, p, figure, blockquote, dl, dd, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, picture, svg { display: block; max-width: 100%; }
/* ★最重要★ height:auto が無いと、HTMLの height 属性(例 width="3000" height="4000")が
   そのまま使用値の高さになり、幅だけ100%に潰されて画像が縦長に引き伸ばされる。
   枠に合わせたい画像は、後段の .○○__media img で個別に height を上書きする。 */
img { height: auto; }
button, input, textarea, select { font: inherit; color: inherit; }
a { color: inherit; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* --- トークン --- */
:root {
  --ink:        #0d0d0f;
  --ink-soft:   #16161a;
  --ink-card:   #1c1c22;
  --ink-line:   #2c2c34;
  --paper:      #ffffff;
  --paper-soft: #f7f6f3;
  --paper-line: #e4e2dc;

  --gold:       #c8a04a;   /* 暗背景専用 */
  --gold-hi:    #e3c26d;   /* 暗背景の見出し */
  --gold-deep:  #7a5d18;   /* 明背景の文字 */

  --text:       #1a1a1c;
  --text-muted: #5a5a62;
  --text-on-dark:       #f5f5f5;
  --text-on-dark-muted: #a8a8b0;

  --line-green: #06c755;

  --wrap: 1120px;
  --radius: 4px;
  --shadow: 0 1px 3px rgba(0,0,0,.08), 0 8px 24px rgba(0,0,0,.06);

  --font: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans",
          "BIZ UDPGothic", "Yu Gothic Medium", "Yu Gothic", Meiryo, system-ui, sans-serif;

  --bar-h: 0px;
}

/* --- ベース --- */
body {
  font-family: var(--font);
  font-size: 1.0625rem;      /* 17px */
  line-height: 1.9;
  color: var(--text);
  background: var(--paper);
  font-feature-settings: "palt" 1;
  /* ★ overflow-wrap:anywhere は禁則を無視してどこでも改行するため使わない。
     break-word なら「その語だけで1行に収まらない時」しか割らない。 */
  overflow-wrap: break-word;
  word-break: normal;
  line-break: strict;   /* 日本語の禁則を厳格に適用 */
  padding-bottom: var(--bar-h);
}

h1, h2, h3, h4 {
  line-height: 1.45; font-weight: 700;
  /* 行の長さを揃え、1文字だけ次行に落ちる「泣き別れ」を防ぐ */
  text-wrap: balance;
  word-break: auto-phrase;   /* 対応ブラウザでは文節単位で折り返す */
}

/* 本文も、最終行が極端に短くならないようにする。
   auto-phrase は対応ブラウザ(Chrome/Edge)で文節の切れ目を選んで折り返す。
   非対応ブラウザは従来どおりの折り返しになるだけで、崩れはしない。 */
p, li, dd, dt, figcaption, caption, .card__text, .reason__text, .step__text {
  text-wrap: pretty;
  word-break: auto-phrase;
}

/* 語の途中で絶対に切りたくない箇所に付ける */
.nw { white-space: nowrap; }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute; left: 8px; top: -100px; z-index: 200;
  background: var(--gold); color: var(--ink);
  padding: .7em 1.2em; font-weight: 700; border-radius: var(--radius);
  transition: top .15s;
}
.skip-link:focus { top: 8px; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ==========================================================================
   ヘッダー
   ========================================================================== */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(13,13,15,.94);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--ink-line);
  color: var(--text-on-dark);
}
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: 68px;
}

.logo { display: flex; align-items: baseline; gap: .5rem; text-decoration: none; flex-shrink: 0; }
.logo__mark {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700; font-size: 1.6rem; letter-spacing: .04em;
  color: var(--gold-hi); line-height: 1;
}
.logo__word {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700; font-size: .78rem; letter-spacing: .3em;
  color: var(--text-on-dark); line-height: 1;
}
.logo__sub {
  font-size: .66rem; letter-spacing: .08em; color: var(--text-on-dark-muted);
  line-height: 1; margin-left: .1rem;
}

.nav__list { display: flex; align-items: center; gap: 0; }
.nav__link {
  display: block; padding: .5em .58em; text-decoration: none;
  font-size: .86rem; font-weight: 500; color: var(--text-on-dark);
  border-radius: var(--radius); white-space: nowrap;   /* 項目名は絶対に折り返さない */
}
/* 少し広い画面では、従来どおりゆったり見せる */
@media (min-width: 1180px) {
  .nav__list { gap: .15rem; }
  .nav__link { padding: .55em .75em; font-size: .9rem; }
}
.nav__link:hover { color: var(--gold-hi); background: rgba(255,255,255,.06); }
.nav__link[aria-current="page"] { color: var(--gold-hi); }
.nav__link[aria-current="page"]::after {
  content: ""; display: block; height: 2px; background: var(--gold); margin-top: 3px;
}
.header__cta { display: flex; gap: .5rem; align-items: center; }

.nav-toggle {
  display: none; align-items: center; gap: .5rem;
  background: transparent; border: 1px solid var(--ink-line);
  color: var(--text-on-dark); border-radius: var(--radius);
  padding: .5em .8em; cursor: pointer; font-size: .85rem;
}
.nav-toggle__bars { display: block; width: 18px; height: 2px; background: currentColor; position: relative; }
.nav-toggle__bars::before, .nav-toggle__bars::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: currentColor;
}
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after  { top: 0; transform: rotate(-45deg); }

/* ==========================================================================
   ボタン
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .9em 1.5em; border-radius: var(--radius); border: 1px solid transparent;
  font-weight: 700; font-size: 1rem; text-decoration: none; text-align: center;
  cursor: pointer; transition: transform .12s ease, background-color .12s ease, color .12s ease;
  min-height: 48px;
  /* ボタン内で1文字だけ次行に落ちるのを防ぐ */
  text-wrap: balance; word-break: auto-phrase;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--gold); color: var(--ink); }
.btn--primary:hover { background: var(--gold-hi); }
.btn--line { background: var(--line-green); color: #05300f; }
.btn--line:hover { background: #05b34c; }
.btn--ghost { border-color: currentColor; color: var(--text-on-dark); background: transparent; }
.btn--ghost:hover { background: rgba(255,255,255,.08); }
.btn--outline { border-color: var(--text); color: var(--text); background: transparent; }
.btn--outline:hover { background: var(--text); color: var(--paper); }
.btn--sm { padding: .55em 1em; font-size: .88rem; min-height: 40px; }
.btn--block { width: 100%; }
.btn__icon { width: 1.15em; height: 1.15em; flex-shrink: 0; fill: currentColor; }

/* ==========================================================================
   セクション
   ========================================================================== */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section--dark { background: var(--ink); color: var(--text-on-dark); }
.section--soft { background: var(--paper-soft); }
.section__head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section__head--center { margin-inline: auto; text-align: center; }

.eyebrow {
  display: block; font-size: .78rem; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold-deep); margin-bottom: .7rem;
}
/* 暗い背景の上では、明るい方のゴールドに切り替える。
   --gold-deep は白地用(対黒 3.15:1 しかなく小さい文字だと読めない)。 */
.section--dark .eyebrow, .page-hero .eyebrow, .hero .eyebrow,
.cta-band .eyebrow, .footer .eyebrow { color: var(--gold); }

.section__title { font-size: clamp(1.55rem, 3.6vw, 2.2rem); letter-spacing: .02em; }
.section__title .accent { color: var(--gold-deep); }
.section--dark .section__title .accent { color: var(--gold-hi); }
.section__lead { margin-top: 1rem; color: var(--text-muted); }
.section--dark .section__lead { color: var(--text-on-dark-muted); }

/* ==========================================================================
   ヒーロー(トップ)
   ========================================================================== */
.hero { position: relative; background: var(--ink); color: var(--text-on-dark); overflow: hidden; }
.hero__media { position: absolute; inset: 0; overflow: hidden; }
/* 【分類1】背景写真: 枠の比率に合わせて“切り抜く”。伸ばさない。
   object-position は人物の顔が切れない位置に個別調整している。 */
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: 62% 32%;
}
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(13,13,15,.96) 0%, rgba(13,13,15,.88) 42%, rgba(13,13,15,.55) 72%, rgba(13,13,15,.38) 100%);
}
.hero__body { position: relative; padding: clamp(3.5rem, 9vw, 7rem) 0; max-width: 40rem; }
.hero__badge {
  display: inline-flex; align-items: center; gap: .5em;
  border: 1px solid var(--gold); color: var(--gold-hi);
  border-radius: 100px; padding: .35em 1em; font-size: .8rem; font-weight: 700;
  letter-spacing: .06em; margin-bottom: 1.4rem;
}

/* 見出し: スマホ=3行(八街市の / 完全個室 / パーソナルジム)、PC=2行(八街市の / 完全個室パーソナルジム)
   語の途中では絶対に折り返さないよう、行を要素で明示的に分ける。 */
.hero__title { font-size: clamp(1.9rem, 5.6vw, 3.1rem); letter-spacing: .01em; }
.hero__title-sub { display: block; }
.hero__title-main { display: block; color: var(--gold-hi); }
.hero__title-part { display: block; white-space: nowrap; }
@media (min-width: 768px) {
  /* PCでは「完全個室パーソナルジム」を1行につなげる */
  .hero__title-part { display: inline; }
}

/* キャッチコピー: スマホ=2行、PC=1行（中央揃えにはしない） */
.hero__motto {
  margin-top: 1.1rem; font-weight: 700; color: var(--gold); letter-spacing: .04em;
  display: flex; flex-direction: column; gap: .1em;
  font-size: .95rem; line-height: 1.6;
}
.hero__motto span { white-space: nowrap; }
@media (min-width: 768px) {
  .hero__motto { flex-direction: row; gap: 1em; font-size: 1.2rem; }
}

.hero__lead { margin-top: 1rem; color: var(--text-on-dark-muted); }
.hero__lead--sp { display: none; }          /* 既定(PC)ではスマホ用を隠す */
.hero__cta { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .8rem; }
.hero__facts {
  margin-top: 2.2rem; display: flex; flex-wrap: wrap; gap: .5rem 1.6rem;
  font-size: .88rem; color: var(--text-on-dark-muted);
}
/* flex+gap にすると、行内の <span> が別々の flex 項目になり
   文字と文字の間に意図しない隙間ができる。位置指定の点にする。 */
.hero__facts li { position: relative; padding-left: .85em; }
.hero__facts li::before {
  content: ""; position: absolute; left: 0; top: .62em;
  width: 5px; height: 5px; background: var(--gold); border-radius: 50%;
}

/* ページヒーロー(下層) */
.page-hero { background: var(--ink); color: var(--text-on-dark); padding: clamp(2.5rem, 6vw, 4rem) 0 clamp(2rem, 5vw, 3rem); }
.page-hero__title { font-size: clamp(1.7rem, 4.4vw, 2.5rem); }
.page-hero__lead { margin-top: .9rem; color: var(--text-on-dark-muted); max-width: 44rem; }

/* パンくず */
.breadcrumb { background: var(--paper-soft); border-bottom: 1px solid var(--paper-line); font-size: .82rem; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: .4em; padding: .8em 0; color: var(--text-muted); }
.breadcrumb li:not(:last-child)::after { content: "／"; margin-left: .4em; color: var(--paper-line); }
.breadcrumb a { color: var(--text-muted); }

/* ==========================================================================
   グリッド / カード
   ========================================================================== */
/* グリッドの子は min-width:auto が既定のため、中身(表など)の最小幅で
   カラムが押し広げられ横スクロールが出る。全グリッドで明示的に潰す。 */
.grid > *, .feature > *, .profile > *, .steps > *, .stat-row > * { min-width: 0; }

.grid { display: grid; gap: clamp(1.2rem, 2.5vw, 1.8rem); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 16.5rem), 1fr)); }
/* スマホでも2列に並ぶよう小さめの下限にする */
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 9.5rem), 1fr)); }
@media (min-width: 640px) { .grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); } }

.card {
  background: var(--paper); border: 1px solid var(--paper-line);
  border-radius: var(--radius); overflow: hidden; height: 100%;
  display: flex; flex-direction: column;
}
.section--dark .card { background: var(--ink-card); border-color: var(--ink-line); }
/* 【分類4】一般的な店舗・トレーニング写真: 切り抜きは可・変形は不可 */
.card__media { aspect-ratio: 4 / 3; background: var(--paper-soft); overflow: hidden; }
.card__media img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 35%;   /* 顔が上寄りなので上を残す */
}
.card__body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.card__title { font-size: 1.15rem; margin-bottom: .6rem; }
.card__text { font-size: .95rem; color: var(--text-muted); }
.section--dark .card__text { color: var(--text-on-dark-muted); }
.card__foot { margin-top: auto; padding-top: 1.2rem; }

/* 番号付きの「選ばれる理由」 */
.reason { position: relative; padding: 1.8rem 1.5rem 1.5rem; background: var(--ink-card); border: 1px solid var(--ink-line); border-radius: var(--radius); height: 100%; }
.reason__num {
  font-family: Arial, sans-serif; font-size: .78rem; font-weight: 700;
  letter-spacing: .18em; color: var(--gold); display: block; margin-bottom: .8rem;
}
.reason__title { font-size: 1.1rem; margin-bottom: .6rem; color: var(--text-on-dark); }
.reason__text { font-size: .94rem; color: var(--text-on-dark-muted); }

/* ==========================================================================
   サービス紹介(画像＋テキスト)
   ========================================================================== */
.feature { display: grid; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; grid-template-columns: 1fr; }
@media (min-width: 900px) {
  .feature { grid-template-columns: 1fr 1fr; }
  .feature--rev .feature__media { order: 2; }
}
/* 【分類4】画像＋テキストの並び: 枠は4:3に固定し、中身は切り抜きで合わせる(変形なし) */
.feature__media { border-radius: var(--radius); overflow: hidden; background: var(--paper-soft); aspect-ratio: 4 / 3; }
.feature__media img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 38%;   /* 縦長写真を横長枠に入れるため上寄りで切る */
}
.feature__title { font-size: clamp(1.35rem, 3vw, 1.7rem); margin-bottom: 1rem; }
.feature__text + .feature__text { margin-top: .9rem; }
.feature__cta { margin-top: 1.6rem; display: flex; flex-wrap: wrap; gap: .7rem; }

/* タグ */
.tags { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 1.2rem; }
.tag {
  font-size: .8rem; font-weight: 700; padding: .3em .8em;
  border-radius: 100px; background: var(--paper-soft);
  border: 1px solid var(--paper-line); color: var(--text-muted);
}
.section--dark .tag { background: rgba(255,255,255,.06); border-color: var(--ink-line); color: var(--text-on-dark-muted); }

/* ==========================================================================
   料金
   ========================================================================== */
/* ★重要★ 明るい背景を自前で持つ部品は、文字色も必ず自前で指定する。
   指定しないと .section--dark の中に置かれたとき color:#f5f5f5 を継承し、
   白背景に白文字（コントラスト比 1.09）になって完全に読めなくなる。 */
.price-card, .step, .ba-card, .notice, .card:not(.section--dark .card), .map-embed {
  color: var(--text);
}
.section--dark .price-card__note, .section--dark .price-card__meta,
.section--dark .ba-card__cap, .section--dark .step__text { color: var(--text-muted); }

.price-card {
  border: 1px solid var(--paper-line); border-radius: var(--radius);
  background: var(--paper); padding: 1.6rem; height: 100%;
  display: flex; flex-direction: column;
}
.price-card--feature { border-color: var(--gold-deep); border-width: 2px; }
.price-card__label { font-size: .78rem; font-weight: 700; letter-spacing: .12em; color: var(--gold-deep); margin-bottom: .5rem; }
.price-card__title { font-size: 1.2rem; margin-bottom: .3rem; }
.price-card__meta { font-size: .85rem; color: var(--text-muted); }
.price-card__value {
  font-size: clamp(1.7rem, 4vw, 2.1rem); font-weight: 700; letter-spacing: .01em;
  margin: .8rem 0 .2rem; font-family: Arial, var(--font);
}
.price-card__value .unit { font-size: .95rem; font-weight: 700; margin-left: .15em; font-family: var(--font); }
.price-card__note { font-size: .85rem; color: var(--text-muted); margin-top: .6rem; }
.price-card__list { margin-top: 1rem; font-size: .92rem; }
.price-card__list li { padding: .45em 0; border-top: 1px solid var(--paper-line); display: flex; justify-content: space-between; gap: 1rem; }
.price-card__list li b { font-weight: 700; white-space: nowrap; }

.price-table { width: 100%; border-collapse: collapse; font-size: .96rem; }
.price-table caption { text-align: left; font-weight: 700; padding-bottom: .7rem; font-size: 1.05rem; }
.price-table th, .price-table td { padding: .85em .9em; border-bottom: 1px solid var(--paper-line); text-align: left; vertical-align: top; }
/* 「120分」が「120」「分」に泣き別れるのを防ぐ。
   短い行見出しには HTML 側で class="nw" を付けている。 */
/* 見出しは折り返させる。nowrapにすると表の最小幅が画面を超え、
   固定バーの幅計算まで巻き込んで崩れる。金額セル(.num)だけnowrapで足りる。 */
.price-table thead th { background: var(--paper-soft); font-size: .85rem; letter-spacing: .04em; }
/* スマホでは列見出しを少し小さくして、長い語が途中で割れにくくする
   （表を横スクロールさせないための調整。金額セルの文字は小さくしない） */
@media (max-width: 767px) {
  .price-table { font-size: .9rem; }
  .price-table thead th { font-size: .74rem; letter-spacing: 0; line-height: 1.45; }
  .price-table th, .price-table td { padding: .8em .5em; }
  .price-table td.num { font-size: .95rem; }
}
/* 360px級の端末でも表が横スクロールせず収まるようにする */
@media (max-width: 380px) {
  .price-table { font-size: .84rem; }
  .price-table th, .price-table td { padding: .75em .35em; }
  .price-table td.num { font-size: .9rem; }
  .price-table thead th { font-size: .7rem; }
}
.price-table td.num { text-align: right; white-space: nowrap; font-weight: 700; font-variant-numeric: tabular-nums; }
.price-table tbody th { font-weight: 500; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; max-width: 100%; }
/* 表の直下に置く小さな注記 */
.table-note { margin-top: .9rem; font-size: .85rem; line-height: 1.75; color: var(--text-muted); }

.notice {
  border-left: 3px solid var(--gold-deep); background: var(--paper-soft);
  padding: 1.1rem 1.3rem; font-size: .92rem; border-radius: 0 var(--radius) var(--radius) 0;
}
.notice ul li { padding-left: 1.1em; position: relative; }
.notice ul li::before { content: "※"; position: absolute; left: 0; color: var(--gold-deep); }

/* ==========================================================================
   実績
   ========================================================================== */
/* 【分類3】お客様の変化: 黒板の文字が切れないことを最優先 → contain。
   画像に文字を重ねず、数値は画像の下に置く。余白は淡い色。
   カードの高さを揃えるために画像を変形させることは絶対にしない。 */
.result-card {
  border-radius: var(--radius); overflow: hidden;
  background: var(--paper); border: 1px solid var(--paper-line);
  color: var(--text); display: flex; flex-direction: column;
}
.result-card img {
  width: 100%; aspect-ratio: 4 / 5;
  object-fit: contain; object-position: center;
  background: var(--paper-soft);
}
.result-card__badge {
  padding: .85rem .9rem; background: var(--paper);
  border-top: 1px solid var(--paper-line); margin-top: auto;
}
.result-card__value { display: block; font-size: 1.35rem; font-weight: 700; color: var(--gold-deep); font-family: Arial, var(--font); letter-spacing: .01em; line-height: 1.25; }
.result-card__term { display: block; font-size: .8rem; color: var(--text-muted); }
/* 暗いセクションに置かれた場合も、カードは明るいままにする */
.section--dark .result-card { background: var(--paper); border-color: var(--paper-line); color: var(--text); }

/* 【分類3】Before / After: 元画像の比がバラバラなので contain で全体を見せる */
.ba-card { border: 1px solid var(--paper-line); border-radius: var(--radius); overflow: hidden; background: var(--paper); color: var(--text); }
.ba-card img {
  width: 100%; aspect-ratio: 4 / 3;
  object-fit: contain; object-position: center;
  background: var(--paper-soft);
}
.ba-card__cap { padding: .9rem 1.1rem; font-size: .88rem; color: var(--text-muted); border-top: 1px solid var(--paper-line); }

/* ==========================================================================
   プロフィール
   ========================================================================== */
.profile { display: grid; gap: clamp(1.5rem, 4vw, 3rem); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 900px) { .profile { grid-template-columns: minmax(0, 380px) 1fr; } }
/* 【分類2】トレーナーの大会写真・全身写真: 元画像の全体を見せる。
   高さを固定しないので、画像が自分の比率どおりの高さを決める(＝余白ゼロで全体が映る)。
   object-fit:contain は、将来この枠に高さが入っても切り抜かず収めるための保険。 */
.profile__media {
  border-radius: var(--radius); overflow: hidden;
  background: var(--ink-card);   /* 余白が出る場合は黒系になる */
}
.profile__media img {
  width: 100%; height: auto;
  object-fit: contain; object-position: center;
}
/* トレーナーの氏名 */
.profile__name {
  display: flex; align-items: baseline; gap: .7em; flex-wrap: wrap;
  padding: 1rem 1.2rem; background: var(--ink-card);
  border-top: 1px solid var(--ink-line);
}
.profile__role { font-size: .78rem; letter-spacing: .12em; color: var(--gold); font-weight: 700; }
.profile__person { font-size: 1.35rem; font-weight: 700; color: var(--text-on-dark); letter-spacing: .06em; }

/* 3つが常に1行に収まるようにする(スマホでも割れない) */
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 6rem), 1fr)); gap: 1px; background: var(--ink-line); border: 1px solid var(--ink-line); border-radius: var(--radius); overflow: hidden; }
.stat { background: var(--ink); padding: 1.3rem .6rem; text-align: center; }
.stat__value { font-size: clamp(1.6rem, 4vw, 2rem); font-weight: 700; color: var(--gold-hi); font-family: Arial, var(--font); line-height: 1.2; }
.stat__label { font-size: .78rem; color: var(--text-on-dark-muted); margin-top: .35rem; }

.def-list { border-top: 1px solid var(--paper-line); }
.def-list > div { display: grid; grid-template-columns: 1fr; gap: .1rem; padding: 1rem 0; border-bottom: 1px solid var(--paper-line); }
@media (min-width: 720px) { .def-list > div { grid-template-columns: 8.5rem 1fr; gap: 1.2rem; } }
.def-list dt { font-weight: 700; font-size: .92rem; color: var(--gold-deep); }
.def-list dd { font-size: .98rem; }
.section--dark .def-list { border-color: var(--ink-line); }
.section--dark .def-list > div { border-color: var(--ink-line); }
.section--dark .def-list dt { color: var(--gold); }

.bullets li { position: relative; padding-left: 1.3em; }
.bullets li + li { margin-top: .5em; }
.bullets li::before {
  content: ""; position: absolute; left: 0; top: .78em;
  width: 6px; height: 6px; background: var(--gold-deep); border-radius: 50%;
}
.section--dark .bullets li::before { background: var(--gold); }

.check li { position: relative; padding-left: 1.7em; }
.check li + li { margin-top: .6em; }
.check li::before {
  content: ""; position: absolute; left: 0; top: .52em;
  width: .5em; height: .85em; border: solid var(--gold-deep);
  border-width: 0 2.5px 2.5px 0; transform: rotate(45deg);
}
.section--dark .check li::before { border-color: var(--gold); }

/* ==========================================================================
   ステップ
   ========================================================================== */
.steps { counter-reset: step; display: grid; gap: 1rem; }
.step { counter-increment: step; position: relative; padding: 1.3rem 1.4rem 1.3rem 4.2rem; background: var(--paper); border: 1px solid var(--paper-line); border-radius: var(--radius); }
.step::before {
  content: counter(step); position: absolute; left: 1.3rem; top: 1.25rem;
  width: 2rem; height: 2rem; border-radius: 50%; background: var(--ink); color: var(--gold-hi);
  display: grid; place-items: center; font-weight: 700; font-size: .9rem; font-family: Arial, sans-serif;
}
.step__title { font-size: 1.05rem; margin-bottom: .3rem; }
.step__text { font-size: .93rem; color: var(--text-muted); }

/* ==========================================================================
   新着情報
   ========================================================================== */
/* トップページの見出し行 */
.news-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.news-head .eyebrow { margin-bottom: 0; }
.news-head__more { font-size: .84rem; color: var(--gold-hi); text-decoration: none; white-space: nowrap; }
.news-head__more:hover { text-decoration: underline; }
.news-head__more::after { content: " →"; }

/* 「重要なお知らせ」の印 */
.news-badge {
  display: inline-block; font-size: .68rem; font-weight: 700; letter-spacing: .04em;
  background: var(--gold); color: var(--ink);
  padding: .18em .6em; border-radius: 100px; margin-right: .6em;
  vertical-align: .08em; white-space: nowrap;
}

/* 一覧（news.html）のカード */
.news-grid { display: grid; gap: clamp(1rem, 2.5vw, 1.4rem); }
@media (min-width: 720px) { .news-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); } }
.news-grid > * { min-width: 0; }
.news-card {
  display: flex; flex-direction: column; height: 100%;
  background: var(--paper); color: var(--text);
  border: 1px solid var(--paper-line); border-radius: var(--radius);
  overflow: hidden; text-decoration: none;
  transition: transform .12s ease, border-color .12s ease;
}
.news-card:hover { transform: translateY(-2px); border-color: var(--gold-deep); }
.news-card__media { aspect-ratio: 16 / 10; background: var(--paper-soft); overflow: hidden; }
.news-card__media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.news-card__body { padding: 1.2rem 1.3rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.news-card__meta { font-size: .8rem; color: var(--text-muted); font-family: Arial, var(--font); letter-spacing: .03em; margin-bottom: .5rem; }
.news-card__title { font-size: 1.08rem; line-height: 1.5; margin-bottom: .6rem; }
.news-card__excerpt { font-size: .9rem; color: var(--text-muted); }
.news-card__more { margin-top: auto; padding-top: 1rem; font-size: .84rem; font-weight: 700; color: var(--gold-deep); }
.news-card__more::after { content: " →"; }

/* 記事ページ */
.news-article { max-width: 46rem; margin-inline: auto; }
.news-article__meta { font-size: .86rem; color: var(--text-muted); font-family: Arial, var(--font); letter-spacing: .03em; margin-bottom: .6rem; }
.news-article__title { font-size: clamp(1.5rem, 3.6vw, 2.1rem); margin-bottom: 1.6rem; }
.news-article__figure { margin: 0 0 1.6rem; border-radius: var(--radius); overflow: hidden; background: var(--paper-soft); }
.news-article__figure img { width: 100%; height: auto; }
.news-article__text { font-size: 1.02rem; line-height: 1.95; }
.news-article__text + .news-article__text { margin-top: 1.1rem; }
.news-article__nav {
  max-width: 46rem; margin: clamp(2.5rem, 5vw, 3.5rem) auto 0;
  padding-top: 1.6rem; border-top: 1px solid var(--paper-line);
  display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center;
}

@media (max-width: 767px) {
  .news-article__title { font-size: 1.5rem; }
  .news-article__text { font-size: 1rem; line-height: 1.85; }
  .news-article__nav .btn { flex: 1 1 100%; }
}

.news-list li + li { border-top: 1px solid var(--ink-line); }
.news-list__item { display: grid; gap: .1rem .3rem; padding: 1rem 0; grid-template-columns: 1fr; }
@media (min-width: 640px) { .news-list__item { grid-template-columns: 7rem 1fr; gap: 1rem; align-items: baseline; } }
.news-list__date { font-size: .82rem; color: var(--gold); font-family: Arial, var(--font); letter-spacing: .04em; }
.news-list__title { font-size: .98rem; }

/* ==========================================================================
   CTAバンド
   ========================================================================== */
.cta-band { background: var(--ink); color: var(--text-on-dark); padding: clamp(3rem, 7vw, 4.5rem) 0; text-align: center; border-top: 1px solid var(--ink-line); }
.cta-band__title { font-size: clamp(1.4rem, 3.4vw, 2rem); }
.cta-band__lead { margin-top: .9rem; color: var(--text-on-dark-muted); }
.cta-band__actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; }
.cta-band__note { margin-top: 1.4rem; font-size: .84rem; color: var(--text-on-dark-muted); }

/* ==========================================================================
   アクセス
   ========================================================================== */
/* 地図はクリックされるまで読み込まない(表示速度と、第三者への通信を抑えるため) */
.map-embed {
  position: relative; aspect-ratio: 16 / 10;
  border: 1px solid var(--paper-line); border-radius: var(--radius);
  overflow: hidden; background: var(--paper-soft);
}
@media (max-width: 600px) { .map-embed { aspect-ratio: 4 / 3; } }
.map-embed__ph {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 1rem; text-align: center; padding: 1.5rem;
  background-image:
    linear-gradient(var(--paper-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--paper-line) 1px, transparent 1px);
  background-size: 34px 34px, 34px 34px;
}
.map-embed__note { font-size: .86rem; color: var(--text-muted); max-width: 26rem; }
.map-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ==========================================================================
   フッター
   ========================================================================== */
.footer { background: var(--ink); color: var(--text-on-dark-muted); padding: clamp(3rem, 6vw, 4rem) 0 2rem; border-top: 1px solid var(--ink-line); font-size: .92rem; }
.footer__grid { display: grid; gap: 2.2rem; grid-template-columns: 1fr; }
@media (min-width: 800px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer__title { font-size: .8rem; letter-spacing: .16em; color: var(--gold); margin-bottom: 1rem; font-weight: 700; }
.footer__links li + li { margin-top: .55em; }
.footer__links a { text-decoration: none; }
.footer__links a:hover { color: var(--gold-hi); text-decoration: underline; }
.footer address { font-style: normal; line-height: 1.9; }
.footer__bottom { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--ink-line); display: flex; flex-wrap: wrap; gap: .8rem 1.5rem; justify-content: space-between; font-size: .8rem; }
/* body の padding-bottom に加え、フッター自身にも余裕を持たせる（二重の保険） */
@media (max-width: 767px) { .footer { padding-bottom: 1.5rem; } }
.footer a { color: inherit; }
.footer__social { display: flex; gap: .8rem; margin-top: 1rem; }
.footer__social a { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--ink-line); border-radius: var(--radius); }
.footer__social a:hover { border-color: var(--gold); color: var(--gold-hi); }
.footer__social svg { width: 20px; height: 20px; fill: currentColor; }

/* ==========================================================================
   スマホ固定バー
   ========================================================================== */
.mobile-bar {
  /* right:0 ではなく width:100vw で固定する。ページ内に幅の広い要素があると
     right:0 は画面幅より広く解決され、右端のボタンが画面外に出てしまう。 */
  position: fixed; left: 0; bottom: 0; width: 100vw; z-index: 90;
  display: none; grid-template-columns: repeat(3, minmax(0, 1fr));
  background: rgba(13,13,15,.97);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--ink-line);
  padding-bottom: env(safe-area-inset-bottom);
}
.mobile-bar__btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .25rem;
  padding: .6rem .3rem; text-decoration: none; font-size: .72rem; font-weight: 700;
  color: var(--text-on-dark); min-height: 58px; text-align: center; line-height: 1.3;
}
.mobile-bar__btn + .mobile-bar__btn { border-left: 1px solid var(--ink-line); }
.mobile-bar__btn svg { width: 20px; height: 20px; fill: currentColor; }
.mobile-bar__btn--book { background: var(--gold); color: var(--ink); }
.mobile-bar__btn--line { background: var(--line-green); color: #05300f; }

/* ==========================================================================
   レスポンシブ
   ========================================================================== */
/* メニューが8項目になったため、横1段に収まらなくなる 1023px 以下は
   ハンバーガーメニューに切り替える（JS側の判定も同じ幅に合わせてある）。 */
@media (max-width: 1023px) {
  .nav-toggle { display: inline-flex; }
  .header__cta .btn { display: none; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--ink); border-bottom: 1px solid var(--ink-line);
    display: none; padding: .5rem 0 1.2rem;
  }
  .nav[data-open="true"] { display: block; }
  .nav__list { flex-direction: column; align-items: stretch; width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; gap: 0; }
  .nav__link { padding: .95em .4em; border-bottom: 1px solid var(--ink-line); font-size: 1rem; border-radius: 0; white-space: normal; }
  .nav__link[aria-current="page"]::after { display: none; }
  .nav__link[aria-current="page"] { border-left: 3px solid var(--gold); padding-left: .8em; }
}

@media (max-width: 767px) {
  /* 固定バーの実高 = ボタン58px + 上下余白4px + iPhoneのホームバー領域。
     本文がバーに隠れないよう、body の padding-bottom に同じ値を確保する。 */
  :root { --bar-h: calc(62px + env(safe-area-inset-bottom, 0px)); }
  .mobile-bar { display: grid; }
  .hero__media::after {
    background: linear-gradient(180deg, rgba(13,13,15,.92) 0%, rgba(13,13,15,.8) 45%, rgba(13,13,15,.9) 100%);
  }
  .hero__cta .btn { flex: 1 1 100%; }

  /* --- ヘッダーを低く（タップ領域44px以上は維持） --- */
  .header__inner { min-height: 54px; }
  .logo__mark { font-size: 1.32rem; }
  .logo__word { font-size: .66rem; letter-spacing: .24em; }
  .logo__sub { display: none; }              /* 「八街市」はh1にあるので重複を省く */
  .nav-toggle { padding: .35em .6em; font-size: .8rem; min-height: 44px; }
  .nav-toggle__label { line-height: 1; }

  /* --- ファーストビューを縦に締める（文字は小さくしすぎない） --- */
  .hero__body { padding: 1.8rem 0 2.2rem; }
  .hero__badge { font-size: .72rem; padding: .3em .8em; margin-bottom: .9rem; }
  .hero__title { font-size: 1.95rem; line-height: 1.34; letter-spacing: 0; }
  .hero__lead--pc { display: none; }
  .hero__lead--sp { display: block; }
  .hero__lead {
    margin-top: .9rem;
    font-size: 1rem;        /* 16px */
    line-height: 1.8;
  }
  .hero__cta { margin-top: 1.4rem; gap: .6rem; }
  .hero__facts { margin-top: 1.4rem; gap: .4rem 1.1rem; font-size: .8rem; }

  /* 下層ページの見出しも同様に締める */
  .page-hero { padding: 1.8rem 0 1.6rem; }
  .page-hero__lead { margin-top: .7rem; font-size: 1rem; line-height: 1.8; }
}

/* 360px の実機でも横にはみ出さないよう、左右の余白を少しだけ詰める */
@media (max-width: 380px) {
  .wrap { width: calc(100% - 1.9rem); }
  .hero__title { font-size: 1.82rem; }
}

@media print {
  .header, .mobile-bar, .cta-band, .nav-toggle { display: none !important; }
  body { color: #000; background: #fff; padding-bottom: 0; }
}
