:root {
  --document-ink: #17243a;
  --document-muted: #5b6675;
  --document-line: #d6dbe2;
  --document-navy: #17375e;
  --document-gold: #a87724;
  --document-paper: #fff;
  --document-tint: #f5f7f9;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--document-ink);
  background: var(--document-paper);
  font-family: -apple-system, BlinkMacSystemFont, "Yu Gothic", "YuGothic", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  line-height: 1.9;
}
a { color: #15589a; text-underline-offset: .18em; }
a:hover { color: #0c3561; }
.skip-link {
  position: fixed;
  z-index: 100;
  top: .5rem;
  left: .5rem;
  padding: .5rem .75rem;
  background: #fff;
  transform: translateY(-160%);
}
.skip-link:focus { transform: none; }

.document-site-header {
  border-top: 5px solid var(--document-navy);
  border-bottom: 1px solid var(--document-line);
  background: #fff;
}
.document-header-inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.document-brand {
  color: var(--document-navy);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-decoration: none;
}
.document-site-header nav { display: flex; gap: 1.35rem; }
.document-site-header nav a { color: var(--document-ink); font-size: .92rem; text-decoration: none; }
.document-site-header nav a[aria-current="page"] { color: var(--document-navy); font-weight: 700; }

.document-main {
  width: min(1040px, calc(100% - 40px));
  margin: 0 auto;
  padding: 1.25rem 0 5rem;
}
.document-breadcrumb {
  margin-bottom: 3.5rem;
  color: var(--document-muted);
  font-size: .82rem;
}
.document-breadcrumb span { margin: 0 .45rem; }
.document-breadcrumb span:last-child { margin-left: 0; }
.document-hero {
  max-width: 900px;
  margin-bottom: 5rem;
  padding-left: 1.5rem;
  border-left: 5px solid var(--document-gold);
}
.document-kicker,
.document-section-number {
  margin: 0 0 .65rem;
  color: var(--document-gold);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .14em;
}
.document-hero h1 {
  margin: 0;
  color: var(--document-navy);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(1.75rem, 4vw, 2.8rem);
  line-height: 1.45;
  letter-spacing: .02em;
}
.document-location { margin: 1rem 0 .25rem; color: var(--document-muted); font-weight: 700; }
.document-lead { margin: .35rem 0 0; font-size: 1.06rem; }

.document-section {
  margin-top: 4.5rem;
  padding-top: 2.25rem;
  border-top: 1px solid var(--document-line);
}
.document-section h2 {
  margin: 0 0 1.4rem;
  color: var(--document-navy);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.5;
}
.document-section > p,
.document-section > ul,
.document-facts { max-width: 860px; }
.document-facts {
  display: grid;
  grid-template-columns: 12rem 1fr;
  margin: 2rem 0 0;
  border-top: 1px solid var(--document-line);
}
.document-facts dt,
.document-facts dd {
  margin: 0;
  padding: .8rem 1rem;
  border-bottom: 1px solid var(--document-line);
}
.document-facts dt { color: var(--document-muted); background: var(--document-tint); font-weight: 700; }
.document-facts dd { overflow-wrap: anywhere; }

.document-viewer-wrap {
  width: 100%;
  margin: 1.5rem 0 1rem;
  padding: 7px;
  border: 1px solid #aab2bd;
  background: #e8ebef;
}
.document-viewer {
  display: block;
  width: 100%;
  height: 78vh;
  min-height: 720px;
  border: 0;
  background: #3b3f45;
}
.document-source-actions { margin-top: 1rem; }
.document-source-actions a {
  display: inline-block;
  padding: .62rem 1rem;
  border: 1px solid var(--document-navy);
  color: var(--document-navy);
  font-weight: 700;
  text-decoration: none;
}
.document-findings { padding-left: 1.35rem; }
.document-findings li { margin: .65rem 0; padding-left: .35rem; }
.document-reading-note {
  margin-top: 1.5rem;
  padding: 1rem 1.2rem;
  border-left: 4px solid var(--document-gold);
  background: var(--document-tint);
  color: var(--document-muted);
  font-size: .92rem;
}
.document-status,
.document-error {
  max-width: 760px;
  margin: 5rem auto;
  padding: 1.25rem 1.4rem;
  border-left: 4px solid var(--document-gold);
  background: var(--document-tint);
}
.document-error h1 { color: var(--document-navy); font-family: "Yu Mincho", serif; }
.document-site-footer {
  padding: 2.5rem max(20px, calc((100% - 1040px) / 2));
  border-top: 1px solid var(--document-line);
  color: var(--document-muted);
  background: var(--document-tint);
  font-size: .88rem;
}
.document-site-footer p { margin: .25rem 0; }
.document-noscript { margin: 1rem; padding: 1rem; border: 1px solid #a40000; }

.archive-pilot-documents .archive-material-records { margin-top: 1.5rem; }
.archive-pilot-documents .archive-material-record {
  padding: 1.2rem 0;
  border-top: 1px solid var(--document-line);
}
.archive-pilot-documents .archive-material-record:last-child { border-bottom: 1px solid var(--document-line); }
.archive-pilot-documents .archive-material-record h4 { margin: 0 0 .35rem; font-size: 1.05rem; }
.archive-pilot-documents .archive-material-record p { margin: .35rem 0; }
.archive-pilot-documents .archive-material-meta { color: var(--document-muted); font-size: .86rem; }

@media (max-width: 700px) {
  .document-header-inner { width: min(100% - 28px, 1120px); min-height: 68px; align-items: flex-start; flex-direction: column; gap: .55rem; padding: .8rem 0; }
  .document-site-header nav { gap: 1rem; overflow-x: auto; width: 100%; white-space: nowrap; }
  .document-main { width: min(100% - 28px, 1040px); padding-top: 1rem; }
  .document-breadcrumb { margin-bottom: 2.2rem; overflow-wrap: anywhere; }
  .document-hero { margin-bottom: 3.5rem; padding-left: 1rem; }
  .document-section { margin-top: 3.5rem; padding-top: 1.75rem; }
  .document-facts { grid-template-columns: 1fr; }
  .document-facts dt { padding-bottom: .3rem; border-bottom: 0; }
  .document-facts dd { padding-top: .3rem; }
  .document-viewer-wrap { margin-left: -7px; margin-right: -7px; width: calc(100% + 14px); padding: 4px; }
  .document-viewer { height: 72vh; min-height: 520px; }
}

@media print {
  .document-site-header,
  .document-breadcrumb,
  .document-viewer-wrap,
  .document-source-actions,
  .document-site-footer { display: none !important; }
  .document-main { width: 100%; padding: 0; }
  .document-hero,
  .document-section { margin-top: 1.5rem; margin-bottom: 1.5rem; break-inside: avoid; }
  a { color: inherit; }
}
