@font-face {
  font-family: "NotoJP";
  src: url("/assets/fonts/NotoSansJP-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "NotoJP";
  src: url("/assets/fonts/NotoSansJP-Bold.ttf") format("truetype");
  font-weight: 700 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #172027;
  --muted: #5d6a73;
  --paper: #f6f3ed;
  --surface: #fffdf8;
  --line: #d8d2c7;
  --navy: #123047;
  --blue: #2f6f9f;
  --moss: #657a55;
  --wheat: #c59b61;
  --rust: #a65f3c;
  --shadow: 0 18px 48px rgba(23, 32, 39, 0.12);
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
  font-family: "NotoJP", "Noto Sans JP", system-ui, sans-serif;
  letter-spacing: 0;
  overflow-x: hidden;
}

a,
button,
input,
select {
  transition: border-color .18s ease, background-color .18s ease, color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.site-header {
  background: rgba(255, 253, 248, .96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.site-shell {
  width: calc(100% - 32px);
  max-width: 1120px;
  margin: 0 auto;
}

.brand-title {
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}

.site-nav-link {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.site-nav-link:hover {
  color: var(--blue);
}

.btn-primary,
.btn-secondary,
.btn-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 6px;
  font-weight: 900;
  line-height: 1;
}

.btn-primary {
  background: var(--blue);
  color: #fff;
  border: 1px solid var(--blue);
}

.btn-primary:hover:not(:disabled) {
  background: #245f87;
  border-color: #245f87;
  box-shadow: 0 10px 24px rgba(47, 111, 159, .24);
}

.btn-primary:disabled,
.btn-dark:disabled {
  cursor: not-allowed;
  opacity: .45;
  box-shadow: none;
}

.btn-secondary {
  background: var(--surface);
  color: var(--navy);
  border: 1px solid var(--line);
}

.btn-secondary:hover {
  border-color: var(--blue);
  color: var(--blue);
  box-shadow: 0 8px 20px rgba(23, 32, 39, .08);
}

.btn-dark {
  background: var(--ink);
  color: #fff;
  border: 1px solid var(--ink);
}

.btn-dark:hover:not(:disabled) {
  background: #26333c;
}

.release-hero {
  min-height: calc(100vh - 64px);
  background-image:
    linear-gradient(90deg, rgba(20, 26, 31, .80) 0%, rgba(20, 26, 31, .62) 42%, rgba(20, 26, 31, .18) 100%),
    url("/assets/images/hokkaido-roadmap-hero.png");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  position: relative;
}

.hero-copy {
  width: 100%;
  max-width: 720px;
  color: #fff;
  padding: clamp(64px, 10vh, 116px) 0 clamp(48px, 8vh, 80px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #f1d49b;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}

.hero-title {
  margin-top: 24px;
  font-size: clamp(36px, 6vw, 76px);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: 0;
  max-width: 100%;
}

.hero-lead {
  margin-top: 24px;
  max-width: 640px;
  color: rgba(255, 255, 255, .86);
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-actions a {
  min-height: 52px;
  padding: 0 24px;
}

.section {
  padding: clamp(64px, 9vw, 112px) 0;
}

.section-tight {
  padding: clamp(40px, 6vw, 72px) 0;
}

.section-title {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.25;
  font-weight: 900;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.section-lead {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.9;
  overflow-wrap: anywhere;
}

.metric-band {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.metric-item {
  padding: 28px 0;
  border-right: 1px solid var(--line);
}

.metric-item:first-child {
  border-left: 1px solid var(--line);
}

.metric-value {
  color: var(--navy);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1;
  font-weight: 900;
}

.metric-label {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.feature-card,
.tool-panel,
.result-panel,
.form-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(23, 32, 39, .06);
}

.feature-card {
  padding: 28px;
}

.feature-number {
  color: var(--wheat);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
}

.industry-option {
  position: relative;
  display: block;
  min-height: 148px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  cursor: pointer;
}

.industry-option:hover {
  border-color: var(--blue);
  box-shadow: 0 14px 32px rgba(47, 111, 159, .12);
  transform: translateY(-1px);
}

.industry-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.industry-option:has(input:checked),
.industry-option.selected {
  border-color: var(--blue);
  box-shadow: inset 0 0 0 2px var(--blue), 0 14px 32px rgba(47, 111, 159, .16);
}

.industry-code {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #e9e1d3;
  color: var(--navy);
  font-size: 13px;
  font-weight: 900;
}

.page-surface {
  min-height: calc(100vh - 64px);
  background:
    linear-gradient(180deg, rgba(255, 253, 248, .96), rgba(246, 243, 237, 1));
}

.progress-track {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #e8e2d8;
}

.progress-fill {
  height: 100%;
  border-radius: inherit;
  background: var(--blue);
}

.choice-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}

.choice-card:hover {
  border-color: var(--blue);
  background: #f7fbfd;
}

.choice-card.selected {
  border-color: var(--blue);
  background: #eef6fb;
  box-shadow: inset 0 0 0 2px rgba(47, 111, 159, .28);
}

.radio-indicator {
  border-color: #bcb5aa;
}

.radio-indicator.border-ocean-light {
  border-color: var(--blue);
}

.radio-dot {
  background: var(--blue);
}

.modal-shell {
  background: rgba(23, 32, 39, .62);
  backdrop-filter: blur(8px);
}

.form-input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  padding: 12px 14px;
  outline: none;
}

.form-input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(47, 111, 159, .16);
}

.score-number {
  font-size: clamp(64px, 12vw, 128px);
  line-height: .9;
  font-weight: 900;
}

.site-footer {
  background: #172027;
  color: rgba(255, 255, 255, .86);
  border-top: 1px solid rgba(255, 255, 255, .08);
}

.text-navy { color: var(--navy); }
.bg-navy { background-color: var(--navy); }
.text-emerald-brand { color: var(--moss); }
.bg-emerald-brand { background-color: var(--moss); }
.border-emerald-brand { border-color: var(--moss); }

@media (max-width: 768px) {
  .site-shell {
    width: calc(100% - 24px);
    max-width: 1120px;
  }

  .release-hero {
    min-height: auto;
    background-image:
      linear-gradient(180deg, rgba(20, 26, 31, .86) 0%, rgba(20, 26, 31, .70) 56%, rgba(20, 26, 31, .56) 100%),
      url("/assets/images/hokkaido-roadmap-hero.png");
    background-position: center right;
  }

  .site-header .site-shell {
    width: 100%;
    padding-left: 12px;
    padding-right: 12px;
  }

  .hero-copy {
    width: 100%;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 10px;
  }

  .hero-actions a {
    min-width: 0;
    padding-left: 10px;
    padding-right: 10px;
    font-size: 14px;
    white-space: nowrap;
  }

  .hero-title {
    font-size: clamp(30px, 8.4vw, 38px);
    line-height: 1.16;
    overflow-wrap: anywhere;
  }

  .hero-lead {
    overflow-wrap: anywhere;
  }

  .metric-item,
  .metric-item:first-child {
    border-left: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .industry-option {
    min-height: auto;
  }
}
