:root {
  color-scheme: light dark;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", Meiryo, sans-serif;
  color: #20343b;
  background: #f6f8f7;
  --muted: #516962;
  --accent: #116963;
  --rule: #c6d5d1;
  --soft: #ddf2ed;
}

@media (prefers-color-scheme: dark) {
  :root {
    color: #ebf4f2;
    background: #101c1f;
    --muted: #b2c8c0;
    --accent: #92ddcf;
    --rule: #48625f;
    --soft: #173c39;
  }
}

* { box-sizing: border-box; }
body { margin: 0; line-height: 1.8; }
header, main, footer { max-width: 43rem; margin: 0 auto; padding-inline: 20px; }
header { padding-block: 24px 12px; }
header strong { font-size: 1.12rem; }
nav { display: flex; flex-wrap: wrap; gap: 0 12px; margin-block-start: 6px; }
nav a { display: inline-flex; align-items: center; min-height: 44px; padding-inline: 8px; border-radius: 8px; }
nav a[aria-current="page"] { background: var(--soft); color: inherit; font-weight: 600; }
a { color: var(--accent); text-underline-offset: 0.2em; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
main { padding-block: 12px 32px; }
h1 { margin: 0 0 16px; font-size: clamp(1.7rem, 5vw, 2.25rem); line-height: 1.3; }
h2 { margin: 28px 0 6px; font-size: 1.16rem; line-height: 1.5; }
p, ul { margin: 8px 0; }
ul { padding-inline-start: 1.35em; }
.date { color: var(--muted); font-size: .92rem; }
.contact { background: var(--soft); border-radius: 16px; padding: 16px; margin-block: 18px; }
.contact h2 { margin-block-start: 0; }
.contact a { display: inline-flex; align-items: center; min-height: 44px; overflow-wrap: anywhere; }
address { font-style: normal; }
footer { border-block-start: 1px solid var(--rule); padding-block: 16px 28px; color: var(--muted); font-size: .92rem; }
