:root {
  color-scheme: light;
  --ink: #172019;
  --muted: #5c665e;
  --line: #dce2dd;
  --soft: #f5f7f5;
  --green: #184f32;
  --green-soft: #e9f1ec;
  --white: #ffffff;
  font-family: "Yu Gothic UI", "Hiragino Sans", "Noto Sans JP", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--ink); line-height: 1.75; }
a { color: var(--green); text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }
.shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.site-header { position: sticky; top: 0; z-index: 10; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.96); backdrop-filter: blur(12px); }
.site-header .shell { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { color: var(--ink); text-decoration: none; font: 800 19px/1 system-ui, sans-serif; letter-spacing: -.02em; }
.site-nav { display: flex; flex-wrap: wrap; gap: 22px; }
.site-nav a { color: #333b35; text-decoration: none; font-size: 14px; font-weight: 650; }
.hero { padding: 86px 0 54px; border-bottom: 1px solid var(--line); }
.hero h1 { max-width: 960px; margin: 0; font-family: "Yu Mincho", "Hiragino Mincho ProN", serif; font-size: clamp(38px, 5vw, 66px); line-height: 1.22; letter-spacing: -.03em; }
.hero .lead { max-width: 780px; margin: 24px 0 0; color: var(--muted); font-size: 18px; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 48px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.fact { padding: 24px 28px; border-right: 1px solid var(--line); }
.fact:first-child { padding-left: 0; }
.fact:last-child { border-right: 0; }
.fact dt { color: var(--muted); font-size: 12px; font-weight: 750; letter-spacing: .08em; }
.fact dd { margin: 6px 0 0; font-size: 18px; font-weight: 750; }
.section { padding: 74px 0; border-bottom: 1px solid var(--line); }
.section-grid { display: grid; grid-template-columns: minmax(260px, .78fr) minmax(0, 1.5fr); gap: 80px; }
.section h2, .policy h1 { margin: 0; font-family: "Yu Mincho", "Hiragino Mincho ProN", serif; font-size: clamp(30px, 3vw, 43px); line-height: 1.3; letter-spacing: -.02em; }
.section-intro { margin: 18px 0 0; color: var(--muted); }
.spec { width: 100%; border-collapse: collapse; }
.spec th, .spec td { padding: 14px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.spec th { width: 34%; color: var(--muted); font-size: 13px; font-weight: 700; }
.flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; list-style: none; margin: 6px 0 0; padding: 0; counter-reset: flow; }
.flow li { position: relative; padding: 60px 20px 0 0; counter-increment: flow; }
.flow li::before { content: counter(flow); position: absolute; top: 0; left: 0; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--green); color: white; font-weight: 800; }
.flow li:not(:last-child)::after { content: ""; position: absolute; top: 18px; left: 46px; right: 10px; height: 1px; background: var(--green); }
.flow strong { display: block; font-size: 16px; }
.flow span { display: block; margin-top: 8px; color: var(--muted); font-size: 13px; }
.diagram { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; gap: 16px; margin-top: 16px; }
.diagram-node { min-height: 132px; display: grid; place-items: center; padding: 20px; border: 1px solid var(--green); border-radius: 8px; text-align: center; }
.diagram-node strong { display: block; }
.diagram-node span { color: var(--muted); font-size: 13px; }
.arrow { color: var(--green); font-size: 28px; }
.plain-list { margin: 24px 0 0; padding-left: 1.25em; }
.plain-list li + li { margin-top: 10px; }
.document-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.document-list li { border-bottom: 1px solid var(--line); }
.document-list a { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 18px 4px; text-decoration: none; font-weight: 700; }
.document-list a::after { content: "↗"; }
.notice { margin-top: 26px; padding: 18px 20px; border-left: 3px solid var(--green); background: var(--soft); color: #3f4942; }
.site-footer { padding: 34px 0 48px; }
.site-footer .shell { display: flex; justify-content: space-between; gap: 28px; color: var(--muted); font-size: 13px; }
.policy { max-width: 860px; margin: 0 auto; padding: 76px 24px 100px; }
.policy .updated { margin: 18px 0 46px; color: var(--muted); }
.policy h2 { margin: 48px 0 12px; font-size: 23px; }
.policy h3 { margin: 28px 0 8px; font-size: 18px; }
.policy p, .policy li { color: #404943; }
.policy li + li { margin-top: 8px; }
.back { display: inline-block; margin-bottom: 32px; font-weight: 700; text-decoration: none; }
.evidence-image { width: 100%; height: auto; border: 1px solid var(--line); border-radius: 8px; }
.evidence figure { margin: 34px 0 58px; }
.evidence figcaption { margin-top: 12px; color: var(--muted); font-size: 13px; }

@media (max-width: 860px) {
  .shell { width: min(100% - 32px, 680px); }
  .site-header { position: static; }
  .site-header .shell { min-height: auto; padding: 20px 0; align-items: flex-start; flex-direction: column; }
  .site-nav { gap: 14px 20px; }
  .hero { padding: 58px 0 38px; }
  .facts { grid-template-columns: 1fr; }
  .fact, .fact:first-child { padding: 18px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .fact:last-child { border-bottom: 0; }
  .section { padding: 54px 0; }
  .section-grid { grid-template-columns: 1fr; gap: 34px; }
  .flow { grid-template-columns: 1fr; gap: 20px; }
  .flow li { min-height: 88px; padding: 4px 0 0 62px; }
  .flow li::before { top: 0; }
  .flow li:not(:last-child)::after { top: 45px; bottom: -18px; left: 18px; width: 1px; height: auto; }
  .diagram { grid-template-columns: 1fr; }
  .arrow { transform: rotate(90deg); justify-self: center; }
  .site-footer .shell { flex-direction: column; }
}
