:root {
  color-scheme: light;
  --content-ink: #172b3d;
  --content-muted: #5d6b78;
  --content-navy: #102b43;
  --content-navy-soft: #eaf0f5;
  --content-teal: #007d6a;
  --content-teal-soft: #e6f5f1;
  --content-line: #d9e2e8;
  --content-line-soft: #eaf0f3;
  --content-paper: #ffffff;
  --content-background: #f7f9fb;
  --content-radius: 16px;
  --content-shadow: 0 18px 50px rgba(16, 43, 67, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--content-background);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--content-ink);
  background: var(--content-background);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

a {
  color: var(--content-teal);
  text-underline-offset: 0.2em;
  text-decoration-thickness: 0.08em;
}

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

a:focus-visible {
  border-radius: 4px;
  outline: 3px solid rgba(0, 125, 106, 0.28);
  outline-offset: 3px;
}

.site-header {
  border-bottom: 1px solid var(--content-line);
  background: rgba(255, 255, 255, 0.96);
}

.site-header__inner,
.site-footer__inner {
  width: min(100% - 36px, 1120px);
  margin-inline: auto;
}

.site-header__inner {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.site-brand {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--content-navy);
  font-weight: 800;
  text-decoration: none;
}

.site-brand__mark {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--content-navy);
  color: #fff;
  font-size: 0.9rem;
}

.breadcrumb {
  width: min(100% - 36px, 800px);
  margin: 18px auto 0;
  font-size: 0.82rem;
  line-height: 1.5;
}

.breadcrumb ol {
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  list-style: none;
}

.breadcrumb li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.breadcrumb li:not(:last-child)::after {
  content: ">";
  color: #8794a0;
}

.breadcrumb a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.breadcrumb [aria-current="page"] {
  color: var(--content-muted);
}

.article-page,
.hub-page {
  width: min(100% - 36px, 800px);
  margin: 18px auto 56px;
}

.article,
.hub-card {
  border: 1px solid var(--content-line-soft);
  border-radius: var(--content-radius);
  background: var(--content-paper);
  box-shadow: var(--content-shadow);
}

.article {
  padding: 24px 18px 28px;
}

.article-header {
  padding-bottom: 24px;
  border-bottom: 1px solid var(--content-line-soft);
}

.article-header h1,
.hub-header h1 {
  margin: 0;
  color: var(--content-navy);
  font-size: clamp(1.75rem, 7.2vw, 2.65rem);
  line-height: 1.35;
  letter-spacing: -0.035em;
}

.article-lead {
  margin-top: 20px;
  padding: 18px;
  border-left: 4px solid var(--content-teal);
  border-radius: 0 12px 12px 0;
  background: var(--content-teal-soft);
}

.article-lead p {
  margin: 0;
}

.article-lead p + p {
  margin-top: 6px;
}

.article-dates {
  margin: 16px 0 0;
  color: var(--content-muted);
  font-size: 0.82rem;
}

.article-section {
  padding-top: 28px;
}

.article-section + .article-section {
  margin-top: 8px;
  border-top: 1px solid var(--content-line-soft);
}

.article-section h2 {
  margin: 0 0 18px;
  color: var(--content-navy);
  font-size: clamp(1.35rem, 5.3vw, 1.8rem);
  line-height: 1.45;
  letter-spacing: -0.025em;
}

.article-section p {
  margin: 0 0 18px;
}

.article-section ul {
  margin: 0 0 20px;
  padding-left: 1.4em;
}

.article-section li + li {
  margin-top: 6px;
}

.source-line {
  color: var(--content-muted);
  font-size: 0.9rem;
}

.table-scroll {
  width: 100%;
  margin: 20px 0;
  overflow-x: auto;
  border: 1px solid var(--content-line);
  border-radius: 12px;
  background: #fff;
  -webkit-overflow-scrolling: touch;
}

.table-scroll:focus-visible {
  outline: 3px solid rgba(0, 125, 106, 0.28);
  outline-offset: 3px;
}

table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}

.table-scroll--compact table {
  min-width: 480px;
}

.table-scroll--wide table {
  min-width: 720px;
}

caption {
  padding: 12px 14px;
  color: var(--content-navy);
  background: var(--content-navy-soft);
  font-weight: 800;
  text-align: left;
}

th,
td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--content-line-soft);
  text-align: left;
  vertical-align: top;
}

thead th {
  color: var(--content-navy);
  background: #f8fafb;
  font-size: 0.88rem;
  white-space: nowrap;
}

tbody th {
  min-width: 260px;
  color: var(--content-navy);
  font-weight: 700;
}

tbody tr:last-child > * {
  border-bottom: 0;
}

.numeric {
  text-align: right;
  white-space: nowrap;
}

.source-list {
  padding-left: 1.25em;
}

.source-list li {
  padding-left: 0.15em;
}

.article-footer {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--content-line-soft);
  color: var(--content-muted);
  font-size: 0.86rem;
}

.article-footer p {
  margin: 4px 0;
}

.hub-header {
  margin-bottom: 24px;
}

.hub-header p {
  margin: 12px 0 0;
  color: var(--content-muted);
}

.article-list {
  display: grid;
  gap: 16px;
}

.hub-card {
  padding: 20px;
}

.hub-card h2 {
  margin: 0;
  color: var(--content-navy);
  font-size: 1.25rem;
  line-height: 1.55;
}

.hub-card p {
  margin: 10px 0 0;
  color: var(--content-muted);
}

.hub-card__link {
  min-height: 44px;
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  font-weight: 800;
}

.site-footer {
  border-top: 1px solid var(--content-line);
  background: #fff;
}

.site-footer__inner {
  min-height: 84px;
  display: flex;
  align-items: center;
  color: var(--content-muted);
  font-size: 0.82rem;
}

@media (min-width: 720px) {
  .site-header__inner,
  .site-footer__inner {
    width: min(100% - 64px, 1120px);
  }

  .breadcrumb,
  .article-page,
  .hub-page {
    width: min(100% - 64px, 800px);
  }

  .breadcrumb {
    margin-top: 24px;
  }

  .article-page,
  .hub-page {
    margin-top: 24px;
    margin-bottom: 72px;
  }

  .article {
    padding: 42px 48px 44px;
  }

  .article-section {
    padding-top: 36px;
  }

  .article-section + .article-section {
    margin-top: 14px;
  }

  .hub-card {
    padding: 26px;
  }
}

@media (min-width: 980px) {
  .article-page,
  .hub-page {
    margin-top: 30px;
    margin-bottom: 88px;
  }

  .article {
    padding: 52px 64px 54px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
