:root {
  --ink: #13223a;
  --muted: #54647b;
  --paper: #f7f9fc;
  --surface: #ffffff;
  --line: #dce4ef;
  --blue: #155eef;
  --blue-dark: #0b3ca8;
  --cyan: #17a8c5;
  --soft-blue: #eaf1ff;
  --focus: #0b3ca8;
  --radius: 18px;
  --shadow: 0 18px 48px rgba(19, 34, 58, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-size: 1rem;
  line-height: 1.8;
  overflow-wrap: anywhere;
}
a { color: var(--blue-dark); text-decoration-thickness: .08em; text-underline-offset: .18em; }
a:hover { color: var(--blue); }
a:focus-visible, button:focus-visible { outline: 3px solid #fff; outline-offset: 2px; box-shadow: 0 0 0 5px var(--focus); border-radius: 4px; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 20; padding: .7rem 1rem; background: var(--ink); color: #fff; }
.skip-link:focus { top: 1rem; }
.site-header { background: rgba(255,255,255,.94); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; backdrop-filter: blur(10px); }
.nav { width: min(1120px, calc(100% - 2rem)); margin: 0 auto; min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; min-height: 44px; gap: .7rem; color: var(--ink); font-weight: 760; text-decoration: none; letter-spacing: .02em; }
.brand-mark { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; color: #fff; background: linear-gradient(135deg, var(--blue-dark), var(--cyan)); }
.nav-links { display: flex; gap: 1.25rem; align-items: center; list-style: none; margin: 0; padding: 0; }
.nav-links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); font-weight: 650; text-decoration: none; }
.nav-links a:hover { color: var(--blue); }
.container { width: min(1120px, calc(100% - 2rem)); margin: 0 auto; }
.hero { padding: clamp(4rem, 9vw, 7.5rem) 0 4rem; background: radial-gradient(circle at 78% 10%, #dbe9ff 0, rgba(219,233,255,0) 30%), linear-gradient(180deg,#fff 0,var(--paper) 100%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; margin: 0 0 1rem; color: var(--blue-dark); font-size: .9rem; font-weight: 760; letter-spacing: .08em; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--cyan); }
h1, h2, h3 { line-height: 1.35; letter-spacing: -.015em; }
h1 { margin: 0 0 1.2rem; font-size: clamp(2.15rem, 5vw, 4.5rem); max-width: 13ch; }
h2 { margin: 0 0 1.1rem; font-size: clamp(1.65rem, 3vw, 2.5rem); }
h3 { margin: 0 0 .65rem; font-size: 1.2rem; }
.lead { max-width: 42rem; margin: 0; color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.22rem); }
.path-card { padding: 1.5rem; border: 1px solid #cbd8eb; border-radius: 24px; background: rgba(255,255,255,.9); box-shadow: var(--shadow); }
.path-card ol { margin: 0; padding: 0; list-style: none; counter-reset: steps; }
.path-card li { counter-increment: steps; display: grid; grid-template-columns: 38px 1fr; gap: .8rem; align-items: start; padding: .85rem 0; border-bottom: 1px solid var(--line); }
.path-card li:last-child { border-bottom: 0; }
.path-card li::before { content: counter(steps); width: 32px; height: 32px; display: grid; place-items: center; border-radius: 10px; background: var(--soft-blue); color: var(--blue-dark); font-weight: 800; }
.hero-visual { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 24px; box-shadow: var(--shadow); background: var(--soft-blue); }
.hero-visual img { width: 145%; height: 100%; object-fit: cover; object-position: left center; display: block; }
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section-white { background: var(--surface); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: 2rem; }
.section-head p { max-width: 40rem; margin: 0; color: var(--muted); }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1.2rem; }
.two-cards { grid-template-columns: repeat(2, minmax(0,1fr)); margin-top: 2rem; }
.card { display: flex; flex-direction: column; min-height: 100%; padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: 0 8px 25px rgba(19,34,58,.04); }
.card p { color: var(--muted); }
.card-link { display: inline-flex; align-items: center; min-height: 44px; margin-top: auto; font-weight: 750; }
.tag { display: inline-block; align-self: flex-start; margin-bottom: 1rem; padding: .25rem .65rem; border-radius: 999px; background: var(--soft-blue); color: var(--blue-dark); font-size: .82rem; font-weight: 750; }
.notice { padding: 1.3rem 1.5rem; border-left: 4px solid var(--cyan); background: #eefafd; border-radius: 0 12px 12px 0; }
.future-note { margin-top: 2rem; }
.article-wrap { width: min(760px, calc(100% - 2rem)); margin: 0 auto; padding: clamp(3rem,8vw,6rem) 0; }
.article-header { padding-bottom: 2rem; border-bottom: 1px solid var(--line); margin-bottom: 2.5rem; }
.article-header h1 { max-width: 18ch; font-size: clamp(2rem,5vw,3.5rem); }
.meta { color: var(--muted); font-size: .92rem; }
.prose h2 { margin-top: 2.8rem; }
.prose h3 { margin-top: 2rem; }
.prose p, .prose li { max-width: 68ch; }
.prose blockquote { margin: 2rem 0; padding: 1.2rem 1.4rem; border-left: 4px solid var(--blue); background: var(--soft-blue); border-radius: 0 12px 12px 0; }
.prose ul, .prose ol { padding-left: 1.4rem; }
.facts { display: grid; grid-template-columns: minmax(8rem, .35fr) 1fr; border-top: 1px solid var(--line); margin: 2rem 0; }
.facts dt, .facts dd { margin: 0; padding: .75rem 0; border-bottom: 1px solid var(--line); }
.facts dt { font-weight: 750; }
.related { margin-top: 3.5rem; padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.button-link { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; padding: .7rem 1.1rem; border-radius: 12px; color: #fff; background: var(--blue-dark); font-weight: 750; text-decoration: none; }
.button-link:hover { color: #fff; background: var(--blue); }
.site-footer { padding: 2.5rem 0; border-top: 1px solid var(--line); background: #0f1d32; color: #dbe6f5; }
.footer-grid { display: flex; justify-content: space-between; gap: 2rem; align-items: start; }
.site-footer a { color: #fff; }
.footer-links { display: flex; flex-wrap: wrap; gap: .6rem 1.1rem; list-style: none; margin: 0; padding: 0; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; }
.small { font-size: .88rem; color: #afbed2; }
@media (max-width: 780px) {
  .nav { min-height: auto; padding: .9rem 0; align-items: flex-start; }
  .nav-links { flex-wrap: wrap; justify-content: flex-end; gap: .45rem .9rem; }
  .hero-grid, .cards, .two-cards { grid-template-columns: 1fr; }
  .hero { padding-top: 3.5rem; }
  .section-head, .footer-grid { display: block; }
  .footer-links { margin-top: 1.2rem; }
}
@media (max-width: 520px) {
  .nav { display: block; }
  .nav-links { justify-content: flex-start; margin-top: .7rem; }
  h1 { font-size: 2.15rem; }
  .section { padding: 3.25rem 0; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
