/* 競技別ランディングページ共通スタイル。
   ベースは koei-ai のダークトークン。--accent を各HTMLの :root で競技別に上書きする。 */
:root {
  --ink: #0E1116;
  --surface: #161B22;
  --surface-2: #131820;
  --border: #262E3A;
  --text: #E6EAF0;
  --text-2: #C5CDD8;
  --text-3: #9BA6B4;
  --muted: #5E6976;
  --accent: #2DD4BF;          /* 各ページで上書き */
  --accent-2: #3B82F6;        /* 各ページで上書き */
  --font-body: 'IBM Plex Sans JP', 'Noto Sans JP', -apple-system, sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;
  --text-hero: clamp(2.2rem, 1.5rem + 3.4vw, 3.8rem);
  --text-h2: clamp(1.55rem, 1.3rem + 1.1vw, 2.1rem);
  --radius: 14px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; transition: none !important; } }
body {
  background: var(--ink); color: var(--text);
  font-family: var(--font-body); font-size: clamp(1rem, 0.94rem + 0.3vw, 1.06rem);
  line-height: 1.75; -webkit-font-smoothing: antialiased;
}
::selection { background: color-mix(in oklab, var(--accent) 30%, transparent); }
a { color: inherit; }
img, svg { max-width: 100%; display: block; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 clamp(18px, 4vw, 28px); }
.mono { font-family: var(--font-mono); }

/* header */
.site-header { position: sticky; top: 0; z-index: 20; padding: 14px 0;
  background: color-mix(in oklab, var(--ink) 88%, transparent); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 9px; text-decoration: none; }
.brand-mark { width: 22px; height: 22px; border-radius: 6px;
  background: linear-gradient(135deg, var(--accent-2), var(--accent)); flex-shrink: 0; }
.brand-name { font-family: var(--font-mono); font-weight: 600; font-size: 18px; }
.nav-links { display: flex; align-items: center; gap: 16px; }
.nav-link { font-size: 13px; color: var(--text-3); text-decoration: none; transition: color .15s; }
.nav-link:hover { color: var(--text); }
.btn-cta { font-size: 14px; font-weight: 700; color: var(--ink);
  background: var(--accent); border-radius: 8px; padding: 11px 22px; text-decoration: none;
  display: inline-block; border: none; cursor: pointer; transition: filter .15s, transform .15s; }
.btn-cta:hover { filter: brightness(1.09); }
.btn-cta:active { transform: translateY(1px); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* hero */
.hero { position: relative; padding: clamp(56px, 8vw, 110px) 0 clamp(44px, 6vw, 84px); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 80% at 78% 8%, color-mix(in oklab, var(--accent) 22%, transparent), transparent 60%),
    radial-gradient(50% 60% at 8% 95%, color-mix(in oklab, var(--accent-2) 18%, transparent), transparent 60%); }
.eyebrow { font-family: var(--font-mono); font-size: 13px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 18px; }
.hero h1 { font-size: var(--text-hero); line-height: 1.18; letter-spacing: .01em; font-weight: 700; max-width: 16ch; }
.hero h1 .grad { background: linear-gradient(120deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { margin-top: 22px; font-size: clamp(1.02rem, 0.96rem + 0.4vw, 1.22rem);
  color: var(--text-2); max-width: 52ch; }
.hero-cta { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.btn-ghost { font-size: 14px; color: var(--text-2); text-decoration: none; padding: 11px 4px;
  border-bottom: 1px solid transparent; transition: color .15s, border-color .15s; }
.btn-ghost:hover { color: var(--text); border-color: var(--accent); }

/* sections */
section { padding: clamp(44px, 6vw, 82px) 0; }
section + section { border-top: 1px solid var(--border); }
.sec-label { font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 12px; }
h2 { font-size: var(--text-h2); line-height: 1.32; letter-spacing: .01em; font-weight: 700; max-width: 22ch; }
h3 { font-size: 1.12rem; margin: 26px 0 8px; }
section p { margin: 14px 0; color: var(--text-2); max-width: 60ch; }
.lead-p { font-size: 1.1rem; color: var(--text); }

/* feature cards / bento */
.grid { display: grid; gap: 16px; margin-top: 30px; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px 22px 24px; transition: border-color .2s, transform .2s; }
.card:hover { border-color: color-mix(in oklab, var(--accent) 55%, var(--border)); transform: translateY(-2px); }
.card .k { font-family: var(--font-mono); font-size: 12px; color: var(--accent); letter-spacing: .05em; }
.card h3 { margin: 10px 0 6px; font-size: 1.06rem; }
.card p { font-size: 14.5px; color: var(--text-3); margin: 0; }

/* stat row */
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; margin-top: 28px; }
.stat { background: var(--surface-2); border: 1px solid var(--border); border-radius: 12px; padding: 18px 20px; }
.stat .n { font-family: var(--font-mono); font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.3rem); font-weight: 600;
  color: var(--accent); line-height: 1.1; }
.stat .l { font-size: 13px; color: var(--text-3); margin-top: 6px; }

/* comparison / process table */
table { width: 100%; border-collapse: collapse; margin: 26px 0 0; font-size: 14.5px; }
th, td { border: 1px solid var(--border); padding: 11px 14px; text-align: left; color: var(--text-2); vertical-align: top; }
th { background: var(--surface); color: var(--text); font-weight: 600; }
td strong { color: var(--text); }

/* steps */
.steps { counter-reset: s; margin-top: 30px; display: flex; flex-direction: column; gap: 14px; }
.step { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start;
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 18px 20px; }
.step::before { counter-increment: s; content: counter(s); font-family: var(--font-mono); font-weight: 600;
  width: 34px; height: 34px; display: grid; place-items: center; border-radius: 8px;
  background: color-mix(in oklab, var(--accent) 16%, transparent); color: var(--accent); }
.step h3 { margin: 2px 0 4px; font-size: 1rem; }
.step p { margin: 0; font-size: 14px; color: var(--text-3); }

/* note */
.note { background: var(--surface); border-left: 3px solid var(--accent-2); border-radius: 0 10px 10px 0;
  padding: 16px 20px; margin: 26px 0 0; font-size: 14.5px; color: var(--text-2); }

/* faq */
.faq { margin-top: 26px; display: flex; flex-direction: column; gap: 10px; }
details { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
summary { cursor: pointer; padding: 16px 20px; font-weight: 600; font-size: 15px; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-family: var(--font-mono); color: var(--accent); font-size: 20px; }
details[open] summary::after { content: "−"; }
details p { padding: 0 20px 18px; margin: 0; font-size: 14.5px; color: var(--text-3); }

/* cta band */
.cta-band { margin-top: 40px; text-align: center;
  background: linear-gradient(135deg, color-mix(in oklab, var(--accent) 14%, transparent), color-mix(in oklab, var(--accent-2) 14%, transparent));
  border: 1px solid var(--border); border-radius: var(--radius); padding: 40px 24px; }
.cta-band h2 { margin: 0 auto; max-width: 24ch; }
.cta-band p { margin: 14px auto 22px; color: var(--text-2); max-width: 46ch; }

/* related links */
.related { margin-top: 30px; display: flex; flex-direction: column; gap: 8px; }
.related a { color: var(--accent); text-decoration: none; font-size: 14.5px; }
.related a:hover { text-decoration: underline; }

/* footer */
.site-footer { border-top: 1px solid var(--border); padding: 30px 0 44px; margin-top: 10px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 16px; font-size: 13px; margin-bottom: 14px; }
.footer-links a { color: var(--text-3); text-decoration: none; }
.footer-links a:hover { color: var(--accent); }
.footer-disclaimers { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: var(--muted); }
.breadcrumb { font-size: 12.5px; color: var(--muted); padding-top: 22px; }
.breadcrumb a { color: var(--text-3); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); }
