/*
  カスハラ窓口AI の見た目（LP・ご利用の条件・規約・ポリシー・申込みの5ページで共通）
  2026-09-28 デザインから作り直した（開発部 デザイン係）。2026-09-29 に LP.md 版3 へ：
  ①の札（奨励金の金額）をページでいちばん先に目に入る所にし、料金と奨励金の2つの枠を同じ重さで並べた。
  ④は見本の画面に5つの吹き出しを番号でつないだ。
  2026-09-30 に版3.1 へ：⑨を6ジャンル（開閉しない小見出し＋ジャンルへのリンクの行）にし、⑨の下といちばん下に「質問する」（枠線だけの控えめなボタン）を足した。

  色（2色＋中間色）
    常盤（ときわ）の緑 --green   … 信頼。見出しの印・ボタン・図の線
    山吹（やまぶき）  --yellow  … 目を引く所だけ（新しい報告・日付・大事な印）
    紙・墨・中間の灰緑           … 地と文字
    赤 --ph は「公開のときに入れる所」の枠と確認用の帯だけに使う（ほかで赤を使わない）
  文字
    見出し：Zen Maru Gothic（角の丸いゴシック。固すぎない）
    本文　：BIZ UDPGothic（UD＝読みまちがえにくい字形。役所や学校の配布物でも使われる）
*/
:root {
  --ink: #1c2b29;
  --muted: #566663;
  --paper: #fafbf8;
  --white: #ffffff;
  --tint: #eaf2ee;
  --line: #d6e0db;
  --green: #14524c;
  --green-deep: #0e3d38;
  --green-soft: #d3e6df;
  --yellow: #f2b632;
  --yellow-soft: #fdf1d2;
  --ph: #b3261e;
  --ph-soft: #fdeceb;

  --font-head: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Hiragino Sans", sans-serif;
  --font-body: "BIZ UDPGothic", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", sans-serif;

  --max: 1080px;
  --text-max: 40em;
  --r-lg: 24px;
  --r-md: 16px;
  --r-sm: 10px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

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

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.03em;
  word-break: auto-phrase;
  text-wrap: balance;
  margin: 0;
}

p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
a { color: var(--green); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 6px; }
img, svg { max-width: 100%; }
strong { font-weight: 700; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 800px; }

/* 公開のときに入れる所（赤い点線の枠）と、確認用の帯 */
.ph {
  color: var(--ph);
  background: var(--ph-soft);
  border: 1px dashed var(--ph);
  border-radius: 6px;
  padding: 0 6px;
  font-size: 0.9em;
}
.draft-banner {
  background: var(--ph);
  color: #fff;
  text-align: center;
  font-size: 13px;
  line-height: 1.6;
  padding: 6px 16px;
}

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 12px 26px;
  border-radius: 999px;
  font-family: var(--font-head); font-weight: 700; font-size: 16px; line-height: 1.3;
  text-decoration: none; text-align: center;
  border: 2px solid var(--green);
  transition: background-color .15s, color .15s;
}
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-deep); border-color: var(--green-deep); }
.btn-ghost { background: var(--white); color: var(--green); }
.btn-ghost:hover { background: var(--tint); }
.btn small { font-family: var(--font-body); font-weight: 400; font-size: 13px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }

/* ---------- ヘッダー ---------- */
header.site {
  position: sticky; top: 0; z-index: 30;
  background: rgba(250, 251, 248, 0.94);
  backdrop-filter: saturate(1.2) blur(8px);
  border-bottom: 1px solid var(--line);
}
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.brand-mark { width: 34px; height: 34px; flex: none; }
.brand-name { font-family: var(--font-head); font-weight: 700; font-size: 18px; line-height: 1.2; display: block; }
.brand-sub { display: block; font-size: 11px; color: var(--muted); line-height: 1.4; letter-spacing: 0.04em; }
.site-nav { display: none; gap: 24px; font-size: 14px; }
.site-nav a { color: var(--ink); text-decoration: none; }
.site-nav a:hover { color: var(--green); text-decoration: underline; }
header.site .btn { min-height: 42px; padding: 8px 18px; font-size: 15px; white-space: nowrap; flex: none; }
header.site .back { font-size: 14px; }

/* ---------- 節の共通 ---------- */
.sec { padding: 72px 0; }
.sec-tint { background: var(--tint); }
.sec-head { margin-bottom: 36px; max-width: 46em; }
.sec-head h2 { font-size: 26px; color: var(--green-deep); }
.sec-head p { margin-top: 12px; color: var(--muted); word-break: auto-phrase; text-wrap: balance; }
.sec-foot { margin-top: 28px; max-width: var(--text-max); }
.muted { color: var(--muted); }
.small { font-size: 14px; line-height: 1.8; }
.more-link { font-family: var(--font-head); font-weight: 700; }


/* ---------- ① ファースト ---------- */
.hero { padding: 36px 0 56px; overflow: hidden; }
.hero-grid { display: grid; gap: 28px; align-items: center; }
.hero h1 { font-size: 29px; line-height: 1.45; color: var(--green-deep); margin-bottom: 18px; }
.br-wide { display: none; }

/* 札：奨励金の金額。ページでいちばん先に目に入る所（LP.md 版3 ①「色のついた細い帯」）。
   山吹の帯に、掛け札の穴。金額の数字だけを大きく、出どころ（第1回の募集要項による）は帯の中に同じ行で */
.grant-tag {
  position: relative; display: inline-flex; flex-wrap: wrap; align-items: baseline; column-gap: 0; row-gap: 2px;
  margin: 0 0 20px; padding: 9px 26px 10px 34px;
  background: var(--yellow); color: var(--ink); border-radius: 8px 999px 999px 8px;
  font-family: var(--font-head); font-weight: 700; line-height: 1.35;
  box-shadow: 0 10px 24px -16px rgba(122, 86, 0, .55);
}
.grant-tag::before {
  content: ""; position: absolute; left: 12px; top: 16px; width: 10px; height: 10px;
  border-radius: 50%; background: var(--paper); box-shadow: inset 0 1px 2px rgba(28, 43, 41, .35);
}
.gt-name { flex-basis: 100%; font-size: 14px; letter-spacing: .03em; }
.gt-gap { display: none; }
.gt-amount { font-size: 17px; white-space: nowrap; }
.gt-amount b { font-size: 38px; line-height: 1; letter-spacing: .01em; margin: 0 .06em 0 .12em; font-feature-settings: "palt" 1; }
.gt-src { font-family: var(--font-body); font-weight: 700; font-size: 13px; white-space: nowrap; }

/* 見出しの下の2行と注意は同じ大きさ（注意を小さくしない。決定ログ 2026-09-29） */
.hero-lead { max-width: 34em; margin-bottom: 22px; }
.hero-lead p { font-size: 16px; line-height: 1.9; margin: 0 0 .6em; }
.hero-lead .hero-caution { margin: 12px 0 0; padding: 6px 0 6px 14px; border-left: 4px solid var(--yellow); font-weight: 700; word-break: auto-phrase; }

.hero .btn-row { margin-bottom: 0; }

.hero-visual { margin: 0; }
.hero-visual svg { display: block; width: 100%; height: auto; }
.flow-captions {
  display: grid; grid-template-columns: 40fr 30fr 30fr; gap: 4px; white-space: nowrap;
  margin: 8px 0 0; padding: 0; list-style: none; text-align: center;
  font-family: var(--font-head); font-weight: 700; font-size: 13px; line-height: 1.4; color: var(--green-deep);
  counter-reset: cap;
}
.flow-captions li::before {
  counter-increment: cap; content: counter(cap);
  display: inline-grid; place-items: center; width: 20px; height: 20px; margin-right: 6px; border-radius: 50%;
  background: var(--yellow); color: var(--ink); font-size: 12px; vertical-align: 1px;
}

/* 一度だけの動き：報告の点が、スマホ → AI → 御社のシートへ流れ、新しい行が灯る */
.flow-dot { opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  .flow-dot {
    offset-path: path("M238 216 C 258 216, 262 212, 284 212 L 390 212 C 408 212, 412 211, 432 211");
    offset-rotate: 0deg;
    animation: travel 2.2s cubic-bezier(.5, 0, .3, 1) .8s both;
  }
  .new-row { animation: glow .6s ease-out 2.9s both; }
  .bubble { animation: pop .5s cubic-bezier(.3, 1.5, .5, 1) .25s both; transform-box: fill-box; transform-origin: 10% 100%; }
}
@keyframes travel {
  0% { offset-distance: 0%; opacity: 0; }
  8% { opacity: 1; }
  92% { opacity: 1; }
  100% { offset-distance: 100%; opacity: 0; }
}
@keyframes glow { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop { from { transform: scale(.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* ---------- ② お悩み ---------- */
.worries { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.worry {
  background: var(--white); border-radius: var(--r-md); padding: 18px 20px;
  display: grid; grid-template-columns: 60px 1fr; gap: 16px; align-items: center;
}
.worry svg { width: 60px; height: 60px; }
.worry p { font-family: var(--font-head); font-weight: 700; font-size: 16px; line-height: 1.7; }

/* ②の下の1行（義務）：版3で①から移した */
.duty { margin: 26px 0 0; max-width: 46em; font-family: var(--font-head); font-weight: 700; font-size: 16px; line-height: 1.8; color: var(--green-deep); }

/* ---------- ③ しくみ ---------- */
.steps { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.step { position: relative; display: grid; grid-template-columns: 72px 1fr; gap: 0 18px; padding-bottom: 28px; }
.step:last-child { padding-bottom: 0; }
.step::before {
  content: ""; position: absolute; left: 35px; top: 76px; bottom: 4px; width: 2px;
  background: repeating-linear-gradient(to bottom, var(--green) 0 6px, transparent 6px 12px);
}
.step:last-child::before { display: none; }
.step-icon {
  width: 72px; height: 72px; border-radius: 50%; background: var(--tint);
  display: grid; place-items: center; position: relative;
}
.step-icon svg { width: 42px; height: 42px; }
.step-icon::after {
  counter-increment: step; content: counter(step);
  position: absolute; top: -4px; left: -4px; width: 26px; height: 26px; border-radius: 50%;
  background: var(--yellow); color: var(--ink);
  font-family: var(--font-head); font-weight: 700; font-size: 14px; line-height: 26px; text-align: center;
}
.step h3 { font-size: 19px; margin: 8px 0 4px; color: var(--green-deep); }
.step p { font-size: 15px; line-height: 1.85; color: var(--muted); max-width: 26em; }

/* 奨励金の要件にあたる2文の帯（小さな字にしない） */
.req-band {
  margin-top: 48px; background: var(--green-deep); color: #fff;
  border-radius: var(--r-lg); padding: 26px 22px; display: grid; gap: 18px;
}
.req-band p { display: grid; grid-template-columns: 32px 1fr; gap: 12px; align-items: start; font-size: 16px; line-height: 1.95; margin: 0; }
.req-band svg { width: 32px; height: 32px; margin-top: 2px; }
.req-band strong { color: var(--yellow); }
.req-band .ph { background: #fff; }

/* ---------- ④ 独自に設計したAIシステム（見本の画面に5つの吹き出し） ---------- */
/* スマホ・タブレット：画面 → 吹き出し（番号順に縦）→ スマホと報告書。パソコン：吹き出し5つを上に横並び、線で画面の番号へ */
.showcase { position: relative; display: flex; flex-direction: column; gap: 18px; }
.callouts { order: 2; margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; counter-reset: co; }
.callouts li { position: relative; background: var(--white); border-radius: var(--r-md); padding: 14px 16px 14px 54px; }
.callouts li::before {
  counter-increment: co; content: counter(co);
  position: absolute; left: 16px; top: 14px; width: 26px; height: 26px; border-radius: 50%;
  background: var(--yellow); color: var(--ink); font-family: var(--font-head); font-weight: 700; font-size: 14px; line-height: 26px; text-align: center;
}
.callouts h3 { font-size: 16px; line-height: 1.5; color: var(--green-deep); margin: 1px 0 4px; }
.callouts p { font-size: 14px; line-height: 1.8; color: var(--muted); margin: 0; }
.leaders { display: none; }
.pin {
  display: inline-grid; place-items: center; width: 20px; height: 20px; margin-right: 6px; border-radius: 50%; vertical-align: -4px;
  background: var(--yellow); color: var(--ink); font-family: var(--font-head); font-style: normal; font-weight: 700; font-size: 12px; line-height: 1;
}
.pin-after { margin: 0 0 0 6px; }
.sheet { order: 1; }
.minis { order: 3; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: start; }
.showcase-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin-top: 22px; }
.showcase-foot .sample-note { margin: 0; }
.sheet { background: var(--white); border-radius: var(--r-md); border: 1px solid var(--line); overflow: hidden; box-shadow: 0 18px 40px -24px rgba(14, 61, 56, .45); }
.sheet-bar { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-bottom: 1px solid var(--line); font-size: 13px; font-weight: 700; }
.sheet-name { min-width: 0; }
.sheet-where { margin-left: auto; display: inline-flex; align-items: center; white-space: nowrap; font-size: 12px; color: var(--green-deep); }
.sheet-bar svg { width: 18px; height: 18px; flex: none; }
.sheet-scroll { overflow-x: auto; }
.sheet table { border-collapse: collapse; width: 100%; font-size: 12.5px; line-height: 1.6; min-width: 820px; table-layout: fixed; }
.sheet th:nth-child(1) { width: 10%; } .sheet th:nth-child(2) { width: 13%; } .sheet th:nth-child(3) { width: 6.5%; }
.sheet th:nth-child(4) { width: 13%; } .sheet th:nth-child(5) { width: 25.5%; } .sheet th:nth-child(6) { width: 14%; } .sheet th:nth-child(7) { width: 18%; }
.sheet .clamp { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.sheet .steps-list { white-space: pre-line; }
.sheet td.dim { color: var(--muted); }
.sheet td.masked { background: #f1f4f2; }
.sheet th, .sheet td { border: 1px solid #e3e9e6; padding: 8px 10px; text-align: left; vertical-align: top; }
.sheet thead th { background: var(--tint); font-weight: 700; color: var(--green-deep); }
.sheet td.nowrap { white-space: nowrap; }
.sheet .u-mid, .sheet .u-high, .sheet .u-low { text-align: center; font-weight: 700; }
.u-mid { background: #fff4d6; color: #7a5600; }
.u-high { background: #fde4dc; color: #8a2a10; }
.u-low { background: #e6edf4; color: #2f4a66; }
.sheet-tabs { display: flex; gap: 2px; padding: 6px 10px; background: #f3f6f4; border-top: 1px solid var(--line); font-size: 11px; color: var(--muted); white-space: nowrap; overflow: hidden; }
.sheet-tabs span { padding: 2px 10px; border-radius: 4px; }
.sheet-tabs .on { background: var(--white); color: var(--green-deep); font-weight: 700; }

.mini-phone { width: 200px; border-radius: 28px; padding: 8px; background: var(--green-deep); box-shadow: 0 16px 36px -18px rgba(14, 61, 56, .6); }
.phone-screen { background: #f1f4f2; border-radius: 21px; padding: 16px 10px 12px; font-size: 11px; line-height: 1.55; }
.form-card { background: #fff; border-radius: 8px; padding: 8px 10px; margin-bottom: 6px; border-top: 4px solid var(--green); }
.form-card b { font-family: var(--font-head); font-size: 12px; }
.form-q { background: #fff; border-radius: 8px; padding: 6px 10px; margin-bottom: 6px; }
.form-q span { display: block; font-size: 10px; color: var(--muted); }
.form-q div { border-bottom: 1px solid var(--line); padding: 1px 0 2px; }
.form-send { display: block; margin-top: 8px; width: 60%; border-radius: 999px; background: var(--green); color: #fff; text-align: center; padding: 4px 0; font-weight: 700; }

.mini-report {
  width: 220px; background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 16px 16px 18px;
  font-size: 10.5px; line-height: 1.65; box-shadow: 0 16px 36px -18px rgba(14, 61, 56, .5);
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
}
.mini-report .mr-title { display: block; font-size: 13px; border-bottom: 1.5px solid var(--ink); padding-bottom: 4px; }
.mini-report .mr-sub { display: block; color: var(--muted); font-size: 9.5px; margin: 3px 0 8px; }
.mini-report .mr-h { display: block; font-size: 11px; margin: 6px 0 2px; }
.mini-report p { margin: 0 0 4px; }
.mr-bars { display: grid; grid-template-columns: 1.4em 1fr 1.2em; gap: 4px 6px; align-items: center; margin-top: 4px; }
.mr-bars i { display: block; height: 8px; border-radius: 4px; background: linear-gradient(to right, var(--green) var(--w), var(--tint) var(--w)); }
.mr-bars em { font-style: normal; text-align: right; }
.sample-note { font-size: 14px; color: var(--muted); }

/* ---------- ⑤ 奨励金 ---------- */
.two-needs { display: grid; gap: 10px; align-items: stretch; }
.need { position: relative; border-radius: var(--r-lg); padding: 30px 24px 24px; text-align: center; }
.need svg { width: 56px; height: 56px; display: block; margin: 0 auto 8px; }
.need h3 { font-size: 21px; margin-bottom: 6px; }
.need p { font-size: 15px; line-height: 1.8; max-width: 22em; margin: 0 auto; word-break: auto-phrase; text-wrap: balance; }
.need-yours { background: var(--yellow-soft); border: 2px solid var(--yellow); }
.need-ours { background: var(--white); border: 2px solid var(--green); }
.need-ours h3 { color: var(--green-deep); }
.need-who {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%); white-space: nowrap;
  font-family: var(--font-head); font-weight: 700; font-size: 13px; padding: 3px 14px; border-radius: 999px;
}
.need-yours .need-who { background: var(--yellow); color: var(--ink); }
.need-ours .need-who { background: var(--green); color: #fff; }
.need-plus { display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: 34px; color: var(--green); line-height: 1; padding: 6px 0; }
.cautions { margin: 36px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; max-width: 46em; }
.cautions li { position: relative; padding-left: 20px; font-size: 16px; line-height: 1.85; }
.cautions li::before { content: ""; position: absolute; left: 2px; top: 0.72em; width: 8px; height: 8px; border-radius: 2px; background: var(--yellow); }
.to-details {
  margin-top: 26px; display: inline-flex; align-items: center; gap: 10px;
  background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 10px 22px;
  font-family: var(--font-head); font-weight: 700; font-size: 15px; text-decoration: none;
}
.to-details svg { width: 18px; height: 18px; flex: none; }
.to-details:hover { border-color: var(--green); }

/* ---------- ⑥ 申請の準備 ---------- */
.kit { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.kit li { background: var(--white); border-radius: var(--r-md); padding: 20px; display: grid; grid-template-columns: 60px 1fr; gap: 16px; align-items: start; align-content: start; }
.kit svg { width: 60px; height: 60px; }
.kit h3 { font-size: 17px; margin: 6px 0 4px; }
.kit p { font-size: 14px; color: var(--muted); line-height: 1.8; }
.plan-tag { display: inline-block; font-size: 12px; line-height: 1.7; padding: 1px 10px; border-radius: 999px; background: var(--tint); color: var(--green-deep); font-weight: 700; }
.plan-tag.is-premium { background: var(--green); color: #fff; }

/* ---------- ⑦ 料金 ---------- */
.plans { display: grid; gap: 22px; align-items: stretch; }
.plan { position: relative; background: var(--white); border-radius: var(--r-lg); border: 1px solid var(--line); padding: 30px 24px 26px; display: flex; flex-direction: column; }
.plan.is-premium { border: 2px solid var(--green); }
.plan-flag { position: absolute; top: -14px; left: 22px; background: var(--yellow); color: var(--ink); font-family: var(--font-head); font-weight: 700; font-size: 13px; padding: 3px 14px; border-radius: 999px; }
.plan h3 { font-size: 20px; }
.price { margin: 10px 0 18px; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.price b { font-family: var(--font-head); font-size: 44px; line-height: 1.1; letter-spacing: 0.01em; color: var(--green-deep); }
.price b span { font-size: 20px; margin-left: 2px; }
.price small { font-size: 13px; color: var(--muted); }
.checks { margin: 0 0 24px; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 15px; line-height: 1.7; }
.checks li { position: relative; padding-left: 28px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 0.3em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--green-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.4l2.6 2.6L13 6.6' fill='none' stroke='%2314524c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat;
}
.checks .lead-in { padding-left: 0; font-weight: 700; color: var(--green-deep); }
.checks .lead-in::before { display: none; }
.checks .plus::before { background-color: var(--yellow); }
.plan-btn { margin-top: auto; width: 100%; }
.pay-notes { margin: 26px 0 0; max-width: 46em; font-size: 14px; line-height: 1.85; }

/* ---------- ⑧ 安心のため ---------- */
.data-flow { display: flex; align-items: center; justify-content: space-between; gap: 4px; margin: 0 0 36px; max-width: 760px; }
.df-node { display: grid; justify-items: center; gap: 6px; text-align: center; font-size: 12px; line-height: 1.4; font-weight: 700; color: var(--green-deep); flex: 0 0 auto; width: 64px; }
.df-node svg { width: 44px; height: 44px; background: var(--white); border-radius: 14px; padding: 6px; box-sizing: content-box; }
.df-home { width: 96px; }
.df-home svg { width: 64px; height: 64px; border: 2px solid var(--green); padding: 10px; border-radius: 20px; }
.df-home span { font-size: 13px; }
.df-arrow { flex: 1 1 auto; height: 2px; min-width: 10px; margin-bottom: 26px; background: repeating-linear-gradient(to right, var(--green) 0 5px, transparent 5px 10px); position: relative; }
.df-arrow::after { content: ""; position: absolute; right: -2px; top: -4px; border: 5px solid transparent; border-left: 7px solid var(--green); border-right: 0; }
.trust { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.trust li { background: var(--white); border-radius: var(--r-md); padding: 20px; display: grid; grid-template-columns: 52px 1fr; gap: 16px; align-items: start; align-content: start; }
.trust svg { width: 52px; height: 52px; }
.trust h3 { font-size: 17px; margin: 2px 0 4px; }
.trust p { font-size: 14px; line-height: 1.85; color: var(--muted); }

/* ---------- ⑨ よくある質問 ---------- */
.faq { max-width: 820px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 18px 44px 18px 44px;
  font-family: var(--font-head); font-weight: 700; font-size: 16px; line-height: 1.6;
  word-break: auto-phrase; /* 問いを文節の途中で折り返さない（版3.1で30問に増えたので） */
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before {
  content: "Q"; position: absolute; left: 0; top: 16px; width: 30px; height: 30px; border-radius: 50%;
  background: var(--green); color: #fff; font-size: 15px; line-height: 30px; text-align: center;
}
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 24px; height: 24px; margin-top: -12px;
  border-radius: 50%; background: var(--tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 7v10M7 12h10' stroke='%2314524c' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / 24px no-repeat;
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .a { padding: 0 8px 22px 44px; font-size: 15px; line-height: 1.95; max-width: 44em; }

/* 版3.1（2026-09-30 本人の指示で2段の開閉式に）：ジャンルの行（問いの数つき）が6つ並び、最初は全部閉じている。
   ジャンルを開くと問いが並び、問いを開くと答え（問いの開閉は上の .faq のまま）。ジャンルの行が目次を兼ねる */
.faq-groups { max-width: 820px; }
.faq-group { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); }
.faq-group + .faq-group { margin-top: 12px; }
.faq-group > summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 18px 60px 18px 18px;
}
.faq-group > summary::-webkit-details-marker { display: none; }
.faq-group > summary::after {
  content: ""; position: absolute; right: 18px; top: 50%; width: 28px; height: 28px; margin-top: -14px;
  border-radius: 50%; background: var(--tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 10l5 5 5-5' fill='none' stroke='%2314524c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 24px no-repeat;
  transition: transform .2s ease;
}
.faq-group[open] > summary::after { transform: rotate(180deg); }
.faq-group > summary:hover h3 { color: var(--green); }
.faq-group h3 {
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; margin: 0;
  font-size: 19px; color: var(--green-deep);
  padding-left: 14px; border-left: 4px solid var(--yellow); line-height: 1.5;
}
.faq-group > .faq { margin: 0 18px 6px; }
.faq-count { font-family: var(--font-body); font-weight: 400; font-size: 13px; color: var(--muted); letter-spacing: 0.04em; }

/* 質問の入口（⑨の下といちばん下）。「申し込む」と取り違えないよう、枠線だけの控えめなボタン */
.btn-ask {
  min-height: 46px; padding: 10px 22px; font-size: 15px;
  background: transparent; color: var(--green); border: 1.5px solid var(--green);
}
.btn-ask:hover { background: var(--white); }
.btn-ask small { font-size: 12.5px; }
.ask-band {
  max-width: 820px; margin-top: 36px; padding: 22px 22px 24px;
  background: var(--tint); border-radius: var(--r-md);
  display: grid; grid-template-columns: auto 1fr; gap: 12px 14px; align-items: start;
}
.ask-icon { width: 26px; height: 26px; color: var(--green); margin-top: 2px; }
.ask-band p { margin: 0; font-size: 15px; line-height: 1.85; }
.ask-band .btn-ask { grid-column: 1 / -1; justify-self: start; }
.closing-band .ask-row { margin-top: 14px; }
.closing-band .btn-ask { color: #fff; border-color: rgba(255, 255, 255, .45); }
.closing-band .btn-ask:hover { background: rgba(255, 255, 255, .08); }

/* ---------- ⑩ 運営者と連絡先（名刺） ---------- */
.card-op {
  max-width: 640px; margin: 0 auto; background: var(--white); border-radius: 18px;
  padding: 28px 24px 24px; border: 1px solid var(--line);
  box-shadow: 0 1px 0 var(--line), 0 20px 40px -30px rgba(14, 61, 56, .45);
  border-top: 6px solid var(--green);
}
.card-op-mark { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 700; font-size: 18px; margin-bottom: 14px; }
.card-op-mark svg { width: 30px; height: 30px; }
.card-op dl { margin: 0 0 14px; }
.card-op dl > div { display: grid; grid-template-columns: 1fr; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.card-op dt { font-size: 12px; color: var(--muted); }
.card-op dd { margin: 0; font-size: 15px; line-height: 1.8; letter-spacing: 0; }
.card-op dd small { color: var(--muted); font-size: 12px; }

/* いちばん下 */
.closing-band { background: var(--green-deep); padding: 40px 0; }
.closing-band .btn-row { justify-content: center; }
.closing-band .btn-primary { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.closing-band .btn-primary:hover { background: #ffc94d; border-color: #ffc94d; }
.closing-band .btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .6); }
.closing-band .btn-ghost:hover { background: rgba(255, 255, 255, .08); }

/* ---------- フッター ---------- */
footer.site { background: var(--ink); color: #c3cfcb; padding: 40px 0 calc(80px + env(safe-area-inset-bottom, 0px)); font-size: 13px; line-height: 1.9; }
footer.site a { color: #fff; }
footer.site .foot-brand { display: flex; align-items: center; gap: 10px; color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 16px; margin-bottom: 16px; }
footer.site .foot-brand svg { width: 28px; height: 28px; }
footer.site ul { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 6px 24px; font-size: 14px; }
footer.site p { max-width: 52em; margin: 0; }

/* ---------- 文書のページ（ご利用の条件・規約・ポリシー・申込み） ---------- */
.page-head { background: var(--tint); padding: 36px 0 30px; border-bottom: 1px solid var(--line); }
.page-head .crumb { font-size: 13px; margin: 0 0 6px; }
.page-head h1 { font-size: 26px; color: var(--green-deep); }
.page-head .lead { margin: 10px 0 0; color: var(--muted); max-width: 40em; font-size: 15px; }
.toc { margin: 20px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.toc a { display: inline-block; background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 3px 14px; font-size: 13px; text-decoration: none; }
.toc a:hover { border-color: var(--green); }

.legal { padding: 40px 0 72px; }
.legal .wrap { max-width: 800px; }
.legal h2 {
  font-size: 21px; color: var(--green-deep); display: flex; align-items: center; gap: 12px;
  margin: 56px 0 18px; padding-bottom: 10px; border-bottom: 2px solid var(--green-soft);
}
.legal h2 .num { flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; font-size: 15px; }
.legal .wrap > h2:first-child, .legal .wrap > div:first-child > h2:first-child, .legal .wrap > :first-child + h2 { margin-top: 0; }
.legal h3 { font-size: 17px; margin: 32px 0 8px; color: var(--ink); }
.legal h4 { font-size: 16px; margin: 28px 0 8px; color: var(--green-deep); }
.legal p, .legal li { font-size: 15px; line-height: 1.95; }
.legal ol, .legal ul { padding-left: 1.5em; margin: 0 0 1em; }
.legal li { margin-bottom: 6px; }
.legal li > ol, .legal li > ul { margin-top: 6px; }
.note {
  background: var(--yellow-soft); border-left: 4px solid var(--yellow);
  border-radius: 0 var(--r-sm) var(--r-sm) 0; padding: 14px 18px; font-size: 14px;
}
.table-scroll { overflow-x: auto; margin: 0 0 1.4em; }
table.info { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.8; background: var(--white); }
table.info th, table.info td { border-bottom: 1px solid var(--line); padding: 11px 12px; text-align: left; vertical-align: top; }
table.info thead th { background: var(--tint); color: var(--green-deep); font-weight: 700; white-space: nowrap; }
table.info.kv th { width: 28%; color: var(--muted); font-weight: 400; }
table.info.kv td { text-align: left; white-space: normal; }
.legal .buttons, .legal .btn-row { margin: 24px 0; display: flex; flex-wrap: wrap; gap: 12px; }
.legal .cta:not(.btn) { display: inline-flex; min-height: 52px; align-items: center; padding: 12px 26px; border-radius: 999px; background: var(--green); color: #fff; text-decoration: none; font-family: var(--font-head); font-weight: 700; }
.legal .cta:not(.btn):hover { background: var(--green-deep); }
.legal .btn-primary { color: #fff; }

@media (max-width: 599px) {
  .brand-sub { display: none; }
  .brand-name { font-size: 17px; }
  .flow-captions { grid-template-columns: 1fr 1fr 1fr; font-size: 12px; }
  .flow-captions li::before { display: grid; margin: 0 auto 4px; }
  .to-details { border-radius: 14px; font-size: 14px; padding: 10px 16px; }
  .card-op { padding: 24px 20px 20px; }
  /* ①：札は2行に折り返してよい（金額の行を大きく） */
  .grant-tag { padding: 9px 18px 10px 32px; border-radius: 8px 28px 28px 8px; }
  .gt-amount b { font-size: 36px; }
  /* ④：画面の見本。シートは横に動かして見る（番号の丸は見出しの中）。スマホと報告書は下に2つ並べる */
  .mini-phone { width: auto; border-radius: 22px; padding: 6px; }
  .phone-screen { border-radius: 17px; padding: 12px 8px 10px; font-size: 10px; }
  .mini-report { width: auto; padding: 12px 10px 14px; font-size: 9.5px; }
  /* スマホでは、番号の丸がある4列（見立て・伏せた情報・注意書き・次の一手）だけを並べる。受付日時・緊急度・要約はパソコン幅で */
  .sheet table { min-width: 0; font-size: 11px; line-height: 1.55; }
  .sheet th:nth-child(1), .sheet td:nth-child(1), .sheet th:nth-child(3), .sheet td:nth-child(3), .sheet th:nth-child(5), .sheet td:nth-child(5) { display: none; }
  .sheet th:nth-child(2), .sheet th:nth-child(4), .sheet th:nth-child(6), .sheet th:nth-child(7) { width: 25%; }
  .sheet th, .sheet td { padding: 6px 5px; }
  .sheet .clamp { -webkit-line-clamp: 5; }
  .pin { width: 18px; height: 18px; font-size: 11px; margin: 0 0 3px; display: grid; }
  .pin-after { margin: 0 0 0 5px; display: inline-grid; }
  .sheet-name { font-size: 12px; }
  .form-card b { font-size: 11px; }
  .showcase-foot .btn { width: 100%; }
  .ask-band .btn-ask { width: 100%; justify-self: stretch; }
  .faq-group h3 { font-size: 18px; }
  /* 項目｜中身 の表は、スマホでは縦に並べる */
  table.info.kv, table.info.kv tbody, table.info.kv tr, table.info.kv th, table.info.kv td { display: block; width: 100%; }
  table.info.kv th { border-bottom: 0; padding: 12px 12px 0; font-size: 12px; }
  table.info.kv td { padding: 2px 12px 12px; }
}

/* ---------- 広い画面 ---------- */
@media (min-width: 600px) {
  .callouts { grid-template-columns: 1fr 1fr; }
  .minis { display: flex; justify-content: space-between; align-items: flex-start; padding: 0 2%; }
  .mini-phone { width: 210px; }
  .mini-report { width: 240px; transform: rotate(2deg); margin-top: 16px; }
}
@media (min-width: 720px) {
  .sec { padding: 96px 0; }
  .sec-head h2 { font-size: 32px; }
  .hero { padding: 64px 0 80px; }
  .hero h1 { font-size: 34px; }
  .br-wide { display: inline; }
  .hero-lead p { font-size: 17px; }
  .duty { font-size: 18px; }
  .worries { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .worry { grid-template-columns: 1fr; justify-items: start; padding: 28px 24px; gap: 14px; }
  .worry svg { width: 72px; height: 72px; }
  .worry p { font-size: 17px; }
  .kit { grid-template-columns: 1fr 1fr; gap: 18px; }
  .plans { grid-template-columns: 1fr 1fr; }
  .two-needs { grid-template-columns: 1fr auto 1fr; gap: 18px; }
  .need-plus { font-size: 44px; }
  .trust { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .trust li { grid-template-columns: 1fr; }
  .req-band { padding: 34px 40px; }
  .req-band p { font-size: 17px; }
  .df-node { width: 120px; font-size: 13px; }
  .df-node svg { width: 52px; height: 52px; }
  .df-home { width: 130px; }
  .df-home svg { width: 80px; height: 80px; }
  .df-home span { font-size: 15px; }
  .card-op { padding: 36px 40px 30px; }
  .card-op dl > div { grid-template-columns: 7.5em 1fr; gap: 16px; }
  .card-op dt { font-size: 13px; padding-top: 3px; }
  .ask-band { grid-template-columns: auto 1fr auto; align-items: center; padding: 24px 28px; gap: 16px 20px; }
  .ask-band .btn-ask { grid-column: auto; }
  .faq-group h3 { font-size: 21px; }
  .page-head { padding: 52px 0 40px; }
  .page-head h1 { font-size: 34px; }
  .legal h2 { font-size: 24px; }
}
@media (min-width: 960px) {
  body { font-size: 17px; }
  .site-nav { display: flex; }
  .hero-grid { grid-template-columns: 1.45fr 1fr; gap: 44px; align-items: start; }
  .hero-visual { margin-top: 96px; }
  .hero h1 { font-size: 34px; letter-spacing: 0.01em; }
  .gt-name { font-size: 15px; }
  .gt-amount { font-size: 20px; }
  .gt-amount b { font-size: 54px; }
  .gt-src { font-size: 14px; }
  .flow-captions { font-size: 14px; }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .step { grid-template-columns: 1fr; padding-bottom: 0; }
  .step::before { left: 92px; right: -16px; top: 36px; bottom: auto; width: auto; height: 2px;
    background: repeating-linear-gradient(to right, var(--green) 0 6px, transparent 6px 12px); }
  .step h3 { margin-top: 18px; }
  /* ④：吹き出し5つを上に横並び。線（.leaders）は index.html の小さなスクリプトが引く */
  .showcase { display: block; }
  .callouts { grid-template-columns: repeat(5, 1fr); gap: 14px; margin-bottom: 64px; }
  .callouts li { padding: 22px 14px 14px; border: 1px solid var(--green-soft); }
  .callouts li::before { left: 14px; top: -13px; box-shadow: 0 0 0 3px var(--tint); }
  .callouts h3 { font-size: 15px; }
  .callouts p { font-size: 13.5px; line-height: 1.75; }
  .leaders { display: block; position: absolute; left: 0; top: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; z-index: 3; }
  .leaders path { fill: none; stroke: var(--green); stroke-width: 1.5; stroke-dasharray: 2 4; stroke-linecap: round; }
  .leaders circle { fill: var(--green); }
  .leaders path.tip { stroke-dasharray: none; stroke-width: 1.8; stroke-linejoin: round; }
  .sheet table { min-width: 0; }
  .minis { position: relative; z-index: 2; margin-top: 18px; padding: 0 4%; }
  .mini-phone { width: 220px; }
  .mini-report { width: 260px; margin-top: 40px; }
}

/* 文節の途中で折り返さない（「…システム／です」「周知しま／す」を防ぐ。2026-09-29）。
   auto-phrase が効かないブラウザでは、HTML に置いた <wbr> の所だけで折り返す */
@supports not (word-break: auto-phrase) {
  .hero h1, .need p { word-break: keep-all; }
}
