/* 高さ制限バー ドライブシミュレーター — LP */
:root {
  --bg: #0b0f14;
  --bg-alt: #10161d;
  --surface: #151c25;
  --line: rgba(255, 255, 255, 0.1);
  --text: #e9eef3;
  --muted: #95a1ae;
  --yellow: #f2c200;
  --red: #ff4d42;
  --cyan: #33c7ff;
  --green: #34c759;
  --radius: 14px;
  --maxw: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { overflow-x: hidden; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic UI", system-ui, sans-serif;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.35; margin: 0; letter-spacing: 0.01em; }
h2 { font-size: clamp(24px, 3.4vw, 36px); font-weight: 900; margin-bottom: 28px; }
h3 { font-size: 17px; font-weight: 700; }
p { margin: 0 0 12px; }
kbd {
  font-family: ui-monospace, Menlo, monospace; font-size: 0.85em;
  padding: 1px 6px; border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 5px; background: var(--surface);
}
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.sp { display: none; }

/* ---- buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 10px; font-weight: 700; text-decoration: none; border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--yellow); color: #111; }
.btn-primary:hover { background: #ffd21f; }
.btn-ghost { border-color: rgba(255, 255, 255, 0.25); color: var(--text); }
.btn-ghost:hover { border-color: rgba(255, 255, 255, 0.5); }
.btn-sm { padding: 7px 14px; font-size: 14px; white-space: nowrap; }
.btn-lg { padding: 14px 24px; font-size: 16px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 12px; }
.center-row { justify-content: center; }
.link { color: var(--cyan); font-weight: 700; text-decoration: none; }
.link:hover { text-decoration: underline; }

/* ---- header ---- */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(11, 15, 20, 0.85); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 20px; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 900; text-decoration: none; font-size: 15px; white-space: nowrap; }
.brand-bar {
  width: 34px; height: 10px; border-radius: 2px;
  background: repeating-linear-gradient(-55deg, #d4191f 0 6px, #fff 6px 12px);
  box-shadow: 0 0 0 2px var(--yellow);
}
.nav { display: flex; gap: 20px; margin-left: auto; }
.nav a { text-decoration: none; color: var(--muted); font-size: 14px; }
.nav a:hover { color: var(--text); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); color: var(--text); border-radius: 8px; font-size: 18px; padding: 2px 10px; cursor: pointer; }

/* ---- hero ---- */
.hero {
  padding: 64px 0 72px;
  background:
    radial-gradient(900px 400px at 85% -10%, rgba(242, 194, 0, 0.12), transparent 60%),
    radial-gradient(700px 400px at -10% 110%, rgba(51, 199, 255, 0.08), transparent 60%);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 48px; align-items: center; }
.eyebrow { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.pill { font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; border: 1px solid rgba(242, 194, 0, 0.5); color: var(--yellow); }
.hero h1 { font-size: clamp(32px, 4.6vw, 52px); font-weight: 900; margin-bottom: 20px; }
.lead { color: #cdd6df; font-size: 16px; }
.lead strong { color: var(--text); }
.hero-shot { margin: 0; }
.hero-shot img, .gallery img {
  border-radius: var(--radius); border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}
.hero-shot figcaption, .diagram figcaption { font-size: 12.5px; color: var(--muted); margin-top: 10px; }

/* ---- sections ---- */
.section { padding: 88px 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.kicker { color: var(--yellow); font-weight: 700; font-size: 13px; letter-spacing: 0.12em; margin-bottom: 8px; }
.hl { color: var(--red); }

/* ---- why ---- */
.why-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 40px; align-items: start; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; border-top: 3px solid; }
.stat-bar { border-top-color: var(--yellow); }
.stat-eye { border-top-color: var(--cyan); }
.stat-roof { border-top-color: var(--red); }
.stat-k { display: block; font-size: 12px; color: var(--muted); }
.stat-v { display: block; font-size: 34px; font-weight: 900; font-variant-numeric: tabular-nums; }
.stat-v small { font-size: 16px; margin-left: 2px; color: var(--muted); }
.why-text { grid-column: 1 / -1; margin-top: 12px; color: #cdd6df; }
.why-text strong { color: var(--cyan); }
.diagram { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.diagram svg { width: 100%; height: auto; display: block; }
.d-ground { stroke: #56616d; stroke-width: 2; }
.d-bridge { fill: #3a342e; }
.d-bar { fill: var(--yellow); }
.d-bus { fill: rgba(143, 180, 181, 0.28); stroke: #b9cfd0; stroke-width: 2; }
.d-wheel { fill: #2a3038; stroke: #b9cfd0; stroke-width: 2; }
.d-roof { stroke: var(--red); stroke-width: 2; stroke-dasharray: 8 5; }
.d-barline { stroke: var(--yellow); stroke-width: 1.5; stroke-dasharray: 4 4; }
.d-eye { stroke: var(--cyan); stroke-width: 2; stroke-dasharray: 6 4; }
.d-sight { stroke: rgba(51, 199, 255, 0.6); stroke-width: 1.5; }
.d-eyept { fill: var(--cyan); }
.d-gap { stroke: var(--red); stroke-width: 2; marker-start: none; }
.diagram text { font-size: 14px; font-weight: 700; font-family: inherit; }
.t-roof { fill: var(--red); }
.t-bar { fill: var(--yellow); }
.t-eye { fill: var(--cyan); }
.t-muted { fill: var(--muted); font-weight: 500 !important; }

/* ---- video ---- */
.video {
  position: relative; aspect-ratio: 16 / 9; max-width: 900px; margin: 0 auto;
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #000;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video + .center { margin-top: 16px; }

/* ---- features ---- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card-icon { font-size: 26px; margin-bottom: 10px; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 14.5px; margin: 0; }

/* ---- gallery ---- */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.gallery figure { margin: 0; }
.gallery figcaption { font-size: 14px; color: var(--muted); margin-top: 10px; }
.gallery figcaption b { color: var(--text); margin-right: 6px; }

/* ---- howto ---- */
.steps { list-style: none; padding: 0; margin: 0 0 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.steps li { display: flex; gap: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.step-n {
  flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: var(--yellow); color: #111; font-weight: 900;
}
.steps h3 { margin-bottom: 6px; }
.steps p { color: var(--muted); font-size: 14.5px; margin: 0; }
.table-wrap { overflow-x: auto; }
.presets { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 520px; }
.presets caption { text-align: left; color: var(--muted); font-size: 13px; margin-bottom: 8px; }
.presets th, .presets td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.presets th { color: var(--muted); font-weight: 500; font-size: 13px; }
.presets td:nth-child(2), .presets td:nth-child(3) { font-variant-numeric: tabular-nums; }
.presets .ng { color: var(--red); font-weight: 700; }
.presets .ok { color: var(--green); font-weight: 700; }

/* ---- audience ---- */
.audience { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.audience li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; border-left: 3px solid var(--yellow); }
.audience b { display: block; }
.audience span { color: var(--muted); font-size: 14px; }

/* ---- notice ---- */
.notice { padding-left: 1.2em; color: #cdd6df; margin: 0 0 20px; }
.notice li { margin-bottom: 6px; }
.sympathy { color: var(--muted); font-size: 14px; border-top: 1px solid var(--line); padding-top: 16px; }

/* ---- faq ---- */
details { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; margin-bottom: 10px; }
summary { cursor: pointer; padding: 14px 18px; font-weight: 700; list-style: none; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "＋"; position: absolute; right: 18px; color: var(--muted); }
details[open] summary::after { content: "−"; }
details p { padding: 0 18px 14px; margin: 0; color: var(--muted); }

/* ---- final ---- */
.final-cta {
  padding: 88px 0;
  background: radial-gradient(700px 300px at 50% 0%, rgba(242, 194, 0, 0.12), transparent 70%);
}
.site-footer { border-top: 1px solid var(--line); padding: 28px 0; }
.footer-inner p { margin: 4px 0; }
.site-footer a { color: var(--muted); }

/* ---- responsive ---- */
@media (max-width: 960px) {
  .hero-grid, .why-grid { grid-template-columns: minmax(0, 1fr); }
  .cards, .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav {
    display: none; position: absolute; top: 60px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 20px; border-top: 1px solid var(--line); }
  .nav-toggle { display: block; }
  .header-inner { gap: 10px; }
  .brand span:last-child { font-size: 13px; white-space: normal; line-height: 1.3; }
  .header-inner .btn-sm { margin-left: auto; }
  .sp { display: inline; }
  .hero { padding: 40px 0 56px; }
  .section, .final-cta { padding: 64px 0; }
  .cards, .steps, .gallery, .audience { grid-template-columns: minmax(0, 1fr); }
  .stats { gap: 8px; }
  .stat-k { font-size: 11px; }
  .stat-v { font-size: 26px; }
  .stat { padding: 12px; }
  .btn-lg { width: 100%; }
}
