:root {
  --bg: #0D1014;
  --bg-deep: #0A0D11;
  --panel: #161A21;
  --line: #2A303A;
  --line2: #3A4250;
  --text: #EEF1F5;
  --sub: #C9D0DA;
  --mute: #A3ACB9;
  --lamp: #FF4B3E;
  --on-lamp: #1A0503;
  --ok: #4C9DFF;
  --ok-bg: #13243A;
  --ng: #FF9F45;
  --ng-bg: #2E1F12;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Noto Sans JP", system-ui, -apple-system, "Hiragino Sans", "Yu Gothic UI", sans-serif;
  line-height: 1.6;
}
a { color: #FF8A80; }
a:hover { color: #FFB3AC; }
button { font: inherit; cursor: pointer; }
button:disabled { cursor: default; }
button:focus-visible, a:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ヘッダー */
.site-header { border-bottom: 1px solid var(--line); background: var(--bg-deep); }
.site-header .wrap {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 4px 16px; min-height: 60px; padding-top: 8px; padding-bottom: 8px;
}
.logo { color: var(--text); text-decoration: none; display: flex; align-items: center; gap: 11px; padding: 4px 0; }
.logo:hover { color: var(--text); }
.logo-mark {
  width: 38px; height: 38px; border-radius: 10px; flex: none; display: flex; align-items: center; justify-content: center;
  background: radial-gradient(circle at 50% 30%, #2A0A14 0%, #0B0B10 70%); border: 1px solid rgba(255, 45, 111, 0.55);
  box-shadow: 0 0 16px rgba(255, 45, 111, 0.3); transition: box-shadow 0.3s ease, border-color 0.3s ease;
}
.logo-mark svg { width: 27px; height: 27px; overflow: visible; }
.logo:hover .logo-mark { border-color: #FF2D6F; box-shadow: 0 0 26px rgba(255, 45, 111, 0.6); }
.logo-words { position: relative; display: flex; flex-direction: column; gap: 13px; }
.logo-en { font-family: system-ui, -apple-system, "Segoe UI", "Noto Sans JP", sans-serif; font-weight: 900; font-size: 18px; letter-spacing: 0.14em; line-height: 1; white-space: nowrap; }
.logo-en .o { color: transparent; -webkit-text-stroke: 1.1px #FF4D7A; margin-left: 0.3em; }
.logo-ja { font-size: 9px; font-weight: 700; letter-spacing: 0.42em; color: #FF8FA9; line-height: 1; white-space: nowrap; }
.logo-trail { position: absolute; left: -15px; top: 16px; height: 9px; width: calc(100% + 36px); overflow: visible; pointer-events: none; }
.logo-trail .t1, .logo-trail .t2 { stroke-dasharray: 330; stroke-dashoffset: 330; animation: trailIn 1.3s 0.2s cubic-bezier(0.2, 0.7, 0.2, 1) forwards; }
.logo-trail .t2 { animation-delay: 0.35s; }
.logo-trail .spark { stroke-dasharray: 26 420; stroke-dashoffset: 26; opacity: 0.9; animation: spark 6s 1.8s ease-in-out infinite; }
@keyframes trailIn { to { stroke-dashoffset: 0; } }
@keyframes spark { 0% { stroke-dashoffset: 26; } 28%, 100% { stroke-dashoffset: -330; } }
.site-nav { display: flex; gap: 4px; }
.site-nav a {
  color: var(--sub); text-decoration: none; padding: 8px 12px; border-radius: 8px;
  font-size: 14px; min-height: 44px; display: inline-flex; align-items: center;
}
.site-nav a:hover { color: var(--text); }
.site-nav a[aria-current="page"] { color: var(--text); background: var(--panel); }

/* 共通 */
h1 { font-size: 28px; line-height: 1.35; margin: 28px 0 6px; }
.lead { margin: 0 0 16px; color: var(--sub); }
.notice {
  margin: 0 0 20px; padding: 12px 16px; background: #1B1F27; border: 1px solid var(--line2);
  border-radius: 8px; font-size: 13px; color: var(--sub);
}
.btn-ghost {
  min-height: 44px; padding: 6px 16px; border-radius: 8px; border: 1px solid var(--line2);
  background: transparent; color: var(--text); font-size: 14px;
  display: inline-flex; align-items: center; justify-content: center; text-decoration: none;
}
.btn-ghost:hover { color: var(--text); border-color: var(--mute); }
.btn-primary {
  min-height: 52px; padding: 8px 16px; border-radius: 10px; background: var(--lamp); color: var(--on-lamp);
  font-size: 15px; font-weight: 700; text-decoration: none; display: flex; align-items: center; justify-content: center;
}
.btn-primary:hover { color: var(--on-lamp); filter: brightness(1.08); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { padding: 2px 8px; border-radius: 4px; background: var(--line); font-size: 11px; color: var(--text); }
.mute { color: var(--mute); }
.small { font-size: 12px; }

/* SVG */
.carbody { fill: none; stroke: #3E4754; stroke-width: 1.5; stroke-linejoin: round; }
.lamp { fill: none; stroke: var(--lamp); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.lamp-fill { fill: var(--lamp); stroke: var(--lamp); stroke-width: 1.5; stroke-linejoin: round; }
.lamp-core { fill: none; stroke: #FFE1DA; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.lamp-fill-core { fill: #FFC9BF; opacity: 0.6; }

.patterns { margin: 0 0 20px; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 10px 16px; }
.patterns summary { cursor: pointer; font-size: 14px; font-weight: 700; min-height: 32px; display: flex; align-items: center; }
.patterns ul { margin: 8px 0 4px; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--sub); }
.patterns strong { color: var(--text); }

/* 検索画面 */
.layout { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; padding-bottom: 48px; }
.filters {
  flex: 1 1 260px; min-width: 0; background: var(--panel); border: 1px solid var(--line);
  border-radius: 12px; padding: 18px; display: flex; flex-direction: column; gap: 18px;
}
.search-box { display: flex; flex-direction: column; gap: 8px; }
.search-box label { font-size: 14px; font-weight: 700; }
.search-box input {
  width: 100%; min-height: 44px; padding: 8px 12px; border-radius: 8px; border: 1px solid var(--line2);
  background: var(--bg); color: var(--text); font: inherit; font-size: 16px;
}
.search-box input::placeholder { color: #7E8896; }
.search-box input:focus { outline: 2px solid var(--lamp); outline-offset: 1px; border-color: var(--lamp); }
.filters fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.filters legend { font-size: 14px; font-weight: 700; padding: 0; margin-bottom: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  min-height: 44px; padding: 6px 12px; display: inline-flex; align-items: center; gap: 8px;
  border-radius: 8px; border: 1px solid var(--line2); background: var(--bg); color: var(--text);
  font-size: 14px; font-weight: 500;
}
.chip svg { width: 36px; height: 18px; flex: none; }
.chip svg path { fill: none; stroke: var(--lamp); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.chip[aria-pressed="true"] { background: var(--lamp); border-color: var(--lamp); color: var(--on-lamp); }
.chip[aria-pressed="true"] svg path { stroke: var(--on-lamp); }

.results { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.results-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.results-head p { margin: 0; }
.results-head strong { font-size: 24px; }
.empty {
  margin: 0; padding: 32px 16px; text-align: center; background: var(--panel);
  border: 1px solid var(--line); border-radius: 12px; color: var(--sub);
}
.grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); align-items: start; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; }
.card .pic { background: #06080B; padding: 8px 12px; }
.card .pic svg { display: block; width: 100%; height: auto; }
.card .info { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 2px; }
.card .maker, .card .gen { font-size: 12px; color: var(--mute); }
.card h2 { margin: 0; font-size: 16px; line-height: 1.4; }
.card .tags { margin-top: 6px; }
.conf { background: transparent; border: 1px solid var(--line2); color: var(--mute); }
.conf-high { border-color: #4C9DFF; color: #9CC6FF; }
.conf-medium { border-color: #8A93A0; color: var(--sub); }
.conf-low { border-color: #FF9F45; color: #FFC48A; }
.more { margin-top: 10px; border-top: 1px solid var(--line); padding-top: 8px; }
.more summary {
  cursor: pointer; font-size: 13px; color: var(--sub); min-height: 32px;
  display: flex; align-items: center; list-style-position: inside;
}
.more summary:hover { color: var(--text); }
.more-body { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--sub); padding-top: 4px; }
.more-body p { margin: 0; }
.more-body strong { color: var(--text); }
.more-body ul { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 4px; }
.more-body .sources a { word-break: break-all; }
.warn { color: #FFC48A; }

/* クイズ画面 */
.quiz { max-width: 560px; margin: 0 auto; padding: 0 20px 48px; display: flex; flex-direction: column; gap: 16px; }
.quiz h1 { margin-bottom: 0; }
.quiz-meta { display: flex; justify-content: space-between; font-size: 13px; color: var(--sub); }
.quiz-meta strong { color: var(--text); }
.night { margin: 0; background: #05070A; border: 1px solid var(--line); border-radius: 12px; padding: 8px; }
.night svg { display: block; width: 100%; height: auto; animation: brake 3.6s ease-in-out infinite; }
.countdown { margin: -8px 0 0; font-variant-numeric: tabular-nums; }
.verdict { animation: pop 0.45s ease both; }
@keyframes pop { 0% { transform: scale(0.8); opacity: 0; } 70% { transform: scale(1.06); opacity: 1; } 100% { transform: none; } }
.result:not([hidden]) { animation: cardIn 0.4s ease both; }
.night figcaption { font-size: 11px; color: var(--mute); text-align: right; }
.quiz h2 { margin: 0; font-size: 18px; line-height: 1.4; }
.choices { display: flex; flex-direction: column; gap: 8px; }
.choice {
  min-height: 52px; padding: 8px 14px; display: flex; align-items: center; justify-content: space-between; gap: 8px;
  text-align: left; border-radius: 10px; border: 2px solid var(--line2); background: var(--panel);
  color: var(--text); font-size: 15px; font-weight: 500;
}
.choice:not(:disabled):hover { border-color: var(--mute); }
.choice.is-answer { border-color: var(--ok); background: var(--ok-bg); }
.choice.is-picked { border-color: var(--ng); background: var(--ng-bg); }
.badge { flex: none; padding: 2px 8px; border-radius: 4px; color: var(--bg); font-size: 12px; font-weight: 700; }
.is-answer .badge { background: var(--ok); }
.is-picked .badge { background: var(--ng); }
.result { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.verdict { margin: 0; font-size: 18px; font-weight: 700; outline: none; }
.verdict.ok { color: #7DB8FF; }
.verdict.ng { color: #FFB36B; }
.result p { margin: 0; }
.explain { font-size: 14px; color: var(--sub); }
.actions { display: flex; flex-direction: column; gap: 8px; }
.share { border: 1px dashed var(--line2); border-radius: 10px; padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.share-text { font-size: 13px; }
.share-actions { display: flex; flex-wrap: wrap; gap: 8px; }

/* ───────── トップページ（動きのあるデザイン） ───────── */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(10, 13, 17, 0.86); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.nav-quiz { gap: 8px; color: var(--text) !important; border: 1px solid rgba(255, 75, 62, 0.6); }
.nav-quiz:hover { background: rgba(255, 75, 62, 0.12); }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lamp); box-shadow: 0 0 8px var(--lamp); flex: none; animation: livePulse 1.6s ease-in-out infinite; display: inline-block; }
@keyframes livePulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.35; transform: scale(0.75); } }

.hero { position: relative; overflow: hidden; min-height: min(86vh, 760px); display: flex; align-items: center; padding: 48px 0 88px; isolation: isolate; }
.hero-scene { position: absolute; inset: 0; z-index: -1; background: radial-gradient(120% 70% at 70% 110%, #1A0C0C 0%, #0A0D11 55%, #07090C 100%); }
.road { position: absolute; left: -40%; right: -40%; bottom: 0; height: 48%; transform: perspective(520px) rotateX(58deg); transform-origin: 50% 100%; background: linear-gradient(180deg, rgba(20, 24, 31, 0) 0%, #10141A 30%, #0C0F14 100%); }
.lane { position: absolute; left: 50%; top: 0; bottom: 0; width: 8px; margin-left: -4px; background: repeating-linear-gradient(180deg, rgba(220, 226, 235, 0.55) 0 40px, transparent 40px 110px); animation: laneMove 0.9s linear infinite; opacity: 0.55; }
.road::before, .road::after { content: ""; position: absolute; top: 0; bottom: 0; width: 6px; background: rgba(220, 226, 235, 0.18); }
.road::before { left: 22%; }
.road::after { right: 22%; }
@keyframes laneMove { from { background-position: 0 0; } to { background-position: 0 110px; } }
.bokeh i { position: absolute; border-radius: 50%; filter: blur(14px); opacity: 0.35; animation: drift 14s ease-in-out infinite alternate; }
.bokeh i:nth-child(1) { width: 90px; height: 90px; left: 6%; top: 18%; background: #FF4B3E; animation-duration: 16s; }
.bokeh i:nth-child(2) { width: 50px; height: 50px; left: 22%; top: 62%; background: #FF9F45; animation-duration: 12s; }
.bokeh i:nth-child(3) { width: 120px; height: 120px; left: 46%; top: 8%; background: #FF4B3E; opacity: 0.18; animation-duration: 18s; }
.bokeh i:nth-child(4) { width: 40px; height: 40px; left: 64%; top: 70%; background: #FFD08A; animation-duration: 11s; }
.bokeh i:nth-child(5) { width: 70px; height: 70px; left: 82%; top: 22%; background: #FF4B3E; animation-duration: 15s; }
.bokeh i:nth-child(6) { width: 30px; height: 30px; left: 90%; top: 58%; background: #FF9F45; animation-duration: 10s; }
.bokeh i:nth-child(7) { width: 60px; height: 60px; left: 34%; top: 36%; background: #6FA8FF; opacity: 0.12; animation-duration: 20s; }
@keyframes drift { from { transform: translate(0, 0); } to { transform: translate(30px, -24px); } }

.hero-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 40px; width: 100%; }
.hero-copy { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.eyebrow { margin: 0; font-size: 13px; letter-spacing: 0.18em; color: #FF8A80; }
.hero h1 { margin: 0; font-size: clamp(40px, 7vw, 76px); line-height: 1.12; letter-spacing: 0.02em; }
.hero-lead { margin: 0; font-size: 17px; color: var(--sub); max-width: 30em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: stretch; margin-top: 6px; }
.btn-quiz {
  position: relative; display: flex; flex-direction: column; justify-content: center; gap: 2px;
  min-height: 64px; padding: 10px 28px; border-radius: 14px; text-decoration: none;
  background: var(--lamp); color: var(--on-lamp); box-shadow: 0 0 0 rgba(255, 75, 62, 0.6);
  animation: ctaGlow 2.4s ease-in-out infinite; transition: transform 0.2s ease;
}
.btn-quiz:hover { color: var(--on-lamp); transform: translateY(-2px); }
.btn-quiz-label { font-size: 18px; font-weight: 700; }
.btn-quiz-sub { font-size: 12px; font-weight: 500; opacity: 0.85; }
@keyframes ctaGlow { 0%, 100% { box-shadow: 0 0 18px rgba(255, 75, 62, 0.35); } 50% { box-shadow: 0 0 42px rgba(255, 75, 62, 0.75); } }
.btn-lg { min-height: 64px; padding: 10px 24px; border-radius: 14px; font-size: 16px; }
.stats { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 28px; }
.stats li { display: flex; align-items: baseline; gap: 6px; color: var(--sub); font-size: 14px; }
.stats strong { font-size: 32px; color: var(--text); font-variant-numeric: tabular-nums; }

.hero-stage { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.stage-frame { width: 100%; max-width: 560px; aspect-ratio: 2 / 1; position: relative; }
.stage-svg { position: absolute; inset: 0; transition: opacity 0.6s ease, filter 0.6s ease, transform 0.6s ease; }
.stage-svg svg { width: 100%; height: 100%; display: block; overflow: visible; }
.stage-svg.is-off { opacity: 0; filter: blur(6px); transform: scale(0.97); }
.stage-svg.is-on svg { animation: brake 3.6s ease-in-out infinite; }
@keyframes brake { 0%, 55% { filter: brightness(1); } 62%, 80% { filter: brightness(1.7) saturate(1.1); } 90%, 100% { filter: brightness(1); } }
.stage-caption { margin: 0; min-height: 56px; display: flex; gap: 12px; align-items: baseline; font-size: 15px; color: var(--mute); max-width: 560px; width: 100%; }
.stage-q { white-space: nowrap; }
.stage-name small { display: block; font-size: 12px; font-weight: 400; color: var(--mute); margin-top: 2px; }
.stage-name { font-size: 20px; font-weight: 700; color: var(--text); opacity: 0; transform: translateY(6px); transition: opacity 0.5s ease, transform 0.5s ease; }
.stage-name.show { opacity: 1; transform: none; }

.scroll-hint { position: absolute; left: 50%; bottom: 22px; width: 26px; height: 42px; margin-left: -13px; border: 2px solid var(--line2); border-radius: 14px; }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--lamp); animation: scrollDot 1.8s ease-in-out infinite; }
@keyframes scrollDot { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* 今日の1問カード */
.today { position: relative; z-index: 2; padding-top: 8px; }
.today-card {
  display: flex; flex-wrap: wrap; gap: 24px; align-items: center; text-decoration: none; color: var(--text);
  background: linear-gradient(135deg, #1A1214 0%, #161A21 60%); border: 1px solid rgba(255, 75, 62, 0.45);
  border-radius: 18px; padding: 20px; transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.today-card:hover { color: var(--text); transform: translateY(-3px); border-color: var(--lamp); box-shadow: 0 10px 40px rgba(255, 75, 62, 0.18); }
.today-pic { flex: 1 1 280px; max-width: 420px; background: #05070A; border-radius: 12px; padding: 8px; }
.today-pic svg { display: block; width: 100%; height: auto; }
.today-card:hover .today-pic svg { animation: brakeOnce 0.9s ease-in-out; }
@keyframes brakeOnce { 0%, 100% { filter: brightness(1); } 40% { filter: brightness(1.8); } }
.today-body { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.today-badge { margin: 0; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: #FF8A80; letter-spacing: 0.06em; }
.today-body h2 { margin: 0; font-size: clamp(22px, 3.4vw, 30px); line-height: 1.35; }
.today-text { margin: 0; color: var(--sub); font-size: 15px; }
.today-meta { margin: 0; font-size: 12px; color: var(--mute); font-variant-numeric: tabular-nums; }
.today-go { margin-top: 6px; align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 8px 20px; border-radius: 10px; background: var(--lamp); color: var(--on-lamp); font-weight: 700; }
.today-go svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.25s ease; }
.today-card:hover .today-go svg { transform: translateX(4px); }

/* 形のタイル */
.shapes, .search-sec { padding-top: 56px; }
.sec-head { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.sec-head h2 { margin: 0; font-size: clamp(22px, 3vw, 28px); }
.sec-head p { margin: 0; }
.sec-head .notice { margin-top: 8px; }
.shape-tiles { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.shape-tile {
  width: 100%; display: flex; flex-direction: column; gap: 6px; align-items: stretch; text-align: left;
  padding: 10px; border-radius: 12px; border: 1px solid var(--line); background: var(--panel); color: var(--text);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.shape-tile:hover, .shape-tile[aria-pressed="true"] { transform: translateY(-2px); border-color: var(--lamp); }
.shape-tile .tile-pic { background: #05070A; border-radius: 8px; }
.shape-tile .tile-pic svg { display: block; width: 100%; height: auto; }
.shape-tile:hover .tile-pic svg { animation: brakeOnce 0.9s ease-in-out; }
.shape-tile .tile-name { font-size: 15px; font-weight: 700; }
.shape-tile .tile-count { font-size: 12px; color: var(--mute); }

/* スクロールで浮かび上がる */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }
.grid .card { animation: cardIn 0.5s ease both; }
@keyframes cardIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.card .pic svg { transition: filter 0.3s ease; }
.card:hover .pic svg { filter: brightness(1.6); }

/* スマホ用のフローティングボタン */
.fab-quiz {
  position: fixed; right: 16px; bottom: 16px; z-index: 30; display: none; align-items: center; gap: 8px;
  min-height: 52px; padding: 8px 20px; border-radius: 999px; background: var(--lamp); color: var(--on-lamp);
  font-weight: 700; text-decoration: none; box-shadow: 0 6px 24px rgba(0, 0, 0, 0.5), 0 0 24px rgba(255, 75, 62, 0.45);
  transform: translateY(calc(100% + 32px)); transition: transform 0.35s ease;
}
.fab-quiz .live-dot { background: var(--on-lamp); box-shadow: none; }
.fab-quiz.show { transform: none; }
.fab-quiz:hover { color: var(--on-lamp); }
@media (max-width: 720px) {
  .fab-quiz { display: inline-flex; }
  .site-header .wrap { flex-wrap: nowrap; }
  .logo { gap: 9px; }
  .logo-mark { width: 32px; height: 32px; border-radius: 9px; }
  .logo-mark svg { width: 23px; height: 23px; }
  .logo-en { font-size: 15px; }
  .logo-words { gap: 11px; }
  .logo-trail { top: 13px; height: 8px; }
  .logo-ja { font-size: 8px; letter-spacing: 0.36em; }
  .site-nav a { padding: 6px 10px; font-size: 13px; }
  .hero { min-height: auto; padding: 28px 0 80px; }
  .hero-inner { gap: 20px; }
  .hero-stage { order: -1; }
  .stats { gap: 18px; }
  .stats strong { font-size: 26px; }
  .btn-quiz, .btn-lg { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1; transform: none; }
}

footer { border-top: 1px solid var(--line); color: var(--mute); font-size: 12px; padding: 20px 0 32px; }
footer p { margin: 0; }

@media (max-width: 520px) {
  h1 { font-size: 22px; margin-top: 20px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .card .info { padding: 10px; }
  .card h2 { font-size: 14px; }
}
