@charset "UTF-8";
/* 商品検索結果（/<商材>/commodity_search/search.php）のメインエリア。全11商材共通（2026-11-02）。
   カードの部品・色はシリーズページのラインアップ（.gc2-item）にそろえる。左だけ太い線は使わない。
   出力は /include/gs_search_list.php */
.gsr { --gsr-ink: #333; --gsr-sub: #666; --gsr-line: #e3e1e1; --gsr-bg: #f1f1f1; --gsr-blue: #0065cc;
  --gsr-green: #34aa34; --gsr-green-dark: #208d14; --gsr-green-txt: #009900; --gsr-red: #eb0000;
  color: var(--gsr-ink); margin: 6px 0 30px; font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif; }
.gsr *, .gsr *::before, .gsr *::after { box-sizing: border-box; }
.gsr h2.heading_01 { margin: 0 0 12px; }
/* 既存の .gridWrapper_02 p（中央寄せ・上下20px）などに勝つため div.gsr で1段強くする（部品の .gsr .gsr-xxx よりは弱い） */
div.gsr p, div.gsr ul, div.gsr li, div.gsr dl, div.gsr dt, div.gsr dd, div.gsr figure { margin: 0; padding: 0; text-align: left; line-height: 1.5; background: none; border: 0; }
div.gsr li::before, div.gsr li::after { content: none; }
.gsr ul { list-style: none; }
.gsr img { max-width: 100%; }

/* 検索の条件 */
.gsr .gsr-conds { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 8px; }
.gsr .gsr-conds li { display: inline-flex; align-items: center; gap: 6px; background: #eef5fc; border: 1px solid #cfe1f5;
  border-radius: 999px; padding: 4px 12px 4px 4px; font-size: 13.5px; font-weight: bold; line-height: 1.4; }
.gsr .gsr-conds li span { background: var(--gsr-blue); color: #fff; border-radius: 999px; padding: 2px 9px; font-size: 11.5px; font-weight: bold; white-space: nowrap; }

.gsr .gsr-err { color: var(--gsr-red); font-weight: bold; }

/* 件数・並び替え */
.gsr .gsr-bar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px;
  background: var(--gsr-bg); border-radius: 6px; padding: 9px 14px; margin: 0 0 10px; }
.gsr .gsr-bar__count { margin: 0; font-size: 14px; }
.gsr .gsr-bar__count strong { color: var(--gsr-red); font-size: 22px; margin-right: 2px; }
.gsr .gsr-bar__count span { color: var(--gsr-sub); font-size: 12.5px; margin-left: 6px; }
.gsr .gsr-bar__sort { font-size: 13px; color: var(--gsr-sub); white-space: nowrap; }
.gsr .gsr-bar__sort select { font-size: 14px; padding: 4px 8px; border: 1px solid #ccc; border-radius: 4px; background: #fff; margin-left: 4px; }

/* ページ送り */
.gsr .gsr-pager { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin: 12px 0; }
.gsr .gsr-pager a, .gsr .gsr-pager span { display: inline-flex; align-items: center; justify-content: center; min-width: 38px; height: 38px;
  padding: 0 10px; border: 1px solid #cfd8e3; border-radius: 6px; background: #fff; color: var(--gsr-blue);
  font-size: 15px; font-weight: bold; text-decoration: none; line-height: 1; }
.gsr .gsr-pager a:hover { background: #eef5fc; text-decoration: none; }
.gsr .gsr-pager .is-cur { background: var(--gsr-blue); border-color: var(--gsr-blue); color: #fff; }
.gsr .gsr-pager .gsr-pager__gap { border: 0; background: none; color: var(--gsr-sub); min-width: 16px; padding: 0; }
.gsr .gsr-pager .gsr-pager__nav { font-size: 14px; }
.gsr .gsr-pager .is-off { color: #bbb; border-color: #e6e6e6; }

/* 商品カード（ラインアップの .gc2-item と同じ体裁） */
.gsr .gsr-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gsr .gsr-card { border: 2px solid var(--gsr-line); border-radius: 4px; background: #fff; padding: 12px; display: flex; flex-direction: column; min-width: 0; }
.gsr .gsr-card__ph { display: block; background: #fff; border-radius: 2px; margin: 0 0 10px; }
.gsr .gsr-card__ph img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: contain; }
.gsr .gsr-card__body { display: flex; flex-direction: column; flex: 1; }
.gsr .gsr-card__mk { margin: 0 0 2px; font-size: 12px; color: var(--gsr-sub); }
.gsr .gsr-card__mk.is-logo { height: 22px; margin: 0 0 6px; }
.gsr .gsr-card__mk.is-logo img { display: block; height: 100%; width: auto; max-width: 120px; object-fit: contain; object-position: left center; }
.gsr .gsr-card__sku { margin: 0 0 4px; font-size: 14.5px; font-weight: bold; line-height: 1.4; word-break: keep-all; overflow-wrap: anywhere; }
.gsr .gsr-card__sku a { color: var(--gsr-ink); text-decoration: none; }
.gsr .gsr-card__sku a:hover { color: var(--gsr-blue); text-decoration: underline; }
.gsr .gsr-card__cat { margin: 0 0 8px; font-size: 11.5px; color: var(--gsr-sub); line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.gsr .gsr-card__prices { margin: auto 0 9px; font-size: 13.5px; }
.gsr .gsr-card__prices > div { display: flex; justify-content: space-between; align-items: baseline; gap: 6px; padding: 4px 2px; flex-wrap: wrap; }
.gsr .gsr-card__prices dt { color: var(--gsr-sub); white-space: nowrap; }
.gsr .gsr-card__prices dd { margin: 0 0 0 auto; text-align: right; white-space: nowrap; }
.gsr .gsr-card__prices .is-list dd { color: var(--gsr-sub); }
.gsr .gsr-card__prices .is-sale dt, .gsr .gsr-card__prices .is-sale dd { color: var(--gsr-green-txt); font-weight: bold; }
.gsr .gsr-card__prices .yen { font-size: .82em; font-weight: normal; margin-left: 1px; }
.gsr .gsr-card__off { display: inline-block; background: var(--gsr-red); color: #fff; font-weight: bold; font-size: 12px;
  padding: 1px 5px; border-radius: 2px; margin-right: 6px; white-space: nowrap; }
.gsr .gsr-card__total { background: var(--gsr-bg); border-top: 2px solid #ccc; border-bottom: 2px solid #ccc; padding: 7px 9px; margin: 0 0 10px; text-align: right; }
.gsr .gsr-card__total b { display: block; font-size: 11px; font-weight: bold; color: var(--gsr-sub); text-align: left; line-height: 1.4; margin-bottom: 2px; }
.gsr .gsr-card__total strong { color: var(--gsr-red); font-size: 22px; font-weight: bold; line-height: 1.2; }
.gsr .gsr-card__total .yen { font-size: 13px; color: var(--gsr-red); }
.gsr .gsr-card__total.is-quote strong { font-size: 18px; }
.gsr .gsr-btn { display: block; text-align: center; background: var(--gsr-green); border: 2px solid var(--gsr-green-dark); color: #fff !important;
  font-weight: bold; font-size: 15px; padding: 9px 6px; border-radius: 4px; text-decoration: none; }
.gsr .gsr-btn:hover { background: #207720; text-decoration: none; }

.gsr .gsr-empty { border: 1px solid var(--gsr-line); border-radius: 6px; padding: 18px; text-align: center; background: #fafafa; }
.gsr .gsr-empty p { margin: 4px 0; }

/* 給湯器の号数ボタン（パンくずの中） */
.commodity_search_capacity .capacity_btn { border-radius: 999px; padding: 3px 12px; font-weight: bold; }

@media screen and (max-width: 767px) {
  .gsr .gsr-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .gsr .gsr-card { padding: 8px; }
  .gsr .gsr-card__sku { font-size: 13px; }
  .gsr .gsr-card__prices { font-size: 12px; }
  .gsr .gsr-card__prices > div { padding: 3px 0; }
  .gsr .gsr-card__off { font-size: 11px; padding: 0 4px; margin-right: 4px; }
  .gsr .gsr-card__total { padding: 6px; }
  .gsr .gsr-card__total b { font-size: 10px; }
  .gsr .gsr-card__total strong { font-size: 18px; }
  .gsr .gsr-btn { font-size: 14px; padding: 8px 4px; }
  .gsr .gsr-pager { gap: 4px; }
  .gsr .gsr-pager a, .gsr .gsr-pager span { min-width: 32px; height: 34px; padding: 0 6px; font-size: 14px; }
  .gsr .gsr-pager .gsr-pager__nav { font-size: 0; min-width: 32px; }
  .gsr .gsr-pager .gsr-pager__nav::before { font-size: 18px; content: attr(data-s); }
  .gsr .gsr-bar { padding: 8px 10px; }
}
