:root {
  color-scheme: light;
  font-family: "Noto Sans JP", "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif;
  color: #17221f;
  background: #f4f7f5;
  line-height: 1.8;
}

* { box-sizing: border-box; }

body { margin: 0; }

a { color: #176b5b; }

.site-header {
  background: #123d35;
  color: #fff;
}

.site-header-inner,
.document,
.site-footer-inner {
  width: min(920px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header-inner {
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand { margin: 0; font-size: 1.15rem; font-weight: 800; }
.version { font-size: .82rem; opacity: .84; }

.document {
  margin-top: 34px;
  margin-bottom: 34px;
  padding: clamp(24px, 5vw, 54px);
  background: #fff;
  border: 1px solid #dce7e2;
  border-radius: 18px;
  box-shadow: 0 10px 32px rgba(20, 61, 53, .08);
}

h1 { margin-top: 0; font-size: clamp(1.7rem, 5vw, 2.4rem); line-height: 1.35; }
h2 { margin-top: 2.1em; font-size: 1.25rem; line-height: 1.5; }
h3 { margin-top: 1.6em; font-size: 1.05rem; }
p, li, dd, dt { font-size: .98rem; }
ul, ol { padding-left: 1.35rem; }
li + li { margin-top: .45rem; }

.lead,
.notice {
  padding: 16px 18px;
  border-radius: 12px;
  background: #edf7f3;
  border-left: 4px solid #2a8c77;
}

.meta { color: #53645f; font-size: .9rem; }

.facts {
  display: grid;
  grid-template-columns: minmax(150px, .42fr) 1fr;
  border-top: 1px solid #dce7e2;
}

.facts dt,
.facts dd {
  margin: 0;
  padding: 13px 10px;
  border-bottom: 1px solid #dce7e2;
}

.facts dt { font-weight: 700; background: #f7faf8; }

.document-nav {
  margin-top: 42px;
  padding-top: 22px;
  border-top: 1px solid #dce7e2;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.site-footer { background: #e5eee9; color: #41514c; }
.site-footer-inner { padding: 24px 0; font-size: .86rem; }

@media (max-width: 640px) {
  .site-header-inner { align-items: flex-start; flex-direction: column; gap: 4px; }
  .document { width: min(100% - 20px, 920px); margin-top: 10px; border-radius: 12px; }
  .facts { grid-template-columns: 1fr; }
  .facts dt { border-bottom: 0; padding-bottom: 3px; }
  .facts dd { padding-top: 3px; }
}
