/* T&Lサポート(株) 会社サイト｜決まりごと（2026-10-15 案A＋）
   色・文字・余白はここの名前だけを使う。ページのファイルに色番号を書かない。
   記録は ../design/README.md */

/* ---------- 1. 決まりごと（名前付きの色・文字・寸法） ---------- */
:root {
  /* 背景と面 */
  --canvas: #f6f3ea;        /* 生成りの紙 */
  --surface: #fbf9f4;       /* 入力欄・表の行など、紙より一段明るい面 */
  --band: #efebdf;          /* 相談の帯など、区切りたい帯 */
  /* 文字 */
  --ink: #1f1f1a;           /* 墨 */
  --ink-muted: #56554b;     /* 補足の文字（紙の上で 7:1 前後） */
  /* 罫線 */
  --line: #d9d3c3;
  --line-strong: #a8a28f;
  /* 主ボタン（ロゴのオリーブ） */
  --action: #5e6121;
  --action-hover: #4a4d18;
  --action-ink: #ffffff;    /* 白文字。#5e6121 の上で 6.6:1 */
  --brand: #5e6121;         /* 章番号・小見出しの色 */
  --brand-soft: #e7e6d2;    /* ごく薄いオリーブ（番号の丸の地など） */
  /* 状態の色（お問い合わせの入力・送信） */
  --alert-soft: #f7e9e4;
  --alert-line: #d6a597;
  --alert-ink: #8b2e1f;
  --done-soft: #ecefdf;
  --done-line: #b5bb8c;
  --done-ink: #3f4316;

  /* 文字の種類 */
  --serif: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --sans: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", system-ui, sans-serif;

  /* 寸法 */
  --radius: 6px;
  --content: 1120px;
  --narrow: 760px;
  --gutter: 24px;
  --section-y: 88px;
}
@media (max-width: 640px) {
  :root { --gutter: 18px; --section-y: 60px; }
}

/* ---------- 2. 土台 ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; } /* 表示の指定がある部品でも、hidden を付けたら必ず隠す（送信後のボタンなど） */
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 24px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: .02em;
  font-feature-settings: "palt" 0;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.45; letter-spacing: .03em; }
h1, h2 { font-family: var(--serif); }
h3, h4 { font-family: var(--sans); font-weight: 700; }
:focus-visible { outline: 2px solid var(--action); outline-offset: 3px; border-radius: 2px; }
.jp-wrap { word-break: auto-phrase; text-wrap: pretty; }
h1, h2, h3, .lead { word-break: auto-phrase; }

.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: 12px; top: 12px; z-index: 50; background: var(--surface); padding: 8px 12px; border: 1px solid var(--ink); }
.container { width: 100%; max-width: calc(var(--content) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: calc(var(--narrow) + var(--gutter) * 2); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.desktop-only { display: inline; }
@media (max-width: 640px) { .desktop-only { display: none; } }

/* ---------- 3. 共通部品 ---------- */

/* ボタンは3段だけ：塗り（主・1画面に1つ）／線（次）／下線の文字（その他） */
.btn, .btn-line {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 12px 28px;
  border-radius: var(--radius);
  font: 700 16px/1.4 var(--sans); letter-spacing: .04em;
  text-decoration: none; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn { background: var(--action); color: var(--action-ink); border: 1px solid var(--action); }
.btn:hover { background: var(--action-hover); border-color: var(--action-hover); }
.btn-line { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--canvas); }
.btn--sm { min-height: 40px; padding: 8px 18px; font-size: 14px; }
.btn[disabled], .btn-line[disabled] { background: var(--line); border-color: var(--line); color: var(--ink-muted); cursor: not-allowed; }

.link-arrow {
  display: inline-flex; align-items: baseline; gap: 6px;
  font-weight: 700; color: var(--ink);
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px;
}
.link-arrow::after { content: "→"; font-weight: 400; }
.link-arrow:hover { color: var(--action); }
.link-out::after { content: "↗"; font-weight: 400; }

/* 小見出し（ページ名・柱の名前） */
.eyebrow { margin: 0 0 14px; font: 700 13px/1.6 var(--sans); letter-spacing: .12em; color: var(--brand); }

/* 章の見出し：章番号＋見出し＋導入文 */
.section { padding: var(--section-y) 0; border-top: 1px solid var(--line); }
.section--flush { border-top: 0; }
.section--band { background: var(--band); }
.section-head { display: grid; grid-template-columns: auto 1fr; column-gap: 20px; align-items: baseline; margin-bottom: 44px; }
.section-head .num { font: 600 18px/1 var(--serif); color: var(--brand); letter-spacing: .06em; }
.section-head h2 { font-size: clamp(24px, 2.6vw, 32px); }
.section-head .lead { grid-column: 2; margin: 14px 0 0; color: var(--ink-muted); max-width: 46em; }
.section-head--plain { grid-template-columns: 1fr; }
.section-head--plain .lead { grid-column: 1; }
@media (max-width: 640px) {
  .section-head { grid-template-columns: 1fr; margin-bottom: 30px; }
  .section-head .num { margin-bottom: 10px; font-size: 15px; }
  .section-head h2 { font-size: 23px; }
  .section-head .lead { grid-column: 1; }
}

/* 注意書き：色付きの箱でなく、左の太い帯 */
.note { border-left: 4px solid var(--line-strong); padding: 4px 0 4px 18px; color: var(--ink-muted); font-size: 15px; }
.note strong { color: var(--ink); }
.note--action { border-left-color: var(--action); }

/* 用語の一言説明 */
.term-note { font-size: 13px; color: var(--ink-muted); }

/* 行で並べる一覧（頼めること・会社概要など） */
.rows { border-top: 1px solid var(--ink); }
.rows > div, .rows > li { display: grid; grid-template-columns: minmax(180px, 15em) 1fr; gap: 8px 32px; padding: 20px 0; border-bottom: 1px solid var(--line); list-style: none; }
.rows dt, .rows .row-term { font-weight: 700; }
.rows dd { margin: 0; }
.rows .row-term small { display: block; font-weight: 400; color: var(--ink-muted); font-size: 13px; }
@media (max-width: 760px) { .rows > div, .rows > li { grid-template-columns: 1fr; gap: 4px; padding: 16px 0; } }

/* いま／これから の対の表 */
.compare { width: 100%; border-collapse: collapse; }
.compare th, .compare td { text-align: left; vertical-align: top; padding: 18px 20px 18px 0; border-bottom: 1px solid var(--line); }
.compare thead th { font: 700 13px/1.6 var(--sans); letter-spacing: .12em; color: var(--ink-muted); border-bottom: 1px solid var(--ink); padding-top: 0; }
.compare td:first-child { color: var(--ink-muted); width: 44%; }
.compare td:last-child { font-weight: 500; }
@media (max-width: 640px) {
  .compare thead { display: none; }
  .compare tr { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .compare td { display: block; padding: 0; border: 0; width: auto !important; }
  .compare td:first-child::before { content: "いま："; }
  .compare td:last-child::before { content: "これから："; color: var(--brand); }
}

/* 段の流れ（進め方） */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(var(--steps, 5), 1fr); gap: 0; list-style: none; border-top: 1px solid var(--ink); }
.steps > li { counter-increment: step; position: relative; padding: 22px 22px 6px 0; }
.steps > li + li { padding-left: 22px; border-left: 1px solid var(--line); }
.steps > li::before { content: counter(step, decimal-leading-zero); display: block; font: 600 15px/1 var(--serif); color: var(--brand); margin-bottom: 12px; }
.steps h3 { font-size: 16px; margin-bottom: 6px; }
.steps p { font-size: 14px; color: var(--ink-muted); line-height: 1.8; }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; }
  .steps > li, .steps > li + li { padding: 16px 0 16px 0; border-left: 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 44px 1fr; column-gap: 8px; }
  .steps > li::before { margin: 2px 0 0; grid-row: span 2; }
}

/* よくある質問（開閉） */
.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr 24px; gap: 16px; align-items: center; padding: 20px 0; font-weight: 700; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 24px/1 var(--sans); color: var(--brand); text-align: center; }
.faq details[open] summary::after { content: "−"; }
.faq .answer { padding: 0 40px 22px 0; color: var(--ink); }
.faq .answer p { margin-bottom: .6em; }

/* 相談の帯 */
.cta-band { padding: 72px 0; background: var(--band); border-top: 1px solid var(--line); }
.cta-band .container { display: grid; grid-template-columns: 1fr auto; gap: 24px 48px; align-items: center; }
.cta-band h2 { font-size: clamp(22px, 2.4vw, 30px); }
.cta-band p { margin: 10px 0 0; color: var(--ink-muted); }
.cta-band .cta-actions { display: grid; justify-items: start; gap: 14px; }
.cta-band .sub-link { font-size: 14px; color: var(--ink-muted); }
@media (max-width: 860px) { .cta-band .container { grid-template-columns: 1fr; } }

/* グループの関係図 */
.group-map { display: grid; grid-template-columns: repeat(3, 1fr); position: relative; border-top: 1px solid var(--ink); }
.group-map > div { padding: 20px 20px 20px 0; }
.group-map > div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.group-map .who { font: 600 17px/1.5 var(--serif); margin-bottom: 4px; }
.group-map .who a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.group-map .role { font-size: 14px; color: var(--ink-muted); line-height: 1.7; }
.group-map .is-us .who { color: var(--brand); }
/* 縦に積む形（2段の組みの脇に置くとき） */
.group-map--stack { grid-template-columns: 1fr; }
.group-map--stack > div, .group-map--stack > div + div { padding: 14px 0; border-left: 0; border-bottom: 1px solid var(--line); }
@media (max-width: 760px) {
  .group-map { grid-template-columns: 1fr; }
  .group-map > div, .group-map > div + div { padding: 14px 0; border-left: 0; border-bottom: 1px solid var(--line); }
}

/* 信頼の材料（小さな文字の並び） */
.facts { display: flex; flex-wrap: wrap; gap: 6px 28px; margin: 0; padding: 0; list-style: none; font-size: 14px; color: var(--ink-muted); }
.facts li { position: relative; padding-left: 14px; }
.facts li::before { content: ""; position: absolute; left: 0; top: .72em; width: 6px; height: 6px; background: var(--brand); }
@media (max-width: 640px) { .facts { flex-direction: column; } }

/* ページの最初の画面（サービス・会社案内などの下のページ） */
.page-hero { padding: 72px 0 64px; }
.page-hero h1 { font-size: clamp(28px, 3.6vw, 44px); max-width: 22em; }
.page-hero .lead { margin: 22px 0 0; max-width: 40em; font-size: 17px; }
.page-hero .hero-actions { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }
.page-hero .anchors { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 14px; }
.breadcrumb { font-size: 13px; color: var(--ink-muted); margin-bottom: 26px; }
.breadcrumb a { color: inherit; }
@media (max-width: 640px) { .page-hero { padding: 44px 0 44px; } .page-hero .lead { font-size: 16px; } }

/* 2段の組み（本文＋脇） */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px 64px; }
.split--wide-left { grid-template-columns: 1.3fr .7fr; }
@media (max-width: 860px) { .split, .split--wide-left { grid-template-columns: 1fr; } }

/* 箇条書き（点つき） */
.bullets { list-style: none; padding: 0; }
.bullets li { position: relative; padding-left: 1.2em; margin: .35em 0; }
.bullets li::before { content: ""; position: absolute; left: 0; top: .85em; width: 6px; height: 6px; background: var(--brand); border-radius: 50%; }

/* 料金の表示 */
.price { font: 600 22px/1.4 var(--serif); }
.price small { font: 400 14px/1.6 var(--sans); color: var(--ink-muted); margin-left: .4em; }

/* ---------- 4. 外枠（ヘッダー・フッター） ---------- */
.site-header { border-bottom: 1px solid var(--line); background: var(--canvas); position: relative; z-index: 20; }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 80px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand img { width: 46px; height: 46px; border-radius: 50%; }
.brand span { font: 700 18px/1.3 var(--sans); letter-spacing: .04em; }
.site-nav { display: flex; align-items: center; gap: 24px; }
.site-nav .nav-main { display: flex; gap: 22px; list-style: none; }
.site-nav .nav-main a { font-size: 14.5px; font-weight: 500; text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.site-nav .nav-main a:hover, .site-nav .nav-main a[aria-current="page"] { border-bottom-color: var(--action); }
.nav-login { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--ink-muted); text-decoration: none; }
.nav-login:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.nav-login svg { width: 15px; height: 15px; }
.menu-toggle { display: none; }
.site-nav .nav-main a, .nav-login, .site-nav .btn, .brand span { white-space: nowrap; }
@media (max-width: 1240px) {
  .header-inner { gap: 18px; }
  .site-nav { gap: 18px; }
  .site-nav .nav-main { gap: 16px; }
  .site-nav .nav-main a { font-size: 13.5px; }
}
@media (max-width: 1140px) {
  .header-inner { min-height: 68px; }
  .brand img { width: 40px; height: 40px; }
  .brand span { font-size: 16px; }
  .menu-toggle { display: inline-flex; min-height: 42px; padding: 8px 16px; font-size: 14px; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--canvas); border-bottom: 1px solid var(--ink); padding: 8px var(--gutter) 24px; flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav.is-open { display: flex; }
  .site-nav .nav-main { flex-direction: column; gap: 0; }
  .site-nav .nav-main a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  .site-nav .nav-main a:hover, .site-nav .nav-main a[aria-current="page"] { border-bottom-color: var(--line); color: var(--action); }
  .site-nav .btn { margin-top: 20px; }
  .site-nav .nav-login { order: 3; margin-top: 18px; justify-content: center; font-size: 14px; }
}

.site-footer { border-top: 1px solid var(--ink); padding: 56px 0 40px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr .9fr; gap: 32px 48px; }
.footer-grid .f-name { font: 700 17px/1.5 var(--sans); margin-bottom: 8px; }
.footer-grid address { font-style: normal; color: var(--ink-muted); line-height: 1.8; }
.footer-links { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px; }
.footer-links a, .footer-sub a { text-decoration: none; }
.footer-links a:hover, .footer-sub a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-sub h2 { font: 700 12px/1.6 var(--sans); letter-spacing: .12em; color: var(--ink-muted); margin-bottom: 8px; }
.footer-sub ul { list-style: none; display: grid; gap: 8px; }
.footer-bottom { margin-top: 40px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; color: var(--ink-muted); font-size: 13px; }
.footer-bottom a { color: inherit; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr; } }

.preview-note { margin-top: 16px; font-size: 12px; color: var(--alert-ink); }
.review { background: var(--alert-soft); border-bottom: 1px solid var(--alert-line); color: var(--alert-ink); font-size: 13px; padding: 8px var(--gutter); text-align: center; }

/* ---------- 5. トップだけで使う組み ---------- */
.home-hero { padding: 84px 0 76px; }
.home-hero .container { display: grid; grid-template-columns: 1fr 290px; gap: 48px 64px; align-items: end; }
.home-hero h1 { font-size: clamp(27px, 3.3vw, 46px); line-height: 1.45; }
.home-hero h1 span { display: block; }
.home-hero .lead { margin: 26px 0 0; font-size: 17px; max-width: 42em; }
.home-hero .hero-actions { margin-top: 34px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }
.home-hero .facts { margin-top: 30px; }
.pillar-index { border-top: 1px solid var(--ink); }
.pillar-index a { display: block; padding: 18px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.pillar-index a:hover .pi-name { color: var(--action); text-decoration: underline; text-underline-offset: 5px; }
.pillar-index .pi-label { display: block; font-size: 12px; letter-spacing: .12em; color: var(--ink-muted); }
.pillar-index .pi-name { display: block; font: 600 20px/1.5 var(--serif); }
.pillar-index .pi-name::after { content: " →"; font: 400 16px var(--sans); }
.pillar-index .pi-desc { display: block; font-size: 14px; color: var(--ink-muted); line-height: 1.7; margin-top: 2px; }
@media (max-width: 860px) {
  .home-hero { padding: 48px 0 56px; }
  .home-hero .container { grid-template-columns: 1fr; }
  .home-hero .lead { font-size: 16px; }
}

.worries { display: grid; grid-template-columns: 1fr 1fr; }
.worries > div { padding-right: 40px; }
.worries > div + div { padding: 0 0 0 40px; border-left: 1px solid var(--line); }
.worries h3 { font: 600 18px/1.5 var(--serif); padding-bottom: 12px; border-bottom: 1px solid var(--ink); margin-bottom: 4px; }
.worries ul { list-style: none; }
.worries li { padding: 14px 0; border-bottom: 1px solid var(--line); }

@media (max-width: 760px) {
  .worries { grid-template-columns: 1fr; gap: 36px; }
  .worries > div, .worries > div + div { padding: 0; border-left: 0; }
}

.pillars { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--ink); }
.pillar { padding: 32px 48px 36px 0; display: flex; flex-direction: column; }
.pillar + .pillar { padding: 32px 0 36px 48px; border-left: 1px solid var(--line); }
.pillar h3 { font: 600 clamp(22px, 2.2vw, 27px)/1.45 var(--serif); margin-bottom: 16px; }
.pillar .pillar-body { margin-bottom: 18px; }
.pillar .bullets { margin-bottom: 22px; }
.pillar .pillar-foot { margin-top: auto; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 24px; padding-top: 18px; border-top: 1px solid var(--line); }
@media (max-width: 860px) {
  .pillars { grid-template-columns: 1fr; }
  .pillar, .pillar + .pillar { padding: 28px 0; border-left: 0; }
  .pillar + .pillar { border-top: 1px solid var(--line); }
}

.flow { display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; counter-reset: flow; margin-bottom: 32px; }
.flow li { counter-increment: flow; position: relative; text-align: center; padding: 0 12px; }
.flow li::before { content: counter(flow); display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 14px; border: 1px solid var(--ink); border-radius: 50%; font: 600 20px/1 var(--serif); background: var(--canvas); position: relative; z-index: 1; }
.flow li + li::after { content: ""; position: absolute; top: 28px; right: calc(50% + 28px); width: calc(100% - 56px); border-top: 1px solid var(--line-strong); }
.flow li:last-child::before { background: var(--action); color: var(--action-ink); border-color: var(--action); }
.flow strong { display: block; font-size: 16px; line-height: 1.6; }
@media (max-width: 760px) {
  .flow { grid-template-columns: 1fr; gap: 0; }
  .flow li { display: grid; grid-template-columns: 56px 1fr; gap: 16px; align-items: center; text-align: left; padding: 0 0 18px; }
  .flow li::before { margin: 0; }
  .flow li + li::after { top: auto; bottom: calc(100% - 0px); right: auto; left: 28px; width: 0; height: 18px; border-top: 0; border-left: 1px solid var(--line-strong); }
}

.others { display: grid; grid-template-columns: 1.1fr 1.1fr .8fr; border-top: 1px solid var(--ink); }
.others > div { padding: 22px 32px 22px 0; }
.others > div + div { padding-left: 32px; border-left: 1px solid var(--line); }
.others h3 { font-size: 17px; margin-bottom: 6px; }
.others p { font-size: 14.5px; color: var(--ink-muted); margin-bottom: 10px; }
@media (max-width: 860px) {
  .others { grid-template-columns: 1fr; }
  .others > div, .others > div + div { padding: 18px 0; border-left: 0; border-bottom: 1px solid var(--line); }
}

/* ---------- 6. 会社案内で使う組み ---------- */
.greeting { display: grid; grid-template-columns: 300px 1fr; gap: 40px 56px; align-items: start; }
.greeting figure { margin: 0; }
.greeting figcaption { margin-top: 10px; font-size: 13px; color: var(--ink-muted); }
.greeting .sign { margin-top: 24px; font-weight: 700; }
@media (max-width: 760px) { .greeting { grid-template-columns: 1fr; } .greeting figure { max-width: 260px; } }

/* ---------- 7. お問い合わせのフォーム ---------- */
.form-shell { max-width: 760px; margin: 0 auto; padding: 64px 0 88px; }
.form-shell h1 { font-size: clamp(28px, 3.4vw, 40px); }
.form-shell > .lead { margin: 18px 0 32px; color: var(--ink-muted); }
.field { margin: 0 0 24px; }
.field label, fieldset legend { display: block; font-weight: 700; margin-bottom: 8px; }
.required { display: inline-block; margin-left: 10px; padding: 0 8px; font: 700 11px/20px var(--sans); color: var(--alert-ink); border: 1px solid var(--alert-line); border-radius: 4px; vertical-align: 2px; }
input:not([type=checkbox]), select, textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  font: 16px/1.6 var(--sans); color: var(--ink);
  background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--radius);
}
textarea { min-height: 140px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--action); outline-offset: 0; border-color: var(--action); }
.field-hint { margin: 8px 0 0; font-size: 13.5px; color: var(--ink-muted); }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
@media (max-width: 640px) { .field-grid { grid-template-columns: 1fr; } }
fieldset { border: 0; border-top: 1px solid var(--line); margin: 8px 0 24px; padding: 24px 0 0; }
fieldset legend { padding: 0 12px 0 0; font-family: var(--serif); font-size: 18px; }
.notice { border-left: 4px solid var(--action); padding: 6px 0 6px 18px; margin: 0 0 28px; font-size: 15px; }
.notice:empty { display: none; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.checkbox { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; margin: 8px 0 28px; }
.checkbox input { width: 20px; height: 20px; margin: 4px 0 0; accent-color: var(--action); }
.actions { display: flex; flex-wrap: wrap; gap: 16px; }
.form-shell button { /* 送信のボタンは塗り、もどるは線 */
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 12px 28px;
  border-radius: var(--radius); font: 700 16px/1.4 var(--sans); letter-spacing: .04em; cursor: pointer;
  background: var(--action); color: var(--action-ink); border: 1px solid var(--action);
}
.form-shell button:hover { background: var(--action-hover); }
.form-shell button.secondary { background: transparent; color: var(--ink); border-color: var(--ink); }
.form-shell button.secondary:hover { background: var(--ink); color: var(--canvas); }
.form-shell button[disabled] { background: var(--line); border-color: var(--line); color: var(--ink-muted); cursor: not-allowed; }
.confirm-panel { border-top: 1px solid var(--ink); padding-top: 28px; }
.confirm-panel:focus { outline: none; }
.confirm-panel h2 { font-size: 26px; margin-bottom: 10px; }
.confirm-panel dl { display: grid; grid-template-columns: 9em 1fr; margin: 24px 0; border-top: 1px solid var(--line); }
.confirm-panel dt, .confirm-panel dd { margin: 0; padding: 12px 0; border-bottom: 1px solid var(--line); }
.confirm-panel dt { font-weight: 700; color: var(--ink-muted); }
.confirm-panel dd { white-space: pre-wrap; overflow-wrap: anywhere; }
.confirm-panel .final-note { color: var(--ink-muted); }
#turnstile-widget { margin: 16px 0; min-height: 65px; }
#send-status:not(:empty) { margin: 12px 0 20px; padding: 6px 0 6px 18px; border-left: 4px solid var(--line-strong); }
#send-status.error { border-left-color: var(--alert-ink); color: var(--alert-ink); }
#send-status.ok { border-left-color: var(--done-ink); color: var(--done-ink); }
.confirm-panel button + button { margin-left: 12px; }
@media (max-width: 640px) {
  .confirm-panel dl { grid-template-columns: 1fr; }
  .confirm-panel dt { border-bottom: 0; padding-bottom: 0; }
  .confirm-panel button { width: 100%; }
  .confirm-panel button + button { margin: 12px 0 0; }
}

/* ---------- 8. 読み物（プライバシーポリシーなど） ---------- */
.prose { max-width: var(--narrow); }
.prose h2 { font-size: 22px; margin: 2.2em 0 .8em; padding-top: 1em; border-top: 1px solid var(--line); }
.prose h3 { font-size: 17px; margin: 1.6em 0 .6em; }
.prose ul, .prose ol { padding-left: 1.4em; margin: 0 0 1em; }
.prose li { margin: .3em 0; }
.prose table { border-collapse: collapse; width: 100%; margin: 1em 0; }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: 10px 12px 10px 0; text-align: left; vertical-align: top; }
.steps--3 { --steps: 3; }
.steps--4 { --steps: 4; }
.group-title { font: 600 18px/1.6 var(--serif); margin-bottom: 16px; }
.group-map p { margin: 0; }

/* 2つのサービスページで使う組み（2026-10-15 ページから移した） */
/* 困りごとの声：2列の罫線つき一覧（狭い画面は1列） */
.voices { list-style: none; display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; border-top: 1px solid var(--ink); }
.voices li { padding: 14px 0; border-bottom: 1px solid var(--line); }
@media (max-width: 760px) { .voices { grid-template-columns: 1fr; } }
/* 一覧のすぐ下の補足の1文 */
.after-note { margin-top: 24px; color: var(--ink-muted); }
/* もう1本の柱へ：本文の下にリンク */
.next-pillar { max-width: var(--narrow); }
.next-pillar p { margin-bottom: 16px; }
