:root {
  --base: #101014;
  --surface: #18181e;
  --ink: #f4f4f2;
  --sub: #b9b9c0;
  --accent: #c9f158;
  --line: #2c2c33;
  --cta: #c9f158;
  --radius: 14px;
}

* { box-sizing: border-box; }

/* M6 なめらかなページ内スクロール（動きOKのときだけ） */
html.js-motion { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--base);
  color: var(--ink);
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 16px;
  line-height: 1.85;
  font-weight: 500;
  padding-bottom: 64px;
}

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

/* ---------- リンクの反応（共通） ---------- */
a {
  color: var(--accent);
  transition: color .2s cubic-bezier(.25,.7,.3,1), opacity .2s cubic-bezier(.25,.7,.3,1);
}
a:hover { color: var(--ink); }
a:active { opacity: .72; }
a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

.sample-banner {
  background: #000000;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  padding: 8px 16px;
  border-bottom: 1px solid var(--line);
}

/* ---------- ヘッダー（ヒーローに重ねる） ---------- */
.hero-wrap { position: relative; }

header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  max-width: 1180px;
  margin: 0 auto;
}

.logo { margin: 0; font-size: 26px; font-weight: 900; letter-spacing: .12em; line-height: 1.1; }
.logo a { color: var(--ink); text-decoration: none; }
.logo small { display: block; font-size: 10px; font-weight: 700; letter-spacing: .34em; color: var(--accent); }

.header-tel { margin: 0; font-weight: 700; }
.header-tel a {
  color: var(--ink);
  font-size: 14px;
  text-decoration: none;
  border: 1px solid rgba(244, 244, 242, .65);
  border-radius: 999px;
  padding: 7px 16px;
  background: rgba(10, 10, 13, .55);
  transition: background-color .2s cubic-bezier(.25,.7,.3,1), color .2s cubic-bezier(.25,.7,.3,1), transform .15s cubic-bezier(.25,.7,.3,1);
}
.header-tel a:hover { background: rgba(10, 10, 13, .88); }
.header-tel a:active { transform: scale(.98); opacity: 1; }

/* ---------- ヒーロー ---------- */
.hero {
  position: relative;
  min-height: 94svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #000000;
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 32%; }
.hero-shade {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(8, 8, 10, .5) 0%, rgba(8, 8, 10, .08) 34%, rgba(8, 8, 10, .55) 68%, rgba(16, 16, 20, .97) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1180px;
  margin: 0 auto;
  width: 100%;
  padding: 110px 20px 40px;
}

.open-chip {
  display: inline-block;
  background: rgba(10, 10, 13, .8);
  border: 1px solid var(--accent);
  color: var(--accent);
  font-weight: 700;
  font-size: 14px;
  border-radius: 999px;
  padding: 5px 16px;
  margin: 0 0 18px;
}

.hero h1 {
  font-size: clamp(58px, 17vw, 118px);
  font-weight: 900;
  line-height: 1.14;
  letter-spacing: .01em;
  margin: 0 0 18px;
  text-shadow: 0 4px 30px rgba(0, 0, 0, .5);
}
.hero h1 .lime { color: var(--accent); }

.hero-sub { margin: 0 0 14px; max-width: 36em; text-shadow: 0 1px 10px rgba(0, 0, 0, .65); }
.hero-price { margin: 0 0 24px; font-size: 17px; text-shadow: 0 1px 10px rgba(0, 0, 0, .65); }
.hero-price strong { color: var(--accent); font-size: 21px; font-weight: 900; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.photo-note { font-size: 13px; color: var(--sub); margin: 16px 0 0; }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 12px 28px;
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font-weight: 700;
  font-size: 17px;
  text-decoration: none;
  transition: transform .2s cubic-bezier(.25,.7,.3,1), box-shadow .2s cubic-bezier(.25,.7,.3,1), background-color .2s cubic-bezier(.25,.7,.3,1), color .2s cubic-bezier(.25,.7,.3,1);
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, .5);
}
.btn:active { transform: translateY(0) scale(.98); box-shadow: none; opacity: 1; }
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.btn-main { background: var(--accent); color: #101014; }
.btn-main:hover { color: #101014; }
.btn-ghost {
  background: rgba(10, 10, 13, .55);
  color: var(--ink);
  border: 1px solid rgba(244, 244, 242, .7);
}
.btn-ghost:hover { color: var(--ink); background: rgba(10, 10, 13, .88); }
.btn-ghost2 { border: 1px solid var(--line); }
.btn-ghost2:hover { color: var(--ink); }

/* ---------- 数字の帯（M3） ---------- */
.numbers { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.numbers-inner {
  max-width: 880px;
  margin: 0 auto;
  padding: 34px 20px 6px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.stat { text-align: center; flex: 1; }
.stat-num { margin: 0; font-size: clamp(40px, 11vw, 64px); font-weight: 900; line-height: 1.1; color: var(--accent); }
.stat-num small { font-size: .45em; font-weight: 700; margin-left: 2px; }
.stat-label { margin: 2px 0 0; font-size: 14px; font-weight: 700; color: var(--ink); }
.numbers-note { max-width: 880px; margin: 0 auto; padding: 8px 20px 20px; font-size: 13px; color: var(--sub); text-align: center; }

/* ---------- ブロック共通 ---------- */
main { display: block; }
.block { max-width: 880px; margin: 0 auto; padding: 72px 20px 8px; }

.sec-label {
  font-size: 13px;
  letter-spacing: .22em;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  margin: 0 0 10px;
}
.sec-title {
  font-size: clamp(32px, 8.4vw, 46px);
  font-weight: 900;
  line-height: 1.35;
  margin: 0 0 30px;
}

/* ---------- 特長 ---------- */
.feature { margin-bottom: 44px; }
.feature-img { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.feature-img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.feature-text h3 { font-size: 21px; font-weight: 900; margin: 18px 0 6px; }
.feature-text p { margin: 0; color: var(--ink); }

/* ---------- トレーナー ---------- */
.trainer-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.trainer-img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: 50% 22%; }
.trainer-text { padding: 24px 24px 28px; }
.trainer-name { font-size: 19px; font-weight: 900; margin: 0 0 8px; }
.trainer-text p { margin: 0 0 10px; }
.trainer-note { font-size: 13px; color: var(--sub); }

/* ---------- 料金・店舗情報 ---------- */
table.price, table.info {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
table.price th, table.info th {
  text-align: left;
  font-weight: 700;
  padding: 15px 16px;
  border-bottom: 1px solid var(--line);
  width: 58%;
}
table.price td {
  text-align: right;
  font-weight: 900;
  font-size: 19px;
  color: var(--accent);
  padding: 15px 16px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
table.info td { padding: 15px 16px; border-bottom: 1px solid var(--line); }
table.price tr:last-child th, table.price tr:last-child td,
table.info tr:last-child th, table.info tr:last-child td { border-bottom: none; }
table.price small { display: block; font-weight: 500; color: var(--sub); font-size: 13px; }
.price-note { font-size: 14px; color: var(--sub); margin: 12px 0 0; }
.price-cta { margin: 22px 0 0; text-align: center; }

footer { margin-top: 72px; background: #0b0b0e; border-top: 1px solid var(--line); }
.footer-inner { max-width: 1080px; margin: 0 auto; padding: 30px 20px 38px; }
.footer-logo { font-size: 20px; font-weight: 900; letter-spacing: .12em; margin: 0 0 8px; }
.footer-logo small { font-size: 10px; letter-spacing: .3em; color: var(--accent); }
footer p { margin: 0 0 8px; font-size: 14px; }
.credits { font-size: 12px; color: #a9a9b2; }

.cta-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  display: flex;
  background: var(--surface);
  border-top: 1px solid var(--line);
  z-index: 50;
}
.cta-bar a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  font-weight: 700;
  font-size: 16px;
  color: var(--ink);
  text-decoration: none;
  transition: background-color .2s cubic-bezier(.25,.7,.3,1), transform .15s cubic-bezier(.25,.7,.3,1);
}
.cta-bar a:active { transform: scale(.98); opacity: 1; }
.cta-bar .cta-tel { background: var(--accent); color: #101014; }

@media (min-width: 760px) {
  body { padding-bottom: 0; }
  .cta-bar { display: none; }
  .feature { display: flex; gap: 28px; align-items: center; }
  .feature:nth-of-type(even) { flex-direction: row-reverse; }
  .feature-img { flex: 1.1; }
  .feature-text { flex: 1; }
  .feature-text h3 { margin-top: 0; }
  .trainer-card { display: flex; }
  .trainer-img { flex: 0 0 38%; }
  .trainer-img img { height: 100%; aspect-ratio: auto; }
  .trainer-text { flex: 1; padding: 30px 30px 32px; }
}

/* ---------- 動き（M2 出現フェード／M11 見出しリビール） ---------- */
.js-motion .rv {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .7s ease, transform .7s ease;
  transition-delay: var(--d, 0s);
}
.js-motion .rv.on { opacity: 1; transform: none; }

/* M11：大きな見出しが、下からすっと現れる（マスクつきリビール） */
.rl { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.rl > span { display: block; }
.js-motion .rl > span {
  transform: translateY(112%);
  transition: transform .85s cubic-bezier(.25,.7,.3,1);
  transition-delay: var(--d, 0s);
}
.js-motion .rl.on > span { transform: none; }

/* ---------- 動きを減らす設定では、動きを止めて色の変化だけ残す ---------- */
@media (prefers-reduced-motion: reduce) {
  .btn, a, .cta-bar a, .header-tel a { transition: none; }
  .btn:hover { transform: none; box-shadow: none; }
  .btn:active, .cta-bar a:active, .header-tel a:active { transform: none; }
}

/* ================= IF-STD v1 =================
   インタラクション・フィードバック標準（templates/motion-parts.md）準拠。
   ボタン・カードは上の各規則で「浮く／沈む＋影・色」を実装し、本文リンクは色の変化のみ。
   時間0.2秒・イージング cubic-bezier(.25,.7,.3,1)・:active と :focus-visible 必須。
   reduced-motion では末尾のメディアクエリで動きを止め、色の変化だけを即時に効かせる。 */
