:root {
  --ink: #161923;
  --muted: #5b6472;
  --paper: #ffffff;
  --soft: #f8fafc;
  --navy: #0f172a;
  --blue: #1e3a8a;
  --green: #76a900;
  --orange: #f97316;
  --gold: #facc15;
  --border: #dbe3ef;
  --shadow: 0 16px 44px rgba(15, 23, 42, 0.16);
  --font-main: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-accent: 'Zen Maru Gothic', 'Noto Sans JP', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); font-family: var(--font-main); line-height: 1.8; background: var(--soft); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  min-height: 68px;
  padding: 0 clamp(18px, 4vw, 48px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,255,255,0.94);
  border-bottom: 1px solid rgba(15,23,42,0.1);
  backdrop-filter: blur(14px);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-accent); font-weight: 900; color: var(--navy); }
.brand-mark { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 8px; background: var(--blue); color: #fff; }
.site-nav { display: flex; gap: 22px; font-size: 0.92rem; font-weight: 800; }
.site-nav a:hover { color: var(--orange); }

.hero {
  min-height: 92vh;
  position: relative;
  display: grid;
  grid-template-columns: 1fr minmax(240px, 330px);
  gap: clamp(24px, 5vw, 64px);
  align-items: end;
  padding: 120px clamp(20px, 5vw, 72px) 76px;
  color: #fff;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15,23,42,0.92), rgba(15,23,42,0.66) 52%, rgba(15,23,42,0.24)), url('assets/speedy-hero.jpg') center / cover no-repeat;
  transform: scale(1.02);
}
.hero-content,
.hero-card { position: relative; }
.hero-content { width: min(800px, 100%); }
.eyebrow,
.section-kicker { margin: 0 0 10px; color: var(--gold); font-size: 0.78rem; font-weight: 900; letter-spacing: 0.16em; }
.hero h1 { margin: 0; font-family: var(--font-accent); font-size: clamp(2.2rem, 6.5vw, 5.1rem); line-height: 1.12; letter-spacing: 0; }
.lead { width: min(680px, 100%); margin: 22px 0 0; font-size: clamp(1rem, 2vw, 1.16rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.primary-btn,
.secondary-btn { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; padding: 12px 22px; border-radius: 8px; font-weight: 900; }
.primary-btn { background: linear-gradient(135deg, var(--green), #5d8500); color: #fff; }
.secondary-btn { border: 1px solid rgba(255,255,255,0.72); color: #fff; }
.secondary-btn.dark { border-color: var(--border); color: var(--navy); background: #fff; }
.hero-card {
  align-self: center;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.24);
  border-radius: 8px;
  padding: 16px;
  backdrop-filter: blur(10px);
}
.hero-card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 6px; }
.hero-card strong { display: block; margin-top: 12px; text-align: center; color: var(--gold); font-size: 1.4rem; }

.section { padding: clamp(64px, 9vw, 112px) 0; }
.container { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.section-heading { width: min(780px, 100%); margin-bottom: 34px; }
h2 { margin: 0; color: var(--navy); font-family: var(--font-accent); font-size: clamp(1.8rem, 4vw, 3rem); line-height: 1.32; }
.section-heading p,
.system-copy p,
.entry-box p { color: var(--muted); margin: 16px 0 0; }

.requirements { background: #fff; }
.table-wrap { background: var(--soft); border: 1px solid var(--border); border-radius: 8px; overflow: hidden; box-shadow: var(--shadow); }
.table-wrap dl { margin: 0; }
.table-wrap div { display: grid; grid-template-columns: 180px 1fr; border-bottom: 1px solid var(--border); }
.table-wrap div:last-child { border-bottom: 0; }
.table-wrap dt,
.table-wrap dd { padding: 20px; }
.table-wrap dt { background: #eef3fb; color: var(--navy); font-weight: 900; }
.table-wrap dd { margin: 0; color: var(--muted); }

.voices { background: var(--soft); }
.voice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.voice-card { background: #fff; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; box-shadow: 0 10px 28px rgba(15,23,42,0.08); }
.voice-card img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: top; }
.voice-card div { padding: 22px; }
.role { margin: 0 0 6px; color: var(--green); font-size: 0.82rem; font-weight: 900; }
.voice-card h3 { margin: 0 0 10px; color: var(--navy); }
.voice-card p:last-child { margin: 0; color: var(--muted); font-size: 0.94rem; }

.system { background: #fff; }
.system-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 6vw, 72px); align-items: start; }
.compare-box { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 24px; }
.compare-box article { padding: 22px; border-radius: 8px; border: 1px solid var(--border); background: var(--soft); }
.compare-box h3 { margin: 0 0 8px; color: var(--navy); }
.compare-box p { margin: 0; font-size: 0.94rem; }

.entry { background: linear-gradient(135deg, var(--blue), var(--navy)); color: #fff; }
.entry h2 { color: #fff; }
.entry-box { width: min(860px, calc(100% - 40px)); }
.entry-box p { color: rgba(255,255,255,0.84); }
.site-footer { min-height: 72px; padding: 18px clamp(20px, 5vw, 72px); display: flex; justify-content: space-between; align-items: center; gap: 16px; color: #fff; background: var(--navy); }
.site-footer p { margin: 0; }
.site-footer a { text-decoration: underline; text-underline-offset: 4px; }

@media (max-width: 900px) {
  .site-header { align-items: flex-start; flex-direction: column; padding: 12px 18px; }
  .site-nav { width: 100%; gap: 14px; overflow-x: auto; font-size: 0.84rem; }
  .hero { min-height: 88vh; grid-template-columns: 1fr; padding-top: 128px; }
  .hero-card { display: none; }
  .table-wrap div,
  .voice-grid,
  .system-grid,
  .compare-box { grid-template-columns: 1fr; }
  .hero-actions a { width: 100%; }
  .site-footer { flex-direction: column; align-items: flex-start; }
}
