:root {
  --ink: #0b1220;
  --ink-soft: #303a4b;
  --navy: #0c1830;
  --blue: #315dff;
  --blue-dark: #1946e9;
  --lime: #c9ff4a;
  --cream: #f5f2e9;
  --paper: #ffffff;
  --mist: #eef2f8;
  --line: #dce2eb;
  --muted: #596274;
  --radius-sm: 12px;
  --radius-md: 22px;
  --radius-lg: 34px;
  --shadow: 0 24px 70px rgba(11, 18, 32, .14);
  --container: min(1180px, calc(100% - 48px));
  --header-h: 78px;
  color-scheme: light;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 24px); }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size:18px;
  line-height: 1.8;
  letter-spacing: .015em;
  -webkit-font-smoothing: antialiased;
}

body.is-menu-open,
body.is-assistant-open { overflow: hidden; }

body.is-assistant-open::after {
  content: "";
  position: fixed;
  z-index: 280;
  inset: 0;
  background: rgba(11, 18, 32, .38);
  backdrop-filter: blur(2px);
}

img { display: block; max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; }
button { color: inherit; }

.container { width: var(--container); margin-inline: auto; }
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 8px;
  left: 8px;
  transform: translateY(-160%);
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.skip-link:focus { transform: none; }

:focus-visible { outline: 3px solid var(--blue-dark); outline-offset: 3px; }
.story :focus-visible,
.final-cta :focus-visible,
.site-footer :focus-visible { outline-color: var(--lime); }

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  height: var(--header-h);
  border-bottom: 1px solid rgba(11, 18, 32, .08);
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(18px);
}

.header-inner {
  width: min(1320px, calc(100% - 48px));
  height: 100%;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}

.brand-symbol {
  position: relative;
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 12px;
  background: var(--ink);
  overflow: hidden;
}

.brand-symbol i {
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 5px;
  transform: rotate(45deg);
}

.brand-symbol i:nth-child(1) { top: -7px; left: 4px; background: var(--lime); }
.brand-symbol i:nth-child(2) { right: -8px; top: 11px; background: #6e8cff; }
.brand-symbol i:nth-child(3) { left: 3px; bottom: -9px; background: #fff; }

.brand-copy { display: grid; line-height: 1.2; }
.brand-copy b { font-size:18px; font-weight: 900; letter-spacing: .04em; }
.brand-copy small { margin-top: 4px; color: var(--muted); font-size:16px; font-weight: 600; letter-spacing: .08em; }

.global-nav { display: flex; align-items: center; gap: 30px; }
.global-nav a { position: relative; font-size:18px; font-weight: 700; text-decoration: none; }
.global-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .25s ease;
}
.global-nav a:not(.nav-cta):hover::after,
.global-nav a:not(.nav-cta):focus-visible::after { transform: scaleX(1); transform-origin: left; }
.global-nav .nav-cta { padding: 11px 20px; border-radius: 999px; background: var(--ink); color: #fff; transition: transform .2s ease, background .2s ease; }
.global-nav .nav-cta:hover { transform: translateY(-2px); background: var(--blue-dark); }
.menu-button { display: none; }

.hero {
  position: relative;
  overflow: hidden;
  padding: 92px 0 0;
  background: var(--cream);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .26;
  background-image: linear-gradient(rgba(11, 18, 32, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(11, 18, 32, .08) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, #000, transparent 74%);
}

.hero-orb { position: absolute; border-radius: 50%; filter: blur(1px); pointer-events: none; }
.hero-orb-one { width: 380px; height: 380px; right: 8%; top: -210px; background: rgba(49, 93, 255, .2); }
.hero-orb-two { width: 260px; height: 260px; left: -160px; bottom: 40px; background: rgba(201, 255, 74, .36); }

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr);
  gap: clamp(48px, 8vw, 104px);
  align-items: center;
}

.hero-copy { min-width: 0; }

.hero h1 {
  margin: 0;
  font-size: clamp(46px, 4.25vw, 58px);
  font-weight: 900;
  line-height: 1.13;
  letter-spacing: -.055em;
}

.hero h1 .hero-line { position: relative; display: block; white-space: nowrap; }
.hero h1 .hero-line-accent { color: var(--blue-dark); }
.hero h1 .hero-line-accent::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -4px;
  bottom: 4px;
  left: 0;
  height: 18%;
  border-radius: 4px;
  background: var(--lime);
}

.hero-offer { max-width: 720px; margin: 24px 0 0; color: var(--ink); font-size: clamp(18px, 1.8vw, 24px); font-weight: 700; line-height: 1.7; }
.hero-offer strong { color: var(--blue-dark); font-weight: 900; }
.hero-lead { max-width: 720px; margin: 18px 0 0; color: var(--ink-soft); font-size: clamp(17px, 1.35vw, 18px); line-height: 1.9; }
.hero-lead strong { color: var(--ink); font-weight: 800; }
.hero-scope-note { margin-top: 8px; display: block; color: var(--muted); font-size:18px; line-height: 1.7; }
.hero-actions { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }

.button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  padding: 14px 22px;
  border-radius: 999px;
  font-size:18px;
  font-weight: 800;
  line-height: 1.4;
  text-decoration: none;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
}
.button:hover { transform: translateY(-3px); }
.button-primary { background: var(--blue); color: #fff; box-shadow: 0 13px 28px rgba(49, 93, 255, .28); }
.button-primary:hover { background: var(--blue-dark); box-shadow: 0 17px 34px rgba(49, 93, 255, .35); }
.button-dark { background: var(--ink); color: #fff; }
.button-light { background: #fff; color: var(--ink); }
.text-link { display: inline-flex; gap: 10px; align-items: center; color: var(--ink); font-size:18px; font-weight: 800; text-underline-offset: 5px; }
.text-link:hover { color: var(--blue-dark); }
.hero-note { max-width: 660px; margin: 20px 0 0; color: var(--muted); font-size:18px; line-height: 1.7; }

.impact-card {
  position: relative;
  border: 1px solid rgba(11, 18, 32, .1);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .82);
  box-shadow: var(--shadow);
  overflow: hidden;
  transform: rotate(1.2deg);
}

.impact-media { position: relative; height: 172px; overflow: hidden; background: var(--navy); }
.impact-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12,24,48,.72), rgba(12,24,48,.06)); }
.impact-media img { width: 100%; height: 100%; object-fit: cover; }
.impact-body { padding: 26px 30px 30px; }
.impact-body > p { margin: 0; color: var(--muted); font-size:18px; font-weight: 700; }
.impact-flow { margin-top: 2px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.impact-flow strong { min-width: 0; font: 800 clamp(34px, 3.1vw, 46px)/1 "Inter", sans-serif; letter-spacing: -.05em; white-space: nowrap; }
.impact-flow small { margin-left: 3px; font-size:16px; letter-spacing: 0; }
.impact-flow > span { color: var(--muted); font-size: 20px; }
.impact-flow .accent { color: var(--blue); }
.impact-total { margin-top: 18px; padding: 15px 18px; display: flex; justify-content: space-between; gap: 12px; align-items: center; border-radius: 13px; background: var(--lime); }
.impact-total span { font-size:16px; font-weight: 700; }
.impact-total b { font-size:18px; }
.impact-body > small { display: block; margin-top: 10px; color: var(--muted); font-size:18px; text-align: right; }

.hero-proof {
  position: relative;
  margin-top: 82px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(11, 18, 32, .14);
}
.hero-proof p { min-height: 84px; margin: 0; padding: 21px 24px; display: flex; align-items: center; gap: 12px; border-right: 1px solid rgba(11, 18, 32, .14); font-size:18px; }
.hero-proof p:last-child { border-right: 0; }
.hero-proof span { color: var(--blue); font: 800 16px/1 "Inter", sans-serif; }
.hero-proof b { font-weight: 800; }

/* 2026-08-15: 上下128pxずつ＝1節256pxの余白があり、8節でページ全高の2割を占めていた（実測）。
   「全体的に空白が多すぎる」との指摘により88pxへ圧縮。 */
.story-section, .services-section, .process-section, .faq-section { padding: 88px 0; }
.section-head { margin-bottom: 36px; }
.section-head-split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(320px, .65fr); align-items: end; gap: 60px; }
.section-head h2, .fit-copy h2, .faq-intro h2, .final-cta h2 { margin: 0; font-size: clamp(38px, 5vw, 64px); font-weight: 900; line-height: 1.2; letter-spacing: -.055em; }
.section-head > p { max-width: 500px; margin: 0 0 8px; color: var(--muted); font-size:18px; line-height: 1.9; }
.story {
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  border-radius: var(--radius-lg);
  background: var(--ink);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.story-tabs { padding: 14px; display: grid; align-content: start; gap: 5px; background: #101a2b; }
.story-tab {
  position: relative;
  width: 100%;
  min-height: 132px;
  padding: 22px 20px 20px 50px;
  display: grid;
  align-content: center;
  border: 0;
  border-radius: 20px;
  background: transparent;
  color: rgba(255,255,255,.6);
  text-align: left;
  cursor: pointer;
  transition: background .24s ease, color .24s ease, transform .24s ease;
}
.story-tab:hover, .story-tab:focus-visible { background: rgba(255,255,255,.06); color: #fff; }
.story-tab.is-active { background: #fff; color: var(--ink); transform: translateX(5px); }
.story-tab > span { position: absolute; top: 28px; left: 18px; color: #7182a0; font: 800 16px/1 "Inter", sans-serif; }
.story-tab.is-active > span { color: var(--blue); }
.story-tab b { font-size:18px; line-height: 1.45; }
.story-tab small { margin-top: 7px; color: inherit; font-size:18px; opacity: .72; }

.story-stage { position: relative; min-height: 520px; background: #19243a; }
.story-panel { position: absolute; inset: 0; overflow: hidden; }
.story-panel[hidden] { display: none; }
.story-panel img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.78) contrast(1.05); }
.story-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(9,16,29,.93) 0%, rgba(9,16,29,.76) 45%, rgba(9,16,29,.12) 100%), linear-gradient(0deg, rgba(9,16,29,.55), transparent 55%); }
.story-content { position: absolute; z-index: 2; top: 50%; left: 8%; width: min(540px, 76%); color: #fff; transform: translateY(-52%); }
.story-content h3 { margin: 0; font-size: clamp(30px, 4vw, 50px); line-height: 1.28; letter-spacing: -.04em; }
.story-content h3 + p { max-width: 520px; margin: 20px 0 0; color: rgba(255,255,255,.78); font-size:18px; }
.story-content a { margin-top: 26px; display: inline-flex; align-items: center; gap: 20px; color: #fff; font-size:18px; font-weight: 800; text-underline-offset: 5px; }

.story-panel.is-active .story-content { animation: panelIn .55s cubic-bezier(.2,.8,.2,1) both; }
.story.is-playing .story-panel.is-active img { animation: imageIn var(--story-duration, 7.6s) linear both; }
@keyframes panelIn { from { opacity: 0; transform: translateY(-45%); } to { opacity: 1; transform: translateY(-52%); } }
@keyframes imageIn { from { transform: scale(1.01); } to { transform: scale(1.06); } }

.story-controls { position: absolute; z-index: 4; right: 24px; bottom: 22px; left: 24px; display: flex; align-items: center; gap: 12px; }
.story-arrow, .story-toggle { min-width: 44px; min-height: 44px; border: 1px solid rgba(255,255,255,.34); border-radius: 999px; background: rgba(9,16,29,.5); color: #fff; cursor: pointer; backdrop-filter: blur(8px); }
.story-arrow:hover, .story-toggle:hover { background: rgba(255,255,255,.16); }
.story-toggle { min-width: 105px; padding: 0 13px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; font-size:16px; }
.story-toggle b { font-weight: 700; }
.story-status { min-width: 0; flex: 1; display: flex; align-items: center; gap: 10px; color: #fff; font: 700 16px/1 "Inter", sans-serif; }
.story-status i { position: relative; height: 2px; flex: 1; background: rgba(255,255,255,.3); overflow: hidden; }
.story-status i b { position: absolute; inset: 0; background: var(--lime); transform: scaleX(0); transform-origin: left; }
.story.is-playing .story-status i b { animation: storyProgress var(--story-duration, 7.6s) linear both; }
@keyframes storyProgress { to { transform: scaleX(1); } }

.services-section { background: var(--mist); }
.service-carousel { --service-duration: 7000ms; position: relative; }
.service-viewport { margin-top: -10px; padding: 10px 0 28px; overflow: hidden; touch-action: pan-y; cursor: grab; }
.service-viewport:active { cursor: grabbing; }
.service-track { display: flex; align-items: stretch; gap: 24px; transition: transform .68s cubic-bezier(.2,.78,.2,1); will-change: transform; }
.service-card { position: relative; flex: 0 0 min(72%, 720px); display: flex; flex-direction: column; border: 1px solid #d9e0ea; border-radius: var(--radius-lg); background: #fff; overflow: hidden; transform: scale(.965); transform-origin: center; transition: transform .38s ease, box-shadow .26s ease; }
.service-card.is-active { transform: scale(1); box-shadow: var(--shadow); }
.service-card:hover { transform: translateY(-4px) scale(1); box-shadow: var(--shadow); }
.service-card > img { width: 100%; height: 218px; object-fit: cover; background: #dfe5ef; }
.service-card-featured > img { object-position: center; }
.service-number { position: absolute; z-index: 2; top: 18px; left: 18px; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.94); color: var(--blue-dark); font: 800 16px/1 "Inter", sans-serif; box-shadow: 0 8px 20px rgba(11,18,32,.12); }
.service-body { padding: 30px 32px 34px; display: flex; flex: 1; flex-direction: column; }
.service-label { margin: 0 0 9px; color: var(--blue-dark); font-size:16px; font-weight: 800; letter-spacing: .1em; }
.service-body h3 { margin: 0; font-size: clamp(23px, 2.4vw, 31px); line-height: 1.4; letter-spacing: -.035em; }
.service-body h3 + p { margin: 15px 0 0; color: var(--ink-soft); font-size:18px; }
.service-price { margin: 24px 0 0; padding-top: 22px; display: flex; align-items: baseline; gap: 10px; border-top: 1px solid var(--line); }
.service-price b { font-size: 23px; line-height: 1.3; }
.service-price span { color: var(--muted); font-size:16px; font-weight: 700; }
.service-body ul { margin: 20px 0 0; padding: 0; display: grid; gap: 8px; list-style: none; }
.service-body li { position: relative; padding-left: 20px; color: var(--ink-soft); font-size:18px; }
.service-body li::before { content: ""; position: absolute; top: .78em; left: 2px; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 3px rgba(49,93,255,.12); }
.service-body > a { margin-top: auto; padding-top: 24px; display: inline-flex; gap: 16px; color: var(--ink); font-size:18px; font-weight: 800; text-underline-offset: 5px; }
.service-controls { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.service-status { min-width: 0; margin-right: auto; display: flex; align-items: center; gap: 9px; color: var(--ink); font: 800 16px/1 "Inter", sans-serif; }
.service-status i { position: relative; width: min(34vw, 300px); height: 3px; margin-left: 8px; overflow: hidden; background: #ccd5e2; }
.service-status i b { position: absolute; inset: 0; background: var(--blue); transform: scaleX(0); transform-origin: left; }
.service-carousel.is-playing .service-status i b { animation: serviceProgress var(--service-duration) linear both; }
.service-arrow, .service-toggle { min-width: 46px; min-height: 46px; border: 1px solid #c6cfdd; border-radius: 999px; background: #fff; color: var(--ink); font-weight: 800; cursor: pointer; }
.service-arrow:hover, .service-toggle:hover { border-color: var(--blue); color: var(--blue-dark); }
.service-toggle { min-width: 112px; padding: 0 14px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-size:16px; }
.service-toggle b { font-weight: 800; }
.service-toggle:disabled { cursor: not-allowed; opacity: .58; }
@keyframes serviceProgress { to { transform: scaleX(1); } }

.fit-section { padding: 88px 0; background: var(--cream); }
.fit-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(50px, 9vw, 120px); align-items: center; }
.fit-visual { position: relative; min-height: 540px; isolation: isolate; overflow: visible; background: transparent; }
.fit-visual::before { content: ""; position: absolute; z-index: 0; inset: 12% 2% 8%; border-radius: 44%; background: radial-gradient(ellipse at 48% 55%, rgba(234,117,67,.3), rgba(75,139,171,.13) 48%, transparent 75%); filter: blur(58px); opacity: .72; pointer-events: none; }
.fit-visual::after { content: ""; position: absolute; z-index: 2; inset: -1px; background: radial-gradient(ellipse 78% 82% at 50% 50%, transparent 58%, rgba(245,242,233,.2) 68%, rgba(245,242,233,.72) 84%, var(--cream) 100%); pointer-events: none; }
.fit-visual img { position: relative; z-index: 1; display: block; width: 100%; height: 100%; min-height: 540px; object-fit: cover; filter: saturate(.94) contrast(.98); -webkit-mask-image: radial-gradient(ellipse 80% 84% at 50% 50%, #000 55%, rgba(0,0,0,.96) 67%, rgba(0,0,0,.7) 80%, rgba(0,0,0,.18) 93%, transparent 100%); mask-image: radial-gradient(ellipse 80% 84% at 50% 50%, #000 55%, rgba(0,0,0,.96) 67%, rgba(0,0,0,.7) 80%, rgba(0,0,0,.18) 93%, transparent 100%); }
.fit-list { margin: 38px 0; padding: 0; display: grid; gap: 0; list-style: none; border-top: 1px solid rgba(11,18,32,.16); }
.fit-list li { padding: 19px 0; display: flex; gap: 16px; align-items: flex-start; border-bottom: 1px solid rgba(11,18,32,.16); }
.fit-list li > span { width: 26px; height: 26px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; background: var(--blue); color: #fff; font-size:16px; font-weight: 900; }
.fit-list div { display: grid; gap: 3px; }
.fit-list b { font-size:18px; line-height: 1.5; }
.fit-list small { color: var(--muted); font-size:18px; }

.trust-section { padding: 84px 0; background: var(--ink); color: #fff; }
.trust-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(54px, 9vw, 120px); align-items: start; }
.trust-intro { position: sticky; top: calc(var(--header-h) + 30px); }
.trust-intro h2 { margin: 0; font-size: clamp(38px, 5vw, 58px); font-weight: 900; line-height: 1.24; letter-spacing: -.05em; }
.trust-intro > p { margin: 24px 0 0; color: rgba(255,255,255,.66); font-size:18px; }
.trust-intro > a { margin-top: 22px; display: inline-flex; gap: 15px; color: #fff; font-size:18px; font-weight: 800; text-underline-offset: 5px; }
.promise-list { margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; list-style: none; border-top: 1px solid rgba(255,255,255,.18); border-left: 1px solid rgba(255,255,255,.18); }
.promise-list li { padding: 28px 26px; display: grid; align-content: space-between; border-right: 1px solid rgba(255,255,255,.18); border-bottom: 1px solid rgba(255,255,255,.18); }  /* min-height は 684行で 0 に上書き済みのため削除（同一詳細度・後勝ち） */
.promise-list li > span { color: var(--lime); font: 800 16px/1 "Inter", sans-serif; }
.promise-list div { margin-top: 54px; }
.promise-list b { font-size:18px; }
.promise-list p { margin: 10px 0 0; color: rgba(255,255,255,.6); font-size:18px; }
.promise-list p a { color: #fff; text-underline-offset: 4px; }


.faq-section { background: var(--mist); }
.faq-grid { display: grid; grid-template-columns: .65fr 1.35fr; gap: clamp(50px, 9vw, 120px); align-items: start; }
.faq-intro { position: sticky; top: calc(var(--header-h) + 32px); }
.faq-intro > p { margin: 24px 0 0; color: var(--muted); font-size:18px; }
.assistant-inline-button { margin-top: 22px; padding: 0; display: inline-flex; gap: 16px; border: 0; background: none; color: var(--blue-dark); font-size:18px; font-weight: 800; text-decoration: underline; text-underline-offset: 5px; cursor: pointer; }
.faq-list { border-top: 1px solid #cbd3df; }
.faq-list details { border-bottom: 1px solid #cbd3df; }
.faq-list summary { position: relative; padding: 27px 56px 27px 0; color: var(--ink); font-size:18px; font-weight: 800; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span, .faq-list summary span::after { position: absolute; top: 50%; right: 4px; width: 20px; height: 2px; background: var(--blue); transform: translateY(-50%); transition: transform .22s ease; }
.faq-list summary span::after { content: ""; right: auto; transform: rotate(90deg); }
.faq-list details[open] summary span::after { transform: rotate(0); }
.faq-list details > div { padding: 0 54px 26px 0; }
.faq-list details p { margin: 0; color: var(--ink-soft); font-size:18px; }

.final-cta { padding: 84px 0; background: var(--blue); color: #fff; text-align: center; overflow: hidden; }
.final-cta-inner { position: relative; }
.final-cta-inner::before, .final-cta-inner::after { content: ""; position: absolute; width: 280px; height: 280px; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; }
.final-cta-inner::before { top: -180px; left: -160px; }
.final-cta-inner::after { right: -160px; bottom: -190px; }
.final-cta h2 { position: relative; z-index: 1; font-size: clamp(42px, 6vw, 72px); }
.final-cta p { max-width: 630px; margin: 24px auto 30px; color: rgba(255,255,255,.95); font-size:18px; }
.final-cta .button { position: relative; z-index: 1; }

.site-footer { padding: 72px 0 24px; background: var(--ink); color: #fff; }
.brand-footer { color: #fff; }
.brand-footer .brand-symbol { background: #fff; }
.brand-footer .brand-copy small { color: rgba(255,255,255,.54); }
.footer-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; }
.footer-grid > div > p { margin: 24px 0 0; color: rgba(255,255,255,.55); font-size:16px; }
.footer-grid nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer-grid nav div { display: grid; align-content: start; gap: 3px; }
.footer-grid nav b { margin-bottom: 7px; color: rgba(255,255,255,.58); font-size:16px; letter-spacing: .1em; }
/* 2026-08-31: トップのフッター。実測すると**元から32.4pxで24pxは満たしていた**ので、
   下層(style-r8.css)のような違反の修正ではない。40〜60代の読み手に余裕を持たせるため
   下層と同じ形に揃えたもの。実測 32.4px → 38.4px、隣接間隔 41.4px → 41.4px（不変）、
   フッター全体 911px → 911px（不変）。下層と違い、ここは縦に伸びない。
   ⚠️ 当初「上と同じ理由。実測 21px → 27px」と書いたが、トップは21pxではなかった（訂正）。 */
.footer-grid nav a { display: inline-block; padding: 3px 0; color: rgba(255,255,255,.82); font-size:18px; text-decoration: none; }
.footer-grid nav a:hover { color: var(--lime); }
.footer-bottom { margin-top: 60px; padding-top: 22px; display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.58); }
.footer-bottom small { font-size:16px; }

.assistant {
  position: fixed; z-index: 300; right: 22px; bottom: 22px;
  /* transform は使わない。transform が none 以外になると、その要素は
     position:fixed の子孫の包含ブロックになる。.assistant-dialog は
     @media(max-width:680px) で inset 指定の fixed なので、退避の遷移中だけ
     ダイアログがランチャー基準に置かれて位置が跳ねる（りつの指摘）。 */
  transition: opacity .25s ease, visibility .25s ease;
}
/* 第一画面ではランチャーを出さない。
   2026-08-21 実測: 375px の着地時（scrollY 0）に NAVI が価格文 .hero-offer を
   56×64px 覆っていた（「その後は通常初期費用98,000円〜です」の一部が読めない）。
   スクロールすると消える＝一番見られる瞬間だけ壊れている状態だった。
   第一画面には .hero-actions の主CTAが既にあり、そこへチャット導線を重ねる利点もない。
   下層ページの .mobile-contact-cta.is-suppressed と同じ書き方に揃えている。 */
.assistant.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.assistant-launcher {
  position: relative;
  min-width: 192px;
  min-height: 64px;
  padding: 9px 18px 9px 9px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(11,18,32,.12);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 16px 50px rgba(11,18,32,.24);
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}
.assistant-launcher:hover { transform: translateY(-3px); box-shadow: 0 20px 58px rgba(11,18,32,.3); }
.assistant-launcher-copy { display: grid; text-align: left; line-height: 1.25; }
.assistant-launcher-copy small { color: var(--muted); font-size:16px; font-weight: 700; }
.assistant-launcher-copy b { margin-top: 3px; font-size:18px; font-weight: 900; }
.assistant-unread { position: absolute; top: -3px; right: -2px; width: 22px; height: 22px; display: grid; place-items: center; border: 3px solid #fff; border-radius: 50%; background: #ff4b4b; color: #fff; font: 800 16px/1 "Inter", sans-serif; }
.assistant-avatar { position: relative; width: 46px; height: 46px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 16px 16px 16px 7px; background: var(--blue); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); overflow: hidden; }
.assistant-avatar i { position: absolute; width: 36px; height: 36px; top: -19px; right: -13px; border-radius: 50%; background: var(--lime); }
.assistant-avatar b { position: relative; font: 800 16px/1 "Inter", sans-serif; letter-spacing: -.04em; }
.assistant-avatar-small { width: 38px; height: 38px; border-radius: 13px 13px 13px 5px; }
.assistant-avatar-tiny { width: 28px; height: 28px; border-radius: 10px 10px 10px 4px; }
.assistant-avatar-tiny b { font-size:16px; letter-spacing:-.06em; }  /* 28px枠に「NAVI」を収める。15pxだと35.22pxで7.22px切れていた。 aria-hidden の装飾ロゴであり読ませる文字ではないため、補助表示の下限16pxを適用（読ませる文章の18pxは課さない） */

.assistant-dialog {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(390px, calc(100vw - 28px));
  height: min(620px, calc(100vh - 32px));
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto auto auto;
  border: 1px solid rgba(11,18,32,.14);
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 28px 90px rgba(11,18,32,.3);
  overflow: hidden;
  transform-origin: bottom right;
  animation: assistantIn .28s cubic-bezier(.2,.8,.2,1) both;
}
.assistant-dialog[hidden] { display: none; }
@keyframes assistantIn { from { opacity: 0; transform: translateY(14px) scale(.96); } }
.assistant-dialog header { min-height: 74px; padding: 13px 14px; display: flex; align-items: center; gap: 11px; border-bottom: 1px solid var(--line); background: #f7f9fc; }
.assistant-dialog header div { min-width: 0; flex: 1; }
.assistant-dialog header h2 { margin: 0; font-size:18px; line-height: 1.3; }
.assistant-dialog header p { margin: 3px 0 0; display: flex; align-items: center; gap: 5px; color: var(--muted); font-size:16px; }
.assistant-dialog header p span { width: 6px; height: 6px; border-radius: 50%; background: #23b26d; }
.assistant-dialog header button { width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; color: var(--muted); font-size: 24px; line-height: 1; cursor: pointer; }
.assistant-dialog header button:hover { background: #e8edf4; color: var(--ink); }
.assistant-messages { padding: 18px 14px; display: flex; flex-direction: column; gap: 13px; overflow-y: auto; background: #fff; }
.assistant-message { display: flex; gap: 8px; align-items: flex-end; }
.assistant-message > div { max-width: 82%; padding: 11px 12px; border-radius: 16px 16px 16px 4px; background: var(--mist); }
.assistant-message p { margin: 0; font-size:18px; line-height: 1.7; }
.assistant-message small { display: block; margin-top: 5px; color: var(--muted); font-size:16px; }
.assistant-message-user { justify-content: flex-end; }
.assistant-message-user > div { border-radius: 16px 16px 4px 16px; background: var(--blue); color: #fff; }
.assistant-message a { color: var(--blue-dark); font-weight: 800; text-underline-offset: 3px; }
.assistant-quick { padding: 0 13px 10px; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.assistant-quick::-webkit-scrollbar { display: none; }
.assistant-quick button { min-height: 44px; padding: 9px 13px; flex: 0 0 auto; border: 1px solid #cbd5e5; border-radius: 999px; background: #fff; color: var(--blue-dark); font-size:18px; font-weight: 800; cursor: pointer; }
.assistant-quick button:hover { border-color: var(--blue); background: #f2f5ff; }
.assistant-form { margin: 0 12px; padding: 5px 5px 5px 12px; display: flex; gap: 6px; border: 1px solid #cbd5e5; border-radius: 14px; background: #fff; }
.assistant-form:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(49,93,255,.12); }
.assistant-form input { min-width: 0; min-height: 44px; flex: 1; border: 0; outline: 0; color: var(--ink); font-size:18px; }
.assistant-form button { width: 44px; height: 44px; border: 0; border-radius: 11px; background: var(--blue); color: #fff; cursor: pointer; }
.assistant-disclaimer { margin: 8px 14px 10px; color: var(--muted); font-size:18px; text-align: center; line-height: 1.5; }
.mobile-cta { display: none; }

@media (max-width: 980px) {
  :root { --container: min(100% - 36px, 760px); }
  .header-inner { width: calc(100% - 32px); }
  .menu-button { position: relative; z-index: 102; min-height: 44px; padding: 0 12px; display: inline-flex; align-items: center; gap: 9px; border: 0; background: transparent; font-size:18px; font-weight: 800; cursor: pointer; }
  .menu-button i, .menu-button i::before, .menu-button i::after { width: 20px; height: 2px; display: block; background: var(--ink); transition: transform .25s ease, top .25s ease; }
  .menu-button i { position: relative; }
  .menu-button i::before, .menu-button i::after { content: ""; position: absolute; left: 0; }
  .menu-button i::before { top: -6px; }
  .menu-button i::after { top: 6px; }
  .menu-button[aria-expanded="true"] i { background: transparent; }
  .menu-button[aria-expanded="true"] i::before { top: 0; transform: rotate(45deg); }
  .menu-button[aria-expanded="true"] i::after { top: 0; transform: rotate(-45deg); }
  .global-nav { position: fixed; z-index: 101; inset: 0; padding: 110px 32px 32px; display: none; align-content: start; align-items: stretch; background: #fff; }
  .global-nav.is-open { display: grid; gap: 0; }
  .global-nav a { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 18px; }
  .global-nav .nav-cta { margin-top: 20px; padding: 15px 20px; border: 0; text-align: center; }
  .hero { padding-top: 70px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .impact-card { max-width: 570px; transform: none; }
  .hero-proof { margin-top: 64px; }
  .section-head-split { grid-template-columns: 1fr; align-items: start; gap: 20px; }
  .story { grid-template-columns: 1fr; }
  .story-tabs { grid-template-columns: repeat(3, 1fr); }
  .story-tab { min-height: 116px; padding: 45px 14px 14px; }
  .story-tab.is-active { transform: translateY(4px); }
  .story-tab > span { top: 17px; left: 14px; }
  .story-tab small { display: none; }
  .service-card { flex-basis: 82%; }
  .fit-grid { grid-template-columns: 1fr; }
  .fit-visual { min-height: 380px; }
  .fit-visual img { min-height: 380px; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-intro { position: static; }
  .faq-grid { grid-template-columns: 1fr; }
  .faq-intro { position: static; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  :root { --container: calc(100% - 28px); --header-h: 68px; }
  body { font-size:18px; }
  body.is-assistant-open { overflow: hidden; }
  .brand-copy small { display: none; }
  .brand-symbol { width: 34px; height: 34px; border-radius: 10px; }
  .hero { padding-top: 54px; }
  /* 2026-08-21: H1の文言変更（24字・2行）に合わせて縮小。
     .hero-line は white-space:nowrap で .hero が overflow-x:hidden のため、
     入りきらない文字は「折り返さずに切れる」。しかも箱は画面幅に収まっているので
     document.scrollWidth では検出できず、機械検査は全て通ってしまう。
     実測（Rangeの矩形）: 2行目「人が全部作っているからです」は
     29.1px で 355px。320〜430px の全幅で収めるためにこの値にした（最小余白21px）。
     ⚠️ H1の文言を長くするときは、必ず実機幅で描画幅を測ること。文字数だけでは分からない。 */
  .hero h1 { font-size: clamp(23px, 7.3vw, 34px); line-height: 1.12; }
  .hero-lead { margin-top: 24px; }
  .hero-offer { margin-top: 20px; font-size: 18px; }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 16px; }
  .button { width: 100%; min-height: 58px; }
  .text-link { justify-content: center; }
  .impact-media { height: 136px; }
  .impact-body { padding: 22px 20px 24px; }
  .impact-flow strong { font-size: clamp(32px, 10vw, 42px); }
  .impact-flow small { font-size:16px; }
  .impact-total { flex-direction: column; align-items: flex-start; gap: 2px; }
  .hero-proof { grid-template-columns: 1fr; }
  .hero-proof p { min-height: 58px; padding: 14px 6px; border-right: 0; border-bottom: 1px solid rgba(11,18,32,.14); }
  .hero-proof p:last-child { border-bottom: 0; }
  .story-section, .services-section, .process-section, .faq-section, .fit-section, .trust-section { padding: 86px 0; }
  .section-head { margin-bottom: 34px; }
  .section-head h2, .fit-copy h2, .faq-intro h2, .final-cta h2 { font-size: 38px; }
  .story { width: 100%; border-radius: 0; }
  .story-tabs { padding: 8px; gap: 3px; }
  .story-tab { min-height: 96px; padding: 38px 8px 10px; border-radius: 13px; }
  .story-tab b { font-size:18px; line-height: 1.45; }
  .story-tab > span { top: 14px; left: 9px; font-size:16px; }
  .story-stage { min-height: 530px; }
  .story-content { top: 45%; left: 8%; width: 84%; }
  .story-content h3 { font-size: 32px; }
  .story-content h3 + p { font-size:18px; }
  .story-controls { right: 14px; bottom: 13px; left: 14px; }
  .story-toggle { min-width: 44px; }
  .story-toggle b { display: none; }
  .service-track { gap: 14px; }
  .service-card { flex-basis: calc(100% - 38px); }
  .service-card { border-radius: 24px; }
  .service-card > img { height: 180px; }
  .service-body { padding: 26px 22px 28px; }
  .service-status i { width: min(24vw, 120px); }
  .service-toggle { min-width: 46px; }
  .service-toggle b { display: none; }
  .fit-grid { gap: 42px; }
  .fit-visual, .fit-visual img { min-height: 320px; }
  .fit-list b { font-size:18px; }
  .promise-list { grid-template-columns: 1fr; }
  /* .promise-list li の min-height:180px は 684行に後勝ちされ全幅で無効だったため削除 */
  .faq-list summary { padding-right: 40px; font-size:18px; }
  .final-cta { padding: 84px 0; }
  .site-footer { padding-bottom: 104px; }
  .footer-grid nav { grid-template-columns: 1fr 1fr; }
  .footer-grid nav div:last-child { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; }
  .assistant { right: 12px; bottom: 84px; }
  .assistant-launcher { min-width: 0; width: 58px; height: 58px; padding: 6px; border-radius: 19px; }
  .assistant-launcher-copy, .assistant-unread { display: none; }
  .assistant-avatar { width: 46px; height: 46px; }
  .assistant-dialog { position: fixed; inset: 8px 8px 76px; width: auto; height: auto; border-radius: 22px; }
  .mobile-cta { position: fixed; z-index: 220; right: 8px; bottom: 8px; left: 8px; min-height: 62px; padding: 7px 7px 7px 16px; display: flex; align-items: center; justify-content: space-between; gap: 10px; border: 1px solid rgba(255,255,255,.15); border-radius: 18px; background: rgba(11,18,32,.94); color: #fff; box-shadow: 0 12px 34px rgba(11,18,32,.32); backdrop-filter: blur(12px); transition: transform .25s ease, opacity .25s ease, visibility .25s ease; }
  /* visibility も落とす。opacity:0 と translateY だけだと画面外に見えてもフォーカスが入り、
     キーボード操作で「見えないボタン」に到達してしまう。 */
  .mobile-cta.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(110%); }
  .mobile-cta span { display: grid; line-height: 1.25; }
  .mobile-cta small { color: rgba(255,255,255,.62); font-size:16px; }
  .mobile-cta b { margin-top: 3px; font-size:18px; }
  .mobile-cta a { min-height: 46px; padding: 0 16px; display: grid; place-items: center; border-radius: 13px; background: var(--lime); color: var(--ink); font-size:18px; font-weight: 900; text-decoration: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

@media print {
  .site-header, .assistant, .mobile-cta { display: none !important; }
  .hero { padding-top: 40px; }
  .story-panel[hidden] { display: none !important; }
}

/* ============================================================
   V6.1: PC版の視認性（2026-08-13 しょう指摘）
   ①「無駄に文字サイズが小さいところが多い」→ 15px未満のfont-sizeを機械的に底上げ（上を参照）
      ※ 当時の記録。下限はその後 2026-08-20 に 18px（補助表示16px）へ引き上げた（後述）
   ② 「使い方をテキストで指定しなくても分かるUIに」
      → 説明文を削除し、既にあった操作UI（矢印・カウンター・進捗バー・一時停止）を見えるようにする。
        実測: 説明文14px・416×80px に対し、一時停止10px・進捗バー高さ2px だった。
        説明しているものより説明文のほうが目立っている状態を解消する。
   ============================================================ */

/* 自動送りの進捗バー。2px では動いていることに気づけない */
.story-status i{ height:4px; border-radius:2px; }
.service-status i{ height:4px; border-radius:2px; }

/* タブの補足文。不透明度0.72で本文より薄く、40〜60代には読みづらい */
.story-tab small{ opacity:.88; }

/* 操作ボタンを「押せるもの」として見せる（枠線と余白を明示） */
/* 枠線は350行で一元管理する（不透明度 .30→.34 へ変更済み）。 余白は352行の既存指定であり、今回は変更していない。 */

/* ============================================================
   V6.2: 老眼を前提にした可読性（2026-08-13 しょう指摘）
   「メインターゲットは老眼」「無駄なスペースが多すぎる」
   ① 文字は上の対応表で本文17.5px・下限15pxまで引き上げ（1回目の下限12pxでは不足だった）
      ※ 当時の記録。2026-08-20 に本文18px・補助表示16px へ再確定（しょう決定）。
        社内2文書で下限が17.5pxと15pxに割れていたのを1つにしたもの。現行の正本は
        scripts/audit_release_static.py の CSS_READ_FLOOR / CSS_AUX_FLOOR。
        このファイルを触るときは、当時の数値ではなくそちらに合わせる。
   ② 空白を詰める。実測で OUR PROMISE のカードは高さ210pxに対し中身58px＝約96pxが空白だった。
      原因は min-height:210px と、番号と本文の間の margin-top:54px。
   ============================================================ */

/* カードの高さは中身に任せる。グリッドが行単位で高さを揃えるので min-height は不要 */
.promise-list li{ min-height:0; padding:24px 26px; align-content:start; }
/* 番号と本文の間の54pxは、老眼の読者にとって視線移動が長いだけで意味がない */
.promise-list div{ margin-top:16px; }
.promise-list p{ margin-top:8px; }

/* 見出しが狭い列で4行に折れていたため、左列に幅を渡す */
@media (min-width: 981px){
  .trust-grid{ grid-template-columns:.86fr 1.14fr; gap:clamp(40px, 6vw, 84px); }
}

/* ============================================================
   V6.3: PROCESS節を縦の時系列レールへ（2026-08-13 しょう要望）
   参照: https://vdata.nikkei.com/newsgraphics/japan-airlines-flight-123/
   日経の「sticky ビジュアル＋スクロールで注釈が増える」から時系列の本体だけを取る。
   画面いっぱいの差し替えは採らない（375pxで固定要素が重なる／前段と比べられない／
   reduced-motion で二重実装になる）。既定CSSが完成状態で、JSは属性を足すだけ。
   ============================================================ */
/* ============================================================
   削除した既存ルール（同ファイル内）
     423-432行  .process-list 一式（min-height:290px / li>div{margin-top:60px} / li::after の「→」丸を含む）
       579-582行  @media (max-width:980px) の .process-list 追従
       639-644行  @media (max-width:680px) の .process-list 追従（min-height:220px / margin-top:36px）
   →  min-height と 60px 空隙は V6.2 で .promise-list について直したのと同じ空白パターン。
   ============================================================ */

/* ============================================================
   V6.3 PROCESS: 縦の時系列レール（2026-08-14）
   ・既定は「全ノード到達済み」の完成状態。JS は [data-js-rail] を足すだけ（進行的強化）
   ・本文の色・不透明度は状態で変えない。未読を薄くする改修を入れないこと（老眼配慮／先読みを妨げない）
   ・sticky は PC 左列の現在地パネルのみ。980px 以下では sticky を一切使わない
   ・図は currentColor + opacity のみ。SVG属性に var() を書かないこと（Safari で解決されず黒ベタ化する）
   ============================================================ */

.process-section { --process-figure-max: 100%; }

.process-layout { margin-top: 0; }
.process-main { position: relative; }

/* --- 現在地パネル（PC のみ・JS 有効時のみ） --- */
.process-side { display: none; }
.process-progress { margin: 0; display: flex; align-items: baseline; gap: 8px; color: var(--ink); font: 800 30px/1 "Inter", sans-serif; letter-spacing: -.04em; }
.process-progress em { color: var(--muted); font: 800 17px/1 "Inter", sans-serif; font-style: normal; letter-spacing: 0; }
.process-track { margin-top: 14px; height: 4px; overflow: hidden; border-radius: 2px; background: #ccd5e2; }
.process-track b { display: block; width: 100%; height: 100%; border-radius: 2px; background: var(--blue); transition: width .28s ease; }

/* --- レールの端点（「相談」「公開」） --- */
.process-cap { position: relative; margin: 0; padding-left: 52px; color: var(--muted); font-size: 16px; font-weight: 800; letter-spacing: .08em; line-height: 1.6; }
.process-cap::before { content: ""; position: absolute; left: 10px; top: .72em; width: 14px; height: 2px; background: var(--line); }
.process-cap-start { margin-bottom: 12px; }
.process-cap-end { margin-top: 12px; }

/* レール末尾から /method/ への文脈リンク。
   トップは唯一インデックスされている権威ページなのに、V6のナビが
   ページ内アンカー（#process 等）だけを指しているため、/method/ へ
   リンクが1本も出ていなかった。端点「公開」に続く位置に置く。 */
.process-more { margin: 18px 0 0; padding-left: 52px; color: var(--muted); font-size: 18px; line-height: 1.85; }
.process-more a { color: var(--blue); font-weight: 700; text-underline-offset: 3px; }

/* --- レール本体。既定 --rail-progress:1 ＝ JS 無効でも満線 --- */
.process-rail { --rail-progress: 1; position: relative; margin: 0; padding: 0 0 0 52px; list-style: none; }
.process-rail::before { content: ""; position: absolute; left: 16px; top: 17px; bottom: 17px; width: 2px; background: var(--line); }
.process-rail::after  { content: ""; position: absolute; left: 16px; top: 17px; width: 2px; height: calc((100% - 34px) * var(--rail-progress)); background: var(--blue); transition: height .28s ease; }

/* 写真の列を 220px 固定から比率へ。実測で写真は218x123pxしかないのに段の高さは414pxあり、
   289px（段の70%）が空白だった。高さを余白ではなく写真で作る。 */
.process-node { position: relative; padding: 0 0 60px; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 32px; align-items: start; }
.process-node:last-child { padding-bottom: 0; }

/* 1段あたりの縦距離。スクロールで進捗が動くには、段と段が画面高より離れている必要がある。
   2026-08-15 本番実測: 段の間隔が169pxしかなく、1000px高の画面では400pxのスクロール区間で
   4段すべてが画面に入り、進捗が一瞬で飽和していた。1400px高の画面では、読み取り線（画面高の45%）
   の内側に2〜3段が同時に入り、01を見ていても「02」と表示された。
   間隔を読み取り線より大きく取ることで、段が1つずつ線を越えるようになる。
   空いた分はレールの線が縦に貫くので、余白ではなく区間として見える。
   JS が動いていない／動きを減らす設定のときは進捗自体が無いので、詰めた見た目のまま。
   980px以下は進捗パネル自体を出さない（.process-side が display:none）ため、縦距離も足さない。
   指標の無い画面で縦だけ伸ばすのは、ただの余白になる。→ 981px以上の指定は下のメディアクエリ側。 */

/* 駅＝番号入りの丸。線がこの丸を貫く。未到達の枠線は #8d99ab（白地に約3.0:1） */
.process-mark { position: absolute; z-index: 1; left: -52px; top: 0; width: 34px; height: 34px; display: grid; place-items: center; border: 2px solid #8d99ab; border-radius: 50%; background: #fff; color: var(--muted); font: 800 16px/1 "Inter", sans-serif; transition: background-color .28s ease, border-color .28s ease, color .28s ease; }
.process-node.is-reached .process-mark { border-color: var(--blue); background: var(--blue); color: #fff; }
.process-node:last-child.is-reached .process-mark { border-color: var(--ink); background: var(--lime); color: var(--ink); }

.process-copy small { display: block; color: var(--blue-dark); font-size: 16px; font-weight: 800; letter-spacing: .1em; }
.process-copy h3 { margin: 8px 0 0; font-size: 22px; line-height: 1.5; }
.process-copy p { margin: 10px 0 0; color: var(--ink-soft); font-size: 18px; line-height: 1.85; }

.process-figure { max-width: var(--process-figure-max); overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; color: var(--ink); }
/* 2026-08-15: 抽象的なワイヤーフレームのSVGから写真へ差し替え。
   何を表しているか読み取れない、という指摘による。img は width/height 属性を
   持たせて縦横比を先に確定させている（読み込み中に行が飛ばない）。 */
.process-figure img { display: block; width: 100%; height: auto; }
.process-symbols { position: absolute; width: 0; height: 0; overflow: hidden; }

@media (min-width: 981px) {
  /* 既定は1列。サイドパネルは display:none なので、2列固定にすると
     本文が200pxの第1カラムへ落ちて1行1文字まで潰れる（実測で発生）。
     JSが [data-js-rail] を付けたときだけ2列にする。 */
  .process-layout { display: block; }
  [data-js-rail] .process-layout { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: clamp(32px, 4vw, 56px); align-items: start; }
  [data-js-rail] .process-side { display: block; position: sticky; top: calc(var(--header-h) + 32px); }
  /* min-height は使わない。写真を大きくしたことで段の高さは中身から決まる。
     カウンタが正しく動く条件は「段の間隔 > 画面高の0.15倍」（読み取り線45% − 閲覧位置30%）。
     写真主導の段の高さで、1400px高の画面でも余裕をもって満たす。 */
}

@media (max-width: 980px) {
  .process-side { display: none !important; }
  .process-node { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 24px; }
}

@media (max-width: 680px) {
  .process-rail { padding-left: 36px; }
  .process-rail::before, .process-rail::after { left: 14px; }
  .process-cap { padding-left: 36px; }
  .process-cap::before { left: 8px; }
  .process-more { padding-left: 36px; }
  .process-mark { left: -36px; width: 30px; height: 30px; }
  .process-node { grid-template-columns: 1fr; gap: 16px; padding-bottom: 34px; }
  .process-copy h3 { font-size: 21px; }
  .process-copy p { font-size: 18px; }
}

/* 動きを止めたら「全部到達済みの静止画」にする。JS が書くインライン style より強くする */
@media (prefers-reduced-motion: reduce) {
  .process-rail { --rail-progress: 1 !important; }
  .process-mark { border-color: var(--blue) !important; background: var(--blue) !important; color: #fff !important; }
  .process-node:last-child .process-mark { border-color: var(--ink) !important; background: var(--lime) !important; color: var(--ink) !important; }
  .process-side { display: none !important; }
}
/* V6.4: JS無効時にノードの丸が点灯しない問題（2026-08-14 けい検出）
   既定が「未到達」のグレーで、点灯は is-reached 頼み。しかしこのクラスはJSしか付けない。
   「既定＝完成状態」という設計と食い違っていた。既定を点灯にし、
   JSが動いているときだけ未到達を消灯する向きへ反転させる。
   あわせて未到達の枠色を #8d99ab（白地2.89:1）から #5b6880（同5.0:1）へ上げる。 */
.process-mark{ border-color:var(--blue); background:var(--blue); color:#fff; }
.process-node:last-child .process-mark{ border-color:var(--ink); background:var(--lime); color:var(--ink); }
/* いま読んでいる段。4段が同時に画面へ入る大きい画面でも現在地が分かるようにする。
   到達済みの青丸に対し、輪郭を足すだけで色は変えない（点灯／消灯の意味を壊さないため）。 */
[data-js-rail] .process-node.is-current .process-mark{
  box-shadow: 0 0 0 5px rgba(37,99,235,.20);
}
[data-js-rail] .process-node:not(.is-reached) .process-mark{
  border-color:#5b6880; background:#fff; color:#5b6880;
}

/* ---------------------------------------------------------------------------
   安さの根拠（2026-08-19）。第一画面の直下。
   しょうの決定「うちが安く提供できる根拠を目立つところに配置したい」への実装。

   書いてよいのは「今日その場で確かめられること」だけ、という制約を持たせている。
   制作工数の実測も、実例の公開後の成果も、現時点で計測データが1件も無い
   （2026-08-19 実測で確認）。だから「効果的」「実績豊富」は書いていない。
   数字が取れたら .reason-honest の段落を実数へ差し替える。
   --------------------------------------------------------------------------- */
.reason-section { padding: 88px 0; background: var(--mist); }

.reason-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  margin-top: 8px;
}
@media (max-width: 860px) { .reason-grid { grid-template-columns: 1fr; gap: 20px; } }

.reason-item {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper);
}
.reason-no {
  margin: 0 0 10px;
  color: var(--blue-dark);
  font: 800 16px/1 "Inter", "Noto Sans JP", sans-serif;
  letter-spacing: .12em;
}
.reason-item h3 { margin: 0 0 12px; font-size: 20px; line-height: 1.5; }
.reason-item p { margin: 0; color: var(--ink-soft); font-size: 18px; line-height: 1.85; }
.reason-item p + p { margin-top: 12px; }
/* 実測値の行。色は落としても大きさは落とさない。
   ここを注記サイズ(16px)にすると、根拠ブロックで唯一検証できる数字が
   いちばん読みにくい文字になり、節の意図が反転する（.reason-honest と同じ規律）。 */
.reason-note { color: var(--muted) !important; font-size: 18px !important; }

/* 「まだ書けないこと」を隠さず同じ節に置く。装飾で目立たせず、本文と同じ大きさで読ませる */
.reason-honest {
  margin: 28px 0 0;
  padding: 24px 28px;
  border-left: 3px solid var(--line);
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.85;
}

/* ---------------------------------------------------------------------------
   たたき台までの日数（2026-08-19）。根拠ブロックの直後。

   「過去の実績」ではなく「これから守る約束」として書いた節。
   実績2件・計測データ0件で平均を出せないため、実績のない事業者が数字を
   出せる唯一の形として約束の形をとっている。

   .draft-honest（実績が2件しかないと自分から書く段落）を小さくしない。
   ここを注記サイズに落とすと「隠している」に読まれ、節の意図が反転する。
   本文と同じ大きさ（2026-08-20 に確定した18px）を維持すること。
   --------------------------------------------------------------------------- */
.draft-section { padding: 88px 0; background: var(--cream); }
.draft-inner { max-width: 760px; }
.draft-section h2 { margin: 0 0 20px; font-size: clamp(28px, 3vw, 40px); line-height: 1.4; letter-spacing: -.03em; }
.draft-lead { margin: 0 0 24px; font-size: 19px; line-height: 1.9; color: var(--ink); }

.draft-points { margin: 0 0 24px; padding: 0; list-style: none; }
.draft-points li {
  position: relative;
  padding: 16px 0 16px 30px;
  border-top: 1px solid var(--line);
  font-size: 18px;
  line-height: 1.85;
  color: var(--ink-soft);
}
.draft-points li:last-child { border-bottom: 1px solid var(--line); }
.draft-points li::before {
  content: "";
  position: absolute;
  left: 4px; top: 27px;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--blue);
}
.draft-points strong { color: var(--ink); font-weight: 800; }

.draft-honest {
  margin: 0 0 28px;
  font-size: 18px;   /* 注記サイズに落とさない。上のコメント参照 */
  line-height: 1.85;
  color: var(--ink-soft);
}
