:root {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: #18332f;
  background: #f7faf8;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
body { margin: 0; font-size: 16px; line-height: 1.85; }
a { color: #086b58; text-underline-offset: 4px; overflow-wrap: anywhere; }
a:hover { color: #024638; }
a:focus-visible { outline: 3px solid #15806c; outline-offset: 5px; border-radius: 2px; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.5em; }
li + li { margin-top: .55em; }
h1, h2, h3 { line-height: 1.4; }
h1 { margin: .4em 0; font-size: clamp(2.1rem, 5vw, 3.3rem); letter-spacing: -.04em; }
h2 { margin: 0 0 .8em; font-size: 1.4rem; }
h3 { margin: 1.2em 0 .5em; font-size: 1.05rem; }
strong { font-weight: 650; }

.skip-link {
  position: absolute;
  top: -100px;
  left: 20px;
  z-index: 2;
  padding: 10px 16px;
  background: white;
}
.skip-link:focus { top: 12px; }
.site-header, .hero, .page-layout, .site-footer { width: min(1080px, calc(100% - 64px)); margin-inline: auto; }
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 100px;
  border-bottom: 1px solid #dae5de;
}
.brand { color: #18332f; font-size: 1.2rem; font-weight: 750; text-decoration: none; white-space: nowrap; }
.brand span { display: block; font-size: .68rem; letter-spacing: .2em; font-weight: 500; color: #587068; }
.site-nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px 24px; }
.site-nav a { font-size: .9rem; text-decoration: none; padding-block: 10px; }
.site-nav [aria-current="page"] { color: #18332f; font-weight: 700; text-decoration: underline; }
.hero { padding-block: 56px 44px; }
.eyebrow { color: #086b58; font-size: .78rem; font-weight: 700; letter-spacing: .12em; margin: 0; }
.hero .intro { max-width: 680px; color: #52685f; font-size: 1.05rem; margin-bottom: 16px; }
.meta { color: #61746b; font-size: .82rem; }
.page-layout { display: grid; grid-template-columns: 195px minmax(0, 1fr); gap: 40px; align-items: start; }
.contents { position: sticky; top: 24px; padding: 0 0 24px; font-size: .88rem; }
.contents h2 { font-size: .78rem; color: #61746b; font-weight: 600; margin-bottom: 12px; }
.contents a { display: block; padding: 8px 0; color: #3b564c; text-decoration: none; }
.contents a:hover { text-decoration: underline; }
.article { background: white; border: 1px solid #dce6df; border-radius: 20px; padding: 40px; min-width: 0; }
.article section { scroll-margin-top: 24px; }
.article section + section { margin-top: 32px; padding-top: 32px; border-top: 1px solid #e5ece7; }
.article section > :last-child { margin-bottom: 0; }
.note { padding: 18px 20px; margin: 20px 0; border-left: 3px solid #23816d; background: #eef7f2; border-radius: 0 10px 10px 0; }
.note > :last-child { margin-bottom: 0; }
.button-link { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 18px; margin: 4px 8px 4px 0; border-radius: 10px; background: #086b58; color: white; font-size: .93rem; font-weight: 600; text-decoration: none; }
.button-link:hover { background: #024638; color: white; }
.site-footer { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 32px 40px; color: #61746b; font-size: .8rem; }
.site-footer p { margin: 0; }

@media (max-width: 720px) {
  .site-header, .hero, .page-layout, .site-footer { width: calc(100% - 36px); }
  .site-header { min-height: 88px; gap: 16px; }
  .site-nav { gap: 4px 16px; }
  .site-nav a { font-size: .82rem; }
  .hero { padding-block: 34px 24px; }
  .page-layout { display: block; }
  .contents { position: static; padding-bottom: 24px; }
  .contents nav { display: flex; flex-wrap: wrap; gap: 4px 20px; }
  .contents a { padding-block: 6px; }
  .article { padding: 26px 22px; border-radius: 16px; }
  .article section + section { margin-top: 26px; padding-top: 26px; }
  h2 { font-size: 1.25rem; }
}

@media print {
  body { background: white; color: black; }
  .skip-link, .contents, .site-nav { display: none; }
  .site-header, .hero, .page-layout, .site-footer { width: 100%; }
  .hero { padding-block: 24px; }
  .page-layout { display: block; }
  .article { border: 0; padding: 0; }
  .article section { break-inside: avoid; }
}
