/* 小熊ボクシングジム 公式サイト v3（紫×金×黒） */
:root {
  /* CLAUDE.md の確定カラー */
  --ink: #0b0a10;
  --canvas: #14101c;
  --purple: #7c3aed;
  --purple-glow: #b57bff;
  --gold: #c9a24b;
  --bone: #f2eee6;
  --ash: #8a857f;
  /* 以下はサンプルの名前を残したまま、確定カラーに割り当てる */
  --navy: var(--canvas);
  --navy2: #1d1726;
  --paper: var(--bone);
  --white: #fff;
  --volt: var(--gold);
  --red: #e5262f;
  --blue: #2457e6;
  --mute: var(--ash);
  --line: rgba(255, 255, 255, .14);
  --en: 'Anton', 'Impact', sans-serif;
  --ja: 'Noto Sans JP', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', YuGothic, Meiryo, system-ui, sans-serif;
  --mono: 'Space Mono', ui-monospace, monospace;
  --hd: 72px;
  --gut: clamp(16px, 4vw, 56px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--ink); color: var(--white);
  font-family: var(--ja); font-size: 16px; line-height: 1.8; letter-spacing: .02em;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, dl, dd, ol, figure { margin: 0; }
ol { padding: 0; list-style: none; }
.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 var(--gut); }
.ln { display: block; overflow: hidden; padding-bottom: .06em; }
.ln > span { display: inline-block; }
br.sp { display: none; }
.nw { white-space: nowrap; }
/* 最後の行に1文字だけ残る改行を避ける（対応ブラウザのみ） */
p, dd, summary, h3 { text-wrap: pretty; }
.ch-txt, .hero-lead { text-wrap: balance; }

/* ---------- 部品 ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: .2em; color: var(--purple-glow);
}
.eyebrow-dk { color: var(--navy); }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 12px currentColor; }
.eyebrow-dk .dot { background: var(--purple); box-shadow: none; }
.sec-ttl {
  margin-top: 18px; font-weight: 900; font-size: clamp(30px, 4.6vw, 60px); line-height: 1.25; letter-spacing: .01em;
}
.body { margin-top: 24px; max-width: 34em; color: #3a4152; }
.body-lt { color: #c3c9d6; }

.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  min-height: 56px; padding: 0 28px; border-radius: 999px; font-weight: 700; font-size: 15px; letter-spacing: .04em;
  transition: transform .25s, background .25s, color .25s, box-shadow .25s; overflow: hidden; isolation: isolate;
}
.btn-sm { min-height: 44px; padding: 0 20px; font-size: 14px; }
.btn-volt { background: var(--volt); color: var(--ink); box-shadow: 0 10px 30px -10px rgba(201, 162, 75, .55); }
.btn-ghost { border: 1.5px solid rgba(255, 255, 255, .5); color: var(--white); backdrop-filter: blur(6px); }
.btn::after {
  content: ''; position: absolute; inset: 0; z-index: -1; background: var(--white);
  transform: translateX(-101%); transition: transform .35s cubic-bezier(.7, 0, .2, 1);
}
.btn-ghost::after { background: var(--volt); }
@media (hover: hover) {
  .btn:hover::after { transform: none; }
  .btn-ghost:hover { color: var(--ink); border-color: var(--volt); }
  .btn:hover { transform: translateY(-2px); }
}
.arw { width: 18px; height: 2px; background: currentColor; position: relative; }
.arw::after { content: ''; position: absolute; right: 0; top: -4px; width: 9px; height: 9px; border-top: 2px solid; border-right: 2px solid; transform: rotate(45deg); transform-origin: 100% 0; }

/* ---------- 読み込み ---------- */
.loader {
  position: fixed; inset: 0; z-index: 100; background: var(--ink); display: grid; place-items: center;
  transition: clip-path .9s cubic-bezier(.8, 0, .2, 1); clip-path: inset(0 0 0 0);
}
.loader.is-done { clip-path: inset(0 0 100% 0); pointer-events: none; }
html:not(.js) .loader { display: none; }
.loader-in { text-align: center; position: relative; z-index: 1; }
.loader-round { font-family: var(--en); font-size: clamp(40px, 8vw, 96px); line-height: 1; letter-spacing: .02em; }
.loader-round span { color: var(--volt); }
.loader-num { margin-top: 12px; font-family: var(--mono); font-size: 14px; color: var(--mute); }
.loader-bar { width: min(280px, 60vw); height: 3px; margin: 18px auto 0; background: rgba(255, 255, 255, .1); }
.loader-bar i { display: block; height: 100%; background: var(--volt); transform: scaleX(0); transform-origin: 0 50%; }
.loader-sub { margin-top: 18px; font-family: var(--mono); font-size: 11px; letter-spacing: .3em; color: var(--mute); }
.loader-ropes { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 46px; opacity: .5; }
.loader-ropes i { height: 4px; transform: scaleX(0); animation: rope 1.4s cubic-bezier(.7, 0, .2, 1) forwards; }
.loader-ropes i:nth-child(1) { background: var(--purple); }
.loader-ropes i:nth-child(2) { background: #fff; animation-delay: .1s; }
.loader-ropes i:nth-child(3) { background: var(--gold); animation-delay: .2s; }
.loader-ropes { top: auto; height: 100%; padding-top: 52vh; }
@keyframes rope { to { transform: scaleX(1); } }

/* ---------- ヘッダー ---------- */
.hd {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--hd);
  display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0 var(--gut);
  transition: background .3s, transform .4s;
}
.hd.is-solid { background: rgba(7, 9, 15, .82); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.hd-logo { display: flex; flex-direction: column; line-height: 1.05; padding: 8px 0; }
.hd-logo-en { font-family: var(--en); font-size: 24px; letter-spacing: .03em; }
.hd-logo-en b { font-weight: 400; color: var(--volt); margin-left: .35em; font-size: .62em; letter-spacing: .12em; vertical-align: .25em; }
.hd-logo-ja { font-size: 11px; color: #b9c0cf; letter-spacing: .18em; margin-top: 3px; }
.hd-nav { display: flex; gap: 30px; font-size: 14px; font-weight: 500; }
.hd-nav a { position: relative; padding: 10px 0; }
.hd-nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 4px; height: 2px; background: var(--volt); transform: scaleX(0); transition: transform .3s; }
@media (hover: hover) { .hd-nav a:hover::after { transform: scaleX(1); } }
.hd-cta { display: flex; align-items: center; gap: 20px; }
.hd-tel { font-family: var(--mono); font-weight: 700; font-size: 15px; padding: 10px 0; }
.hd-tel span { font-size: 10px; color: var(--volt); margin-right: 8px; letter-spacing: .15em; }

/* ---------- 映像ステージ ---------- */
.stage { position: relative; height: 100vh; height: 100svh; overflow: hidden; background: #000; }
.film, .film > * , .film picture img { position: absolute; inset: 0; width: 100%; height: 100%; }
.film-poster, .film-video { object-fit: cover; }
.film-video, .film-seq { opacity: 0; }
.film.is-video .film-video, .film.is-seq .film-seq { opacity: 1; }
.film.is-video picture, .film.is-seq picture { visibility: hidden; }
.shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(7, 9, 15, .78) 0%, rgba(7, 9, 15, .25) 45%, rgba(7, 9, 15, 0) 70%),
    linear-gradient(0deg, rgba(7, 9, 15, .75) 0%, rgba(7, 9, 15, 0) 35%);
}
.flash { position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; mix-blend-mode: normal; }

.ch { position: absolute; z-index: 2; left: var(--gut); right: var(--gut); bottom: clamp(110px, 16vh, 170px); max-width: 760px; }
.ch-right { left: auto; text-align: right; }
.ch-right .ch-txt .ln > span { text-align: right; }
.ch-hero { bottom: auto; top: 50%; transform: translateY(-46%); }
.hero-ttl { margin-top: 22px; font-weight: 900; font-size: clamp(42px, 7.4vw, 108px); line-height: 1.12; letter-spacing: .01em; text-shadow: 0 6px 40px rgba(0, 0, 0, .5); }
.hero-lead { margin-top: 24px; font-size: clamp(14px, 1.3vw, 17px); color: #dfe3ec; line-height: 1.9; }
.hero-btns { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px; }
.mega {
  position: absolute; z-index: 1; right: -2vw; bottom: -6vw; font-family: var(--en); font-size: 30vw; line-height: .8;
  color: transparent; -webkit-text-stroke: 1.5px rgba(181, 123, 255, .35); pointer-events: none; letter-spacing: -.01em;
}
.ch-no { font-family: var(--mono); font-weight: 700; font-size: 13px; letter-spacing: .3em; color: var(--volt); }
.ch-ttl { font-weight: 900; font-size: clamp(56px, 10vw, 150px); line-height: 1.05; margin-top: 6px; text-shadow: 0 8px 50px rgba(0, 0, 0, .55); }
.ch-txt { margin-top: 14px; font-size: clamp(15px, 1.6vw, 20px); font-weight: 500; line-height: 1.8; text-shadow: 0 2px 18px rgba(0, 0, 0, .7); }
.ch-btn { margin-top: 26px; }
.motion .ch-r { visibility: hidden; }

.hud {
  position: absolute; z-index: 3; right: var(--gut); top: calc(var(--hd) + 24px);
  font-family: var(--mono); text-align: right; text-shadow: 0 2px 10px rgba(0, 0, 0, .6);
}
.hud-round { font-size: 12px; letter-spacing: .25em; color: #cfd5e2; }
.hud-round b { color: var(--volt); font-size: 16px; }
.hud-round span { color: var(--mute); }
.hud-clock { font-family: var(--en); font-size: 54px; line-height: 1; margin-top: 4px; font-variant-numeric: tabular-nums; }
.hud-pips { display: flex; gap: 6px; justify-content: flex-end; margin-top: 10px; }
.hud-pips i { width: 26px; height: 4px; background: rgba(255, 255, 255, .22); }
.hud-pips i.on { background: var(--volt); }
.cue { position: absolute; z-index: 3; left: 50%; bottom: 22px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; font-family: var(--mono); font-size: 10px; letter-spacing: .3em; }
.cue i { width: 1px; height: 44px; background: linear-gradient(var(--volt), transparent); animation: cue 1.6s infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
.film-note { position: absolute; z-index: 3; right: var(--gut); bottom: 14px; font-size: 10px; color: rgba(255, 255, 255, .55); letter-spacing: .08em; }

/* ---------- 数字 ---------- */
.facts { background: var(--purple); color: var(--white); padding-bottom: clamp(48px, 7vw, 90px); overflow: hidden; }
.marquee { border-bottom: 2px solid rgba(255, 255, 255, .35); padding: 14px 0; overflow: hidden; }
.marquee-track { display: flex; gap: 36px; white-space: nowrap; font-family: var(--en); font-size: clamp(38px, 6vw, 80px); line-height: 1; width: max-content; }
.marquee-track i { font-style: normal; color: transparent; -webkit-text-stroke: 1.5px var(--gold); }
.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: clamp(36px, 5vw, 64px); }
.fact { padding: 8px 24px; border-left: 2px solid rgba(255, 255, 255, .4); }
.fact-num small { color: var(--gold); }
.fact-num { font-family: var(--en); font-size: clamp(54px, 7vw, 100px); line-height: 1; }
.fact-num small { font-family: var(--ja); font-weight: 900; font-size: .26em; margin-left: .25em; }
.fact-num small.pre { margin: 0 .2em 0 0; }
.fact-lb { margin-top: 10px; font-weight: 700; font-size: 14px; }

/* ---------- 会長 ---------- */
.champ { position: relative; background: var(--paper); color: var(--ink); padding: clamp(80px, 12vw, 160px) 0; overflow: hidden; }
.champ-in { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: center; position: relative; z-index: 1; }
.champ-img { overflow: hidden; border-radius: 4px; background: var(--navy); }
.champ-img img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.champ-fig figcaption { margin-top: 14px; font-weight: 700; font-size: 14px; letter-spacing: .2em; }
.champ-title { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.champ-title b { background: var(--navy); color: var(--white); padding: 8px 14px; font-size: 14px; border-left: 4px solid var(--gold); }
.champ .sec-ttl { font-size: clamp(28px, 3.5vw, 50px); }
.access .sec-ttl { font-size: clamp(28px, 3vw, 44px); }
.champ-bg { position: absolute; left: -1vw; bottom: -3vw; font-family: var(--en); font-size: 17vw; line-height: .8; color: rgba(12, 20, 48, .06); white-space: nowrap; pointer-events: none; }

/* ---------- 理由（横スクロール） ---------- */
.reasons { background: var(--navy); position: relative; }
.reasons-pin { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: calc(var(--hd) + 20px) 0 40px; overflow: hidden; }
.reasons-head { position: relative; }
.reasons-count { position: absolute; right: var(--gut); bottom: 6px; font-family: var(--mono); color: var(--mute); }
.reasons-count b { font-family: var(--en); font-weight: 400; font-size: 48px; color: var(--volt); margin-right: 6px; }
.reasons-track { display: flex; gap: clamp(16px, 2vw, 28px); padding: 40px var(--gut) 0; width: max-content; }
.rs { width: clamp(280px, 30vw, 420px); flex: none; background: var(--navy2); border: 1px solid var(--line); border-radius: 6px; padding: 14px 14px 28px; }
.rs-img { overflow: hidden; border-radius: 3px; aspect-ratio: 16 / 10; }
.rs-img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); }
.rs-no { font-family: var(--en); font-size: 44px; color: var(--volt); margin: 18px 10px 0; line-height: 1; }
.rs h3 { margin: 12px 10px 0; font-size: clamp(19px, 1.7vw, 23px); line-height: 1.5; font-weight: 900; }
.rs p:last-child { margin: 12px 10px 0; font-size: 14px; color: #c3c9d6; }
.reasons-bar { margin: 34px var(--gut) 0; height: 2px; background: var(--line); }
.reasons-bar i { display: block; height: 100%; background: var(--volt); transform: scaleX(0); transform-origin: 0 50%; }

/* ---------- 通い方（リング） ---------- */
.courses { position: relative; background: radial-gradient(120% 90% at 50% 100%, #15224f 0%, var(--ink) 60%); }
.courses-pin { position: relative; height: 100vh; height: 100svh; overflow: hidden; }
.ring-gl { position: absolute; inset: 0; width: 100%; height: 100%; }
.courses-head { position: relative; z-index: 2; padding-top: calc(var(--hd) + 36px); pointer-events: none; }
.corners { position: absolute; z-index: 2; right: var(--gut); bottom: clamp(60px, 12vh, 120px); width: min(440px, calc(100% - var(--gut) * 2)); min-height: 250px; }
.corner {
  position: absolute; inset: auto 0 0 0; padding: 28px 28px 30px; border-radius: 8px;
  background: rgba(10, 16, 38, .72); border: 1px solid var(--line); backdrop-filter: blur(14px);
}
.motion .corner { opacity: 0; visibility: hidden; }
.corner-tag { display: inline-block; font-family: var(--mono); font-weight: 700; font-size: 11px; letter-spacing: .2em; padding: 5px 10px; }
.tag-red { background: var(--red); }
.tag-blue { background: var(--blue); }
.tag-white { background: #fff; color: var(--ink); }
.corner h3 { margin-top: 14px; font-weight: 900; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.3; }
.corner-lead { margin-top: 8px; font-weight: 700; color: var(--volt); font-size: 15px; }
.corner p:last-child { margin-top: 10px; font-size: 14px; color: #c3c9d6; }
.corner-dots { position: absolute; z-index: 2; left: var(--gut); bottom: clamp(60px, 12vh, 120px); display: flex; gap: 8px; }
.corner-dots i { width: 36px; height: 4px; background: rgba(255, 255, 255, .2); transition: background .3s; }
.corner-dots i.on { background: var(--volt); }
.no-js .corners, html:not(.motion) .corners { position: relative; right: auto; bottom: auto; width: auto; display: grid; gap: 16px; padding: 24px var(--gut); }
html:not(.motion) .corner { position: relative; }
html:not(.motion) .courses-pin { height: auto; }

/* ---------- 料金 ---------- */
.price { background: var(--paper); color: var(--ink); padding: clamp(80px, 11vw, 150px) 0; }
.price-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 48px; }
.pc { background: var(--white); border-radius: 8px; padding: 28px 24px 26px; border: 1px solid #e1e4ea; position: relative; overflow: hidden; }
.pc::before { content: ''; position: absolute; inset: 0 0 auto; height: 5px; background: var(--navy); }
.pc-hl::before { background: var(--purple); }
.pc-who { font-weight: 900; font-size: 20px; }
.pc-month { margin-top: 18px; display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.pc-month small { width: 100%; font-size: 12px; color: #687086; font-weight: 700; }
.pc-month b { font-family: var(--en); font-weight: 400; font-size: clamp(44px, 4.4vw, 64px); line-height: 1; letter-spacing: .01em; }
.pc-month span { font-weight: 700; }
.pc-join { margin-top: 18px; padding-top: 14px; border-top: 1px dashed #cfd4de; font-size: 14px; color: #3a4152; font-weight: 500; }
.price-note { margin-top: 22px; font-size: 13px; color: #687086; }

/* ---------- 選手 ---------- */
.fighters { background: var(--ink); padding: clamp(80px, 11vw, 150px) 0; overflow: hidden; }
.ftr-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 40px; }
.ftr { position: relative; border-radius: 6px; overflow: hidden; background: var(--navy); border: 1px solid var(--line); display: flex; flex-direction: column; }
.ftr-ph { position: relative; overflow: hidden; }
.ftr img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 25%; filter: grayscale(.25) contrast(1.05); transition: filter .4s, transform .6s; }
@media (hover: hover) { .ftr:hover img { filter: none; transform: scale(1.04); } }
.ftr figcaption { padding: 14px 14px 16px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.ftr b { display: block; font-size: 17px; }
.ftr figcaption > span { font-family: var(--mono); font-size: 11px; color: var(--volt); letter-spacing: .08em; }
.ftr-rec { margin-top: 6px; font-weight: 700; font-size: 15px; }
.ftr-rec small { display: block; font-weight: 400; font-size: 10px; color: var(--mute); }
.ftr-rec.is-none { font-weight: 400; font-size: 12px; color: var(--mute); }
.ftr-fight { margin-top: 8px; padding-top: 8px; border-top: 1px dashed var(--line); font-size: 12px; line-height: 1.6; color: #c3c9d6; }
.ftr-fight em { font-style: normal; font-family: var(--mono); font-size: 10px; letter-spacing: .12em; color: var(--mute); display: block; }
.ftr-fight .win { color: var(--volt); font-weight: 700; }
.ftr-fight .lose { color: #ff8a8f; font-weight: 700; }
.ftr-next { background: var(--volt); color: var(--ink); border-radius: 4px; padding: 8px 10px; border-top: 0; }
.ftr-next em { color: var(--ink); opacity: .7; }
.ftr-badge { position: absolute; left: 10px; top: 10px; background: var(--volt); color: var(--ink); font-family: var(--mono); font-weight: 700; font-size: 10px; letter-spacing: .12em; padding: 4px 8px; border-radius: 2px; }
.ftr-note { margin-top: 20px; font-size: 12px; color: var(--mute); }
.ftr-note a { text-decoration: underline; text-underline-offset: 3px; }
.nf { margin-top: 40px; border: 1px solid var(--volt); border-radius: 8px; padding: 22px 24px; background: linear-gradient(120deg, rgba(124, 58, 237, .18), rgba(124, 58, 237, 0) 60%); }
.nf-lb { display: flex; align-items: center; gap: 10px; font-family: var(--en); font-size: 28px; letter-spacing: .04em; }
.nf-lb .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--volt); box-shadow: 0 0 14px var(--volt); animation: blink 1.4s infinite; }
.nf-lb small { font-family: var(--ja); font-size: 13px; font-weight: 700; color: #c3c9d6; }
@keyframes blink { 50% { opacity: .25; } }
.nf-list { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 10px; }
.nf-list li { display: grid; grid-template-columns: 9em 1fr; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); }
.nf-date { font-family: var(--en); font-size: 22px; line-height: 1.1; }
.nf-date small { display: block; font-family: var(--ja); font-size: 12px; color: var(--mute); margin-top: 4px; }
.nf-card { font-weight: 700; }
.nf-card span { display: block; font-weight: 400; font-size: 13px; color: #c3c9d6; margin-top: 2px; }
.gym-photos { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: auto auto; gap: 16px; margin-top: clamp(56px, 8vw, 110px); }
.gp { overflow: hidden; border-radius: 6px; }
.gp img { width: 100%; height: 100%; object-fit: cover; }
.gp-a { grid-row: span 2; }

/* ---------- 流れ ---------- */
.flow { background: var(--volt); color: var(--ink); padding: clamp(80px, 11vw, 150px) 0; position: relative; overflow: hidden; }
.flow .eyebrow-dk .dot { background: var(--ink); }
.flow-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 52px; counter-reset: fl; }
.fl { padding: 0 28px 0 0; border-top: 2px solid var(--ink); padding-top: 22px; margin-right: 24px; }
.fl-no { font-family: var(--mono); font-weight: 700; font-size: 12px; letter-spacing: .2em; }
.fl h3 { margin-top: 10px; font-size: clamp(22px, 2.2vw, 30px); font-weight: 900; }
.fl p:last-child { margin-top: 10px; font-size: 14px; }
.bear { position: absolute; right: var(--gut); top: clamp(60px, 8vw, 110px); display: flex; align-items: center; gap: 12px; }
.bear img { width: 110px; border-radius: 50%; background: #fff; border: 3px solid var(--ink); }
.bear p { background: var(--ink); color: var(--white); font-weight: 700; font-size: 14px; line-height: 1.5; padding: 12px 16px; border-radius: 14px 14px 14px 2px; order: -1; }

/* ---------- FAQ ---------- */
.faq { background: var(--paper); color: var(--ink); padding: clamp(80px, 11vw, 140px) 0; }
.faq-in { display: grid; grid-template-columns: 4fr 8fr; gap: 48px; }
.faq-list details { border-bottom: 1.5px solid #d6dae2; }
.faq-list summary { list-style: none; cursor: pointer; padding: 24px 48px 24px 0; font-weight: 700; font-size: 17px; position: relative; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::before { content: 'Q'; font-family: var(--en); color: var(--purple); margin-right: 14px; font-size: 20px; }
.faq-list summary::after { content: '+'; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 26px; font-weight: 400; transition: transform .3s; }
.faq-list details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-list details p { padding: 0 0 24px 32px; color: #3a4152; }

/* ---------- アクセス ---------- */
.access { background: var(--navy); padding: clamp(80px, 11vw, 150px) 0; }
.access-in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.info { margin-top: 36px; border-top: 1px solid var(--line); }
.info > div { display: grid; grid-template-columns: 7em 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.info dt { font-weight: 700; color: var(--volt); font-size: 14px; }
.info dd { font-size: 15px; }
.info dd a { font-family: var(--mono); font-weight: 700; font-size: 18px; text-decoration: underline; text-underline-offset: 4px; }
.access-btns { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.access-img { overflow: hidden; border-radius: 6px; }
.access-img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

/* ---------- 最後の申し込み ---------- */
.contact { position: relative; background: var(--ink); padding: clamp(100px, 14vw, 200px) 0; overflow: hidden; text-align: center; }
.contact-ropes { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: clamp(60px, 10vw, 120px); pointer-events: none; opacity: .35; }
.contact-ropes i { height: 6px; transform-origin: 50% 50%; }
.contact-ropes i:nth-child(1) { background: var(--purple); }
.contact-ropes i:nth-child(2) { background: #fff; }
.contact-ropes i:nth-child(3) { background: var(--gold); }
.contact-in { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.contact-ttl { margin-top: 18px; font-weight: 900; font-size: clamp(48px, 9vw, 130px); line-height: 1.1; }
.contact .body { margin-left: auto; margin-right: auto; }
.tel-big {
  margin-top: 44px; display: flex; flex-direction: column; align-items: center; gap: 4px;
  background: var(--volt); color: var(--ink); border-radius: 18px; padding: 26px clamp(24px, 5vw, 64px) 22px;
  box-shadow: 0 20px 60px -20px rgba(201, 162, 75, .5); transition: transform .3s;
}
@media (hover: hover) { .tel-big:hover { transform: translateY(-3px) scale(1.02); } }
.tel-lb { font-weight: 700; font-size: 15px; }
.tel-num { font-family: var(--en); font-size: clamp(44px, 7vw, 84px); line-height: 1.05; letter-spacing: .02em; }
.tel-hr { font-size: 12px; font-weight: 500; }

/* ---------- フッター ---------- */
.ft { background: #04050a; padding: 56px 0 120px; border-top: 1px solid var(--line); }
.ft-logo { font-family: var(--en); font-size: 30px; }
.ft-logo b { font-weight: 400; color: var(--volt); font-size: .55em; margin-left: .4em; letter-spacing: .12em; vertical-align: .3em; }
.ft-addr { margin-top: 10px; font-size: 13px; color: #b9c0cf; }
.ft-note { margin-top: 18px; font-size: 12px; color: var(--mute); max-width: 60em; line-height: 1.8; }

/* ---------- スマホ固定ボタン ---------- */
.sp-bar { display: none; }

/* ---------- 文字の分割表示 ---------- */
[data-split] .w { display: inline-block; }

/* ---------- 狭い画面 ---------- */
@media (max-width: 1024px) {
  .hd-nav { display: none; }
  .facts-grid { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .price-grid { grid-template-columns: repeat(2, 1fr); }
  .ftr-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
  :root { --hd: 60px; }
  body { font-size: 15px; }
  .hd-tel { display: none; }
  .hd-logo-en { font-size: 21px; }
  .hd-cta .btn-sm { min-height: 40px; padding: 0 16px; font-size: 13px; }
  .shade {
    background: linear-gradient(0deg, rgba(7, 9, 15, .9) 0%, rgba(7, 9, 15, .35) 45%, rgba(7, 9, 15, .15) 100%);
  }
  .ch { bottom: calc(96px + env(safe-area-inset-bottom)); }
  .ch-right { left: var(--gut); text-align: left; }
  .ch-right .ch-txt .ln > span { text-align: left; }
  .ch-hero { top: auto; bottom: calc(100px + env(safe-area-inset-bottom)); transform: none; }
  .hero-btns .btn { flex: 1 1 100%; }
  .hud { top: calc(var(--hd) + 14px); }
  .hud-clock { font-size: 38px; }
  .cue { display: none; }
  .film-note { bottom: calc(76px + env(safe-area-inset-bottom)); }
  .mega { font-size: 44vw; bottom: auto; top: 18vh; right: -6vw; -webkit-text-stroke-width: 1px; }
  .champ-in, .access-in, .faq-in { grid-template-columns: 1fr; }
  .faq-in { gap: 8px; }
  .champ-fig { max-width: 420px; }
  .reasons-count { position: static; margin-top: 14px; }
  .rs { width: 78vw; }
  .corners { left: var(--gut); right: var(--gut); width: auto; bottom: calc(90px + env(safe-area-inset-bottom)); }
  .corner { padding: 22px 20px 22px; }
  .corner-dots { bottom: auto; left: auto; right: var(--gut); top: calc(var(--hd) + 40px); }
  .corner-dots i { width: 22px; }
  .price-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .pc { padding: 22px 16px 18px; }
  .flow-list { grid-template-columns: 1fr; gap: 28px; }
  .fl { margin-right: 0; }
  .bear { position: static; margin-top: 40px; justify-content: flex-end; }
  .bear img { width: 88px; }
  .gym-photos { grid-template-columns: 1fr 1fr; }
  .ftr-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .ftr figcaption { padding: 12px 10px 14px; }
  .nf { padding: 18px 16px; }
  .nf-list li { grid-template-columns: 1fr; gap: 6px; }
  .gp-a { grid-column: span 2; grid-row: auto; }
  .access-img img { aspect-ratio: 4 / 3; }
  .info > div { grid-template-columns: 5.5em 1fr; }
  .tel-big { width: 100%; }
  .sp-bar {
    display: grid; grid-template-columns: 1fr 1.3fr; gap: 8px;
    position: fixed; z-index: 60; left: 0; right: 0; bottom: 0;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(7, 9, 15, .88); backdrop-filter: blur(12px); border-top: 1px solid var(--line);
    transform: translateY(110%); transition: transform .4s;
  }
  .sp-bar.is-on { transform: none; }
  .sp-bar a { min-height: 52px; display: grid; place-items: center; border-radius: 999px; font-weight: 700; font-size: 15px; }
  .sp-tel { border: 1.5px solid rgba(255, 255, 255, .55); }
  .sp-trial { background: var(--volt); color: var(--ink); }

  /* スマホの見た目の調整 */
  br.sp { display: inline; }
  .hero-lead { font-size: 13px; line-height: 1.8; }
  .mega { -webkit-text-stroke-color: rgba(181, 123, 255, .18); }
  .hud-round { font-size: 11px; }
  .contact-ttl { font-size: 40px; }
  .contact-ropes { opacity: .14; }
  .faq-list summary { font-size: 14px; padding: 20px 30px 20px 0; line-height: 1.6; }
  .faq-list summary::before { margin-right: 10px; }
  .faq-list summary::after { right: 2px; }
  .ftr b { font-size: 15px; }
  .ftr figcaption > span { font-size: 10px; letter-spacing: .04em; }
  .ftr-rec { font-size: 12.5px; letter-spacing: 0; white-space: nowrap; }
  .ftr-rec small { display: none; }          /* 出典はカードの下の注記にまとめる */
  .ftr-fight { font-size: 11px; }
  .nf-lb { font-size: 24px; }
  .corner h3 { font-size: 22px; }
  .pc-month b { font-size: 38px; }
  .pc-month { flex-wrap: nowrap; column-gap: 4px; }
  .pc-month small { position: absolute; transform: translateY(-20px); }
  .pc-month { position: relative; margin-top: 34px; }

  /* すりガラス（ぼかし）はスクロールが重くなるので、スマホでは不透明の背景に置き換える */
  .hd.is-solid, .sp-bar { backdrop-filter: none; background: rgba(7, 9, 15, .96); }
  .corner { backdrop-filter: none; background: rgba(10, 16, 38, .94); }
  .btn-ghost { backdrop-filter: none; background: rgba(7, 9, 15, .35); }
}

/* 動きを減らす設定 */
html:not(.motion) .ch-r { position: relative; inset: auto; padding: 24px var(--gut); max-width: none; }
html:not(.motion) .stage { height: auto; }
html:not(.motion) .film { position: relative; height: 70vh; }
html:not(.motion) .ch-hero { position: absolute; top: 35vh; }
html:not(.motion) .mega { display: none; }
html:not(.motion) .ch-right { text-align: left; }
html:not(.motion) .ch-right .ch-txt .ln > span { text-align: left; }
html:not(.motion) .hud, html:not(.motion) .cue { display: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ===================== 公式サイト v3 で足した部品 ===================== */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible { outline: 3px solid var(--purple-glow); outline-offset: 3px; }
.btn-line { border: 1.5px solid var(--ink); color: var(--ink); }
.btn-line::after { background: var(--ink); }
@media (hover: hover) { .btn-line:hover { color: var(--white); } }
.btn-line-lt { border-color: rgba(255, 255, 255, .5); color: var(--white); }
.btn-line-lt::after { background: var(--gold); }
@media (hover: hover) { .btn-line-lt:hover { color: var(--ink); } }

/* お知らせ（管理画面から） */
.site-notice { position: fixed; z-index: 55; left: 0; right: 0; top: var(--hd); background: var(--purple); color: var(--white); }
.site-notice[hidden] { display: none; }
.site-notice[data-level="warning"] { background: var(--gold); color: var(--ink); }
.site-notice[data-level="urgent"] { background: #b3261e; }
.site-notice-inner { max-width: 1280px; margin: 0 auto; padding: 10px var(--gut); display: flex; align-items: center; gap: 12px; font-size: 14px; }
.site-notice-badge { flex: none; font-weight: 700; font-size: 12px; padding: 3px 10px; border-radius: 999px; background: rgba(0, 0, 0, .25); }
.site-notice-text { flex: 1; line-height: 1.6; }
.site-notice-link { flex: none; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.site-notice-close { flex: none; width: 36px; height: 36px; border: 0; border-radius: 50%; background: rgba(0, 0, 0, .2); color: inherit; font-size: 18px; cursor: pointer; }

/* ジムの紹介 */
.about { background: var(--bone); color: var(--ink); padding: clamp(72px, 10vw, 130px) 0; }
.about-in { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(24px, 5vw, 72px); }
.about-lead { font-size: clamp(16px, 1.5vw, 19px); font-weight: 500; line-height: 2; }
.about-facts { margin-top: 28px; border-top: 1px solid #d9d2c3; }
.about-facts > div { display: grid; grid-template-columns: 6em 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid #d9d2c3; }
.about-facts dt { font-weight: 700; color: var(--purple); font-size: 14px; }
.about-facts dd { font-size: 15px; }
.about-facts a { font-family: var(--mono); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }

/* 料金の下のボタン・選手一覧へのリンク */
.price-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.ftr-more { margin-top: 28px; }

/* 流れ（金） */
.flow { background: var(--gold); }

/* アクセス：営業時間の状態（main.js が更新）と地図 */
.access-status { display: flex; align-items: center; gap: 14px; margin-top: 28px; padding: 14px 18px; border-radius: 10px; background: rgba(255, 255, 255, .06); border: 1px solid var(--line); }
.access-status-dot { flex: none; width: 12px; height: 12px; border-radius: 50%; background: var(--ash); }
.access-status.is-open .access-status-dot { background: #3ddc84; box-shadow: 0 0 0 6px rgba(61, 220, 132, .18); }
.access-status strong { display: block; font-size: 15px; }
.access-status small { display: block; font-size: 12px; color: #c9c3d6; margin-top: 2px; }
.map-embed { position: relative; border-radius: 8px; overflow: hidden; background: var(--navy2); border: 1px solid var(--line); }
.map-embed iframe { display: block; width: 100%; aspect-ratio: 4 / 5; border: 0; filter: grayscale(.2); }
.map-card-link { display: block; padding: 14px 18px; font-weight: 700; font-size: 14px; color: var(--gold); text-decoration: underline; text-underline-offset: 4px; }

/* 最新ニュース（main.js がカードを差し込む） */
.news { background: var(--bone); color: var(--ink); padding: clamp(80px, 11vw, 140px) 0; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 36px; }
.news-card { background: var(--white); border: 1px solid #e3dccd; border-radius: 8px; overflow: hidden; display: flex; flex-direction: column; }
.news-card > .news-date, .news-card > h3, .news-card > p { padding: 0 18px; }
.news-card > .news-date { padding-top: 18px; }
.news-card > p:last-child { padding-bottom: 18px; }
.news-media { position: relative; aspect-ratio: 16 / 10; background: var(--canvas); }
.news-image { width: 100%; height: 100%; object-fit: cover; }
.news-image-placeholder { width: 100%; height: 100%; display: grid; place-items: center; color: var(--purple-glow); font-family: var(--en); font-size: 28px; letter-spacing: .05em; background: radial-gradient(120% 100% at 30% 0%, #2a1b47, var(--canvas)); }
.news-category, .news-latest { position: absolute; top: 10px; font-family: var(--mono); font-weight: 700; font-size: 10px; letter-spacing: .12em; padding: 4px 8px; border-radius: 2px; }
.news-category { left: 10px; background: var(--purple); color: var(--white); }
.news-latest { right: 10px; background: var(--gold); color: var(--ink); }
.news-content { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.news-date { font-family: var(--mono); font-size: 11px; color: #6b6577; letter-spacing: .06em; }
.news-card h3 { font-size: 17px; font-weight: 900; line-height: 1.5; margin-top: 6px; }
.news-card p { font-size: 14px; color: #4a4553; }
.news-more { margin-top: auto; padding-top: 8px; font-weight: 700; font-size: 14px; color: var(--purple); text-decoration: underline; text-underline-offset: 4px; }

/* 最後の申し込み：電話と AI チャットを並べる */
.contact { text-align: left; }
.contact-in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 64px); align-items: start; }
.contact-main { display: flex; flex-direction: column; align-items: flex-start; }
.contact-main .body { margin-left: 0; }
.chatbot { position: relative; z-index: 1; background: rgba(20, 16, 28, .94); border: 1px solid rgba(181, 123, 255, .35); border-radius: 16px; padding: 18px; color: var(--white); box-shadow: 0 30px 80px -40px rgba(124, 58, 237, .7); }
.chatbot-header { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.chatbot-avatar { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--purple), var(--purple-glow)); font-family: var(--mono); font-weight: 700; }
.chatbot-header span { display: block; font-family: var(--mono); font-size: 10px; letter-spacing: .15em; color: var(--purple-glow); }
.chatbot-header strong { display: block; font-size: 15px; }
.chatbot-header small { display: flex; align-items: center; gap: 6px; font-size: 11px; color: #c9c3d6; }
.chatbot-header small i { width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; }
.chatbot-messages { height: 260px; overflow-y: auto; padding: 14px 2px; display: flex; flex-direction: column; gap: 12px; overscroll-behavior: contain; }
.chat-message { display: flex; gap: 8px; align-items: flex-end; }
.chat-message.user { flex-direction: row-reverse; }
.chat-avatar { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 10px; font-family: var(--mono); font-weight: 700; background: var(--purple); }
.chat-bubble { max-width: 82%; background: #241c33; border-radius: 14px 14px 14px 4px; padding: 10px 12px; font-size: 14px; line-height: 1.7; }
.chat-message.user .chat-bubble { background: var(--gold); color: var(--ink); border-radius: 14px 14px 4px 14px; }
.chat-bubble small { display: block; margin-top: 4px; font-size: 10px; color: #a79fb8; }
.chat-message.user .chat-bubble small { color: rgba(11, 10, 16, .6); }
.chatbot-ai-status { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px 0; }
.chatbot-ai-status span { font-size: 10px; font-family: var(--mono); color: #c9c3d6; border: 1px solid var(--line); border-radius: 999px; padding: 3px 8px; }
.chatbot-smart-suggestions, .chatbot-quick-actions { display: flex; flex-wrap: wrap; gap: 6px; padding-top: 8px; }
.chatbot-smart-suggestions > span { width: 100%; font-size: 11px; color: var(--purple-glow); font-weight: 700; }
.chatbot-smart-suggestions button, .chatbot-quick-actions button {
  min-height: 36px; padding: 0 12px; border-radius: 999px; border: 1px solid rgba(181, 123, 255, .45); background: transparent; color: var(--white); font: inherit; font-size: 13px; cursor: pointer;
}
@media (hover: hover) { .chatbot-smart-suggestions button:hover, .chatbot-quick-actions button:hover { background: var(--purple); border-color: var(--purple); } }
.chatbot-input-row { display: flex; gap: 8px; margin-top: 12px; }
.chatbot-input-row input { flex: 1; min-width: 0; min-height: 46px; border-radius: 10px; border: 1px solid var(--line); background: #0f0c16; color: var(--white); padding: 0 14px; font: inherit; font-size: 16px; }
.chatbot-input-row button { flex: none; min-height: 46px; padding: 0 18px; border-radius: 10px; border: 0; background: var(--gold); color: var(--ink); font: inherit; font-weight: 700; cursor: pointer; }
.is-pressed { transform: scale(.97); }

/* フッター */
.ft-links { margin-top: 12px; font-size: 13px; }
.ft-links a, .ft-addr a { text-decoration: underline; text-underline-offset: 3px; }
.ft-copy { margin-top: 18px; font-size: 11px; color: var(--ash); }

/* スマホ固定ボタン：営業時間の状態を上に表示（main.js が更新） */
.sp-status { display: none; }

@media (max-width: 1024px) {
  .news-grid { grid-template-columns: 1fr 1fr; }
  .contact-in { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .about-in { grid-template-columns: 1fr; gap: 8px; }
  .about-facts > div { grid-template-columns: 5em 1fr; }
  .about-lead { font-size: 15px; }
  .news-grid { grid-template-columns: 1fr; }
  .map-embed iframe { aspect-ratio: 4 / 3; }
  .chatbot { padding: 14px; }
  .chatbot-messages { height: 220px; }
  .contact-main { align-items: stretch; }
  .site-notice-inner { font-size: 13px; gap: 8px; }
  .sp-bar { grid-template-columns: 1fr; gap: 6px; padding-top: 6px; }
  .sp-status { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 11px; color: #c9c3d6; margin: 0; }
  .sp-status strong { font-weight: 500; }
  .mobile-cta-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ash); }
  .mobile-cta.is-open .mobile-cta-dot { background: #3ddc84; }
  .sp-btns { display: grid; grid-template-columns: 1fr 1.3fr; gap: 8px; }
  .ft { padding-bottom: 150px; }
}

/* v3：見出しの大きさの調整（PC） */
.ch-hero { max-width: 940px; }
.hero-ttl { font-size: clamp(40px, 6vw, 88px); }
.about .sec-ttl { font-size: clamp(26px, 2.6vw, 40px); }
.contact-ttl { font-size: clamp(40px, 4.4vw, 64px); }
.tel-num { font-size: clamp(36px, 4.2vw, 60px); white-space: nowrap; }
.tel-big { align-self: stretch; max-width: 520px; }
@media (max-width: 760px) {
  .hero-ttl { font-size: 40px; }
  .contact-ttl { font-size: 40px; }
  .tel-big { max-width: none; }
}
@media (max-width: 760px) {
  .news-media { aspect-ratio: 16 / 7; }
  .news-image-placeholder { font-size: 22px; }
}

/* ===================== 元の index.html から戻した部品 ===================== */
/* スマホ・タブレットのメニュー（main.js が .site-nav に is-open を付け外し） */
.nav-toggle { display: none; }
@media (max-width: 1024px) {
  .nav-toggle {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 44px; height: 44px; padding: 0 11px; border: 1px solid var(--line); border-radius: 10px; background: rgba(11, 10, 16, .6); cursor: pointer; order: 3;
  }
  .nav-toggle span { display: block; height: 2px; background: var(--white); transition: transform .3s, opacity .3s; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hd-cta { margin-left: auto; }
  .hd-nav.site-nav { display: none; }
  .hd-nav.site-nav.is-open {
    display: flex; flex-direction: column; gap: 0; position: fixed; left: 0; right: 0; top: var(--hd);
    background: rgba(11, 10, 16, .98); border-bottom: 1px solid var(--line); padding: 8px var(--gut) 20px; font-size: 16px;
  }
  .hd-nav.site-nav.is-open a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .hd-nav.site-nav.is-open a::after { display: none; }
  .hd-nav .nav-cta { margin-top: 14px; text-align: center; border: 0; border-radius: 999px; background: var(--gold); color: var(--ink); font-weight: 700; }
}
@media (min-width: 1025px) { .hd-nav .nav-cta { display: none; } }

/* 紹介欄のメイン写真 */
.about-photo { margin-top: 24px; border-radius: 8px; overflow: hidden; }
.about-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* 通い方カードの写真 */
.corner-img { position: absolute; top: 18px; right: 18px; width: 72px; height: 46px; border-radius: 6px; overflow: hidden; opacity: .9; }
.corner-img img { width: 100%; height: 100%; object-fit: cover; }

/* 料金カードのラベルと補足 */
.price-label { display: inline-block; font-family: var(--mono); font-weight: 700; font-size: 10px; letter-spacing: .15em; color: var(--purple); margin-bottom: 6px; }
.pc-note { display: block; margin-top: 8px; font-size: 12px; color: #6b6577; }

/* ギャラリー */
.gallery { background: var(--ink); padding: clamp(80px, 11vw, 140px) 0; }
.g-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 220px 220px; gap: 12px; margin-top: 36px; }
.g-tile { position: relative; display: block; padding: 0; border: 0; border-radius: 8px; overflow: hidden; background: var(--navy2); color: var(--white); cursor: zoom-in; font: inherit; text-align: left; }
.g-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
@media (hover: hover) { .g-tile:hover img { transform: scale(1.05); } }
.g1 { grid-row: span 2; }
.g-meta { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; padding: 30px 14px 12px; font-weight: 700; font-size: 14px; background: linear-gradient(transparent, rgba(11, 10, 16, .85)); }
.g-meta span:last-child { font-family: var(--en); color: var(--gold); }
.g-ig { cursor: pointer; display: flex; flex-direction: column; justify-content: space-between; padding: 18px; background: linear-gradient(135deg, var(--purple), #3b1d75); }
.g-ig-top { font-family: var(--mono); font-size: 11px; letter-spacing: .2em; }
.g-ig-mid { font-weight: 900; font-size: 22px; line-height: 1.4; }
.g-ig-sub { font-family: var(--mono); font-size: 12px; color: var(--gold); }
.ig-strip { margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto; gap: 8px 28px; align-items: center; }
.ig-strip h3 { font-size: 18px; font-weight: 900; }
.ig-strip p { font-size: 14px; color: #c9c3d6; grid-column: 1; }
.ig-strip .btn { grid-column: 2; grid-row: 1 / span 2; }

/* 写真の拡大表示（main.js が is-open を付け外し） */
.gallery-modal { position: fixed; inset: 0; z-index: 90; display: none; place-items: center; padding: 24px; background: rgba(11, 10, 16, .9); }
.gallery-modal.is-open { display: grid; }
.gallery-modal figure { max-width: min(1100px, 100%); }
.gallery-modal img { max-width: 100%; max-height: 80vh; border-radius: 8px; }
.gallery-modal img.is-hidden { display: none; }
.gallery-modal figcaption { margin-top: 10px; text-align: center; font-weight: 700; }
.gallery-modal-placeholder { display: none; }
.gallery-modal-placeholder.is-visible { display: block; color: #c9c3d6; }
.gallery-modal-close { position: absolute; top: 16px; right: 16px; width: 48px; height: 48px; border: 0; border-radius: 50%; background: var(--gold); color: var(--ink); font-size: 22px; cursor: pointer; }

/* PC の固定体験CTA（スクロールの途中から右下に出る） */
.floating-trial-cta {
  position: fixed; z-index: 58; right: 20px; bottom: 20px; width: 280px; padding: 14px; border-radius: 14px;
  background: rgba(20, 16, 28, .96); border: 1px solid rgba(201, 162, 75, .5); box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .8);
  transform: translateY(140%); transition: transform .45s cubic-bezier(.2, .8, .2, 1);
}
.floating-trial-cta.is-on { transform: none; }
.floating-trial-cta p span { display: block; font-family: var(--mono); font-size: 10px; letter-spacing: .2em; color: var(--purple-glow); }
.floating-trial-cta p strong { display: block; font-size: 15px; margin-top: 2px; }
.floating-trial-cta div { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 6px; margin-top: 10px; }
.floating-trial-cta a { min-height: 38px; display: grid; place-items: center; border-radius: 8px; border: 1px solid var(--line); font-size: 12px; font-weight: 700; }
.floating-trial-cta .floating-trial-main { background: var(--gold); color: var(--ink); border-color: var(--gold); }
@media (max-width: 760px) { .floating-trial-cta { display: none; } }

/* アクセス：駅からの道のり */
.access-route-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.access-route-grid article { padding: 14px; border-radius: 10px; border: 1px solid var(--line); }
.access-route-grid span { font-family: var(--en); color: var(--gold); font-size: 20px; }
.access-route-grid strong { display: block; font-size: 15px; margin-top: 4px; }
.access-route-grid small { display: block; font-size: 12px; color: #c9c3d6; margin-top: 4px; line-height: 1.7; }

/* 通い方：背景を紫に、見出しを 3D のロープより手前で読みやすく */
.courses { background: radial-gradient(120% 90% at 50% 100%, #2a1650 0%, var(--ink) 60%); }
.courses-head .sec-ttl { text-shadow: 0 2px 18px rgba(11, 10, 16, .95), 0 0 2px rgba(11, 10, 16, .9); }

@media (max-width: 760px) {
  .g-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 200px 130px 130px; }
  .g1 { grid-column: span 2; grid-row: auto; }
  .g5 { grid-column: span 2; }
  .g-ig { min-height: 120px; }
  .ig-strip { grid-template-columns: 1fr; }
  .ig-strip .btn { grid-column: 1; grid-row: auto; justify-self: start; }
  .access-route-grid { grid-template-columns: 1fr; }
  .corner-img { width: 60px; height: 40px; top: 16px; right: 16px; }
}

/* 3D リングと地図の上では固定ボタンを隠す（カードや地図に重ならないように） */
body.hide-float .floating-trial-cta { transform: translateY(140%); }

/* 幅400px以下：ヘッダーが2行に折れないよう、体験入会ボタンは画面下の固定バーに任せる */
@media (max-width: 400px) {
  .hd-cta .btn-sm { display: none; }
  .hd-logo-en { font-size: 20px; }
}
/* 隠れている固定CTAには、キーボードでも移らない */
.floating-trial-cta { visibility: hidden; transition: transform .45s cubic-bezier(.2, .8, .2, 1), visibility 0s linear .45s; }
.floating-trial-cta.is-on { visibility: visible; transition: transform .45s cubic-bezier(.2, .8, .2, 1), visibility 0s; }
body.hide-float .floating-trial-cta { visibility: hidden; transition: transform .45s cubic-bezier(.2, .8, .2, 1), visibility 0s linear .45s; }
