:root {
  --ink: #1d2a3a;
  --muted: #55657a;
  --navy: #17365d;
  --accent: #b86e00;
  --line: #d9e0e8;
  --soft: #f3f6f9;
  --warm: #fff7e8;
  --white: #ffffff;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", Meiryo, sans-serif;
  font-size: 17px;
  line-height: 1.85;
  overflow-wrap: anywhere;
}

a { color: var(--navy); text-underline-offset: 3px; }
a:hover { color: var(--accent); }

.wrap { max-width: 980px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }

.site-head { border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { color: var(--navy); font-size: 19px; font-weight: 700; text-decoration: none; }
.site-nav { display: flex; gap: 20px; font-size: 15px; }

.hero { background: var(--navy); color: var(--white); padding: 72px 0; }
.eyebrow { margin: 0 0 12px; color: #f4cf85; font-size: 15px; font-weight: 700; }
.hero h1 { margin: 0 0 20px; font-size: 40px; line-height: 1.4; }
.hero p { max-width: 700px; margin: 0; font-size: 19px; }

section { padding: 60px 0; }
section.soft { background: var(--soft); }
h2 { margin: 0 0 24px; color: var(--navy); font-size: 28px; line-height: 1.5; }
h3 { margin: 0 0 8px; color: var(--navy); font-size: 19px; line-height: 1.55; }

.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.cards li { padding: 20px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); }
.cards p { margin: 0; }

.steps { margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { position: relative; padding: 0 0 26px 58px; counter-increment: step; }
.steps li::before {
  position: absolute; top: 0; left: 0; display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--navy); color: var(--white); font-weight: 700; content: counter(step);
}
.steps li:last-child { padding-bottom: 0; }
.steps p { margin: 0; }

.note { margin: 24px 0 0; padding: 18px 20px; border-left: 4px solid #e8a42c; background: var(--warm); }

.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 16px; }
th, td { padding: 12px 14px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
th { background: var(--soft); color: var(--navy); }
code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .9em; white-space: nowrap; }
th[scope="row"] { white-space: nowrap; }

.policy { padding: 48px 0 64px; }
.policy h1 { margin: 0 0 8px; color: var(--navy); font-size: 32px; line-height: 1.45; }
.policy h2 { margin: 44px 0 14px; font-size: 23px; }
.policy h3 { margin: 28px 0 8px; font-size: 18px; }
.updated { margin: 0 0 28px; color: var(--muted); font-size: 15px; }

.site-foot { padding: 28px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.site-foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; }

@media (max-width: 680px) {
  body { font-size: 16px; }
  .hero { padding: 48px 0; }
  .hero h1 { font-size: 29px; }
  .hero p { font-size: 17px; }
  section { padding: 44px 0; }
  h2 { font-size: 23px; }
  .cards { grid-template-columns: 1fr; }
  table.stack thead { display: none; }
  table.stack, table.stack tbody, table.stack tr, table.stack td { display: block; width: 100%; }
  table.stack tr { margin-bottom: 12px; border: 1px solid var(--line); border-radius: 8px; }
  table.stack td { border: 0; border-bottom: 1px solid var(--line); }
  table.stack td:last-child { border-bottom: 0; }
  table.stack td::before { display: block; color: var(--muted); font-size: 13px; font-weight: 700; content: attr(data-label); }
  .site-head .wrap { align-items: flex-start; flex-direction: column; gap: 2px; padding-top: 12px; padding-bottom: 12px; }
}
