:root {
  --bg: #f7f7f4;
  --surface: #ffffff;
  --soft: #f0f1ed;
  --line: #e4e5df;
  --ink: #202124;
  --muted: #686b70;
  --brand: #0f766e;
  --brand-bright: #14a896;
  --brand-soft: #d1faf2;
  --dark: #0c1115;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.8;
  overflow-wrap: anywhere;
}
a { color: inherit; }
img { max-width: 100%; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(12px);
}
.header-inner, .container { width: min(100% - 32px, 1040px); margin-inline: auto; }
.header-inner { min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { text-decoration: none; font-size: 1.15rem; font-weight: 900; letter-spacing: -.03em; white-space: nowrap; }
.brand span { color: var(--brand); }
.header-nav { display: flex; align-items: center; gap: 10px; }
.header-link { color: var(--muted); font-size: .78rem; font-weight: 700; text-decoration: none; }
.header-cta { border-radius: 9px; background: var(--brand-bright); color: #fff; padding: 8px 12px; font-size: .78rem; font-weight: 900; text-decoration: none; white-space: nowrap; }
.breadcrumb { padding-top: 24px; color: var(--muted); font-size: .75rem; }
.breadcrumb a { color: var(--brand); text-decoration: none; }
.hero { padding: 38px 0 42px; }
.kicker { margin: 0 0 12px; color: var(--brand); font-size: .72rem; font-weight: 900; letter-spacing: .16em; }
h1 { max-width: 850px; margin: 0; font-size: clamp(2rem, 6vw, 3.65rem); line-height: 1.24; letter-spacing: -.045em; }
.lead { max-width: 760px; margin: 22px 0 0; color: var(--muted); font-size: clamp(.96rem, 2vw, 1.08rem); }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 0; padding: 0; list-style: none; }
.hero-points li { border: 1px solid var(--line); border-radius: 999px; background: #fff; padding: 6px 10px; color: var(--muted); font-size: .72rem; font-weight: 800; }
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 34px; align-items: start; padding-bottom: 64px; }
.article { min-width: 0; }
.summary, .note, .cta-panel { border-radius: 16px; padding: 22px; }
.summary { border: 1px solid var(--line); background: var(--surface); }
.summary strong { display: block; margin-bottom: 6px; }
.summary p, .note p { margin: 0; color: var(--muted); font-size: .9rem; }
.article section { padding-top: 42px; }
h2 { margin: 0 0 16px; font-size: clamp(1.45rem, 4vw, 2rem); line-height: 1.4; letter-spacing: -.025em; }
h3 { margin: 28px 0 8px; font-size: 1.08rem; line-height: 1.55; }
.article p { margin: 12px 0; color: #42454a; }
.article ul, .article ol { margin: 14px 0; padding-left: 1.35rem; color: #42454a; }
.article li + li { margin-top: 8px; }
.steps { display: grid; gap: 12px; margin-top: 20px; }
.step { display: grid; grid-template-columns: 40px minmax(0,1fr); gap: 14px; border: 1px solid var(--line); border-radius: 14px; background: #fff; padding: 18px; }
.step-number { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: var(--brand-soft); color: var(--brand); font-weight: 900; }
.step h3 { margin: 0 0 4px; }
.step p { margin: 0; font-size: .9rem; }
.table-wrap { margin-top: 18px; overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: .84rem; }
th, td { padding: 13px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { background: var(--soft); color: var(--muted); font-size: .75rem; }
tr:last-child td { border-bottom: 0; }
.note { margin-top: 20px; border: 1px solid #b9eee4; background: #edfcf8; }
.note strong { color: var(--brand); }
.checklist { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; padding: 0 !important; list-style: none; }
.checklist li { margin: 0 !important; border: 1px solid var(--line); border-radius: 12px; background: #fff; padding: 13px 14px; font-size: .88rem; }
.checklist li::before { content: "✓"; margin-right: 8px; color: var(--brand-bright); font-weight: 900; }
.cta-panel { margin-top: 44px; background: var(--dark); color: #fff; }
.cta-panel h2 { margin-bottom: 8px; }
.cta-panel p { color: #b6c1c8; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.primary-btn, .secondary-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; border-radius: 11px; padding: 10px 16px; font-size: .87rem; font-weight: 900; text-decoration: none; }
.primary-btn { background: #2dd4bf; color: var(--dark); }
.secondary-btn { border: 1px solid rgba(255,255,255,.18); color: #fff; }
.toc { position: sticky; top: 86px; border: 1px solid var(--line); border-radius: 14px; background: #fff; padding: 18px; }
.toc p { margin: 0 0 10px; font-size: .75rem; font-weight: 900; letter-spacing: .1em; color: var(--muted); }
.toc ol { margin: 0; padding-left: 1.15rem; color: var(--muted); font-size: .78rem; }
.toc li + li { margin-top: 7px; }
.toc a { text-decoration: none; }
.toc a:hover { color: var(--brand); }
.page-footer { border-top: 1px solid var(--line); background: #fff; padding: 28px 0; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; font-size: .75rem; color: var(--muted); }
.footer-links { display: flex; flex-wrap: wrap; gap: 14px; }
.footer-links a { text-decoration: none; }

@media (max-width: 800px) {
  .layout { grid-template-columns: 1fr; }
  .toc { position: static; order: -1; }
  .header-link { display: none; }
}
@media (max-width: 560px) {
  .header-inner, .container { width: min(100% - 24px, 1040px); }
  .header-inner { min-height: 58px; }
  .hero { padding: 28px 0 32px; }
  .layout { gap: 20px; padding-bottom: 44px; }
  .summary, .note, .cta-panel { padding: 18px; }
  .step { grid-template-columns: 34px minmax(0,1fr); gap: 11px; padding: 15px; }
  .step-number { width: 34px; height: 34px; }
  .checklist { grid-template-columns: 1fr; }
  .primary-btn, .secondary-btn { width: 100%; }
}
