@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("/assets/fonts/inter-subset.woff2") format("woff2");
}

@font-face {
  font-family: "Noto Sans JP";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("/assets/fonts/notosansjp-subset.woff2") format("woff2");
}

:root {
  color-scheme: light;
  --ink: #16161a;
  --muted: #666a72;
  --line: #e3e5e8;
  --paper: #ffffff;
  --soft: #f7f6f2;
  --indigo: #1b3a5c;
  --indigo-soft: #eaf0f4;
  --measure: 760px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body { overflow-wrap: anywhere; }
button { font: inherit; cursor: pointer; }
a, button { touch-action: manipulation; }
:focus-visible { outline: 3px solid #945600; outline-offset: 4px; }
.cta :focus-visible { outline-color: #ffdb91; }
[id] { scroll-margin-top: 1rem; }
.skip-link { position: absolute; top: 0.5rem; left: 0.5rem; z-index: 20; max-width: calc(100% - 1rem); padding: 0.75rem 1rem; background: #fff; border: 2px solid var(--indigo); transform: translateY(-200%); }
.skip-link:focus { transform: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 300;
  line-height: 1.9;
  letter-spacing: 0.025em;
}

a { color: var(--indigo); }
a:hover { text-decoration-thickness: 2px; }

.site-head {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  padding: 0.8rem 4vw;
  border-bottom: 1px solid var(--line);
}

.brand {
  color: var(--ink);
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  min-width: 0;
  gap: 0.4rem 1rem;
  align-items: center;
}

.site-nav a {
  color: var(--muted);
  font-family: "Inter", sans-serif;
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  max-width: 100%;
}

.site-nav .nav-cta {
  color: #fff;
  background: var(--indigo);
  padding: 0.55rem 0.8rem;
}

.crumbs,
.hero-inner,
.content,
.site-foot-inner {
  width: min(calc(100% - 3rem), 1040px);
  margin-inline: auto;
}

.crumbs {
  padding-top: 1.4rem;
  color: var(--muted);
  font-size: 0.875rem;
}

.crumbs a { color: inherit; }

.article-hero {
  padding: clamp(4.2rem, 9vw, 8rem) 0 clamp(3.6rem, 7vw, 6.5rem);
  background:
    linear-gradient(110deg, rgba(234,240,244,0.85), rgba(255,255,255,0) 62%),
    var(--soft);
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  margin: 0 0 1.2rem;
  color: var(--indigo);
  font-family: "Inter", sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(2.15rem, 5.8vw, 4.6rem);
  font-weight: 500;
  line-height: 1.32;
  letter-spacing: -0.035em;
}

.hero-lead {
  max-width: 720px;
  margin: 1.8rem 0 0;
  color: #343840;
  font-size: clamp(1rem, 1.7vw, 1.15rem);
  line-height: 2;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1.4rem;
  margin-top: 2rem;
  color: var(--muted);
  font-size: 0.875rem;
}

.content { padding: clamp(3.6rem, 8vw, 7rem) 0; }

.answer {
  max-width: var(--measure);
  margin-bottom: 5rem;
  padding: clamp(1.5rem, 4vw, 2.4rem);
  border-left: 4px solid var(--indigo);
  background: var(--indigo-soft);
}

.answer-label {
  margin: 0 0 0.6rem;
  color: var(--indigo);
  font-family: "Inter", sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.answer p:last-child {
  margin: 0;
  font-size: clamp(1.03rem, 2vw, 1.22rem);
  font-weight: 400;
  line-height: 1.9;
}

.content section {
  max-width: var(--measure);
  margin-top: 5rem;
}

h2 {
  margin: 0 0 1.4rem;
  font-size: clamp(1.55rem, 3.2vw, 2.25rem);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -0.02em;
}

h3 {
  margin: 2.2rem 0 0.6rem;
  font-size: 1.08rem;
  font-weight: 500;
}

p { margin: 0.8rem 0; }

ul,
ol { padding-left: 1.35rem; }

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

.facts,
.qa-list {
  margin-top: 1.8rem;
  border-top: 1px solid var(--line);
}

.fact,
.qa {
  display: grid;
  grid-template-columns: minmax(0, 170px) minmax(0, 1fr);
  gap: 1.4rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--line);
}

.fact dt,
.qa dt {
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 400;
}

.fact dd,
.qa dd { margin: 0; }

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 2rem;
  background: var(--line);
  border: 1px solid var(--line);
}

.step {
  min-height: 200px;
  padding: 1.45rem;
  background: var(--paper);
}

.step-no {
  display: block;
  color: var(--indigo);
  font-family: "Inter", sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.step strong {
  display: block;
  margin-top: 1rem;
  font-size: 1.03rem;
  font-weight: 500;
}

.step p {
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.85;
}

.ladder-table {
  width: 100%;
  margin-top: 2rem;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.ladder-table th,
.ladder-table td {
  padding: 1rem 0.8rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.ladder-table th {
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 500;
}

.ladder-table tbody th {
  color: var(--indigo);
  font-family: "Inter", sans-serif;
  font-weight: 600;
  white-space: normal;
}

.cell-label { display: none; }

.note {
  padding: 1.2rem 1.4rem;
  color: #4e535b;
  background: var(--soft);
  font-size: 0.875rem;
}

.sources li { font-size: 0.875rem; }

.author {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 1.2rem;
  align-items: center;
  margin-top: 2rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
}

.author img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
}

.author strong {
  display: block;
  font-weight: 500;
}

.author span {
  color: var(--muted);
  font-size: 0.875rem;
}

.cta {
  max-width: 900px !important;
  padding: clamp(2rem, 5vw, 3.5rem);
  color: #fff;
  background: var(--indigo);
}

.cta h2 { margin-bottom: 0.8rem; }
.cta p { color: #fff; }
.cta a:not(.button) { color: #fff; }
.contact-email { margin-top: 1.5rem; }
.contact-email p { font-size: 0.875rem; }
.copy-status { min-height: 1.9em; }
.contact-email a { overflow-wrap: anywhere; }
.contact-email .button:not(.secondary) { border-color: var(--indigo); }

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  max-width: 100%;
  white-space: normal;
  text-align: center;
  border: 1px solid transparent;
  line-height: 1.65;
  padding: 0.8rem 1rem;
  color: var(--indigo);
  background: #fff;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
}

.button.secondary {
  color: #fff;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.4);
}

.site-foot {
  border-top: 1px solid var(--line);
  padding: 2.5rem 0;
}

.site-foot-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.875rem;
}

.site-foot a { color: inherit; }

@media (max-width: 720px) {
  .site-head { min-height: 62px; padding: 0.8rem 1rem; align-items: flex-start; }
  .site-nav { width: 100%; }
  .crumbs,
  .hero-inner,
  .content,
  .site-foot-inner { width: min(calc(100% - 2rem), 1040px); }
  .fact,
  .qa { grid-template-columns: 1fr; gap: 0.35rem; }
  .steps { grid-template-columns: 1fr; }
  .step { min-height: 0; }
  .ladder-table { display: block; font-size: 1rem; }
  .ladder-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .ladder-table tbody { display: grid; gap: 1.2rem; }
  .ladder-table tbody tr { display: block; border: 1px solid var(--line); padding: 1rem; background: var(--soft); }
  .ladder-table tbody th,
  .ladder-table tbody td { display: block; border: 0; padding: 0.35rem 0; }
  .ladder-table tbody th { font-size: 1.1rem; }
  .cell-label { display: block; color: var(--muted); font-size: 0.875rem; font-weight: 500; margin-top: 0.4rem; }
  .cta { padding: 1.5rem 1rem; }
  .cta-actions { flex-direction: column; align-items: stretch; }
  .author { grid-template-columns: 1fr; }
}


@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
