/* ============================================================
   TECH ROUTE（テックルート）— service site v3
   コンセプト: 技術を、市場まで運ぶ。
   キーワード: 静かな知性 / 構造 / 翻訳 / 道筋 / 余白 / 温度感 / 実直さ
   配色・フォント・構成はデザイン提案01/02（2026-07）準拠
   ============================================================ */

:root {
  /* v3.2 配色: 白×深紺×到達を示す緑。変数名は旧称のまま値のみ変更
     （orange=緑アクセント / sage=スチールブルー / olive=深紺 / stop=「止まる」の赤） */
  --bg: #F4F6FA;
  --bg-light: #FFFFFF;
  --white: #FFFFFF;
  --text: #202C44;
  --sub: #5C6A82;
  --orange: #0E8C5A;
  --orange-d: #0B7048;
  --stop: #B23A2A;
  --sage: #5E7FA6;
  --sage-l: #E4EBF4;
  --olive: #1B2C4F;
  --line: #D9E0EB;
  --shadow: 0 1px 2px rgba(27, 44, 79, 0.05), 0 8px 24px rgba(27, 44, 79, 0.07);
  --shadow-h: 0 2px 4px rgba(27, 44, 79, 0.06), 0 14px 32px rgba(27, 44, 79, 0.12);
  --head: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --body: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --en: "Inter", "Helvetica Neue", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.95;
  font-size: 16px;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ごく控えめな紙の質感 */
body::after {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: 0.3;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0.12 0 0 0 0 0.17 0 0 0 0 0.28 0 0 0 0.02 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { max-width: 100%; display: block; }
a { color: inherit; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 600px) { .wrap { padding: 0 20px; } }

/* ---------------- typography ---------------- */
h1, h2, h3 {
  font-family: var(--head);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.04em;
  font-feature-settings: "palt" 1;
  /* 日本語の折り返し: 文節で切り、行長を均す（「ありませ／ん。」のような孤立を防ぐ） */
  word-break: auto-phrase;
  text-wrap: balance;
  line-break: strict;
}

::selection { background: var(--sage-l); color: var(--text); }
a:focus-visible, summary:focus-visible, button:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

/* 英字ラベル */
.en-label {
  font-family: var(--en);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--sage);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.en-label::before { content: ""; width: 28px; height: 1px; background: var(--sage); }

.sec-head { margin-bottom: 64px; }
.sec-head .en-label { margin-bottom: 18px; }
.sec-title {
  font-size: clamp(1.55rem, 3.3vw, 2.9rem);
  line-height: 1.55;
  color: var(--text);
}
.sec-lede { margin-top: 26px; color: var(--sub); max-width: 680px; font-size: 1.02rem; }

.em { color: var(--stop); }

/* ---------------- header ---------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  height: 76px;
  background: rgba(244, 246, 250, 0.85);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s, backdrop-filter 0.3s, background 0.3s;
}
.site-header.scrolled {
  backdrop-filter: blur(10px);
  background: rgba(244, 246, 250, 0.92);
  box-shadow: 0 4px 20px rgba(27, 44, 79, 0.07);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 100%;
}
.brand { display: flex; align-items: center; gap: 13px; text-decoration: none; }
.brand-name { font-family: var(--en); font-weight: 600; font-size: 1.14rem; letter-spacing: 0.17em; color: var(--olive); }
.brand-sub { display: block; font-size: 0.6rem; color: var(--sub); letter-spacing: 0.14em; }

.gnav { display: flex; gap: 26px; align-items: center; }
.gnav a {
  text-decoration: none; font-size: 0.85rem; letter-spacing: 0.06em;
  color: var(--sub); position: relative; padding: 4px 0;
  transition: color 0.2s;
}
.gnav a:hover { color: var(--text); }
.gnav a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; bottom: -2px;
  width: 100%; height: 1px; background: var(--orange);
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.25s;
}
.gnav a:not(.nav-cta):hover::after { transform: scaleX(1); transform-origin: left; }
.gnav .nav-cta {
  background: var(--orange); color: #FFF;
  padding: 11px 22px; border-radius: 10px; font-size: 0.82rem;
  font-weight: 700;
  transition: background 0.2s, transform 0.2s;
}
.gnav .nav-cta:hover { background: var(--orange-d); color: #FFF; transform: translateY(-2px); }
@media (max-width: 1020px) { .gnav a:not(.nav-cta) { display: none; } }

/* スマホ: ロゴ＋CTAが1行に収まるよう詰める（375pxで余白ゼロだったため） */
@media (max-width: 600px) {
  .site-header { height: 64px; }
  .brand { gap: 9px; }
  .brand-mark { width: 34px; height: 38px; }
  .brand-name { font-size: 1.02rem; letter-spacing: 0.1em; }
  .brand-sub { display: none; }          /* ヒーローのラベルと重複するため */
  .gnav .nav-cta { padding: 9px 16px; font-size: 0.78rem; white-space: nowrap; }
  .hero { padding-top: 64px; }
}
@media (max-width: 360px) {
  .brand-name { font-size: 0.94rem; letter-spacing: 0.06em; }
  .gnav .nav-cta { padding: 9px 13px; font-size: 0.74rem; }
}

/* ロゴマーク（蛇行する道筋 → 緑のゴール） */
.brand-mark { width: 42px; height: 46px; display: block; flex: none; }
.brand-mark svg { width: 100%; height: 100%; display: block; overflow: visible; }
.bm-road { stroke: var(--olive); }
.bm-node { fill: var(--bg); stroke: var(--olive); }
.bm-mask { fill: var(--bg); }
.bm-goal { stroke: var(--orange); }
.bm-dot { fill: var(--orange); }
.bm-tail-stop { stop-color: var(--olive); }
/* 濃紺の面（フッター）では白抜き＋明るい緑に */
.site-footer .bm-road { stroke: #FFFFFF; }
.site-footer .bm-node { fill: var(--olive); stroke: #FFFFFF; }
.site-footer .bm-mask { fill: var(--olive); }
.site-footer .bm-goal { stroke: #7BD8AC; }
.site-footer .bm-dot { fill: #7BD8AC; }
.site-footer .bm-tail-stop { stop-color: #FFFFFF; }

/* ---------------- buttons ---------------- */
.btn-primary {
  display: inline-flex; align-items: center; gap: 12px;
  height: 56px; padding: 0 28px;
  background: var(--orange); color: #FFF;
  text-decoration: none;
  font-family: var(--head); font-weight: 700;
  font-size: 0.95rem; letter-spacing: 0.06em;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(14, 140, 90, 0.28);
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.btn-primary:hover { background: var(--orange-d); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(14, 140, 90, 0.36); }
.btn-primary .arrow { transition: transform 0.2s; }
.btn-primary:hover .arrow { transform: translateX(4px); }

.btn-secondary {
  display: inline-flex; align-items: center; gap: 10px;
  height: 56px; padding: 0 26px;
  background: transparent;
  color: var(--olive);
  text-decoration: none;
  font-family: var(--head); font-weight: 700;
  font-size: 0.9rem; letter-spacing: 0.05em;
  border: 1.5px solid var(--sage);
  border-radius: 12px;
  transition: background 0.2s, transform 0.2s;
}
.btn-secondary:hover { background: var(--sage-l); transform: translateY(-2px); }

/* ---------------- hero ---------------- */
.hero {
  position: relative;
  padding: 96px 0 24px;
  overflow: hidden;
}
.hero .wrap { position: relative; z-index: 1; }
.hero-photo { position: absolute; inset: 0; z-index: 0; }
.hero-photo img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: 70% center;
  opacity: 0; transition: opacity 0.9s ease;
}
.hero-photo::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, var(--bg) 0%, rgba(244, 246, 250, 0.96) 30%, rgba(244, 246, 250, 0.55) 55%, rgba(244, 246, 250, 0.04) 80%),
    linear-gradient(to top, var(--bg) 0%, rgba(244, 246, 250, 0) 24%);
}
/* 1カラムになる幅では、横方向のグラデーションだと本文が写真に重なって読めない。
   全面を薄く覆う縦方向に切り替える。 */
@media (max-width: 940px) {
  .hero-photo img { object-position: center; }
  .hero-photo::after {
    background:
      linear-gradient(to bottom, rgba(244, 246, 250, 0.95) 0%, rgba(244, 246, 250, 0.93) 60%, rgba(244, 246, 250, 0.8) 100%),
      linear-gradient(to top, var(--bg) 0%, rgba(244, 246, 250, 0) 18%);
  }
}
.nb { display: inline-block; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
}

.hero-label-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 34px; }
.hero-label {
  font-size: 0.8rem; letter-spacing: 0.14em;
  color: var(--olive);
  border: 1px solid var(--line);
  background: var(--bg-light);
  padding: 7px 16px;
  border-radius: 6px;
  font-weight: 500;
}
.hero-since {
  font-family: var(--en);
  font-size: 11px; letter-spacing: 0.22em;
  color: var(--sub);
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(1.6rem, 3.3vw, 2.7rem);
  line-height: 1.55;
  letter-spacing: 0.03em;
  margin-bottom: 32px;
}
.hero h1 .em { color: var(--stop); }

.hero-lede {
  max-width: 560px;
  color: var(--sub);
  font-size: 1.05rem;
  line-height: 2.1;
  margin-bottom: 40px;
}

.hero-cta-row { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.hero-notes { margin-top: 24px; display: grid; gap: 4px; }
.hero-notes p { font-size: 0.78rem; color: var(--sub); line-height: 1.8; }
.hero-notes p::before { content: "※"; margin-right: 4px; }

/* ルート図（写真の上に直接描く） */
.hero-route { position: relative; }
.hero-route svg { width: 100%; max-width: 500px; height: auto; display: block; margin: 0 auto; overflow: visible; }

/* ラベルはすりガラス風チップ */
.chip {
  fill: rgba(255, 255, 255, 0.82);
  stroke: rgba(255, 255, 255, 0.95);
  stroke-width: 1;
  filter: drop-shadow(0 6px 14px rgba(27, 44, 79, 0.16));
}
.chip.goal { fill: #1B2C4F; stroke: rgba(255, 255, 255, 0.3); }
.route-node-label-jp.jp-goal { fill: #FFFFFF; }

/* 淡いゴーストラインが道筋を予告し、紺の線が描かれ、緑の光が流れる */
.route-glow { opacity: 0.5; }
.route-flow {
  opacity: 0;
  animation: flowIn 0.8s ease 5.5s forwards, flowMarch 2.6s linear 5.5s infinite;
}
@keyframes flowIn { to { opacity: 0.65; } }
@keyframes flowMarch { to { stroke-dashoffset: -72; } }

/* ゴールの波紋 */
.goal-ring {
  transform-box: fill-box;
  transform-origin: center;
  opacity: 0;
  animation: goalPulse 2.6s ease-out 5.7s infinite;
}
@keyframes goalPulse {
  0% { transform: scale(0.55); opacity: 0.8; }
  70% { transform: scale(1.5); opacity: 0; }
  100% { transform: scale(1.5); opacity: 0; }
}
.route-node-label-en {
  font-family: var(--en);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.24em;
  fill: var(--sage);
}
.route-node-label-jp {
  font-family: var(--head);
  font-size: 14.5px;
  font-weight: 700;
  fill: var(--text);
  letter-spacing: 0.05em;
}
.route-node-label-en.goal { fill: #7BD8AC; }

/* ヒーロー下：次セクションへ続くルート線 */
.route-connector {
  width: 1.5px; height: 84px;
  background: linear-gradient(to bottom, var(--olive), rgba(53, 68, 59, 0.15));
  margin: 56px auto 0;
}

/* ---------------- section shell ---------------- */
.section { padding: 150px 0; }
.section.tight { padding: 110px 0; }
.section.bg-light { background: var(--bg-light); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
@media (max-width: 600px) { .section { padding: 96px 0; } .section.tight { padding: 80px 0; } }

/* ---------------- 課題カード ---------------- */
.prob-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
@media (max-width: 980px) { .prob-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .prob-grid { grid-template-columns: 1fr; } }
.prob-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 34px 30px;
  transition: transform 0.25s, box-shadow 0.25s;
}
.prob-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-h); }
.prob-card .num {
  font-family: var(--en);
  font-size: 12px; font-weight: 600; letter-spacing: 0.18em;
  color: var(--orange-d);
  display: block;
  margin-bottom: 16px;
}
.prob-card h3 { font-size: 1.06rem; margin-bottom: 10px; line-height: 1.65; }
.prob-card p { font-size: 0.85rem; color: var(--sub); line-height: 1.9; }

/* ---------------- THE GAP ---------------- */
.gap-cols {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}
@media (max-width: 860px) { .gap-cols { grid-template-columns: 1fr; } }
.gap-col { padding: 44px 40px; }
.gap-col h3 {
  font-size: 1.05rem; margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--line);
}
.gap-col.result h3 { border-color: var(--orange); }
.gap-col ul { list-style: none; }
.gap-col li {
  font-size: 0.88rem; color: var(--sub);
  padding: 7px 0 7px 18px;
  position: relative;
}
.gap-col li::before {
  content: ""; position: absolute; left: 0; top: 1.05em;
  width: 6px; height: 1.5px; background: var(--sage);
}
.gap-col.result li::before { background: var(--orange); }
.gap-col.result li { color: var(--text); }
.gap-divider {
  width: 1px;
  background: var(--line);
  position: relative;
}
.gap-divider span {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: var(--olive); color: #FFF;
  font-family: var(--head); font-weight: 700;
  font-size: 0.72rem; letter-spacing: 0.2em;
  writing-mode: vertical-rl;
  padding: 14px 6px;
  border-radius: 6px;
  white-space: nowrap;
}
@media (max-width: 860px) {
  .gap-divider { width: 100%; height: 1px; }
  .gap-divider span { writing-mode: horizontal-tb; padding: 5px 16px; }
}

/* ---------------- THE ROUTE（縦のルート） ---------------- */
.route-steps { position: relative; }
.route-steps::before {
  content: "";
  position: absolute; left: 27px; top: 10px; bottom: 10px;
  width: 1.5px;
  background: var(--line);
}
.route-steps .grow-line {
  position: absolute; left: 27px; top: 10px;
  width: 1.5px; height: 0;
  background: var(--olive);
  transition: height 2.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.route-steps.on .grow-line { height: calc(100% - 20px); }

.route-step {
  position: relative;
  display: grid;
  grid-template-columns: 76px 1fr 380px;
  gap: 36px;
  padding: 44px 0;
  align-items: start;
}
.route-step.no-img { grid-template-columns: 76px 1fr; }
@media (max-width: 980px) {
  .route-step, .route-step.no-img { grid-template-columns: 76px 1fr; }
  .route-step .img-slot { grid-column: 2; margin-top: 20px; }
}
.route-step .step-node {
  position: relative;
  width: 56px; height: 56px;
  background: var(--white);
  border: 1.5px solid var(--olive);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--en); font-size: 13px; font-weight: 600;
  color: var(--olive);
  letter-spacing: 0.04em;
  z-index: 1;
}
.route-step:last-child .step-node { background: var(--orange); border-color: var(--orange); color: #FFF; }
.route-step h3 { font-size: 1.4rem; margin-bottom: 4px; }
.route-step .step-sub { font-size: 0.9rem; color: var(--sage); font-weight: 700; font-family: var(--head); margin-bottom: 16px; }
.route-step ul { list-style: none; display: grid; gap: 5px; margin-bottom: 18px; }
.route-step li {
  font-size: 0.88rem; color: var(--sub);
  padding-left: 18px; position: relative;
}
.route-step li::before {
  content: ""; position: absolute; left: 0; top: 0.95em;
  width: 6px; height: 1.5px; background: var(--sage);
}
.deliv-chip {
  display: inline-block;
  font-size: 0.78rem;
  color: var(--olive);
  background: var(--sage-l);
  border-radius: 6px;
  padding: 6px 14px;
  line-height: 1.7;
}
.deliv-chip strong { font-family: var(--head); margin-right: 6px; }

/* ---------------- 画像アタリ ---------------- */
.img-slot {
  position: relative;
  background:
    repeating-linear-gradient(-45deg, rgba(113, 141, 122, 0.06) 0 16px, transparent 16px 32px),
    var(--sage-l);
  border: 1px dashed var(--sage);
  border-radius: 10px;
  overflow: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px;
  padding: 24px;
  text-align: center;
}
.img-slot.ratio-169 { aspect-ratio: 16 / 9; }
.img-slot.ratio-32 { aspect-ratio: 3 / 2; }
.img-slot .slot-tag {
  font-family: var(--en);
  font-size: 11px; font-weight: 600; letter-spacing: 0.2em;
  color: var(--white);
  background: var(--olive);
  padding: 4px 12px;
  border-radius: 4px;
}
.img-slot .slot-desc { font-size: 0.76rem; color: var(--olive); line-height: 1.7; max-width: 260px; }
.img-slot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------------- SUPPORT ---------------- */
.support-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 860px) { .support-grid { grid-template-columns: 1fr; } }
.support-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 40px 38px;
  transition: transform 0.25s, box-shadow 0.25s;
}
.support-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-h); }
.support-card .sc-num {
  font-family: var(--en); font-size: 12px; font-weight: 600;
  letter-spacing: 0.18em; color: var(--sage);
  display: block; margin-bottom: 14px;
}
.support-card h3 { font-size: 1.2rem; margin-bottom: 16px; }
.support-card ul { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 5px 18px; }
@media (max-width: 500px) { .support-card ul { grid-template-columns: 1fr; } }
.support-card li {
  font-size: 0.85rem; color: var(--sub);
  padding-left: 16px; position: relative;
}
.support-card li::before {
  content: ""; position: absolute; left: 0; top: 0.95em;
  width: 6px; height: 1.5px; background: var(--sage);
}

/* ---------------- 翻訳の実例 ---------------- */
.model-note {
  display: inline-block;
  font-size: 0.8rem; color: var(--sub);
  border: 1px solid var(--line);
  background: var(--bg-light);
  border-radius: 8px;
  padding: 10px 20px;
  margin-bottom: 44px;
}
.model-note strong { color: var(--olive); }

.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 980px) { .case-grid { grid-template-columns: 1fr; } }
.case-card {
  text-decoration: none;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 34px 30px;
  display: flex; flex-direction: column; gap: 18px;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.case-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-h); border-color: var(--sage); }
.case-tag {
  font-family: var(--en);
  font-size: 11px; font-weight: 600; letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sage);
}
.case-tag .jp { font-family: var(--head); font-size: 0.82rem; color: var(--olive); letter-spacing: 0.08em; margin-left: 10px; }
.case-pair { display: grid; gap: 10px; flex: 1; }
.case-pair .cb {
  font-size: 0.85rem; color: var(--sub);
  background: var(--bg);
  border-radius: 8px;
  padding: 14px 18px;
  line-height: 1.8;
  position: relative;
}
.case-pair .cb::before {
  content: "技術者の説明";
  display: block;
  font-size: 0.68rem; letter-spacing: 0.12em; color: var(--sub);
  margin-bottom: 6px; opacity: 0.75;
}
.case-pair .ca {
  font-size: 0.95rem; color: var(--text); font-weight: 700;
  font-family: var(--head);
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 3px solid var(--orange);
  border-radius: 8px;
  padding: 14px 18px;
  line-height: 1.8;
  transition: box-shadow 0.25s;
}
.case-card:hover .ca { box-shadow: var(--shadow); }
.case-pair .ca::before {
  content: "顧客に伝わる表現";
  display: block;
  font-size: 0.68rem; letter-spacing: 0.12em; color: var(--orange-d);
  margin-bottom: 6px; font-family: var(--body); font-weight: 400;
}
.case-values { display: flex; flex-wrap: wrap; gap: 8px; }
.case-values span {
  font-size: 0.75rem; color: var(--olive);
  background: var(--sage-l);
  border-radius: 5px;
  padding: 4px 12px;
}
.case-more {
  font-family: var(--en);
  font-size: 11px; font-weight: 600; letter-spacing: 0.18em;
  color: var(--orange-d);
  align-self: flex-end;
}

/* ---------------- WHY US ---------------- */
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid var(--line); }
@media (max-width: 780px) { .why-grid { grid-template-columns: 1fr; } }
.why-item {
  padding: 40px 36px 40px 0;
  border-bottom: 1px solid var(--line);
  display: grid; grid-template-columns: 60px 1fr; gap: 20px;
  align-items: start;
}
.why-item .num {
  font-family: var(--en); font-size: 26px; font-weight: 600;
  color: var(--sage);
  line-height: 1.3;
}
.why-item h3 { font-size: 1.12rem; margin-bottom: 8px; }
.why-item p { font-size: 0.88rem; color: var(--sub); }

/* ---------------- 支援対象 ---------------- */
.target-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
@media (max-width: 1080px) { .target-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 680px) { .target-grid { grid-template-columns: 1fr; } }
.target-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 30px 24px;
}
.target-card h3 { font-size: 0.98rem; margin-bottom: 10px; padding-bottom: 10px; border-bottom: 2px solid var(--sage-l); }
.target-card p { font-size: 0.8rem; color: var(--sub); line-height: 1.85; }

.fields-lead { margin-top: 76px; }
.fields-lead h3 { font-size: 1.22rem; margin-bottom: 10px; }
.fields-lead p { font-size: 0.92rem; color: var(--sub); max-width: 700px; }
.fields-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 28px; }
.fields-more { margin-top: 40px; }
.fm-label { font-family: var(--head); font-weight: 700; font-size: 0.88rem; color: var(--olive); margin-bottom: 14px; }
.fm-note { margin-top: 20px; font-size: 0.82rem; color: var(--sub); line-height: 1.95; max-width: 780px; }
@media (max-width: 780px) { .fields-strip { grid-template-columns: 1fr; } }
.field-card .img-slot { margin-bottom: 16px; }
.field-card h3 { font-size: 1.02rem; margin-bottom: 4px; }
.field-card p { font-size: 0.8rem; color: var(--sub); }

/* ---------------- ABOUT ---------------- */
.about-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: start; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } }
.about-copy p { font-size: 0.95rem; color: var(--sub); line-height: 2.1; margin-bottom: 18px; }
.about-copy p strong { color: var(--text); }
.about-facts {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 36px;
}
.about-facts dl { display: grid; grid-template-columns: 130px 1fr; font-size: 0.88rem; }
@media (max-width: 520px) { .about-facts dl { grid-template-columns: 1fr; } }
.about-facts dt {
  font-family: var(--head); font-weight: 700;
  padding: 18px 0; border-bottom: 1px solid var(--line);
  color: var(--olive);
}
.about-facts dd { padding: 18px 0; border-bottom: 1px solid var(--line); color: var(--sub); }
.about-facts dl > dt:last-of-type, .about-facts dl > dd:last-of-type { border-bottom: none; }
@media (max-width: 520px) { .about-facts dt { padding-bottom: 0; border-bottom: none; } }

/* ---------------- 料金 ---------------- */
.price-flex { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: start; }
@media (max-width: 940px) { .price-flex { grid-template-columns: 1fr; } }

.free-card {
  background: var(--olive);
  color: var(--bg-light);
  border-radius: 14px;
  padding: 48px 44px;
}
.free-card .en-label { color: #9FB6DE; }
.free-card .en-label::before { background: #9FB6DE; }
.free-card h3 { font-size: 1.7rem; margin: 14px 0 8px; color: #FFF; }
.free-card .fc-price { font-family: var(--en); font-size: 15px; letter-spacing: 0.12em; color: #9FB6DE; margin-bottom: 24px; }
.free-card h4 { font-family: var(--head); font-size: 0.9rem; color: #C7D4E8; margin: 22px 0 8px; letter-spacing: 0.08em; }
.free-card ul { list-style: none; display: grid; gap: 5px; }
.free-card li {
  font-size: 0.88rem; color: rgba(252, 250, 246, 0.85);
  padding-left: 18px; position: relative;
}
.free-card li::before {
  content: ""; position: absolute; left: 0; top: 0.95em;
  width: 6px; height: 1.5px; background: var(--orange);
}
.free-card .fc-note { font-size: 0.8rem; color: rgba(252, 250, 246, 0.65); margin-top: 18px; }
.free-card .btn-primary { margin-top: 28px; }

.ref-price h3 { font-size: 1.05rem; margin-bottom: 20px; color: var(--olive); }
.ref-table { display: grid; gap: 0; border-top: 1px solid var(--line); }
.ref-row {
  display: flex; justify-content: space-between; align-items: baseline; gap: 20px;
  padding: 22px 4px;
  border-bottom: 1px solid var(--line);
}
.ref-row .rname { font-family: var(--head); font-weight: 700; font-size: 0.98rem; }
.ref-row .rname small { display: block; font-family: var(--body); font-weight: 400; font-size: 0.78rem; color: var(--sub); margin-top: 2px; }
.ref-row .rprice { font-family: var(--head); font-weight: 700; font-size: 1.1rem; white-space: nowrap; color: var(--olive); }
.ref-row .rprice small { font-size: 0.75rem; font-weight: 400; color: var(--sub); }
.ref-note { margin-top: 18px; font-size: 0.78rem; color: var(--sub); line-height: 1.9; }
.monitor-line {
  margin-top: 22px;
  font-size: 0.85rem;
  border-left: 3px solid var(--orange);
  padding: 4px 0 4px 16px;
  color: var(--text);
}

/* ---------------- FAQ ---------------- */
.faq { border-top: 1px solid var(--line); max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none;
  font-family: var(--head); font-weight: 700; font-size: 1.02rem;
  padding: 26px 44px 26px 0;
  position: relative;
  transition: color 0.2s;
  line-height: 1.7;
}
.faq summary:hover { color: var(--orange-d); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "＋"; position: absolute; right: 4px; top: 50%;
  transform: translateY(-50%);
  color: var(--sage); font-family: var(--head);
  transition: transform 0.2s;
}
.faq details[open] summary::after { content: "－"; color: var(--orange); }
.faq .ans { padding: 0 0 28px; font-size: 0.9rem; color: var(--sub); max-width: 720px; }

/* ---------------- 最終CTA ---------------- */
.cta-final {
  padding: 160px 0;
  text-align: center;
  background: var(--bg-light);
  border-top: 1px solid var(--line);
  position: relative;
}
.cta-final::before {
  content: "";
  position: absolute; top: 0; left: 50%;
  width: 1.5px; height: 72px;
  background: linear-gradient(to bottom, var(--olive), transparent);
}
.cta-final h2 { font-size: clamp(1.7rem, 3.2vw, 2.6rem); margin-bottom: 24px; line-height: 1.65; }
.cta-final .cta-body { color: var(--sub); font-size: 0.98rem; margin-bottom: 44px; }
.cta-final .cta-sub { margin-top: 24px; font-size: 0.85rem; }
.cta-final .cta-sub a { color: var(--olive); text-underline-offset: 4px; }
.cta-final .cta-sub a:hover { color: var(--orange); }

/* ---------------- footer ---------------- */
.site-footer { background: var(--olive); color: rgba(252, 250, 246, 0.8); padding: 72px 0 44px; font-size: 0.84rem; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 36px; flex-wrap: wrap; align-items: flex-start; }
.site-footer .brand-name { color: #FFF; }
.site-footer .brand-sub { color: rgba(252, 250, 246, 0.55); }
.site-footer nav { display: flex; gap: 24px; flex-wrap: wrap; }
.site-footer nav a { text-decoration: none; color: rgba(252, 250, 246, 0.75); }
.site-footer nav a:hover { color: #FFF; }
.footer-legal {
  width: 100%; margin-top: 40px; padding-top: 24px;
  border-top: 1px solid rgba(252, 250, 246, 0.16);
  font-size: 0.74rem; color: rgba(252, 250, 246, 0.5);
  line-height: 2;
}

/* ---------------- 事例詳細ページ ---------------- */
.case-hero { padding: 76px 0 64px; border-bottom: 1px solid var(--line); }
.case-hero .crumb { font-size: 0.78rem; color: var(--sub); margin-bottom: 28px; }
.case-hero .crumb a { color: inherit; text-decoration: none; }
.case-hero .crumb a:hover { color: var(--orange); }
.case-hero .case-tag { margin-bottom: 18px; display: inline-block; }
.case-hero h1 { font-size: clamp(1.5rem, 3.2vw, 2.4rem); line-height: 1.7; max-width: 860px; }
.case-body { padding: 76px 0 110px; }
.case-sec { margin-bottom: 76px; }
.case-sec .en-label { margin-bottom: 14px; }
.case-sec h2 { font-size: 1.35rem; margin-bottom: 28px; }

.trans-pair { display: grid; grid-template-columns: 1fr 56px 1fr; gap: 0; align-items: stretch; }
@media (max-width: 820px) { .trans-pair { grid-template-columns: 1fr; } }
.trans-box { padding: 36px 34px; font-size: 0.95rem; border-radius: 12px; line-height: 2; }
.trans-box .label {
  display: block;
  font-size: 0.7rem; letter-spacing: 0.16em;
  margin-bottom: 14px;
}
.trans-box.before { background: var(--bg); border: 1px solid var(--line); color: var(--sub); }
.trans-box.before .label { color: var(--sub); }
.trans-box.after {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 3px solid var(--orange);
  font-family: var(--head); font-weight: 700; font-size: 1.05rem;
  box-shadow: var(--shadow);
}
.trans-box.after .label { color: var(--orange-d); font-family: var(--body); font-weight: 400; }
.trans-arrow {
  display: flex; align-items: center; justify-content: center;
  color: var(--olive); font-family: var(--en); font-size: 18px;
}
@media (max-width: 820px) { .trans-arrow { transform: rotate(90deg); padding: 8px 0; } }

.point-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 820px) { .point-list { grid-template-columns: 1fr; } }
.point-card {
  background: var(--white); border: 1px solid var(--line); border-radius: 12px;
  padding: 28px 26px;
}
.point-card .num { font-family: var(--en); font-size: 12px; font-weight: 600; letter-spacing: 0.16em; color: var(--sage); display: block; margin-bottom: 12px; }
.point-card h3 { font-size: 1rem; margin-bottom: 8px; }
.point-card p { font-size: 0.83rem; color: var(--sub); }
.point-card.hot { border-color: var(--orange); }
.point-card.hot .num { color: var(--orange); }

.plain-table {
  width: 100%; border-collapse: separate; border-spacing: 0;
  font-size: 0.88rem;
  background: var(--white); border: 1px solid var(--line); border-radius: 12px;
  overflow: hidden;
}
.plain-table th, .plain-table td { padding: 16px 22px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.plain-table tr:last-child th, .plain-table tr:last-child td { border-bottom: none; }
.plain-table th { background: var(--bg); font-family: var(--head); font-weight: 700; white-space: nowrap; }

.chip-row { display: flex; flex-wrap: wrap; gap: 10px; }
.chip-row span {
  font-size: 0.82rem; color: var(--olive);
  background: var(--sage-l); border-radius: 6px;
  padding: 7px 16px;
}

.case-nav { display: flex; justify-content: space-between; gap: 20px; margin-top: 24px; padding-top: 40px; border-top: 1px solid var(--line); flex-wrap: wrap; }

/* ---------------- reveal ---------------- */
.rv { opacity: 0; transform: translateY(20px); transition: opacity 0.65s ease, transform 0.65s ease; }
.rv.on { opacity: 1; transform: none; }
.rv.stagger { opacity: 1; transform: none; }
.stagger > * {
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.25s ease;
}
.stagger.on > * { opacity: 1; transform: none; }
.stagger .settled { transition: transform 0.25s, box-shadow 0.25s; opacity: 1; transform: none; }
.stagger.on > .prob-card:hover, .stagger.on > .support-card:hover { transform: translateY(-3px); }
.stagger.on > .case-card:hover { transform: translateY(-4px); }

/* ルート図の描画アニメーション（main.jsが制御） */
.route-path-anim { transition: stroke-dashoffset 4.8s cubic-bezier(0.45, 0, 0.25, 1); }
.route-node { opacity: 0; transition: opacity 0.6s ease; }
.route-node.lit { opacity: 1; }

/* ============================================================
   相談フォーム / 運営会社への導線（v3.3）
   ============================================================ */

.contact-section {
  padding: 150px 0;
  background: var(--bg-light);
  border-top: 1px solid var(--line);
  position: relative;
}
.contact-section::before {
  content: "";
  position: absolute; top: 0; left: 50%;
  width: 1.5px; height: 64px;
  background: linear-gradient(to bottom, var(--olive), transparent);
}
@media (max-width: 600px) { .contact-section { padding: 96px 0; } }

.contact-grid { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 36px; align-items: start; }
@media (max-width: 940px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---- フォーム本体 ---- */
.consult-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 46px 44px;
  box-shadow: var(--shadow);
}
@media (max-width: 600px) { .consult-form { padding: 32px 22px; } }

.f-block { margin-bottom: 30px; }
.f-block:last-of-type { margin-bottom: 22px; }
.f-label {
  display: block;
  font-family: var(--head); font-weight: 700; font-size: 0.95rem;
  margin-bottom: 12px;
}
.f-req, .f-opt {
  font-family: var(--body); font-weight: 400; font-size: 0.7rem;
  margin-left: 8px; padding: 2px 8px; border-radius: 4px;
  vertical-align: 2px;
}
.f-req { color: #FFF; background: var(--stop); }
.f-opt { color: var(--sub); background: var(--bg); }
.f-hint { font-size: 0.78rem; color: var(--sub); margin-top: 8px; line-height: 1.8; }

.consult-form input[type="text"],
.consult-form input[type="email"],
.consult-form input[type="tel"],
.consult-form textarea {
  width: 100%;
  font-family: var(--body); font-size: 0.95rem; color: var(--text);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 16px;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.consult-form textarea { min-height: 120px; resize: vertical; line-height: 1.9; }
.consult-form input:focus, .consult-form textarea:focus {
  outline: none;
  border-color: var(--orange);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(14, 140, 90, 0.12);
}
.consult-form input::placeholder, .consult-form textarea::placeholder { color: #A9B3C4; }

.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .f-row { grid-template-columns: 1fr; } }

/* ---- 「どこで止まっていますか」ラジオ ---- */
.stop-options { display: grid; gap: 10px; }
.stop-option input { position: absolute; opacity: 0; width: 0; height: 0; }
.stop-option span {
  display: block; cursor: pointer;
  border: 1.5px solid var(--line); border-radius: 10px;
  padding: 14px 18px 14px 48px;
  font-size: 0.9rem; color: var(--text);
  background: var(--bg);
  transition: border-color 0.18s, background 0.18s, box-shadow 0.18s;
  position: relative;
}
.stop-option span::before {
  content: ""; position: absolute; left: 18px; top: 50%; transform: translateY(-50%);
  width: 16px; height: 16px; border-radius: 50%;
  border: 1.5px solid var(--sage); background: #FFF;
  transition: border 0.18s;
}
.stop-option span:hover { border-color: var(--sage); }
.stop-option input:checked + span {
  border-color: var(--orange); background: #FFF;
  box-shadow: 0 0 0 3px rgba(14, 140, 90, 0.1);
}
.stop-option input:checked + span::before { border: 5px solid var(--orange); }
.stop-option input:focus-visible + span { outline: 2px solid var(--orange); outline-offset: 2px; }

/* ---- 送信 ---- */
.f-submit { border: none; cursor: pointer; width: 100%; justify-content: center; font-size: 1rem; }
.f-note { margin-top: 16px; font-size: 0.78rem; color: var(--sub); line-height: 1.9; }
.f-status {
  margin-top: 18px; padding: 16px 20px; border-radius: 10px;
  font-size: 0.86rem; line-height: 1.85; display: none;
}
.f-status.on { display: block; }
.f-status.ok { background: var(--sage-l); border: 1px solid rgba(14, 140, 90, 0.35); color: var(--olive); }
.f-status.ng { background: #FBEDEB; border: 1px solid rgba(178, 58, 42, 0.3); color: var(--stop); }
.f-status a { color: inherit; font-weight: 700; }

/* ---- サイド（相談の流れ・対象範囲） ---- */
.contact-side { display: grid; gap: 18px; }
.side-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 30px 28px;
}
.side-card.scope { background: var(--sage-l); border-color: rgba(94, 127, 166, 0.3); }
.side-card h3 { font-size: 1rem; margin-bottom: 16px; }
.side-card ol { list-style: none; counter-reset: st; display: grid; gap: 13px; }
.side-card ol li {
  counter-increment: st;
  font-size: 0.85rem; color: var(--sub); line-height: 1.8;
  padding-left: 32px; position: relative;
}
.side-card ol li::before {
  content: counter(st);
  position: absolute; left: 0; top: 3px;
  width: 21px; height: 21px; border-radius: 50%;
  background: var(--olive); color: #FFF;
  font-family: var(--en); font-size: 11px; font-weight: 600;
  display: flex; align-items: center; justify-content: center;
}
.side-card ul { list-style: none; display: grid; gap: 11px; }
.side-card ul li {
  font-size: 0.84rem; color: var(--sub); line-height: 1.85;
  padding-left: 18px; position: relative;
}
.side-card ul li::before {
  content: ""; position: absolute; left: 0; top: 0.9em;
  width: 6px; height: 1.5px; background: var(--sage);
}
.side-card .direct { font-size: 0.85rem; color: var(--sub); line-height: 1.9; }
.side-card .direct a { color: var(--orange-d); font-weight: 700; word-break: break-all; }

/* ---- 運営会社リンク ---- */
.company-link {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--head); font-weight: 700;
  font-size: 0.86rem; color: var(--olive); text-decoration: none;
  border-bottom: 1px solid rgba(27, 44, 79, 0.28);
  padding-bottom: 3px;
  transition: color 0.2s, border-color 0.2s;
}
.company-link:hover { color: var(--orange-d); border-color: var(--orange-d); }
.company-link .ext { font-size: 0.82em; }
.about-copy .company-link { margin-top: 6px; }
.about-facts a { color: var(--olive); }
.about-facts a:hover { color: var(--orange-d); }
.site-footer .company-link { color: rgba(252, 250, 246, 0.88); border-color: rgba(252, 250, 246, 0.32); }
.site-footer .company-link:hover { color: #FFF; border-color: #FFF; }
.footer-legal a { color: rgba(252, 250, 246, 0.72); }
.footer-legal a:hover { color: #FFF; }

/* ---------------- 翻訳の原点（実際にやってきたこと） ---------------- */
.origin-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 44px; align-items: start; }
@media (max-width: 900px) { .origin-grid { grid-template-columns: 1fr; gap: 30px; } }

.origin-body p { font-size: 0.98rem; color: var(--sub); line-height: 2.15; margin-bottom: 22px; }
.origin-body p:last-child { margin-bottom: 0; }
.origin-body strong { color: var(--text); }
.origin-key {
  color: var(--text) !important;
  border-left: 3px solid var(--orange);
  padding: 6px 0 6px 22px;
  font-size: 1.02rem !important;
}

.origin-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 32px 30px;
  box-shadow: var(--shadow);
}
.oc-label { font-family: var(--head); font-weight: 700; font-size: 0.88rem; color: var(--olive); margin-bottom: 16px; }
.origin-card ul { list-style: none; display: grid; gap: 13px; }
.origin-card li {
  font-size: 0.86rem; color: var(--sub); line-height: 1.85;
  padding-left: 18px; position: relative;
}
.origin-card li::before {
  content: ""; position: absolute; left: 0; top: 0.9em;
  width: 6px; height: 1.5px; background: var(--sage);
}
.oc-note {
  margin-top: 20px; padding-top: 18px;
  border-top: 1px dashed var(--line);
  font-size: 0.8rem; color: var(--sub); line-height: 1.95;
}

/* ============================================================
   v3.4 — 無料サンプル提供 / 現在地表示 / フォームの応答
   ============================================================ */

/* ---- 読み進みライン（画面最上部。ルート＝道を進むメタファー） ---- */
#route-progress {
  position: fixed; top: 0; left: 0; z-index: 200;
  height: 2px; width: 0;
  background: linear-gradient(90deg, var(--olive), var(--orange));
  transition: width 0.1s linear;
}

/* ---- ナビの現在地 ---- */
.gnav a.current { color: var(--text); font-weight: 700; }
.gnav a.current:not(.nav-cta)::after { transform: scaleX(1); transform-origin: left; }

/* ---- 無料サンプル（用途仮説シート） ---- */
.sample-band {
  background: var(--olive);
  color: var(--bg-light);
  padding: 130px 0;
  position: relative;
  overflow: hidden;
}
.sample-band::after {
  content: "";
  position: absolute; right: -140px; top: -120px;
  width: 520px; height: 520px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.035);
  pointer-events: none;
}
@media (max-width: 600px) { .sample-band { padding: 88px 0; } }

.sample-grid { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 44px; align-items: start; position: relative; }
@media (max-width: 900px) { .sample-grid { grid-template-columns: 1fr; gap: 30px; } }

.sample-band .en-label { color: #9FB6DE; margin-bottom: 18px; }
.sample-band .en-label::before { background: #9FB6DE; }
.sample-main h2 {
  font-size: clamp(1.5rem, 2.9vw, 2.3rem);
  color: #FFF;
  line-height: 1.55;
  margin-bottom: 24px;
}
.sample-lede { color: rgba(252, 250, 246, 0.85); font-size: 1rem; line-height: 2.1; margin-bottom: 34px; max-width: 640px; }
.sample-lede strong { color: #FFF; }

.sample-h {
  font-family: var(--head); font-weight: 700; font-size: 0.9rem;
  color: #C7D4E8; margin-bottom: 16px;
  padding-bottom: 10px; border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  max-width: 640px;
}
.sample-list { list-style: none; display: grid; gap: 12px; margin-bottom: 36px; max-width: 640px; }
.sample-list li {
  display: grid; grid-template-columns: 34px 1fr; gap: 12px;
  font-size: 0.92rem; color: rgba(252, 250, 246, 0.92); line-height: 1.85;
}
.sample-list li span {
  font-family: var(--en); font-size: 11px; font-weight: 600; letter-spacing: 0.1em;
  color: #7BD8AC; padding-top: 5px;
}

.sample-cond {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  padding: 30px 28px;
}
.sc-label { font-family: var(--head); font-weight: 700; font-size: 0.88rem; color: #C7D4E8; margin-bottom: 16px; }
.sample-cond ul { list-style: none; display: grid; gap: 13px; }
.sample-cond li {
  font-size: 0.83rem; color: rgba(252, 250, 246, 0.78); line-height: 1.9;
  padding-left: 18px; position: relative;
}
.sample-cond li::before {
  content: ""; position: absolute; left: 0; top: 0.9em;
  width: 6px; height: 1.5px; background: #7BD8AC;
}

/* ---- フォーム: 段階選択への応答 ---- */
.stage-reply {
  margin-top: 14px;
  background: var(--sage-l);
  border-left: 3px solid var(--orange);
  border-radius: 0 8px 8px 0;
  padding: 14px 18px;
  font-size: 0.85rem; line-height: 1.85; color: var(--olive);
  display: none;
}
.stage-reply.on { display: block; animation: replyIn 0.35s ease; }
@keyframes replyIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* ---- フォーム: 用途仮説シート希望チェック ---- */
.sample-check {
  margin-top: 4px; margin-bottom: 26px;
  background: var(--sage-l);
  border: 1.5px solid rgba(14, 140, 90, 0.3);
  border-radius: 12px;
  padding: 18px 20px;
  display: flex; gap: 14px; align-items: flex-start;
  cursor: pointer;
}
.sample-check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--orange); flex: none; cursor: pointer; }
.sample-check .sk-body strong { display: block; font-family: var(--head); font-size: 0.94rem; margin-bottom: 3px; color: var(--text); }
.sample-check .sk-body span { font-size: 0.8rem; color: var(--sub); line-height: 1.8; }

/* ---- 料金: 診断レポートの目次を開示 ---- */
.ref-detail { margin-top: 20px; }
.ref-detail summary {
  cursor: pointer; list-style: none;
  font-family: var(--head); font-weight: 700; font-size: 0.86rem;
  color: var(--olive);
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 0;
}
.ref-detail summary::-webkit-details-marker { display: none; }
.ref-detail summary::after { content: "＋"; color: var(--orange); }
.ref-detail[open] summary::after { content: "－"; }
.ref-detail ol {
  counter-reset: rd; list-style: none;
  margin-top: 12px; display: grid; gap: 8px;
  background: var(--white); border: 1px solid var(--line); border-radius: 12px;
  padding: 22px 26px;
}
.ref-detail li {
  counter-increment: rd;
  font-size: 0.84rem; color: var(--sub);
  padding-left: 30px; position: relative; line-height: 1.8;
}
.ref-detail li::before {
  content: counter(rd, decimal-leading-zero);
  position: absolute; left: 0;
  font-family: var(--en); font-size: 11px; font-weight: 600; color: var(--sage);
}
.ref-detail li.hot { color: var(--text); font-weight: 700; }
.ref-detail li.hot::before { color: var(--orange); }

/* ============================================================
   法務ページ（プライバシーポリシー・特定商取引法に基づく表記）
   ============================================================ */
.doc-hero { padding: 76px 0 56px; border-bottom: 1px solid var(--line); }
.doc-hero .crumb { font-size: 0.78rem; color: var(--sub); margin-bottom: 26px; }
.doc-hero .crumb a { color: inherit; text-decoration: none; }
.doc-hero .crumb a:hover { color: var(--orange-d); }
.doc-hero h1 { font-size: clamp(1.5rem, 3.2vw, 2.3rem); line-height: 1.6; }
.doc-hero .lead { margin-top: 20px; color: var(--sub); font-size: 0.95rem; max-width: 720px; }

.doc-body { padding: 64px 0 110px; }
.doc-body .wrap { max-width: 860px; }
.doc-sec { margin-bottom: 44px; }
.doc-sec:last-child { margin-bottom: 0; }
.doc-sec h2 {
  font-size: 1.12rem; margin-bottom: 16px;
  padding-bottom: 12px; border-bottom: 1px solid var(--line);
  display: flex; align-items: baseline; gap: 12px;
}
.doc-sec h2 .n {
  font-family: var(--en); font-size: 12px; font-weight: 600;
  letter-spacing: 0.14em; color: var(--orange); flex: none;
}
.doc-sec p { font-size: 0.93rem; color: var(--sub); line-height: 2.1; margin-bottom: 14px; }
.doc-sec p:last-child { margin-bottom: 0; }
.doc-sec strong { color: var(--text); }
.doc-sec ul { list-style: none; display: grid; gap: 10px; margin: 6px 0 14px; }
.doc-sec ul li {
  font-size: 0.9rem; color: var(--sub); line-height: 1.95;
  padding-left: 18px; position: relative;
}
.doc-sec ul li::before {
  content: ""; position: absolute; left: 0; top: 0.92em;
  width: 6px; height: 1.5px; background: var(--sage);
}
.doc-sec a { color: var(--olive); }
.doc-sec a:hover { color: var(--orange-d); }

.doc-table {
  width: 100%; border-collapse: separate; border-spacing: 0;
  background: var(--white); border: 1px solid var(--line); border-radius: 12px;
  overflow: hidden; font-size: 0.9rem;
}
.doc-table th, .doc-table td { padding: 16px 20px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.doc-table tr:last-child th, .doc-table tr:last-child td { border-bottom: none; }
.doc-table th {
  background: var(--bg); font-family: var(--head); font-weight: 700;
  white-space: nowrap; width: 200px; color: var(--olive);
}
.doc-table td { color: var(--sub); line-height: 2 }
.doc-table td strong { color: var(--text); }
@media (max-width: 640px) {
  .doc-table, .doc-table tbody, .doc-table tr, .doc-table th, .doc-table td { display: block; width: 100%; }
  .doc-table th { border-bottom: none; padding-bottom: 4px; }
  .doc-table td { padding-top: 4px; }
}

.doc-note {
  margin-top: 40px; padding: 22px 26px;
  background: var(--sage-l); border-radius: 12px;
  font-size: 0.85rem; color: var(--olive); line-height: 2;
}
.doc-updated { margin-top: 40px; font-size: 0.82rem; color: var(--sub); }

/* フッターの法務リンク */
.footer-legal-links { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 14px; }
.footer-legal-links a { font-size: 0.78rem; color: rgba(252, 250, 246, 0.72); text-decoration: none; }
.footer-legal-links a:hover { color: #FFF; }

/* フォームの同意文 */
.f-consent { margin-top: 14px; font-size: 0.78rem; color: var(--sub); line-height: 1.9; }
.f-consent a { color: var(--olive); font-weight: 700; }
.f-consent a:hover { color: var(--orange-d); }
