/* KAF-01 範囲4: 折りたたみ・最初の画面・スマホの幅とタップ領域 */
details.kaf-fold { margin: 12px 0; border: 1px solid #e5e7eb; border-radius: 14px; background: #fff; max-width: 100%; box-sizing: border-box; }
details.kaf-fold > summary { cursor: pointer; min-height: 48px; display: flex; align-items: center; padding: 12px 16px; font-weight: 700; color: #1f2937; font-size: 1rem; line-height: 1.5; }
details.kaf-fold[open] > summary { border-bottom: 1px solid #e5e7eb; }
.kaf-privacy-line { margin: 8px 0 0; font-size: .95rem; color: #374151; text-align: center; }
a.kaf-hero-cta .kaf-cta-label { color: #fff; font-weight: 900; font-size: 1.15rem; line-height: 1.4; }
/* 閉じた右からのメニューは見えないので、読み上げ・タブ移動の対象からも外す(右端のはみ出しにも数えない) */
.mobile-menu:not(.open) { visibility: hidden; transition: transform .35s cubic-bezier(.5,0,.2,1), visibility 0s linear .35s; }
.mobile-menu.open { visibility: visible; transition: transform .35s cubic-bezier(.5,0,.2,1), visibility 0s; }
/* タップ領域を 44px 以上に(ヘッダー・フッターのリンク) */
header.site .brand, header.site nav a, footer a, nav a { min-height: 44px; display: inline-flex; align-items: center; }
header.site nav a, footer a, nav a { min-width: 44px; justify-content: center; }
/* KAF-02: 折りたたみを開いた中・閉じるボタンのタップ領域を 44px 以上に */
a[href="#m7-af-cta"] { display: inline-flex; align-items: center; min-height: 44px; }
#kaf-history-cards button[aria-label="履歴を閉じる"], #sticky-af-cta .close, #kaf-sticky-cta-close { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
/* 同意バナー(下端に固定)が出ている間は、下端の誘導バーをその上へ(高さは kaf-consent-gate.js が入れる) */
.sticky-af-cta, #kaf-sticky-cta-bar { bottom: var(--kaf-consent-h, 0px) !important; }
/* KAF-02: 選択欄・入力欄も 44px 以上 */
select, textarea, input:not([type=hidden]):not([type=radio]):not([type=checkbox]) { min-height: 44px; box-sizing: border-box; }

/* 点検修正(2026-11-07): 本文内リンクのタップ領域を44px以上に、12px未満の注記を12px以上にする */
li > a[style*="color:#4f46e5"], dd > a[style*="color:#1f7a44"], p > a[style*="color:#1f7a44"][style*="underline"]:not([href*="a8.net"]), div > a[style*="color:#4f46e5"][style*="font-weight:700"] { display: inline-flex; align-items: center; min-height: 44px; }
[style*="font-size:.5"], [style*="font-size:.6"], [style*="font-size:.70"], [style*="font-size:.71"], [style*="font-size:.72"], [style*="font-size:.73"], [style*="font-size:.74"], [style*="font-size:.7rem"], [style*="font-size:0.7rem"], [style*="font-size: .6"], [style*="font-size: .7rem"], [style*="font-size: .72"] { font-size: 12px !important; }
[style*="font-size:.75rem"], [style*="font-size:.8rem"], [style*="font-size:0.7em"] { font-size: max(12px, .8rem) !important; }
