:root {
  color-scheme: light dark;
  --paper: #f7f6f2;
  --surface: #fff;
  --ink: #23262b;
  --muted: #626975;
  --accent: #365d72;
  --line: #d8dadd;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 1.5rem; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 1rem/1.8 -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", sans-serif;
  overflow-wrap: anywhere;
}
a { color: var(--accent); text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; border-radius: 3px; }
header, main, footer { width: min(48rem, calc(100% - 2.5rem)); margin-inline: auto; }
header { padding-block: 1.25rem; border-bottom: 1px solid var(--line); }
nav { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem 1.25rem; }
nav a { display: inline-flex; align-items: center; min-height: 44px; }
.brand { color: var(--ink); font-weight: 700; text-decoration: none; margin-right: auto; }
[aria-current="page"] { font-weight: 700; text-decoration-thickness: 2px; }
main { padding-block: clamp(2rem, 6vw, 4rem); }
h1 { margin: 0 0 1rem; font-size: clamp(1.8rem, 5vw, 2.75rem); line-height: 1.4; letter-spacing: .01em; }
h2 { margin: 0 0 .75rem; font-size: 1.35rem; line-height: 1.6; }
h3 { margin: 1.5rem 0 .5rem; font-size: 1.1rem; }
p { margin: .75rem 0; }
.lead { font-size: 1.1rem; color: var(--muted); }
.eyebrow { color: var(--accent); font-size: .9rem; margin: 0 0 .75rem; }
.muted, .updated { color: var(--muted); }
.updated { font-size: .9rem; margin-bottom: 2rem; }
section { margin-block: 2.25rem; }
ul, ol { padding-left: 1.5em; }
li { margin-block: .5rem; }
strong { font-weight: 700; }
.links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-block: 2rem; }
.destination { padding: 1.25rem; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); text-decoration: none; }
.destination strong { display: block; margin-bottom: .4rem; }
.destination span { display: block; color: var(--muted); }
.notice { padding: 1rem 1.25rem; border-left: 3px solid var(--accent); background: var(--surface); }
.notice p:first-child { margin-top: 0; }
.notice p:last-child { margin-bottom: 0; }
.contents { padding: 1rem 1.25rem; border: 1px solid var(--line); border-radius: 12px; }
.contents ul { margin-block: 0; }
.contents a { display: inline-block; padding-block: .2rem; }
details { border-bottom: 1px solid var(--line); padding-block: .75rem; }
summary { min-height: 44px; align-content: center; cursor: pointer; font-weight: 600; }
details p, details ol, details ul { margin-left: 1.25rem; }
.contact { padding-top: 1.5rem; border-top: 1px solid var(--line); }
.mail { display: inline-block; padding-block: .4rem; }
footer { padding-block: 1.5rem 2.5rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
footer p { margin-block: .5rem; }
.skip-link { position: absolute; left: 1rem; top: -6rem; z-index: 1; padding: .75rem; background: var(--surface); }
.skip-link:focus { top: .5rem; }
@media (max-width: 36rem) {
  .brand { flex-basis: 100%; }
  .links { grid-template-columns: 1fr; }
  nav { column-gap: 1rem; }
}
@media (prefers-color-scheme: dark) {
  :root { --paper: #15181d; --surface: #20252c; --ink: #f1f2f4; --muted: #adb6c2; --accent: #9bc4d9; --line: #3c4652; }
}
