/* WEROX の紹介ページ(トップ)。黒と黄色の「計器」。スクリプトは使わない(CSP で禁止している)。
   インラインの style 属性も CSP で止まるので、見た目はすべてこのファイルに書く。
   利用規約などのページは style.css のまま。 */
:root {
  --y: #ffe600;
  --ink: #0b0c0d;
  --ink2: #121416;
  --char: #1a1c1f;
  --char2: #24272a;
  --line: #2f3337;
  --line2: #3b3f44;
  --white: #f2f3f3;
  --paper: #e9eaeb;
  --sub: #a9adb1;
  --sub2: #6c7074;
  --cy: #39b9e6;
  --or: #ff9500;
  --gr: #3ecf7a;
  --f: 'Zen Kaku Gothic New', 'Hiragino Sans', 'Yu Gothic', sans-serif;
  --fc: 'Barlow Condensed', 'Zen Kaku Gothic New', sans-serif;
  /* 見出し:明朝の太字。英字は Barlow Condensed を先に当てる */
  --fm: 'Barlow Condensed', 'Shippori Mincho B1', 'Hiragino Mincho ProN', 'Yu Mincho', serif;
  --fmj: 'Shippori Mincho B1', 'Hiragino Mincho ProN', 'Yu Mincho', serif;
  --rail: 88px;
  --pad: 20px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 56px; overflow-x: clip; }
body { background: var(--ink); color: var(--white); font-family: var(--f); font-weight: 500; font-size: 16px; line-height: 1.85; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 var(--pad); }
.lab { font-family: var(--fc); font-weight: 600; font-size: 13px; letter-spacing: 0.2em; color: var(--sub); }
.pc { display: none; }
.sp { display: inline; }
:focus-visible { outline: 3px solid var(--y); outline-offset: 3px; }

/* ---------- 左の縦の目次(PC)/ 上の帯(スマホ) ---------- */
.rail { position: fixed; z-index: 50; top: 0; left: 0; right: 0; display: flex; flex-wrap: nowrap; align-items: center; justify-content: space-between; padding: 0 var(--pad); background: rgba(11, 12, 13, 0.9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.rail-logo { display: inline-flex; align-items: center; gap: 10px; height: 52px; text-decoration: none; font-family: var(--fc); font-weight: 700; font-size: 22px; letter-spacing: 0.1em; }
.rail-logo img { width: 32px; height: auto; }
.rail-cta { display: inline-flex; gap: 6px; align-items: center; height: 30px; padding: 0 12px; background: var(--y); color: var(--ink); text-decoration: none; font-weight: 900; font-size: 12px; }
.rail-cta span:first-child { font-family: var(--fc); font-size: 14px; }
.rail-nav { display: none; }
.rail-cta { margin-left: auto; margin-right: 6px; }
/* スマホ:ハンバーガーメニュー(:target で開く) */
.menu-open { width: 44px; height: 44px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; }
.menu-open i, .menu-close i { width: 24px; height: 2px; background: var(--white); }
.menu { position: fixed; inset: 0; z-index: 70; overflow-y: auto; background: var(--ink); padding: 64px var(--pad) 24px; display: none; flex-direction: column; border-top: 3px solid var(--y); }
.menu:target { display: flex; }
.menu a { display: flex; align-items: center; gap: 16px; min-height: 60px; text-decoration: none; font-weight: 900; font-size: 20px; border-bottom: 1px solid var(--line); }
.menu a b { font-family: var(--fc); color: var(--y); font-size: 17px; width: 28px; }
.menu .menu-close { position: absolute; top: 8px; right: 12px; width: 44px; height: 44px; min-height: 0; border: 0; justify-content: center; }
.menu-close i { position: absolute; }
.menu-close i:first-child { transform: rotate(45deg); }
.menu-close i:last-child { transform: rotate(-45deg); }

/* ---------- 最初の画面 ---------- */
.hero { position: relative; contain: paint; min-height: 100svh; padding: 96px 0 26px; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; z-index: -3; filter: contrast(1.2) brightness(0.9); transform: scale(1.06); animation: drift 22s ease-in-out infinite alternate; }
.hero-shade { position: absolute; inset: 0; z-index: -2; background: linear-gradient(180deg, rgba(11,12,13,0.35) 0%, rgba(11,12,13,0.05) 30%, rgba(11,12,13,0.8) 66%, var(--ink) 100%), linear-gradient(90deg, rgba(11,12,13,0.7), transparent 70%); }
.hero-grid { position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent); -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent); }
.hud { position: absolute; font-family: var(--fc); font-weight: 600; font-size: 12px; letter-spacing: 0.18em; color: var(--sub); }
.hud-tl { top: 70px; left: var(--pad); }
.hud-tl em { font-style: normal; color: var(--y); }
.rec::before { content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #ff3b30; margin-right: 6px; animation: blink 1.4s steps(1) infinite; }
.hud-tr { display: none; top: 104px; right: var(--pad); grid-template-columns: auto auto; column-gap: 12px; align-items: baseline; text-align: right; border-right: 3px solid var(--y); padding-right: 10px; }
.hud-tr b { font-size: 26px; color: var(--white); letter-spacing: 0.04em; }
.hero-body { padding: 0 var(--pad); max-width: 980px; }
.eyebrow { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.eyebrow span { font-family: var(--fc); font-weight: 600; font-size: 13px; letter-spacing: 0.16em; padding: 3px 10px; border: 1px solid rgba(242,243,243,0.4); }
.eyebrow span:first-child { background: var(--y); color: var(--ink); border-color: var(--y); }
h1 { font-weight: 900; line-height: 1.12; letter-spacing: -0.01em; font-size: clamp(44px, 12.5vw, 112px); }
h1 span { display: block; white-space: nowrap; }
h1 .l1 { font-family: var(--fc); font-weight: 800; font-style: italic; letter-spacing: 0.01em; }
h1 .l3 { display: inline-block; background: var(--y); color: var(--ink); padding: 0.02em 0.18em 0.06em; margin: 0.12em 0 0 -0.08em; font-size: 0.62em; transform: skewX(-8deg); }
.lead { margin-top: 22px; max-width: 34em; font-size: clamp(15.5px, 2.3vw, 18px); color: #d6d8da; }
.hero-cta { margin-top: 26px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.cta { display: inline-flex; flex-direction: column; justify-content: center; min-height: 60px; padding: 8px 28px 8px 20px; background: var(--y); color: var(--ink); font-weight: 900; font-size: 18px; line-height: 1.3; clip-path: polygon(0 0, 100% 0, 100% 70%, calc(100% - 16px) 100%, 0 100%); }
.cta small { font-family: var(--fc); font-weight: 700; font-size: 12px; letter-spacing: 0.2em; }
.cta-sub { font-weight: 700; font-size: 14.5px; color: var(--white); }
.hero-note { margin: 18px var(--pad) 0; font-size: 12.5px; color: var(--sub2); }

/* ---------- ひとことで ---------- */
.intro { padding: 84px 0 70px; background: radial-gradient(ellipse at 80% 0%, rgba(255,230,0,0.08), transparent 60%), var(--ink); }
.intro h2 { margin-top: 12px; font-weight: 900; font-size: clamp(22px, 5.6vw, 44px); line-height: 1.5; }
.nw { white-space: nowrap; }
/* 使い方の流れ。1本の黄色い線の上に5つの点。最後から最初へ、点線で戻る(次の大会へ、の輪) */
.intro-in { display: grid; gap: 44px; }
.intro-flow { list-style: none; position: relative; padding: 6px 0 6px 34px; display: grid; gap: 26px; }
.intro-flow::before { content: ''; position: absolute; left: 6px; top: 22px; bottom: 22px; width: 2px; background: linear-gradient(var(--y), var(--y) 78%, rgba(255,230,0,0.25)); }
/* 戻りの点線と、上を向いた矢じり */
.intro-flow::after { content: ''; position: absolute; left: -14px; top: 22px; bottom: 22px; width: 20px; border: 1.5px dashed var(--sub2); border-right: 0; border-radius: 14px 0 0 14px; }
.intro-flow li { position: relative; display: grid; grid-template-columns: auto 1fr; column-gap: 16px; align-items: baseline; }
.intro-flow li::before { content: ''; position: absolute; left: -34px; top: 10px; width: 14px; height: 14px; background: var(--ink); border: 2px solid var(--y); transform: rotate(45deg); }
.intro-flow li:first-child::before, .intro-flow li:nth-child(4)::before { background: var(--y); }
.intro-flow li:first-child::after { content: ''; position: absolute; left: -53px; top: 2px; border: 5px solid transparent; border-bottom: 8px solid var(--sub2); border-top: 0; }
.intro-flow b { grid-row: span 2; font-family: var(--fc); font-weight: 700; font-size: 44px; line-height: 0.9; color: transparent; -webkit-text-stroke: 1.5px var(--y); letter-spacing: 0.02em; }
.intro-flow li:nth-child(4) b { color: var(--y); }
.intro-flow span { font-weight: 800; font-size: 19px; line-height: 1.35; }
.intro-flow i { font-style: normal; font-family: var(--fc); font-weight: 600; font-size: 12px; letter-spacing: 0.24em; color: var(--sub2); }

/* ---------- アプリの画面 ---------- */
.screens { padding: 0 0 84px; background: var(--ink); }
.screens h2 { margin-top: 8px; font-weight: 900; font-size: clamp(26px, 5.6vw, 40px); }
.screens-row { margin-top: 28px; display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--pad) 12px; scrollbar-width: none; }
.screens-row::-webkit-scrollbar { display: none; }
.screens-row figure { flex: 0 0 62%; scroll-snap-align: center; }
.frame { border: 6px solid #2a2d30; border-radius: 30px; overflow: hidden; background: #000; box-shadow: 0 24px 48px rgba(0,0,0,0.5); }
.frame img { width: 100%; height: auto; }
.screens-row figcaption { margin-top: 12px; display: flex; align-items: baseline; gap: 8px; font-weight: 700; font-size: 15px; }
.screens-row figcaption b { font-family: var(--fc); color: var(--y); font-size: 15px; }

/* ---------- 機能の帯(見出し) ---------- */
.feature { position: relative; padding: 0 0 88px; background: var(--paper); color: var(--ink); overflow: hidden; }
.feature.dark { background: var(--ink2); color: var(--white); }
.band { position: relative; display: flex; align-items: center; gap: 12px; min-height: 76px; padding: 0 var(--pad); background: var(--y); color: var(--ink); margin-bottom: 52px; overflow: hidden; }
.band::after { content: ''; position: absolute; right: 0; top: 0; bottom: 0; width: 40%; background: repeating-linear-gradient(-60deg, transparent 0 14px, rgba(11,12,13,0.08) 14px 16px); }
.band-no { position: relative; z-index: 1; font-family: var(--fc); font-weight: 800; font-size: 54px; line-height: 1; letter-spacing: -0.02em; }
.band-en { position: relative; z-index: 1; font-family: var(--fc); font-weight: 700; font-size: 13px; letter-spacing: 0.14em; line-height: 1.3; max-width: 9em; min-width: 0; }
.band-jp { position: relative; z-index: 1; margin-left: auto; font-weight: 900; font-size: 17px; background: var(--ink); color: var(--y); padding: 4px 12px; }
.feature-in { display: grid; gap: 40px; }
.kicker { font-weight: 700; font-size: 15px; color: var(--sub2); letter-spacing: 0.08em; }
.dark .kicker { color: var(--sub); }
.copy h2 { margin-top: 10px; font-weight: 900; font-size: clamp(30px, 7vw, 50px); line-height: 1.3; letter-spacing: -0.01em; }
.copy .body, .body { margin-top: 20px; font-size: 16.5px; line-height: 1.95; color: #3a3e42; max-width: 32em; }
.dark .copy .body, .price .body { color: #c9cdd1; }
.points { list-style: none; margin-top: 24px; display: grid; gap: 8px; }
.points li { position: relative; padding: 12px 14px 12px 46px; font-weight: 700; font-size: 15.5px; line-height: 1.55; background: rgba(11,12,13,0.06); }
.dark .points li { background: rgba(255,255,255,0.06); }
.points li::before { content: ''; position: absolute; left: 14px; top: 50%; width: 18px; height: 18px; margin-top: -9px; background: var(--ink); clip-path: polygon(14% 52%, 0 66%, 38% 100%, 100% 22%, 86% 8%, 38% 72%); }
.dark .points li::before { background: var(--y); }
.vlab { font-family: var(--fc); font-weight: 600; font-size: 12.5px; letter-spacing: 0.18em; color: var(--sub2); display: flex; justify-content: space-between; gap: 10px; }
.vlab em { font-style: normal; color: var(--ink); background: var(--y); padding: 0 6px; }
.dark .vlab { color: var(--sub); }

/* 01 プラン */
.plan-visual { position: relative; display: grid; gap: 14px; }
.plan-visual .photo { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; filter: contrast(1.1); clip-path: polygon(0 0, 100% 0, 100% 86%, 92% 100%, 0 100%); }
.phases { background: var(--ink); color: var(--white); padding: 16px; }
.phase-row { margin-top: 12px; display: grid; grid-template-columns: 4fr 4fr 2.4fr 2fr 1fr; gap: 3px; }
.ph b { white-space: nowrap; }
.ph { display: flex; flex-direction: column; justify-content: center; min-height: 54px; padding: 0 8px; line-height: 1.2; }
.ph b { font-family: var(--fc); font-weight: 700; font-size: 15px; letter-spacing: 0.1em; }
.ph small { font-size: 11px; font-weight: 700; white-space: nowrap; }
.ph.base { background: #3a3e42; }
.ph.build { background: #5a5e62; }
.ph.peak { background: var(--cy); color: var(--ink); }
.ph.taper { background: #c9cdd1; color: var(--ink); }
.ph.race { background: var(--y); color: var(--ink); align-items: center; padding: 0 2px; }
.ph.race b { font-size: 12px; }
.weeks { margin-top: 10px; display: grid; grid-template-columns: repeat(12, 1fr); gap: 3px; align-items: end; height: 56px; }
.weeks i { display: block; background: rgba(242,243,243,0.7); }
.weeks .w1 { height: 40%; } .weeks .w2 { height: 48%; } .weeks .w3 { height: 56%; } .weeks .w4 { height: 38%; }
.weeks .w5 { height: 62%; } .weeks .w6 { height: 72%; } .weeks .w7 { height: 82%; } .weeks .w8 { height: 50%; }
.weeks .w9 { height: 92%; } .weeks .w10 { height: 100%; } .weeks .w11 { height: 56%; } .weeks .w12 { height: 30%; }
.weeks .d { background: rgba(242,243,243,0.28); }
.weeks .r { background: var(--y); }
.phone { display: none; }

/* 02 記録と分析 */
.data-visual { background: var(--ink); border: 1px solid var(--line); padding: 16px; }
.radar { width: 100%; max-width: 360px; margin: 14px auto 6px; }
.radar-me { animation: pulse 3.2s ease-in-out infinite; transform-origin: 160px 160px; }
.deltas { display: grid; gap: 4px; }
.deltas div { display: flex; align-items: baseline; gap: 10px; padding: 10px 12px; background: var(--char); }
.deltas span { flex: 1; font-weight: 700; font-size: 15px; }
.deltas b { font-family: var(--fc); font-weight: 700; font-size: 26px; line-height: 1; }
.deltas .good { color: var(--gr); }
.deltas .pb { color: var(--ink); background: var(--y); padding: 2px 8px; font-size: 20px; }
.deltas small { font-size: 12px; color: var(--sub); white-space: nowrap; }

/* 03 種目ガイド */
.stations { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.stations figure { position: relative; overflow: hidden; background: var(--ink); aspect-ratio: 4 / 3; }
.stations figure.wide { grid-column: 1 / -1; aspect-ratio: 2 / 1; }
.stations img { width: 100%; height: 100%; object-fit: cover; filter: contrast(1.1) brightness(0.72); transition: transform 0.5s, filter 0.5s; }
.stations figure:hover img { transform: scale(1.05); filter: contrast(1.1) brightness(0.9); }
.stations figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 10px 8px; background: linear-gradient(transparent, rgba(11,12,13,0.92)); color: var(--white); font-weight: 900; font-size: 14px; line-height: 1.35; }
.stations figcaption b { display: block; font-family: var(--fc); font-weight: 700; font-size: 12px; color: var(--y); letter-spacing: 0.14em; }
.stations figcaption small { display: block; font-family: var(--fc); font-weight: 600; font-size: 13px; color: var(--sub); letter-spacing: 0.08em; }

/* 04 レース当日 */
.race-visual { display: grid; gap: 18px; justify-items: center; background: radial-gradient(circle at 50% 42%, rgba(255,230,0,0.1), transparent 60%); border: 1px solid var(--line); padding: 16px; position: relative; }
.race-visual .vlab { width: 100%; }
.race-visual::before { content: ''; position: absolute; left: 50%; top: 46%; width: 340px; height: 340px; margin: -170px 0 0 -170px; border-radius: 50%; border: 1px dashed rgba(242,243,243,0.14); animation: spin 40s linear infinite; }
.watch { position: relative; width: 210px; height: 252px; padding: 12px; border-radius: 52px; background: linear-gradient(145deg, #3a3e42, #17191b); box-shadow: 0 30px 60px rgba(0,0,0,0.6), inset 0 0 0 2px #4a4e52; }
.watch::after { content: ''; position: absolute; right: -9px; top: 70px; width: 8px; height: 46px; border-radius: 4px; background: #3a3e42; }
.watch-face { height: 100%; border-radius: 42px; background: #000; padding: 22px 16px 14px; display: flex; flex-direction: column; font-family: var(--fc); }
.w-top { display: flex; justify-content: space-between; font-size: 13px; color: var(--sub); font-weight: 600; letter-spacing: 0.06em; }
.w-top .hr { color: #ff453a; }
.w-name { font-family: var(--f); font-weight: 700; font-size: 17px; margin-top: 2px; }
.w-time { font-weight: 700; font-size: 58px; line-height: 1; color: var(--y); letter-spacing: 0.02em; }
.w-diff { display: flex; gap: 8px; align-items: baseline; font-size: 14px; color: var(--sub); }
.w-diff b { color: var(--gr); font-size: 17px; }
.w-btn { margin-top: auto; display: flex; gap: 6px; }
.w-btn span { display: flex; align-items: center; justify-content: center; height: 36px; border-radius: 18px; font-family: var(--f); font-weight: 700; font-size: 14px; }
.w-btn .pause { width: 46px; background: #3d3a10; color: var(--y); }
.w-btn .next { flex: 1; background: var(--y); color: var(--ink); }
.segs { width: 100%; }
.seg-row { display: grid; grid-template-columns: repeat(8, 1.05fr 1fr); gap: 2px; height: 30px; align-items: end; }
.seg-row i { display: block; height: 100%; }
.seg-row .r { background: var(--cy); height: 70%; }
.seg-row .s { background: var(--or); }
.seg-row .s1 { height: 62%; } .seg-row .s2 { height: 46%; } .seg-row .s3 { height: 64%; } .seg-row .s4 { height: 72%; }
.seg-row .s5 { height: 60%; } .seg-row .s6 { height: 36%; } .seg-row .s7 { height: 70%; } .seg-row .s8 { height: 100%; }
.seg-key { margin-top: 10px; display: flex; align-items: center; gap: 14px; font-size: 13px; font-weight: 700; color: var(--sub); }
.seg-key span::before { content: ''; display: inline-block; width: 10px; height: 10px; margin-right: 6px; }
.k-run::before { background: var(--cy); }
.k-st::before { background: var(--or); }
.seg-key b { margin-left: auto; font-family: var(--fc); font-size: 18px; color: var(--white); letter-spacing: 0.04em; }

/* 05 ダブルス */
.split-visual { background: var(--ink); color: var(--white); padding: 16px; }
.split-card { margin-top: 12px; }
.who { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; font-weight: 700; font-size: 14.5px; }
.who .lg-a { color: var(--y); }
.who b { margin-left: auto; font-family: var(--fc); font-size: 20px; letter-spacing: 0.04em; }
.split-card dl { margin-top: 10px; display: grid; gap: 9px; }
.split-card dt { font-weight: 700; font-size: 13.5px; margin-bottom: 3px; }
.split-card dd { display: flex; gap: 2px; }
.split-card dd i { display: flex; align-items: center; justify-content: center; height: 28px; font-family: var(--fc); font-style: normal; font-weight: 700; font-size: 14px; color: var(--ink); min-width: 0; overflow: hidden; }
.split-card .a { background: var(--y); }
.split-card .b { background: var(--white); }
.f50 { flex: 2; } .f25 { flex: 1; } .f20 { flex: 1; }

/* ---------- 料金 ---------- */
.price { padding: 0 0 92px; background: var(--ink); }
.price h2 { text-align: center; font-weight: 900; font-size: clamp(30px, 7vw, 50px); line-height: 1.3; }
.center { margin-left: auto; margin-right: auto; text-align: center; }
.plans { margin-top: 40px; display: grid; gap: 12px; }
.plan { background: var(--char); padding: 24px 20px; border-top: 4px solid var(--line2); }
.plan.pro { background: var(--y); color: var(--ink); border-top-color: var(--ink); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%); }
.plan-name { font-family: var(--fc); font-weight: 800; font-size: 34px; line-height: 1; letter-spacing: 0.04em; display: flex; align-items: baseline; gap: 10px; }
.plan-name small { font-family: var(--f); font-weight: 700; font-size: 14px; letter-spacing: 0; opacity: 0.75; }
.plan ul { list-style: none; margin-top: 16px; display: grid; gap: 4px; }
.plan li { position: relative; padding-left: 22px; font-weight: 700; font-size: 15.5px; line-height: 1.7; }
.plan li::before { content: ''; position: absolute; left: 0; top: 0.62em; width: 10px; height: 10px; background: var(--y); transform: rotate(45deg); }
.plan.pro li::before { background: var(--ink); }
.yen { margin-top: 18px; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; }
.yen b { font-family: var(--fc); font-weight: 800; font-size: 50px; line-height: 1; }
.yen span { font-weight: 700; font-size: 14px; }
.yen-sub { font-weight: 700; font-size: 14px; }
.fine { margin-top: 18px; text-align: center; font-size: 13px; color: var(--sub); }

/* ---------- よくある質問 ---------- */
.faq { padding: 84px 0; background: var(--paper); color: var(--ink); }
.faq .lab { color: var(--sub2); }
.faq h2 { margin-top: 8px; font-weight: 900; font-size: clamp(28px, 6vw, 40px); }
.faq-list { margin-top: 28px; display: grid; gap: 6px; max-width: 860px; }
.faq details { background: #f7f7f7; border-left: 4px solid var(--ink); }
.faq summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 12px 52px 12px 18px; position: relative; font-weight: 700; font-size: 16.5px; line-height: 1.5; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 18px; font-family: var(--fc); font-weight: 600; font-size: 28px; }
.faq details[open] summary::after { content: '−'; }
.faq details p { padding: 0 18px 18px; font-size: 15.5px; color: #3a3e42; }

/* ---------- 最後のひとこと ---------- */
.final { position: relative; min-height: 70svh; display: flex; align-items: center; overflow: hidden; isolation: isolate; }
.final img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; filter: brightness(0.7) contrast(1.1); }
.final::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(11,12,13,0.9), rgba(11,12,13,0.4)), repeating-linear-gradient(0deg, rgba(255,255,255,0.03) 0 1px, transparent 1px 4px); }
.final-in { padding: 80px var(--pad); }
.final h2 { margin: 12px 0 28px; font-weight: 900; font-size: clamp(32px, 7.5vw, 64px); line-height: 1.25; }

/* ---------- 下の帯 ---------- */
.footer { background: #050606; color: var(--sub); padding: 44px 0 calc(44px + env(safe-area-inset-bottom)); font-size: 13px; line-height: 1.8; border-top: 3px solid var(--y); }
.footer .rail-logo { color: var(--white); }
.footer nav { margin: 18px 0; display: flex; flex-wrap: wrap; gap: 6px 22px; }
.footer nav a { color: var(--white); font-weight: 700; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.footer nav a:hover { text-decoration: underline; text-underline-offset: 5px; }
.copy-r { margin-top: 10px; font-family: var(--fc); letter-spacing: 0.1em; }

/* ---------- 動き ---------- */
@keyframes drift { to { transform: scale(1.14) translate(-1.5%, -1%); } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes pulse { 50% { opacity: 0.72; } }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- 少し広い幅 ---------- */
@media (min-width: 640px) {
  .screens-row figure { flex-basis: 38%; }
  .hud-tr { display: grid; }
  .stations { grid-template-columns: repeat(3, 1fr); }
  .stations figure.wide { grid-column: span 3; aspect-ratio: 3 / 1; }
  .plans { grid-template-columns: 1fr 1fr; }
  .band-en { font-size: 18px; max-width: none; }
  .band-no { font-size: 64px; }
  .sp { display: none; }
}

/* ---------- PC:左に縦の目次 ---------- */
@media (min-width: 1024px) {
  .intro-in { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); align-items: center; gap: 64px; }
  .intro-flow { gap: 30px; }
  .intro-flow b { font-size: 52px; }
  .intro-flow span { font-size: 21px; }
  :root { --pad: 48px; }
  html { scroll-padding-top: 0; }
  body { padding-left: var(--rail); }
  .pc { display: inline; }
  .rail { right: auto; bottom: 0; width: var(--rail); height: auto; flex-direction: column; justify-content: flex-start; padding: 22px 0; border-bottom: 0; border-right: 1px solid var(--line); background: rgba(11, 12, 13, 0.92); }
  .rail-logo { flex-direction: column; gap: 8px; font-size: 15px; letter-spacing: 0.14em; }
  .menu-open, .menu, .menu:target { display: none; }
  .rail-cta { margin: auto 0 0; }
  .rail-logo { height: auto; }
  .rail-nav { order: 0; flex: none; margin: 38px 0 0; padding: 0; border-top: 0; overflow: visible; display: flex; flex-direction: column; width: 100%; }
  .rail-nav a { margin: 0; height: auto; white-space: normal; font-size: inherit; }
  .rail-nav a { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 14px 4px; text-decoration: none; color: var(--sub); transition: color 0.2s, background 0.2s; }
  .rail-nav a b { font-family: var(--fc); font-weight: 700; font-size: 20px; line-height: 1; }
  .rail-nav a span { font-size: 10.5px; font-weight: 700; line-height: 1.3; text-align: center; }
  .rail-nav a:hover { color: var(--ink); background: var(--y); }
  .rail-cta { display: flex; flex-direction: column; align-items: center; margin-top: auto; width: 64px; height: auto; padding: 14px 0; background: var(--y); color: var(--ink); text-decoration: none; font-weight: 900; font-size: 12px; line-height: 1.5; clip-path: polygon(0 0, 100% 0, 100% 86%, 82% 100%, 0 100%); }
  .rail-cta span:first-child { font-family: var(--fc); font-size: 15px; letter-spacing: 0.04em; }
  .hero { padding: 60px 0 40px; }
  .hud-tl { top: 34px; }
  .hud-tr { top: 34px; }
      .band { padding: 0 var(--pad); min-height: 96px; }
  .band-no { font-size: 84px; }
  .band-en { font-size: 22px; }
  .band-jp { font-size: 20px; padding: 6px 16px; }
  .feature-in { grid-template-columns: 1fr 1.05fr; align-items: center; gap: 64px; }
  .feature-in.flip .copy { order: 2; }
  .feature { padding-bottom: 120px; }
  .intro { padding: 120px 0 100px; }
  .plan-visual { min-height: 400px; align-content: end; }
  .plan-visual .phases { margin-right: 170px; }
  .phone { display: block; position: absolute; right: 0; bottom: -28px; width: 158px; border: 6px solid var(--ink); border-radius: 28px; overflow: hidden; background: var(--ink); box-shadow: 0 30px 50px rgba(0,0,0,0.4); }
  .phone img { width: 100%; height: auto; }
  .stations { grid-template-columns: repeat(3, 1fr); }
  .watch { width: 230px; height: 276px; }
  .w-time { font-size: 66px; }
  .final-in { padding: 120px var(--pad); }
  .screens { padding-bottom: 120px; }
  .screens-row { max-width: 1280px; margin: 36px auto 0; overflow: visible; justify-content: center; }
  .screens-row figure { flex: 0 1 220px; }
  .screens-row figure:nth-child(even) { transform: translateY(40px); }
}

/* ---------- 見出しの書体(明朝) ---------- */
h1 .l2,
.intro h2, .copy h2, .screens h2, .price h2, .faq h2, .final h2 { font-family: var(--fmj); font-weight: 800; letter-spacing: 0.02em; font-feature-settings: 'palt'; }
h1 .l2 { font-size: 1.04em; line-height: 1.15; }
/* 黄色の帯の中はゴシック(ユーザーの指示) */
h1 .l3 { font-family: var(--f); font-weight: 900; }
.copy h2 { line-height: 1.35; font-size: clamp(25px, 7.2vw, 50px); }
.price h2, .final h2 { font-size: clamp(25px, 7.2vw, 56px); }
.copy h2::first-line { color: inherit; }
.band-jp { font-family: var(--fmj); font-weight: 800; letter-spacing: 0.04em; white-space: nowrap; }
.kicker { font-family: var(--fmj); font-weight: 700; letter-spacing: 0.12em; }
.stations figcaption { font-family: var(--fmj); font-weight: 800; letter-spacing: 0.02em; }
.cta { font-family: var(--fmj); font-weight: 800; }
.cta small { font-family: var(--fc); }
