/* YOUR ARCHITECT — 文章が主役の、静かなページ */

:root {
  --paper: #f8f6f1;
  --paper-2: #f0ede5;
  --ink: #1f1e1b;
  --ink-2: #4a4843;
  --muted: #7a766e;
  --rule: #dcd7cc;
  --marker: rgba(242, 210, 60, 0.55);   /* KEEPEN の黄色いペン */
  --marker-solid: #f2d23c;
  --serif: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --sans: "Noto Sans JP", "Hiragino Sans", "Yu Gothic UI", "Meiryo", sans-serif;
  --measure: 36rem;
  --gutter: 20px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.95;
  letter-spacing: 0.02em;
  font-feature-settings: "palt" 0;
  line-break: strict;
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
}

p { margin: 0 0 1.4em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }

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

/* 黄色いペンのハイライト */
.mark {
  background: linear-gradient(transparent 58%, var(--marker) 58%, var(--marker) 92%, transparent 92%);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  padding: 0 0.1em;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(248, 246, 241, 0.94);
  backdrop-filter: saturate(1.2) blur(6px);
  -webkit-backdrop-filter: saturate(1.2) blur(6px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--rule); }

.header-inner {
  max-width: 72rem; margin: 0 auto;
  padding: 0 var(--gutter);
  height: 60px;
  display: flex; align-items: center; justify-content: space-between;
}

.brand {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.22em;
  text-decoration: none;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  width: 44px; height: 44px; margin-right: -10px;
  border: 0; background: transparent; cursor: pointer; color: var(--ink);
  position: relative;
}
.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  position: absolute; left: 12px; width: 20px; height: 1.5px; background: currentColor;
  transition: transform .2s, opacity .2s;
}
.nav-toggle-bar { top: 21px; }
.nav-toggle-bar::before, .nav-toggle-bar::after { content: ""; left: 0; }
.nav-toggle-bar::before { top: -6px; }
.nav-toggle-bar::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: translateY(-6px) rotate(-45deg); }

.site-nav ul { display: flex; gap: 1.6rem; }
.site-nav a {
  font-size: 13px; color: var(--ink-2); text-decoration: none; letter-spacing: 0.08em;
  padding: 6px 0;
}
.site-nav a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; top: 60px; left: 0; right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--rule);
    display: none;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; gap: 0; padding: 8px var(--gutter) 16px; }
  .site-nav a { display: block; font-size: 15px; padding: 12px 0; border-bottom: 1px solid var(--paper-2); }
}

/* ---------- Sections ---------- */
main { display: block; }

.section {
  padding: 96px var(--gutter);
  border-top: 1px solid var(--rule);
}
.section-inner { max-width: var(--measure); margin: 0 auto; }
.section-inner.wide { max-width: 56rem; }

.section-head { margin-bottom: 2.6rem; }
.section-no {
  display: block;
  font-family: var(--serif);
  font-size: 13px; color: var(--muted); letter-spacing: 0.2em;
  margin-bottom: 0.9rem;
}
.section h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.5rem, 4.6vw, 2.05rem);
  line-height: 1.6;
  letter-spacing: 0.04em;
  margin: 0;
  word-break: auto-phrase;
  text-wrap: balance;
}

.chip {
  display: inline-block;
  vertical-align: 0.35em;
  margin-left: 0.6em;
  font-family: var(--sans);
  font-size: 12px; font-weight: 500;
  line-height: 1; letter-spacing: 0.12em;
  padding: 6px 9px 5px;
  border: 1px dashed var(--ink-2);
  border-radius: 999px;
  color: var(--ink-2);
  white-space: nowrap;
}

.body p { color: var(--ink); }
.closing { margin-top: 2rem; }

.note {
  font-size: 13.5px; line-height: 1.85; color: var(--muted);
  margin-top: 2.2rem;
}

/* ---------- Hero ---------- */
.hero {
  min-height: calc(100svh - 60px);
  display: flex; align-items: center;
  padding: 72px var(--gutter) 96px;
  border-top: 0;
}
.hero .section-inner { max-width: 44rem; width: 100%; }
.hero h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.3rem, 9.5vw, 4.4rem);
  line-height: 1.35;
  letter-spacing: 0.06em;
  margin: 0 0 3rem;
  word-break: auto-phrase;
}
.hero .body { max-width: 30rem; }
.hero .body p { font-size: clamp(1rem, 2.6vw, 1.12rem); margin-bottom: 1.1em; }
.hero .body p:first-child { font-family: var(--serif); font-size: clamp(1.15rem, 3.6vw, 1.4rem); font-weight: 500; margin-bottom: 1.6em; }
.hero .scroll-hint {
  display: inline-block; margin-top: 3.5rem;
  font-size: 12px; letter-spacing: 0.2em; color: var(--muted); text-decoration: none;
}
.hero .scroll-hint::after { content: " ↓"; }

/* ---------- Glance（ひと目でわかる） ---------- */
.hero { display: block; min-height: 0; padding-top: 64px; }
.hero h1 { margin-bottom: 2rem !important; font-size: clamp(2rem, 7.4vw, 3.2rem) !important; line-height: 1.45 !important; white-space: pre-line; }
/* ---------- ヒーロー：PCでは見出しと図を横並び ---------- */
.hero-top {
  max-width: 68rem; margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.8rem;
}
.hero .hero-text .body { max-width: 32rem; }
.hero-visual .g-label { margin-bottom: 1rem; }
.hero-visual .g-diagram { flex-direction: column; margin-bottom: 0; }
.hero-visual .g-side { flex-direction: column; padding: 2rem 1rem 1rem; }
.hero-visual .g-box { width: 100%; min-width: 0; }
.hero-visual .g-maker { align-self: stretch; }
.hero-visual .g-arrow { flex-direction: row; min-width: 0; padding: 0.7rem 0; gap: 0.8rem; justify-content: flex-start; }
.hero-visual .g-arrow-line { width: 1.2px; height: 34px; margin: 0 0 0 1.4rem; flex: 0 0 auto; }
.hero-visual .g-arrow-line::before { left: -4px; top: 0; transform: rotate(45deg); }
.hero-visual .g-arrow-line::after { left: -4px; right: auto; top: auto; bottom: 0; transform: rotate(-135deg); }
.hero-visual .g-arrow-text { text-align: left; }
.hero-visual {
  background: #fff; border: 1px solid var(--rule); padding: 1.5rem 1.4rem 1.6rem;
}
.hero .section-inner.wide { max-width: 68rem !important; }
@media (min-width: 1000px) {
  .hero-top { grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr); align-items: center; gap: 4rem; }
  .hero h1 { font-size: clamp(2.2rem, 3.3vw, 3rem) !important; }
}
@media (max-width: 760px) {
  .hero-visual { padding: 1.3rem 1rem 1.4rem; margin: 0 -4px; }
}

/* ---------- 事例：大きな数字 ---------- */
.cases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.cases li.case {
  display: flex; flex-direction: column; gap: 0.8rem;
  padding: 1.8rem 1.4rem 1.9rem; border-bottom: 0;
}
.cases li.case + li.case { border-left: 1px solid var(--rule); }
.case-num {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(2.6rem, 6vw, 3.6rem); line-height: 1.1; letter-spacing: 0.02em;
}
.case-text { font-family: var(--sans); font-size: 15px; line-height: 1.85; color: var(--ink-2); }
@media (max-width: 720px) {
  .cases { grid-template-columns: 1fr; }
  .cases li.case { padding: 1.4rem 0.2rem; flex-direction: row; align-items: baseline; gap: 1rem; }
  .cases li.case + li.case { border-left: 0; border-top: 1px solid var(--rule); }
  .cases li.case { flex-direction: column; gap: 0.3rem; }
  .case-num { font-size: 2.5rem; white-space: nowrap; }
}

/* ---------- 黒い帯・黒地のセクション ---------- */
.band {
  background: var(--ink); color: var(--paper);
  padding: 96px var(--gutter);
  text-align: center;
}
.band-text {
  max-width: 42rem; margin: 0 auto;
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(1.45rem, 4.4vw, 2.3rem); line-height: 1.75; letter-spacing: 0.05em;
  word-break: auto-phrase; text-wrap: balance;
}
.band-text::before {
  content: ""; display: block; width: 2.4rem; height: 3px; background: var(--marker-solid);
  margin: 0 auto 2rem;
}
.section.dark { background: var(--ink); color: var(--paper); border-top: 0; }
.section.dark h2 { color: var(--paper); font-size: clamp(1.7rem, 5.4vw, 2.6rem); }
.section.dark .section-no { color: #a8a397; }
.section.dark .body p { color: #e8e4da; }
.section.dark .more summary { color: #e8e4da; border-bottom-color: #a8a397; }
.section.dark + .section { border-top: 0; }
.band + .section { border-top: 0; }
@media (max-width: 640px) {
  .band { padding: 72px var(--gutter); }
}
.hero .eyebrow {
  font-family: var(--serif); font-size: clamp(0.92rem, 2.6vw, 1.02rem); letter-spacing: 0.12em;
  color: var(--ink-2); margin: 0 0 1.2rem;
}
.hero .eyebrow::before {
  content: ""; display: inline-block; width: 1.6em; height: 1px; background: var(--ink-2);
  vertical-align: 0.35em; margin-right: 0.7em;
}
.hero .section-inner.wide { max-width: 60rem; margin-top: 3rem; }
.glance {
  background: #fff;
  border: 1px solid var(--rule);
  padding: 2.2rem 2.2rem 2.4rem;
}
.g-label {
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.18em; color: var(--muted);
  margin: 0 0 1.6rem;
}
.g-diagram {
  display: flex; align-items: stretch; gap: 0;
  margin-bottom: 2.2rem;
}
.g-side {
  position: relative;
  display: flex; align-items: center; flex: 2 1 0;
  padding: 1.6rem 1rem 1rem;
  background: rgba(242, 210, 60, 0.18);
  border-radius: 6px;
}
.g-side-label {
  position: absolute; top: 0.45rem; left: 0.9rem;
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.16em; color: var(--ink-2);
}
.g-box {
  flex: 0 0 auto;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-width: 8.5rem; padding: 0.9rem 0.8rem;
  border: 1.2px solid var(--ink); border-radius: 6px; background: var(--paper);
  text-align: center; line-height: 1.5;
}
.g-box strong { font-family: var(--serif); font-weight: 600; font-size: 1.02rem; letter-spacing: 0.04em; }
.g-box span { font-size: 12px; color: var(--muted); margin-top: 0.2rem; }
.g-arch { background: var(--ink); border-color: var(--ink); }
.g-arch strong { color: var(--paper); font-size: 0.92rem; letter-spacing: 0.12em; }
.g-maker { align-self: center; border-style: dashed; }
.g-arrow {
  flex: 1 1 0; min-width: 6rem;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 0 0.6rem;
}
.g-arrow-line {
  position: relative; display: block; width: 100%; height: 1.2px; background: var(--ink-2);
  margin-bottom: 0.55rem;
}
.g-arrow-line::before, .g-arrow-line::after {
  content: ""; position: absolute; top: -4px; width: 8px; height: 8px;
  border-top: 1.2px solid var(--ink-2); border-left: 1.2px solid var(--ink-2);
}
.g-arrow-line::before { left: 0; transform: rotate(-45deg); }
.g-arrow-line::after { right: 0; transform: rotate(135deg); }
.g-arrow-text { font-size: 12.5px; line-height: 1.6; color: var(--ink-2); text-align: center; }

.g-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--ink); }
.g-points li { padding: 1.2rem 1.2rem 1.3rem 0; }
.g-points li + li { padding-left: 1.2rem; border-left: 1px solid var(--rule); }
.g-points strong {
  display: block; font-family: var(--serif); font-weight: 600; font-size: 1.08rem; line-height: 1.6;
  margin-bottom: 0.4rem;
}
.g-points span { display: block; font-size: 14.5px; line-height: 1.85; color: var(--ink-2); }

.g-trust { display: flex; gap: 0.8rem; align-items: flex-start; margin-top: 0.4rem; padding: 0.9rem 1rem; background: #fff; border: 1px solid var(--rule); border-left: 4px solid var(--ink); border-radius: 8px; }
.g-trust-icon { font-size: 1.1rem; line-height: 1.6; }
.g-trust strong { display: block; font-family: var(--serif); font-weight: 600; font-size: 1.02rem; line-height: 1.6; }
.g-trust span { display: block; font-size: 14px; line-height: 1.8; color: var(--ink-2); }
.da-lead { max-width: var(--measure); font-size: 1.05rem; line-height: 1.9; margin: 0 0 1.6rem; font-weight: 500; }
.da-now { margin-top: 2rem; padding: 1.3rem 1.3rem 1.4rem; background: #fff; border: 1px solid var(--rule); border-left: 4px solid var(--marker-solid); border-radius: 8px; }
.da-now h3 { font-family: var(--serif); font-weight: 600; font-size: 1.15rem; margin: 0 0 0.6rem; }
.da-now p { line-height: 1.9; color: var(--ink-2); margin: 0 0 0.6rem; }
.da-now .btn { margin-top: 0.6rem; }
.who-roles { list-style: none; margin: 1.2rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.who-roles li { padding: 0.45rem 1rem; border: 1.5px solid var(--ink); border-radius: 99px; font-weight: 700; font-size: 14.5px; }
.who-sign { margin: 1.4rem 0 0; font-family: var(--serif); font-weight: 600; letter-spacing: 0.06em; }
.g-ctas { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.8rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0.7rem 1.5rem;
  font-size: 15px; font-weight: 500; letter-spacing: 0.06em; text-decoration: none;
  border: 1px solid var(--ink); border-radius: 2px;
}
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: var(--marker-solid); color: var(--ink); border-color: var(--marker-solid); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--paper-2); }

@media (max-width: 760px) {
  .hero { padding-top: 56px; }
  .hero .section-inner.wide { margin-top: 3rem; }
  .glance { padding: 1.6rem 1.1rem 1.7rem; margin: 0 -4px; }
  .g-diagram { flex-direction: column; }
  .g-side { flex-direction: column; padding: 2rem 1rem 1rem; }
  .g-box { width: 100%; min-width: 0; }
  .g-maker { align-self: stretch; }
  .g-arrow { flex-direction: row; min-width: 0; padding: 0.7rem 0; gap: 0.8rem; justify-content: flex-start; }
  .g-arrow-line { width: 1.2px; height: 34px; margin: 0 0 0 1.4rem; flex: 0 0 auto; }
  .g-arrow-line::before { left: -4px; top: 0; transform: rotate(45deg); }
  .g-arrow-line::after { left: -4px; right: auto; top: auto; bottom: 0; transform: rotate(-135deg); }
  .g-arrow-text { text-align: left; }
  .g-points { grid-template-columns: 1fr; }
  .g-points li, .g-points li + li { padding: 1rem 0; border-left: 0; }
  .g-points li + li { border-top: 1px solid var(--rule); }
  .g-ctas .btn { flex: 1 1 100%; }
}

/* ---------- 続きを読む ---------- */
.more { margin-top: 0.4rem; }
.more summary {
  display: inline-flex; align-items: center; gap: 0.5em;
  cursor: pointer; list-style: none;
  font-size: 14px; letter-spacing: 0.08em; color: var(--ink-2);
  padding: 0.5rem 0; min-height: 44px;
  border-bottom: 1px solid var(--ink-2);
}
.more summary::-webkit-details-marker { display: none; }
.more summary::after { content: "＋"; font-size: 13px; }
.more[open] summary::after { content: "－"; }
.more .more-close { display: none; }
.more[open] .more-open { display: none; }
.more[open] .more-close { display: inline; }
.more[open] summary { margin-bottom: 1.4rem; }
.more-body > p:last-child { margin-bottom: 0; }

.step-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 2rem 0 1.2rem; }
.step-chips li {
  font-size: 13.5px; line-height: 1.5; padding: 0.4rem 0.8rem;
  border: 1px solid var(--rule); border-radius: 999px; background: #fff;
}
.thinking .loop-note { margin-top: 0; }

/* ---------- ついてくる相談ボタン ---------- */
.float-cta {
  position: fixed; right: 20px; bottom: 20px; z-index: 20;
  display: inline-flex; align-items: center; min-height: 48px; padding: 0.7rem 1.4rem;
  background: var(--ink); color: var(--paper); text-decoration: none;
  font-size: 14.5px; font-weight: 500; letter-spacing: 0.06em;
  border-radius: 999px; box-shadow: 0 6px 20px rgba(0,0,0,0.18);
  opacity: 0; transform: translateY(12px); pointer-events: none;
  transition: opacity .25s, transform .25s;
}
.float-cta.is-shown { opacity: 1; transform: none; pointer-events: auto; }
.float-cta:hover { background: var(--marker-solid); color: var(--ink); }
@media (max-width: 640px) {
  .float-cta { left: 16px; right: 16px; bottom: 14px; justify-content: center; }
}

/* ---------- いるとき・いないとき ---------- */
.compare { background: var(--paper-2); border-top: 0; padding-top: 80px; }
.compare .section-inner.wide { max-width: 60rem; }
.cmp-heading {
  text-align: center; margin: 0 0 2.4rem !important;
}
.cmp-panels { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.cmp-panel { background: var(--paper); border: 1px solid var(--rule); padding: 1.2rem 1.2rem 0.6rem; }
.cmp-with { background: #fff; border-color: var(--ink); }
.cmp-title { font-size: 13.5px; font-weight: 700; letter-spacing: 0.08em; margin: 0 0 0.4rem; }
.cmp-without .cmp-title { color: var(--muted); }
.cmp-svg { display: block; width: 100%; height: auto; overflow: visible; }
.cmp-guide { stroke: var(--rule); stroke-width: 1; stroke-dasharray: 3 4; }
.cmp-label { font-family: var(--sans); font-size: 12px; fill: var(--ink-2); }
.cmp-flag { fill: var(--marker-solid); stroke: var(--ink); stroke-width: 1.2; stroke-linejoin: round; }
.cmp-start { fill: var(--ink); }
.cmp-path { fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; }
.cmp-path-off { stroke: var(--muted); stroke-dasharray: 1 0; }
.cmp-gap { stroke: #b4472f; stroke-width: 1.4; stroke-dasharray: 3 3; }
.cmp-gap-label { font-family: var(--sans); font-size: 12.5px; font-weight: 700; fill: #b4472f; }
.cmp-end-off { fill: var(--paper); stroke: var(--muted); stroke-width: 2; }
.cmp-check { fill: var(--marker-solid); stroke: var(--ink); stroke-width: 1.4; }
.cmp-check-label { font-weight: 700; fill: var(--ink); }
.cmp-tick { stroke: var(--ink-2); stroke-width: 1; fill: none; }
.cmp-end { fill: var(--ink); }

.cmp-rows { margin-top: 1.6rem; }
.cmp-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.cmp-head span { font-size: 12.5px; font-weight: 700; letter-spacing: 0.14em; color: var(--muted); padding: 0 0.2rem 0.4rem; }
.cmp-head span + span { color: var(--ink); }
.cmp-topic {
  font-size: 12px; letter-spacing: 0.14em; color: var(--muted);
  margin: 0.9rem 0 0.35rem; padding-top: 0.9rem; border-top: 1px solid var(--rule);
}
.cmp-cell-off, .cmp-cell-on { font-size: 15px; line-height: 1.7; padding: 0 0.2rem; }
.cmp-cell-off { color: var(--muted); }
.cmp-cell-on { font-weight: 500; color: var(--ink); }
.cmp-cell-on::before { content: "→ "; color: var(--ink-2); font-weight: 400; }
@media (max-width: 640px) {
  .compare { padding-top: 64px; }
  .cmp-panels { grid-template-columns: 1fr; gap: 0.8rem; }
  .cmp-row { gap: 0.8rem; }
  .cmp-cell-off, .cmp-cell-on { font-size: 14px; }
  .cmp-cell-on::before { content: ""; }
}

/* ---------- 意思決定資産 ---------- */
.da-flows { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.da-flow { padding: 1.4rem 1.4rem 1.5rem; border: 1px solid var(--rule); background: var(--paper); }
.da-keep { background: #fff; border-color: var(--ink); }
.da-label { font-size: 12.5px; font-weight: 700; letter-spacing: 0.12em; color: var(--muted); margin: 0 0 0.2rem; }
.da-keep .da-label { color: var(--ink); }
.da-caption { font-family: var(--serif); font-weight: 600; font-size: 1.1rem; line-height: 1.6; margin: 0 0 1.1rem; }
.da-steps { counter-reset: none; }
.da-steps li {
  position: relative; text-align: center;
  padding: 0.55rem 0.8rem; margin: 0 auto; max-width: 16rem;
  border: 1px solid var(--rule); border-radius: 4px; background: var(--paper);
  font-size: 14.5px; line-height: 1.5;
}
.da-steps li + li { margin-top: 1.5rem; }
.da-steps li + li::before {
  content: "↓"; position: absolute; left: 50%; top: -1.45rem; transform: translateX(-50%);
  color: var(--muted); font-size: 13px; line-height: 1.4rem;
}
.da-spend .da-steps li:last-child { color: var(--muted); border-style: dashed; }
.da-keep .da-steps li { border-color: var(--ink); background: #fff; }
.da-keep .da-steps li:last-child { background: rgba(242, 210, 60, 0.35); }
.da-note { font-size: 13.5px; line-height: 1.8; color: var(--ink-2); margin: 1.2rem 0 0; }
.da-text { max-width: var(--measure); margin: 0 auto; }

.da-compare { margin: 2.4rem 0 0; padding: 1.5rem 1.4rem 1.6rem; background: var(--paper-2); }
.da-compare-intro { font-family: var(--serif); font-weight: 600; font-size: 1.02rem; line-height: 1.7; margin: 0 0 1.1rem; }
.da-lists { display: grid; grid-template-columns: 1fr auto 1fr; gap: 0.8rem; align-items: center; }
.da-list { background: #fff; border: 1px solid var(--rule); padding: 0.9rem 1rem; height: 100%; }
.da-list-label { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; color: var(--muted); margin: 0 0 0.5rem; }
.da-list li { font-size: 14.5px; line-height: 1.6; padding: 0.3rem 0; border-top: 1px dashed var(--rule); }
.da-list li:first-child { border-top: 0; }
.da-eq { font-size: 1.2rem; color: var(--ink-2); }
.da-compare-outro { font-size: 14.5px; line-height: 1.85; margin: 1.1rem 0 0; }
.da-closing { margin-top: 2rem; color: var(--ink-2); }
@media (max-width: 640px) {
  .da-flows { grid-template-columns: 1fr; gap: 0.8rem; }
  .da-flow { padding: 1.2rem 1rem 1.3rem; }
  .da-compare { padding: 1.2rem 1rem 1.3rem; }
  .da-lists { gap: 0.4rem; }
  .da-list { padding: 0.7rem 0.6rem; }
  .da-list li { font-size: 13.5px; }
}

/* ---------- 誕生秘話 ---------- */
.band-text { white-space: pre-line; }
#why_band .band-text { max-width: 56rem; font-size: clamp(1.25rem, 3.6vw, 2rem); }
.story-link {
  display: inline-flex; align-items: center; gap: 0.6em;
  margin-top: 1.8rem; padding: 0.55rem 0;
  font-size: 15px; font-weight: 500; letter-spacing: 0.06em;
  text-decoration: none; color: var(--ink);
  border-bottom: 2px solid var(--marker-solid);
}
.story-link:hover { background: rgba(242, 210, 60, 0.3); }
.story-arrow { transition: transform .2s; }
.story-link:hover .story-arrow { transform: translateX(4px); }
.story-link-origin { margin-top: 2.2rem; }

html.story-open { overflow: hidden; }
.story {
  width: min(44rem, calc(100% - 32px)); max-height: calc(100% - 48px);
  padding: 0; border: 0; border-radius: 4px;
  background: var(--paper); color: var(--ink);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  overflow-y: auto;
}
.story::backdrop { background: rgba(31, 30, 27, 0.6); }
.story-inner { position: relative; padding: 3rem 2.6rem 2.6rem; }
.story-close {
  position: absolute; top: 10px; right: 10px;
  width: 44px; height: 44px; border: 0; background: transparent;
  font-size: 26px; line-height: 1; color: var(--ink-2); cursor: pointer;
}
.story-close:hover { color: var(--ink); }
.story-kicker { font-size: 12.5px; font-weight: 700; letter-spacing: 0.16em; color: var(--muted); margin: 0 0 0.6rem; }
.story h2 {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(1.4rem, 4.6vw, 1.9rem); line-height: 1.6; margin: 0 0 2rem;
}
.story-chapter { padding: 1.6rem 0; border-top: 1px solid var(--rule); }
.story-chapter h3 { font-family: var(--serif); font-weight: 600; font-size: 1.12rem; line-height: 1.6; margin: 0 0 0.9rem; }
.story-chapter p { font-size: 16px; line-height: 1.95; }
.story-chapter.is-pending p {
  color: var(--muted); font-size: 14.5px;
  padding: 1rem 1.1rem; border: 1px dashed var(--rule); background: #fff;
}
.story-close-bottom { margin-top: 1.4rem; }
@media (max-width: 640px) {
  .story { width: 100%; max-width: 100%; height: 100%; max-height: 100%; border-radius: 0; margin: 0; }
  .story-inner { padding: 3.2rem 1.2rem 2rem; }
}

/* ---------- WHY カード（トップ） ---------- */
.why-card-wrap { padding: 72px var(--gutter); background: var(--ink); }
.why-card {
  display: block; max-width: 52rem; margin: 0 auto;
  color: var(--paper); text-decoration: none;
  border: 1px solid #4a4843; padding: 2.2rem 2.2rem 2rem;
  transition: border-color .2s, background .2s;
}
.why-card:hover { border-color: var(--marker-solid); background: #2a2925; }
.why-card-kicker { font-size: 12.5px; font-weight: 700; letter-spacing: 0.2em; color: var(--marker-solid); margin: 0 0 1rem; }
.why-card-lead {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(1.2rem, 3.6vw, 1.6rem); line-height: 1.7; margin: 0 0 1.6rem;
  word-break: auto-phrase;
}
.why-card-tagline {
  font-family: var(--serif); font-weight: 600; white-space: pre-line;
  font-size: clamp(1.5rem, 4.6vw, 2.2rem); line-height: 1.6; margin: 0 0 1.2rem;
  word-break: auto-phrase;
}
.why-card-tagline + .why-card-lead { font-family: var(--sans); font-weight: 400; font-size: 15px; color: #c9c4b8; }
.why-origin { background: var(--paper-2); }
.why-origin-heading {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(1.8rem, 6vw, 2.6rem); line-height: 1.45; margin: 0 0 0.8rem;
}
.why-origin-sub { font-family: var(--serif); font-size: clamp(1.05rem, 3.2vw, 1.25rem); color: var(--ink-2); margin: 0 0 2.2rem; }
.why-origin-p { white-space: pre-line; }
.why-card-link { display: inline-flex; align-items: center; gap: 0.6em; font-size: 15.5px; font-weight: 500; border-bottom: 2px solid var(--marker-solid); padding-bottom: 0.2rem; }
.why-card:hover .story-arrow { transform: translateX(4px); }
.why-card-sub { display: block; margin-top: 0.8rem; font-size: 13px; color: #a8a397; letter-spacing: 0.04em; }
@media (max-width: 640px) {
  .why-card-wrap { padding: 56px var(--gutter); }
  .why-card { padding: 1.6rem 1.2rem; }
}

/* ---------- WHY ページ ---------- */
.why-back { font-size: 13.5px; color: var(--ink-2); text-decoration: none; letter-spacing: 0.06em; }
.why-back:hover { text-decoration: underline; text-underline-offset: 5px; }
.why-inner { max-width: var(--measure); margin: 0 auto; }
.why-inner.wide { max-width: 60rem; }
.why-cover { padding: 96px var(--gutter) 72px; }
.why-kicker { font-size: 13px; font-weight: 700; letter-spacing: 0.22em; color: var(--muted); margin: 0 0 1.2rem; }
.why-cover h1 {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(1.9rem, 6vw, 3rem); line-height: 1.5; letter-spacing: 0.04em; margin: 0 0 1.8rem;
  word-break: auto-phrase;
}
.why-lead { font-size: clamp(1rem, 2.8vw, 1.12rem); color: var(--ink-2); }
.why-block { padding: 72px var(--gutter); border-top: 1px solid var(--rule); }
.why-label { font-size: 12.5px; font-weight: 700; letter-spacing: 0.18em; color: var(--muted); margin: 0 0 1.6rem; }
.why-summary-block { background: var(--paper-2); border-top: 0; }
.why-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.why-summary li { background: #fff; border: 1px solid var(--rule); padding: 1.5rem 1.4rem 1.6rem; }
.why-sum-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.9rem; }
.why-sum-no {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2rem; height: 2rem; border-radius: 50%; background: var(--ink); color: var(--paper);
  font-family: var(--serif); font-weight: 600; font-size: 14px;
}
.why-sum-time { font-size: 12px; color: var(--muted); letter-spacing: 0.08em; }
.why-summary h2 { font-family: var(--serif); font-weight: 600; font-size: 1.15rem; line-height: 1.6; margin: 0 0 0.6rem; }
.why-summary p { font-size: 14.5px; line-height: 1.85; color: var(--ink-2); margin: 0; }
.why-chapter { padding: 2.6rem 0; border-top: 1px solid var(--rule); }
.why-chapter:first-of-type { border-top: 0; padding-top: 0.4rem; }
.why-ch-no { display: block; font-family: var(--serif); font-size: 13px; color: var(--muted); letter-spacing: 0.2em; margin-bottom: 0.6rem; }
.why-chapter h2 {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(1.3rem, 4vw, 1.7rem); line-height: 1.6; margin: 0 0 1.4rem; word-break: auto-phrase;
}
.why-chapter p { white-space: pre-line; margin-bottom: 1.2em; }
.why-band-label { font-size: 12.5px; font-weight: 700; letter-spacing: 0.22em; color: #a8a397; margin: 0 0 1.2rem; }
.why-page .band + .why-block { border-top: 0; }
.why-values-box { padding: 1.6rem 1.6rem 1.7rem; background: #fff; border: 1px solid var(--rule); }
.why-values-box h2, .why-last h2 { font-family: var(--serif); font-weight: 600; font-size: 1.2rem; line-height: 1.6; margin: 0 0 1rem; }
.why-last { margin-top: 3rem; }
.why-closing { font-family: var(--serif); font-weight: 600; font-size: clamp(1.25rem, 4vw, 1.6rem); line-height: 1.7; margin: 2rem 0 1rem; }
.why-update { margin-top: 3rem; padding-top: 1.4rem; border-top: 1px dashed var(--rule); font-size: 13.5px; line-height: 1.85; color: var(--muted); }
.why-updated { display: block; margin-top: 0.3rem; }
.why-ctas { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2.2rem; }
@media (max-width: 760px) {
  .why-summary { grid-template-columns: 1fr; gap: 0.8rem; }
  .why-cover { padding: 64px var(--gutter) 56px; }
  .why-block { padding: 56px var(--gutter); }
  .why-values-box { padding: 1.3rem 1.1rem; }
  .why-ctas .btn { flex: 1 1 100%; }
}

/* 見出しのすぐ下に置く絵：上の余白をなくし、下に余白をとる */
.lead-visual { margin-top: 0 !important; margin-bottom: 2.6rem !important; }
.lead-visual + .lead-visual { margin-top: -0.6rem !important; }
.record .body + .body { margin-top: 1.4em; }

/* ---------- 立ち位置の補足・最初の仕事 ---------- */
.stance, .first-steps-box {
  margin-top: 2.4rem; padding: 1.5rem 1.6rem 1.6rem;
  background: #fff; border: 1px solid var(--rule);
}
.stance h3, .first-steps-box h3 {
  font-family: var(--serif); font-weight: 600; font-size: 1.05rem; line-height: 1.65; margin: 0 0 1rem;
}
.check-list li {
  position: relative; padding: 0.3rem 0 0.3rem 1.6rem; font-size: 15.5px; line-height: 1.8;
}
.check-list li::before {
  content: ""; position: absolute; left: 0.15rem; top: 0.95em;
  width: 0.55rem; height: 0.3rem;
  border-left: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink);
  transform: rotate(-45deg);
}
.first-steps li {
  display: flex; gap: 0.9rem; align-items: baseline;
  padding: 0.55rem 0; border-bottom: 1px dashed var(--rule);
  font-size: 15.5px; line-height: 1.8;
}
.first-steps li:last-child { border-bottom: 0; }
.fs-no {
  flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center;
  width: 1.6rem; height: 1.6rem; border-radius: 50%;
  background: var(--ink); color: var(--paper);
  font-size: 12.5px; font-weight: 700; line-height: 1;
  transform: translateY(-1px);
}

.roles { margin: 1rem 0 0; padding: 0.9rem 1rem; background: var(--paper-2); }
.roles dt { font-size: 13.5px; font-weight: 700; color: var(--ink); margin-top: 0.6rem; }
.roles dt:first-child { margin-top: 0; }
.roles dd { margin: 0.2rem 0 0; font-size: 14.5px; line-height: 1.85; color: var(--ink-2); }
.chip-sm { font-size: 11px; padding: 4px 7px 3px; vertical-align: 0.1em; font-weight: 500; }

/* ---------- Callout (position) ---------- */
.callout {
  margin-top: 2.6rem;
  padding: 1.5rem 1.6rem;
  background: var(--paper-2);
  border-left: 3px solid var(--marker-solid);
}
.callout-label {
  display: block; font-size: 12.5px; font-weight: 700; letter-spacing: 0.16em; color: var(--ink-2);
  margin-bottom: 0.5rem;
}
.callout p { margin: 0; }

/* ---------- Drifts (first_service) ---------- */
.drifts {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  margin: 2.6rem 0 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}
.drift { padding: 1.6rem 1.4rem 1.7rem; }
.drift + .drift { border-left: 1px solid var(--rule); }
.drift h3 {
  font-family: var(--serif); font-weight: 600; font-size: 1.08rem; line-height: 1.6;
  margin: 0 0 0.8rem;
}
.drift p { font-size: 15.5px; line-height: 1.9; margin: 0; }
.drift-arrow { font-family: var(--serif); color: var(--muted); margin-right: 0.4em; }
@media (max-width: 640px) {
  .drifts { grid-template-columns: 1fr; }
  .drift { padding: 1.4rem 0.2rem; }
  .drift + .drift { border-left: 0; border-top: 1px solid var(--rule); }
}

/* ---------- Proof ---------- */
.cases { margin: 0 0 2.6rem; border-top: 1px solid var(--rule); }
.cases li {
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--rule);
  font-family: var(--serif);
  font-size: clamp(1.02rem, 3vw, 1.18rem);
  line-height: 1.75;
}

/* ---------- Thinking (loop) ---------- */
.thinking .intro { margin-bottom: 2.6rem; }
.loop-figure { margin: 0 auto 3rem; max-width: 30rem; }
.loop-figure svg { display: block; width: 100%; height: auto; }
.loop-figure figcaption {
  text-align: center; font-size: 13px; color: var(--muted); margin-top: 0.6rem; letter-spacing: 0.06em;
}
.loop-figure .node rect { fill: var(--paper); stroke: var(--ink); stroke-width: 1.2; }
.loop-figure .node text { font-family: var(--sans); font-size: 15px; fill: var(--ink); }
.loop-figure .edge { stroke: var(--ink-2); stroke-width: 1.2; fill: none; }
.loop-figure .cross { stroke: var(--rule); stroke-width: 1; stroke-dasharray: 3 5; fill: none; }
.loop-figure .center-text { font-family: var(--serif); font-size: 13px; fill: var(--muted); letter-spacing: 0.1em; }

.steps { position: relative; padding-left: 28px; }
.steps::before {
  /* 行き来を示すレール：上下どちらにも矢印 */
  content: ""; position: absolute; left: 6px; top: 8px; bottom: 8px; width: 1px;
  background: var(--ink-2);
}
.steps::after {
  content: "⇅"; position: absolute; left: -2px; top: 50%;
  transform: translateY(-50%);
  background: var(--paper); color: var(--ink-2); font-size: 15px; line-height: 1.4; padding: 4px 0;
}
.step { position: relative; padding: 0 0 2rem; }
.step:last-child { padding-bottom: 0; }
.step::before {
  content: ""; position: absolute; left: -26px; top: 0.72em;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--paper); border: 1.2px solid var(--ink);
}
.step h3 {
  font-family: var(--serif); font-weight: 600; font-size: 1.08rem; line-height: 1.65; margin: 0 0 0.4rem;
}
.step p { font-size: 15.5px; line-height: 1.9; color: var(--ink-2); margin: 0; }

.loop-note {
  margin-top: 2.8rem; padding: 1.4rem 1.6rem;
  border: 1px solid var(--ink);
  font-size: 15.5px;
}
.loop-note .loop-text { display: block; font-family: var(--serif); font-size: 13.5px; color: var(--muted); margin-top: 0.8rem; letter-spacing: 0.04em; }

/* ---------- Record ---------- */
.example {
  margin: 2.6rem 0;
  padding: 1.8rem 1.6rem;
  background: #fff;
  border: 1px solid var(--rule);
  box-shadow: 0 1px 0 var(--rule);
}
.example-title {
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.18em; color: var(--muted);
  margin: 0 0 1.2rem;
}
.timeline { position: relative; padding-left: 26px; }
.timeline::before {
  content: ""; position: absolute; left: 4px; top: 14px; bottom: 14px; width: 1px; background: var(--rule);
}
.timeline li {
  position: relative; padding: 0.55rem 0;
  font-family: var(--serif); font-size: clamp(1rem, 2.9vw, 1.1rem); line-height: 1.8;
}
.timeline li::before {
  content: ""; position: absolute; left: -26px; top: 1.15em;
  width: 9px; height: 9px; border-radius: 50%; background: var(--ink);
}
.timeline li:last-child::before { background: var(--marker-solid); box-shadow: 0 0 0 1.2px var(--ink); }
.example .closing { margin-top: 1.4rem; padding-top: 1.2rem; border-top: 1px dashed var(--rule); font-size: 15.5px; }

.rule-statement {
  margin: 3rem 0 0;
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(1.15rem, 3.6vw, 1.4rem); line-height: 1.8;
}

/* ---------- Pricing ---------- */
.plans { margin: 3rem 0 0; border-top: 1px solid var(--ink); }
.plan {
  display: grid; grid-template-columns: 15rem 1fr; gap: 0.4rem 2rem;
  padding: 1.7rem 0; border-bottom: 1px solid var(--rule);
}
.plan h3 { font-family: var(--serif); font-weight: 600; font-size: 1.1rem; line-height: 1.6; margin: 0; }
.plan .price { font-weight: 500; font-size: 1rem; line-height: 1.7; margin: 0 0 0.6rem; }
.plan .detail { font-size: 15px; line-height: 1.9; color: var(--ink-2); margin: 0; }
@media (max-width: 720px) {
  .plan { grid-template-columns: 1fr; }
  .plan h3 { margin-bottom: 0.2rem; }
}
.sai-note {
  margin-top: 2.4rem; padding: 1.3rem 1.5rem;
  background: var(--paper-2); font-size: 15px; line-height: 1.9;
}

/* ---------- Don't ---------- */
.dont-list { border-top: 1px solid var(--rule); }
.dont-list li {
  position: relative; padding: 1.05rem 0 1.05rem 2.1rem;
  border-bottom: 1px solid var(--rule);
  font-family: var(--serif); font-size: clamp(1rem, 2.9vw, 1.1rem); line-height: 1.8;
}
.dont-list li::before {
  content: ""; position: absolute; left: 0.2rem; top: 1.95em; width: 1rem; height: 1px; background: var(--ink);
}

/* ---------- Status board ---------- */
.board { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--ink); }
.board-group { padding: 1.4rem 1.2rem 1.6rem; border-bottom: 1px solid var(--rule); }
.board-group + .board-group { border-left: 1px solid var(--rule); }
.meter { display: flex; gap: 5px; margin-bottom: 0.9rem; }
.meter i { display: block; width: 100%; max-width: 28px; height: 6px; border: 1px solid var(--ink); border-radius: 1px; }
.meter i.on { background: var(--ink); }
.board-group[data-level="4"] .meter i.on { background: var(--ink); }
.board-group[data-level="2"] .meter i { border-style: dashed; }
.board-group[data-level="1"] .meter i { border-style: dotted; }
.board-group h3 { font-family: var(--serif); font-weight: 600; font-size: 1rem; line-height: 1.6; margin: 0 0 0.9rem; }
.board-group li { font-size: 14.5px; line-height: 1.75; padding: 0.35rem 0; color: var(--ink-2); }
.board-group[data-level="1"] { background: repeating-linear-gradient(135deg, transparent 0 8px, rgba(0,0,0,0.018) 8px 9px); }
@media (max-width: 860px) {
  .board { grid-template-columns: 1fr 1fr; }
  .board-group:nth-child(3) { border-left: 0; }
}
@media (max-width: 520px) {
  .board { grid-template-columns: 1fr; }
  .board-group { padding: 1.3rem 0.2rem 1.4rem; }
  .board-group + .board-group { border-left: 0; }
}

/* ---------- Contact ---------- */
.contact { background: var(--ink); color: var(--paper); border-top: 0; }
.contact .section-no { color: #a8a397; }
.contact h2 { color: var(--paper); }
.contact .body p { color: #e8e4da; }
.mail-link {
  display: inline-flex; align-items: center; gap: 0.8em;
  margin-top: 2.4rem; padding: 1rem 1.4rem;
  border: 1px solid var(--paper); color: var(--paper);
  text-decoration: none; font-size: 15px; letter-spacing: 0.04em;
  max-width: 100%;
}
.mail-link:hover { background: var(--marker-solid); color: var(--ink); border-color: var(--marker-solid); }
.mail-link .addr { overflow-wrap: anywhere; }

.plan .price-note { margin: 0.7rem 0 0; padding: 0.7rem 0.9rem; font-size: 14px; line-height: 1.85; color: var(--ink); background: var(--paper-2); border-radius: 6px; }

/* 月額プランの契約範囲 */
.plan-scope { margin-top: 1rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.plan-scope .scope-label { font-size: 13px; font-weight: 700; margin: 0 0 0.3rem; color: var(--ink); }
.plan-scope ul { list-style: none; margin: 0; padding: 0; font-size: 14px; line-height: 1.8; color: var(--ink-2); }
.plan-scope li { padding-left: 1.3em; position: relative; }
.plan-scope .scope-in li::before { content: "○"; position: absolute; left: 0; color: var(--ink); }
.plan-scope .scope-out li::before { content: "×"; position: absolute; left: 0; color: var(--muted); }
@media (max-width: 600px) { .plan-scope { grid-template-columns: 1fr; } }

/* 1日集中セッション：この日だけは作る */
.plan-callout { margin-top: 1rem; padding: 1.1rem 1.2rem; background: var(--ink); color: var(--paper); border-radius: 8px; }
.plan-callout .co-title { font-family: var(--serif); font-weight: 600; font-size: 1.15rem; margin: 0 0 0.6rem; }
.plan-callout .co-title .mark { color: var(--ink); background: var(--marker-solid); padding: 0 0.25em; }
.plan-callout p { font-size: 14.5px; line-height: 1.9; color: #e8e4da; margin: 0 0 0.5rem; }
.plan-callout p:last-child { margin-bottom: 0; }
.co-live-box { margin-top: 1rem; padding-top: 0.9rem; border-top: 1px solid #4a4843; }
.co-live { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.co-live li { background: #2b2a26; border-radius: 6px; padding: 0.7rem; display: grid; gap: 0.25rem; align-content: start; }
.co-live-no { width: 1.5em; height: 1.5em; border-radius: 50%; background: var(--marker-solid); color: var(--ink); display: grid; place-items: center; font-size: 12px; font-weight: 700; }
.co-live strong { font-size: 14px; color: var(--paper); }
.co-live-text { font-size: 13px; line-height: 1.7; color: #c9c4b8; }
@media (max-width: 600px) {
  .co-live { grid-template-columns: 1fr; }
  .co-live li { grid-template-columns: auto 1fr; column-gap: 0.6rem; }
  .co-live-no { grid-row: span 2; }
}
.co-promise-box { margin-top: 1rem; padding-top: 0.9rem; border-top: 1px solid #4a4843; }
.plan-callout .co-promise-title { font-weight: 700; color: var(--marker-solid); margin: 0 0 0.4rem; }
.co-promise { list-style: none; margin: 0; padding: 0; font-size: 14px; line-height: 1.85; color: #e8e4da; }
.co-promise li { padding-left: 1.3em; position: relative; }
.co-promise li::before { content: "✓"; position: absolute; left: 0; color: var(--marker-solid); }
.plan-bridge { margin: 1rem 0 0; padding: 0.7rem 0.9rem; font-size: 14px; line-height: 1.8; background: var(--marker); border-radius: 6px; }
.plan-bridge::before { content: "→ "; font-weight: 700; }

/* 事例の条件 */
.case-detail { display: grid; grid-template-columns: auto 1fr; gap: 0.2rem 0.8rem; margin: 0.8rem 0 0; font-size: 13.5px; line-height: 1.7; }
.case-detail dt { font-weight: 700; color: var(--ink); }
.case-detail dd { margin: 0; color: var(--ink-2); }

/* 実績：3件に共通すること */
.case-common { margin: 2rem 0 2.4rem; padding: 1.4rem; background: #fff; border: 1px solid var(--rule); border-radius: 10px; }
.cc-label { font-weight: 700; margin: 0 0 1rem; }
.cc-flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.cc-flow li { display: grid; grid-template-columns: auto 1fr; gap: 0.6rem; align-items: start; position: relative; }
.cc-no { width: 1.7em; height: 1.7em; border-radius: 50%; background: var(--ink); color: var(--paper); display: grid; place-items: center; font-size: 13px; font-weight: 700; }
.cc-flow li:last-child .cc-no { background: var(--marker-solid); color: var(--ink); }
.cc-flow strong { display: block; font-size: 14.5px; line-height: 1.6; }
.cc-flow p { margin: 0.2rem 0 0; font-size: 13px; line-height: 1.75; color: var(--ink-2); }
.cc-facts { display: grid; grid-template-columns: auto 1fr; gap: 0.4rem 1rem; margin: 1.4rem 0 0; padding-top: 1.1rem; border-top: 1px solid var(--rule); font-size: 14px; line-height: 1.75; }
.cc-facts dt { font-weight: 700; white-space: nowrap; }
.cc-facts dd { margin: 0; color: var(--ink-2); }
@media (max-width: 860px) { .cc-flow { grid-template-columns: 1fr; gap: 0.9rem; } }

/* 値段の決め方 */
.price-logic { margin-top: 3.5rem; padding-top: 2.5rem; border-top: 1px solid var(--rule); }
.pl-heading { font-family: var(--serif); font-weight: 600; font-size: 1.25rem; line-height: 1.6; margin: 0 0 0.8rem; }
.pl-heading .chip { margin-left: 0.6em; }
.pl-intro { max-width: var(--measure); line-height: 1.9; color: var(--ink-2); margin: 0 0 1.6rem; }
.pl-factors { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.pl-factor { background: #fff; border: 1px solid var(--rule); border-radius: 8px; padding: 1rem; }
.pl-factor h4 { margin: 0; font-size: 1rem; }
.pl-q { font-size: 13px; color: var(--muted); line-height: 1.6; margin: 0.2rem 0 0.7rem; }
.pl-scale { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.35rem; font-size: 13.5px; line-height: 1.5; }
.pl-scale li { display: flex; gap: 0.5em; align-items: baseline; }
.pl-pt { flex: none; width: 1.5em; height: 1.5em; border-radius: 50%; background: var(--paper-2); display: inline-grid; place-items: center; font-weight: 700; font-size: 12px; }
.pl-scale li:nth-child(2) .pl-pt { background: var(--marker); }
.pl-scale li:nth-child(3) .pl-pt { background: var(--marker-solid); }
.pl-tiers { list-style: none; margin: 1.4rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--ink); border-radius: 8px; overflow: hidden; }
.pl-tiers li { padding: 0.9rem 0.8rem; display: grid; gap: 0.2rem; text-align: center; border-left: 1px solid var(--rule); }
.pl-tiers li:first-child { border-left: 0; }
.pl-tiers li:last-child { background: var(--ink); color: var(--paper); }
.pl-range { font-size: 12.5px; color: var(--muted); }
.pl-tiers li:last-child .pl-range { color: #c9c4b8; }
.pl-price { font-weight: 700; font-size: 1.05rem; white-space: nowrap; }
.pl-step { font-size: 1.02rem; margin: 1.8rem 0 0.4rem; }
.pl-adjust { background: #fff; border: 1px solid var(--rule); border-left: 4px solid var(--marker-solid); border-radius: 8px; padding: 1.1rem 1.2rem; }
.pl-rule { font-weight: 700; margin: 0 0 0.9rem; line-height: 1.7; }
.pl-balance { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 1rem; }
.pl-bal { background: var(--paper-2); border-radius: 6px; padding: 0.8rem 0.9rem; }
.pl-bal strong { font-size: 14px; }
.pl-bal p { margin: 0.2rem 0 0; font-size: 13.5px; line-height: 1.75; color: var(--ink-2); }
@media (max-width: 520px) { .pl-balance { grid-template-columns: 1fr; } }
.pl-adj-co { font-size: 14px; color: var(--ink-2); margin: 0 0 0.5rem; }
.pl-adj-row { display: flex; align-items: center; gap: 0.8rem; flex-wrap: wrap; }
.pl-adj-from, .pl-adj-to { padding: 0.6rem 0.9rem; border-radius: 6px; background: var(--paper-2); }
.pl-adj-from .pl-adj-val { text-decoration: line-through; color: var(--muted); }
.pl-adj-to { background: var(--ink); color: var(--paper); }
.pl-adj-lb { font-size: 12px; margin: 0; opacity: 0.8; }
.pl-adj-val { font-weight: 700; font-size: 1.05rem; margin: 0.1rem 0 0; white-space: nowrap; }
.pl-adj-arrow { font-size: 1.3rem; font-weight: 700; }
@media (max-width: 520px) {
  .pl-adj-row { flex-direction: column; align-items: stretch; gap: 0.4rem; }
  .pl-adj-arrow { transform: rotate(90deg); align-self: center; }
}
.pl-adj-ai { font-size: 13px; color: var(--muted); margin: 0.9rem 0 0; }
.pl-ex-label { font-weight: 700; margin: 2.4rem 0 1rem; }
.pl-examples { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.pl-example { background: #fff; border: 1px solid var(--rule); border-radius: 8px; padding: 1.2rem; }
.pl-ex-price { font-family: var(--serif); font-weight: 600; font-size: 1.3rem; margin: 0 0 0.4rem; }
.pl-ex-case { line-height: 1.8; margin: 0 0 0.7rem; }
.pl-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 0.7rem; }
.pl-chip { font-size: 12px; padding: 3px 8px; border-radius: 99px; background: var(--paper-2); }
.pl-chip.pl-total { background: var(--ink); color: var(--paper); font-weight: 700; }
.pl-ex-reason { font-size: 14px; line-height: 1.8; color: var(--ink-2); margin: 0 0 0.8rem; }
.pl-ex-reason strong { color: var(--ink); }
.pl-ex-sub { font-size: 13px; font-weight: 700; margin: 0 0 0.3rem; }
.pl-deliver { margin: 0; font-size: 14px; }
@media (max-width: 860px) {
  .pl-factors { grid-template-columns: repeat(2, 1fr); }
  .pl-examples { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .pl-factors { grid-template-columns: 1fr; }
  .pl-tiers { grid-template-columns: 1fr 1fr; }
  .pl-tiers li:nth-child(3) { border-left: 0; }
  .pl-tiers li:nth-child(n+3) { border-top: 1px solid var(--rule); }
}

/* SAI の対話サンプル */
.sai-grid { display: grid; grid-template-columns: minmax(0, 22rem) 1fr; gap: 2.5rem; align-items: start; margin-top: 2rem; }
.sai-phone { background: #fff; border: 1px solid var(--rule); border-radius: 22px; overflow: hidden; box-shadow: 0 10px 30px rgba(31,30,27,0.08); }
.sai-bar { display: flex; align-items: center; gap: 0.6rem; padding: 0.8rem 1rem; border-bottom: 1px solid var(--rule); background: var(--paper); }
.sai-avatar { width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: var(--marker-solid); display: grid; place-items: center; font-weight: 700; font-size: 14px; }
.sai-name { font-weight: 700; }
.sai-sample { margin-left: auto; font-size: 11px; color: var(--muted); border: 1px solid var(--rule); border-radius: 99px; padding: 2px 8px; }
.sai-log { padding: 1rem; display: grid; gap: 0.6rem; }
.sai-msg { display: grid; max-width: 85%; }
.sai-msg.from-user { justify-self: end; justify-items: end; }
.sai-bubble { margin: 0; padding: 0.6rem 0.9rem; border-radius: 16px; font-size: 14.5px; line-height: 1.6; }
.from-sai .sai-bubble { background: var(--paper-2); border-bottom-left-radius: 4px; }
.from-user .sai-bubble { background: var(--ink); color: var(--paper); border-bottom-right-radius: 4px; }
.sai-ref { font-size: 11.5px; color: var(--ink-2); margin-top: 0.25rem; padding-left: 0.4rem; }
.sai-ref::before { content: "▸ "; color: #b89a00; }
.sai-long { position: relative; border: 1px dashed var(--rule); border-radius: 10px; padding: 1rem; max-height: 9.5rem; overflow: hidden; }
.sai-long::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4rem; background: linear-gradient(transparent, var(--paper)); }
.sai-long-label { font-size: 12px; font-weight: 700; color: var(--muted); margin: 0 0 0.4rem; }
.sai-long-text { font-size: 13.5px; line-height: 1.8; color: var(--muted); margin: 0; }
.sai-rules-box { margin-top: 1.6rem; }
.sai-rules-box h3 { font-family: var(--serif); font-weight: 600; font-size: 1.1rem; margin: 0 0 0.6rem; }
.sai-rules { margin: 0; }
.sai-how { margin-top: 3rem; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 1.2rem 2.5rem; align-items: start; }
.sai-how h3 { grid-column: 1 / -1; font-family: var(--serif); font-weight: 600; font-size: 1.25rem; margin: 0; }
.hw-lead { grid-column: 1 / -1; margin: 0; line-height: 1.9; }
.hw-frame { position: relative; border: 3px double var(--ink); border-radius: 14px; padding: 2.2rem 1rem 1rem; background: #fff; display: grid; gap: 0.6rem; }
.hw-rule { position: absolute; top: -0.9rem; left: 1rem; right: 1rem; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.2rem 0.6rem; }
.hw-rule strong { background: var(--ink); color: var(--paper); padding: 0.25rem 0.7rem; border-radius: 99px; font-size: 14px; }
.hw-rule-text { margin: -0.6rem 0 0.2rem; font-size: 12.5px; color: var(--ink-2); }
.hw-card { display: grid; gap: 0.15rem; padding: 0.7rem 0.9rem; border-radius: 8px; }
.hw-card strong { font-size: 14.5px; }
.hw-card > span { font-size: 13px; line-height: 1.6; color: var(--ink-2); }
.hw-company { background: var(--paper-2); border: 1px solid var(--rule); text-align: center; }
.hw-people-label { margin: 0.4rem 0 0; font-size: 12.5px; font-weight: 700; color: var(--muted); text-align: center; }
.hw-question { margin: 0; font-size: 13px; text-align: center; color: var(--ink); background: var(--marker); border-radius: 6px; padding: 0.35rem 0.6rem; }
.hw-people { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hw-person { display: grid; gap: 0.35rem; justify-items: stretch; }
.hw-link { justify-self: center; width: 2px; height: 14px; background: var(--ink-2); }
.hw-me { background: #fff; border: 1.5px solid var(--ink); }
.hw-tags { display: flex; flex-wrap: wrap; gap: 4px; }
.hw-tags span { font-size: 11px; padding: 1px 7px; border-radius: 99px; background: var(--marker); }
.hw-focus { font-size: 12.5px !important; }
.hw-down { text-align: center; font-weight: 700; line-height: 1; }
.hw-reply { display: flex; gap: 0.5rem; align-items: flex-start; background: var(--ink); color: var(--paper); border-radius: 10px; padding: 0.6rem 0.7rem; }
.hw-reply .sai-avatar { flex: none; width: 24px; height: 24px; font-size: 12px; }
.hw-reply p { margin: 0; font-size: 13px; line-height: 1.6; }
.hw-sample { margin: 0.2rem 0 0; font-size: 11.5px; color: var(--muted); text-align: right; }
.hw-summary { margin: 0 0 1rem; font-family: var(--serif); font-weight: 600; font-size: 1.15rem; line-height: 1.8; }
.hw-plus { margin: 0 0 1.6rem; line-height: 1.9; color: var(--ink-2); }
@media (max-width: 420px) { .hw-people { gap: 6px; } .hw-frame { padding-left: 0.6rem; padding-right: 0.6rem; } }
.how-flow { background: #fff; border: 1px solid var(--rule); border-radius: 10px; padding: 1.2rem; display: grid; gap: 0.5rem; }
.how-label { font-size: 12.5px; font-weight: 700; color: var(--muted); margin: 0; }
.how-first { display: grid; gap: 6px; }
.how-card { display: grid; gap: 0.1rem; padding: 0.65rem 0.9rem; border-radius: 6px; background: var(--paper-2); }
.how-card strong { font-size: 14.5px; }
.how-card span { font-size: 13px; color: var(--ink-2); line-height: 1.6; }
.how-note { font-size: 13px; margin: 0.1rem 0 0; color: var(--ink-2); }
.how-plus, .how-eq { text-align: center; font-size: 1.3rem; font-weight: 700; line-height: 1; margin: 0.2rem 0; }
.how-ai { background: #fff; border: 1px dashed var(--ink-2); }
.how-result { display: flex; align-items: center; gap: 0.7rem; padding: 0.8rem 0.9rem; border-radius: 6px; background: var(--ink); color: var(--paper); font-weight: 500; font-size: 14.5px; line-height: 1.6; }
.how-result .sai-avatar { flex: none; }
.how-gap h4 { font-family: var(--serif); font-weight: 600; font-size: 1.1rem; margin: 0 0 0.6rem; }
.how-gap h4::before { content: ""; display: inline-block; width: 0.9em; height: 0.9em; margin-right: 0.4em; vertical-align: -0.08em; border: 2px dashed var(--ink-2); border-radius: 3px; }
.how-gap p { line-height: 1.95; color: var(--ink-2); margin: 0 0 0.8rem; }
@media (max-width: 760px) { .sai-how { grid-template-columns: 1fr; } }
.sai-data { margin-top: 2.5rem; padding: 1.5rem; background: var(--ink); color: var(--paper); border-radius: 10px; }
.sai-data h3 { font-family: var(--serif); font-weight: 600; font-size: 1.2rem; margin: 0 0 0.6rem; line-height: 1.6; }
.sai-data h3 .mark { color: var(--ink); background: var(--marker-solid); padding: 0 0.25em; }
.sai-data-lead { color: #e8e4da; line-height: 1.9; margin: 0 0 1rem; }
.sai-data-list { display: grid; grid-template-columns: auto 1fr; gap: 0.6rem 1.2rem; margin: 0; padding: 1rem 0; border-top: 1px solid #4a4843; border-bottom: 1px solid #4a4843; font-size: 14.5px; line-height: 1.8; }
.sai-data-list dt { font-weight: 700; color: var(--marker-solid); white-space: nowrap; }
.sai-data-list dd { margin: 0; color: #e8e4da; }
.sai-data-closing { margin: 1rem 0 0; line-height: 1.9; font-weight: 500; }
@media (max-width: 520px) {
  .sai-data-list { grid-template-columns: 1fr; gap: 0.15rem; }
  .sai-data-list dd { margin-bottom: 0.6rem; }
}
@media (max-width: 760px) { .sai-grid { grid-template-columns: 1fr; gap: 1.8rem; } }

/* お問い合わせフォーム（黒い背景の上） */
.contact-form { margin-top: 2.4rem; max-width: 40rem; display: grid; gap: 1.4rem; }
.contact-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-form .field { display: grid; gap: 0.5rem; }
.contact-form label { font-size: 0.95rem; font-weight: 700; color: var(--paper); display: flex; align-items: center; gap: 0.6em; }
.contact-form .req, .contact-form .opt {
  font-size: 0.72rem; font-weight: 700; padding: 0.1em 0.55em; border-radius: 3px; letter-spacing: 0.04em;
}
.contact-form .req { background: var(--marker-solid); color: var(--ink); }
.contact-form .opt { border: 1px solid #8a857a; color: #c9c4b8; }
.contact-form input, .contact-form textarea {
  width: 100%; box-sizing: border-box; font: inherit; font-size: 16px; line-height: 1.6;
  padding: 0.85rem 1rem; border-radius: 6px;
  border: 1px solid #5a564e; background: #2b2a26; color: var(--paper);
}
.contact-form textarea { resize: vertical; min-height: 9rem; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #8f8a7f; }
.contact-form input:focus, .contact-form textarea:focus {
  outline: 2px solid var(--marker-solid); outline-offset: 1px; border-color: var(--marker-solid);
}
.contact-form .form-submit {
  justify-self: start; min-width: 12rem; margin-top: 0.4rem;
  background: var(--marker-solid); color: var(--ink); border: 1px solid var(--marker-solid); font-weight: 700;
}
.contact-form .form-submit:hover { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.contact-form .form-submit:disabled { opacity: 0.6; cursor: wait; }
.contact-form .form-note { font-size: 0.85rem; color: #a8a397; margin: 0; }
@media (max-width: 600px) { .contact-form .form-submit { justify-self: stretch; } }

/* 個人情報の取り扱いページ */
.legal-page { padding: 6rem 16px 4rem; }
.legal-inner { max-width: 40rem; margin: 0 auto; }
.legal-inner h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(1.5rem, 5vw, 2rem); margin: 0 0 1.4rem; }
.legal-inner h2 { font-size: 1.05rem; margin: 2.2rem 0 0.5rem; }
.legal-inner p { line-height: 1.95; color: var(--ink-2); margin: 0 0 0.8rem; }
.legal-inner a { color: var(--ink); }
.legal-date { margin-top: 2.5rem !important; font-size: 13px; color: var(--muted) !important; }
.footer-links { list-style: none; margin: 0 0 0.6rem; padding: 0; }
.footer-links a { color: inherit; }
.form-note a { color: inherit; }

/* 送信完了ページ */
.thanks-page { min-height: 70vh; display: grid; place-items: center; padding: 4rem 16px; text-align: center; }
.thanks-page h1 { font-family: "Noto Serif JP", serif; font-size: clamp(1.6rem, 5vw, 2.2rem); margin: 0 0 1.2rem; }
.thanks-page p { line-height: 1.9; margin: 0 0 1rem; }
.thanks-page .why-ctas { justify-content: center; margin-top: 2rem; }

/* ---------- Footer ---------- */
.site-footer {
  padding: 2.4rem var(--gutter) 3rem;
  text-align: center; font-size: 12.5px; color: var(--muted); letter-spacing: 0.08em;
  background: var(--ink);
  border-top: 1px solid #3a3833;
}
.site-footer p { margin: 0 0 0.3rem; }
.site-footer { display: flex; flex-direction: column; align-items: center; }
.footer-mark { order: -1; width: 42px; height: auto; margin-bottom: 1rem; }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; }
.brand-mark { width: 32px; height: auto; flex: none; }
.site-footer .copyright { color: #8d887d; }

.noscript, .load-error { max-width: var(--measure); margin: 4rem auto; padding: 0 var(--gutter); }

@media (max-width: 640px) {
  :root { --gutter: 16px; }
  body { font-size: 16.5px; line-height: 1.9; }
  .section { padding: 72px var(--gutter); }
  .section-head { margin-bottom: 2rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
