/* =========================================================
   機種一覧の絞り込み v2（2026-11-17 スマホ向けに作り直し）
   ・緑の背景はやめ、白＋薄いグレーの線。緑は「選んでいる所」だけ
   ・価格のバー（つまみ2つ）は最初の画面に出しっぱなし。メーカー・タイプは開く欄
   ・影・グラデーションは使わない
   ========================================================= */
/* 検索のかたまり（kishu.css の緑のカードを上書き） */
.kishu-archive .kishu-filterbar.kishu-filterbar--v2{ display:block; background:#fff !important; border:1px solid #e3e7e4 !important; box-shadow:none !important; border-radius:12px; padding:12px; margin-bottom:10px; }
.kishu-archive .kf-row{ display:flex; gap:8px; }
.kishu-archive .kf-row input[type="search"]{ flex:1 1 auto; min-width:0; font-size:16px !important; padding:9px 12px; border:1px solid #d6ddd9; border-radius:10px; background:#f6f8f7; color:var(--text); }
.kishu-archive .kf-row input[type="search"]:focus{ outline:none; border-color:var(--accent); background:#fff; }
.kishu-archive .kf-toggle{ flex:0 0 auto; font-size:12px; font-weight:700; color:var(--text); background:#fff; border:1px solid #d6ddd9; border-radius:10px; padding:0 10px; cursor:pointer; white-space:nowrap; }
.kishu-archive .kf-toggle[aria-expanded="true"]{ border-color:var(--accent); color:var(--accent-dark); }

/* 価格（出しっぱなし） */
.kishu-archive .kf-price{ margin-top:12px; }
.kishu-archive .kf-price__head{ display:flex; align-items:baseline; justify-content:space-between; }
.kishu-archive .kf-price__ttl{ font-size:12px; font-weight:700; color:var(--muted,#6b7570); }
.kishu-archive .kf-price-val{ font-size:17px; font-weight:800; color:var(--text); font-variant-numeric:tabular-nums; }
.kishu-archive .kf-range{ position:relative; height:34px; margin-top:2px; }
.kishu-archive .kf-range__track{ position:absolute; left:12px; right:12px; top:15px; height:4px; border-radius:2px; background:#e3e7e4; }
.kishu-archive .kf-range__fill{ position:absolute; top:0; bottom:0; background:var(--accent); border-radius:2px; }
.kishu-archive .kf-range input[type="range"]{ position:absolute; left:0; top:0; width:100%; height:34px; margin:0; background:none; pointer-events:none; -webkit-appearance:none; appearance:none; }
.kishu-archive .kf-range input[type="range"]::-webkit-slider-runnable-track{ background:transparent; height:34px; }
.kishu-archive .kf-range input[type="range"]::-moz-range-track{ background:transparent; }
.kishu-archive .kf-range input[type="range"]::-webkit-slider-thumb{ -webkit-appearance:none; pointer-events:auto; width:26px; height:26px; margin-top:4px; border-radius:50%; background:#fff; border:2px solid var(--accent); cursor:pointer; }
.kishu-archive .kf-range input[type="range"]::-moz-range-thumb{ pointer-events:auto; width:24px; height:24px; border-radius:50%; background:#fff; border:2px solid var(--accent); cursor:pointer; }
.kishu-archive .kf-price__scale{ display:flex; justify-content:space-between; padding:0 2px; font-size:10px; color:#9aa39e; }

/* メーカー・タイプ（開く欄） */
.kishu-archive .kf-panel{ border-top:1px solid #eef1ef; margin-top:12px; padding-top:12px; }
.kishu-archive .kf-block + .kf-block{ margin-top:14px; }
.kishu-archive .kf-label{ font-size:12px; font-weight:700; color:var(--muted,#6b7570); margin-bottom:8px; }
.kishu-archive .kf-chips{ display:flex; flex-wrap:wrap; gap:6px; }
.kishu-archive .kf-chips label{ margin:0; }
.kishu-archive .kf-chips input{ position:absolute; opacity:0; pointer-events:none; }
.kishu-archive .kf-chips span{ display:inline-block; font-size:12px; font-weight:700; padding:6px 10px; border:1px solid #d6ddd9; border-radius:8px; background:#fff; color:var(--text); cursor:pointer; line-height:1.2; }
.kishu-archive .kf-chips input:checked + span{ border-color:var(--accent); color:var(--accent-dark); background:var(--accent-soft); }
.kishu-archive .kf-more{ margin-top:8px; }
.kishu-archive .kf-more summary{ font-size:12px; color:var(--accent-dark); cursor:pointer; margin-bottom:6px; }
.kishu-archive .kf-actions{ display:flex; align-items:center; justify-content:space-between; gap:10px; margin-top:14px; }
.kishu-archive .kf-reset{ font-size:12px; color:var(--muted,#6b7570); }
.kishu-archive .kf-actions .kishu-filter-submit{ width:auto; font-size:14px; padding:9px 18px; background:var(--accent); border-color:var(--accent); box-shadow:none; }

/* 今の条件 */
.kishu-archive .kf-active{ display:flex; flex-wrap:wrap; gap:6px; margin:0 0 8px; }
.kishu-archive .kf-active__chip{ font-size:12px; font-weight:700; color:var(--accent-dark); background:var(--accent-soft); border-radius:8px; padding:5px 10px; text-decoration:none; box-shadow:none; }

/* 並び替え・在庫（kishu.css の緑の帯を上書き）：白地で、選んでいる所だけ緑の文字＋下線 */
.kishu-archive .kishu-sortbar{ background:#fff !important; border:0 !important; border-bottom:1px solid #e3e7e4 !important; box-shadow:none !important; border-radius:0 !important; padding:4px 0 !important; margin:0 0 4px !important; gap:16px !important; }
.kishu-archive .kishu-sortbar__label{ color:var(--muted,#6b7570) !important; font-weight:700 !important; }
.kishu-archive .kishu-sortbar__btn{ background:none !important; border:0 !important; border-radius:0 !important; color:var(--text) !important; font-weight:700 !important; padding:8px 6px !important; border-bottom:2px solid transparent !important; }
.kishu-archive .kishu-sortbar__btn.is-active{ color:var(--accent-dark) !important; border-bottom-color:var(--accent) !important; background:none !important; }
@media (max-width:599px){
  .kishu-archive .kishu-sortbar{ flex-wrap:nowrap !important; overflow-x:auto; -webkit-overflow-scrolling:touch; scrollbar-width:none; }
  .kishu-archive .kishu-sortbar::-webkit-scrollbar{ display:none; }
  .kishu-archive .kishu-sortbar__group{ flex-wrap:nowrap !important; flex:0 0 auto; gap:2px !important; }
}

/* 並び替え・在庫のかたまりを分かりやすく（2026-11-17 矢野さん）
   見出しの文字は濃い色＋うすいグレーの地、見出しから最後のタブまでの下に1本の線。全体の下の線はやめる */
.kishu-archive .kishu-sortbar{ border-bottom:0 !important; gap:20px !important; padding:4px 0 6px !important; }
.kishu-archive .kishu-sortbar__group{ align-items:center; border-bottom:1px solid #c9d1cc; gap:2px !important; }
.kishu-archive .kishu-sortbar__label{ color:#222 !important; background:#eef1ef; font-size:11px !important; font-weight:800 !important; padding:4px 8px; border-radius:6px; margin:0 4px 4px 0 !important; letter-spacing:.02em; }
.kishu-archive .kishu-sortbar__btn{ margin-bottom:-1px; }

/* 検索カードの地（2026-11-17 矢野さん：緑は強すぎ・真っ白は主張がない）
   ごくうすいグレー（少し緑寄り）の地にして、入力欄・ボタンは白で浮かせる */
.kishu-archive .kishu-filterbar.kishu-filterbar--v2{ background:#eef3f0 !important; border:1px solid #dbe3de !important; }
.kishu-archive .kf-row input[type="search"]{ background:#fff; border-color:#cfd8d3; }
.kishu-archive .kf-toggle{ background:#fff; border-color:#cfd8d3; }
.kishu-archive .kf-range__track{ background:#d5ddd8; }
.kishu-archive .kf-price__ttl{ color:#3f4a44; }
.kishu-archive .kf-price__scale{ color:#7d8882; }
.kishu-archive .kf-panel{ border-top-color:#dbe3de; }
.kishu-archive .kf-label{ color:#3f4a44; }

/* =========================================================
   機種ページの追従バーと「機種をさがす」（2026-11-17 作り直し）
   ========================================================= */
.kishu-app .fab.fab--v2 .fab__btn{ gap:8px; }
.kishu-app .fab.fab--v2 .fab__ico{ flex:0 0 auto; }
.kishu-app .fab.fab--v2 .fab__price{ justify-content:flex-start; padding:9px 14px; box-shadow:none; }
.kishu-app .fab.fab--v2 .fab__txt{ display:flex; flex-direction:column; align-items:flex-start; line-height:1.25; min-width:0; }
.kishu-app .fab.fab--v2 .fab__txt b{ font-size:15px; font-weight:800; }
.kishu-app .fab.fab--v2 .fab__txt small{ font-size:11px; font-weight:600; opacity:.9; }
.kishu-app .fab.fab--v2 .fab__search{ font-size:13px; font-weight:800; padding:9px 12px; }
@media (max-width:420px){ .kishu-app .fab.fab--v2 .fab__txt b{ font-size:14px; } .kishu-app .fab.fab--v2 .fab__search{ font-size:12px; padding:9px 10px; } }
/* せり上がる検索の欄：一覧ページと同じ見た目 */
.kishu-app .modal__card.kishu-archive{ padding-bottom:18px; }
.kishu-app .modal__title{ font-size:16px; font-weight:800; margin:0 0 12px; }
.kishu-app .kf-sheet{ margin:0 !important; max-height:70vh; overflow-y:auto; }
.kishu-app .kf-sheet .kf-row input[type="search"]{ width:100%; }
.kishu-app .kf-block--sheet{ margin-top:14px; padding-top:12px; border-top:1px solid #dbe3de; }
.kishu-app .kf-sheet__go{ display:block; width:100% !important; margin-top:14px; font-size:15px; padding:12px; background:var(--accent); border:0; border-radius:10px; color:#fff; font-weight:800; box-shadow:none; }

/* 下の帯：左のボタンも白地＋緑の縁と文字・文字は中央（2026-11-17 矢野さん）。金額は出さない */
.kishu-app .fab.fab--v2 .fab__price{ justify-content:center; background:#fff !important; color:var(--accent-dark) !important; border:1.5px solid var(--accent) !important; box-shadow:none !important; padding:11px 12px; }
.kishu-app .fab.fab--v2 .fab__price:hover{ background:var(--accent-soft) !important; }
.kishu-app .fab.fab--v2 .fab__txt{ align-items:center; }
.kishu-app .fab.fab--v2 .fab__search{ padding:11px 12px; }
/* ページの一番外側へ移した入れ物：どの要素よりも前に出す */
.kishu-portal{ position:relative; z-index:99990; }
