:root {
  --navy: #0c447c;
  --link: #185fa5;
  --tint: #e6f1fb;
  --text: #1f1f1d;
  --muted: #5f5e5a;
  --line: #e2e0d9;
  --band: #f7f6f2;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; }
h1, h2, h3, p { word-break: auto-phrase; }
a { color: var(--link); }
a:hover { color: var(--navy); }
.wrap { max-width: 960px; margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 8px; background: #fff; padding: 4px 8px; z-index: 1; }

.site-header { border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; flex-wrap: wrap; }
.brand { color: var(--link); font-size: 22px; font-weight: 600; letter-spacing: 0.02em; text-decoration: none; }
.site-header nav { display: flex; gap: 24px; font-size: 14px; }
.site-header nav a { color: var(--muted); text-decoration: none; }
.site-header nav a:hover { color: var(--navy); }

.hero { padding: 72px 0 64px; border-bottom: 1px solid var(--line); }
.eyebrow { margin: 0 0 8px; color: var(--link); font-size: 12px; letter-spacing: 0.12em; }
.hero h1 { margin: 0 0 16px; font-size: 34px; font-weight: 600; line-height: 1.5; }
.hero p.lead { margin: 0; max-width: 640px; color: var(--muted); }

section { padding: 56px 0; border-bottom: 1px solid var(--line); }
section.band { background: var(--band); }
h2 { margin: 0 0 4px; padding-left: 12px; border-left: 4px solid var(--link); font-size: 22px; font-weight: 600; line-height: 1.5; }
.section-note { margin: 0 0 24px; padding-left: 16px; color: var(--muted); font-size: 14px; }
h2 + .cards, h2 + .steps, h2 + .facts { margin-top: 24px; }

.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.card { display: block; height: 100%; padding: 20px 22px; border: 1px solid var(--line); border-radius: 8px; color: inherit; text-decoration: none; }
.card:hover { border-color: var(--link); }
.card h3 { margin: 0 0 6px; font-size: 17px; font-weight: 600; line-height: 1.5; }
.card p { margin: 0 0 10px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.card .url { color: var(--link); font-size: 13px; }
.badge { display: inline-block; margin-left: 8px; padding: 0 8px; border-radius: 4px; background: var(--tint); color: var(--navy); font-size: 12px; font-weight: 400; vertical-align: 2px; }

h3.sub { margin: 40px 0 12px; color: var(--muted); font-size: 14px; font-weight: 600; }
.other { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; padding: 14px 4px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: inherit; text-decoration: none; }
.other:hover strong { color: var(--navy); }
.other strong { font-size: 16px; font-weight: 600; }
.other span { color: var(--muted); font-size: 14px; }
.other .url { color: var(--link); font-size: 13px; }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin: 0; padding: 0; list-style: none; }
.steps .num { display: block; color: var(--link); font-size: 26px; font-weight: 600; line-height: 1.4; }
.steps h3 { margin: 4px 0 8px; font-size: 16px; font-weight: 600; }
.steps p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.8; }

.facts { width: 100%; border-collapse: collapse; font-size: 15px; }
.facts th, .facts td { padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.facts th { width: 28%; color: var(--muted); font-weight: 400; }

.page { padding: 56px 0 72px; }
.page h1 { margin: 0 0 24px; font-size: 28px; font-weight: 600; line-height: 1.5; }
.page h2 { margin: 40px 0 8px; font-size: 18px; }
.page p { margin: 0 0 12px; max-width: 720px; }
.page .meta { margin-top: 40px; color: var(--muted); font-size: 14px; }

.site-footer { background: var(--navy); color: #b5d4f4; font-size: 13px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-top: 28px; padding-bottom: 28px; }
.site-footer .brand { color: #fff; font-size: 18px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.site-footer a { color: #e6f1fb; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer p { margin: 0; }

@media (max-width: 720px) {
  .wrap { padding: 0 16px; }
  .site-header .wrap { padding-top: 12px; padding-bottom: 12px; }
  .site-header nav { gap: 16px; font-size: 13px; }
  .hero { padding: 48px 0 44px; }
  .hero h1 { font-size: 26px; }
  section { padding: 44px 0; }
  .cards, .steps { grid-template-columns: minmax(0, 1fr); }
  .steps { gap: 24px; }
  .facts th { width: 34%; }
}
