:root {
  color-scheme: light;
  --text: #20242a;
  --muted: #5f6873;
  --line: #d8dde3;
  --link: #145da0;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  font-size: 100%;
}

* {
  box-sizing: border-box;
}

html {
  background: #fff;
  color: var(--text);
  line-height: 1.85;
  overflow-wrap: anywhere;
}

body {
  margin: 0;
}

a {
  color: var(--link);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.16em;
}

a:hover {
  text-decoration-thickness: 0.14em;
}

a:focus-visible {
  border-radius: 0.15rem;
  outline: 3px solid #f0a500;
  outline-offset: 3px;
}

.skip-link {
  background: #fff;
  left: 1rem;
  padding: 0.5rem 0.75rem;
  position: absolute;
  top: -5rem;
  z-index: 10;
}

.skip-link:focus {
  top: 0.75rem;
}

.site-header,
.site-footer {
  border-color: var(--line);
  border-style: solid;
  border-width: 0;
}

.site-header {
  border-bottom-width: 1px;
}

.site-footer {
  border-top-width: 1px;
  color: var(--muted);
  margin-top: 4rem;
}

.header-inner,
.footer-inner,
main {
  margin-inline: auto;
  max-width: 48rem;
  padding-inline: 1.25rem;
}

.header-inner,
.footer-inner {
  padding-block: 1rem;
}

.site-name {
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
}

main {
  padding-block: 2.5rem 1rem;
}

h1,
h2,
h3 {
  line-height: 1.45;
  margin-block: 2.4rem 0.8rem;
}

h1 {
  font-size: clamp(1.75rem, 6vw, 2.25rem);
  margin-top: 0;
}

h2 {
  border-bottom: 1px solid var(--line);
  font-size: 1.3rem;
  padding-bottom: 0.35rem;
}

h3 {
  font-size: 1.08rem;
}

p,
ul,
ol,
dl {
  margin-block: 0.75rem;
}

li + li {
  margin-top: 0.35rem;
}

.lead {
  font-size: 1.05rem;
}

.meta {
  color: var(--muted);
  font-size: 0.95rem;
}

.document-list {
  border-top: 1px solid var(--line);
  list-style: none;
  margin-block: 2rem;
  padding: 0;
}

.document-list li {
  border-bottom: 1px solid var(--line);
  margin: 0;
  padding-block: 1rem;
}

.document-list a {
  display: inline-block;
  font-weight: 700;
}

.document-list p {
  color: var(--muted);
  margin: 0.25rem 0 0;
}

.back-link {
  display: inline-block;
  margin-bottom: 1.5rem;
}

.service-entry {
  border-top: 1px solid var(--line);
  padding-block: 1.2rem;
}

.service-entry:last-of-type {
  border-bottom: 1px solid var(--line);
}

.service-entry h3 {
  margin-top: 0;
}

dt {
  font-weight: 700;
  margin-top: 0.55rem;
}

dd {
  margin-left: 0;
}

.contact {
  border-top: 1px solid var(--line);
  margin-top: 3rem;
  padding-top: 1rem;
}

@media (max-width: 36rem) {
  .header-inner,
  .footer-inner,
  main {
    padding-inline: 1rem;
  }

  main {
    padding-top: 2rem;
  }
}

@media print {
  :root {
    font-size: 10.5pt;
  }

  .skip-link,
  .site-header,
  .back-link,
  .site-footer {
    display: none;
  }

  main {
    max-width: none;
    padding: 0;
  }

  a {
    color: inherit;
    text-decoration: none;
  }

  h1,
  h2,
  h3 {
    break-after: avoid-page;
  }

  li,
  .service-entry {
    break-inside: avoid-page;
  }

}
