:root {
  color-scheme: light;
  --ink: #17211d;
  --body: #33423b;
  --muted: #64716a;
  --line: #dce4de;
  --green: #16845c;
  --green-dark: #0c6847;
  --white: #fff;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--body); line-height: 1.62; }
a { color: var(--green-dark); text-underline-offset: 3px; }
a:hover { color: var(--green); }
a:focus-visible { outline: 2px solid var(--green); outline-offset: 4px; border-radius: 2px; }

.shell { width: min(100% - 48px, 1200px); margin-inline: auto; }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { color: var(--ink); text-decoration: none; font-size: 1.14rem; font-weight: 720; letter-spacing: -.035em; white-space: nowrap; }
.brand-mark { display: inline-block; width: 12px; height: 12px; margin-right: 9px; border: 3px solid var(--green); border-radius: 50%; vertical-align: 1px; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; }
.nav a { color: var(--muted); text-decoration: none; font-size: .91rem; font-weight: 550; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--green); text-decoration-thickness: 2px; text-underline-offset: 8px; }

main { padding: clamp(50px, 7vw, 96px) 0 96px; }
.article { max-width: 760px; margin: 0 auto; }
.eyeline { width: 48px; height: 4px; margin-bottom: 28px; background: var(--green); border-radius: 4px; }
h1, h2, h3 { color: var(--ink); line-height: 1.2; text-wrap: balance; }
h1 { max-width: 760px; margin: 0 0 17px; font-size: clamp(2.55rem, 5vw, 4.2rem); letter-spacing: -.055em; font-weight: 750; }
h2 { margin: 0 0 14px; font-size: clamp(1.35rem, 2vw, 1.7rem); letter-spacing: -.035em; }
h3 { margin: 0 0 8px; font-size: 1.06rem; letter-spacing: -.015em; }
p { margin: 0 0 17px; }
.intro { max-width: 670px; margin-bottom: 10px; color: var(--body); font-size: 1.18rem; line-height: 1.55; }
.updated { color: var(--muted); font-size: .9rem; }
.contents { display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 34px 0 56px; padding: 20px 0; border-block: 1px solid var(--line); }
.contents a { color: var(--ink); font-size: .9rem; font-weight: 600; text-decoration: none; }
.contents a:hover { color: var(--green-dark); }
.section { padding: 30px 0; border-top: 1px solid var(--line); }
.section:first-of-type { border-top: 0; }
.section ul, .section ol { margin: 0 0 18px; padding-left: 24px; }
.section li { margin: 0 0 10px; padding-left: 4px; }
.note { margin: 26px 0 6px; padding: 20px 24px; border-left: 4px solid var(--green); background: #f2f8f4; }
.note p:last-child { margin-bottom: 0; }
.step { display: grid; grid-template-columns: 42px 1fr; gap: 16px; padding: 25px 0; border-top: 1px solid var(--line); }
.step-number { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 50%; color: var(--green-dark); font-size: .88rem; font-weight: 700; }
.step p:last-child { margin-bottom: 0; }
.next { margin-top: 45px; padding-top: 25px; border-top: 1px solid var(--line); }
.next a { display: inline-block; padding: 10px 15px; border: 1px solid var(--line); border-radius: 8px; font-weight: 650; text-decoration: none; }
.next a:hover { border-color: var(--green); }
.guide-page main { padding: 44px 0 40px; }
.guide { max-width: none; }
.guide h1 { max-width: none; margin-bottom: 14px; font-size: clamp(2.5rem, 4vw, 3.4rem); }
.guide .intro { max-width: 760px; margin-bottom: 32px; font-size: 1.17rem; }
.guide .step { max-width: 860px; grid-template-columns: 54px 1fr; gap: 22px; padding: 16px 0; border: 0; }
.guide .step-number { width: 44px; height: 44px; border: 0; background: #e8f1eb; color: var(--ink); font-size: 1.08rem; }
.guide .step h2 { margin: 5px 0 6px; font-size: 1.27rem; }
.guide .step p { max-width: 640px; margin-bottom: 0; line-height: 1.52; }
.guide-note { display: grid; grid-template-columns: 44px 1fr; gap: 16px; max-width: 860px; margin-top: 14px; padding: 20px; border-radius: 8px; background: #edf7ef; }
.guide-note-icon { display: grid; place-items: center; width: 36px; height: 36px; border: 2px solid var(--green); border-radius: 50%; color: var(--green); font-size: 1.3rem; font-weight: 700; line-height: 1; }
.guide-note h2 { margin: 0 0 3px; font-size: 1.1rem; }
.guide-note p { max-width: 640px; margin: 0; line-height: 1.48; }
.guide-help { margin: 18px 0 0; font-size: .91rem; }
.site-footer { border-top: 1px solid var(--line); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-block: 30px; color: var(--muted); font-size: .85rem; }
.footer-inner p { margin: 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px 22px; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--ink); }

@media (max-width: 680px) {
  .shell { width: min(100% - 36px, 1200px); }
  .header-inner { align-items: flex-start; flex-direction: column; justify-content: center; gap: 11px; padding-block: 18px; }
  .nav { gap: 7px 18px; }
  .nav a { font-size: .84rem; }
  main { padding-bottom: 70px; }
  .contents { margin-bottom: 34px; }
  .section { padding-block: 25px; }
  .guide-page main { padding: 42px 0 48px; }
  .guide h1 { font-size: clamp(2.25rem, 10vw, 3.2rem); }
  .guide .intro { margin-bottom: 28px; font-size: 1.06rem; }
  .guide .step { grid-template-columns: 42px 1fr; gap: 14px; padding: 18px 0; }
  .guide .step-number { width: 38px; height: 38px; }
  .guide .step h2 { margin-top: 3px; font-size: 1.17rem; }
  .guide-note { grid-template-columns: 36px 1fr; gap: 12px; padding: 17px; }
  .guide-note-icon { width: 30px; height: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
