/* ==========================================================================
   人文コンサルティング — site stylesheet
   Values are transcribed 1:1 from the Claude Design prototype
   (「人文コンサル トップページ.dc.html」/「ご支援の流れ.dc.html」).
   The desktop layout below ≥1368px is the design as drawn.
   A responsive layer, which the prototype does not have, is at the very
   bottom of this file and is marked so it can be deleted in one block.
   ========================================================================== */

/* --- tokens ------------------------------------------------------------- */
:root {
  --f-head: "Zen Old Mincho", "Noto Serif JP", serif;
  --f-body: "Noto Sans JP", sans-serif;
  --ink: #24211c;
  --ink-2: #5d564c;
  --ink-3: #8a8175;
  --ground: #f7f3ec;
  --paper: #ffffff;
  --rule: #ded6c8;
  --accent: #b2622d;
  --sage: #56633f;
  --dark: #24211c;
  --teal: #1f9595;          /* second heading voice used across the design */
  --sand: #c9915f;          /* accent on the dark bands */
  --dark-rule: #4a443a;
  --dark-ink-2: #cdc5b7;
  --dark-ink-3: #9a927f;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(46, 43, 37, 0.14);
}

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

body {
  margin: 0;
  background: var(--ground);
  font-family: var(--f-body);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
::selection { background: rgba(178, 98, 45, 0.22); }

.page { min-width: 1368px; }
.wrap { max-width: 1240px; margin: 0 auto; }
.stack { display: flex; flex-direction: column; }

/* Section kicker — "01 ── Problem" */
.kicker { font-size: 12px; letter-spacing: 0.2em; color: var(--accent); }
.kicker-on-dark { color: var(--sand); }

/* Section heading */
.h-sec {
  margin: 0;
  font-family: var(--f-head);
  font-weight: 500;
  font-size: 38px;
  line-height: 1.6;
}

/* --- header ------------------------------------------------------------- */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 22px 64px;
  background: rgba(247, 243, 236, 0.94);
  border-bottom: 1px solid var(--rule);
}
.site-header a,
.site-header span { white-space: nowrap; flex-shrink: 0; }

.brand { display: flex; flex-direction: column; gap: 3px; }
.brand-name { font-family: var(--f-head); font-size: 25px; letter-spacing: 0.08em; }
.brand-sub { font-size: 13px; letter-spacing: 0.14em; color: var(--ink-3); }

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 14px;
  color: var(--ink-2);
}
.site-nav a { font-size: 16px; }
.site-nav a[aria-current="page"] { color: var(--accent); }
.nav-cta {
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 11px 22px;
  font-size: 17px;
  color: #2e2b25;
  width: 175px;
  height: 55px;
}
.nav-cta:hover { background: var(--ink); color: var(--ground); }

/* --- hero --------------------------------------------------------------- */
.hero {
  position: relative;
  height: calc(100vh - 89px);
  min-height: 720px;
  overflow: hidden;
  background: var(--dark);
}
.hero-media { position: absolute; inset: 0; }
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.86) contrast(0.96) brightness(0.82);
  transform-origin: 58% 46%;
  animation: heroSlowZoom 26s ease-out forwards;
}
@keyframes heroSlowZoom {
  from { transform: scale(1); }
  to   { transform: scale(1.14); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-media img { animation: none; }
}

.hero-copy {
  position: absolute;
  left: 150px;
  width: 1256px;
  max-width: 1240px;
  height: 1063px;
  margin: 0 auto;
  padding: 0 64px 0 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 38px;
  color: #f7f3ec;
  transform: translateY(-113px);
}
.hero-kicker { display: flex; align-items: center; gap: 22px; }
.hero-kicker .line {
  width: 64px;
  height: 1px;
  background: rgba(247, 243, 236, 0.55);
}
.hero-kicker .text {
  font-family: var(--f-head);
  font-size: 20px;
  letter-spacing: 0.14em;
  color: #e8dcc9;
}
.hero-title {
  margin: 0;
  font-family: var(--f-head);
  font-weight: 500;
  font-size: 60px;
  line-height: 1.6;
  letter-spacing: 0.03em;
  max-width: 17em;
  text-wrap: pretty;
  width: 717px;
  height: 166px;
}
.hero-title .t {
  display: block;
  margin: 0 0 13.2px;
  font-size: 60.7658px;
  line-height: 1.4;
  letter-spacing: 0;
  font-weight: 700;
  color: #ffffff;
}
.hero-lead { font-size: 17px; width: 489px; height: 110px; }
.hero-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 8px;
}
.hero-scroll {
  position: absolute;
  right: 64px;
  bottom: 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: rgba(247, 243, 236, 0.7);
}
.hero-scroll .label {
  font-size: 11px;
  letter-spacing: 0.2em;
  writing-mode: vertical-rl;
}
.hero-scroll .bar {
  width: 1px;
  height: 56px;
  background: rgba(247, 243, 236, 0.45);
}

/* --- buttons ------------------------------------------------------------ */
.btn {
  display: inline-block;
  border-radius: 999px;
  white-space: nowrap;
  transition: opacity 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}
.btn:hover { opacity: 0.86; color: inherit; }
.btn-light { background: #f7f3ec; color: var(--dark); }
.btn-light:hover { color: var(--dark); }
.btn-dark { background: var(--dark); color: #f7f3ec; }
.btn-dark:hover { color: #f7f3ec; }
.btn-hero { padding: 19px 40px; font-size: 20px; }
.btn-md { padding: 18px 38px; font-size: 16px; }
.btn-sm { padding: 18px 36px; font-size: 15px; width: fit-content; }

/* --- generic section shells --------------------------------------------- */
.section { padding: 110px 64px; }
.section-paper {
  background: var(--paper);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.section-head { display: flex; flex-direction: column; gap: 20px; }
.section-head-40 { max-width: 40em; }
.section-head-44 { max-width: 44em; }
.lede {
  margin: 0;
  font-size: 16px;
  line-height: 2.1;
  color: var(--ink-2);
  text-wrap: pretty;
}

/* A hairline grid: 1px gaps over the rule colour read as shared borders. */
.rule-grid {
  display: grid;
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}
.rule-stack {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}

/* --- 01 Problem --------------------------------------------------------- */
#symptom .wrap { display: flex; flex-direction: column; gap: 56px; }
#symptom .h-sec { width: 832px; height: 72px; color: #24211c; }

.symptom-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.symptom-card {
  background: var(--paper);
  padding: 44px 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.symptom-card .tick { width: 26px; height: 1px; background: var(--accent); }
.symptom-card p {
  margin: 0;
  font-family: var(--f-head);
  font-size: 21px;
  line-height: 1.9;
}

.turning-point {
  border: 1px solid var(--rule);
  padding: 52px 56px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  background: var(--paper);
}
.turning-point h3 {
  margin: 0;
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 26px;
  color: var(--teal);
}
.turning-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 56px;
  font-size: 16px;
  color: var(--ink-2);
}
.turning-list label { display: flex; gap: 14px; align-items: flex-start; cursor: pointer; }
.turning-list input {
  margin-top: 7px;
  accent-color: #b2622d;
  width: 16px;
  height: 16px;
  flex: none;
}

/* --- 02 Evidence -------------------------------------------------------- */
#cause .wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.cause-copy { display: flex; flex-direction: column; gap: 30px; }
.cause-h1 {
  margin: 0;
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 32px;
  line-height: 1.6;
  color: #24211c;
}
.cause-h2 {
  margin: 0;
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 32px;
  line-height: 1.6;
  letter-spacing: -0.48px;
  color: var(--teal);
}
.shift-row {
  background: var(--paper);
  padding: 26px 30px;
  display: flex;
  gap: 24px;
  align-items: baseline;
}
.shift-row .when {
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--ink-3);
  min-width: 86px;
  flex: none;
}
.shift-row.is-now .when { color: var(--accent); }
.shift-row .what { font-size: 15px; color: var(--ink-2); }
.shift-row.is-now .what { color: var(--ink); }

.cause-figure { display: flex; flex-direction: column; gap: 22px; }
.cause-figure .frame {
  overflow: hidden;
  border: 1px solid var(--rule);
  background: var(--paper);
}
.cause-figure .frame img { width: 100%; height: auto; }
.figcaption {
  margin: 0;
  font-size: 13px;
  color: var(--ink-3);
  text-align: center;
}

/* --- 03 Approach -------------------------------------------------------- */
#about .wrap { display: flex; flex-direction: column; gap: 64px; }
.about-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 80px;
  align-items: start;
}
.about-copy { display: flex; flex-direction: column; gap: 28px; }
.about-figure {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--rule);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  width: 523px;
  height: 523px;
}
.about-figure img {
  width: 100%;
  height: auto;
  filter: saturate(0.9) contrast(0.97);
}

.band-dark {
  background: var(--dark);
  color: #f7f3ec;
  padding: 72px 64px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 72px;
  align-items: center;
}
.band-dark .copy { display: flex; flex-direction: column; gap: 26px; }
.band-dark .eyebrow { font-size: 23px; letter-spacing: 0.2em; color: var(--sand); }
.band-dark h3 {
  margin: 0;
  font-family: var(--f-head);
  font-weight: 500;
  font-size: 30px;
  line-height: 1.65;
}
.band-dark p {
  margin: 0;
  font-size: 16px;
  line-height: 2.1;
  color: var(--dark-ink-2);
  text-wrap: pretty;
}

.cascade { display: flex; flex-direction: column; gap: 14px; }
.cascade-step {
  border: 1px solid var(--dark-rule);
  padding: 22px 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.cascade-step .who { font-family: var(--f-head); }
.cascade-step:nth-of-type(1) .who { font-size: 30px; color: var(--teal); }
.cascade-step:nth-of-type(2) .who { font-size: 25px; }
.cascade-step:nth-of-type(3) .who { font-size: 22px; }
.cascade-step .what { font-size: 18px; color: var(--dark-ink-3); }
.cascade-arrow { text-align: center; color: #7d7565; font-size: 14px; }

/* --- CTA band ----------------------------------------------------------- */
.cta-band { padding: 64px; }
.cta-band .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
}
.btn-row { display: flex; gap: 16px; flex-wrap: wrap; }
.cta-band p {
  margin: 0;
  font-family: var(--f-head);
  font-size: 26px;
  line-height: 1.7;
}

/* --- 04 Impact ---------------------------------------------------------- */
#impact .wrap { display: flex; flex-direction: column; gap: 56px; }
.impact-grid { grid-template-columns: 1fr 1fr; }
.impact-cell {
  background: var(--ground);
  padding: 48px 44px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.impact-cell .num {
  font-family: var(--f-head);
  font-size: 14px;
  color: var(--accent);
  letter-spacing: 0.14em;
}
.impact-cell h3 {
  margin: 0;
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 25px;
  color: var(--teal);
}
.impact-cell .body { font-size: 15px; line-height: 2; color: var(--ink-2); }

/* --- 05 Process --------------------------------------------------------- */
#process .wrap { display: flex; flex-direction: column; gap: 52px; }
.process-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 48px;
  flex-wrap: wrap;
}
.process-head .lede { width: 661px; }
.process-figure {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.process-figure img {
  width: 100%;
  height: auto;
  filter: saturate(0.9) contrast(0.97);
}

.steps { display: flex; flex-direction: column; }
.step {
  display: grid;
  grid-template-columns: 88px 1fr 100px;
  gap: 32px;
  padding: 24px 8px;
  border-top: 1px solid var(--rule);
  align-items: baseline;
}
.step:last-child { border-bottom: 1px solid var(--rule); }
.step .no { font-family: var(--f-head); font-size: 15px; color: var(--accent); }
.step .body { display: flex; flex-direction: column; gap: 8px; }
.step .title { font-family: var(--f-head); font-size: 21px; }
.step .detail { font-size: 14px; color: var(--ink-2); }
.step .week { font-size: 13px; color: var(--ink-3); text-align: right; }

/* --- 06 Outcome --------------------------------------------------------- */
#outcome .wrap { display: flex; flex-direction: column; gap: 56px; }
#outcome .h-sec { width: 864px; }
.outcome-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.outcome-item { display: flex; flex-direction: column; gap: 20px; }
.outcome-item h3 {
  margin: 0;
  font-family: var(--f-head);
  font-weight: 500;
  font-size: 23px;
}
.outcome-item p {
  margin: 0;
  font-size: 15px;
  line-height: 2;
  color: var(--ink-2);
}
.zoomable {
  position: relative;
  height: 270px;
  background: var(--paper);
  border: 1px solid var(--rule);
  overflow: hidden;
  padding: 0;
  cursor: zoom-in;
  display: block;
  width: 100%;
}
.zoomable img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.zoomable .badge {
  position: absolute;
  right: 12px;
  bottom: 12px;
  background: rgba(36, 33, 28, 0.82);
  color: #f7f3ec;
  border-radius: 999px;
  padding: 7px 16px;
  font-size: 12px;
  letter-spacing: 0.08em;
  font-family: var(--f-body);
}

/* --- 07 Effect ---------------------------------------------------------- */
#effect { border-top: 1px solid var(--rule); }
#effect .wrap { display: flex; flex-direction: column; gap: 56px; }
.ba-table { border: 1px solid var(--rule); background: var(--paper); }
.ba-grid { display: grid; grid-template-columns: 170px 1fr 1fr; }
.ba-grid > * { border-bottom: 1px solid var(--rule); }
.ba-grid > .last-row { border-bottom: 0; }
.ba-head {
  padding: 22px 28px;
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--ink-3);
}
.ba-head.is-after { color: var(--accent); }
.ba-area { padding: 26px 28px; font-family: var(--f-head); font-size: 19px; }
.ba-before { padding: 26px 28px; font-size: 15px; color: var(--ink-2); line-height: 1.9; }
.ba-after { padding: 26px 28px; font-size: 15px; line-height: 1.9; }

/* --- 08 Consultant ------------------------------------------------------ */
#consultant .wrap {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 72px;
  align-items: start;
}
.portrait-col { display: flex; flex-direction: column; gap: 20px; }
.portrait {
  width: 364px;
  height: 383px;
  overflow: hidden;
  filter: saturate(0.82) contrast(0.94);
}
.portrait img {
  width: 402px;
  height: 369px;
  object-fit: cover;
  object-position: center 22%;
}
.portrait-name { display: flex; flex-direction: column; gap: 6px; }
.portrait-name .name { font-family: var(--f-head); font-size: 35px; }
.portrait-name .role { font-size: 22px; color: var(--ink-3); }

.consultant-copy { display: flex; flex-direction: column; gap: 30px; }
.consultant-copy h2 {
  margin: 0;
  font-family: var(--f-head);
  font-weight: 500;
  font-size: 34px;
  line-height: 1.65;
  letter-spacing: -0.015em;
  width: 729px;
}
.bio { font-size: 16px; line-height: 2.1; color: var(--ink-2); text-wrap: pretty; }
.bio > div { max-width: 695px; }

/* --- 09 Price ----------------------------------------------------------- */
#price { background: var(--dark); color: #f7f3ec; }
#price .wrap { display: flex; flex-direction: column; gap: 56px; }
.price-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: start;
}
.price-card {
  border: 1px solid var(--dark-rule);
  padding: 52px 48px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.price-card .head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.price-card .plan { font-family: var(--f-head); font-size: 24px; }
.price-card .slots {
  border: 1px solid var(--sand);
  color: var(--sand);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 13px;
  white-space: nowrap;
  flex-shrink: 0;
}
.price-figure { display: flex; align-items: baseline; gap: 12px; }
.price-figure .num { font-family: var(--f-head); font-size: 56px; line-height: 1; }
.price-figure .unit { font-family: var(--f-head); font-size: 22px; }
.price-includes {
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 15px;
  color: var(--dark-ink-2);
  line-height: 1.9;
}
.price-notes { display: flex; flex-direction: column; gap: 24px; }
.price-notes .lede { color: var(--dark-ink-2); }
.compare { border-top: 1px solid var(--dark-rule); }
.compare-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr 1fr 1fr;
  font-size: 13px;
}
.compare-grid > * { padding: 16px 12px; border-bottom: 1px solid var(--dark-rule); }
.compare-grid > .lead-col { padding-left: 0; padding-right: 12px; }
.compare-grid > .is-head { color: var(--dark-ink-3); }
.compare-grid > .is-ours { border-bottom-color: var(--sand); color: var(--sand); }
.compare-grid > .val { color: var(--dark-ink-2); }
.compare-grid > .last-row { border-bottom: 0; }
.price-footnote { margin: 0; font-size: 13px; color: var(--dark-ink-3); }

/* --- 10 FAQ ------------------------------------------------------------- */
#faq .wrap { max-width: 1000px; display: flex; flex-direction: column; gap: 48px; }
.faq-list { display: flex; flex-direction: column; }
.faq-item { border-top: 1px solid var(--rule); padding: 28px 4px; }
.faq-item:last-child { border-bottom: 1px solid var(--rule); }
.faq-item > summary {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  font-family: var(--f-head);
  font-size: 20px;
  list-style: none;
  cursor: pointer;
}
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary:hover { color: var(--accent); }
.faq-item > summary .mark {
  color: var(--accent);
  font-size: 16px;
  flex: none;
}
.faq-item p {
  margin: 20px 0 0;
  font-size: 15px;
  line-height: 2.1;
  color: var(--ink-2);
}

/* --- 11 Contact --------------------------------------------------------- */
#contact { background: var(--paper); border-top: 1px solid var(--rule); }
#contact .wrap { display: flex; flex-direction: column; gap: 56px; }
#contact .h-sec { width: 804px; }
#contact .btn-dark {
  align-self: flex-start;
  padding: 18px 38px;
  font-size: 15px;
  width: 254px;
  height: 67px;
}
.contact-steps { grid-template-columns: repeat(3, 1fr); }
.contact-step {
  background: var(--paper);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact-step .num {
  font-family: var(--f-head);
  font-size: 14px;
  color: var(--accent);
  letter-spacing: 0.14em;
}
.contact-step .title { font-family: var(--f-head); font-size: 22px; }
.contact-step .desc { font-size: 15px; line-height: 2; color: var(--ink-2); }

/* --- lightbox ----------------------------------------------------------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(20, 18, 15, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px;
  cursor: zoom-out;
}
.lightbox[hidden] { display: none; }
.lightbox img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
}
.lightbox-close {
  position: fixed;
  top: 28px;
  right: 32px;
  background: transparent;
  border: 1px solid rgba(247, 243, 236, 0.5);
  color: #f7f3ec;
  border-radius: 999px;
  width: 44px;
  height: 44px;
  font-size: 18px;
  cursor: pointer;
  line-height: 1;
}
.lightbox-close:hover { background: rgba(247, 243, 236, 0.12); }

/* --- footer ------------------------------------------------------------- */
.site-footer {
  padding: 72px 64px 56px;
  background: var(--ground);
  border-top: 1px solid var(--rule);
}
.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  gap: 64px;
  flex-wrap: wrap;
}
.footer-brand { display: flex; flex-direction: column; gap: 12px; }
.footer-brand .name { font-family: var(--f-head); font-size: 20px; letter-spacing: 0.08em; }
.footer-brand .company { font-size: 14px; color: var(--ink-2); }
.footer-brand .blurb { font-size: 13px; color: var(--ink-3); }
.footer-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(140px, auto));
  gap: 56px;
  font-size: 14px;
  color: var(--ink-2);
}
.footer-nav .col { display: flex; flex-direction: column; gap: 12px; }
.footer-nav .label { font-size: 12px; letter-spacing: 0.14em; color: var(--ink-3); }
.footer-links { display: flex; gap: 56px; font-size: 14px; color: var(--ink-2); flex-wrap: wrap; }
.copyright {
  max-width: 1240px;
  margin: 56px auto 0;
  font-size: 12px;
  color: var(--ink-3);
}

/* ==========================================================================
   ご支援の流れ (process.html)
   ========================================================================== */
.flow-hero { padding: 88px 64px 72px; }
.flow-hero .wrap { display: flex; flex-direction: column; gap: 40px; }
.breadcrumb { display: flex; gap: 14px; font-size: 13px; color: var(--ink-3); }
.flow-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 72px;
  align-items: end;
}
.flow-hero-copy { display: flex; flex-direction: column; gap: 26px; }
.flow-hero h1 {
  margin: 0;
  font-family: var(--f-head);
  font-weight: 500;
  font-size: 46px;
  line-height: 1.55;
  letter-spacing: 0.02em;
  text-wrap: pretty;
}
.flow-hero .lede { font-size: 17px; line-height: 2.05; max-width: 36em; }
.facts .fact {
  background: var(--ground);
  padding: 24px 28px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
}
.facts .fact .k { font-size: 13px; color: var(--ink-3); flex: none; }
.facts .fact .v { font-family: var(--f-head); font-size: 20px; text-align: right; }

.phases-section {
  padding: 64px;
  background: var(--paper);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.phases-section .wrap { display: flex; flex-direction: column; gap: 32px; }
.phases-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 32px;
}
.phases-head h2 {
  margin: 0;
  font-family: var(--f-head);
  font-weight: 500;
  font-size: 26px;
}
.phases-head .note { font-size: 13px; color: var(--ink-3); }
.phases { grid-template-columns: repeat(6, 1fr); }
.phase {
  background: var(--paper);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.phase:hover { background: var(--ground); color: var(--ink); }
.phase .no { font-size: 12px; letter-spacing: 0.12em; color: var(--accent); }
.phase .name { font-family: var(--f-head); font-size: 21px; }
.phase .when { font-size: 12px; color: var(--ink-3); }

.flow-steps { padding: 96px 64px; }
.flow-steps .wrap { display: flex; flex-direction: column; gap: 80px; }
.flow-step {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 56px;
  padding-top: 44px;
  border-top: 1px solid var(--rule);
  scroll-margin-top: 32px;
}
.flow-step:last-child { border-bottom: 1px solid var(--rule); padding-bottom: 44px; }
.flow-step .marker { display: flex; flex-direction: column; gap: 12px; }
.flow-step .no {
  font-family: var(--f-head);
  font-size: 15px;
  color: var(--accent);
  letter-spacing: 0.12em;
}
.flow-step .title { font-family: var(--f-head); font-size: 32px; line-height: 1.4; }
.flow-step .meta { font-size: 13px; color: var(--ink-3); }
.flow-step .body { display: flex; flex-direction: column; gap: 28px; }
.flow-step .body > p:first-child {
  margin: 0;
  font-size: 17px;
  line-height: 2.05;
  text-wrap: pretty;
}
.flow-cols { grid-template-columns: 1fr 1fr; }
.flow-col {
  background: var(--ground);
  padding: 30px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.flow-col .k { font-size: 12px; letter-spacing: 0.14em; color: var(--ink-3); }
.flow-col.is-output .k { color: var(--accent); }
.flow-col .v { font-size: 15px; line-height: 2; }
.flow-step .prep { margin: 0; font-size: 14px; color: var(--ink-3); }

.notes-section {
  padding: 96px 64px;
  background: var(--paper);
  border-top: 1px solid var(--rule);
}
.notes-section .wrap { display: flex; flex-direction: column; gap: 48px; }
.notes-section h2 {
  margin: 0;
  font-family: var(--f-head);
  font-weight: 500;
  font-size: 32px;
  line-height: 1.6;
}
.notes { grid-template-columns: repeat(2, 1fr); }
.note-card {
  background: var(--paper);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.note-card .title { font-family: var(--f-head); font-size: 21px; }
.note-card .desc { font-size: 15px; line-height: 2; color: var(--ink-2); }

.flow-cta {
  background: var(--dark);
  color: #f7f3ec;
  padding: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 56px;
  flex-wrap: wrap;
}
.flow-cta h3 {
  margin: 0;
  font-family: var(--f-head);
  font-weight: 500;
  font-size: 30px;
  line-height: 1.6;
}
.flow-cta p { margin: 0; font-size: 15px; line-height: 2; color: var(--dark-ink-2); }
.flow-cta .copy { display: flex; flex-direction: column; gap: 16px; }

/* ==========================================================================
   RESPONSIVE LAYER — not part of the original prototype.
   The design is drawn desktop-only (min-width 1368px). Everything below only
   applies under 1368px, so the desktop rendering above is untouched.
   Delete this whole block to ship the fixed-width desktop page verbatim.
   ========================================================================== */
@media (max-width: 1367px) {
  .page { min-width: 0; }
  .wrap { max-width: 100%; }
  .section, .flow-steps, .notes-section { padding: 72px 40px; }
  .cta-band, .phases-section { padding: 48px 40px; }
  .flow-hero { padding: 56px 40px 48px; }
  .site-header { padding: 18px 32px; gap: 24px; }
  .site-nav { gap: 20px; }
  .site-nav a { font-size: 14px; }
  .nav-cta { width: auto; height: auto; padding: 10px 18px; font-size: 14px; }

  .hero-copy {
    /* stays positioned so it keeps painting above the absolute .hero-media */
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 100%;
    height: 100%;
    left: auto;
    transform: none;
    padding: 0 40px;
    gap: 28px;
  }
  .hero-title { width: auto; height: auto; font-size: 44px; }
  .hero-title .t { font-size: 44px; }
  .hero-lead { width: auto; height: auto; font-size: 16px; }
  .hero-scroll { display: none; }

  #symptom .h-sec, #outcome .h-sec, #contact .h-sec,
  .consultant-copy h2, .process-head .lede { width: auto; height: auto; }
  .about-figure { width: auto; height: auto; }
  .portrait { width: 100%; height: auto; aspect-ratio: 364 / 383; }
  .portrait img { width: 110%; height: 100%; }
  .bio > div { max-width: none; }
}

@media (max-width: 1000px) {
  .h-sec { font-size: 30px; }
  #cause .wrap, .about-grid, .band-dark, #consultant .wrap,
  .price-grid, .flow-hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .symptom-cards, .outcome-grid, .contact-steps, .impact-grid,
  .phases, .notes { grid-template-columns: 1fr; }
  .flow-step { grid-template-columns: 1fr; gap: 24px; }
  .turning-list, .flow-cols { grid-template-columns: 1fr; }
  .step { grid-template-columns: 72px 1fr; }
  .step .week { grid-column: 2; text-align: left; }
  .ba-grid, .compare-grid { grid-template-columns: 1fr; }
  .ba-grid > *, .compare-grid > * { border-bottom: 1px solid var(--rule); }
  .compare-grid > * { border-bottom-color: var(--dark-rule); }
  .ba-head { display: none; }
  .ba-before::before { content: "BEFORE — "; color: var(--ink-3); font-size: 12px; letter-spacing: 0.12em; }
  .ba-after::before { content: "AFTER — "; color: var(--accent); font-size: 12px; letter-spacing: 0.12em; }
  .compare-grid > .lead-col { padding-left: 12px; font-weight: 700; }
  .turning-point, .price-card { padding: 32px 28px; }
  .impact-cell, .symptom-card, .contact-step, .note-card { padding: 32px 28px; }
  .band-dark, .flow-cta { padding: 40px 28px; }
}

@media (max-width: 640px) {
  .section, .flow-steps, .notes-section { padding: 56px 20px; }
  .cta-band, .phases-section { padding: 36px 20px; }
  .flow-hero { padding: 40px 20px; }
  .site-header { flex-wrap: wrap; padding: 14px 20px; }
  .site-nav { flex-wrap: wrap; gap: 14px; row-gap: 10px; }
  .site-footer { padding: 48px 20px 40px; }
  .hero { height: auto; min-height: 0; padding: 120px 0 96px; }
  .hero-copy { padding: 0 20px; }
  .hero-title, .hero-title .t { font-size: 32px; }
  .flow-hero h1 { font-size: 32px; }
  .h-sec { font-size: 26px; }
  .flow-step .title { font-size: 26px; }
  .price-figure .num { font-size: 44px; }
  .footer-nav { grid-template-columns: 1fr; gap: 32px; }
}

/* ==========================================================================
   SCROLL REVEAL — フェードイン／スライドイン
   セクション・図版・テキストが、スクロールに合わせて静かに立ち上がります。
   デザイン方針（Q9「派手な演出はNG」）に合わせ、移動量は 22〜26px、
   0.85秒のイージングに抑えています。

   隠れた状態は <html class="has-reveal"> が付いているときだけ適用されます。
   このクラスは head 内の小さなインラインスクリプトが付けるため、
   初回描画の時点から効き、ちらつきません。JavaScript が動かない環境や
   OSで「視差効果を減らす」を有効にしている場合はクラスが付かず、
   すべて通常表示になります。
   ========================================================================== */

:root {
  --rv-x-left: -26px;   /* 左カラムのテキストは左から */
  --rv-x-right: 26px;   /* 右カラムの図版は右から */
  --rv-y-side: 0px;
}
/* 1カラムに畳まれる幅では左右の動きをやめ、他と同じ「下から」に統一
   （狭い画面で横方向にはみ出さないようにするため） */
@media (max-width: 1000px) {
  :root { --rv-x-left: 0px; --rv-x-right: 0px; --rv-y-side: 22px; }
}

/* — 下から立ち上がる（既定） — */
.has-reveal :is(
  .hero-kicker, .hero-title, .hero-lead, .hero-actions, .hero-scroll,
  .section-head > *, .phases-head > *, .breadcrumb,
  .symptom-card, .turning-point,
  .impact-cell, .outcome-item, .contact-step, .note-card, .phase,
  .step, .faq-item, .flow-step,
  .ba-table, .process-figure,
  .cta-band .wrap > *, .flow-cta,
  .site-footer .wrap > *, .copyright
) { --rv-x: 0px; --rv-y: 22px; }

/* — 左から（左カラムのテキスト） — */
.has-reveal :is(
  .cause-copy > *, .about-copy > *, .band-dark .copy > *,
  .portrait-col > *, .price-card, .flow-hero-copy > *
) { --rv-x: var(--rv-x-left); --rv-y: var(--rv-y-side); }

/* — 右から（右カラムの図版・パネル） — */
.has-reveal :is(
  .cause-figure, .about-figure, .cascade > *,
  .consultant-copy > *, .price-notes > *, .facts
) { --rv-x: var(--rv-x-right); --rv-y: var(--rv-y-side); }

/* 上の3つに該当する要素すべてに、隠れた状態を与える */
.has-reveal :is(
  .hero-kicker, .hero-title, .hero-lead, .hero-actions, .hero-scroll,
  .section-head > *, .phases-head > *, .breadcrumb,
  .symptom-card, .turning-point,
  .impact-cell, .outcome-item, .contact-step, .note-card, .phase,
  .step, .faq-item, .flow-step,
  .ba-table, .process-figure,
  .cta-band .wrap > *, .flow-cta,
  .site-footer .wrap > *, .copyright,
  .cause-copy > *, .about-copy > *, .band-dark .copy > *,
  .portrait-col > *, .price-card, .flow-hero-copy > *,
  .cause-figure, .about-figure, .cascade > *,
  .consultant-copy > *, .price-notes > *, .facts
) {
  opacity: 0;
  transform: translate(var(--rv-x, 0px), var(--rv-y, 22px));
}

/* JS が data-rv を付けた要素だけがトランジションを持つ */
.has-reveal [data-rv] {
  transition: opacity 0.85s cubic-bezier(0.22, 0.61, 0.36, 1),
              transform 0.85s cubic-bezier(0.22, 0.61, 0.36, 1);
  transition-delay: var(--rv-delay, 0ms);
}
.has-reveal [data-rv].is-visible {
  opacity: 1;
  transform: none;
}
