:root {
  --paper: #f7f5ef;
  --paper-deep: #eee9de;
  --surface: #fffefa;
  --surface-strong: #ffffff;
  --ink: #172b35;
  --ink-soft: #52636a;
  --ink-muted: #718087;
  --navy: #173b4b;
  --navy-deep: #102e3b;
  --navy-light: #e7f0f3;
  --teal: #197667;
  --teal-deep: #115b50;
  --teal-light: #e8f4ef;
  --amber: #b56e14;
  --amber-light: #fff5dd;
  --red: #b43b36;
  --red-deep: #8e2c28;
  --red-light: #fff0ed;
  --blue: #286b91;
  --blue-light: #eaf4fa;
  --purple: #6b5a9d;
  --purple-light: #f2eff9;
  --border: #dcd8cf;
  --border-strong: #c9c3b8;
  --shadow-sm: 0 8px 24px rgba(23, 43, 53, 0.07);
  --shadow-md: 0 18px 48px rgba(23, 43, 53, 0.11);
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 30px;
  --content: 1180px;
  --reading: 760px;
  --transition: 180ms ease;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", YuGothic, Meiryo, sans-serif;
  font-size: 17px;
  line-height: 1.82;
  letter-spacing: 0.015em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

html.large-text {
  font-size: 112.5%;
}

html.large-text body {
  font-size: 19px;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: var(--teal-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--navy);
}

:focus-visible {
  outline: 3px solid #e0a23a;
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  transform: translateY(-160%);
  border-radius: 8px;
  background: var(--navy-deep);
  color: #fff;
  padding: 10px 16px;
}

.skip-link:focus {
  transform: translateY(0);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

.container {
  width: min(calc(100% - 40px), var(--content));
  margin-inline: auto;
}

.section {
  padding: 76px 0;
}

.section--surface {
  background: var(--surface);
  border-block: 1px solid var(--border);
}

.section--navy {
  background: var(--navy-deep);
  color: #fff;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}

.section-heading__copy {
  max-width: 720px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
  color: var(--teal-deep);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.eyebrow::before {
  width: 24px;
  height: 2px;
  background: currentColor;
  content: "";
}

.section--navy .eyebrow {
  color: #90d6c4;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  font-weight: 800;
  letter-spacing: -0.025em;
}

h2 {
  margin: 0;
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  line-height: 1.38;
}

.section-lead {
  margin: 10px 0 0;
  color: var(--ink-soft);
  max-width: 680px;
}

.section--navy .section-lead {
  color: #c8d7dc;
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: 8px;
  font-weight: 800;
  white-space: nowrap;
}

.text-link::after {
  content: "→";
  transition: transform var(--transition);
}

.text-link:hover::after {
  transform: translateX(4px);
}

.ad-strip {
  background: #f3ead8;
  border-bottom: 1px solid #dfd0b3;
  color: #6b542c;
  font-size: 0.75rem;
}

.ad-strip__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  gap: 8px;
  text-align: center;
}

.ad-strip__label {
  border-radius: 4px;
  background: #7a5b26;
  color: #fff;
  padding: 1px 7px;
  font-size: 0.68rem;
  font-weight: 800;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 254, 250, 0.96);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(14px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  min-height: 76px;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  text-decoration: none;
  flex-shrink: 0;
}

.brand:hover {
  color: var(--ink);
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 13px 13px 13px 4px;
  background: var(--navy);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 900;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.12);
}

.brand__copy {
  display: grid;
  line-height: 1.25;
}

.brand__name {
  font-size: 0.94rem;
  font-weight: 900;
  letter-spacing: 0.01em;
}

.brand__tagline {
  color: var(--ink-muted);
  font-size: 0.64rem;
}

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-left: auto;
  gap: 2px;
}

.primary-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  border-radius: 9px;
  color: var(--ink-soft);
  padding: 8px 12px;
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: none;
}

.primary-nav a:hover,
.primary-nav a[aria-current="page"] {
  background: var(--navy-light);
  color: var(--navy);
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 8px;
}

.text-size-button,
.menu-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  background: var(--surface-strong);
  color: var(--ink);
  cursor: pointer;
  font-size: 0.74rem;
  font-weight: 900;
}

.text-size-button:hover,
.menu-button:hover {
  background: var(--navy-light);
  border-color: #adc2ca;
}

.menu-button {
  display: none;
  flex-direction: column;
  gap: 4px;
}

.menu-button span {
  width: 19px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 64px;
  background:
    radial-gradient(circle at 6% 14%, rgba(25, 118, 103, 0.11), transparent 28%),
    radial-gradient(circle at 95% 80%, rgba(181, 110, 20, 0.1), transparent 25%),
    var(--paper);
}

.hero::before {
  position: absolute;
  inset: 0;
  opacity: 0.28;
  background-image: linear-gradient(rgba(23, 59, 75, 0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(23, 59, 75, 0.08) 1px, transparent 1px);
  background-size: 38px 38px;
  content: "";
  mask-image: linear-gradient(to bottom, #000, transparent 76%);
  pointer-events: none;
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(380px, 0.96fr);
  align-items: center;
  gap: 54px;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  border: 1px solid #bad2ca;
  border-radius: 999px;
  background: rgba(255, 254, 250, 0.86);
  color: var(--teal-deep);
  padding: 6px 13px;
  font-size: 0.75rem;
  font-weight: 900;
}

.hero h1 {
  margin: 0;
  max-width: 700px;
  color: var(--navy-deep);
  font-size: clamp(2.35rem, 5vw, 4.45rem);
  line-height: 1.18;
}

.hero h1 em {
  color: var(--teal);
  font-style: normal;
}

.hero__lead {
  max-width: 650px;
  margin: 24px 0 0;
  color: var(--ink-soft);
  font-size: 1.04rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 12px 20px;
  font-size: 0.9rem;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.button:hover {
  transform: translateY(-2px);
}

.button--primary {
  background: var(--teal);
  color: #fff;
  box-shadow: 0 9px 22px rgba(25, 118, 103, 0.19);
}

.button--primary:hover {
  background: var(--teal-deep);
  color: #fff;
}

.button--secondary {
  border-color: var(--border-strong);
  background: rgba(255, 254, 250, 0.9);
  color: var(--navy);
}

.button--secondary:hover {
  background: #fff;
  color: var(--navy-deep);
  box-shadow: var(--shadow-sm);
}

.button--light {
  background: #fff;
  color: var(--navy-deep);
}

.button--light:hover {
  color: var(--teal-deep);
  box-shadow: var(--shadow-sm);
}

.hero__promises {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 26px 0 0;
  padding: 0;
  color: var(--ink-soft);
  font-size: 0.76rem;
  list-style: none;
}

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

.hero__promises li::before {
  display: grid;
  place-items: center;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: var(--teal-light);
  color: var(--teal-deep);
  content: "✓";
  font-size: 0.66rem;
  font-weight: 900;
}

.hero__visual {
  position: relative;
}

.hero__image-shell {
  position: relative;
  overflow: hidden;
  border: 1px solid #d8e1df;
  border-radius: 36px 36px 36px 10px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: var(--shadow-md);
}

.hero__image-shell img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center 28%;
}

.hero__help-card {
  position: absolute;
  right: -22px;
  bottom: -28px;
  width: min(320px, 78%);
  border: 1px solid #ecc8bd;
  border-radius: 18px 18px 6px 18px;
  background: rgba(255, 254, 250, 0.97);
  box-shadow: var(--shadow-md);
  padding: 16px 18px;
}

.hero__help-card strong {
  display: block;
  color: var(--red-deep);
  font-size: 0.86rem;
}

.hero__help-card p {
  margin: 3px 0 8px;
  color: var(--ink-soft);
  font-size: 0.72rem;
  line-height: 1.6;
}

.hero__help-card a {
  font-size: 0.75rem;
  font-weight: 900;
}

.quick-search {
  margin-top: 38px;
}

.quick-search__form {
  display: flex;
  max-width: 690px;
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  background: var(--surface-strong);
  box-shadow: var(--shadow-sm);
  padding: 5px;
}

.quick-search__form input {
  min-width: 0;
  flex: 1;
  border: 0;
  background: transparent;
  color: var(--ink);
  padding: 12px 14px;
}

.quick-search__form input:focus {
  outline: 0;
}

.quick-search__form button {
  min-width: 106px;
  border: 0;
  border-radius: 10px;
  background: var(--navy);
  color: #fff;
  cursor: pointer;
  padding: 10px 16px;
  font-weight: 900;
}

.quick-search__form button:hover {
  background: var(--navy-deep);
}

.search-status {
  min-height: 1.7em;
  margin: 8px 0 0;
  color: var(--ink-soft);
  font-size: 0.75rem;
}

.emergency-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.emergency-card {
  display: flex;
  flex-direction: column;
  min-height: 240px;
  border: 1px solid #e4cbc4;
  border-radius: var(--radius);
  background: var(--surface-strong);
  color: var(--ink);
  padding: 22px;
  text-decoration: none;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.emergency-card:hover {
  transform: translateY(-4px);
  border-color: #d59b90;
  box-shadow: var(--shadow-sm);
  color: var(--ink);
}

.emergency-card__number {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 20px;
  border-radius: 11px 11px 11px 4px;
  background: var(--red-light);
  color: var(--red-deep);
  font-size: 0.76rem;
  font-weight: 900;
}

.emergency-card h3 {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.5;
}

.emergency-card p {
  margin: 8px 0 16px;
  color: var(--ink-soft);
  font-size: 0.78rem;
  line-height: 1.65;
}

.emergency-card__action {
  margin-top: auto;
  color: var(--red-deep);
  font-size: 0.77rem;
  font-weight: 900;
}

.topic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.topic-card {
  display: flex;
  align-items: flex-start;
  min-height: 160px;
  gap: 15px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface-strong);
  color: var(--ink);
  padding: 20px;
  text-decoration: none;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.topic-card:hover {
  transform: translateY(-3px);
  border-color: #aebfc5;
  box-shadow: var(--shadow-sm);
  color: var(--ink);
}

.topic-card__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  border-radius: 14px 14px 14px 5px;
  background: var(--navy-light);
  font-size: 1.25rem;
}

.topic-card:nth-child(2) .topic-card__icon,
.topic-card:nth-child(5) .topic-card__icon {
  background: var(--purple-light);
}

.topic-card:nth-child(3) .topic-card__icon,
.topic-card:nth-child(6) .topic-card__icon {
  background: var(--teal-light);
}

.topic-card h3 {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
}

.topic-card p {
  margin: 5px 0 0;
  color: var(--ink-soft);
  font-size: 0.73rem;
  line-height: 1.6;
}

.commercial-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  margin-bottom: 28px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  padding: 24px 26px;
}

.commercial-intro p {
  margin: 0;
  color: #d9e5e8;
  font-size: 0.86rem;
}

.commercial-intro strong {
  color: #fff;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.product-card {
  display: flex;
  flex-direction: column;
  min-height: 306px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
  padding: 22px;
  color: #fff;
}

.product-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.product-card__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px 14px 14px 5px;
  background: rgba(144, 214, 196, 0.13);
  font-size: 1.25rem;
}

.product-card__badge {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: #b9dcd4;
  padding: 3px 9px;
  font-size: 0.65rem;
  font-weight: 800;
}

.product-card h3 {
  margin: 17px 0 6px;
  font-size: 1.02rem;
}

.product-card p {
  margin: 0 0 14px;
  color: #c9d8dc;
  font-size: 0.76rem;
  line-height: 1.65;
}

.product-card dl {
  margin: 0 0 18px;
  font-size: 0.72rem;
}

.product-card dl div {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  padding: 7px 0;
}

.product-card dt {
  color: #92aab1;
}

.product-card dd {
  margin: 0;
  color: #fff;
}

.product-card a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: auto;
  color: #9fe2cf;
  font-size: 0.77rem;
  font-weight: 900;
}

.product-card a:hover {
  color: #fff;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.article-card {
  display: flex;
  flex-direction: column;
  min-height: 280px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-strong);
  box-shadow: 0 1px 0 rgba(23, 43, 53, 0.03);
}

.article-card__band {
  height: 7px;
  background: var(--red);
}

.article-card:nth-child(2) .article-card__band,
.article-card:nth-child(5) .article-card__band {
  background: var(--blue);
}

.article-card:nth-child(3) .article-card__band,
.article-card:nth-child(6) .article-card__band {
  background: var(--teal);
}

.article-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 21px;
}

.article-card__category {
  color: var(--ink-muted);
  font-size: 0.68rem;
  font-weight: 800;
}

.article-card h3 {
  margin: 9px 0 8px;
  font-size: 1rem;
  line-height: 1.55;
}

.article-card p {
  margin: 0 0 18px;
  color: var(--ink-soft);
  font-size: 0.75rem;
  line-height: 1.65;
}

.article-card a,
.article-card__status {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: auto;
  font-size: 0.74rem;
  font-weight: 900;
}

.article-card__status {
  color: var(--ink-muted);
}

.proof-grid {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  align-items: center;
  gap: 50px;
}

.proof-visual {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg) var(--radius-lg) var(--radius-lg) 8px;
  background: linear-gradient(145deg, #eaf1f1, #fff);
  min-height: 430px;
}

.proof-visual img {
  position: absolute;
  inset: auto 0 0;
  width: 100%;
  max-height: 95%;
  object-fit: contain;
  object-position: bottom center;
}

.proof-copy h2 {
  max-width: 680px;
}

.proof-copy > p {
  color: var(--ink-soft);
}

.proof-list {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.proof-list li {
  display: grid;
  grid-template-columns: 38px 1fr;
  align-items: start;
  gap: 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface-strong);
  padding: 14px 16px;
}

.proof-list__mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--teal-light);
  color: var(--teal-deep);
  font-weight: 900;
}

.proof-list strong {
  display: block;
  font-size: 0.86rem;
}

.proof-list span:last-child {
  color: var(--ink-soft);
  font-size: 0.73rem;
}

.policy-box {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 34px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface-strong);
  padding: 34px;
}

.policy-box h2 {
  font-size: 1.55rem;
}

.policy-box p {
  color: var(--ink-soft);
}

.policy-points {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.policy-points li {
  position: relative;
  border-bottom: 1px solid var(--border);
  padding: 9px 0 9px 26px;
  font-size: 0.8rem;
  font-weight: 700;
}

.policy-points li::before {
  position: absolute;
  left: 0;
  color: var(--teal);
  content: "✓";
  font-weight: 900;
}

.site-footer {
  background: #0e2935;
  color: #d4e0e4;
  padding: 54px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr repeat(3, 0.75fr);
  gap: 36px;
}

.site-footer .brand {
  color: #fff;
}

.site-footer .brand__tagline {
  color: #9fb4bc;
}

.footer-about p {
  max-width: 390px;
  margin: 16px 0 0;
  color: #aebfc5;
  font-size: 0.73rem;
}

.footer-column h2 {
  margin: 0 0 13px;
  font-size: 0.76rem;
  letter-spacing: 0.04em;
}

.footer-column a {
  display: block;
  min-height: 38px;
  color: #b8c8cd;
  font-size: 0.71rem;
}

.footer-column a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 38px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 18px;
  color: #8fa6ae;
  font-size: 0.66rem;
}

.breadcrumb {
  padding: 18px 0;
  color: var(--ink-muted);
  font-size: 0.72rem;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumb li:not(:last-child)::after {
  margin-left: 7px;
  color: #a9b0b1;
  content: "/";
}

.breadcrumb a {
  color: var(--ink-soft);
}

.page-hero {
  padding: 46px 0 58px;
  background: linear-gradient(135deg, #e9f1f1 0%, #f8f5ee 62%, #f4ead9 100%);
  border-block: 1px solid var(--border);
}

.page-hero__grid {
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  align-items: center;
  gap: 54px;
}

.page-hero h1 {
  margin: 0;
  color: var(--navy-deep);
  font-size: clamp(2.1rem, 4.4vw, 3.65rem);
  line-height: 1.25;
}

.page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: var(--ink-soft);
}

.page-hero__note {
  border: 1px solid #c8d8d5;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.75);
  padding: 22px;
}

.page-hero__note strong {
  display: block;
  color: var(--teal-deep);
  font-size: 0.86rem;
}

.page-hero__note p {
  margin: 5px 0 0;
  font-size: 0.75rem;
  line-height: 1.7;
}

.choice-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.choice-step {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-strong);
  padding: 24px;
}

.choice-step__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px 10px 10px 3px;
  background: var(--navy);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 900;
}

.choice-step h2 {
  margin: 16px 0 8px;
  font-size: 1.05rem;
}

.choice-step p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.77rem;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 24px;
}

.filter-button {
  min-height: 44px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: var(--surface-strong);
  color: var(--ink-soft);
  cursor: pointer;
  padding: 8px 15px;
  font-size: 0.76rem;
  font-weight: 800;
}

.filter-button:hover,
.filter-button[aria-pressed="true"] {
  border-color: var(--teal);
  background: var(--teal-light);
  color: var(--teal-deep);
}

.product-directory {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.directory-card {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-strong);
  padding: 24px;
}

.directory-card__icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 17px 17px 17px 6px;
  background: var(--navy-light);
  font-size: 1.5rem;
}

.directory-card h3 {
  margin: 0;
  font-size: 1.05rem;
}

.directory-card p {
  margin: 6px 0 12px;
  color: var(--ink-soft);
  font-size: 0.76rem;
  line-height: 1.65;
}

.directory-card ul {
  margin: 0 0 16px;
  padding-left: 1.2em;
  color: var(--ink-soft);
  font-size: 0.73rem;
}

.directory-card a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 0.76rem;
  font-weight: 900;
}

.comparison-table-wrap {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-strong);
  -webkit-overflow-scrolling: touch;
}

.comparison-table-wrap > table {
  width: max-content;
  min-width: 760px;
  border-collapse: collapse;
}

.comparison-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  font-size: 0.76rem;
}

.comparison-table th,
.comparison-table td {
  border-bottom: 1px solid var(--border);
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
}

.comparison-table thead th {
  background: var(--navy-light);
  color: var(--navy-deep);
  font-size: 0.7rem;
}

.comparison-table tbody th {
  width: 170px;
  color: var(--navy);
}

.comparison-table tr:last-child th,
.comparison-table tr:last-child td {
  border-bottom: 0;
}

.notice {
  border: 1px solid #ead29b;
  border-radius: 14px;
  background: var(--amber-light);
  color: #76501b;
  padding: 15px 18px;
  font-size: 0.75rem;
}

.notice strong {
  color: #5f4016;
}

.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 500;
  width: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--teal), #7eb7a7);
}

.article-shell {
  display: grid;
  grid-template-columns: minmax(0, var(--reading)) 290px;
  justify-content: center;
  gap: 54px;
  padding: 28px 0 80px;
}

.article-main {
  min-width: 0;
}

.article-header {
  padding: 24px 0 18px;
}

.article-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(260px, 0.92fr);
  align-items: center;
  gap: 30px;
  margin-bottom: 8px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, #fffefa 0%, #f0f5f4 100%);
  padding: 30px;
  box-shadow: var(--shadow-sm);
}

.article-hero__copy {
  min-width: 0;
}

.article-hero__labels {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.article-type-label {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: var(--navy-light);
  color: var(--navy);
  padding: 4px 11px;
  font-size: 0.69rem;
  font-weight: 900;
}

.article-hero__visual {
  position: relative;
  overflow: hidden;
  min-height: 250px;
  margin: 0;
  border-radius: 22px 22px 22px 7px;
  background: var(--navy-deep);
}

.article-hero__visual::before {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  background: rgba(16, 46, 59, 0.92);
  color: #fff;
  padding: 4px 9px;
  content: "記事ガイド";
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.article-hero__visual img {
  width: 100%;
  height: 100%;
  min-height: 250px;
  object-fit: cover;
}

.article-hero__visual figcaption {
  position: absolute;
  right: 14px;
  bottom: 14px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  background: rgba(16, 46, 59, 0.9);
  color: #fff;
  padding: 5px 11px;
  font-size: 0.68rem;
  font-weight: 900;
  backdrop-filter: blur(8px);
}

.category-label {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: var(--red-light);
  color: var(--red-deep);
  padding: 4px 11px;
  font-size: 0.69rem;
  font-weight: 900;
}

.article-header h1 {
  margin: 15px 0;
  color: var(--navy-deep);
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.38;
}

.article-hero h1 {
  font-size: clamp(1.8rem, 3.2vw, 2.65rem);
  line-height: 1.34;
}

.article-deck {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1rem;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 20px 0 0;
  border-top: 1px solid var(--border);
  padding-top: 14px;
  color: var(--ink-muted);
  font-size: 0.78rem;
}

.affiliate-disclosure {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin: 0 0 24px;
  border: 1px solid #e3c98f;
  border-radius: 12px;
  background: var(--amber-light);
  color: #6c4a1c;
  padding: 13px 15px;
  font-size: 0.78rem;
  line-height: 1.65;
}

.affiliate-disclosure__label {
  flex: 0 0 auto;
  border-radius: 4px;
  background: #7b5a20;
  color: #fff;
  padding: 1px 6px;
  font-size: 0.62rem;
  font-weight: 900;
}

.summary-box {
  margin: 28px 0 38px;
  border: 1px solid #b8ced5;
  border-left: 6px solid var(--navy);
  border-radius: 6px var(--radius) var(--radius) 6px;
  background: linear-gradient(135deg, var(--navy-light), #fff);
  padding: 24px 26px;
}

.summary-box h2 {
  margin: 0 0 14px;
  font-size: 1.18rem;
}

.summary-box ol {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: summary;
}

.summary-box li {
  display: grid;
  grid-template-columns: 29px 1fr;
  align-items: start;
  gap: 10px;
  counter-increment: summary;
}

.summary-box li::before {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border-radius: 8px;
  background: var(--navy);
  color: #fff;
  content: counter(summary);
  font-size: 0.7rem;
  font-weight: 900;
}

.article-section {
  margin: 46px 0 0;
  scroll-margin-top: 110px;
}

.article-section > h2 {
  margin: 0 0 20px;
  border-top: 1px solid var(--border);
  padding-top: 30px;
  color: var(--navy-deep);
  font-size: 1.55rem;
  line-height: 1.45;
}

.article-subsection {
  margin: 28px 0 0;
}

.article-subsection > h3 {
  margin: 0 0 12px;
  color: var(--navy);
  font-size: 1.12rem;
  line-height: 1.55;
}

.article-section--action {
  border: 1px solid #e4b7ae;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, #fff7f4, #fff);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.article-section--action > h2 {
  border-top: 0;
  padding-top: 0;
  color: var(--red-deep);
}

.article-section--action .article-subsection {
  border: 1px solid #ecd4ce;
  border-left: 5px solid var(--red);
  border-radius: 8px 15px 15px 8px;
  background: #fff;
  padding: 18px 20px;
}

.article-section--action .article-subsection > h3 {
  color: var(--red-deep);
}

.article-section--help {
  border: 1px solid #bdd7d0;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, var(--teal-light), #fff);
  padding: 28px;
}

.article-section--help > h2 {
  border-top: 0;
  padding-top: 0;
  color: var(--teal-deep);
}

.article-section--help .article-subsection {
  border-top: 1px solid #c9ddd8;
  padding-top: 18px;
}

.article-section--checklist > ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 22px 0;
  padding: 0;
  list-style: none;
}

.article-section--checklist > ul > li {
  position: relative;
  margin: 0;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface-strong);
  padding: 17px 17px 17px 46px;
}

.article-section--checklist > ul > li::before {
  position: absolute;
  top: 17px;
  left: 17px;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background: var(--teal);
  color: #fff;
  content: "✓";
  font-size: 0.72rem;
  font-weight: 900;
}

.article-section--faq .article-subsection {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface-strong);
  padding: 18px 20px;
  box-shadow: 0 1px 0 rgba(23, 43, 53, 0.03);
}

.article-section--faq .article-subsection > h3 {
  color: var(--navy-deep);
  font-size: 1rem;
}

.article-section--sources > ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.article-section--sources > ul > li,
.reference-link {
  margin: 12px 0 0 !important;
  border: 1px solid #d4dce0;
  border-radius: 12px;
  background: #f7fafb;
  padding: 13px 15px;
  font-size: 0.78rem;
  line-height: 1.6;
}

.reference-link + .reference-date,
.reference-date {
  margin: -1px 0 16px !important;
  color: var(--ink-muted);
  font-size: 0.7rem;
  text-align: right;
}

.article-body p {
  margin: 0 0 1.25em;
}

.article-main,
.article-body,
.article-body blockquote,
.article-body li {
  min-width: 0;
}

.article-body a,
.article-body code,
.article-body blockquote,
.article-body li,
.source-box a,
.source-box code {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.article-body code,
.source-box code {
  white-space: normal;
}

.article-body li + li {
  margin-top: 0.55em;
}

.step-list {
  display: grid;
  gap: 14px;
  margin: 24px 0 34px;
  padding: 0;
  list-style: none;
  counter-reset: action-step;
}

.step-list li {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 15px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface-strong);
  padding: 17px 18px;
  counter-increment: action-step;
}

.step-list li::before {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 13px 13px 13px 5px;
  background: var(--teal);
  color: #fff;
  content: counter(action-step);
  font-size: 0.84rem;
  font-weight: 900;
}

.step-list strong {
  display: block;
  margin-bottom: 2px;
  color: var(--navy-deep);
}

.step-list span {
  color: var(--ink-soft);
  font-size: 0.82rem;
}

.callout {
  margin: 28px 0;
  border: 1px solid #e8c0b9;
  border-radius: 14px;
  background: var(--red-light);
  padding: 18px 20px;
}

.callout--info {
  border-color: #bdd7e5;
  background: var(--blue-light);
}

.callout--success {
  border-color: #b7d9ce;
  background: var(--teal-light);
}

.callout h3 {
  margin: 0 0 6px;
  font-size: 0.95rem;
}

.callout p:last-child {
  margin-bottom: 0;
}

.story-panel {
  margin: 30px 0 34px;
  overflow: hidden;
  border: 1px solid #c8d7d8;
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.story-panel__visual {
  background: #f5eee6;
}

.story-panel__visual img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.story-panel__intro {
  padding: 25px 28px 12px;
}

.story-kicker {
  display: inline-flex;
  margin-bottom: 9px;
  border-radius: 999px;
  background: var(--purple-light);
  color: var(--purple);
  padding: 5px 10px;
  font-size: 0.68rem;
  font-weight: 900;
}

.story-panel__intro h2 {
  margin: 0 0 12px;
  color: var(--navy-deep);
  font-size: 1.36rem;
  line-height: 1.5;
}

.story-panel__intro p:last-child {
  margin-bottom: 0;
}

.story-panel__note {
  margin-top: 10px;
  border-left: 3px solid #b8c7cc;
  padding-left: 12px;
  color: var(--ink-muted);
  font-size: 0.7rem;
}

.story-dialogue {
  display: grid;
  gap: 18px;
  padding: 10px 28px 30px;
  background: linear-gradient(180deg, #fff 0%, #f8faf7 100%);
}

.story-dialogue__turn {
  display: grid;
  grid-template-columns: 178px minmax(0, 1fr);
  align-items: end;
  gap: 16px;
}

.story-dialogue__turn--student {
  grid-template-columns: minmax(0, 1fr) 178px;
}

.story-dialogue__turn--student .story-dialogue__character {
  grid-column: 2;
  grid-row: 1;
}

.story-dialogue__turn--student .story-dialogue__bubble {
  grid-column: 1;
  grid-row: 1;
  border-color: #d5ccea;
  background: var(--purple-light);
}

.story-dialogue__character {
  display: grid;
  place-items: end center;
  align-self: stretch;
  min-height: 178px;
  overflow: hidden;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
}

.story-dialogue__character img {
  display: block;
  width: 190px;
  height: 190px;
  object-fit: contain;
  object-position: center bottom;
}

.story-dialogue__bubble {
  position: relative;
  border: 1px solid #b8d9cf;
  border-radius: 8px 18px 18px;
  background: var(--teal-light);
  padding: 18px 21px;
}

.story-dialogue__bubble::after {
  position: absolute;
  bottom: 25px;
  left: -10px;
  width: 18px;
  height: 18px;
  border-bottom: 1px solid #b8d9cf;
  border-left: 1px solid #b8d9cf;
  background: var(--teal-light);
  content: "";
  transform: rotate(45deg);
}

.story-dialogue__turn--student .story-dialogue__bubble::after {
  right: -10px;
  left: auto;
  border-top: 1px solid #d5ccea;
  border-right: 1px solid #d5ccea;
  border-bottom: 0;
  border-left: 0;
  background: var(--purple-light);
}

.story-dialogue__name {
  display: block;
  margin-bottom: 5px;
  color: var(--teal-deep);
  font-size: 0.7rem;
  font-weight: 900;
}

.story-dialogue__turn--student .story-dialogue__name {
  color: var(--purple);
}

.story-dialogue__bubble p {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.75;
}

.story-dialogue__turn--last .story-dialogue__bubble {
  border-color: #d8d5bd;
  background: #fffdf3;
}

.story-dialogue__turn--last .story-dialogue__bubble::after {
  border-color: #d8d5bd;
  background: #fffdf3;
}

.dialogue {
  display: grid;
  gap: 16px;
  margin: 32px 0;
}

.dialogue-row {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  align-items: start;
  gap: 13px;
}

.dialogue-row--reader {
  grid-template-columns: minmax(0, 1fr) 62px;
}

.dialogue-row--reader .dialogue-avatar {
  grid-column: 2;
}

.dialogue-row--reader .dialogue-bubble {
  grid-column: 1;
  grid-row: 1;
  background: var(--purple-light);
  border-color: #d5ccea;
}

.dialogue-avatar {
  overflow: hidden;
  width: 62px;
  height: 62px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: #fff;
}

.dialogue-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.dialogue-bubble {
  border: 1px solid #b8d9cf;
  border-radius: 6px 16px 16px;
  background: var(--teal-light);
  padding: 15px 18px;
}

.dialogue-name {
  display: block;
  margin-bottom: 3px;
  color: var(--teal-deep);
  font-size: 0.68rem;
  font-weight: 900;
}

.dialogue-row--reader .dialogue-name {
  color: var(--purple);
}

.dialogue-bubble p {
  margin: 0;
  font-size: 0.82rem;
}

.check-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 24px 0;
}

.article-listing {
  padding-top: 38px;
  padding-bottom: 72px;
}

.article-listing .article-search {
  margin: 28px 0 8px;
}

.article-listing .filter-bar {
  margin-top: 18px;
}

.check-card {
  display: block;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface-strong);
  color: var(--ink);
  padding: 17px;
  text-decoration: none;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.check-card:hover {
  transform: translateY(-3px);
  border-color: var(--teal);
  box-shadow: var(--shadow-sm);
}

.check-card h2,
.check-card h3 {
  margin: 0 0 8px;
  font-size: 0.92rem;
}

.check-card p {
  color: var(--ink-soft);
}

.check-card ul {
  margin: 0;
  padding-left: 1.2em;
  color: var(--ink-soft);
  font-size: 0.76rem;
}

.recommendation-box {
  margin: 42px 0;
  overflow: hidden;
  border: 1px solid #b6cacd;
  border-radius: var(--radius);
  background: var(--surface-strong);
  box-shadow: var(--shadow-sm);
}

.recommendation-box--bottom {
  margin-top: 56px;
  border-color: #9fbec1;
}

.recommendation-box__label {
  display: inline-flex;
  margin-bottom: 9px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 4px;
  padding: 2px 7px;
  color: #f5e6b7;
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.05em;
}

.recommendation-box__header {
  background: var(--navy-deep);
  color: #fff;
  padding: 20px 22px;
}

.recommendation-box__header .affiliate-disclosure {
  margin: 12px 0 0;
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: #e2edef;
}

.recommendation-box__header h2 {
  font-size: 1.2rem;
}

.recommendation-box__header p {
  margin: 5px 0 0;
  color: #c9d8dc;
  font-size: 0.78rem;
}

.recommendation-box__body {
  padding: 22px;
}

.recommendation-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.recommendation-option {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 15px;
}

.recommendation-option strong {
  display: block;
  color: var(--navy);
  font-size: 0.8rem;
}

.recommendation-option span {
  display: block;
  color: var(--ink-soft);
  font-size: 0.68rem;
  line-height: 1.55;
}

.recommendation-option a {
  display: inline-block;
  margin-top: 10px;
  color: var(--navy);
  font-size: 0.68rem;
  font-weight: 800;
}

.recommendation-box__action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 18px;
  border-top: 1px solid var(--border);
  padding-top: 18px;
}

.recommendation-box__action p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.66rem;
}

.source-box {
  margin: 30px 0;
  border-left: 4px solid #8c979b;
  background: #eeece7;
  padding: 16px 18px;
  color: var(--ink-soft);
  font-size: 0.72rem;
}

.article-updated {
  margin: 2rem 0 0;
  color: var(--color-text-muted);
  font-size: 0.9rem;
  text-align: right;
}

.source-box strong {
  color: var(--ink);
}

.source-box a {
  overflow-wrap: anywhere;
}

.limit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 24px 0;
}

.limit-card {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface-strong);
  padding: 19px;
}

.limit-card--yes {
  border-top: 5px solid var(--teal);
}

.limit-card--no {
  border-top: 5px solid var(--red);
}

.limit-card h3 {
  margin: 0 0 10px;
  font-size: 0.92rem;
}

.limit-card ul {
  margin: 0;
  padding-left: 1.2em;
  color: var(--ink-soft);
  font-size: 0.76rem;
}

.faq-list {
  display: grid;
  gap: 10px;
  margin: 22px 0;
}

.faq-list details {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface-strong);
  padding: 0 17px;
}

.faq-list summary {
  cursor: pointer;
  padding: 15px 30px 15px 0;
  color: var(--navy-deep);
  font-size: 0.84rem;
  font-weight: 900;
}

.faq-list details p {
  margin: 0;
  border-top: 1px solid var(--border);
  padding: 14px 0 17px;
  color: var(--ink-soft);
  font-size: 0.78rem;
}

.author-box {
  display: grid;
  grid-template-columns: 120px 1fr;
  align-items: center;
  gap: 20px;
  margin: 46px 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-strong);
  padding: 22px;
}

.author-box__image {
  overflow: hidden;
  width: 120px;
  height: 120px;
  border-radius: 22px 22px 22px 7px;
  background: var(--navy-light);
}

.author-box__seal {
  display: grid;
  place-items: center;
  width: 120px;
  height: 120px;
  border-radius: 28px 28px 28px 8px;
  background: linear-gradient(145deg, var(--navy), var(--teal-deep));
  color: #fff;
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.12);
}

.author-box__eyebrow {
  margin-bottom: 4px !important;
  color: var(--teal-deep) !important;
  font-size: 0.68rem !important;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.author-box__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
}

.author-box h2 {
  margin: 0 0 7px;
  font-size: 1rem;
}

.author-box p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.74rem;
}

.article-sidebar {
  position: relative;
}

.sidebar-sticky {
  position: sticky;
  top: 102px;
  display: grid;
  gap: 14px;
}

.toc,
.sidebar-help {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface-strong);
  padding: 18px;
}

.toc h2,
.sidebar-help h2 {
  margin: 0 0 10px;
  font-size: 0.84rem;
}

.toc ol {
  display: grid;
  gap: 6px;
  margin: 0;
  padding-left: 1.25em;
  color: var(--ink-muted);
  font-size: 0.78rem;
}

.toc a {
  color: var(--ink-soft);
}

.sidebar-help {
  border-color: #e7c5bd;
  background: var(--red-light);
}

.sidebar-help p {
  margin: 0 0 10px;
  color: var(--ink-soft);
  font-size: 0.78rem;
}

.mobile-toc {
  display: none;
  margin: 22px 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface-strong);
  padding: 0 16px;
}

.mobile-toc summary {
  cursor: pointer;
  padding: 13px 0;
  font-size: 0.84rem;
  font-weight: 900;
}

.mobile-toc ol {
  margin: 0 0 16px;
  padding-left: 1.3em;
  font-size: 0.8rem;
}

@media (max-width: 1040px) {
  .primary-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    align-items: stretch;
    flex-direction: column;
    border-bottom: 1px solid var(--border);
    background: var(--surface-strong);
    padding: 10px 20px 16px;
    box-shadow: var(--shadow-sm);
  }

  .primary-nav.is-open {
    display: flex;
  }

  .primary-nav a {
    min-height: 48px;
    padding: 10px 14px;
  }

  .menu-button {
    display: inline-flex;
  }

  .header-tools {
    margin-left: auto;
  }

  .hero__grid {
    grid-template-columns: 1fr 0.86fr;
    gap: 32px;
  }

  .emergency-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .article-shell {
    grid-template-columns: minmax(0, var(--reading));
  }

  .article-sidebar {
    display: none;
  }

  .article-hero {
    grid-template-columns: minmax(0, 1.12fr) minmax(250px, 0.88fr);
  }

  .mobile-toc {
    display: block;
  }
}

@media (max-width: 820px) {
  .section {
    padding: 60px 0;
  }

  .hero {
    padding: 52px 0 66px;
  }

  .hero__grid,
  .page-hero__grid,
  .proof-grid,
  .policy-box {
    grid-template-columns: 1fr;
  }

  .hero__visual {
    max-width: 640px;
  }

  .hero__help-card {
    right: 14px;
  }

  .topic-grid,
  .product-grid,
  .article-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .commercial-intro {
    grid-template-columns: 1fr;
  }

  .proof-visual {
    max-width: 480px;
    min-height: 390px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .article-hero {
    grid-template-columns: 1fr;
  }

  .article-hero__visual {
    min-height: 0;
  }

  .article-hero__visual img {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .choice-steps {
    grid-template-columns: 1fr;
  }

  .recommendation-options {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  html.large-text body {
    font-size: 18px;
  }

  .container {
    width: min(calc(100% - 28px), var(--content));
  }

  .site-header__inner {
    min-height: 68px;
  }

  .brand__tagline {
    display: none;
  }

  .brand__mark {
    width: 38px;
    height: 38px;
  }

  .brand__name {
    font-size: 0.82rem;
  }

  .text-size-button {
    min-width: 42px;
    min-height: 42px;
  }

  .hero h1 {
    font-size: clamp(2.2rem, 13vw, 3.35rem);
  }

  .hero__lead {
    font-size: 0.96rem;
  }

  .hero__actions,
  .button {
    width: 100%;
  }

  .quick-search__form {
    display: grid;
    grid-template-columns: 1fr;
  }

  .quick-search__form button {
    min-height: 48px;
  }

  .hero__help-card {
    position: relative;
    right: auto;
    bottom: auto;
    width: auto;
    margin: -18px 12px 0;
  }

  .emergency-grid,
  .topic-grid,
  .product-grid,
  .article-grid,
  .product-directory,
  .check-grid,
  .limit-grid {
    grid-template-columns: 1fr;
  }

  .emergency-card,
  .product-card,
  .article-card {
    min-height: auto;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
    margin-bottom: 24px;
  }

  .policy-box {
    padding: 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .page-hero {
    padding: 36px 0 46px;
  }

  .directory-card {
    grid-template-columns: 48px 1fr;
    gap: 13px;
    padding: 19px;
  }

  .directory-card__icon {
    width: 48px;
    height: 48px;
  }

  .article-shell {
    padding-bottom: 58px;
  }

  .article-header h1 {
    font-size: 2rem;
  }

  .article-hero {
    gap: 22px;
    border-radius: 20px;
    padding: 20px;
  }

  .article-hero h1 {
    font-size: 1.85rem;
  }

  .article-hero__visual {
    border-radius: 16px 16px 16px 6px;
  }

  .summary-box {
    padding: 20px;
  }

  .article-section > h2 {
    font-size: 1.35rem;
  }

  .article-section--action,
  .article-section--help {
    margin-inline: -4px;
    border-radius: 18px;
    padding: 20px;
  }

  .article-section--action .article-subsection {
    padding: 16px;
  }

  .article-section--checklist > ul {
    grid-template-columns: 1fr;
  }

  .story-panel {
    border-radius: 16px;
  }

  .story-panel__intro {
    padding: 21px 20px 9px;
  }

  .story-panel__intro h2 {
    font-size: 1.2rem;
  }

  .story-dialogue {
    gap: 14px;
    padding: 9px 20px 20px;
  }

  .story-dialogue__turn,
  .story-dialogue__turn--student {
    grid-template-columns: 106px minmax(0, 1fr);
    gap: 10px;
  }

  .story-dialogue__turn--student {
    grid-template-columns: minmax(0, 1fr) 106px;
  }

  .story-dialogue__character {
    min-height: 116px;
    border-radius: 13px;
  }

  .story-dialogue__character img {
    width: 126px;
    height: 126px;
  }

  .story-dialogue__bubble {
    padding: 13px 14px;
  }

  .story-dialogue__bubble p {
    font-size: 0.77rem;
    line-height: 1.65;
  }

  .dialogue-row,
  .dialogue-row--reader {
    grid-template-columns: 46px minmax(0, 1fr);
  }

  .dialogue-row--reader {
    grid-template-columns: minmax(0, 1fr) 46px;
  }

  .dialogue-avatar {
    width: 46px;
    height: 46px;
  }

  .dialogue-bubble {
    padding: 13px 14px;
  }

  .recommendation-box__action {
    align-items: stretch;
    flex-direction: column;
  }

  .author-box {
    grid-template-columns: 82px 1fr;
    padding: 18px;
  }

  .author-box__image {
    width: 82px;
    height: 82px;
  }

  .author-box__seal {
    width: 82px;
    height: 82px;
    border-radius: 20px 20px 20px 7px;
    font-size: 0.68rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  .ad-strip,
  .site-header,
  .site-footer,
  .article-sidebar,
  .reading-progress,
  .hero__actions,
  .quick-search {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
    font-size: 11pt;
  }

  .article-shell {
    display: block;
    padding: 0;
  }

  a {
    color: #000;
  }
}
