@charset "UTF-8";

/* =========================================================================
   PC検索一覧（リニューアルUI）

   命名規則: 接頭辞 rl- = Result List（検索一覧ページ）。
   このページ専用に新規作成した BEM クラスであることを示す名前空間で、
   本番の既存クラスやヘッダー/フッターのスタイルと衝突させないためのもの。
   ・rl-ブロック            … 部品のまとまり（rl-quote / rl-cond / rl-results / rl-card 等）
   ・rl-ブロック__要素       … ブロック内のパーツ（rl-card__price 等）
   ・rl-ブロック__要素--修飾  … 状態・バリエーション（rl-card--sponsor 等）
   ※本番流用パーツ（priceRange_* / carmodel_box / select_check / rev_wrap 等）は
     元のクラス名のまま使用（rl- を付けない）。
   ========================================================================= */

/* ===== ベース ===== */
#contents #main {
  width: 960px;
  margin: 0 auto;
  padding: 0 0 60px;
  color: #333;
  font-size: 13px;
  line-height: 1.4;
  box-sizing: border-box;
}
#contents #main *,
#contents #main *::before,
#contents #main *::after { box-sizing: border-box; }
#contents #main .search-results--no-hit .box_searchChangeList .suggest_item { box-sizing: content-box; }
#contents #main a { text-decoration: none; }

/* =========================================================================
  中古車相場情報
  ========================================================================= */
.search-quote {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 8px;
}

/* --- タイトル行 --- */
.search-quote__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.search-quote__title {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
  color: #333;
  line-height: 1.2;
}
.search-quote__actions {
  display: flex;
  gap: 8px;
  align-items: center;
}
.search-quote__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 32px;
  padding: 0 8px;
  border: 1px solid #d5d5d5;
  border-radius: 6px;
  background: linear-gradient(180deg, #fff 0%, #f4f5f7 100%);
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.08);
  font-size: 12px;
  font-weight: 600;
  color: #333;
  cursor: pointer;
  white-space: nowrap;
}
.search-quote__btn-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
/* aタグ化後もボタン見た目を維持 */
a.search-quote__btn {
  text-decoration: none;
}

/* ツールチップ（お気に入り用） */
.search-quote__popup-wrap {
  position: relative;
}
/* popup要素はrect本体。矢印(::before)がその上に12px出っ張るため
   top: calc(100% + 20px) = ボタン下端 + 8px gap + 12px arrow */
.search-quote__popup {
  display: none;
  position: absolute;
  left: 0;
  top: calc(100% + 20px);
  width: 176px;
  background: #fff9ec;
  border-radius: 2px;
  padding: 7px 16px 9px;
  filter: drop-shadow(0 0 4px rgba(0, 0, 0, 0.2));
  z-index: 100;
}
/* 上向き三角（Figma: 高さ19.5px→CSS12px近似、幅22px→11px half） */
.search-quote__popup::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  border-bottom: 12px solid #fff9ec;
  border-left: 11px solid transparent;
  border-right: 11px solid transparent;
}
.search-quote__popup--open {
  display: block;
  animation: search-quote-fadein 0.35s ease;
}
@keyframes search-quote-fadein {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.search-quote__popup-msg {
  font-size: 12px;
  font-weight: 700;
  color: #333;
  margin: 0 0 8px;
  white-space: nowrap;
}
.search-quote__popup-link {
  display: block;
  font-size: 12px;
  color: #0f64a2;
  text-decoration: none;
  text-align: center;
}
.search-quote__popup-link:hover {
  text-decoration: underline;
}

/* --- サブ行 --- */
.search-quote__subbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 50px;
  padding: 0 15px 0 19px;
  background: #fff;
  border: 1px solid #e2e2e2;
}
.search-quote__subbar-ttl {
  font-size: 16px;
  font-weight: 600;
  color: #333;
}
.search-quote__more {
  font-size: 12px;
  color: #1874e8;
}

/* --- 相場box 4カラム --- */
.search-quote__grid {
  display: flex;
  gap: 32px;
  align-items: stretch; /* 各列の高さを揃え、下端リンクを面合わせ */
}
.search-quote__col {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
/* 面合わせ：相場/カタログ/口コミの下端リンクを下揃え。
   下端リンクの親ブロックを伸ばし、リンクを margin-top:auto で下端へ。 */
.search-quote__col > .search-quote__price,
.search-quote__col > .search-quote__review {
  flex: 1 1 auto;
}
.search-quote__review {
  display: flex;
  flex-direction: column;
}
.search-quote__price > .search-quote__more,
.search-quote__col > .search-quote__more,
.search-quote__review > .search-quote__review-link {
  margin-top: auto;
}
.search-quote__col-ttl {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: #333;
  line-height: 1.2;
}
.search-quote__review .search-quote__top {
  display: flex;
  gap: 15px;
}
.search-quote__review .search-quote__review-overall {
  gap: 0;
}
.search-quote__review .search-quote__stars {
  gap: 2.5px;
  margin: 0 3.5px 0 8px;
  position: relative;
  top: -1px;
}
.search-quote__review .search-quote__star {
  width: 10.5px;
  height: 10.5px;
}
.search-quote__review .search-quote__review-score {
  line-height: 19px;
}


/* col1: モデルで絞り込む */
.search-quote__model {
  display: block;
}
/* col1 本体 */
.search-quote__model .carmodel_box {
  position: relative;
  width: 216px;
  margin: 0 auto;
  overflow: hidden;
}
.search-quote__model .carmodel_slider {
  list-style: none;
  margin: 0;
  padding: 0;
}
.search-quote__model .carmodel_slider li { text-align: center; }
.search-quote__model .carmodel_slider a {
  display: block;
  color: #333;
  text-decoration: none;
}
.search-quote__model .carmodel_slider li img {
  width: 104px;
  height: 57px;
  object-fit: contain;
  margin: 14px auto;
}
.search-quote__model .carmodel_slider p {
  margin: 8px 0 0;
  font-size: 12px;
  color: #1874e8;
  text-align: center;
}
/* 読み込み中は先頭モデルのみ表示 */
.search-quote__model .carmodel_slider:not(.slick-initialized) > li:not(:first-child) { display: none; }

/* 前後矢印 */
.search-quote__model .carmodel_slider_prev,
.search-quote__model .carmodel_slider_next {
  position: absolute;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 48px;
  height: auto;
  cursor: pointer;
  z-index: 3;
}
.search-quote__model .carmodel_slider_prev { left: 2px; }
.search-quote__model .carmodel_slider_next { right: 2px; }
.search-quote__model .txt_link {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  color: #1874e8;
  text-align: center;
}

/* col2: 中古車相場価格 */
.search-quote__price {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.search-quote__price-row {
  margin: 0;
  display: flex;
  align-items: flex-end;
  gap: 4px;
}
.search-quote__price-label {
  font-size: 11px;
  color: #333;
  padding-bottom: 3px;
}
.search-quote__price-num {
  font-family: Helvetica, Arial, sans-serif;
  font-weight: 700;
  font-size: 22px;
  line-height: 1;
  color: #333;
}
.search-quote__price-unit {
  font-size: 11px;
  color: #333;
  padding-bottom: 3px;
}
.search-quote__price-range {
  margin: 0;
  font-size: 12px;
  color: #333;
}

/* col3: カタログ情報 */
.search-quote__catalog {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.search-quote__catalog-row {
  display: flex;
  align-items: center;
  gap: 16px;
}
.search-quote__catalog-key {
  width: 104px;
  flex-shrink: 0;
  font-size: 12px;
  color: #333;
}
.search-quote__catalog-val {
  margin: 0;
  display: flex;
  align-items: flex-end;
  gap: 2px;
}
.search-quote__catalog-val b {
  font-family: Roboto, Arial, sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
  color: #333;
}
.search-quote__catalog-val span {
  font-size: 12px;
  color: #333;
  padding-bottom: 2px;
}

/* col4: 口コミ */
.search-quote__review {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.search-quote__review-overall {
  display: flex;
  align-items: center;
  gap: 8px;
}
.search-quote__review-overall-label {
  font-size: 12px;
  font-weight: 600;
  color: #333;
}
.search-quote__stars {
  display: inline-flex;
  gap: 4px;
}
.search-quote__star {
  width: 16px;
  height: 16px;
  display: inline-block;
  object-fit: contain;
}
.search-quote__review-score {
  font-family: Helvetica, Arial, sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: #333;
}
.search-quote__review-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 16px;
  row-gap: 0;
}
.search-quote__review-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.search-quote__review-item span {
  font-size: 12px;
  color: #333;
  white-space: nowrap;
}
.search-quote__review-item b {
  font-family: Helvetica, Arial, sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: #333;
}
.search-quote__review-link {
  margin: 0;
  font-size: 12px;
  color: #333;
}
.search-quote__review-link a { color: #1874e8; }


/* =========================================================================
  詳細検索条件フォーム 上段
   ========================================================================= */
/* パネル外枠（フォーム全体の白背景） */
/* 検索条件フォーム */
.search-cond {
  margin-top: 24px;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background: #fafafa;
}
.search-cond__inner {
  width: 960px;
  margin: 0 auto;
}
.search-cond__top {
  padding: 20px;
}
.search-cond__cols {
  display: flex;
  gap: 40px;
}
.search-cond__col {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.search-cond__message {
  flex: 1;
}
.search-cond__message .search-cond__check {
  margin-left: auto;
  display: block;
  width: fit-content;
}
.search-cond__message .search-cond__check input[type="checkbox"] + span::before {
  width: 20px;
  height: 20px;
  border-radius: 3px;
}
.search-cond__message .search-cond__check input[type="checkbox"] + span::after {
  left: 7px;
  margin-top: -6px;
}

/* 共通ラベル（左寄せ・太字） */
.search-cond__label {
  flex: 0 0 60px;
  width: 60px;
  font-size: 13px;
  font-weight: 600;
  color: #333;
  line-height: 1.35;
  white-space: nowrap;
}

/* --- メーカー/モデル・地域/市区町村 行 --- */
.search-cond__field-row {
  display: flex;
  gap: 20px;
}
.search-cond__field {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1 1 0;
  min-width: 0;
}
.search-cond__field .search-cond__label { flex: 0 0 58px; width: 58px; }

/* 選択するボタン（白・赤＋） */
.search-cond__select-btn {
  position: relative;
  display: flex;
  flex: 1 1 0;
  min-width: 0;
  width: 100%;
  height: 36px;
  padding: 0 32px 0 12px;
  border: 1px solid #d5d5d5;
  border-radius: 4px;
  background: #fff;
  font-size: 14px;
  color: #333;
  text-align: left;
  align-items: center;
  cursor: pointer;
}
.search-cond__select-btn--disabled {
  background: #ededed;
  border: none;
  color: #c6c6c6;
  cursor: default;
  padding-right: 12px;
}
.search-cond__select-add {
  position: absolute;
  top: 50%;
  right: 10px;
  width: 16px;
  height: 16px;
  transform: translateY(-50%);
}
.search-cond__select-add::before,
.search-cond__select-add::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: #e00923;
}
.search-cond__select-add::before { width: 14px; height: 2px; transform: translate(-50%, -50%); }
.search-cond__select-add::after { width: 2px; height: 14px; transform: translate(-50%, -50%); }

/* 複数選択済み（選択値を1行で…省略・赤矢印） */
.search-cond__select-btn--selected {
  padding: 0 32px 0 12px;
}
.search-cond__select-val {
  flex: 1 1 0;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1.25;
}
.search-cond__select-arrow {
  position: relative;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
}
.search-cond__select-arrow::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 7px;
  height: 7px;
  border-top: 2px solid #e00923;
  border-right: 2px solid #e00923;
  transform: translate(-70%, -50%) rotate(45deg);
}

/* --- 価格スライダー --- */
.search-cond__price-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.search-cond__price-row .priceRange { flex: 1 1 0; min-width: 0; margin-top: 16px;}
.priceRange_values {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 16px 0 0;
  padding: 0 16px;
  font-weight: bold;
  font-size: 12px;
  color: #333;
  line-height: 1.5;
}
.priceRange_sliderWrap { padding: 0 16px; }
.priceRange_slider { position: relative; height: 48px; margin: 0; overflow: visible; }
.priceRange_hist {
  position: absolute; left: 0; right: 0; top: 0;
  height: 40px; display: flex; align-items: flex-end;
}
.priceRange_bar { flex: 1 1 0; height: var(--h, 4px); background: #d5d5d5; border-radius: 1px; }
.priceRange_bar--empty { background: transparent; }
.priceRange_track { position: absolute; left: 0; right: 0; top: 40px; height: 4px; background: #d5d5d5; border-radius: 2px; }
.priceRange_fill { position: absolute; left: 0; top: 40px; width: 46%; height: 4px; background: #e00923; border-radius: 2px; }
.priceRange_handle {
  position: absolute; top: 24px; width: 36px; height: 36px;
  border-radius: 50%; background: rgba(229, 17, 26, 0.1);
  display: flex; align-items: center; justify-content: center;
  box-sizing: border-box; cursor: grab; touch-action: none; user-select: none;
}
.priceRange_handle::after {
  content: ""; width: 26px; height: 26px; border-radius: 50%;
  background: #fff; border: 3px solid #e00923; box-sizing: border-box;
}
.priceRange_handle--min { left: 0; transform: translateX(-50%); }
.priceRange_handle--max { left: 100%; transform: translateX(-50%); }
.priceRange_handle:active { cursor: grabbing; }

.priceRange_values {
  padding: 0;
}
.priceRange_values .search-cond__select {
  margin-top: 8px;
  height: 24px;
  font-size: 12px;
  flex: 0 0 102px;
  padding-top: 3px;
}

/* --- ローン --- */

.search-cond--new {
  width: 100%;
  margin-left: 0;
  margin-right: 0;
}

.search-cond__top--new {
  padding-left: 0;
  padding-right: 0;
}

.search-cond__top--new .search-cond__cols {
  gap: 33px;
}

.search-cond__top--new .search-cond__cols .search-cond__col--left {
  flex: 0 0 503px;
}

.search-cond__loan-row {
  display: flex;
  gap: 12px;
}

.search-cond__loan-field {
  display: flex;
  align-items: center;
  gap: 4px;
}

.search-cond__loan-row .search-cond__loan-field {
  gap: 12px;
}

.search-cond__loan-row .search-cond__loan-field .search-cond__label {
  font-size: 11px;
  line-height: 18px;
}


.search-cond__loan-row .search-cond__loan-field:first-child .search-cond__select {
  flex: 0 0 86px;
  height: 30px;
  font-size: 12px;
}

.search-cond__loan-row .search-cond__loan-field:last-child {
  gap: 4px;
}

.search-cond__loan-row .search-cond__loan-field:last-child .search-cond__label {
  flex: 0 0 33px;
  width: 33px;
}

.search-cond__loan-row .search-cond__loan-field:last-child .search-cond__select  {
  flex: 0 0 89px;
  width: 89px;
  height: 30px;
  font-size: 12px;
}

.search-cond__loan-row .search-cond__loan-field:last-child .search-cond__range {
  gap: 12px
}

.search-cond__loan-row .search-cond__range {
  gap: 4px;
}

.search-cond__loan-chip.search-cond__chips{
  gap: 2px;
}

.search-cond__loan-chip button{
  font-size: 10px;
  line-height: 100%;
  height: 18px;
}

/* --- 年式 / 走行距離（指定なし ~ 指定なし） --- */
.search-cond__range-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.search-cond__range {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1 1 0;
  min-width: 0;
}
.search-cond__sep { color: #333; font-size: 14px; }
.search-cond__select {
  flex: 1 1 0;
  min-width: 0;
  height: 36px;
  padding: 4px 24px 4px 10px;
  border: 1px solid #d5d5d5;
  border-radius: 4px;
  background-color: #fff;
  color: #333;
  font-size: 14px;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18'%3E%3Cpath d='M5 7l4 4 4-4' fill='none' stroke='%23e00923' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
  background-size: 18px 18px;
}

/* --- 車体色スウォッチ --- */
.search-cond__color-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
/* 車体色スウォッチ */
.search-cond__colors {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  flex: 1 1 0;
  list-style: none;
  margin: 0;
  padding: 0;
}
.search-cond__colors > li {
  position: relative;
  margin: 0;
}
.search-cond__colors input[type="checkbox"] { display: none; }
.search-cond__colors .color_tooltip { display: none; }
.search-cond__colors label {
  display: block;
  position: relative;
  cursor: pointer;
  border-radius: 50%;
}
.search-cond__colors label img {
  display: block;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid #d5d5d5;
  box-sizing: border-box;
}

/* 車体色スウォッチ（新デザイン） */
.search-cond__color-row--new {
  align-items: center;
}

.search-cond__colors.search-cond__colors--new {
  gap: 2.63px;
}

.search-cond__colors.search-cond__colors--new label img {
  width: 26px;
  height: 26px;
}

/* 選択時のチェックバッジ */
.search-cond__colors input[type="checkbox"]:checked ~ label::after {
  content: "";
  display: block;
  position: absolute;
  top: -5px;
  right: -5px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: url(https://img.goo-net.com/ln/pc/color_checked.png) center / contain no-repeat;
}

/* =========================================================================
  右カラム：チップ群
  ========================================================================= */
/* 車両条件チップ群 */
.search-cond__vehicle {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 13px 14px;
  background: #f6f8fa;
  border-radius: 4px;
}
.search-cond__chip-group {
  display: flex;
  align-items: center;
  gap: 10px;
}
.search-cond__chip-line {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.search-cond__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  flex: 1 1 0;
}
.search-cond__chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 24px;
  padding: 0 8px;
  border: 1px solid #d5d5d5;
  border-radius: 4px;
  background: #fff;
  font-size: 12px;
  color: #333;
  white-space: nowrap;
  cursor: pointer;
  transition: background .12s, border-color .12s, color .12s;
  line-height: 24px;
}
/* 選択状態 */
.search-cond__chip.is-active {
  background: #e00923;
  border-color: #e00923;
  color: #fff;
}

/* グー鑑定 星評価フィルター（.goo-wrap でスコープ） */
.goo-wrap { font-family: 'Noto Sans JP', sans-serif; user-select: none;}
.goo-wrap .card { background: #fff9ec; border-radius: 8px; padding: 16px; display: flex; align-items: center; justify-content: space-between; border: none; }
.goo-wrap .left-section { display: flex; flex-direction: column; gap: 10px; align-items: center; width: 100px; }
.goo-wrap .label-row { display: flex; align-items: center; gap: 8px; width: 100%; }
/* チェックボックス */
.goo-wrap .checkbox { width: 18px; height: 18px; border: 1px solid #d5d5d5; background: white; cursor: pointer; position: relative; flex-shrink: 0; box-sizing: border-box; transition: background 0.15s; }
.goo-wrap .checkbox.checked { background: #e00923; border-color: #e00923; }
.goo-wrap .checkbox.checked::before { content: ''; position: absolute; width: 6px; height: 10px; top: 50%; left: 5px; margin-top: -7px; border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(45deg); visibility: visible; }
.goo-wrap .label-text-row { display: flex; align-items: center; gap: 2px; }
.goo-wrap .label-text { font-size: 12px; font-weight: 900; color: #1a1a1a; white-space: nowrap; }
.goo-wrap .help-icon { width: 12px; height: 12px; border-radius: 50%; background: #e8e8e8; display: flex; align-items: center; justify-content: center; font-size: 8px; color: #888; font-weight: 700; cursor: help; flex-shrink: 0; }
.goo-wrap .goo-logo { width: 32px; height: 34px; object-fit: contain; }
.goo-wrap .right-section { display: flex; flex-direction: column; gap: 14px; flex: 1; margin-left: 16px; }
.goo-wrap .filter-row { display: flex; align-items: center; gap: 14px; }
.goo-wrap .category-badge { background: #fff3d9; border-radius: 3px; padding: 2px 6px; font-size: 12px; font-weight: 900; color: #1a1a1a; white-space: nowrap; min-width: 40px; text-align: center; }
.goo-wrap .stars-container { display: flex; gap: 10px; align-items: flex-end; }
.goo-wrap .star-item { display: flex; flex-direction: column; align-items: center; cursor: pointer; }
.goo-wrap .star-icon { font-size: 17px; line-height: 1; transition: transform 0.1s, color 0.1s; }
.goo-wrap .star-item:hover .star-icon { transform: scale(1.2); }
.goo-wrap .star-label { font-size: 9.5px; font-weight: 700; color: #595959; letter-spacing: 0.2px; margin-top: 1px; }
.goo-wrap .star-active { color: #e00923; }
.goo-wrap .star-inactive { color: #d4d4d4; }
.goo-wrap .dropdown { width: 70px; height: 26px; position: relative; }
.goo-wrap .dropdown-trigger { background: white; border: 1px solid #e0e0e0; border-radius: 4px; padding: 4px 5px 4px 9px; display: flex; align-items: center; justify-content: space-between; gap: 4px; width: 100%; height: 100%; cursor: pointer; box-sizing: border-box; font: inherit; }
.goo-wrap .dropdown-text { font-size: 11.5px; color: #1a1a1a; white-space: nowrap; }
.goo-wrap .dropdown-chevron { width: 10px; height: 10px; object-fit: contain; flex-shrink: 0; }
.goo-wrap .dropdown-menu { position: absolute; top: 28px; left: 0; background: white; border: 1px solid #e0e0e0; border-radius: 4px; z-index: 10; min-width: 70px; box-shadow: 0 2px 8px rgba(0,0,0,0.1); }
.goo-wrap .dropdown-option { display: block; width: 100%; text-align: left; background: transparent; border: 0; appearance: none; padding: 5px 9px; font-size: 11.5px; font-family: inherit; color: #1a1a1a; cursor: pointer; white-space: nowrap; box-sizing: border-box; }
.goo-wrap .dropdown-option:hover { background: #f5f5f5; }
.goo-wrap .dropdown-option.selected { background: #fff3d9; font-weight: 700; }

/* キーボード操作対応（star-item/checkboxのbuttonリセット） */
.goo-wrap .star-item { background: none; border: 0; padding: 0; font: inherit; appearance: none; }
.goo-wrap .checkbox { padding: 0; appearance: none; }
/* フォーカスリング */
/* .goo-wrap .star-item:focus-visible,
.goo-wrap .checkbox:focus-visible,
.goo-wrap .dropdown-trigger:focus-visible,
.goo-wrap .dropdown-option:focus-visible { outline: 2px solid #0F64A2; outline-offset: 1px; } */

/* --- グー鑑定（旧・クリーム背景ボックス：未使用） --- */
.search-cond__kantei {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px 14px;
  background: #fdf7e8;
  border-radius: 4px;
}
.search-cond__kantei-head {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #333;
}
.search-cond__kantei-body {
  display: flex;
  align-items: center;
  gap: 12px;
}
.search-cond__kantei-logo {
  width: 40px;
  height: 42px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 700;
  color: #1a6b3c;
  background: #ffd83a;
  border-radius: 4px;
  text-align: center;
  line-height: 1.1;
}
.search-cond__kantei-rows {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1 1 0;
}
.search-cond__kantei-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.search-cond__kantei-rowlabel {
  width: 28px;
  flex-shrink: 0;
  font-size: 12px;
  color: #333;
}
.search-cond__stars-rate {
  display: flex;
  gap: 6px;
}
.search-cond__star-rate {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  cursor: pointer;
}
.search-cond__star-rate i {
  font-size: 17px;
  line-height: 1;
  color: #e00923;
  font-style: normal;
}
.search-cond__star-rate span {
  font-size: 10px;
  color: #333;
}
.search-cond__kantei-select {
  height: 26px;
  padding: 0 24px 0 8px;
  border: 1px solid #d5d5d5;
  border-radius: 4px;
  background-color: #fff;
  font-size: 12px;
  color: #333;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 18 18'%3E%3Cpath d='M5 7l4 4 4-4' fill='none' stroke='%23333333' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 6px center;
  background-size: 14px 14px;
}

/* --- 保証チェック（2×2） --- */
.search-cond__checks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
}
.search-cond__check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #333;
  cursor: pointer;
}
.search-cond__check.price {
  justify-content: flex-end;
}
/* チェックボックス */
.search-cond__check input[type="checkbox"] { display: none; }
.search-cond__check input[type="checkbox"] + span {
  position: relative;
  padding-left: 26px;
}
.search-cond__check input[type="checkbox"] + span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  box-sizing: border-box;
  border: 1px solid #d5d5d5;
  background: #fff;
}
.search-cond__check input[type="checkbox"]:checked + span::before {
  background: #e00923;
  border-color: #e00923;
}
.search-cond__check input[type="checkbox"] + span::after {
  position: absolute;
  width: 6px;
  height: 10px;
  top: 50%;
  left: 6px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  content: '';
  margin-top: -7px;
  opacity: 0;
  transform: rotate(45deg);
}
.search-cond__check input[type="checkbox"]:checked + span::after { opacity: 1; }
.search-cond__help {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #c8c8c8;
  color: #fff;
  font-size: 10px;
  line-height: 1;
  cursor: help;
}
/* helpアイコンのツールチップ */
.search-cond__help-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.search-cond__tip {
  display: none;
  position: absolute;
  left: 50%;
  bottom: calc(100% + 8px);
  transform: translateX(-50%);
  width: 220px;
  padding: 10px 13px;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  font-size: 12px;
  line-height: 1.5;
  color: #333;
  text-align: left;
  white-space: normal;
  font-weight: 400;
  z-index: 20;
}
/* 吹き出しの三角 */
.search-cond__tip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: #fff;
}
.search-cond__help-wrap:hover .search-cond__tip,
.search-cond__help-wrap:focus-within .search-cond__tip { display: block; }
.search-cond__tip-link {
  display: block;
  margin-top: 8px;
  color: #1874e8;
  text-decoration: underline;
}
/* 右端は左方向へ開く */
.search-cond__tip--left {
  left: auto;
  right: -6px;
  transform: none;
}
.search-cond__tip--left::after {
  left: auto;
  right: 10px;
  transform: none;
}


/* =========================================================================
  詳細検索条件フォーム 中段＝装備チェック群
  ========================================================================= */
.search-cond__detail { padding: 0 0 20px; overflow: hidden; transition: height 0.3s ease;border-top: 1px solid #E8E8E8; }

/* --- 見出し（大／中） --- */
.search-cond__heading {
  font-weight: 600;
  color: #333;
  line-height: 1.4;
}
.search-cond__heading--big {
  font-size: 16px;
  margin: 24px 0 12px;
}
.search-cond__heading--mid {
  font-size: 16px;
  margin: 20px 0 12px;
}
.search-cond__heading--mid.font18 {
  font-size: 18px;
  font-weight: 700;
}

/* --- 小ラベル（セレクト/チェック群の上） --- */
.search-cond__sublabel {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #333;
  line-height: 1.35;
  margin-bottom: 6px;
}

/* --- A. グー鑑定条件（4列） --- */
.search-cond__kantei4 {
  display: flex;
  align-items: flex-start;
  gap: 30px;
}
.search-cond__kantei4-item {
  flex: 1 1 0;
  min-width: 0;
}
.search-cond__kantei4-item--narrow {
  flex: 0 0 auto;
  min-width: 0;
}
.search-cond__kantei4-item .search-cond__range { gap: 8px; }
.search-cond__kantei4-item .search-cond__select { min-width: 0; }
.heading--appraisal.search-cond__heading--mid {
  margin-bottom: 14px;
  margin-top: 0;
  padding-top: 14px;
}
.goo_appraisal-detail {
  gap: 40px;
  padding-bottom: 24px;
}
.goo_appraisal-detail .search-cond__sublabel {
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #636363;
}
.goo_appraisal-detail .search-cond__check {
  gap: 16px;
}
.goo_appraisal-detail .search-cond__check input[type="checkbox"]+span {
  font-size: 12px;
  font-weight: 400;
  padding-left: 28px;
}
.goo_appraisal-detail .search-cond__check input[type="checkbox"]+span::before {
  width: 20px;
  height: 20px;
  top: 45%;
  border-radius: 3px;
}
.goo_appraisal-detail .search-cond__check input[type="checkbox"]+span::after {
  top: 45%;
  left: 7px;
}

/* 機関＝チェック縦2 */
.search-cond__checkcol {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
/* 骨格(修復歴)＝チェック2列2行 */
.search-cond__checkgrid2 {
  display: grid;
  grid-template-columns: auto auto;
  gap: 8px 18px;
}

/* --- B. 車両条件（4列セレクトグリッド） --- */
.search-cond__grid4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px 24px;
}
.search-cond__grid4-item { min-width: 0; }
.search-cond__grid4-item > .search-cond__select { width: 100%; }
.search-cond__grid4-item .search-cond__range { gap: 6px; }
/* 排気量(2連select)は幅が狭いので「指定なし」が切れないようパディング/矢印を詰める */
.search-cond__grid4-item .search-cond__range .search-cond__select {
  padding-left: 8px;
  padding-right: 24px;
  background-position: right 6px center;
  background-size: 14px 14px;
}

/* --- C/D. 左ラベル＋チェック表（cktable） --- */
.search-cond__cktable {
  margin-top: 30px;
  border-top: 1px solid #e5e5e5;
  border-bottom: 1px solid #e5e5e5;
}
.search-cond__cktable-row {
  display: flex;
  align-items: stretch;
}
.search-cond__cktable-row + .search-cond__cktable-row {
  border-top: 1px solid #e5e5e5;
}
.search-cond__cktable-label {
  flex: 0 0 110px;
  width: 110px;
  display: flex;
  align-items: center;
  padding: 14px 12px 14px 8px;
  background: #f7f7f7;
  font-size: 13px;
  color: #333;
  line-height: 1.35;
}
.search-cond__cktable-body {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  padding: 14px 0 14px 20px;
}
.search-cond__cktable-body .search-cond__check { font-size: 13px; }

/* --- E. タイプ別こだわりカード（3カラム） --- */
.search-cond__type {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.search-cond__type-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0;
  border: none;
  background: none;
  text-align: left;
  cursor: pointer;
}
.search-cond__type-card-ttl {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 600;
  color: #333;
}
.search-cond__type-card-arrow {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-top: 2px solid #e00923;
  border-right: 2px solid #e00923;
  transform: rotate(45deg);
  margin-left: 8px;
}
.search-cond__type-card-val {
  font-size: 13px;
  color: #888;
}

/* --- F. オンライン予約 ＋ キーワード（横並び） --- */
.search-cond__duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 40px;
  align-items: start;
}
.search-cond__checkrow {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
}
.search-cond__checkrow--wrap { gap: 12px 22px; }

.search-cond__keyword {
  position: relative;
  max-width: 360px;
}
.search-cond__keyword-input {
  width: 100%;
  height: 44px;
  padding: 0 44px 0 14px;
  border: 1px solid #d5d5d5;
  border-radius: 4px;
  background: #fff;
  font-size: 14px;
  color: #333;
  box-sizing: border-box;
}
.search-cond__keyword-input::placeholder { color: #999; }
.search-cond__keyword-icon {
  position: absolute;
  top: 50%;
  right: 14px;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  pointer-events: none;
}
.search-cond__keyword-icon svg { display: block; width: 20px; height: 20px; }


/* =========================================================================
  詳細検索条件フォーム 下段＝こだわり/オンライン予約/キーワード/ボタン群
  ========================================================================= */
.search-cond__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 30px 20px;
}
.search-cond__detail-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 48px;
  padding: 0 24px;
  border: 1px solid #e10808;
  border-radius: 8px;
  background: #fff;
  color: #e10808;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}
/* ＋/?アイコン：縦棒を90°回転させて滑らかにトグル */
.search-cond__detail-btn-icon {
  position: relative;
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}
.search-cond__detail-btn-icon::before,
.search-cond__detail-btn-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: #e10808;
  transition: transform 0.3s ease;
}
.search-cond__detail-btn-icon::before { width: 12px; height: 2px; transform: translate(-50%, -50%); }
.search-cond__detail-btn-icon::after { width: 2px; height: 12px; transform: translate(-50%, -50%); }
.search-cond__detail-btn.is-open .search-cond__detail-btn-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.search-cond__foot-right {
  display: flex;
  align-items: center;
  gap: 20px;
}
.search-cond__reset {
  border: none;
  background: none;
  padding: 0;
  color: #1874e8;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}
#main .box_searchCondition .search-cond__search-btn.submit_btn_01 {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 48px;
  padding: 0 24px;
  border: none;
  border-radius: 8px;
  background: linear-gradient(180deg, #f22929 0%, #df2020 100%);
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.08);
  color: #fff;
  cursor: pointer;
  white-space: nowrap;
}
#main .box_searchCondition .search-cond__search-btn.submit_btn_01:disabled {
  background: #ddd;
  color: #fff;
} 
.search-cond__search-btn-icon { width: 22px; height: 22px; flex-shrink: 0; }
.search-cond__search-btn-count {
  font-family: Arial, sans-serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 1;
}
.search-cond__search-btn-label { font-size: 16px; font-weight: 600; }


/* =========================================================================
  件数ソート/ページネーションバー
  ========================================================================= */
.search-results { margin-top: 24px; }

/* --- 上段：件数・表示件数・ページネーション --- */
.search-results__count-row {
  display: flex;
  align-items: center;
  gap: 16px;
}
.search-results__count {
  display: flex;
  align-items: baseline;
  gap: 2px;
}
.search-results__count-num {
  font-family: Roboto, Arial, sans-serif;
  font-weight: 700;
  font-size: 26px;
  line-height: 1;
  color: #333;
}
.search-results__count-unit {
  font-size: 16px;
  font-weight: 600;
  color: #333;
}
.search-results__range {
  font-size: 12px;
  color: #636363;
}
.search-results__range b {
  font-family: Roboto, Arial, sans-serif;
  font-weight: 400;
  font-size: 14px;
}
.search-results__perpage {
  height: 32px;
  padding: 0 28px 0 12px;
  border: 1px solid #d5d5d5;
  border-radius: 4px;
  background-color: #fff;
  font-size: 12px;
  color: #333;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 18 18'%3E%3Cpath d='M5 7l4 4 4-4' fill='none' stroke='%23333333' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
  background-size: 16px 16px;
}
.search-results__pager {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: Roboto, Arial, sans-serif;
  font-size: 14px;
  color: #333;
}
.search-results__pager-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: none;
  color: #e00923;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  padding: 0 2px;
}
.search-results__pager-num {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  color: #333;
  line-height: 1;
}
.search-results__pager-num--current {
  font-weight: 700;
  color: #000;
}

/* --- 下段：並び替え（グレー帯） --- */
/* ソート行の背景は白。各chipが角丸ボックス。 */
.search-results__sort-row {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  gap: 8px;
  margin-top: 14px;
  margin-bottom: 20px;
  padding: 18px 0;
  background: #fff;
  border-top: 1px solid #E8E8E8;
  border-bottom: 1px solid #E8E8E8;
}
.search-results__sort-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.search-results__sort-label {
  font-size: 13px;
  color: #888;
}
.search-results__sort-chips {
  display: flex;
  align-items: center;
  gap: 6px;
}
/* 全chipが角丸ボックス。非アクティブ＝薄グレー、アクティブ(新着順)＝赤。 */
.search-results__sort-chip {
  -webkit-appearance: none;
  appearance: none;
  border: none;
  margin: 0;
  padding: 7px 9px;
  background: #f2f2f2;
  border-radius: 4px;
  font-family: inherit;
  font-size: 12px;
  color: #333;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
}
.search-results__sort-chip--active {
  background: #e00923;
  color: #fff;
  font-weight: 600;
}


/* =========================================================================
  車両カード群
  ========================================================================= */
.search-card {
  position: relative;
  background: #fff;
  padding: 16px 12px;
  box-sizing: border-box;
}
/* カード全体を詳細ページへのクリックエリア化（ストレッチリンク）
   既存本番のUXに合わせ、カード上の余白・画像・諸元などどこを押しても詳細へ遷移。
   内部のボタン/リンク（タイトル・お気に入り・CTA・ローン詳細・電話）は z-index で上に重ね、個別に押下可能にする。 */
.search-card__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.search-card__title-link,
.search-card__loan-detail,
.search-card__fav,
.search-card__cta,
.search-card__dealer-name,
.search-card__dealer-reviews,
.search-card__dealer-num {
  position: relative;
  z-index: 2;
}
/* カードhover：本番 #main #resultArea .box_item_detail:hover { background:#FAFAFA } と同じ */
.search-card:hover {
  background: #FFF4F4;
}
/* スポンサーカードhover：本番 #main .box_item_detail:hover { background-color:#FFF5DB } と同じ（黄色） */
.search-card--sponsor:hover {
  background: #fff5db;
}
/* カード区切り線 */
.search-card:not(:last-child) {
  border-bottom: 1px solid #e2e2e2;
}
/* カード間の余白 */
.search-card + .search-card {
  margin-top: 20px;
}
.search-card--sponsor {
  background: #fdf8ec;
}
/* スポンサーバッジ */
.search-card__sponsor {
  flex-shrink: 0;
  //margin-left: 6px;
  padding: 3px 10px;
  border: 1px solid #ccc;
  border-radius: 2px;
  font-size: 10px;
  color: #666;
  background: transparent;
  white-space: nowrap;
  letter-spacing: 0.5px;
}

/* 上段：3カラム本体 */
.search-card__body {
  display: flex;
}

/* --- 左：画像列 --- */
.search-card__media {
  width: 236px;
  flex: 0 0 236px;
  margin-right: 24px;
}
.search-card__photo {
  position: relative;
  width: 236px;
  height: 178px;
  background: #ddd;
  border-radius: 2px;
  overflow: hidden;
}
.search-card__badge-new {
  position: absolute;
  top: 0;
  left: 0;
  background: #df2020;
  color: #fff;
  font-size: 11px;
  font-weight: bold;
  padding: 2px 8px;
  border-radius: 0 0 4px 0;
}
.search-card__badge-up {
  position: absolute;
  top: 0;
  left: 0;
  background: #E00923;
  color: #fff;
  font-size: 12px;
  font-weight: bold;
  padding: 3.5px 4px 1px;
  border-radius: 0 0 4px 0;
  line-height: 1;
  height: 16px;
}
.search-card__badge-360 {
  position: absolute;
  right: 6px;
  top: 4px;
  width: 31px;
  height: 31px;
  border-radius: 50%;
  background: rgba(0, 0, 0, .55);
  color: #fff;
  font-size: 10px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
}
.search-card__thumbs {
  display: flex;
  gap: 4px;
  margin-top: 4px;
}
.search-card__thumb {
  width: 74px;
  height: 55px;
  background: #ddd;
  border: 1px solid #e2e2e2;
  border-radius: 6px;
  box-sizing: border-box;
  overflow: hidden;
}
/* 画像アセット */
.search-card__photo img,
.search-card__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.search-card__badge-360 {
  background: none;
  overflow: visible;
}
.search-card__badge-360 img {
  display: block;
  width: 100%;
  height: 100%;
}
.search-card__watching {
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 236px;
  height: 30px;
  border-radius: 2px;
  background: #fff;
  box-shadow: 0 0 2px rgba(0, 0, 0, .16);
  font-size: 12px;
  color: #333;
}
.search-card__watching b {
  color: #df2020;
  font-size: 13px;
  margin: 0 1px;
}
.search-card__watching-icon {
  display: inline-block;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  background: url(https://img.goo-net.com/usedcar/common_v2/img/discuss/icon_eyes-black.png) center / contain no-repeat;
}

/* --- 中央：情報 --- */
.search-card__content {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.search-card__cols {
  display: flex;
}
.search-card__main {
  flex: 1 1 auto;
  min-width: 0;
}
.search-card__head {
  display: flex;
  align-items: flex-start;
  margin: 0 0 6px;
  flex-wrap: nowrap;
}
.search-card__right-group {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}
.search-card__maker {
  font-size: 12px;
  color: #333;
  font-weight: 600;
  margin: 0 10px 0 0;
  flex-shrink: 0;
}
.search-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  flex: 0 1 auto;
  min-width: 0;
}
.search-card__tag {
  font-size: 10px;
  color: #333;
  white-space: nowrap;
  background: #f2f3f5;
  border-radius: 2px;
  padding: 2px 6px;
}
.search-card__select-badge {
  flex-shrink: 0;
  margin-left: auto; /* タグ列との間を吸収・右寄せ基点 */
  padding: 3px 10px;
  border: 1px solid #333;
  border-radius: 2px;
  font-size: 10px;
  color: #333;
  background: transparent;
  white-space: nowrap;
  letter-spacing: 0.5px;
}
/* 閲覧済みバッジ（Figma: #eaf2fc背景 / #1874e8青文字 / チェックアイコン） */
.search-card__viewed {
  flex-shrink: 0;
  //margin-left: 8px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #eaf2fc;
  color: #1874e8;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
  white-space: nowrap;
}
.search-card__viewed::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 5px;
  border-left: 1.5px solid #1874e8;
  border-bottom: 1.5px solid #1874e8;
  transform: rotate(-45deg) translateY(-1px);
  flex-shrink: 0;
}
.search-card__title {
  margin: 0;
  font-size: 20px;
  font-weight: bold;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.search-card__title-link {
  display: block;
  color: #1874e8;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.search-card__title-link:hover {
  text-decoration: underline;
}

/* 価格（ラベルバー＋大型数字） */
.search-card__price {
  display: flex;
  flex-wrap: wrap;
  width: 352px;
  max-width: 100%;
}
/* SOLDOUTカセット（価格→赤SOLDOUT・お気に入りのみ） */
.search-card__soldout {
  margin: 0;
  padding: 8px 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 32px;
  line-height: 1;
  color: #df2020;
  white-space: nowrap;
}
.search-card--soldout .search-card__viewed { margin-left: auto; }
/* 価格ブロック左端の赤い縦バー（Figma: 3px×64px / #df0000） */
.search-card__price::before {
  content: "";
  flex: 0 0 3px;
  height: 64px;
  background: #df0000;
  align-self: flex-start;
}
.search-card__price-col {
  flex: 1 1 45%;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.search-card__price-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  height: 22px;
  padding: 0 6px;
  white-space: nowrap;
}
/* Figma: ラベルは背景塗りなし。支払総額=赤文字 / 車両本体価格=黒文字 */
.search-card__price-label--total {
  background: transparent;
  color: #df0000;
}
.search-card__price-label--body {
  background: transparent;
  color: #000;
}
.search-card__price-label-main { font-size: 14px; font-weight: 600; letter-spacing: -0.28px; }
.search-card__price-label-sub { font-size: 11px; letter-spacing: -0.22px; }
.search-card__price-value {
  margin: 6px 0 0;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: bold;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
}
/* Figma: 支払総額の数値は中央ではなく固定の左インセットで配置（本体価格列は中央のまま） */
.search-card__price-value--total { display: flex; align-items: baseline; justify-content: flex-start; padding-left: 12px; }
.search-card__price-value--body { display: flex; align-items: baseline; justify-content: center; }
.search-card__price-value--total { color: #df2020; }
/* Figma: 車両本体価格の数値は Arial Regular（支払総額のみ Bold） */
.search-card__price-value--body { color: #000; font-weight: normal; }
.search-card__price-int { font-size: 36px; }
.search-card__price-dec { font-size: 24px; }
.search-card__price-unit {
  font-size: 16px;
  font-weight: bold;
  margin-left: 1px;
  color: #000;
}
.search-card__price-note {
  font-size: 12px;
  color: #333;
  margin-top: 4px;
  text-align: left;
}

/* 認定中古車 ＋ グー鑑定 ＋ コンピューター診断 行（全幅・1行） */
.search-card__certrow {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 22px;
  width: 100%;
  margin: 20px 0 0;
  font-size: 12px;
  color: #333;
  white-space: nowrap;
}
.search-card__cert {
  display: inline-flex;
  align-items: center;
}
.search-card__cert img {
  display: block;
  max-height: 26px;
  width: auto;
  border: 1px solid #e8e8e8;
}
.search-card__kantei {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.search-card__kantei-emblem {
  width: 26px;
  height: 26px;
  display: block;
}
.search-card__kantei-score {
  color: #1d2088;
  font-weight: 600;
  font-size: 11px;
  display: flex;
  align-items: center;
}
.search-card__kantei-score b {
  font-size: 16px;
  margin-left: 1px;
  line-height: 1;
}
.search-card__kantei-engine {
  color: #1d2088;
  font-weight: 600;
  font-size: 11px;
}
.search-card__obd {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #333;
}
.search-card__obd-icon {
  display: block;
  width: 33px;
  height: 20px;
  flex-shrink: 0;
}

/* --- 右：諸元 --- */
.search-card__spec {
  flex: 0 0 314px;
  width: 314px;
}
.search-card__spec-grid {
  display: grid;
  grid-template-columns: 136px 174px;
  gap: 4px 0;
  margin: 0;
}
.search-card__spec-row {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 12px;
  padding-right: 10px;
}
.search-card__spec-label {
  flex: 0 0 auto;
  background: #f0f0f0;
  color: #555;
  border-radius: 2px;
  padding: 1px 6px;
  font-size: 11px;
  white-space: nowrap;
}
.search-card__spec-value {
  margin: 0;
  color: #333;
  font-size: 12px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* --- ローン帯 --- */
.search-card__loan {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 12px;
}
.search-card__loan--end { justify-content: flex-end; }
.search-card__loan-info {
  display: flex;
  align-items: stretch;
  font-size: 12px;
  color: #636363;
  background: #f1f1f1;
  border-radius: 4px;
  overflow: hidden;
}
.search-card__loan-label {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #e5e5e5;
  color: #333;
  font-weight: 600;
  padding: 6px 12px;
  font-size: 11px;
  line-height: 1.3;
  text-align: left;
  white-space: nowrap;
}
.search-card__loan-price {
  align-self: center;
  margin: 0 10px 0 12px;
  color: #555;
  font-size: 12px;
  white-space: nowrap;
}
.search-card__loan-detail {
  align-self: center;
  margin-right: 8px;
  color: #1874e8;
  font-size: 12px;
  border: 1px solid #d5d5d5;
  border-radius: 4px;
  padding: 3px 10px;
  background: #fff;
  white-space: nowrap;
}
.search-card__loan-price b {
  color: #df2020;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 18px;
  margin: 0 1px;
}
.search-card__actions {
  display: flex;
  align-items: center;
}
.search-card__actions .search-card__fav { margin-right: 8px; }
.search-card__fav {
  display: inline-flex;
  align-items: stretch;
  height: 40px;
  padding: 0;
  border: 1px solid #e00923;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  font-size: 12px;
  font-weight: 600;
  color: #e00923;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .08);
}
.search-card__fav-iconwrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  background: linear-gradient(180deg, #fff6f7 0%, #ffe5e6 100%);
  flex-shrink: 0;
}
.search-card__fav-text {
  display: flex;
  align-items: center;
  padding: 0 8px;
}
.search-card__fav-icon {
  display: inline-block;
  width: 24px;
  height: 24px;
  background: #e00923;
  -webkit-mask: var(--rl-heart) center/contain no-repeat;
  mask: var(--rl-heart) center/contain no-repeat;
}
#main {
  --rl-heart: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z'/%3E%3C/svg%3E");
}
.search-card__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  height: 40px;
  background: linear-gradient(180deg, #f22929 0%, #df2020 100%);
  color: #fff;
  font-size: 14px;
  font-weight: bold;
  text-decoration: none;
  border-radius: 8px;
  padding: 0 22px 0 0;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .08);
  white-space: nowrap;
}
.search-card__cta-icon {
  width: 40px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px dashed #ff878f;
  flex-shrink: 0;
}
.search-card__cta-icon svg {
  width: 24px;
  height: 24px;
}
.search-card__cta:hover {
  opacity: .9;
}
/* 在庫確認・見積り依頼（グレー／商談中状態・アイコン無し・無料表記無し） */
.search-card__cta--disable {
  background: #c3c5c8;
  box-shadow: none;
  gap: 0;
  padding: 0 24px;
  cursor: default;
  pointer-events: none;
}
/* お気に入り済（赤塗りハート） */
#main {
  --rl-heart-fill: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z'/%3E%3C/svg%3E");
}
.search-card__fav--active .search-card__fav-icon {
  -webkit-mask-image: var(--rl-heart-fill);
  mask-image: var(--rl-heart-fill);
}

/* --- 販売店フッター --- */
.search-card__dealer {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-top: 12px;
  padding: 13px 14px;
  background: #fafafa;
  border-radius: 2px;
  font-size: 11px;
  color: #636363;
}
.search-card__dealer-head {
  flex: 0 0 268px;
  width: 268px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.search-card__dealer-namewrap {
  flex: 0 0 178px;
  width: 178px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
}
.search-card__dealer-img {
  flex: 0 0 72px;
  width: 72px;
  height: 54px;
  object-fit: cover;
  border-radius: 2px;
  display: block;
}
.search-card__dealer-name {
  margin: 0;
  font-size: 12px;
  color: #1874e8;
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none;
  display: -webkit-box;
   -webkit-line-clamp: 2; 
   -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.search-card__dealer-name:hover {
  text-decoration: underline;
}
.search-card__dealer-type {
  background: #333;
  color: #fff;
  border-radius: 2px;
  padding: 2px 8px;
  font-size: 10px;
}
.search-card__dealer-rating {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}
/* 販売店評価 */
.search-card__dealer-rating .rev_wrap {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}
.search-card__dealer-rating .rev_wrap img {
  display: block;
}
.search-card__dealer-rating .rev_wrap em {
  font-style: normal;
  font-size: 16px;
  font-family: Roboto, Arial, sans-serif;
  color: #e00923;
}
.search-card__dealer-reviews {
  color: #1874e8;
  text-decoration: none;
}
.search-card__dealer-reviews:hover {
  text-decoration: underline;
}
.search-card__dealer-shop {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  gap: 12px;
}
.search-card__dealer-address {
  flex: 1 1 auto;
}
.search-card__dealer-address p {
  margin: 0 0 2px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 1; 
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.search-card__dealer-tel {
  flex: 0 0 auto;
  align-self: center;
  display: flex;
  align-items: center;
  white-space: nowrap;
}
.search-card__dealer-free {
  display: inline-block;
  background: #333;
  color: #fff;
  border-radius: 2px;
  padding: 2px 7px;
  font-size: 11px;
  font-weight: 600;
  vertical-align: middle;
  margin-right: 6px;
}
.search-card__dealer-num {
  font-family: Helvetica, Arial, sans-serif;
  font-size: 22px;
  font-weight: bold;
  color: #df0923;
  text-decoration: none;
  vertical-align: middle;
  letter-spacing: -0.5px;
}


/* =========================================================================
   result_list.html 本番ラッパー統合用
   本番 #contents（display:flex / min-width:1280px 等のインラインCSS）を打ち消し、
   main を 960px 中央寄せにする。#contents を持たない result_list_new.html には無影響。
   ========================================================================= */
#contents main {
  display: block;
  width: auto;
  min-width: 0;
  max-width: none;
  padding: 0;
  margin: 0 auto;
}

/* =========================================================================
   下部ページネーション footer-listHead（本番HTML流用・スタイルは新規）
   本番CSSは #main #resultArea .box_result 階層依存のため、ここで階層なしの
   新規スタイルとして横並びページネーションを再現する。
   ========================================================================= */
.footer-listHead { margin-top: 24px; }
.footer-listHead .listHead { padding: 16px 0 10px; }
.footer-listHead .change {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-listHead .number {
  display: flex;
  align-items: center;
}
.footer-listHead .number .txt {
  font-size: 14px;
  color: #636363;
  margin-right: 16px;
}
.footer-listHead .select_borderGray_wrap {
  position: relative;
  display: inline-block;
  background: #fff;
}
.footer-listHead .select_borderGray {
  font-size: 12px;
  color: #333;
  border: 1px solid #e8e8e8;
  background: transparent;
  width: 128px;
  height: 38px;
  line-height: 1.4;
  -webkit-appearance: none;
  appearance: none;
  padding: 0 24px 0 12px;
  box-sizing: border-box;
  cursor: pointer;
  font-weight: bold;
}
/* プルダウンの赤▼矢印（本番と同じ ::after 方式。selectは背景透明なので矢印が透ける） */
.footer-listHead .select_borderGray_wrap::after {
  content: "" !important;
  display: block;
  position: absolute;
  top: calc(50% - 4px);
  right: 14px;
  width: 5px;
  height: 5px;
  border-bottom: 1px solid #e00923;
  border-right: 1px solid #e00923;
  transform: rotate(45deg) translateY(-50%);
  visibility: visible;
  pointer-events: none;
  z-index: 1;
}
.footer-listHead .page_ctrl ul {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-listHead .page_ctrl ul li {
  padding: 0 6px;
}
.footer-listHead .page_ctrl ul li.current {
  font-weight: bold;
  color: #333;
}
.footer-listHead .page_ctrl ul li a {
  font-size: 14px;
  color: #1874e8;
  text-decoration: none;
}
.footer-listHead .page_ctrl ul li.next a {
  display: inline-block;
  width: 32px;
  height: 32px;
  position: relative;
}
.footer-listHead .page_ctrl ul li.next a::after {
  content: "";
  position: absolute;
  top: calc(50% - 1px);
  left: 7px;
  width: 7px;
  height: 7px;
  border-top: 2px solid #e00923;
  border-right: 2px solid #e00923;
  transform: rotate(45deg) translateY(-50%);
}

/* 下部追加要素（search_item / slide_bnrArea2）の上余白・#mainの余分な下paddingを本番に合わせる */
.search_item { margin-top: 72px; }
.slide_bnrArea2 { margin-top: 24px; }
#contents #main { padding-bottom: 0; }

