:root {
  color-scheme: light;
  --ink: #111d3f;
  --muted: #425370;
  --blue: #2349cf;
  --deep: #132962;
  --paper: #f3f6ff;
  --line: #d7e0f2;
  --white: #fff;
  --measure: 76rem;
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, "Noto Sans JP", sans-serif;
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 6rem;
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--paper); line-height: 1.85; }
a { color: var(--blue); text-underline-offset: .24em; }
a:hover { text-decoration-thickness: .13em; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid #16779a; outline-offset: 4px; }
img, video { max-width: 100%; display: block; height: auto; }
p, figure { margin: 0 0 1.15rem; }
h1, h2, h3 { line-height: 1.35; margin: 0; overflow-wrap: anywhere; }
h1 { font-size: clamp(1.9rem, 5.1vw, 3.9rem); letter-spacing: -.04em; }
h2 { font-size: clamp(1.35rem, 3.1vw, 2.3rem); letter-spacing: -.024em; }
h3 { font-size: clamp(1rem, 2vw, 1.24rem); }
.wrap { width: min(calc(100% - 3rem), var(--measure)); margin-inline: auto; }
.skip { position: absolute; z-index: 8; left: 1rem; top: 1rem; background: white; padding: .5rem 1rem; transform: translateY(-200%); }
.skip:focus { transform: none; }
.topbar { position: sticky; top: 0; z-index: 5; background: #fff; border-bottom: 1px solid var(--line); }
.bar { display: flex; justify-content: space-between; align-items: center; min-height: 4.3rem; gap: 1rem; position: relative; }
.logo { color: var(--ink); text-decoration: none; display: flex; align-items: center; gap: .62rem; font-weight: 800; letter-spacing: -.03em; font-size: clamp(.96rem, 3.6vw, 1.25rem); line-height: 1.25; }
.logo img { border-radius: .62rem; }
.site-nav { display: flex; align-items: center; gap: 1.5rem; }
.site-nav a { color: var(--ink); font-weight: 700; text-decoration: none; font-size: .93rem; }
.site-nav a:hover { color: var(--blue); text-decoration: underline; }
.menu-button { display: none; }
.eyebrow { color: var(--blue); font-size: .82rem; font-weight: 800; letter-spacing: .12em; margin: 0 0 .65rem; }
.hero { background: linear-gradient(135deg, #fff 0%, #e9efff 59%, #d9e6ff 100%); padding: clamp(2.3rem, 7vw, 6.2rem) 0; border-bottom: 1px solid var(--line); }
.hero-inner { display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: clamp(1.4rem, 5vw, 4rem); }
.hero .tagline { font-size: clamp(1rem, 1.8vw, 1.18rem); color: var(--muted); margin: 1.15rem 0 1.5rem; }
.hero-art { overflow: hidden; border-radius: 1.4rem; box-shadow: 0 1.25rem 3rem #10255b2b; }
.hero-art img { width: 100%; }
.cta { display: inline-block; border-radius: .6rem; padding: .65rem 1rem; background: var(--blue); color: white; font-weight: 750; text-decoration: none; }
.cta:hover { background: var(--deep); }
.topic { margin-block: 2.8rem 3.5rem; scroll-margin-top: 1rem; }
.topic-intro { margin-top: .65rem; color: var(--muted); }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.card { display: flex; flex-direction: column; border: 1px solid var(--line); background: #fff; color: var(--ink); border-radius: 1rem; overflow: hidden; text-decoration: none; transition: transform .23s ease, box-shadow .23s ease; }
.card:hover { transform: translateY(-.22rem); box-shadow: 0 .65rem 1.4rem #142b5e20; }
.card img { width: 100%; aspect-ratio: 3/2; object-fit: contain; background: #16274e; }
.card-body { padding: .9rem 1rem 1.15rem; }
.card h3 { margin: 0 0 .45rem; }
.card p { color: var(--muted); margin: 0; font-size: .91rem; }
.card:hover h3 { color: var(--blue); }
.breadcrumb { font-size: .85rem; color: var(--muted); margin: 1.25rem 0; }
.breadcrumb span { margin: 0 .25em; }
.article-top { margin-bottom: 1.9rem; }
.article-top h1 { font-size: clamp(1.9rem, 5vw, 3.5rem); max-width: 22em; }
.dek { margin: .8rem 0 0; color: var(--muted); font-size: 1.05rem; max-width: 46em; }
.article-layout { display: grid; grid-template-columns: minmax(0, 50rem) minmax(13rem, 1fr); gap: clamp(1.25rem, 4vw, 3rem); align-items: start; margin-bottom: 3rem; }
.article-copy { min-width: 0; background: white; border: 1px solid var(--line); border-radius: 1rem; padding: clamp(1rem, 3vw, 2.4rem); font-size: clamp(1rem, 1.3vw, 1.1rem); }
.cover { margin: 0 0 1.65rem; }
.cover img { width: 100%; border-radius: .8rem; }
figcaption { margin-top: .55rem; color: var(--muted); font-size: .82rem; }
.article-copy section + section { margin-top: 1.8rem; }
.article-copy h2 { font-size: clamp(1.27rem, 2.7vw, 1.75rem); border-left: .26rem solid var(--blue); padding-left: .7rem; margin-bottom: .85rem; }
.article-copy p:last-child { margin-bottom: 0; }
.toc { padding: 1.25rem; background: #fff; border: 1px solid var(--line); border-radius: .9rem; position: sticky; top: 5.6rem; }
.toc ul, .sources ul, .related ul { margin: .55rem 0 0; padding-left: 1.25rem; }
.toc li { margin: .3rem 0; line-height: 1.5; }
.toc a { font-size: .92rem; }
.media-list { margin-top: 2rem; }
.media-item { margin-bottom: .7rem; border: 1px solid var(--line); border-radius: .65rem; padding: .5rem .75rem; background: #f3f6ff; }
.media-item summary { padding: .25rem 0; cursor: pointer; font-size: .96rem; font-weight: 700; }
.media-item video { margin-top: .65rem; background: #111d3f; width: 100%; aspect-ratio: 16/9; object-fit: contain; }
.legacy-photo img { border-radius: .6rem; }
.ad-box { min-width: 0; margin: 1.65rem auto; max-width: 57rem; }
.ad-box:has(ins[data-ad-status="unfilled"]) { display: none; }
.ad-box ins { display: block; }
.site-footer { background: #101f46; color: #e2eaff; padding: 2rem 0; margin-top: 3.5rem; }
.site-footer a { color: #e2eaff; }
.site-footer p { font-size: .84rem; margin: .5rem 0 0; }
.utility { min-height: 45vh; padding: 3rem 0; }
.utility h1 { font-size: 2rem; margin-bottom: 1.1rem; }
@keyframes lift-in { from { opacity: .25; transform: translateY(.8rem); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: no-preference) {
  .enter { animation: lift-in .55s ease-out both; }
  .enter-later { animation: lift-in .7s .08s ease-out both; }
  @supports (animation-timeline: view()) {
    .card { animation: lift-in linear both; animation-timeline: view(); animation-range: entry 0% entry 28%; }
  }
}
@media (max-width: 59rem) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article-layout { grid-template-columns: minmax(0, 1fr); }
  .toc { grid-row: 1; position: static; }
}
@media (max-width: 44rem) {
  .wrap { width: min(calc(100% - 1.75rem), var(--measure)); }
  .bar { min-height: 3.75rem; flex-wrap: wrap; }
  .menu-button { display: inline-flex; align-items: center; justify-content: center; width: 2.8rem; height: 2.7rem; border: 1px solid var(--line); border-radius: .55rem; background: var(--paper); color: var(--deep); cursor: pointer; margin-left: auto; }
  .menu-icon { width: 1.25rem; height: 2px; background: currentColor; position: relative; }
  .menu-icon::before, .menu-icon::after { content: ""; position: absolute; width: 100%; height: 2px; background: currentColor; left: 0; }
  .menu-icon::before { top: -6px; } .menu-icon::after { top: 6px; }
  .site-nav { display: grid; width: 100%; gap: 0; }
  .site-nav a { padding: .55rem .8rem; }
  .js .site-nav { display: none; position: absolute; right: 0; top: calc(100% + .35rem); width: min(100%, 17rem); border: 1px solid var(--line); border-radius: .75rem; box-shadow: 0 .55rem 1.2rem #1b315926; background: white; padding: .35rem; }
  .js .menu-button[aria-expanded="true"] + .site-nav { display: grid; }
  html:not(.js) .menu-button { display: none; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { border-radius: .9rem; }
}
@media (max-width: 28rem) {
  .cards { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
