/* =============================================================
   城戸石材加工所 — サイト共通スタイルシート（正本）
   kido-lp.v2.css  /  v2.0（2026-07-05）
   -------------------------------------------------------------
   配信：Xserverの /common/kido-lp.v2.css に置き、全ページから
   <link rel="stylesheet" href="/common/kido-lp.v2.css"> で参照する。
   改訂時はこのファイルを直接書き換えず、v3として新ファイルを作り
   ページ側の参照を1ページずつ切り替える（同時崩壊の防止）。
   色・余白・文字サイズは :root のトークンだけで管理する。
   個別ページで色を直書きしない（統一感が崩れる原因になる）。
   v1からの変更：末尾に「v2追加部品」を追記（既存クラスは無変更）。
   ============================================================= */

/* ===== ブランドトークン ===== */
:root {
  /* ---- 色（ティール軸で確定・#0096aaが主色） ---- */
  --teal:         #0096aa;  /* 主色：見出し・ボタン・リンク・テーブル見出し */
  --teal-deep:    #2d8d9a;  /* 深いティール（ブランド基準色）：引き締め・補助 */
  --teal-tint:    #f0f8f9;  /* 淡ティール背景：FAQ・エリアタグ・強みカード */
  --teal-tint-bd: #cce5e9;  /* 淡ティール境界 */
  --hero-overlay: rgba(0,80,90,0.75); /* ヒーロー写真の暗幕 */

  --bronze:       #a36e2f;  /* 装飾ブロンズ：見出し左線・区切り・施工後ラベル */
  --bronze-tint:  #fff8e8;  /* 温かい補足・おすすめ強調ボックス背景 */
  --bronze-tint-bd:#e0d0a0; /* 補足ボックス境界 */

  --line-green:   #06C755;  /* LINE公式カラー（変更不可） */

  --bg:      #ffffff;       /* 通常セクション背景 */
  --bg-alt:  #f5f5f5;       /* 交互セクション背景 */
  --footer-bg:#333333;      /* フッター背景 */

  --text:      #202020;     /* 本文 */
  --text-sub:  #555555;     /* 補足本文 */
  --text-mute: #888888;     /* 注釈 */
  --border:      #dddddd;   /* 罫線 */
  --border-soft: #e0e0e0;   /* 淡い罫線 */

  /* ---- 形・寸法 ---- */
  --radius-sm: 6px;
  --radius:    8px;
  --radius-lg: 10px;
  --maxw:      800px;       /* 本文カラム最大幅 */
  --shadow:    0 2px 8px rgba(0,0,0,0.15);
}

/* ===== リセット ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { overflow-x: clip; }
body { overflow-x: clip; width: 100%; }
img { max-width: 100%; height: auto; }

/* =============================================================
   ベース = スマホ（375px）。デスクトップは末尾の @media で上書き。
   ============================================================= */
body {
  font-family: 'Noto Serif JP', 'MS P明朝', serif;
  color: var(--text);
  line-height: 1.8;
  font-size: 16px;          /* 50代以上向け：スマホ最小16px */
  background: var(--bg);
  padding-bottom: 56px;     /* モバイル固定CTAの高さ分 */
}

/* ===== ヘッダー（sticky固定） ===== */
header {
  background: var(--bg);
  border-bottom: 3px solid var(--bronze);
  padding: 8px 16px;
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
}
.header-logo { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--text); }
.header-logo-img { height: 36px; width: auto; }
.header-right { display: flex; align-items: center; gap: 20px; }
.header-tel { display: none; }  /* スマホ非表示。1100px〜で表示 */
.header-contact-btn {
  display: block; background: var(--teal); color: #fff; text-decoration: none;
  padding: 10px 14px; border-radius: var(--radius-sm);
  font-size: 13px; font-weight: 600; white-space: nowrap;
}
.btn-pc { display: none; }
.btn-sp { display: inline; }

/* ===== PCグローバルナビ ===== */
.lp-globalnav { display: none; background: var(--bg); border-bottom: 1px solid var(--border-soft); position: sticky; z-index: 99; }
.lp-globalnav ul { list-style: none; margin: 0 auto; padding: 0; display: flex; justify-content: center; flex-wrap: wrap; max-width: 1100px; }
.lp-globalnav li a {
  display: block; padding: 14px 16px; color: var(--text); text-decoration: none;
  font-size: 14px; font-weight: 500; letter-spacing: 0.5px; transition: color 0.2s;
  border-bottom: 3px solid transparent;
}
.lp-globalnav li a:hover { color: var(--teal); }
.lp-globalnav li a.active { color: var(--teal); border-bottom-color: var(--bronze); pointer-events: none; }

/* ===== ハンバーガーメニュー（スマホ・CSSのみで開閉） ===== */
.lp-drawer-hidden { display: none; }
.lp-drawer-open { display: flex; flex-direction: column; justify-content: center; align-items: center; width: 36px; height: 36px; cursor: pointer; margin-left: 4px; }
.lp-drawer-open span { display: block; width: 22px; height: 2px; background: var(--text); margin: 3px 0; transition: all 0.3s; }
.lp-drawer-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 199; opacity: 0; pointer-events: none; transition: opacity 0.3s; cursor: pointer; }
.lp-drawer-content { position: fixed; top: 0; right: 0; width: 82%; max-width: 320px; height: 100vh; background: var(--bg); box-shadow: -4px 0 16px rgba(0,0,0,0.2); padding: 56px 0 24px; transform: translateX(100%); transition: transform 0.3s; z-index: 200; overflow-y: auto; }
.lp-drawer-content ul { list-style: none; margin: 0; padding: 0; }
.lp-drawer-content li a { display: block; padding: 16px 24px; color: var(--text); text-decoration: none; font-size: 17px; border-bottom: 1px solid #eee; }
.lp-drawer-content li a.active { color: var(--teal); font-weight: 700; background: var(--bg-alt); }
.lp-drawer-content li a.drawer-tel { color: var(--teal); font-weight: 600; }
.lp-drawer-close-x { position: fixed; top: 12px; right: 16px; width: 36px; height: 36px; display: none; align-items: center; justify-content: center; font-size: 28px; color: var(--text); cursor: pointer; z-index: 201; }
#lp-drawer-check:checked ~ .lp-drawer-content { transform: translateX(0) !important; }
#lp-drawer-check:checked ~ .lp-drawer-overlay { opacity: 1 !important; pointer-events: auto !important; }
#lp-drawer-check:checked ~ .lp-drawer-close-x { display: flex !important; }

/* ===== セクション共通 ===== */
.section { padding: 32px 16px; max-width: var(--maxw); margin: 0 auto; }
.section-alt { background: var(--bg-alt); }  /* 白と交互に配置 */

h1 { font-size: 20px; font-weight: 600; color: var(--teal); text-align: center; line-height: 1.5; margin-bottom: 16px; }
h2 { font-size: 17px; font-weight: 600; color: var(--teal); border-left: 4px solid var(--bronze); padding-left: 12px; margin-bottom: 16px; }
h3 { font-size: 16px; font-weight: 500; color: #333; margin: 20px 0 8px; }
p  { margin-bottom: 14px; }
a  { color: var(--teal); }

/* ===== ヒーロー（悩み → 解決） ===== */
.hero {
  background: linear-gradient(var(--hero-overlay), var(--hero-overlay)), var(--hero-bg, none) center/cover no-repeat;
  background-color: var(--teal-deep);  /* 写真未設定時のフォールバック */
  color: #fff; text-align: center; padding: 28px 16px;
}
.hero h1 { color: #fff; font-size: 20px; margin-bottom: 12px; }
.hero-sub, .hero-lead { font-size: 15px; margin-bottom: 16px; }
.hero-worry, .worry-list { list-style: none; text-align: left; max-width: 600px; margin: 0 auto 16px; }
.hero-worry li, .worry-list li { padding: 6px 0 6px 24px; position: relative; font-size: 14px; border-bottom: 1px solid rgba(255,255,255,0.2); }
.hero-worry li::before, .worry-list li::before { content: "\2714"; position: absolute; left: 0; color: #fff; font-weight: bold; }
.hero-worry .sp-hide { display: none; }  /* スマホでは長い悩みを隠す */
.hero-answer { background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.4); border-radius: var(--radius-lg); padding: 14px 16px; max-width: 600px; margin: 0 auto; }
.hero-answer-lead { font-size: 17px; font-weight: 600; margin-bottom: 8px; }
.hero-answer p { font-size: 14px; margin-bottom: 10px; }
.hero-cta-btn { display: block; background: #fff; color: var(--teal); text-decoration: none; padding: 14px; border-radius: var(--radius-sm); font-size: 16px; font-weight: 600; text-align: center; }

/* ===== CTAボックス（上部・中間で使用） ===== */
.cta-box { background: var(--bg); border: 2px solid var(--teal); border-radius: var(--radius-lg); padding: 20px 16px; text-align: center; margin: 24px 0; }
.cta-box .label { font-size: 15px; color: #666; margin-bottom: 12px; }
.cta-tel-row { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; margin-bottom: 10px; }
.cta-tel-item { text-align: center; }
.cta-tel-label { display: block; font-size: 13px; color: #333; font-weight: 500; margin-bottom: 2px; }
.cta-tel { display: block; font-size: 22px; font-weight: 600; color: var(--teal); text-decoration: none; letter-spacing: 1px; }
.cta-box .hours { font-size: 13px; color: var(--text-mute); }
.cta-buttons { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.cta-btn { display: block; background: var(--teal); color: #fff; text-decoration: none; padding: 14px; border-radius: var(--radius-sm); font-size: 15px; font-weight: 500; text-align: center; }
.cta-btn-line { background: var(--line-green); }

/* ===== ワンストップ・フロー（横並び矢印） ===== */
.onestop-flow { display: flex; flex-direction: column; align-items: center; gap: 6px; background: var(--bg-alt); border-radius: var(--radius); padding: 16px; margin: 16px 0; font-size: 14px; text-align: center; }
.onestop-flow .step-item { background: var(--teal); color: #fff; padding: 8px 16px; border-radius: var(--radius-sm); font-weight: 500; width: 100%; }
.onestop-flow .arrow { display: none; }  /* PCで表示 */
.onestop-flow .arrow-down { display: block; color: var(--bronze); font-size: 20px; font-weight: bold; }

/* ===== 強みカード（グリッド） ===== */
.strength-grid { display: grid; grid-template-columns: 1fr; gap: 12px; margin: 16px 0; }
.strength-card { background: var(--teal-tint); border: 1px solid var(--teal-tint-bd); border-radius: var(--radius); padding: 16px; text-align: center; }
.strength-card .icon { font-size: 28px; margin-bottom: 6px; }
.strength-card .title { font-size: 15px; font-weight: 600; color: var(--teal); margin-bottom: 6px; }
.strength-card .desc { font-size: 14px; color: var(--text-sub); line-height: 1.6; }

/* ===== ステップ（番号付き円） ===== */
.step { display: flex; gap: 12px; margin-bottom: 20px; align-items: flex-start; }
.step-num { flex-shrink: 0; width: 34px; height: 34px; background: var(--teal); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 600; }
.step-body h3 { margin-top: 0; font-size: 15px; }
.step-body p { font-size: 14px; color: var(--text-sub); margin-bottom: 0; }

/* ===== 費用・テーブル ===== */
.price-highlight { text-align: center; font-size: 17px; font-weight: 600; color: var(--teal); margin: 16px 0; padding: 16px; background: var(--bg-alt); border-radius: var(--radius); }
.price-highlight .num { font-size: 26px; }
table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 14px; }
th, td { padding: 10px 12px; border: 1px solid var(--border); text-align: left; }
th { background: var(--teal); color: #fff; font-weight: 500; }
td { background: var(--bg); }

/* 横スクロールする料金比較テーブル */
.plan-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 16px 0; }
.plan-table-wrap::after { content: '← スクロールできます →'; display: block; text-align: center; font-size: 12px; color: #999; margin-top: 4px; }
.plan-table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 14px; }
.plan-table th, .plan-table td { padding: 10px 12px; border: 1px solid var(--border); text-align: center; white-space: nowrap; }
.plan-table th { background: var(--teal); color: #fff; }
.plan-table .recommend { background: var(--bronze-tint); border: 2px solid var(--bronze); }

/* おすすめ・補足の温かいボックス */
.plan-benefit, .note-box { background: var(--bronze-tint); border: 1px solid var(--bronze-tint-bd); border-radius: var(--radius); padding: 14px 16px; margin: 16px 0; font-size: 14px; }
.plan-benefit strong { color: var(--bronze); }
.note-text { font-size: 13px; color: var(--text-mute); line-height: 1.8; }

/* ===== 施工事例（ビフォーアフター） ===== */
.case { background: var(--bg); border: 1px solid var(--border-soft); border-radius: var(--radius); padding: 16px; margin-bottom: 14px; }
.case h3 { color: var(--teal); margin-top: 0; margin-bottom: 10px; font-size: 15px; }
.case p { font-size: 14px; color: var(--text-sub); margin-bottom: 0; }
.case-photos { display: flex; gap: 8px; margin-bottom: 10px; }
.case-photo { flex: 1; position: relative; }
.case-photo img { width: 100%; height: auto; border-radius: var(--radius-sm); display: block; }
.case-photo-label { position: absolute; top: 4px; left: 4px; background: var(--teal); color: #fff; font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 3px; }
.case-photo-label-after { background: var(--bronze); }

/* ===== FAQ（アコーディオン） ===== */
.faq-item { margin-bottom: 10px; }
.faq-item details { border-radius: var(--radius-sm); overflow: hidden; }
.faq-item summary { font-weight: 600; font-size: 15px; color: #333; padding: 12px 40px 12px 16px; background: var(--teal-tint); border-left: 4px solid var(--teal); cursor: pointer; list-style: none; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "\FF0B"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-size: 18px; color: var(--teal); }
.faq-item details[open] summary::after { content: "\FF0D"; }
.faq-a, .faq-answer { font-size: 14px; color: var(--text-sub); padding: 12px 16px; line-height: 1.8; background: #fafafa; }

/* ===== 対応エリア（タグ） ===== */
.area-list { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 12px 0; }
.area-list li { background: var(--teal-tint); border: 1px solid var(--teal-tint-bd); padding: 4px 12px; border-radius: 20px; font-size: 14px; }

/* ===== 霊苑・特徴リスト ===== */
.reien-features { list-style: none; margin: 12px 0; }
.reien-features li { padding: 8px 0 8px 24px; position: relative; font-size: 15px; }
.reien-features li::before { content: "\25C9"; position: absolute; left: 0; color: var(--bronze); font-size: 14px; }

/* ===== 関連サービスカード ===== */
.related-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
.related-card { display: block; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--text); }
.related-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.related-card-body { padding: 12px 16px; }
.related-card-title { font-size: 16px; font-weight: 600; color: var(--teal); margin-bottom: 4px; }
.related-card-desc { font-size: 14px; color: var(--text-sub); margin: 0; }

/* ===== お問い合わせフォーム埋め込み ===== */
.form-embed { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.form-embed iframe { display: block; width: 100%; }

/* ===== 最終CTA（ティール背景・お電話） ===== */
.final-cta { background: var(--teal); padding: 32px 16px; text-align: center; color: #fff; }
.final-cta h2 { color: #fff; border: none; text-align: center; font-size: 18px; margin-bottom: 10px; padding-left: 0; }
.final-cta p { margin-bottom: 10px; font-size: 15px; }
.final-cta-office { margin: 14px 0 6px; }
.final-cta-label, .final-cta-tel-label { font-size: 15px; opacity: 0.9; }
.final-cta-tel { color: #fff; font-size: 24px; font-weight: 600; text-decoration: none; letter-spacing: 1px; }
.final-cta .hours { font-size: 13px; opacity: 0.8; margin-top: 10px; }
.final-cta-buttons { margin-top: 16px; }
.final-cta-btn, .final-cta-btn-form { display: block; background: #fff; color: var(--teal); padding: 14px; border-radius: var(--radius-sm); text-decoration: none; font-weight: 600; font-size: 15px; }
.final-cta-btn-line { background: var(--line-green); color: #fff; margin-top: 8px; }

/* ===== フッター ===== */
footer { background: var(--footer-bg); color: #ccc; text-align: center; padding: 24px 16px; font-size: 13px; line-height: 1.8; }
footer a { color: #61afb8; text-decoration: none; }
.footer-name { font-size: 16px; font-weight: 600; color: #fff; margin-bottom: 12px; }
.footer-offices { display: flex; flex-direction: column; align-items: center; gap: 10px; margin: 10px 0; }
.footer-office { text-align: center; }
.footer-office-name { font-size: 14px; font-weight: 600; color: #fff; margin-bottom: 2px; }
.footer-links { margin-top: 10px; font-size: 13px; }
.footer-instagram, .footer-insta { display: inline-block; background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); color: #fff; padding: 10px 20px; border-radius: var(--radius-sm); text-decoration: none; font-size: 13px; font-weight: 600; margin-top: 10px; }
footer .copyright { margin-top: 10px; font-size: 11px; color: var(--text-mute); }

/* ===== トップに戻るボタン ===== */
.back-to-top { position: fixed; bottom: 68px; right: 12px; width: 40px; height: 40px; background: var(--teal); color: #fff; border: none; border-radius: 50%; font-size: 18px; cursor: pointer; opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0.3s; z-index: 99; box-shadow: 0 2px 8px rgba(0,0,0,0.3); }
.back-to-top.visible { opacity: 0.85; visibility: visible; }

/* ===== モバイル固定CTA（電話＋LINE） ===== */
.mobile-cta { display: block; position: fixed; bottom: 0; left: 0; right: 0; z-index: 100; }
.mobile-cta-inner { display: flex; }
.mobile-cta a { display: block; color: #fff; text-align: center; text-decoration: none; padding: 16px; font-size: 15px; font-weight: 600; letter-spacing: 1px; flex: 1; }
.mobile-cta .tel-btn { background: var(--teal); }
.mobile-cta .line-btn, .mobile-cta .line-btn-mobile { background: var(--line-green); }

/* =============================================================
   デスクトップ（769px〜）
   ============================================================= */
@media (min-width: 769px) {
  body { font-size: 18px; line-height: 1.9; padding-bottom: 0; }  /* PCは本文18px */
  header { padding: 6px 24px; }
  .header-logo-img { height: 56px; }
  .header-contact-btn { font-size: 15px; padding: 12px 20px; }
  .btn-pc { display: inline; }
  .btn-sp { display: none; }
  .section { padding: 50px 20px; }
  h1 { font-size: 26px; margin-bottom: 24px; }
  h2 { font-size: 20px; margin-bottom: 20px; }
  h3 { font-size: 17px; margin: 24px 0 10px; }
  p { margin-bottom: 16px; }
  .hero { padding: 50px 20px; }
  .hero h1 { font-size: 28px; margin-bottom: 24px; }
  .hero-sub, .hero-lead { font-size: 22px; margin-bottom: 24px; }
  .hero-worry li, .worry-list li { padding: 10px 0 10px 32px; font-size: 18px; }
  .hero-worry .sp-hide { display: list-item; }
  .hero-answer { padding: 24px 30px; }
  .hero-answer-lead { font-size: 24px; margin-bottom: 12px; }
  .hero-answer p { font-size: 16px; }
  .hero-cta-btn { display: inline-block; padding: 14px 40px; }
  .cta-box { padding: 24px; margin: 30px 0; }
  .cta-box .label { font-size: 18px; }
  .cta-tel-row { gap: 40px; }
  .cta-tel-label { font-size: 18px; }
  .cta-tel { font-size: 30px; }
  .cta-box .hours { font-size: 16px; }
  .cta-buttons { flex-direction: row; justify-content: center; gap: 12px; }
  .cta-btn { display: inline-block; padding: 14px 40px; }
  .onestop-flow { flex-direction: row; padding: 20px; font-size: 16px; }
  .onestop-flow .step-item { width: auto; }
  .onestop-flow .arrow { display: inline; }
  .onestop-flow .arrow-down { display: none; }
  .strength-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .strength-card { padding: 20px; }
  .strength-card .icon { font-size: 32px; }
  .strength-card .title { font-size: 16px; }
  .step { gap: 16px; margin-bottom: 24px; }
  .step-num { width: 44px; height: 44px; font-size: 16px; }
  .step-body h3 { font-size: 16px; }
  .step-body p { font-size: 16px; }
  .price-highlight { font-size: 22px; padding: 20px; }
  .price-highlight .num { font-size: 32px; }
  table { font-size: 16px; width: auto; }
  th, td { padding: 12px 16px; }
  .plan-table-wrap::after { display: none; }
  .plan-table { font-size: 16px; min-width: 100%; }
  .plan-table th, .plan-table td { padding: 12px 16px; }
  .plan-benefit { font-size: 16px; padding: 16px; }
  .case { padding: 20px; }
  .case h3 { font-size: 17px; }
  .case p { font-size: 16px; }
  .case-photos { gap: 16px; }
  .case-photo-label { font-size: 14px; padding: 4px 12px; top: 8px; left: 8px; }
  .faq-item { margin-bottom: 16px; }
  .faq-item summary { font-size: 17px; }
  .faq-a, .faq-answer { font-size: 16px; }
  .area-list li { padding: 6px 16px; font-size: 16px; }
  .reien-features li { font-size: 17px; padding: 10px 0 10px 28px; }
  .final-cta { padding: 40px 20px; }
  .final-cta h2 { font-size: 22px; }
  .final-cta p { font-size: 16px; }
  .final-cta-tel { font-size: 30px; }
  .final-cta-btn, .final-cta-btn-form { display: inline-block; padding: 14px 40px; }
  .final-cta-btn-line { margin-top: 12px; }
  .related-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
  .related-card-body { padding: 16px 20px; }
  .related-card-title { font-size: 18px; }
  .related-card-desc { font-size: 15px; }
  footer { padding: 30px 20px; font-size: 15px; }
  .footer-name { font-size: 18px; }
  .footer-offices { flex-direction: row; justify-content: center; gap: 60px; }
  .footer-office { min-width: 280px; }
  .footer-office-name { font-size: 16px; }
  .footer-links { font-size: 15px; }
  .footer-instagram, .footer-insta { font-size: 15px; }
  .back-to-top { bottom: 80px; right: 20px; width: 48px; height: 48px; font-size: 22px; }
  .mobile-cta { display: none; }
  .lp-globalnav { display: block; top: 53px; }
  .lp-drawer-open, .lp-drawer-overlay, .lp-drawer-content, .lp-drawer-close-x { display: none !important; }
}

/* グローバルナビの位置微調整（768px境界） */
@media (min-width: 768px) { .lp-globalnav { display: block; top: 53px; } }

/* ===== ワイドデスクトップ（1100px〜）：ヘッダーに電話番号を表示 ===== */
@media (min-width: 1100px) {
  .header-tel { display: block; text-align: right; line-height: 1.5; }
  .header-tel a { font-size: 16px; color: var(--teal); text-decoration: none; font-weight: 600; letter-spacing: 0.5px; }
  .header-tel .tel-label { color: var(--text-sub); font-size: 13px; font-weight: 400; }
  .header-tel .note { font-size: 11px; color: #999; }
  .lp-globalnav { top: 76px; }
  .lp-globalnav li a { font-size: 15px; padding: 14px 20px; }
}

/* =============================================================
   v2 追加部品（2026-07 サイト全体HTML化）
   ============================================================= */

/* ---- ゴシック本文ユーティリティ（料金・手順・連絡先などの情報部分） ---- */
.font-gothic,
.font-gothic table, .font-gothic th, .font-gothic td, .font-gothic input, .font-gothic button {
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', 'Meiryo', sans-serif;
}
.font-gothic { line-height: 1.8; }

/* ---- パンくず ---- */
.breadcrumb { font-size: 12px; color: var(--text-mute); max-width: var(--maxw); margin: 0 auto; padding: 8px 16px; }
.breadcrumb a { color: var(--text-mute); text-decoration: none; }
.breadcrumb a:hover { color: var(--teal); }

/* ---- 動画ヒーロー（トップ専用） ---- */
.hero-video-wrap { position: relative; overflow: hidden; background: var(--teal-deep); color: #fff; text-align: center; }
.hero-video-wrap video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-video-overlay { position: absolute; inset: 0; background: rgba(0,60,70,0.45); }
.hero-video-content { position: relative; padding: 56px 16px; }
.hero-video-content h1 { color: #fff; }
.hero-catch { font-size: 15px; line-height: 2; margin-bottom: 20px; }
.hero-cta-row { display: flex; flex-direction: column; gap: 10px; max-width: 480px; margin: 0 auto; }
@media (max-width: 768px) {
  .hero-video-wrap video { display: none; }  /* スマホは静止画（通信量・自動再生の安定性） */
  .hero-video-wrap { background: linear-gradient(rgba(0,60,70,0.45), rgba(0,60,70,0.45)), var(--hero-bg-sp, none) center/cover no-repeat var(--teal-deep); }
  .hero-video-overlay { background: none; }
}
@media (prefers-reduced-motion: reduce) { .hero-video-wrap video { display: none; } }

/* ---- 幅広セクション（3大入口・事例グリッド用。--maxwを超える） ---- */
.section-wide { padding: 32px 16px; max-width: 1100px; margin: 0 auto; }

/* ---- 3大入口カード ---- */
.entrance-grid { display: grid; grid-template-columns: 1fr; gap: 16px; margin: 16px 0; }
.entrance-card { display: flex; flex-direction: column; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--text); transition: box-shadow .2s; }
.entrance-card:hover { box-shadow: var(--shadow); }
.entrance-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.entrance-card-body { padding: 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.entrance-card-title { font-size: 18px; font-weight: 600; color: var(--teal); }
.entrance-card-desc { font-size: 14px; color: var(--text-sub); flex: 1; }
.entrance-card-price { font-size: 14px; color: var(--bronze); font-weight: 600; }
.entrance-card-btn { display: block; background: var(--teal); color: #fff; text-align: center; padding: 12px; border-radius: var(--radius-sm); font-size: 15px; font-weight: 600; }

/* ---- 用件別CTA分岐 ---- */
.cta-branch { display: grid; grid-template-columns: 1fr; gap: 10px; margin: 16px 0; }
.cta-branch a { display: block; background: var(--teal-tint); border: 1px solid var(--teal-tint-bd); border-radius: var(--radius); padding: 14px 16px; text-decoration: none; color: var(--text); font-size: 15px; font-weight: 500; }
.cta-branch a::before { content: "\25B6"; color: var(--teal); margin-right: 8px; font-size: 12px; }

/* ---- お知らせリスト（WP REST fetchの描画先） ---- */
.news-list { list-style: none; margin: 12px 0; }
.news-list li { display: flex; gap: 14px; padding: 10px 0; border-bottom: 1px dotted var(--border); font-size: 14px; align-items: baseline; }
.news-list .news-date { flex-shrink: 0; color: var(--text-mute); font-size: 13px; }
.news-list a { color: var(--text); text-decoration: none; }
.news-list a:hover { color: var(--teal); text-decoration: underline; }

/* ---- 信頼ブロック（実績数字の帯） ---- */
.trust-band { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 16px 0; text-align: center; }
.trust-item { background: var(--bg); border: 1px solid var(--teal-tint-bd); border-radius: var(--radius); padding: 14px 8px; }
.trust-item .num { display: block; font-size: 22px; font-weight: 600; color: var(--teal); }
.trust-item .label { font-size: 13px; color: var(--text-sub); }

/* ---- 中間幅（769〜1099px）：ナビ9項目を1行に収める ---- */
@media (min-width: 769px) and (max-width: 1099px) {
  .lp-globalnav li a { padding: 14px 10px; font-size: 13px; }
}

/* ---- v2デスクトップ ---- */
@media (min-width: 769px) {
  .breadcrumb { padding: 10px 20px; font-size: 13px; }
  .hero-video-content { padding: 96px 20px; }
  .hero-catch { font-size: 20px; }
  .hero-cta-row { flex-direction: row; justify-content: center; max-width: none; }
  .hero-cta-row .cta-btn { min-width: 220px; }
  .section-wide { padding: 50px 20px; }
  .entrance-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .cta-branch { grid-template-columns: repeat(3, 1fr); }
  .news-list li { font-size: 16px; }
  .trust-band { grid-template-columns: repeat(4, 1fr); }
}

/* v2: モバイル固定CTAを1行に収める（2行折返し=本文が隠れる対策） */
@media (max-width: 768px) {
  .mobile-cta a { font-size: 14px; letter-spacing: 0; padding: 16px 8px; }
}
