/* トップページ（2026-11）
   方向：レースのパドック。エントリーリスト・ゼッケン・計時の掲示・スタートシグナルを、紙と黒インクの質感で。
   文字の大きさ：48（最初の見出し）・32（締め）・28（見出し）・20・16・13。数字だけ Barlow Condensed */
.hp{max-width:calc(var(--page) + 2 * var(--gut));margin:0 auto;padding:0 var(--gut) 48px;--ink:#1c1b19;--paper:#f3f2ee}
.hp-num{font-family:var(--font-disp);font-weight:700;font-variant-numeric:tabular-nums;letter-spacing:0;line-height:1}
.hp-num small{font-size:.42em;font-weight:700;margin-left:2px;letter-spacing:.02em}

/* ボタン */
.hp-btn{display:inline-flex;align-items:center;justify-content:center;min-height:52px;padding:0 28px;border-radius:6px;background:var(--accent);color:#fff;font-weight:700;text-decoration:none;border:2px solid var(--accent);transition:transform .15s,background .15s}
.hp-btn:hover{color:#fff;background:var(--accent-dark);border-color:var(--accent-dark);transform:translateY(-1px)}
.hp-btn.ghost{background:transparent;color:var(--fg);border-color:var(--fg)}
.hp-btn.ghost:hover{background:var(--fg);color:var(--paper)}

/* 参加者一覧の見本（印刷されたエントリーリストのように） */
.hp-sheet{position:relative;margin:0 0 28px;background:#fff;border:1px solid var(--line);border-radius:10px;box-shadow:0 1px 0 rgba(0,0,0,.04),0 18px 40px -18px rgba(28,27,25,.35);overflow:visible}
.hp-sheet-top{display:flex;align-items:center;justify-content:space-between;padding:10px 16px;background:var(--ink);color:var(--paper);border-radius:9px 9px 0 0}
.hp-sheet-lb{font-family:var(--font-disp);font-weight:700;font-size:16px;letter-spacing:.18em}
.hp-live{display:flex;align-items:center;gap:6px;font-size:12px;font-weight:700}
.hp-live i{width:8px;height:8px;border-radius:50%;background:#3ddc84;box-shadow:0 0 0 0 rgba(61,220,132,.6);animation:hp-pulse 1.8s infinite}
@keyframes hp-pulse{0%{box-shadow:0 0 0 0 rgba(61,220,132,.55)}70%{box-shadow:0 0 0 8px rgba(61,220,132,0)}100%{box-shadow:0 0 0 0 rgba(61,220,132,0)}}
.hp-sheet-title{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:4px 12px;margin:0;padding:14px 16px 10px;font-weight:700;border-bottom:2px solid var(--ink)}
.hp-sheet-title span{font-size:12px;font-weight:500;color:var(--muted)}
.hp-sheet-tb{width:100%;border-collapse:collapse;font-size:var(--fs-s)}
.hp-sheet-tb th{font-size:11px;font-weight:700;color:var(--muted);text-align:left;padding:8px 6px;border-bottom:1px solid var(--line);white-space:nowrap}
.hp-sheet-tb td{padding:8px 6px;border-bottom:1px solid var(--line);white-space:nowrap}
.hp-sheet-tb th:first-child,.hp-sheet-tb td:first-child{padding-left:16px}
.hp-sheet-tb th:last-child,.hp-sheet-tb td:last-child{padding-right:16px}
.hp-sheet-tb tr:last-child td{border-bottom:0}
.hp-car{overflow:hidden;text-overflow:ellipsis;max-width:9.5em}
.hp-no{display:inline-block;min-width:34px;padding:2px 4px 1px;border:2px solid var(--ink);border-radius:4px;background:#fff;font-family:var(--font-disp);font-weight:700;font-size:17px;line-height:1.1;text-align:center}
.hp-pay{display:inline-block;padding:1px 8px;border-radius:999px;font-size:11px;font-weight:700;background:var(--bg);color:var(--muted)}
.hp-pay.ok{background:#e4f3eb;color:var(--ok)}
@media (max-width:440px){.hp-sheet-tb th:nth-child(4),.hp-sheet-tb td:nth-child(4){display:none}}
/* 動き：行が 1 行ずつ入り、最後に新しい申込が届く */
.hpjs .kv-stage:not(.on) tbody tr,.hpjs .kv-stage:not(.on) .kv-float{opacity:0}
.kv-stage.on tbody tr{animation:hp-row .5s cubic-bezier(.2,.8,.2,1) calc(var(--i) * .12s + .15s) both}
.kv-stage.on .kv-float-map{animation:hp-toast .6s cubic-bezier(.2,1.2,.4,1) .5s both}
.kv-stage.on .kv-float-new{animation:hp-toast .55s cubic-bezier(.2,1.4,.4,1) 1.1s both}
@keyframes hp-row{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@keyframes hp-toast{from{opacity:0;transform:translateY(14px) scale(.96)}to{opacity:1}}
@media (prefers-reduced-motion:reduce){.kv-stage tbody tr,.kv-float,.hp-live i{animation:none!important;opacity:1!important}}

/* 計時の掲示板 */
.hp-board{display:grid;grid-template-columns:1fr 1fr;gap:1px;margin:40px 0 0;background:#3a3934;border-radius:12px;overflow:hidden}
@media (min-width:760px){.hp-board{grid-template-columns:repeat(4,1fr)}}
.hp-board>div{display:flex;flex-direction:column;gap:8px;padding:20px;background:var(--ink);color:#d9d6cc}
.hp-board .hp-num{font-size:44px;color:#fff}
@media (min-width:760px){.hp-board .hp-num{font-size:56px}}
.hp-board .hp-num small{color:var(--accent);font-size:.4em}
.hp-board span{font-size:var(--fs-s);line-height:1.5}
.hp-board>div:first-child .hp-num{color:#ff6a4d}

.hp-news{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 12px;margin:16px 0 0;padding:12px 0;border-bottom:1px solid var(--line);font-size:var(--fs-s)}
.hp-news b{font-weight:700}.hp-news time{color:var(--muted);font-family:var(--font-disp);font-size:15px}
.hp-more{margin-left:auto;color:var(--muted)}

/* セクション */
.hp-sec{padding:64px 0 0}
.hp-h2{margin:0 0 16px;font-size:var(--fs-xl);line-height:1.35;letter-spacing:-.005em}
.hp-sub{margin:-6px 0 20px;font-size:var(--fs-s);color:var(--muted)}
.hp-eyebrow{display:flex;align-items:center;gap:10px;margin:0 0 12px;font-size:var(--fs-s);font-weight:700}
.hp-eyebrow span{font-family:var(--font-disp);font-size:16px;letter-spacing:.06em;padding:2px 8px 1px;border-radius:3px;background:var(--accent);color:#fff}
.hp-links{margin:20px 0 0;font-weight:700}
.hp-links a::after{content:" →";color:var(--accent)}

/* 01 告知 */
.hp-reach{display:grid;gap:32px;align-items:center}
@media (min-width:900px){.hp-reach{grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:56px}}
.hp-reach-txt>p:not(.hp-eyebrow):not(.hp-links){margin:0}
.hp-checks{list-style:none;margin:20px 0 0;padding:0;display:grid;gap:8px;font-weight:500}
.hp-checks li{display:flex;gap:10px;align-items:baseline}
.hp-checks li::before{content:"";width:10px;height:10px;flex:none;border-radius:2px;background:var(--accent);transform:translateY(-1px) rotate(45deg)}
.hp-shot{position:relative;margin:0}
.hp-shot img{display:block;width:100%;height:auto;border-radius:10px;border:1px solid var(--line);box-shadow:0 18px 40px -20px rgba(28,27,25,.4)}
.hp-shot figcaption{position:absolute;left:16px;bottom:-18px;display:flex;align-items:baseline;gap:6px;padding:10px 16px;background:var(--ink);color:#fff;border-radius:8px;font-size:var(--fs-s);font-weight:700}
.hp-shot figcaption .hp-num{font-size:32px;color:#ff6a4d}

/* 02 受付から入金まで：コースの順に */
.hp-course{list-style:none;margin:8px 0 0;padding:0;display:grid;grid-template-columns:1fr;gap:12px;counter-reset:hp}
@media (min-width:600px){.hp-course{grid-template-columns:1fr 1fr}}
@media (min-width:1000px){.hp-course{grid-template-columns:repeat(6,1fr);gap:16px}.hp-course li{grid-column:span 2}.hp-course li:nth-child(n+4){grid-column:span 3}.hp-course li img{aspect-ratio:auto;height:210px}}
.hp-course li{position:relative;display:flex;flex-direction:column;gap:6px;padding:0 0 16px;background:#fff;border:1px solid var(--line);border-radius:10px;overflow:hidden;counter-increment:hp}
.hp-course img{display:block;width:100%;height:auto;aspect-ratio:16/10;object-fit:cover;object-position:top left;border-bottom:1px solid var(--line);background:var(--bg)}
.hp-course li::before{content:counter(hp,decimal-leading-zero);position:absolute;top:10px;left:10px;padding:2px 7px 1px;border:2px solid var(--ink);border-radius:4px;background:#fff;font-family:var(--font-disp);font-weight:700;font-size:18px;line-height:1.1}
.hp-course b{padding:8px 16px 0;font-size:var(--fs-m);line-height:1.4}
.hp-course span{padding:0 16px;font-size:var(--fs-s);line-height:1.7;color:var(--muted)}
.hp-course a{margin-top:auto;padding:4px 16px 0;font-size:var(--fs-s);font-weight:700}
.hp-course a::after{content:" →";color:var(--accent)}
.hp-course a::before{content:"";position:absolute;inset:0}
.hp-course li:hover{border-color:var(--fg)}

/* 03 主催者を守る仕組み */
.hp-guard-list{list-style:none;margin:8px 0 0;padding:0;display:grid;gap:12px}
@media (min-width:760px){.hp-guard-list{grid-template-columns:1fr 1fr}}
.hp-guard-list li{display:flex;flex-direction:column;gap:6px;padding:18px 20px 20px;border-radius:10px;background:#fff;border:1px solid var(--line);border-top:4px solid var(--ink)}
.hp-guard-list b{font-size:var(--fs-l);line-height:1.45}
.hp-guard-list span{font-size:var(--fs-s);line-height:1.75;color:var(--muted)}

/* 比べた表 */
.hp-cmp{width:100%;min-width:680px;border-collapse:collapse;background:#fff;font-size:var(--fs-s)}
.hp-cmp th,.hp-cmp td{padding:12px 14px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top;line-height:1.6}
.hp-cmp thead th{font-size:var(--fs-s);background:var(--hover)}
.hp-cmp tbody th{white-space:nowrap;font-weight:700}
.hp-cmp td{color:var(--muted)}
.hp-cmp .me{background:#fff4f1;color:var(--fg);font-weight:500;border-left:2px solid var(--accent);border-right:2px solid var(--accent)}
.hp-cmp thead .me{background:var(--accent);color:#fff}
.hp-cmp tbody tr:last-child .me{border-bottom:2px solid var(--accent)}

/* 種別：ゼッケン */
.hp-plates{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:0 0 20px}
@media (min-width:760px){.hp-plates{grid-template-columns:repeat(4,1fr)}}
.hp-plate{position:relative;display:flex;align-items:center;gap:10px;min-height:60px;padding:8px 14px;border:2px solid var(--ink);border-radius:8px;background:#fff;color:var(--fg);font:inherit;font-weight:700;cursor:pointer;text-align:left;overflow:hidden;transition:transform .15s}
.hp-plate::after{content:"";position:absolute;left:0;right:0;bottom:0;height:5px;background:var(--gc,var(--accent))}
.hp-plate.g-run{--gc:var(--g-run)}.hp-plate.g-meet{--gc:var(--g-meet)}.hp-plate.g-tour{--gc:var(--g-tour)}.hp-plate.g-show{--gc:var(--g-show)}
.hp-plate-no{font-family:var(--font-disp);font-size:28px;line-height:1;color:var(--gc)}
.hp-plate:hover{transform:translateY(-2px)}
.hp-plate[aria-selected="true"]{background:var(--gc);border-color:var(--gc);color:#fff}
.hp-plate[aria-selected="true"] .hp-plate-no{color:#fff}
.hp-gpanel{padding:20px;background:#fff;border:1px solid var(--line);border-radius:10px}
.hp-gpanel-lead{margin:0 0 12px;font-weight:700}

/* 料金とよくある質問 */
.hp-cols{display:grid;gap:0 40px}
@media (min-width:900px){.hp-cols{grid-template-columns:1fr 1fr}}
.hp-fee{width:100%;border-collapse:collapse;font-size:var(--fs-s)}
.hp-fee th,.hp-fee td{padding:12px 0;border-bottom:1px solid var(--line);text-align:left;vertical-align:top;line-height:1.6}
.hp-fee th{width:45%;padding-right:16px;font-weight:700}
.hp-cols .feecalc{background:#fff}
.hp .faq{padding:14px 0}.hp .faq summary{font-size:var(--fs-m)}

/* 締め：スタートシグナル */
.hp-start{margin:72px 0 0;padding:48px 20px;border-radius:16px;background:var(--ink);color:#d9d6cc;text-align:center}
.hp-start h2{margin:0 0 12px;color:#fff;font-size:28px;line-height:1.35}
@media (min-width:600px){.hp-start h2{font-size:32px}}
.hp-start p{margin:0 auto 28px;font-size:var(--fs-s);line-height:1.8}
.hp-start .hp-btn.light{background:#fff;border-color:#fff;color:var(--ink);min-width:220px}
.hp-start .hp-btn.light:hover{background:var(--accent);border-color:var(--accent);color:#fff}
/* スマホ：ボタンを横いっぱいに、受付から入金までは横にめくる */
@media (max-width:599px){
  .hp-btns .hp-btn{flex:1 1 100%}
  .hp-course{grid-auto-flow:column;grid-template-columns:none;grid-auto-columns:82%;overflow-x:auto;scroll-snap-type:x mandatory;margin:8px calc(var(--gut) * -1) 0;padding:0 var(--gut) 8px;scroll-padding:0 var(--gut)}
  .hp-course li{scroll-snap-align:start}
  .hp-toast{bottom:-34px}
}

/* ───────── キービジュアル（2 版目）─────────
   黒地の中央寄せ。見出しの要所に赤の下線。参加費の計算カード、その下に実画面の組み合わせが紙の地へはみ出す */
.kv{--paper:#f3f2ee;position:relative;padding:56px var(--gut) 0;background:var(--ink);color:#e9e6dd;text-align:center;overflow:hidden;isolation:isolate}
.kv::before{content:"";position:absolute;inset:0;z-index:-1;opacity:.35;pointer-events:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E")}
.kv::after{content:"";position:absolute;left:0;right:0;bottom:0;height:150px;z-index:-1;background:var(--bg);clip-path:polygon(0 38%,100% 0,100% 100%,0 100%)}
.kv-in{max-width:780px;margin:0 auto}
.kv-pill{display:inline-block;margin:0 0 22px;padding:6px 16px;border:1px solid rgba(255,255,255,.22);border-radius:999px;background:rgba(255,255,255,.06);font-size:var(--fs-s);font-weight:700;color:#fff}
.kv h1{margin:0;color:#fff;font-size:30px;line-height:1.35;letter-spacing:-.01em}
@media (min-width:600px){.kv h1{font-size:44px}}
@media (min-width:1040px){.kv h1{font-size:56px;line-height:1.22}}
.kv mark{background:linear-gradient(transparent 70%,var(--accent) 70%,var(--accent) 92%,transparent 92%);color:inherit;padding:0 .04em}
.kv-lead{margin:22px auto 0;color:#cfcbc0;line-height:1.85}
.kv-ok{list-style:none;display:flex;flex-wrap:wrap;justify-content:center;gap:6px 22px;margin:18px 0 0;padding:0;font-size:var(--fs-s);font-weight:700;color:#fff}
.kv-ok li{display:flex;align-items:center;gap:6px}
.kv-ok li::before{content:"";width:14px;height:14px;background:#ff6a4d;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M6.2 11.6 2.6 8l1.1-1.1 2.5 2.5 6.1-6.1 1.1 1.1z'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M6.2 11.6 2.6 8l1.1-1.1 2.5 2.5 6.1-6.1 1.1 1.1z'/%3E%3C/svg%3E") center/contain no-repeat}
/* 参加費の計算（AucKit の質問欄の位置に） */
.kv-calc{max-width:600px;margin:36px auto 0}
.kv-calc-tag{position:relative;display:inline-block;margin:0 0 12px;padding:7px 16px;border-radius:999px;background:#fff;color:var(--ink);font-size:var(--fs-s);font-weight:700}
.kv-calc-tag::after{content:"";position:absolute;left:50%;bottom:-6px;width:12px;height:12px;background:#fff;transform:translateX(-50%) rotate(45deg)}
.kv-calc-box{display:grid;grid-template-columns:1fr auto 1fr;align-items:end;gap:12px 16px;padding:18px 22px;border-radius:14px;background:#fff;color:var(--ink);text-align:left;box-shadow:0 20px 40px -20px rgba(0,0,0,.6)}
.kv-calc-cell{display:flex;flex-direction:column;gap:6px;min-width:0}
.kv-calc label,.kv-calc-lb{font-size:var(--fs-s);font-weight:700;color:var(--muted)}
.kv-calc-in{display:flex;align-items:baseline;gap:6px}
.kv-calc-in input{width:100%;min-width:0;min-height:52px;padding:4px 12px;border:2px solid var(--line);border-radius:8px;font-family:var(--font-disp);font-weight:700;font-size:32px;line-height:1;text-align:right;background:#fff;color:var(--ink)}
.kv-calc-in input:focus{border-color:var(--accent);outline:none;box-shadow:0 0 0 3px rgba(209,69,43,.2)}
.kv-calc-out{display:flex;align-items:baseline;gap:6px;min-height:52px;font-weight:700}
.kv-calc-out b{font-family:var(--font-disp);font-size:40px;line-height:52px;color:var(--accent)}
.kv-calc-arrow{width:28px;height:28px;margin-bottom:12px;border-radius:50%;background:var(--ink);-webkit-mask:none;position:relative}
.kv-calc-arrow::after{content:"";position:absolute;inset:0;margin:auto;width:8px;height:8px;border-top:2px solid #fff;border-right:2px solid #fff;transform:translateX(-2px) rotate(45deg)}
.kv-calc-note{margin:12px 0 0;font-size:12px;color:#b5b1a6;line-height:1.7}
@media (max-width:520px){.kv-calc-box{grid-template-columns:1fr}.kv-calc-arrow{display:none}}
.kv-btns{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;margin:32px 0 0}
.hp-btn.ghost-l{background:transparent;border-color:rgba(255,255,255,.55);color:#fff}
.hp-btn.ghost-l:hover{background:#fff;color:var(--ink);border-color:#fff}
.kv-note{margin:12px 0 0;font-size:12px;color:#a9a59a}
@media (max-width:599px){.kv-btns .hp-btn{flex:1 1 100%}}
/* 実画面の組み合わせ */
.kv-stage{position:relative;max-width:900px;margin:56px auto 0;padding:0 0 40px;text-align:left;color:var(--ink)}
.kv-stage .hp-sheet{max-width:560px;margin:0 auto}
.kv-stage .hp-sheet figcaption{position:static;display:block;padding:8px 16px 10px;border-top:1px solid var(--line);font-size:11px;color:var(--muted)}
.hp-sheet-top{color:#f3f2ee}
.kv-float{position:absolute;z-index:2;background:#fff;color:var(--ink);border:1px solid var(--line);border-radius:10px;box-shadow:0 18px 36px -16px rgba(0,0,0,.55)}
.kv-float-map{left:0;top:96px;width:230px;padding:10px;transform:rotate(-2.5deg);display:flex;flex-direction:column;gap:8px;font-size:var(--fs-s)}
.kv-float-map img{display:block;width:100%;height:auto;border-radius:6px}
.kv-float-map b{line-height:1.45}
.kv-float-tag{align-self:flex-start;padding:2px 8px;border-radius:4px;background:var(--accent);color:#fff;font-size:11px;font-weight:700}
.kv-float-new{right:0;bottom:70px;display:flex;flex-direction:column;gap:2px;padding:10px 14px 10px 12px;border-left:4px solid var(--accent);font-size:var(--fs-s);transform:rotate(1.5deg)}
.kv-float-new b{font-size:11px;color:var(--accent);letter-spacing:.04em}
.kv-float-new>span{display:flex;align-items:center;gap:8px;white-space:nowrap}
.kv-float-new .hp-no{font-size:15px;min-width:30px}
@media (max-width:899px){.kv-float-map{display:none}.kv-float-new{right:8px;bottom:12px}}
/* 両わきの薄い飾り（ゼッケンの並び） */
/* ページ内の目次 */
.kv-nav{display:flex;justify-content:center;gap:4px 28px;padding:14px var(--gut);border-bottom:1px solid var(--line);font-size:var(--fs-s);overflow-x:auto;white-space:nowrap}
.kv-nav a{color:var(--muted);text-decoration:none}.kv-nav a:hover{color:var(--accent)}
@media (max-width:760px){.kv-nav{justify-content:flex-start}}
.hp-asof{margin:8px 0 0;font-size:12px;color:var(--muted);text-align:right}

/* 斜めの帯：コースの縁石・チェッカー（ネクストエンジンの帯を、サーキットの帯に） */

/* なぜ（ネクストエンジンの「なぜ、〜は」） */
#why{text-align:center;padding-top:40px}
.hp-why-q{margin:0;font-size:var(--fs-l);font-weight:700;color:var(--muted)}
.hp-why-h{font-size:28px;margin:4px 0 28px}
@media (min-width:760px){.hp-why-h{font-size:36px}}
.hp-why{list-style:none;margin:0;padding:0;display:grid;gap:12px;text-align:left}
@media (min-width:600px){.hp-why{grid-template-columns:1fr 1fr}}
@media (min-width:1000px){.hp-why{grid-template-columns:repeat(4,1fr)}}
.hp-why li{position:relative;display:flex;flex-direction:column;gap:8px;padding:22px 20px 20px;background:#fff;border:1px solid var(--line);border-radius:12px}
.hp-why-no{font-family:var(--font-disp);font-weight:700;font-size:44px;line-height:1;color:transparent;-webkit-text-stroke:1.5px var(--accent)}
.hp-why b{font-size:var(--fs-l);line-height:1.45}
.hp-why span:not(.hp-why-no){font-size:var(--fs-s);line-height:1.75;color:var(--muted)}
.hp-why a{margin-top:auto;padding-top:4px;font-size:var(--fs-s);font-weight:700}
.hp-why a::after{content:" →";color:var(--accent)}
