:root {
  --red: #ff482e;
  --red-dark: #c42a12;
  --sky: #acd9ef;
  --sky-soft: #e9f7fd;
  --navy: #071e45;
  --cream: #fff7e5;
  --cream-deep: #f6e9c9;
  --white: #fff;
  --muted: #46526a;
  --line: #cad3df;
  --focus: #ffd34d;
  --maxw: 760px;
  --font: "Hiragino Sans", "Noto Sans JP", "BIZ UDPGothic", "Yu Gothic", Meiryo, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; color: var(--navy); background: var(--cream); font-family: var(--font); font-size: 16px; line-height: 1.8; font-feature-settings: "palt"; }
a { color: inherit; }
h1, h2, h3, p, ol, ul, dl, dd { margin: 0; }
ol, ul { padding: 0; }
section { scroll-margin-top: 82px; }
:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; box-shadow: 0 0 0 3px var(--focus); border-radius: 6px; }
.skip-link { position: fixed; top: -80px; left: 8px; z-index: 100; background: var(--navy); color: white; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 8px; }

.preview-bar { padding: 8px 16px; display: grid; gap: 1px; text-align: center; background: var(--navy); color: white; font-size: 12px; line-height: 1.45; }
.preview-bar strong { color: var(--focus); font-size: 14px; }
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(172, 217, 239, .96); border-bottom: 3px solid var(--navy); backdrop-filter: blur(10px); }
.header-inner { min-height: 58px; padding: 0 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px; max-width: 1080px; margin: auto; }
.brand { min-height: 44px; display: inline-flex; align-items: center; gap: 7px; text-decoration: none; font-size: 21px; font-weight: 900; letter-spacing: .02em; }
.brand span { border: 2px solid; border-radius: 999px; padding: 0 6px; font-size: 10px; }
.article-label { border: 2px solid var(--navy); border-radius: 999px; padding: 3px 9px; background: white; font-size: 12px; font-weight: 800; }

.hero { background: var(--red); border-bottom: 4px solid var(--navy); overflow: hidden; }
.hero-inner { position: relative; max-width: 900px; margin: auto; padding: 44px 24px 40px; }
.hero-inner::after { content: ""; position: absolute; width: 150px; height: 150px; right: -74px; bottom: -88px; border-radius: 50%; background: var(--sky); border: 4px solid var(--navy); }
.eyebrow, .kicker { display: inline-block; width: fit-content; padding: 3px 10px; background: var(--navy); color: white; border-radius: 999px; font-size: 13px; font-weight: 800; letter-spacing: .04em; }
h1 { max-width: 680px; margin-top: 14px; font-size: clamp(2rem, 8.4vw, 3.5rem); line-height: 1.14; letter-spacing: -.035em; font-weight: 900; overflow-wrap: anywhere; }
.title-last { display: block; }
.hero-lead { max-width: 640px; margin-top: 20px; font-size: 17px; line-height: 1.75; overflow-wrap: anywhere; word-break: normal; }
.sp-only { display: block; }
.hero-tags { margin-top: 24px; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.hero-tags span { padding: 5px 10px; background: var(--cream); border: 2px solid var(--navy); border-radius: 10px; font-size: 12px; font-weight: 800; }

.article-shell { width: min(100% - 36px, var(--maxw)); margin: 0 auto; padding: 30px 0 70px; }
.toc { margin-bottom: 42px; padding: 18px; background: white; border: 3px solid var(--navy); border-radius: 16px; box-shadow: 5px 5px 0 var(--sky); }
.toc-title { font-size: 17px; font-weight: 900; }
.toc ol { margin-top: 10px; padding-left: 1.6em; display: grid; gap: 5px; }
.toc a { text-decoration-thickness: 2px; text-underline-offset: 3px; }
.section-card { padding: 22px 18px; background: white; border: 3px solid var(--navy); border-radius: 20px; }
.section-block { margin-top: 58px; }
h2 { margin-top: 10px; font-size: clamp(1.7rem, 7vw, 2.45rem); line-height: 1.32; letter-spacing: -.025em; font-weight: 900; }
.section-block > p:not(.kicker), .next-step > p:not(.kicker):not(.cta-note) { margin-top: 15px; }
h3 { line-height: 1.45; }

.conclusion { position: relative; box-shadow: 7px 7px 0 var(--navy); }
.answer-grid { display: grid; gap: 12px; margin-top: 22px; }
.answer-item { position: relative; padding: 18px 16px 16px 64px; border: 2px solid var(--navy); border-radius: 14px; }
.answer-item--sky { background: var(--sky-soft); }
.answer-item--red { background: #fff0ec; }
.answer-number { position: absolute; top: 16px; left: 14px; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--navy); color: white; font-size: 13px; font-weight: 900; }
.answer-item p { line-height: 1.55; }
.answer-type { display: block; margin-top: 8px; color: var(--muted); font-size: 13px; font-weight: 700; }
.scope-note { margin-top: 18px; padding-top: 15px; border-top: 2px dashed var(--line); color: var(--muted); font-size: 14px; }

.step-flow { margin-top: 22px; list-style: none; counter-reset: step; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.step-flow li { counter-increment: step; min-height: 66px; padding: 12px 10px; display: flex; align-items: center; gap: 8px; background: white; border: 2px solid var(--navy); border-radius: 12px; font-size: 13px; font-weight: 800; line-height: 1.35; }
.step-flow li::before { content: counter(step); flex: 0 0 28px; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--red); color: white; font-size: 11px; }

.type-grid { display: grid; gap: 16px; margin-top: 24px; }
.type-card { padding: 22px 18px; border: 3px solid var(--navy); border-radius: 20px; }
.type-card--sky { background: var(--sky-soft); box-shadow: 6px 6px 0 var(--sky); }
.type-card--red { background: #fff0ec; box-shadow: 6px 6px 0 #ff9b88; }
.type-icon { width: 48px; height: 48px; display: grid; place-items: center; background: var(--navy); color: white; border-radius: 14px; font-size: 20px; font-weight: 900; transform: rotate(-3deg); }
.type-label { margin-top: 15px; color: var(--red-dark); font-size: 13px; font-weight: 900; }
.type-card h3 { margin-top: 3px; font-size: 26px; }
.type-card > p:not(.type-label):not(.fact-note) { margin-top: 12px; }
.mini-facts { display: grid; gap: 8px; margin-top: 18px; }
.mini-facts div { padding: 12px; background: rgba(255,255,255,.8); border: 2px solid var(--navy); border-radius: 11px; }
.mini-facts dt { color: var(--red-dark); font-size: 12px; font-weight: 900; }
.mini-facts dd { margin-top: 2px; font-weight: 800; line-height: 1.5; }
.fact-note { margin-top: 14px; color: var(--muted); font-size: 13px; }

.comparison-intro { color: var(--muted); font-size: 14px; }
.comparison-list { margin-top: 22px; display: grid; gap: 12px; }
.compare-row { overflow: hidden; background: white; border: 2px solid var(--navy); border-radius: 15px; }
.compare-row h3 { padding: 11px 14px; display: flex; gap: 9px; align-items: center; background: var(--navy); color: white; font-size: 17px; }
.compare-row h3 span { color: var(--focus); font-size: 12px; }
.compare-pair { display: grid; }
.compare-pair p { min-width: 0; padding: 14px; line-height: 1.55; }
.compare-pair p + p { border-top: 2px dashed var(--line); }
.label { display: block; width: fit-content; margin-bottom: 6px; padding: 2px 8px; border-radius: 999px; color: var(--navy); font-size: 12px; }
.label--sky { background: var(--sky); }
.label--red { background: #ff9b88; }
.caution-box { margin-top: 24px; padding: 20px 18px; background: var(--sky); border: 3px solid var(--navy); border-radius: 18px; }
.caution-box h3 { font-size: 19px; }
.caution-box p { margin-top: 8px; }

.not-fit-list { margin-top: 22px; display: grid; gap: 10px; list-style: none; }
.not-fit-list li { display: grid; grid-template-columns: 40px 1fr; gap: 10px; align-items: start; padding: 15px; background: white; border: 2px solid var(--navy); border-radius: 13px; }
.not-fit-list span { width: 34px; height: 34px; display: grid; place-items: center; background: var(--red); color: white; border-radius: 50%; font-weight: 900; }
.not-fit-list p { line-height: 1.6; }

.next-step { margin-top: 60px; padding: 28px 20px; background: var(--red); border: 4px solid var(--navy); border-radius: 22px; box-shadow: 8px 8px 0 var(--navy); text-align: center; }
.next-step .kicker { margin-inline: auto; }
.next-step h2 { font-size: clamp(1.8rem, 8vw, 2.5rem); }
.cta { width: 100%; min-height: 58px; margin-top: 24px; padding: 14px 16px; display: inline-flex; justify-content: center; align-items: center; gap: 10px; background: var(--navy); color: white; border: 3px solid var(--navy); border-radius: 999px; text-decoration: none; font-size: 17px; font-weight: 900; box-shadow: 0 6px 0 rgba(7,30,69,.3); }
.cta:hover { transform: translateY(-2px); }
.cta:active { transform: translateY(2px); box-shadow: none; }
.cta-note { margin-top: 12px; font-size: 12px; line-height: 1.5; font-weight: 700; }
.sources { margin-top: 48px; border-width: 2px; box-shadow: none; }
.sources h2 { margin: 0; font-size: 20px; }
.sources p { margin-top: 10px; color: var(--muted); font-size: 13px; }
.site-footer { padding: 26px 18px; background: var(--navy); color: white; text-align: center; font-size: 12px; }
.site-footer p + p { margin-top: 4px; color: var(--focus); font-weight: 800; }

@media (min-width: 640px) {
  body { font-size: 17px; }
  .preview-bar { display: flex; justify-content: center; gap: 12px; align-items: baseline; }
  .hero-inner { padding: 64px 32px 56px; }
  .title-last { display: inline; }
  .hero-lead { font-size: 18px; }
  .sp-only { display: none; }
  .hero-tags { flex-direction: row; flex-wrap: wrap; }
  .article-shell { padding-top: 44px; }
  .section-card { padding: 32px; }
  .answer-grid, .type-grid { grid-template-columns: 1fr 1fr; }
  .step-flow { grid-template-columns: repeat(4, 1fr); }
  .compare-pair { grid-template-columns: 1fr 1fr; }
  .compare-pair p + p { border-top: 0; border-left: 2px dashed var(--line); }
  .next-step { padding: 42px 36px; }
  .cta { width: auto; min-width: 360px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cta:hover { transform: none; }
}

@media print {
  .site-header { position: static; }
  .preview-bar { color: black; background: white; border-bottom: 2px solid black; }
  .cta { color: black; background: white; }
}
