:root {
  color-scheme: light;
  --ink: #152b4a;
  --body: #304660;
  --muted: #526783;
  --blue: #1959bd;
  --blue-dark: #154a9d;
  --blue-soft: #edf4ff;
  --line: #dce5f0;
  --canvas: #f4f7fb;
  --surface: #fff;
  --radius: 20px;
  --shadow: 0 12px 30px rgb(30 62 102 / .07);
  font-family: system-ui, -apple-system, "Hiragino Sans", "Yu Gothic UI", "Meiryo", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  scroll-padding-top: 90px;
  -webkit-text-size-adjust: 100%;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; color: var(--ink); background: var(--canvas); }
h1, h2, p, ul, ol { margin: 0; }
a { color: var(--blue-dark); text-underline-offset: .21em; }
button, input { font: inherit; }
img { display: block; max-width: 100%; height: auto; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #1766cf; outline-offset: 4px; }
main:focus { outline: 0; }

.shell { width: min(100% - 48px, 1140px); margin-inline: auto; }
.icon { display: inline-block; flex: 0 0 auto; vertical-align: middle; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip-link {
  position: fixed;
  z-index: 5;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--surface);
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 3;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.header-inner {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  line-height: 1.35;
  text-decoration: none;
}
.site-brand strong { display: block; font-size: clamp(.88rem, 1.8vw, 1.13rem); }
.site-brand small { display: block; margin-top: 3px; color: var(--muted); font-size: .74rem; }
.brand-icon {
  display: grid;
  width: 43px;
  height: 43px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 12px;
  color: white;
  background: linear-gradient(145deg, #236bd6, #13439a);
}
.site-nav { display: flex; align-items: center; gap: 6px; }
.site-nav a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 7px 14px;
  border-radius: 9px;
  color: var(--ink);
  font-size: .87rem;
  font-weight: 650;
  text-align: center;
  text-decoration: none;
}
.site-nav a:hover, .site-nav a[aria-current], .site-nav .nav-search {
  color: var(--blue-dark);
  background: var(--blue-soft);
}
.site-nav .icon { width: 17px; height: 17px; }

.hero {
  border-bottom: 1px solid #d9e8fa;
  background:
    radial-gradient(ellipse at 93% 13%, rgb(184 215 253 / .55), transparent 47%),
    linear-gradient(115deg, #f6faff, #eaf3ff);
}
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.58fr) minmax(270px, 1fr);
  gap: clamp(26px, 5vw, 72px);
  align-items: center;
  padding-block: clamp(34px, 5.3vw, 68px);
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--blue-dark);
  font-size: .85rem;
  font-weight: 730;
}
.eyebrow span { width: 8px; height: 8px; flex: 0 0 8px; border-radius: 50%; background: #3582e5; }
.hero h1 {
  margin-block: 14px;
  font-size: clamp(2rem, 4.15vw, 3.28rem);
  font-weight: 790;
  line-height: 1.28;
  letter-spacing: -.035em;
  overflow-wrap: anywhere;
}
.hero h1 em { color: var(--blue); font-style: normal; }
.hero .fg-lede, .article-header .fg-lede {
  color: var(--body);
  font-size: clamp(1rem, 1.6vw, 1.07rem);
  line-height: 1.85;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 9px 16px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: .94rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}
.button.primary { color: #fff; background: var(--blue); }
.button.primary:hover { background: var(--blue-dark); }
.button.secondary { color: var(--blue-dark); border-color: #cddcf0; background: var(--surface); }
.button.secondary:hover { border-color: #93b2d8; background: #f6faff; }
.button .icon { width: 18px; height: 18px; }
.hero-checklist {
  padding: clamp(17px, 3vw, 27px);
  border: 1px solid #d6e5f7;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 16px 36px rgb(35 83 142 / .09);
}
.hero-checklist h2 { margin-bottom: 9px; font-size: 1.14rem; }
.hero-checklist ul, .company-panel ul, .article-related ul { padding: 0; list-style: none; }
.hero-checklist li + li, .company-panel li + li { border-top: 1px solid var(--line); }
.check-row, .company-row {
  display: grid;
  min-height: 62px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding-block: 8px;
  color: var(--ink);
  text-decoration: none;
}
.check-row:hover strong, .company-row:hover strong, .topic-card:hover strong { color: var(--blue-dark); text-decoration: underline; }
.check-row strong, .company-row strong, .topic-card strong { display: block; font-size: .97rem; }
.check-row small, .company-row small, .topic-card small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: .79rem;
  line-height: 1.45;
}
.check-icon, .topic-icon, .company-mark {
  display: grid;
  width: 37px;
  height: 37px;
  place-items: center;
  border-radius: 10px;
  color: var(--blue-dark);
  background: var(--blue-soft);
}
.check-icon .icon, .topic-icon .icon { width: 21px; height: 21px; }
.card-chevron { width: 17px; height: 17px; color: #496d9a; }

.home-content { display: grid; gap: 24px; padding-block: 28px 58px; }
.explore-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.72fr) minmax(285px, 1fr);
  gap: 20px;
  align-items: start;
}
.panel { min-width: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.find-panel, .company-panel { padding: clamp(18px, 2.6vw, 27px); }
.find-panel h2, .company-panel h2 { margin-bottom: 13px; font-size: clamp(1.14rem, 2.2vw, 1.38rem); line-height: 1.4; }
.quick-search { display: flex; flex-wrap: wrap; gap: 8px; }
.search-input {
  display: flex;
  min-width: 0;
  min-height: 46px;
  flex: 1 1 160px;
  align-items: center;
  gap: 8px;
  padding-inline: 12px;
  border: 1px solid #a9bed9;
  border-radius: 10px;
  background: var(--surface);
  color: #4b6c96;
}
.search-input:focus-within { border-color: var(--blue); box-shadow: 0 0 0 2px #bbd6ff; }
.search-input .icon { width: 20px; height: 20px; }
.search-input input { width: 100%; min-width: 0; min-height: 44px; padding: 5px 0; border: 0; outline: 0; color: var(--ink); background: transparent; }
.search-input input::placeholder { color: #61728a; }
.topics-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin-top: 12px; }
.topic-card {
  display: grid;
  min-height: 71px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  padding: 10px;
  border: 1px solid #dee9f6;
  border-radius: 12px;
  color: var(--ink);
  background: #f9fbfe;
  text-decoration: none;
}
.topic-card:hover { border-color: #a5c4ec; background: var(--blue-soft); }
.company-mark { font-size: 1.03rem; font-weight: 800; }
.company-panel li:nth-child(2) .company-mark { color: #a63531; background: #fff0ee; }
.company-panel li:nth-child(3) .company-mark { color: #24674c; background: #eaf7ee; }
.inline-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 6px;
  margin-top: 7px;
  color: var(--blue-dark);
  font-size: .89rem;
  font-weight: 700;
}
.inline-link .icon { width: 18px; height: 18px; }
.comparison-panel { padding: clamp(19px, 4vw, 37px); }

.article-shell, .directory-shell { padding-bottom: 60px; }
.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 3px 8px;
  min-height: 48px;
  padding: 4px 0;
  color: var(--muted);
  font-size: .82rem;
  list-style: none;
}
.breadcrumbs li, .breadcrumbs a { display: inline-flex; min-height: 36px; align-items: center; gap: 8px; }
.breadcrumbs .icon { width: 13px; height: 13px; color: var(--muted); }
.article-layout { display: grid; grid-template-columns: minmax(0, 2.6fr) minmax(250px, 1fr); gap: 20px; align-items: start; }
.article-panel { padding: clamp(18px, 4vw, 43px); }
.article-header h1 {
  margin-block: 10px 13px;
  font-size: clamp(1.58rem, 3.15vw, 2.42rem);
  font-weight: 780;
  line-height: 1.42;
  letter-spacing: -.023em;
  overflow-wrap: anywhere;
  text-wrap: balance;
}
.article-toc { margin-block: 22px 24px; border: 1px solid #d7e5f6; border-radius: 12px; background: #f3f8ff; }
.article-toc summary {
  display: flex;
  min-height: 46px;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  color: var(--blue-dark);
  font-size: .96rem;
  font-weight: 750;
  cursor: pointer;
  list-style: none;
}
.article-toc summary::-webkit-details-marker { display: none; }
.article-toc summary .icon { width: 20px; height: 20px; }
.article-toc summary .toc-chevron { margin-left: auto; }
.article-toc[open] .toc-chevron { transform: rotate(90deg); }
.article-toc ol { padding: 0 15px 11px 36px; color: var(--blue-dark); font-size: .91rem; }
.article-toc li a { display: inline-flex; min-height: 36px; align-items: center; padding: 4px 0; overflow-wrap: anywhere; }
.article-related { position: sticky; top: 92px; padding: 20px; }
.article-related h2 { font-size: 1.12rem; }
.article-related li a {
  display: flex;
  min-height: 51px;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-block: 8px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: .86rem;
  line-height: 1.6;
  text-decoration: none;
}
.article-related li a:hover { color: var(--blue-dark); text-decoration: underline; }
.article-related li .icon { width: 16px; height: 16px; color: var(--blue); }

.prose { color: var(--body); font-size: 1rem; line-height: 1.9; overflow-wrap: anywhere; }
.prose > * + * { margin-top: 16px; }
.prose p { margin-bottom: 0; }
.prose h2 {
  margin-top: 32px;
  padding: 3px 0 3px 12px;
  border-left: 4px solid var(--blue);
  color: var(--ink);
  font-size: clamp(1.18rem, 2.5vw, 1.52rem);
  line-height: 1.45;
}
.prose > h2:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.5em; }
.prose img { margin-inline: auto; border-radius: 9px; }
.prose .ylw { padding-inline: 2px; border-radius: 3px; background: #fff2ca; }
.prose .fg-note { padding: 13px 15px; border-left: 3px solid #d59a29; border-radius: 6px; background: #fff8e8; }
.prose .fg-date { color: var(--muted); font-size: .84rem; }
.prose .fg-jumps { display: flex; flex-wrap: wrap; gap: 8px; }
.prose .fg-jumps a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 6px 12px;
  border: 1px solid #d4e3f7;
  border-radius: 9px;
  background: #f2f7ff;
  font-size: .89rem;
  font-weight: 690;
}
.table-wrap { max-width: 100%; overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; }
.prose table { width: 100%; border-collapse: collapse; font-size: .92rem; line-height: 1.6; }
.prose .fg-compare { table-layout: fixed; }
.prose .fg-compare th:first-child { width: 30%; }
.prose th, .prose td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; overflow-wrap: anywhere; }
.prose th { color: var(--ink); background: #f3f7fc; }
.prose thead th { background: #e9f2ff; }
.prose tr:last-child th, .prose tr:last-child td { border-bottom: 0; }
.prose .fg-start { display: block; color: var(--ink); }

.directory-header { padding: 10px 0 21px; }
.directory-header h1 { margin-block: 5px 8px; font-size: clamp(1.78rem, 4.2vw, 2.55rem); line-height: 1.4; }
.directory-header > p:last-child { color: var(--body); }
.directory-controls { padding: clamp(16px, 3vw, 24px); }
.directory-form { max-width: 610px; }
.directory-form label { display: block; margin-bottom: 5px; font-size: .9rem; font-weight: 700; }
.filter-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 13px; }
.filter-chip {
  min-height: 42px;
  padding: 7px 12px;
  border: 1px solid #b9cce5;
  border-radius: 9px;
  background: var(--surface);
  color: var(--blue-dark);
  font-size: .84rem;
  font-weight: 650;
}
.filter-chip:hover { background: var(--blue-soft); }
.filter-chip[aria-pressed="true"] { border-color: var(--blue); color: white; background: var(--blue); }
.result-status { min-height: 1.6em; margin-top: 12px; color: var(--muted); font-size: .86rem; }
.no-results { margin-top: 18px; padding: 20px; color: var(--body); }
.directory-group { margin-top: 25px; }
.directory-group h2 { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; font-size: 1.18rem; }
.directory-group h2 .icon { color: var(--blue); }
.directory-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; padding: 0; list-style: none; }
.directory-grid a {
  display: flex;
  min-height: 64px;
  height: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-radius: 11px;
  color: var(--ink);
  background: var(--surface);
  font-size: .93rem;
  font-weight: 650;
  line-height: 1.55;
  overflow-wrap: anywhere;
  text-decoration: none;
}
.directory-grid a:hover { border-color: #a6c3e8; color: var(--blue-dark); background: #f9fbff; text-decoration: underline; }
.directory-grid .icon { width: 16px; height: 16px; color: var(--blue); }

.site-footer { border-top: 1px solid var(--line); background: #eaf1fa; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 5px 20px; padding-top: 15px; }
.footer-brand { color: var(--ink); font-weight: 750; text-decoration: none; }
.footer-inner nav { display: flex; flex-wrap: wrap; gap: 1px 14px; }
.footer-inner nav a { display: inline-flex; min-height: 40px; align-items: center; font-size: .84rem; }
.footer-copyright { padding-block: 8px 18px; color: var(--muted); font-size: .77rem; }

@media (max-width: 840px) {
  .hero-inner { gap: 22px; }
  .explore-grid { grid-template-columns: minmax(0, 1.3fr) minmax(235px, 1fr); }
  .topics-grid { grid-template-columns: 1fr; }
  .article-layout { grid-template-columns: minmax(0, 1fr); }
  .article-related { position: static; }
  .directory-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 660px) {
  :root { scroll-padding-top: 14px; }
  .shell { width: calc(100% - 32px); }
  .site-header { position: static; }
  .header-inner { min-height: 0; flex-direction: column; align-items: stretch; gap: 8px; padding-block: 9px 6px; }
  .site-brand { align-self: flex-start; }
  .brand-icon { width: 37px; height: 37px; border-radius: 10px; }
  .brand-icon .icon { width: 22px; height: 22px; }
  .site-nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3px; }
  .site-nav a { padding-inline: 3px; font-size: .79rem; }
  .site-nav .icon { width: 14px; height: 14px; }
  .hero-inner, .explore-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-inner { gap: 18px; padding-block: 25px 21px; }
  .hero h1 { margin-block: 10px; }
  .hero-actions { gap: 7px; margin-top: 15px; }
  .hero-actions .button { padding-inline: 10px; font-size: .86rem; }
  .hero-checklist { padding: 13px 15px; border-radius: 15px; }
  .hero-checklist h2 { margin-bottom: 4px; font-size: 1rem; }
  .check-row { min-height: 51px; padding-block: 6px; }
  .check-icon { width: 31px; height: 31px; border-radius: 8px; }
  .check-icon .icon { width: 17px; height: 17px; }
  .check-row strong { font-size: .89rem; }
  .check-row small { margin-top: 0; }
  .home-content { gap: 15px; padding-block: 15px 39px; }
  .explore-grid, .article-layout { gap: 13px; }
  .panel { border-radius: 15px; }
  .topics-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .topic-card { grid-template-columns: minmax(0, 1fr) auto; gap: 3px 4px; padding: 8px; }
  .topic-icon { display: none; }
  .topic-card strong { font-size: .85rem; }
  .topic-card small { font-size: .73rem; }
  .article-shell, .directory-shell { padding-bottom: 38px; }
  .article-toc { margin-block: 16px 20px; }
  .prose th, .prose td { padding: 7px 8px; }
  .prose table { font-size: .86rem; }
  .directory-grid { grid-template-columns: minmax(0, 1fr); }
  .directory-grid a { min-height: 48px; }
}

@media (max-width: 355px) {
  .shell { width: calc(100% - 24px); }
  .hero h1 { font-size: 1.82rem; }
  .hero-actions .button { width: 100%; }
  .search-input { flex-basis: 135px; }
}

/* Illustration and diagram styles */
.hero--illustrated {
  background: radial-gradient(ellipse at 96% 4%, #e2efff, transparent 68%), #fafcff;
}
.hero--illustrated .hero-inner {
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  gap: clamp(22px, 4vw, 52px);
  padding-block: clamp(29px, 4.6vw, 64px);
}
.hero--illustrated h1 { font-size: clamp(2rem, 3.8vw, 3.18rem); }
.hero--illustrated h1 em { white-space: nowrap; }
.hero-illustration {
  margin: 0;
  overflow: hidden;
  border: 1px solid #cfdfef;
  border-radius: 25px;
  background: #f6eedf;
  box-shadow: 0 17px 36px rgb(29 69 121 / .12);
}
.hero-illustration img { width: 100%; aspect-ratio: 3 / 2; }

.visual-guides h2 { margin-bottom: 12px; font-size: clamp(1.2rem, 2.2vw, 1.45rem); }
.visual-guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
  padding: 0;
  list-style: none;
}
.visual-guide {
  display: grid;
  height: 100%;
  min-height: 98px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: clamp(7px, 1.3vw, 16px);
  align-items: center;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 17px;
  color: var(--ink);
  background: var(--surface);
  text-decoration: none;
  box-shadow: 0 5px 13px rgb(29 69 121 / .05);
}
.visual-guide:hover { border-color: #9bb9e1; }
.visual-guide:hover strong { color: var(--blue-dark); text-decoration: underline; }
.visual-guide strong, .visual-guide small { display: block; }
.visual-guide strong { font-size: clamp(.98rem, 1.8vw, 1.12rem); line-height: 1.45; }
.visual-guide small { margin-top: 3px; color: var(--muted); font-size: .84rem; line-height: 1.5; }
.guide-art { display: block; width: 96px; height: 74px; flex: 0 0 auto; }
.visual-guide .guide-art { width: clamp(62px, 8vw, 112px); height: auto; aspect-ratio: 4 / 3; }

.visual-title {
  --title-wash: #edf5ff;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 6px 14px;
  padding: clamp(12px, 2.3vw, 23px);
  border: 1px solid #dae7f5;
  border-radius: 15px;
  background: linear-gradient(105deg, var(--title-wash), #f9fcff);
}
.visual-title[data-visual-topic="companies"] { --title-wash: #ebf6f2; }
.visual-title[data-visual-topic="repayment"] { --title-wash: #fff3e3; }
.visual-title[data-visual-topic="applications"] { --title-wash: #f3efff; }
.visual-title[data-visual-topic="banks"] { --title-wash: #e8f6fb; }
.visual-title h1 { margin: 0; grid-column: 1; }
.visual-title > .guide-art {
  width: clamp(86px, 13vw, 145px);
  height: auto;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  aspect-ratio: 4 / 3;
}
.visual-title > .eyebrow { grid-column: 1; }
.visual-title + .fg-lede, .directory-header .visual-title + p { margin-top: 14px; }
.directory-group h2 .guide-art { width: 51px; height: 39px; }

.explain-figure {
  margin-inline: 0;
  padding: clamp(12px, 2.5vw, 21px);
  border: 1px solid #d6e5f8;
  border-radius: 15px;
  color: var(--ink);
  background: #f4f8fe;
}
.explain-figure > figcaption {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 11px;
  font-size: clamp(1rem, 1.9vw, 1.17rem);
  font-weight: 750;
  line-height: 1.55;
}
.diagram-label {
  flex: 0 0 auto;
  padding: 3px 8px;
  border-radius: 6px;
  color: #174788;
  background: #dceaff;
  font-size: .76rem;
  font-weight: 800;
  white-space: nowrap;
}
.figure-note { margin-top: 10px; color: var(--muted); font-size: .85rem; line-height: 1.65; }
.diagram-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.diagram-path {
  --path-ink: #194e9b;
  --path-wash: #e9f2ff;
  min-width: 0;
  padding: 12px;
  border: 1px solid #d8e3f0;
  border-radius: 11px;
  background: var(--surface);
}
.diagram-path:nth-child(2) { --path-ink: #1d5c4b; --path-wash: #e4f5ed; }
.path-title {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 1px 7px;
  margin: 0 0 9px;
  color: var(--path-ink);
  font-size: 1rem;
  line-height: 1.5;
}
.path-title small { color: var(--muted); font-size: .8rem; font-weight: 600; }
.path-days {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 7px;
  align-items: center;
}
.path-day {
  display: grid;
  min-height: 66px;
  align-content: center;
  justify-items: center;
  padding: 6px 3px;
  border-radius: 8px;
  background: #f2f5f9;
  line-height: 1.4;
  text-align: center;
}
.path-day:last-child { color: var(--path-ink); background: var(--path-wash); }
.path-day strong { font-size: clamp(1.06rem, 2.2vw, 1.43rem); white-space: nowrap; }
.path-day span { font-size: .8rem; }
.diagram-arrow { width: 16px; height: 16px; color: #506c91; }
.plan-length { color: var(--path-ink); font-size: clamp(1.65rem, 4vw, 2.18rem); font-weight: 800; line-height: 1.25; }
.plan-length span { font-size: .55em; }
.plan-heading { display: block; margin-block: 5px; font-size: .98rem; line-height: 1.55; }
.plan-details { color: var(--body); font-size: .89rem; line-height: 1.68; }

.prose .flow-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 17px;
  padding: 0;
  list-style: none;
}
.flow-step {
  position: relative;
  display: grid;
  align-content: start;
  gap: 4px;
  min-width: 0;
  padding: 11px;
  border: 1px solid #d8e3f0;
  border-radius: 11px;
  background: var(--surface);
  line-height: 1.55;
}
.flow-step.is-key { border-color: #abc9ec; background: #e8f2ff; }
.flow-step:not(:last-child)::after {
  position: absolute;
  top: calc(50% - 5px);
  right: -14px;
  width: 8px;
  height: 8px;
  border: solid #58749b;
  border-width: 2px 2px 0 0;
  content: "";
  transform: rotate(45deg);
}
.step-value { color: var(--blue-dark); font-size: clamp(1.04rem, 2.4vw, 1.34rem); font-weight: 800; }
.step-copy { color: var(--body); font-size: .88rem; }
.flow-step .guide-art { width: 68px; height: 48px; margin-bottom: 2px; }

@media (max-width: 840px) {
  .visual-guide { grid-template-columns: minmax(0, 1fr) auto; }
  .visual-guide .guide-art { grid-column: 1 / -1; }
}
@media (max-width: 660px) {
  .hero--illustrated .hero-inner { grid-template-columns: minmax(0, 1fr); gap: 19px; padding-block: 24px; }
  .hero-illustration { border-radius: 16px; }
  .visual-guide-grid { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .visual-guide { min-height: 75px; grid-template-columns: auto minmax(0, 1fr) auto; gap: 11px; padding: 7px 12px; }
  .visual-guide .guide-art { width: 72px; grid-column: auto; }
  .visual-title > .guide-art { width: 72px; grid-row: 1; }
  .visual-title h1 { grid-column: 1 / -1; }
  .diagram-grid { grid-template-columns: minmax(0, 1fr); }
  .prose .flow-steps { grid-template-columns: minmax(0, 1fr); gap: 15px; }
  .flow-step { grid-template-columns: minmax(72px, auto) minmax(0, 1fr); gap: 4px 10px; align-items: center; }
  .flow-step:not(:last-child)::after { top: auto; right: auto; bottom: -10px; left: calc(50% - 4px); transform: rotate(135deg); }
  .flow-step:has(.guide-art) { grid-template-columns: auto minmax(0, 1fr); }
  .flow-step .guide-art { grid-row: span 2; width: 54px; height: 42px; margin: 0; }
}
@media (max-width: 355px) {
  .hero--illustrated h1 { font-size: 1.69rem; }
  .explain-figure { padding: 10px; }
}
