:root {
  color-scheme: light;
  --ink: #233943;
  --muted: #50626c;
  --blue: #00658e;
  --blue-deep: #004d70;
  --sky: #eaf4f8;
  --paper: #f6f8f9;
  --line: #cbd9df;
  --leaf: #d7e6af;
  --sand: #faf3e5;
  --sans: "Avenir Next", "Segoe UI", Arial, sans-serif;
  --serif: Charter, "Sitka Text", Georgia, serif;
  font-family: var(--serif);
  color: var(--ink);
  background: #fff;
  font-size: 18px;
  line-height: 1.65;
  -webkit-text-size-adjust: 100%;
}
* { box-sizing: border-box; }
body { margin: 0; }
body, button, select { font-size: 1rem; }
button, select { font-family: var(--sans); }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--blue-deep); text-decoration-thickness: 2px; }
a:focus-visible, button:focus-visible, select:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 5px;
}
[hidden] { display: none !important; }
h1, h2, h3, strong, nav, label, button, select { font-family: var(--sans); }
h1, h2, h3 { line-height: 1.18; font-weight: 650; }
h1 { font-size: clamp(2.4rem, 4.5vw, 3.7rem); letter-spacing: -.035em; margin: .45em 0 .5em; }
h2 { font-size: clamp(1.65rem, 2.5vw, 2.25rem); letter-spacing: -.025em; margin: .25em 0 .65em; }
h3 { font-size: 1.22rem; margin: 0 0 .65em; }
p { margin: 0 0 1em; }
strong { font-weight: 650; }
section[id], li[id], #visit-questions { scroll-margin-top: 28px; }
section[tabindex]:focus { outline: none; }
#skip { position: fixed; top: 12px; left: 12px; z-index: 10; padding: 12px 22px; background: #fff; transform: translateY(-200%); }
#skip:focus { transform: translateY(0); }
#top {
  max-width: 1296px;
  margin: auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 48px;
  padding: 26px 36px;
  font-family: var(--sans);
}
#top > a { color: var(--ink); text-decoration: none; font-size: 1.5rem; font-weight: 650; line-height: 1.1; padding: 4px 0; }
#top > a span { display: block; font-size: 16px; font-weight: 450; margin-top: 7px; color: var(--muted); }
#top nav { display: flex; gap: 16px; }
#top nav a { min-height: 44px; display: flex; align-items: center; padding: 5px 9px; color: var(--ink); font-size: 16px; text-decoration: none; }
#top nav a:hover { background: var(--sky); border-radius: 9px; }
#orientation {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  align-items: center;
  gap: 64px;
  max-width: 1296px;
  margin: 8px auto 0;
  padding: 52px 60px 54px;
  background: var(--paper);
  border-radius: 24px;
}
#orientation > div > p:first-child, article section > header > p {
  color: var(--blue);
  font: 550 16px/1.4 var(--sans);
  margin-bottom: 16px;
}
#orientation > div > p:not(:first-child) { max-width: 57ch; }
#orientation > div > p:nth-of-type(2) { font-size: 1.12rem; line-height: 1.6; }
#status { border-left: 4px solid var(--blue); padding-left: 20px; margin: 26px 0 22px; }
#orientation > div > a {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  gap: 30px;
  padding: 11px 22px;
  border-radius: 10px;
  background: var(--blue);
  color: #fff;
  font: 550 16px/1.5 var(--sans);
  text-decoration: none;
}
#orientation > div > a:hover { background: var(--blue-deep); }
#care-route { margin: 0; padding: 30px; border-radius: 20px; background: #fff; }
#care-route > p { font: 550 16px/1.5 var(--sans); margin-bottom: 28px; color: var(--muted); }
#care-route ol { margin: 0; padding: 0; list-style: none; }
#care-route li { position: relative; padding: 0 0 32px 42px; }
#care-route li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 21px;
  height: 21px;
  background: #fff;
  border: 5px solid var(--blue);
  border-radius: 50%;
  z-index: 1;
}
#care-route li:not(:last-child)::after { content: ""; position: absolute; left: 9px; top: 24px; width: 3px; bottom: -5px; background: var(--line); }
#care-route li:last-child { padding-bottom: 0; }
#care-route li:last-child::before { background: var(--leaf); border-color: #59752b; }
#care-route strong { display: block; font-size: 1rem; line-height: 1.4; margin-bottom: 4px; }
#care-route li span { display: block; color: var(--muted); font-size: 16px; line-height: 1.5; }
#care-route figcaption { font-size: 16px; line-height: 1.6; padding-top: 24px; margin-top: 26px; border-top: 1px solid var(--line); }
#guide {
  display: grid;
  grid-template-columns: 246px minmax(0, 720px);
  gap: clamp(40px, 6vw, 88px);
  justify-content: center;
  max-width: 1296px;
  margin: 0 auto;
  padding: 70px 36px 0;
  align-items: start;
}
#contents { position: sticky; top: 28px; font-family: var(--sans); font-size: 16px; }
#contents h2 { font-size: 1.3rem; margin: 0 0 12px; letter-spacing: -.015em; }
#contents p { color: var(--muted); line-height: 1.6; margin-bottom: 22px; }
#contents ol { list-style: none; padding: 0; margin: 0; }
#contents li { margin: 0; }
#contents a {
  display: flex;
  align-items: center;
  min-height: 48px;
  border-left: 3px solid var(--line);
  padding: 9px 12px 9px 18px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
  text-decoration: none;
}
#contents a:hover, #contents a[aria-current="location"] { color: var(--blue-deep); background: var(--sky); border-left-color: var(--blue); }
#section-jump { margin-top: 30px; }
#section-jump label { display: block; font-size: 16px; margin-bottom: 8px; }
#section-jump > div { display: flex; gap: 8px; }
#section-jump select { width: 100%; min-width: 0; height: 48px; border: 1px solid #8b9fa9; border-radius: 8px; background: #fff; color: var(--ink); padding: 0 8px; font-size: 16px; }
#section-jump button { min-width: 48px; min-height: 48px; border: 0; border-radius: 8px; color: #fff; background: var(--blue); font-size: 16px; cursor: pointer; }
#section-jump button:hover { background: var(--blue-deep); }
article { min-width: 0; }
article > section { padding-bottom: 58px; margin-bottom: 58px; border-bottom: 1px solid var(--line); }
article > section:last-child { border-bottom: none; padding-bottom: 0; }
article > section > header { max-width: 34em; margin-bottom: 26px; }
article p, article li { max-width: 70ch; }
article ul { padding-left: 24px; margin: 25px 0; }
article li { padding-left: 7px; margin: 0 0 24px; }
article li::marker { color: var(--blue); }
article li > strong { display: block; line-height: 1.4; margin-bottom: 7px; }
article li p { margin-bottom: 12px; }
article li p:last-child { margin-bottom: 0; }
article a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  min-width: 44px;
  padding: 8px 0;
  gap: 14px;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
}
article section > aside { margin: 30px 0 18px; padding: 26px 28px; border-radius: 16px; background: var(--sand); }
article section > aside p:last-child { margin-bottom: 0; }
article section > aside ul { margin: 14px 0 0; }
article section > aside li:last-child { margin-bottom: 0; }
#visit-questions { margin: 32px 0 18px; padding: 30px; background: var(--sky); border-radius: 18px; }
#visit-questions ul { margin-bottom: 0; }
#visit-questions li { margin-bottom: 14px; }
#visit-questions li:last-child { margin-bottom: 0; }
#urgent-help { padding: 26px 0 18px; margin-top: 30px; border-top: 1px solid var(--line); }
#urgent-help p { margin-bottom: 4px; }
#reading-list { list-style: none; padding: 0; margin: 26px 0 0; }
#reading-list > li { border-top: 1px solid var(--line); padding: 26px 0; margin: 0; }
#reading-list h3 { margin: 0 0 12px; }
#reading-list h3 a { display: flex; justify-content: space-between; gap: 20px; padding: 0; font-size: 1.1rem; line-height: 1.45; text-decoration: none; }
#reading-list h3 a:hover { text-decoration: underline; }
#reading-list h3 span { color: var(--muted); font-size: 16px; line-height: 1.5; font-weight: 450; min-width: fit-content; text-align: right; }
#reading-list p { margin: 0 0 10px; }
#reading-list p:last-child { margin-bottom: 0; }
footer { max-width: 1224px; padding: 32px 36px 44px; margin: 0 auto; border-top: 3px solid var(--blue); display: grid; grid-template-columns: minmax(0, 63ch) 1fr; gap: 48px; }
footer p { margin: 0; font-size: 16px; }
footer nav { display: flex; flex-direction: column; align-items: flex-start; font-size: 16px; }
footer a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; padding: 8px 0; gap: 14px; font-size: 16px; line-height: 1.5; }
body:has(#missing-path) main { max-width: 900px; padding: 80px 36px 100px; margin: auto; }
#missing-path p { max-width: 56ch; }
#missing-path a { display: inline-flex; min-height: 48px; min-width: 44px; align-items: center; font: 550 18px/1.5 var(--sans); }
@media (max-width: 1050px) {
  #top { gap: 28px; padding-inline: 28px; }
  #top nav { gap: 6px; }
  #orientation { margin-inline: 20px; padding: 40px; gap: 36px; }
  #care-route { padding: 24px; }
  #guide { grid-template-columns: 218px minmax(0, 720px); gap: 40px; padding-inline: 28px; }
}
@media (max-width: 760px) {
  :root { font-size: 18px; }
  #top { grid-template-columns: 1fr 1fr; gap: 14px 12px; padding: 24px 22px 14px; }
  #top > a { grid-column: 1 / -1; justify-self: start; font-size: 1.4rem; }
  #top nav { gap: 0; }
  #top nav:last-child { justify-content: flex-end; }
  #top nav a { padding: 7px 8px; }
  #top nav:first-of-type a:first-child { padding-left: 0; }
  #top nav:last-child a:last-child { padding-right: 0; }
  #orientation { margin: 4px 12px 0; padding: 32px 22px; grid-template-columns: minmax(0, 1fr); gap: 36px; border-radius: 20px; }
  h1 { font-size: clamp(2.2rem, 9.4vw, 3.2rem); }
  #orientation > div > p:nth-of-type(2) { font-size: 1.06rem; }
  #status { padding-left: 16px; }
  #care-route { padding: 26px 24px; }
  #guide { display: block; padding: 42px 24px 0; }
  #contents { position: static; margin-bottom: 50px; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
  #contents p { margin-bottom: 16px; }
  #contents ol { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 12px; }
  #contents a { height: 100%; min-height: 52px; padding: 9px 10px; }
  #section-jump { margin-top: 24px; }
  #section-jump button { min-width: 60px; }
  article > section { padding-bottom: 42px; margin-bottom: 44px; }
  article > section > header { margin-bottom: 22px; }
  article ul { padding-left: 21px; }
  article li { padding-left: 2px; }
  article section > aside { padding: 24px 22px; }
  #visit-questions { padding: 26px 22px; }
  #reading-list h3 a { display: block; padding: 6px 0; }
  #reading-list h3 span { display: block; text-align: left; margin-top: 6px; }
  footer { margin: 0 24px; padding: 28px 0 36px; display: block; }
  footer nav { margin-top: 20px; }
  body:has(#missing-path) main { padding: 50px 24px 70px; }
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
@media print {
  #top, #contents, #skip, footer nav, article section > a, #orientation > div > a { display: none; }
  #orientation { background: #fff; border-radius: 0; padding: 0 0 24px; }
  #guide { display: block; padding: 0; }
  body { padding: 24px; }
  article > section { margin-bottom: 28px; padding-bottom: 24px; }
  article li, #reading-list li, #care-route { break-inside: avoid; }
  footer { display: block; padding-inline: 0; }
}
