/* タイスケくん 紹介ページ＆法務ページ 共通CSS
   ブランドカラー・フォントはアプリ本体 public/css/style.css から引用して統一。
   2026-08-01 大改修：装飾コンセプト（時刻レール／パネル重なり／傾きスクショ／
   背景罫線／クラス色チップ）を全廃し、実画面・実データで語る構成に作り直した。 */

:root {
  --bg: #f5f3ee;
  --bg-panel: #ffffff;
  --bg-panel-header: #efeae0;
  --border: #e0dcd2;
  --border-strong: #c8c2b3;
  --text: #2a2a2a;
  --text-sub: #5c5c5c;
  --text-faint: #6a6858;
  --accent: #2980b9;
  --accent-dark: #1f6391;
  --accent-soft: #eaf2f8;
  --danger: #c43a3a;
  /* CTAボタン（site-header-cta / btn-primary）専用の青。--accent（4.3:1）だと
     白文字とのコントラストが不足するため、5.29:1を確保できるこの色を使う。 */
  --btn-blue: #2471a3;
  --btn-blue-hover: #1a4f73;
  /* ダーク面（ヒーロー・最終CTA・フッターの3箇所だけ）用。 */
  --ink: #14202a;
  --ink-sub: #c7cfd6;
  --ink-link: #4da3e0;
  --font-sans: -apple-system, "Hiragino Sans", "Yu Gothic", sans-serif;
  --font-mono: "SF Mono", Menlo, ui-monospace, monospace;
  --radius: 4px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.8;
  font-size: 16px;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--accent-dark); }
a:hover { color: var(--accent); }

/* ==== 自動フィット（見出し・本文の折り返し最適化） ====
   見出しは balance + auto-phrase（対応ブラウザのみ、@supportsで上書き）。
   本文は基本 word-break:normal（ブラウザ標準の折り返し）のまま。
   480px超の広いカラムの本文だけ .prose を付けて pretty + auto-phrase を追加する
   （狭いカード内で pretty/auto-phrase を使うと右端が不揃いにガタつくため、
   本文全部には適用しない）。keep-all は日本語長文で禁則破壊を起こすため不採用。
   .prose系は overflow-wrap:anywhere のみ基底に持ち、英字・URLの横はみ出しを防止する。
   auto-phrase の文節改行は対応ブラウザのみ有効。
   line-break:strict（禁則）は全要素に共通で効かせる。 */
h1, h2, h3, h4, p, li, dt, dd, summary, blockquote, th, td {
  line-break: strict;
  word-break: normal;
}
h1, h2, h3, h4, summary { text-wrap: balance; }
@supports (word-break: auto-phrase) {
  h1, h2, h3, h4, summary { word-break: auto-phrase; }
}
.prose, .prose li {
  overflow-wrap: anywhere;
}
.prose { text-wrap: pretty; }
@supports (word-break: auto-phrase) {
  .prose, .prose li { word-break: auto-phrase; }
}

.brand-name { white-space: nowrap; }
/* 用語・日付など、途中で割れてほしくない短いまとまりに使う */
.nowrap { white-space: nowrap; }
/* 長いURL・メールアドレスなど、はみ出す恐れがある箇所だけに限定して使う */
.wrap-anywhere { overflow-wrap: anywhere; word-break: normal; }

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ==== ダーク面（ヒーロー・最終CTA・フッターの3箇所限定） ==== */
.ink-band { background: var(--ink); color: #fff; }
.ink-band .ink-sub { color: var(--ink-sub); }
.ink-band a { color: var(--ink-link); }
.ink-band a:hover { color: #fff; }
/* インク面のCTAは白背景＋インク文字（青ボタンより強く見せる） */
.ink-band .btn-primary {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}
.ink-band .btn-primary:hover { background: var(--ink-sub); color: var(--ink); }
.ink-band .btn-secondary {
  background: transparent;
  color: #fff;
  border-color: var(--ink-sub);
}
.ink-band .btn-secondary:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }

/* ==== ヘッダー ==== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(245, 243, 238, 0.97);
  backdrop-filter: blur(4px);
  border-bottom: 1px solid var(--border);
}
.site-header-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.site-logo {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  letter-spacing: 0.02em;
}
.site-logo:hover { color: var(--text); }
.site-header-cta {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  background: var(--btn-blue);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  padding: 12px 18px;
  border-radius: var(--radius);
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid var(--accent-dark);
}
.site-header-cta:hover { background: var(--btn-blue-hover); color: #fff; }
/* 320px幅などの極小画面ではCTAの文字がはみ出すため、1段階縮める */
@media (max-width: 360px) {
  .site-header-cta {
    font-size: 13px;
    padding: 8px 12px;
  }
}

/* ==== セクション共通 ==== */
.section { padding: 64px 0; border-bottom: 1px solid var(--border); }
.section:last-of-type { border-bottom: none; }
.section-heading {
  font-size: clamp(26px, 5vw, 38px);
  line-height: 1.3;
  letter-spacing: -0.01em;
  font-weight: 700;
  text-align: left;
  margin: 0 0 24px;
}
.section-heading--center { text-align: center; }
.section-lead {
  font-size: 16px;
  color: var(--text-sub);
  margin: -8px 0 24px;
}

/* ==== ボタン ==== */
.cta-group { display: flex; flex-wrap: wrap; gap: 16px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  padding: 12px 28px;
  border-radius: var(--radius);
  text-align: center;
  border: 1px solid transparent;
}
.btn-primary {
  /* 白文字とのコントラストが --accent（4.3:1）だと不足するため専用色（5.29:1）を使う */
  background: var(--btn-blue);
  color: #fff;
  border-color: var(--accent-dark);
}
.btn-primary:hover { background: var(--btn-blue-hover); color: #fff; }
.btn-secondary {
  background: #fff;
  color: var(--accent-dark);
  border-color: var(--border-strong);
}
.btn-secondary:hover { background: var(--bg-panel-header); color: var(--accent-dark); }
/* モバイルはCTAを縦積みで幅いっぱいに */
@media (max-width: 599px) {
  .cta-group { flex-direction: column; }
  .cta-group .btn { width: 100%; }
}

/* 「無料」文字バッジ（🎁の代わり） */
.badge-free {
  display: inline-block;
  background: var(--accent-dark);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius);
  letter-spacing: 0.02em;
  vertical-align: middle;
}
/* 「✓」チェック（✅の代わり） */
.check { color: var(--accent-dark); font-weight: 700; }

/* 数値・時刻・型番など計測値の表記はモノスペース＋等幅数字 */
.mono-num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

/* ==== 画像・スクリーンショット ====
   影は1段だけ（0 12px 32px -12px）。傾き・多層影・ブラウザ窓風フレームは
   ヒーローの主役画像1枚だけに絞り、他は素直な写真として並べる（強弱をつける）。 */
.showcase-img {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 12px 32px -12px rgba(20, 32, 42, 0.18);
}
.shot-frame {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  box-shadow: 0 12px 32px -12px rgba(20, 32, 42, 0.18);
}
.shot-frame-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-panel-header);
  border-bottom: 1px solid var(--border);
  padding: 9px 12px;
}
.shot-frame-bar span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--border-strong);
  display: inline-block;
}
.shot-frame img { display: block; width: 100%; height: auto; }

/* ==== ヒーロー（ダーク面） ==== */
.hero { padding: 64px 0 0; }
.hero-copy { max-width: 640px; margin-bottom: 40px; }
.hero-badge {
  display: inline-block;
  border: 1px solid var(--ink-sub);
  color: var(--ink-sub);
  font-size: 13px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius);
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}
.hero-title {
  font-size: clamp(30px, 6vw, 48px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: #fff;
  margin: 0 0 20px;
}
.hero-sub {
  font-size: 17px;
  color: var(--ink-sub);
  margin: 0 0 32px;
  max-width: 560px;
}
.hero-sub strong { color: #fff; }
.hero-shot-wrap { max-width: 640px; margin: 0 auto; padding: 0 20px 64px; }
.hero-caption {
  text-align: center;
  font-size: 14px;
  color: var(--ink-sub);
  margin: 16px 0 0;
}

/* ==== ②完成物 ==== */
.finished-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 700px) {
  .finished-grid { grid-template-columns: repeat(2, 1fr); }
}
.finished-item { margin: 0; }
.finished-caption {
  text-align: center;
  font-size: 14px;
  color: var(--text-sub);
  margin-top: 8px;
}
.finished-note {
  text-align: center;
  font-size: 15px;
  color: var(--text-sub);
  margin-top: 20px;
}

/* ==== ③現場の声 ==== */
.quote-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 700px) {
  .quote-grid { grid-template-columns: repeat(2, 1fr); }
}
.quote-card {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
}

/* ==== ④数値バナー ==== */
/* 見出しなしセクションのため、section-leadの上マイナスマージンは打ち消す */
.stat-banner-lead { margin-top: 0; }
/* stat-bannerの直後に続く新規段落。section-leadの見出し直下用マイナスマージンを打ち消し、通常の余白に */
.stat-followup-lead { margin-top: 28px; }
.stat-banner {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-value {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(30px, 6vw, 42px);
  font-weight: 700;
  color: var(--accent-dark);
}
.stat-unit { font-size: 0.5em; }
.stat-label {
  font-size: 14px;
  color: var(--text-sub);
  margin-top: 6px;
}

/* ==== ⑤3ステップ ==== */
.step-block {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 32px 0;
  border-top: 1px solid var(--border);
}
.step-block:first-child { border-top: none; padding-top: 0; }
.step-label {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-dark);
  letter-spacing: 0.04em;
}
.step-block h3 {
  font-size: 24px;
  font-weight: 700;
  margin: 4px 0 4px;
}
.step-block p { font-size: 16px; color: var(--text-sub); max-width: 640px; margin: 0; }
.step-shot { max-width: 900px; width: 100%; margin-top: 16px; }
/* STEP3ドラッグ画像専用：601px以上は緑ライン＋バッジ周辺を主役にした事前トリミング画像
   （app-chart-drag-desktop.png、<picture>のsourceで切替）を使う。比率もその画像に合わせる。
   object-fit:cover頼みで元画像を左右トリミングするとツールバーの文字が切れるため廃止。
   .step-shotのmax-width:900pxより広く見せたいので、後勝ちで1040pxに拡大。 */
.step-shot-crop {
  max-width: 1040px;
  aspect-ratio: 1520 / 633;
  object-fit: cover;
  object-position: 50% 50%;
}
/* 600px以下は緑のドラッグ線＋時刻バッジが小さすぎて読めないため、
   バッジ周辺だけを事前トリミングした専用画像（app-chart-drag-mobile.png、
   <picture>のsourceで切替）を使う。比率もその画像に合わせて3:1に。 */
@media (max-width: 600px) {
  .step-shot-crop {
    aspect-ratio: 3 / 1;
    object-position: 50% 50%;
  }
}
.mid-cta { text-align: center; margin-top: 40px; }

/* ==== ⑥対応構成 ==== */
/* 中盤の単調さ対策：このセクションだけベタ面にして区切りを作る（ダーク面3箇所ルールとは別） */
.section-config { background: var(--bg-panel-header); }
.config-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}
.config-tag {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 16px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}
.config-note {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}

/* ==== ⑦信頼 ==== */
.trust-body { max-width: 680px; }
.trust-body p { margin: 0 0 16px; }
.trust-provider {
  font-size: 16px;
  color: var(--text-sub);
  margin: 0 0 24px;
}
.trust-callout {
  background: var(--accent-soft);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  padding: 20px 24px;
  max-width: 680px;
}
.trust-callout p { margin: 0; font-size: 16px; color: var(--text-sub); }

/* ==== ⑧料金 ==== */
.price-lead {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 24px;
}
.price-phases {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 24px;
}
@media (min-width: 700px) {
  .price-phases { grid-template-columns: repeat(2, 1fr); }
}
.price-phase {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}
.price-phase-title { font-size: 16px; font-weight: 700; margin: 0 0 8px; }
.price-phase p { font-size: 16px; color: var(--text-sub); margin: 0; }
.price-callout {
  background: var(--accent-soft);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  padding: 16px 20px;
  font-size: 16px;
  font-weight: 700;
  color: var(--accent-dark);
  margin-bottom: 32px;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

.price-table-wrap {
  display: none;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 24px;
}
.price-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  table-layout: fixed;
}
.price-table th,
.price-table td {
  padding: 12px 14px;
  font-size: 16px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.price-table th { background: var(--bg-panel-header); font-weight: 700; }
.price-table td:first-child,
.price-table th:first-child { text-align: left; width: 50%; }
.price-table td:nth-child(2), .price-table th:nth-child(2) { width: 25%; }
.price-table td:nth-child(3), .price-table th:nth-child(3) { width: 25%; }
.price-table tr:last-child td { border-bottom: none; }
.price-no { color: var(--text-faint); }

.price-lists {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 24px;
}
.price-list-block {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}
.price-list-block h3 { font-size: 16px; font-weight: 700; margin: 0 0 12px; }
.price-list-block ul { list-style: none; margin: 0; padding: 0; }
.price-list-block li {
  font-size: 16px;
  padding: 6px 0;
  border-bottom: 1px dashed var(--border);
}
.price-list-block li:last-child { border-bottom: none; }

@media (min-width: 700px) {
  .price-table-wrap { display: block; }
  .price-lists { display: none; }
}

.price-notes {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 16px;
  color: var(--text-faint);
}
.price-notes li { padding-left: 16px; position: relative; margin-bottom: 6px; }
.price-notes li::before { content: "―"; position: absolute; left: 0; }

/* ==== ⑨そのほかの機能 ==== */
.function-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: stretch;
}
@media (min-width: 600px) {
  .function-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .function-grid { grid-template-columns: repeat(3, 1fr); }
}
.function-item {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
}
/* 画像入りカードはグリッドから外して単独配置（グリッドの行高さが画像に引きずられ、
   隣のテキストカードの下に大きな空白ができるのを防ぐため） */
.function-item-feature { max-width: 480px; margin: 0 0 16px; }
.function-item-name { font-size: 16px; font-weight: 700; margin: 0 0 6px; }
.function-item p { font-size: 16px; color: var(--text-sub); margin: 0; }
.function-item img { margin-top: 12px; border-radius: var(--radius); border: 1px solid var(--border); }
/* 900px以上は画像入りカードの右に空白が余るため、画像左・説明右の横並びに変更。
   DOMの並び（名前→説明→画像）はそのままgrid-areaで再配置するので、
   768px以下（未指定）の見え方には影響しない。 */
@media (min-width: 900px) {
  .function-item-feature {
    max-width: 1040px;
    display: grid;
    grid-template-columns: 560px 1fr;
    grid-template-areas: "img info";
    align-items: center;
    column-gap: 32px;
  }
  .function-item-feature .function-item-info { grid-area: info; }
  .function-item-feature img { grid-area: img; margin-top: 0; }
}

/* ==== ⑩FAQ ==== */
.faq-list { max-width: 720px; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-panel);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 14px 18px;
  font-size: 16px;
  font-weight: 700;
  list-style: none;
  position: relative;
  padding-right: 40px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  font-weight: 400;
  color: var(--accent-dark);
}
.faq-item[open] summary::after { content: "−"; }
.faq-item[open] summary { border-bottom: 1px solid var(--border); }
.faq-item summary:hover { background: var(--bg-panel-header); }
.faq-answer { padding: 4px 18px 18px; font-size: 16px; color: var(--text-sub); margin: 0; }

/* ==== ⑪最終CTA（ダーク面） ==== */
.final-cta { text-align: center; padding: 64px 0; }
.final-cta-title {
  font-size: clamp(22px, 4.5vw, 30px);
  font-weight: 700;
  line-height: 1.4;
  color: #fff;
  margin: 0 0 24px;
}
.final-cta .cta-group { justify-content: center; }

/* ==== フッター ====
   デフォルト（.site-footer 単体）はクリーム地のまま＝法務3ページはこの見た目を維持。
   about/index.html の footer だけ .ink-band を追加してダーク面にする。 */
.site-footer {
  background: var(--bg-panel-header);
  border-top: 1px solid var(--border);
  padding: 40px 0;
}
.site-footer.ink-band { background: var(--ink); border-top: none; }
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
@media (min-width: 800px) {
  .footer-inner { flex-direction: row; justify-content: space-between; align-items: flex-start; }
}
.footer-info { font-size: 14px; color: var(--text-sub); }
.ink-band .footer-info { color: var(--ink-sub); }
.footer-info p { margin: 0 0 4px; }
.footer-info a { font-size: 14px; }
.footer-info a:hover { color: var(--accent-dark); text-decoration: underline; }
.ink-band .footer-info a:hover { color: #fff; text-decoration: underline; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-nav a {
  font-size: 14px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--text-sub);
  text-decoration: none;
}
.footer-nav a:hover { color: var(--accent-dark); text-decoration: underline; }
.ink-band .footer-nav a { color: var(--ink-sub); }
.ink-band .footer-nav a:hover { color: #fff; text-decoration: underline; }

/* ==== モバイル下部固定CTAバー（〜599px限定・about/index.htmlのみ opt-in） ==== */
.mobile-cta-bar { display: none; }
@media (max-width: 599px) {
  body.has-mobile-cta-bar { padding-bottom: 76px; }
  .mobile-cta-bar {
    display: flex;
    align-items: center;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 20;
    background: var(--ink);
    padding: 10px 12px;
    gap: 8px;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.18);
  }
  .mobile-cta-bar .btn { flex: 1; min-height: 44px; padding: 10px 12px; font-size: 14px; }
  /* 右側はボタンに見せない、ただの文字ラベル（.badge-freeの塗り・角丸を打ち消す） */
  .mobile-cta-bar .mobile-cta-badge {
    flex-shrink: 0;
    white-space: nowrap;
    display: inline;
    background: none;
    color: var(--ink-sub);
    font-size: 16px;
    padding: 0;
    border-radius: 0;
  }
}

/* ==== 法務ページ（規約・プライバシー・特商法） ==== */
.legal-main {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 20px 64px;
}
.legal-title {
  font-size: clamp(24px, 5vw, 32px);
  font-weight: 700;
  margin: 0 0 8px;
}
.legal-updated {
  font-size: 13.5px;
  color: var(--text-faint);
  margin: 0 0 36px;
}
.legal-body h2 {
  font-size: 19px;
  font-weight: 700;
  margin: 36px 0 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.legal-body h2:first-child { margin-top: 0; }
.legal-body h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 28px 0 10px;
}
.legal-body p {
  font-size: 16px;
  margin: 0 0 14px;
}
.legal-body ol,
.legal-body ul {
  padding-left: 1.4em;
  font-size: 16px;
  margin: 0 0 14px;
}
.legal-body li { margin-bottom: 6px; }
/* LP本文（.prose）と同じ自動フィットを法務ページの本文にも適用（カタカナ語の途中割れ防止） */
.legal-body p,
.legal-body li {
  overflow-wrap: anywhere;
  text-wrap: pretty;
}
@supports (word-break: auto-phrase) {
  .legal-body p,
  .legal-body li {
    word-break: auto-phrase;
  }
}
.legal-body a { word-break: break-all; }
.legal-signoff {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 14px;
  color: var(--text-faint);
  text-align: right;
}
/* 390px幅では右寄せだと郵便番号・住所が読みにくく分断されるため左寄せに切り替える */
@media (max-width: 699px) {
  .legal-signoff { text-align: left; }
}

/* ==== フォーカス表示（キーボード操作時に見える枠） ==== */
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent-dark);
  outline-offset: 2px;
}
.ink-band a:focus-visible,
.ink-band button:focus-visible,
.ink-band summary:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

/* ==== 印刷（法務3ページの印刷を想定） ==== */
@media print {
  .site-header { position: static; }
  .site-header-cta,
  .btn,
  .mobile-cta-bar { display: none; }
  .site-footer a { color: #000; }
}
