:root {
  --navy: #0b244f;
  --navy-2: #132f63;
  --blue: #1f5ea8;
  --sky: #dfeaf5;
  --paper: #fbfaf6;
  --mist: #f2f5f8;
  --white: #ffffff;
  --ink: #182233;
  --muted: #647084;
  --line: #dbe2ea;
  --yellow: #f4c542;
  --yellow-2: #ffe69a;
  --red: #d94b3d;
  --teal: #2f8a7f;
  --shadow: 0 18px 48px rgba(17, 35, 70, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.75;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.site-header {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 10;
  padding: 20px 24px;
}

.nav-inner {
  width: min(1120px, calc(100% - 8px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  text-decoration: none;
  font-weight: 800;
  line-height: 1;
}

.brand-mark {
  display: inline-flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  font-size: 16px;
}

.brand small {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 11px;
  font-weight: 600;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 13px;
  font-weight: 700;
}

.site-nav a {
  text-decoration: none;
}

.nav-cta {
  color: var(--navy);
  background: var(--yellow);
  padding: 10px 16px;
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.hero {
  position: relative;
  min-height: 680px;
  overflow: hidden;
  background: var(--navy);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.01);
}

.page-ocr .hero::before {
  background-image:
    linear-gradient(90deg, rgba(7, 24, 55, 0.98) 0%, rgba(7, 24, 55, 0.88) 42%, rgba(7, 24, 55, 0.42) 72%, rgba(7, 24, 55, 0.16) 100%),
    url("./ocr-hero.png");
}

.page-bansou .hero::before {
  background-image:
    linear-gradient(90deg, rgba(7, 24, 55, 0.98) 0%, rgba(7, 24, 55, 0.9) 44%, rgba(7, 24, 55, 0.48) 72%, rgba(7, 24, 55, 0.14) 100%),
    url("./bansou-hero.png");
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 146px 0 70px;
  color: var(--white);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  color: var(--yellow-2);
  font-size: 13px;
  font-weight: 800;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--yellow);
}

.hero h1 {
  max-width: 780px;
  margin: 0;
  font-size: 44px;
  line-height: 1.34;
  font-weight: 900;
}

.hero h1 .accent {
  color: var(--yellow);
}

.hero-copy {
  max-width: 720px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 17px;
  line-height: 1.95;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 34px;
}

.cta-btn,
.ghost-btn {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 13px 24px;
  font-size: 16px;
  font-weight: 800;
  text-decoration: none;
}

.cta-btn {
  color: var(--navy);
  background: var(--yellow);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.22);
}

.ghost-btn {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.08);
}

.cta-btn:hover,
.ghost-btn:hover {
  transform: translateY(-1px);
}

.hero-note {
  display: block;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.hero-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 780px;
  margin-top: 46px;
}

.hero-point {
  border-top: 1px solid rgba(255, 255, 255, 0.26);
  padding-top: 15px;
}

.hero-point strong {
  display: block;
  color: var(--white);
  font-size: 16px;
  line-height: 1.45;
}

.hero-point span {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  line-height: 1.65;
}

.page-section {
  padding: 78px 24px;
}

.page-section.compact {
  padding-top: 58px;
  padding-bottom: 58px;
}

.band-paper {
  background: var(--paper);
}

.band-mist {
  background: var(--mist);
}

.band-dark {
  color: var(--white);
  background:
    radial-gradient(circle at 78% 18%, rgba(244, 197, 66, 0.16), transparent 30%),
    linear-gradient(135deg, #0b244f 0%, #122f62 58%, #0e463f 100%);
}

.section-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-head.center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 12px;
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
}

.kicker::before {
  content: "";
  width: 22px;
  height: 2px;
  background: currentColor;
}

.section-head.center .kicker::before {
  display: none;
}

h2 {
  margin: 0;
  color: var(--navy);
  font-size: 30px;
  line-height: 1.45;
  font-weight: 900;
}

.band-dark h2,
.band-dark .lead {
  color: var(--white);
}

.lead {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.9;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 46px;
  align-items: start;
}

.issue-list,
.feature-grid,
.mode-grid,
.proof-grid,
.entry-grid,
.reason-grid {
  display: grid;
  gap: 18px;
}

.issue-list,
.feature-grid,
.mode-grid,
.entry-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.reason-grid,
.proof-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.issue-card,
.feature-card,
.mode-card,
.entry-card,
.reason-card,
.proof-card,
.process-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.issue-card,
.feature-card,
.mode-card,
.entry-card,
.reason-card,
.proof-card {
  padding: 24px;
}

.issue-card {
  position: relative;
  padding-left: 58px;
}

.issue-card::before {
  content: "";
  position: absolute;
  top: 27px;
  left: 24px;
  width: 18px;
  height: 18px;
  border: 2px solid var(--red);
  border-radius: 50%;
  box-shadow: inset 0 0 0 5px var(--white);
  background: var(--red);
}

.issue-card h3,
.feature-card h3,
.mode-card h3,
.entry-card h3,
.reason-card h3,
.proof-card h3 {
  margin: 0 0 9px;
  color: var(--navy);
  font-size: 17px;
  line-height: 1.55;
  font-weight: 900;
}

.issue-card p,
.feature-card p,
.mode-card p,
.entry-card p,
.reason-card p,
.proof-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.insight-strip {
  margin-top: 34px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 26px;
  align-items: center;
  border-radius: 8px;
  border: 1px solid rgba(31, 94, 168, 0.18);
  background: var(--white);
  box-shadow: var(--shadow);
  padding: 28px;
}

.insight-strip strong {
  color: var(--navy);
  font-size: 21px;
  line-height: 1.55;
}

.insight-strip p {
  margin: 0;
  color: #404b5d;
  font-size: 14px;
  line-height: 1.85;
}

.source-note {
  display: block;
  margin-top: 10px;
  color: #8892a1;
  font-size: 12px;
}

.feature-card.wide {
  grid-column: 1 / -1;
}

.feature-num,
.step-num,
.reason-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  margin-bottom: 12px;
  border-radius: 8px;
  color: var(--white);
  background: var(--blue);
  font-size: 13px;
  font-weight: 900;
}

.feature-card ul,
.closer-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-card li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
}

.feature-card li::before {
  content: "";
  position: absolute;
  top: 13px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
}

.workflow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 74px minmax(0, 1fr);
  gap: 20px;
  align-items: stretch;
}

.process-panel {
  min-height: 280px;
  padding: 26px;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
}

.process-panel h3 {
  margin: 0 0 18px;
  color: var(--white);
  font-size: 18px;
}

.process-panel ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-panel li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  line-height: 1.7;
}

.process-panel li::before {
  content: "";
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  margin-top: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.52);
}

.process-panel.after li::before {
  background: var(--yellow);
}

.workflow-arrow {
  display: grid;
  place-items: center;
  color: var(--yellow);
  font-size: 30px;
  font-weight: 900;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.comparison-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: 14px;
}

.comparison-table th {
  background: var(--navy);
  color: var(--white);
  padding: 15px 18px;
  text-align: left;
}

.comparison-table th.comparison-key {
  background: #e7edf6;
  color: var(--navy);
  width: 190px;
}

.comparison-table th.highlight {
  background: var(--teal);
}

.comparison-table td {
  padding: 16px 18px;
  border-top: 1px solid var(--line);
  vertical-align: top;
}

.comparison-table .label {
  width: 190px;
  background: #f8fafc;
  color: var(--navy);
  font-weight: 900;
}

.comparison-table .boc {
  background: #edf7f4;
  font-weight: 700;
}

.step-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.step-card {
  position: relative;
  min-height: 210px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 24px;
}

.step-card h3 {
  margin: 0 0 9px;
  color: var(--navy);
  font-size: 17px;
  line-height: 1.55;
}

.step-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.free-label {
  display: inline-block;
  margin-top: 10px;
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
}

.entry-card {
  border-left: 4px solid var(--teal);
}

.mode-card {
  border-top: 4px solid var(--yellow);
}

.reason-card {
  text-align: left;
}

.reason-num {
  background: var(--navy);
}

.proof-card {
  background: var(--white);
  box-shadow: 0 12px 28px rgba(17, 35, 70, 0.08);
}

.proof-tag {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.proof-stat {
  margin: 8px 0 10px;
  color: var(--blue);
  font-size: 23px;
  line-height: 1.35;
  font-weight: 900;
}

.proof-note {
  max-width: 760px;
  margin: 26px auto 0;
  color: var(--muted);
  text-align: center;
}

.final-cta {
  text-align: center;
}

.final-cta h2 {
  color: var(--white);
}

.final-cta p {
  max-width: 720px;
  margin: 18px auto 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 16px;
}

.closer-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 860px;
  margin: 30px auto 0;
}

.closer-list li {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  padding: 16px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
  font-weight: 700;
}

.final-cta .hero-actions {
  justify-content: center;
}

.footer {
  padding: 34px 24px;
  color: rgba(255, 255, 255, 0.68);
  background: #081832;
  text-align: center;
  font-size: 13px;
}

.footer strong {
  display: block;
  margin-bottom: 8px;
  color: var(--white);
  font-size: 15px;
}

.footer a {
  color: var(--yellow-2);
  text-decoration: none;
}

.footer-link {
  display: block;
  margin-top: 10px;
}

@media (max-width: 900px) {
  .site-nav a:not(.nav-cta) {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero h1 {
    font-size: 34px;
  }

  .hero-content {
    width: min(100% - 36px, 1120px);
    padding-top: 132px;
    padding-bottom: 54px;
  }

  .hero-points,
  .split,
  .issue-list,
  .feature-grid,
  .mode-grid,
  .entry-grid,
  .reason-grid,
  .proof-grid,
  .insight-strip,
  .workflow,
  .step-list,
  .closer-list {
    grid-template-columns: 1fr;
  }

  .workflow-arrow {
    min-height: 42px;
    transform: rotate(90deg);
  }
}

@media (max-width: 560px) {
  .site-header {
    padding: 16px;
  }

  .brand span:last-child {
    display: none;
  }

  .nav-cta {
    padding: 9px 12px;
  }

  .hero h1 {
    font-size: 28px;
  }

  .hero-copy {
    font-size: 15px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .cta-btn,
  .ghost-btn {
    width: 100%;
  }

  .page-section {
    padding: 58px 18px;
  }

  h2 {
    font-size: 24px;
  }

  .issue-card,
  .feature-card,
  .mode-card,
  .entry-card,
  .reason-card,
  .proof-card,
  .step-card,
  .process-panel,
  .insight-strip {
    padding: 20px;
  }

  .issue-card {
    padding-left: 48px;
  }

  .issue-card::before {
    left: 20px;
  }
}
