.inner_pt1 {
  max-width: 1020px;
  width: 100%;
  margin: 0 auto;
  /* padding-left: 60px;
  padding-right: 60px; */
  position: relative;
}
.inner_pt2 {
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
  /* padding-left: 60px;
  padding-right: 60px; */
}
.inner_pt3 {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  /* padding-left: 60px;
  padding-right: 60px; */
}
@media screen and (max-width: 768px) {
  .inner_pt1 {
    padding-left: 0px;
    padding-right: 0px;
  }
  .inner_pt2 {
    padding-left: 12px;
    padding-right: 12px;
  }
  .inner_pt3 {
    padding-left: 12px;
    padding-right: 12px;
  }
}

/* ========================================
   ファーストビュー（FV）— temotoku メインビジュアル + fv-search
   ======================================== */
@keyframes gradientMove {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.top-fv.top-fv--temotoku {
  font-family: "Noto Sans JP", sans-serif;
  animation: gradientMove 10s ease infinite;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  background: linear-gradient(#fff3e2 30%, #ffe4ec 50%, #ffdee8 100%);
  padding-top: 1rem;
  width: 100%;
  margin-top: 44px;
  position: relative;
}

.top-fv--temotoku .top-fv__inner {
  position: relative;
  width: 100%;
}

.top-fv--temotoku .temotoku_fv {
  margin: 0;
  width: 100%;
}

.top-fv--temotoku .temotoku_fv picture {
  display: block;
  width: 100%;
}

.top-fv--temotoku .temotoku_fv img {
  display: block;
  width: 100%;
  height: auto;
}

/* --- FV 検索（PC のみ表示・レイアウトは min-width:769px 内） --- */
.fv-search {
  position: relative;
  z-index: 10;
}

.fv-search__form {
  margin: 0;
  padding: 0;
  border: none;
  width: 100%;
}

/* --- FVモーダル --- */
.fv-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  display: none;
  z-index: 999;
}
.fv-overlay.active {
  display: block;
}

.fv-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 980px;
  height: 543px;
  max-width: min(980px, calc(100vw - 32px));
  max-height: min(543px, calc(100vh - 32px));
  border-radius: 12px;
  background: white;
  border: 1px solid #ccc;
  /* パディングはヘッダー／ボディのみ。共通フッターは幅100%でモーダル下端まで */
  padding: 0;
  box-sizing: border-box;
  overflow-y: auto;
  display: none;
  z-index: 1000;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  flex-direction: column;
  overflow: hidden;
}
.fv-modal.active {
  display: flex;
}

.fv-modal > form {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

.fv-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 24px 0;
  margin-bottom: 24px;
  flex-shrink: 0;
  box-sizing: border-box;
}
.fv-modal__header h3 {
  font-weight: 600;
  font-size: 18px;
  display: flex;
  gap: 8px;
  align-items: center;
}
.fv-modal__subtext {
  margin-left: auto;
  margin-right: 10px;
  font-size: 14px;
  color: #333;
}
.fv-modal__dot {
  display: inline-block;
  width: 16px;
  height: 16px;
  background-color: #ffa178;
  border-radius: 50%;
}
.fv-modal__close-btn {
  font-size: 32px;
  background: #e7e7e7;
  border: none;
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  height: 40px;
  width: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.fv-modal__body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 24px 0;
  min-height: 0;
  box-sizing: border-box;
}
.fv-modal__footer {
  flex-shrink: 0;
  border-top: 1px solid #eee;
  padding: 16px 24px 24px;
  box-sizing: border-box;
}
.fv-modal__footer.fv-modal__footer--browse {
  padding: 0;
  margin: 0;
  width: 100%;
  align-self: stretch;
  border-top: none;
}
.fv-modal__footer:not(.fv-modal__footer--browse) button[type="submit"] {
  width: 100%;
  height: 56px;
  background: #ea5413;
  color: #fff;
  font-weight: bold;
  font-size: 16px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s;
}
.fv-modal__footer:not(.fv-modal__footer--browse) button[type="submit"]:hover {
  background: #c9480f;
}

/* モーダル共通フッター：980×159（40 + 56 + 63）。下段63px・本文は1行（20px相当）で収める */
.fv-modal__common-footer {
  width: 100%;
  max-width: 980px;
  height: 159px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  margin: 0 auto;
  border-top: none;
  background: #fff;
}
.fv-modal__status-bar {
  flex: 0 0 auto;
  height: 40px;
  min-height: 40px;
  max-height: 40px;
  width: 100%;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-top: 1px solid #eeeeee;
  border-bottom: none;
}
.fv-modal__status-text {
  margin: 0;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 14px;
  line-height: 100%;
  letter-spacing: 0;
  color: #b0b0b0;
  text-align: center;
}
.fv-modal__nav-row {
  flex: 0 0 auto;
  height: 56px;
  min-height: 56px;
  max-height: 56px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 24px;
  box-sizing: border-box;
  background: #fff;
  border-top: 1px solid #eeeeee;
  border-bottom: 1px solid #e0e0e0;
}
.fv-modal__nav-row--split {
  justify-content: space-between;
}
.fv-modal__subnav-link {
  font-size: 14px;
  font-weight: 700;
  color: #000;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.fv-modal__subnav-link:hover {
  text-decoration: underline;
}
button.fv-modal__subnav-link {
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: #000;
}

/* 進行方向リンクの矢印（擬似要素・線色 #EA5413）。枠 7.228×12.728px／angle 0°／opacity 1 */
.fv-modal__subnav-arrow {
  position: relative;
  display: inline-block;
  width: 7.22817325592041px;
  height: 12.728067398071289px;
  flex-shrink: 0;
  margin-left: 2px;
  opacity: 1;
  vertical-align: middle;
  overflow: visible;
}
.fv-modal__subnav-arrow::before,
.fv-modal__subnav-arrow::after {
  content: "";
  position: absolute;
  top: calc(50% - 2px * 12.728067398071289 / 62);
  right: 0;
  width: calc(45px * 7.22817325592041 / 33);
  height: calc(4px * 12.728067398071289 / 62);
  border-radius: 9999px;
  background-color: #ea5413;
  transform-origin: calc(100% - 2px * 7.22817325592041 / 33) 50%;
}
.fv-modal__subnav-arrow::before {
  transform: rotate(45deg);
}
.fv-modal__subnav-arrow::after {
  transform: rotate(-45deg);
}
.fv-modal__subnav-arrow--back {
  margin-left: 0;
  margin-right: 6px;
  transform: scaleX(-1);
  transform-origin: 50% 50%;
}
button.fv-modal__subnav-link:hover {
  text-decoration: underline;
}
.fv-modal__browse-row {
  flex: 0 0 auto;
  height: 63px;
  min-height: 63px;
  max-height: 63px;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}
.fv-modal__browse-categories {
  display: flex;
  align-items: stretch;
  width: 100%;
  height: 63px;
  min-height: 63px;
  max-height: 63px;
  box-sizing: border-box;
  background: #f3f3f3;
  border-radius: 0;
  overflow: hidden;
  border: solid #e0e0e0;
  border-width: 1px 1px 0 1px;
}

.fv-modal__browse-tab {
  box-sizing: border-box;
  opacity: 1;
  flex-shrink: 0;
  height: 100%;
  min-height: 0;
  margin: 0;
  /* 外枠63px・1行（最大20px）に合わせ上下を中央化。上下24px固定は 24+20+24 > 63 のため不可 */
  padding: calc((63px - 20px) / 2) 32px;
  border: none;
  border-right: 1px solid #e0e0e0;
  background: #f3f3f3;
  color: #222;
  cursor: pointer;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  font-family: "Noto Sans JP", sans-serif;
  transition: background 0.2s, color 0.2s;
  border-bottom-right-radius: 16px;
}

.fv-modal__browse-tab:nth-child(1) {
  flex: 0 0 294.2281799316406px;
  width: 294.2281799316406px;
  max-width: 294.2281799316406px;
}

.fv-modal__browse-tab:nth-child(2) {
  flex: 0 0 194.22817993164062px;
  width: 194.22817993164062px;
  max-width: 194.22817993164062px;
}

.fv-modal__browse-tab:nth-child(3) {
  flex: 0 0 274.2281799316406px;
  width: 274.2281799316406px;
  max-width: 274.2281799316406px;
  background: #f6f6f6;
}
.fv-modal__browse-tab:hover {
  background: #ebebeb;
}
.fv-modal__browse-tab:nth-child(3):hover:not(.active) {
  background: #ededed;
}
.fv-modal__browse-tab.active {
  background: #f49c22;
  color: #fff;
}
.fv-modal__browse-tab.active:hover {
  background: #e0901f;
}
.fv-modal__browse-tab-dot {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #ffa178;
  flex-shrink: 0;
}
.fv-modal__browse-tab.active .fv-modal__browse-tab-dot {
  background: #ffa178;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.6);
}

/* メーカー・車種（1列目）の中黒：非アクティブ #FFA178、アクティブ #FFC574 */
.fv-modal__browse-tab:nth-child(1) .fv-modal__browse-tab-dot {
  background: #ffa178;
}
.fv-modal__browse-tab:nth-child(1).active .fv-modal__browse-tab-dot {
  background: #ffc574;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.6);
}

.fv-modal__browse-tab-label {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px;
  flex: 1 1 auto;
  min-width: 0;
  justify-content: flex-start;
}

.fv-modal__browse-tab-title {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 20px;
  line-height: 100%;
  letter-spacing: 0;
  white-space: nowrap;
}

.fv-modal__browse-tab-sub {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 12px;
  line-height: 100%;
  letter-spacing: 0;
  white-space: nowrap;
}

/* タブ矢印（.fv-modal__subnav-arrow と同形状・既定 #EA5413、アクティブ時は白） */
.fv-modal__browse-tab-arrow {
  position: relative;
  display: inline-block;
  width: 7.22817325592041px;
  height: 12.728067398071289px;
  flex-shrink: 0;
  margin-left: auto;
  opacity: 1;
  vertical-align: middle;
  overflow: visible;
}
.fv-modal__browse-tab-arrow::before,
.fv-modal__browse-tab-arrow::after {
  content: "";
  position: absolute;
  top: calc(50% - 2px * 12.728067398071289 / 62);
  right: 0;
  width: calc(45px * 7.22817325592041 / 33);
  height: calc(4px * 12.728067398071289 / 62);
  border-radius: 9999px;
  background-color: #ea5413;
  transform-origin: calc(100% - 2px * 7.22817325592041 / 33) 50%;
}
.fv-modal__browse-tab-arrow::before {
  transform: rotate(45deg);
}
.fv-modal__browse-tab-arrow::after {
  transform: rotate(-45deg);
}
.fv-modal__browse-tab.active .fv-modal__browse-tab-arrow::before,
.fv-modal__browse-tab.active .fv-modal__browse-tab-arrow::after {
  background-color: #fff;
}

.fv-modal__browse-submit {
  box-sizing: border-box;
  opacity: 1;
  flex: 0 0 217.31546020507812px;
  width: 217.31546020507812px;
  max-width: 217.31546020507812px;
  min-width: 0;
  margin: 0;
  height: 100%;
  min-height: 0;
  padding: calc((63px - 20px) / 2) 32px;
  border: none;
  border-left: 1px solid #e0e0e0;
  background: #ea5413;
  color: #fff;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 20px;
  line-height: 100%;
  letter-spacing: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-bottom-right-radius: 16px;
  transition: background 0.2s;
}
.fv-modal__browse-submit:hover {
  background: #c9480f;
}
.fv-modal__browse-submit-icon {
  flex-shrink: 0;
  color: #fff;
}

/* --- 車種モーダル（メーカー選択の次ステップ） --- */
.fv-modal__header--model .fv-modal__subtext {
  margin-right: 0;
  font-size: 12px;
  color: #888;
  font-weight: 400;
}
.fv-model-modal__body {
  background: #fff;
  padding: 20px 24px 12px;
  overflow: hidden;
}
.fv-model-hidden-inputs {
  display: none;
}
.fv-model-modal__empty {
  margin: 0 0 12px;
  font-size: 14px;
  color: #c00;
  text-align: center;
}
.fv-model-layout {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 20px;
  min-height: 240px;
  max-height: 320px;
  width: 100%;
}
.fv-model-sidebar {
  flex: 0 0 256px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-right: 16px;
  border-right: 1px solid #eeeeee;
  min-width: 0;
  box-sizing: border-box;
}
.fv-model-sidebar__label {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: #000;
  letter-spacing: 0;
}
.fv-model-bodytype {
  display: grid;
  grid-template-columns: 1fr 1fr;
  row-gap: 12px;
  column-gap: 16px;
}
.fv-model-bodytype__link {
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 10px;
  line-height: 100%;
  letter-spacing: 0;
  color: #000;
  text-align: left;
  cursor: pointer;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}
.fv-model-bodytype__link:hover {
  text-decoration: underline;
}
.fv-model-bodytype__link.is-active {
  font-weight: 700;
  text-decoration: none;
  color: #000;
}
.fv-model-freeword {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.fv-model-freeword__label {
  display: block;
  margin: 0;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 14px;
  line-height: 100%;
  letter-spacing: 0;
  color: #000;
}
.fv-model-freeword__field {
  position: relative;
  display: flex;
  align-items: center;
  width: 240px;
  max-width: 100%;
}
.fv-model-freeword__input {
  width: 240px;
  max-width: 100%;
  height: 32px;
  box-sizing: border-box;
  padding: 0 34px 0 10px;
  border: none;
  border-radius: 3px;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 13px;
  line-height: 32px;
  background: #eeeeee;
  color: #000;
  opacity: 1;
}
.fv-model-freeword__input::placeholder {
  color: #999;
}
.fv-model-freeword__input:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(234, 84, 19, 0.25);
}
.fv-model-freeword__icon {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  display: flex;
  align-items: center;
}
.fv-model-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.fv-model-char-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  row-gap: 12px;
  column-gap: 16px;
  box-sizing: border-box;
  padding: 12px 16px;
  background: #f6f6f6;
}
.fv-model-char-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 10px;
  font-weight: 400;
  font-style: normal;
  line-height: 100%;
  letter-spacing: 0;
  color: #000;
  cursor: pointer;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}
.fv-model-char-nav__link:hover {
  text-decoration: underline;
}
.fv-model-char-nav__link:hover .fv-model-char-nav__chevron::before,
.fv-model-char-nav__link:hover .fv-model-char-nav__chevron::after {
  background-color: #c9480f;
}
.fv-model-char-nav__link.is-active {
  font-weight: 700;
  text-decoration: none;
  color: #000;
}
/* 下向きシェブロン（丸線2本・頂点を上）。枠 5×8.804px／線 #EA5413 */
.fv-model-char-nav__chevron {
  position: relative;
  display: inline-block;
  width: 5.000000476837158px;
  height: 8.804485321044929px;
  flex-shrink: 0;
  vertical-align: middle;
  opacity: 1;
}
.fv-model-char-nav__chevron::before,
.fv-model-char-nav__chevron::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: calc(4px * 5.000000476837158px / 62);
  height: calc(45px * 8.804485321044929px / 60);
  margin-left: calc((4px * 5.000000476837158px / 62) / -2);
  border-radius: 9999px;
  background-color: #ea5413;
  transform-origin: 50% 0;
}
.fv-model-char-nav__chevron::before {
  transform: rotate(42deg);
}
.fv-model-char-nav__chevron::after {
  transform: rotate(-42deg);
}
.fv-model-section__title {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 700;
  color: #000;
  display: flex;
  align-items: center;
  gap: 8px;
}
.fv-model-section__mark {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 0;
  background: #d9d9d9;
  flex-shrink: 0;
}
.fv-model-grid-wrap {
  min-height: 0;
  flex: 1;
  overflow-y: auto;
  max-height: 220px;
  padding-right: 4px;
}
.fv-model-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px 12px;
  width: 100%;
}
.fv-model-grid__empty-msg {
  margin: 0;
  padding: 16px;
  text-align: center;
  font-size: 13px;
  color: #888;
}
.fv-model-item {
  border: none;
  background: transparent;
  border-radius: 0;
  padding: 0;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  font-family: inherit;
  box-sizing: border-box;
  min-height: 0;
}
.fv-model-item:hover .fv-model-item__name {
  text-decoration: underline;
}
.fv-model-item.is-active .fv-model-item__name {
  color: #ea5413;
  font-weight: 700;
  text-decoration: none;
}
.fv-model-item__thumb {
  width: 100%;
  aspect-ratio: 4 / 3;
  min-height: 56px;
  max-height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border-radius: 2px;
  overflow: hidden;
}
.fv-model-item__thumb img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}
.fv-model-item__meta {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  width: 100%;
}
.fv-model-item__text {
  flex: 1;
  min-width: 0;
  font-size: 12px;
  line-height: 1.45;
  color: #000;
  word-break: break-word;
}
.fv-model-item__check {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  margin-top: 3px;
  accent-color: #ea5413;
}
.fv-model-item__name {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
  color: #000;
}
.fv-model-item__count {
  font-size: 12px;
  font-weight: 400;
  color: #333;
  white-space: nowrap;
}

/* --- メーカーモーダル --- */
.fv-maker-modal__body {
  background: #fff;
  border-radius: 0;
  padding: 0 24px 0;
}

.fv-maker-columns {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 24px;
  width: 100%;
}

.fv-maker-columns .fv-maker-block {
  flex: 1;
  min-width: 0;
}

.fv-maker-block + .fv-maker-block {
  margin-top: 0;
}

.fv-maker-block__heading {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #bdbdbd;
  position: relative;
  color: #333;
}

/* 見出し直下のグレー線のうち、先頭約2文字分だけオレンジ */
.fv-maker-block__heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 2.4em;
  height: 2px;
  background: #ea5413;
}

.fv-maker-grid {
  display: grid;
  gap: 20px 12px;
}

.fv-maker-grid--domestic,
.fv-maker-grid--import {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.fv-maker-see-all {
  display: flex;
  justify-content: flex-end;
  margin-top: 12px;
  padding-right: 2px;
}

.fv-maker-see-all__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 12px;
  line-height: 100%;
  letter-spacing: 0;
  text-align: center;
  color: #333;
  text-decoration: none;
}

.fv-maker-see-all__link:hover {
  color: #ea5413;
}

.fv-maker-see-all__link-icon {
  display: block;
  flex-shrink: 0;
  width: 12px;
  height: 12px;
  object-fit: contain;
}

.fv-maker-item {
  border: 1px solid transparent;
  background: transparent;
  border-radius: 8px;
  padding: 10px 4px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  transition: border-color 0.2s, background 0.2s;
}

.fv-maker-item:hover {
  border-color: #ddd;
  background: #fff;
}

.fv-maker-item.is-active {
  border-color: #ea5413;
  background: #fff2ec;
}

.fv-maker-item__logo {
  width: 72px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.fv-maker-item__logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.fv-maker-item__name {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.35;
  text-align: center;
  color: #222;
  width: 100%;
  word-break: keep-all;
}

/* --- 地域モーダル --- */
.fv-area-modal__body {
  background: #f7f7f7;
  border-radius: 6px;
  padding: 12px;
}

.fv-area-row {
  border: 1px solid #d8d8d8;
  background: #fff;
  border-radius: 6px;
  padding: 10px 12px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.fv-area-row + .fv-area-row {
  margin-top: 6px;
}

.fv-area-row__left {
  min-width: 150px;
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 14px;
  line-height: 100%;
  letter-spacing: 0;
  color: #222;
}
.fv-area-row__left small {
  font-size: 12px;
  font-weight: 400;
  line-height: 100%;
  letter-spacing: 0;
}

.fv-area-row__prefs {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
}

.fv-area-pref-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  color: #333;
}
.fv-area-pref-item small,
.fv-area-row__left .fv-area-count {
  font-size: 12px;
  font-weight: 400;
  color: #666;
}

/* --- こだわり条件モーダル --- */
.fv-particular-modal__body {
  background: #f7f7f7;
  border-radius: 6px;
  padding: 12px;
}

.fv-particular-group {
  border: 1px solid #d8d8d8;
  background: #fff;
  border-radius: 6px;
  padding: 12px;
}
.fv-particular-group + .fv-particular-group {
  margin-top: 8px;
}

.fv-particular-group__heading {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 14px;
  line-height: 100%;
  letter-spacing: 0;
  color: #000;
}
.fv-particular-group__heading::before {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: #ea5413;
  opacity: 1;
  flex-shrink: 0;
}

.fv-particular-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.fv-particular-chip {
  border: 1px solid transparent;
  background: #efefef;
  color: #333;
  border-radius: 6px;
  padding: 8px 14px;
  font-size: 14px;
  line-height: 1.2;
  cursor: pointer;
}

.fv-particular-chip.is-active {
  background: #ea5413;
  color: #fff;
}

/* FV PC：検索はメインビジュアル直下。1020×133（1440 基準）を aspect-ratio で可変、最大幅 1020px */
@media screen and (min-width: 769px) {
  .top-fv--temotoku .top-fv__search-slot {
    position: relative;
    display: flex;
    justify-content: center;
    box-sizing: border-box;
    z-index: 1;
    margin-top: -30px;
    margin-bottom: 40px;
    padding: 0;
  }

  .top-fv--temotoku .fv-search {
    width: 100%;
    max-width: 1020px;
  }

  /* 全体 1020×133。タイトルとフォームの間は gap:8px（FV 背景が見える） */
  .fv-search__inner {
    width: 100%;
    max-width: 1020px;
    margin: 0 auto;
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 8px;
    aspect-ratio: 1020 / 133;
    min-height: 0;
    background: transparent;
    overflow: visible;
  }

  .fv-search__label-col {
    flex: 0 0 156px;
    width: 156px;
    background: #2a2a2a;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 10px;
    box-sizing: border-box;
    border-radius: 8px;
  }

  .fv-search__label-text {
    font-weight: 700;
    font-size: clamp(12px, 1.1vw, 16px);
    line-height: 1.25;
    text-align: center;
  }

  /* 右ブロック：行間 8px はコンテナを透明にし、FV グラデが透ける（白は各行のみ） */
  /* 入力 640px + ボタン 216px = 856px（ラベル 156px + gap 8px と合わせて 1020px） */
  .fv-search__content {
    flex: 1 1 856px;
    max-width: 856px;
    display: grid;
    grid-template-rows: 45fr 80fr;
    gap: 8px;
    min-width: 0;
    min-height: 0;
    height: 100%;
    box-sizing: border-box;
    background: transparent;
    border-radius: 8px;
  }

  .fv-search__row {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    min-height: 0;
    min-width: 0;
    overflow: hidden;
  }

  .fv-search__row--keyword {
    background: #fff;
    border-radius: 8px;
  }

  .fv-search__row--browse {
    background: #fff;
    border-radius: 8px;
  }

  .fv-search__field--keyword {
    position: relative;
    flex: 1 1 auto;
    min-width: 0;
    max-width: 640px;
    display: flex;
    align-items: center;
    padding: 0 clamp(8px, 1.2vw, 16px);
    box-sizing: border-box;
    background: #fff;
    border-radius: 8px 0 0 8px;
  }

  /* common.css の .visually-hidden は flex 内で横幅を取るため、ここだけスクリーンリーダー用に退避 */
  .fv-search__field--keyword .visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
    visibility: visible;
  }

  .fv-search__keyword-input {
    flex: 1 1 auto;
    min-width: 0;
    width: 100%;
    height: 100%;
    border: none;
    outline: none;
    background: transparent;
    -webkit-appearance: none;
    appearance: none;
    font-size: clamp(11px, 0.95vw, 13px);
    color: #888;
    padding: 0;
    line-height: 1.3;
    box-sizing: border-box;
    text-align: left;
  }

  .fv-search__keyword-input::placeholder {
    color: #b0b0b0;
  }

  /* 3 セグメント合計 640px（248 + 164 + 228）— 狭い幅では同比率で縮小 */
  .fv-search__categories {
    flex: 1 1 640px;
    min-height: 0;
    min-width: 0;
    max-width: 640px;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    box-sizing: border-box;
  }

  .fv-search__cat-btn:first-child {
    border-radius: 8px 0 0 8px;
  }

  .fv-search__cat-btn:nth-child(1) {
    flex: 248 1 0;
    min-width: 0;
  }

  .fv-search__cat-btn:nth-child(2) {
    flex: 164 1 0;
    min-width: 0;
  }

  .fv-search__cat-btn:nth-child(3) {
    flex: 228 1 0;
    min-width: 0;
  }

  .fv-search__cat-btn {
    font-family: "Noto Sans JP", sans-serif;
    text-align: center;
    border: none;
    border-right: 1px solid #e8e8e8;
    padding: 0 clamp(4px, 0.8vw, 10px);
    color: #333;
    background: #fff;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(4px, 0.5vw, 8px);
    transition: background 0.2s, color 0.2s;
  }

  .fv-search__cat-btn:last-child {
    border-right: none;
  }

  .fv-search__cat-btn:hover {
    background: #ebebeb;
  }

  .fv-search__cat-btn.active {
    background: #f49c22;
    color: #fff;
  }

  .fv-search__cat-btn.active:hover {
    background: #e0901f;
  }

  .fv-search__cat-btn.active img {
    filter: brightness(0) invert(1);
  }

  .fv-search__cat-btn img {
    width: 48px;
    height: 39px;
    object-fit: contain;
    flex-shrink: 0;
  }

  .fv-search__cat-label {
    display: block;
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 20px;
    line-height: 100%;
    letter-spacing: 0;
    white-space: nowrap;
    text-align: center;
  }

  .fv-search__cat-label small {
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: 0;
  }

  .fv-search__keyword-btn {
    flex: 0 0 216px;
    width: 216px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #ea5413;
    color: #fff;
    border: none;
    border-left: 1px solid #e8e8e8;
    font-weight: 700;
    font-size: clamp(11px, 0.9vw, 13px);
    cursor: pointer;
    padding: 0 8px;
    font-family: inherit;
    transition: background 0.2s;
    border-radius: 0 8px 8px 0;
  }

  .fv-search__keyword-btn:hover {
    background: #c9480f;
  }

  .fv-search__keyword-icon {
    flex-shrink: 0;
    display: block;
  }

  .fv-search__submit-btn {
    flex: 0 0 216px;
    width: 216px;
    box-sizing: border-box;
    background: #ea5413;
    color: #fff;
    font-weight: 700;
    font-size: clamp(13px, 1.1vw, 17px);
    border: none;
    border-left: 1px solid #e8e8e8;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: inherit;
    transition: background 0.2s;
    border-radius: 0 8px 8px 0;
  }

  .fv-search__submit-btn:hover {
    background: #c9480f;
  }
}

/* --- FV SP：トップ検索フォームは非表示（他セクションと同じ 768px 以下） --- */
@media screen and (max-width: 768px) {
  .top-fv--temotoku {
    height: auto !important;
    min-height: 0;
    padding-top: 0.5rem;
  }

  .top-fv--temotoku .top-fv__search-slot {
    display: none !important;
  }

  .fv-modal {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: calc(100vw - 24px);
    height: min(543px, calc(100vh - 24px));
    max-width: 980px;
    max-height: 543px;
  }
  .fv-maker-columns {
    flex-direction: column;
    gap: 20px;
  }
  .fv-maker-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .fv-maker-grid--domestic,
  .fv-maker-grid--import {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .fv-maker-block__heading {
    font-size: 18px;
  }
  .fv-modal__footer.fv-modal__footer--browse {
    margin: 0;
    padding: 0;
  }
  .fv-modal__header {
    padding: 16px 16px 0;
  }
  .fv-modal__body {
    padding: 16px 16px 0;
  }
  .fv-modal__common-footer {
    height: 159px;
    min-height: 159px;
    max-width: 100%;
  }
  .fv-modal__nav-row {
    padding-left: 16px;
    padding-right: 16px;
  }
  .fv-modal__browse-row {
    flex: 0 0 63px;
    min-height: 63px;
    height: 63px;
  }
  .fv-modal__browse-categories {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    min-height: 63px;
    height: 63px;
    max-height: 63px;
    border-radius: 0;
  }
  .fv-modal__browse-tab {
    flex: 1 0 min(28%, 100px);
    min-height: 63px;
    padding: calc((63px - 20px) / 2) 10px;
    gap: 6px;
  }
  .fv-modal__browse-tab:nth-child(1),
  .fv-modal__browse-tab:nth-child(2),
  .fv-modal__browse-tab:nth-child(3) {
    flex: 1 0 min(28%, 100px);
    width: auto;
    max-width: none;
  }
  .fv-modal__browse-tab-dot {
    width: 15px;
    height: 15px;
  }
  .fv-modal__browse-tab-title {
    font-size: clamp(12px, 3.2vw, 20px);
  }
  .fv-modal__browse-tab-sub {
    font-size: clamp(10px, 2.4vw, 12px);
  }
  .fv-modal__browse-tab-label {
    flex-wrap: wrap;
    gap: 4px;
  }
  .fv-modal__browse-submit {
    flex: 0 0 min(22%, 96px);
    min-height: 63px;
    height: 63px;
    padding: calc((63px - 20px) / 2) 10px;
    gap: 6px;
    font-size: clamp(12px, 3.2vw, 20px);
    width: auto;
    max-width: none;
  }
  .fv-maker-item__name {
    font-size: 12px;
  }
  .fv-modal__subtext {
    display: none;
  }
  .fv-area-row {
    flex-direction: column;
    gap: 8px;
  }
  .fv-area-row__left {
    min-width: 0;
  }
  .fv-area-row__prefs {
    gap: 8px 10px;
  }
  .fv-area-pref-item {
    font-size: 12px;
  }
  .fv-particular-chip {
    font-size: 12px;
    padding: 7px 10px;
  }
}

/* 掲載台数（数値取得） */
.listing-count {
  display: flex;
  justify-content: left;
  margin-bottom: 24px;
}
.listing-count div {
  background-color: white;
  padding: 0.5em 2rem;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 400;
}
.listing-count div strong {
  font-size: 24px;
  font-weight: 700;
  padding: 0 8px;
}

/* ディスクリプション */
.description {
  margin-bottom: 16px;
  font-size: 14px;
  color: #333;
  text-align: center;
}
@media screen and (max-width: 768px) {
  .description {
    margin-bottom: 16px;
    font-size: 12px;
  }
}

/* サービスロゴ */
.logo {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-bottom: 24px;
  margin: 0 auto;
}
.logo img {
  height: 120px;
}
@media screen and (max-width: 768px) {
  .logo {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 16px;
    margin: 0 auto;
  }
  .logo img {
    height: auto;
    width: 100%;
  }
}

.label-box {
  background-color: #666;
  color: #fff;
  padding: 12px 24px;
  border-radius: 8px 8px 0 0;
  font-size: 18px;
  font-weight: 700;
  display: inline-block;
}
.category-box {
  display: flex;
  border-radius: 0 10px 10px 10px;
  overflow: hidden;
  background-color: #fff;
  box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.15);
  margin-bottom: 16px;
}
.cat-button {
  /* flex: 1; */
  text-align: center;
  border: none;
  border-right: 1px solid #eee;
  padding: 16px 24px;
  font-size: 14px;
  color: #333;
  background: #fff;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  object-fit: cover;
}
.cat-button img {
  width: 32px;
  height: auto;
}
.cat-button span {
  font-size: 18px;
  font-weight: 700;
  line-height: 22px;
  white-space: nowrap;
}
.cat-button span small {
  font-size: 12px;
}
.cat-button.search {
  flex: 1;
  background-color: #ea5413;
  color: #fff;
  font-weight: bold;
  font-size: 18px;
  justify-content: center;
}
.cat-button:last-child {
  border-right: none;
}

.selected-box {
  background-color: #ffffffbf;
  color: #000;
  padding: 12px 24px;
  border-radius: 8px;

  font-size: 14px;
  font-weight: 400;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;

  /* display: inline-block; */
  width: 100%;
  box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.15);
  margin-bottom: 16px;
}

.keyword-box {
  display: flex;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  width: 100%;
}
.keyword-box input {
  flex: 1;
  padding: 12px 16px;
  font-size: 14px;
  border: none;
  outline: none;
  -webkit-appearance: none; /* iOSのデフォルト装飾を消す */
}
.keyword-box button {
  background-color: #ea5413;
  color: #fff;
  padding: 0 24px;
  border: none;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

/* 検索カテゴリー選択タブ */
.tabs {
  display: inline-flex;
  border: 1px solid #000;
  border-radius: 8px;
  overflow: hidden;
  background-color: transparent;
  margin-bottom: 32px;
  width: 100%;
}
.tab-button {
  background-color: transparent;
  border: none;
  padding: 8px;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 14px;
  font-weight: 400;
  color: #333;
  text-align: center;
  flex: 1;
}
.tab-button + .tab-button {
  border-left: 1px solid #000;
}
.tab-button:first-child {
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
}
.tab-button:last-child {
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
}
.tab-button.active {
  background-color: #000;
  color: #fff;
  font-weight: 500;
}
@media screen and (max-width: 768px) {
  .tabs {
    border-radius: 4px;
    margin-bottom: 20px;
  }
  .tab-button {
    padding: 4px;
    font-size: 8px;
    text-align: center;
  }
  .tab-button + .tab-button {
    border-left: 1px solid #000;
  }
  .tab-button:first-child {
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
  }
  .tab-button:last-child {
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
  }
  .tab-button.active {
    background-color: #000;
    color: #fff;
    font-weight: 500;
  }
}

/* 検索フォーム */
.search-box {
  display: flex;
  overflow: hidden;
  border-radius: 9999px;
  width: 100%;
  flex: 1;
}
.search-input {
  flex: 1;
  padding: 0.75em 1em;
  border: none;
  outline: none;
  font-size: 16px;
  font-weight: 400;
}
.search-button {
  background-color: #ea5413;
  border: none;
  padding: 0 1.5em;
  color: white;
  font-size: 14px;
  font-weight: 400;
  cursor: pointer;
}

.news-section {
  margin-top: 0;
  background: #000;
  color: #fff;
}
@media screen and (max-width: 768px) {
  .search-box {
    display: flex;
    overflow: hidden;
    border-radius: 9999px;
    width: 100%;
  }
  .search-input {
    flex: 1;
    padding: 0.75em 1em;
    border: none;
    outline: none;
    font-size: 10px;
    font-weight: 400;
  }
  .search-button {
    background-color: #ea5413;
    border: none;
    padding: 0 1.5em;
    color: white;
    font-size: 10px;
    font-weight: 400;
    cursor: pointer;
  }
}

/* 検索モーダルウィンドウ */
.modal {
  position: fixed;
  top: 10%;
  left: 10%;
  width: 80%;
  height: 80%;
  border-radius: 1vw;
  background: white;
  border: 1px solid #ccc;
  padding: 24px;
  overflow-y: auto;
  display: none;
  z-index: 1000;

  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);

  flex-direction: column;
  overflow: hidden;
}
.modal.active {
  display: flex;
}
.modal .overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  display: none;
  z-index: 999;
}
.overlay.active {
  display: block;
}

.modal-header {
  position: relative;
  /* padding: 16px 48px 16px 16px; */
  text-align: left;

  /* border-bottom: 1px solid #eee; */
  flex-shrink: 0;

  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.modal-header h3 {
  font-weight: 400;
  font-size: 18px;
  display: flex;
  gap: 8px;
  align-items: center;
}
.modal-header h3 .heading-dot {
  display: inline-block;
  width: 16px;
  height: 16px;
  background-color: #ffc574;
  border-radius: 50%;
}
.modal-header .heading-text {
  font-size: 14px;
  margin-left: auto;
}
.close-btn {
  margin-left: 4px;
  font-size: 32px;
  background: #e7e7e7;
  border: none;
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  height: 40px;
  width: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.modal-body {
  flex: 1;
  overflow-y: auto;
  padding-top: 16px;
  padding-bottom: 16px;
  /* padding: 16px; */
  /* padding-right: 16px; */
}
.modal-body form {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 12px;
  font-size: 14px;
}
.custom-checkbox {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f9f9f9;
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid #ddd;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  position: relative;
  transition: background 0.2s, color 0.2s;
}
.custom-checkbox input[type="checkbox"] {
  display: none;
}
/* チェックボックスの見た目 */
.custom-checkbox .checkmark {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  border: 2px solid #ccc;
  background: white;
  position: relative;
}
/* チェックマーク表示 */
.custom-checkbox input[type="checkbox"]:checked + .checkmark {
  background-color: #222;
  border-color: #222;
}
/* チェック時にラベル全体を変 */
.custom-checkbox:has(input[type="checkbox"]:checked) {
  background-color: #dedede;
  border-color: #dedede;
}
.custom-checkbox .checkmark::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 1px;
  width: 6px;
  height: 12px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  opacity: 0;
  transition: opacity 0.2s;
}
.custom-checkbox input[type="checkbox"]:checked + .checkmark::after {
  opacity: 1;
}

.area-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.area-block {
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 16px;
  display: flex;
  flex-direction: row;
  gap: 32px;
}
.area-block > label {
  font-weight: 500;
  display: block;
  /* margin-bottom: 8px; */
  font-size: 14px;
  gap: 4px;
  align-items: center;
}
.area-block > label span {
  font-size: 12px;
}
.prefecture-list {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding-left: 8px;
}
.prefecture-list label {
  /* flex: 0 0 calc(25% - 8px); */
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.prefecture-list label span {
  font-size: 10px;
}

.modal-footer {
  flex-shrink: 0;
  border-top: 1px solid #eee;
  padding: 16px;
}

.modal-footer button {
  width: 100%;
  height: 60px;
  background: #ea5413;
  color: #fff;
  font-weight: bold;
  font-size: 16px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

.news-slider-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 0px;
  max-width: 100%;
  position: relative;
  overflow: hidden;
}
.news-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  font-size: 12px;
}

.news-arrow {
  cursor: pointer;
  z-index: 2;
}
.news-arrow img {
  width: 26px;
  height: 26px;
}

/* スライダー部分 */
.news-slider {
  flex: 1;
  /* overflow: hidden; */
  position: relative;
}
.news-slider-inner {
  display: flex;
  transition: transform 0.5s ease;
}
.news-slide {
  min-width: 100%;
  flex-shrink: 0;
  text-align: center;
  font-weight: bold;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 14px;
}
.news-highlight {
  color: #e65100;
  margin-left: 10px;
}



/* SP のみ：ニュース下〜「はなぜ安い」の前のキーワード検索（375px 想定・768px 以下で表示） */
.fv-keyword-sp-wrap {
  display: none;
  font-family: "Noto Sans JP", sans-serif;
  box-sizing: border-box;
  background: #fff;
  padding: 16px 20px 8px;
}

@media screen and (max-width: 768px) {
  .fv-keyword-sp-wrap {
    display: block;
  }
}

.fv-keyword-sp__form {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 722px;
  margin-left: auto;
  margin-right: auto;
}

/* モック 722×82。内側の入力 514×80 / ボタン 208×80（比率 514:208） */
.fv-keyword-sp__row {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  width: 100%;
  height: 82px;
  box-sizing: border-box;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #e8e8e8;
}

.fv-keyword-sp__field {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  min-height: 0;
  align-self: stretch;
  background: #fff;
}

.fv-keyword-sp__input {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  border: none;
  outline: none;
  padding: 0 12px 0 16px;
  font-size: 16px;
  line-height: 1.25;
  color: #333;
  background: transparent;
  -webkit-appearance: none;
  appearance: none;
  box-sizing: border-box;
}

/* ネイティブ placeholder は非表示（視覚は .fv-keyword-sp__hint） */
.fv-keyword-sp__input::placeholder {
  color: transparent;
  opacity: 0;
}

.fv-keyword-sp__input::-webkit-input-placeholder {
  color: transparent;
  opacity: 0;
}

.fv-keyword-sp__input::-moz-placeholder {
  color: transparent;
  opacity: 0;
}

.fv-keyword-sp__hint {
  position: absolute;
  left: 16px;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 0;
  pointer-events: none;
  font-size: 16px;
  line-height: 1.25;
  color: #999999;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fv-keyword-sp__input:focus ~ .fv-keyword-sp__hint,
.fv-keyword-sp__input:not(:placeholder-shown) ~ .fv-keyword-sp__hint {
  opacity: 0;
  visibility: hidden;
}

.fv-keyword-sp__submit {
  flex: 0 0 calc(100% * 208 / 722);
  height: 100%;
  padding: 0 8px;
  background: #ea5413;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.25;
  border: none;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.fv-keyword-sp__submit:hover {
  background: #c9480f;
}

/* temotokuはなぜ安いの */
.why-temotoku-wrap {
  padding: 44px 20px 12px;
}
@media screen and (max-width: 768px) {
  .why-temotoku-wrap {
    padding: 16px 20px 16px;
  }
}
.why-temotoku-btn {
  display: block;
  max-width: 680px;
  width: 100%;
  margin: 0 auto;
  padding: 18px 20px;
  background: #fff;
  border: .5px solid #333;
  border-radius: 6px;
  text-align: center;
  text-decoration: none;
  color: #000;
  font-weight: 700;
  box-shadow: 0 2px 0 rgba(0,0,0,0.15), 0 4px 10px rgba(0,0,0,0.07);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
  cursor: pointer;
}
@media screen and (max-width: 768px) {
  .why-temotoku-btn {
    padding: 10px 12px;
  }
}
.why-temotoku-text {
  display: flex;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 30px;
  line-height: 1.6;
  letter-spacing: 0.04em;
  gap: 8px;
  align-items: center;
  justify-content: center;
  padding-left: 20px;
}
@media screen and (max-width: 768px) {
  .why-temotoku-text {
    line-height: 1.4;
    letter-spacing: 0.02em;
    gap: 4px;
    padding-left: 12px;
  }
}
.why-temotoku-text .t-logo {
  width: 278px;
  height: auto;
}
@media screen and (max-width: 768px) {
  .why-temotoku-text .t-logo {
    width: 132px;
  }
}
.why-temotoku-text .q-mark {
  width: 18px;
  height: auto;
  margin-top: -30px;
  margin-left: -8px;
}
@media screen and (max-width: 768px) {
  .why-temotoku-text .q-mark {
    width: 12px;
    margin-top: -12px;
    margin-left: -2px;
  }
}
/* .why-temotoku-text .en {
  letter-spacing: 0.2em;
  margin-right: 0.2em;
} */
.why-temotoku-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 3px 0 rgba(0,0,0,0.18), 0 6px 14px rgba(0,0,0,0.08);
  border-color: #cfcfcf;
}
@media (max-width: 480px) {
  .why-temotoku-text { font-size: 16px; }
}

/* ------------------------------
   why-temotoku モーダル
   ------------------------------ */
.why-temotoku-modal { 
  position: fixed; inset: 0; 
  display: none;
  z-index: 9990;
}
.why-temotoku-modal.is-open { display: flex; }

.why-temotoku-backdrop {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.35);
}

.why-temotoku-dialog {
  position: relative;
    max-width: 680px;
    width: 100%;
    margin: 40vh auto;
    background: #fff;
    border: 1px solid #dcdcdc;
    border-radius: 6px;
    padding: 16px 32px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
    z-index: 9991;
    display: flex;
    justify-content: center;
    align-items: center;
}

.why-temotoku-body p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
        letter-spacing: .5px;
}

.why-temotoku-close {
  position: absolute;
  top: 6px; 
  right: 8px;
  width: 36px; 
  height: 36px;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent;
  font-size: 28px; 
  line-height: 1;
  cursor: pointer;
  color: #555;
}
.why-temotoku-close:hover { color: #000; }

body.modal-open { overflow: hidden; }

/* スクリーンリーダー向けに非表示 */
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

@media screen and (max-width: 768px) {
  .why-temotoku-dialog {
    margin: 32vh 20px;
    padding: 14px 16px;
  }
  .why-temotoku-body p { 
    font-size: 12px;
    text-align: center;
  }
}







/* セクション：検索 */
.search__section {
  padding: 32px 0 72px;
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 32px;
}
.maker__container {
}
.bodytype__container {
}
.particular__container {
}
.area__container {
  /* padding: 60px 0; */
  /* max-width: 1200px;
  margin: 0 auto; */
}
.banner__container {
}

.container-heading {
  display: flex;
  justify-content: flex-start;
  align-items: flex-end;
  gap: 8px;
  margin-bottom: 17px;
}
@media screen and (max-width: 768px) {
  .container-heading {
    margin-bottom: 10px;
  }
}

.container-heading img,
.commons-title img {
  height: 28px;
  width: 24px;
}
@media screen and (max-width: 768px) {
  .container-heading img,
  .commons-title img {
    height: 32px;
    width: 30px;
  }
}
.container-heading h2 {
  font-size: 20px;
  font-weight: 700;
  color: #333;
}

.search-tab-container {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
  gap: 16px;
}

.search-tab {
  padding: 16px 40px;
  font-weight: bold;
  font-size: 20px;
  background: #f3f3f3;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  width: 50%;
}

.search-tab.active {
  background: #f26522;
  color: #fff;
  position: relative;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.search-tab.active::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 10px solid #f26522;
}

.search-list-box {
  border: 1px solid #cccccc;
  border-radius: 10px;
  padding: 20px;
  display: flex;
  flex-direction: column;
}
.search-list-box.mb-24 {
  margin-bottom: 20px;
}
.search-list-box.w-half {
  width: 50%;
}
.search-list-box-col2 {
  display: flex;
  flex-direction: row;
  gap: 20px;
  /* margin-bottom: 24px; */
}

/* メーカーから探す用 */
.maker-category-box {
  /* border: 1px solid #CCCCCC; */
  /* border-radius: 10px; */
  /* padding: 24px; */
  display: flex;
  gap: 32px;
  width: 100%;
}
.maker-class {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 50%;
}
.maker-class-title {
  position: relative;
  border-bottom: 2px solid #999999;
  margin-bottom: 16px;
}
@media screen and (max-width: 768px) {
  .maker-class-title {
    margin-bottom: 0;
  }
}
.maker-class-title::before {
  content: "";
  position: absolute;
  bottom: -2px; /* maker-class-titleに位置を揃える */
  left: 0;
  width: 52px;
  height: 2px;
  background-color: #f26522;
}
.maker-class-title h3 {
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 8px;
}
.maker-class-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(84px, 1fr));
  gap: 0;
}
.maker-class-item {
  aspect-ratio: 1/1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  /* gap: 6px; */
  text-decoration: none;
}
.maker-class-item .maker-logo {
  /* background: #eaeaea; */
  width: 100%;
  height: 62px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  /* border-radius: 4px; */
}

.maker-class-item .logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}
.maker-class-item .maker-name {
  font-size: 10px;
  font-weight: bold;
  text-align: center;
  letter-spacing: -0.5px;
  color: #333;
}
.all-link {
  display: flex;
  gap: 2px;
  text-decoration: none;
  color: #333;
}
.all-link span {
  font-size: 12px;
  font-weight: 400;
}
/*  */

/* 地域から探す */
.search-area-box-col2 {
  display: flex;
  flex-direction: row;
  gap: 24px;
}
/* 地域から探す（左要素） */
.search-area-map {
  border: 1px solid #cccccc;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.search-area-map img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.search-area-map.mb-24 {
  margin-bottom: 24px;
}
.search-area-map.w-half {
  width: 50%;
}
.search-area-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.search-area-list.mb-24 {
  margin-bottom: 24px;
}
.search-area-list.w-half {
  width: 50%;
}
/* 地域から探す（右要素） */
.area-item {
  background: #fff;
  width: fit-content;
  padding: 8px 16px;
  border: 1px solid #cccccc;
  border-radius: 10px;
  width: 100%;
  display: flex;
}
.area-item .text {
  font-size: 14px;
  font-weight: 400;
  color: #000;
  text-align: left;
  line-height: 1.8;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.region-link {
  font-size: 12px;
  font-weight: bold;
  color: #000;
  text-decoration: none;
  transition: color 0.3s;
}
.region-link:hover {
  color: #ea5413;
}
.region-link.map {
  color: #FFF;
}
.pref-link {
  font-size: 12px;
  color: #000;
  text-decoration: none;
  transition: color 0.3s;
}
.pref-link:hover {
  color: #ea5413;
}
.area-region {
  display: inline-flex;
  align-items: center;
  min-width: 100px;
  gap: 4px;
  margin-right: 24px;
}
.area-region .heading-border {
  display: inline-block;
  width: 4px;
  height: 16px;
  background-color: var(--region-color);
  margin-right: 10px;
}
.area-item.highlight {
  background-color: #fff3e0;
  border-color: #ea5413;
}

/* バナー（地域から探す下部） */
.banner-box.w-half {
  width: 50%;
  height: 160px;
}
.banner-box-col2 {
  display: flex;
  flex-direction: row;
  gap: 24px;
}
.banner-box img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.category-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: bold;
  margin-bottom: 20px;
  gap: 2px;
  color:#333;
}
.category-header span{
  font-size:14px
}
.group-car {
  margin-right: auto;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 4px;
  margin-right: 8px;
  display: inline-block;
  background: #f26522;
}

.number-flex {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.number-item {
  background: #eeeeee;
  color: #000;
  width: fit-content;
  padding: 6px 16px;
  border-radius: 4px;
  text-decoration: none;
}
.number-item:hover {
  background: #ea5413;
  color: #fff;
}
.number-item .text {
  font-size: 12px;
  font-weight: 400;
  text-align: center;
  white-space: nowrap;
  text-decoration: none;
}

.maker-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(108px, 1fr));
  gap: 16px;
}

.maker-item {
  /* aspect-ratio: 1/1; */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0px;
  text-decoration: none;
}
.maker-item .icon {
  /* background: #eaeaea; */
  width: 100%;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  overflow: hidden;
  padding: 8px;
}
.maker-item .icon img {
  object-fit: contain;
  width: 69px;
}
.maker-item .maker {
  font-size: 10px;
  color: #000;
  font-weight: 400;
  text-align: center;
  letter-spacing: -0.5px;
  color: #003a5b;
}
.all-link {
  display: flex;
  gap: 2px;
  text-decoration: none;
  color: #000;
}
.all-link span {
  font-size: 12px;
  font-weight: 400;
}

/*  */
/* 中古車両：共通セクション（新着・閲覧履歴・オススメ） */
.commons-section {
  background: #f9f9f9;
  padding: 64px 20px 0px;
}
.commons-section.last {
  padding:64px 20px 72px;
}
@media screen and (max-width: 768px) {
  .commons-section.last {
    padding: 20px 20px 52px;
  }
}
.commons-title {
  display: flex;
  align-items: center;
  justify-content: left;
  gap: 12px;
}
.commons-title h2 {
  font-size: 20px;
  font-weight: 700;
}
@media screen and (max-width: 768px) {
  .commons-title h2 {
    font-size: 16px;
    font-weight: 700;
  }
}

.commons-desc {
  text-align: left;
  margin: 30px 0 17px;
  color: #333;
  font-size: 14px;
  font-weight: 700;
}

.commons-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* ← PCは4列固定 */
  gap: 24px;
}
/* 555555555555555555555555555555555 */
/* カード本体 */
/* .commons-card {
  background: #fff;
  border-radius: 10px;
  border: 1px solid #ccc;
  position: relative;
  
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: auto;
  padding: 0;
  text-decoration: none;
} */
/* 555555555555555555555555555555555555555555 */

.commons-card {
  position: relative;
  /* filter: drop-shadow(0 1px 8px rgba(0, 0, 0, 0.2)); */
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: auto;
  padding: 0;
  text-decoration: none;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 10px;
  transition: transform 0.3s ease;
}
.commons-card::before {
  content: "";
  position: absolute;
  top: -60%;
  left: -60%;
  width: 220%;
  height: 220%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 35%,
    rgba(255, 255, 255, 0.7) 50%,
    rgba(255, 255, 255, 0) 65%
  );
  transform: rotate(25deg);
  opacity: 0;
  transition: opacity 0.8s ease;
  pointer-events: none;
}
.commons-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}
.commons-card:hover::before {
  animation: grad-shine-anime 1s forwards;
  opacity: 1;
}
@keyframes grad-shine-anime {
  0% {
    transform: translate(-100%, -100%) rotate(25deg);
    opacity: 0;
  }
  20% {
    opacity: 0.5;
  }
  50% {
    opacity: 1;
  }
  80% {
    opacity: 0.5;
  }
  100% {
    transform: translate(100%, 100%) rotate(25deg);
    opacity: 0;
  }
}



/* 555555555555555555555555555555555555555555555 */

.info-line.shop .value {
  color: #003a6b;
}
/* NEWバッジ */
.commons-badge {
  position: absolute;
  top: -4px;
  left: 10px;
  background: gold;
  width: 40px;
  height: 40px;
  text-align: center;
  line-height: 24px;
  font-weight: bold;
  padding-top: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.commons-badge::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 10px solid gold;
}

/* 画像部分 */
.commons-image {
  flex: 1;
  width: 100%;
  position: relative;
  aspect-ratio: 4 / 3; /* 640px x 480px */
}
.commons-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ホームページの新しいロゴスタイル - 車両リストページと同じ */
.commons-image .new-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  color: white;
  font-size: 11px;
  font-weight: bold;
  padding: 4px 8px;
  border-radius: 2px;
  z-index: 2;
  line-height: 1.2;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* 7日以内: オレンジ色の背景、NEWを表示*/
.commons-image .new-badge.with-new {
  background-color: #ea5413;
}

/* 7日後: 灰色の背景、日付のみが表示されます */
.commons-image .new-badge.date-only {
  background-color: transparent;
  box-shadow: none;
}

.commons-image .new-badge .new-text {
  display: block;
  font-size: 11px;
  /* margin-bottom: 1px; */
  line-height: normal;
}

.commons-image .new-badge .new-date {
  display: block;
  font-size: 11px;
  font-weight: normal;
}

/* 情報部分 */
.commons-info {
  flex: 1;
  padding: 16px;
  font-size: 12px;
  color: #000;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
@media screen and (max-width: 768px) {
  .commons-info {
    /* flex: 1; */
    padding: 8px 12px;
    font-size: 10px;
    /* color: #000;
    display: flex;
    flex-direction: column;
    gap: 4px; */
  }
}

.commons-info .maker-heading {
  display: flex;
  gap: 2px;
  align-items: center;
}

.commons-info .maker-heading span {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2px 4px;
  background-color: #ea5413;
  font-size: 10px;
  font-weight: bold;
  color: #fff;
}

/* 各行共通 */
.commons-info p {
  margin: 0;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* メーカー名 */
.commons-info .maker {
  font-weight: 400;
}

/* 車名（2行まで） */
.commons-info .car-name {
  font-weight: bold;
  font-size: 14px;
  line-height: 1.4;
  height: calc(1.4em * 2); /* 2行分の高さに固定 */
  white-space: normal;
  display: -webkit-box;
  -webkit-line-clamp: 2; /* 最大2行 */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 6px;
  color: #003a6b;
}
@media screen and (max-width: 768px) {
  .commons-info .car-name {
    font-size: 12px;
  }
}

/* ラベル＋値＋単位 のセット */
.commons-info .info-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  height: 18px;
}

/* ラベル部分 */
.commons-info .label {
  flex-shrink: 0;
  color: #555;
  min-width: 60px;
}
@media screen and (max-width: 768px) {
  .commons-info .label {
    min-width: 40px;
  }
}

/* 取得値部分 */
.commons-info .value {
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 単位部分 */
.commons-info .unit {
  flex-shrink: 0;
}

/* 金額部分は少し大きく */
.commons-info .info-line.price .value,
.commons-info .info-line.price .substance,
.commons-info .info-line.total .value,
.commons-info .info-line.total .substance {
  font-size: 18px;
  font-weight: bold;
}
.commons-info .info-line.distance .value {
  font-size: 12px;
  font-weight: 400;
}
@media screen and (max-width: 768px) {
  .commons-info .info-line.price .value,
  .commons-info .info-line.price .substance,
  .commons-info .info-line.total .value,
  .commons-info .info-line.total .substance {
    font-size: 18px;
  }
  .commons-info .info-line.distance .value {
    font-size: 12px;
    font-weight: 400;
  }
}
.commons-info .info-line.total .value {
  /* color: #ea5413; */
}
.commons-info .info-line.price .substance, 
.commons-info .info-line.total .substance {
  color: #ea5413;
}
.commons-info .info-line.price .value,
.commons-info .info-line.price .substance,
.commons-info .info-line.total .value,
.commons-info .info-line.total .substance,
.commons-info .info-line.year .value,
.commons-info .info-line.distance .value,
.commons-info .info-line.shop .value {
  margin-left: auto;
}

.more-commons-link {
  margin-left: auto;
  font-size: 12px;
  color: #313131;
}
.more-commons-link a {
  color: #000;
  text-decoration: none;
  display: flex;
  gap: 4px;
  justify-content: flex-end;
  align-items: center;
  margin-top: 10px;
}
.more-commons-link a img {
  width: 16px;
}

/*  */
/* 総合ランキングセクション（ランキングレイアウト：パターン１）
 * 見出し・説明は .commons-title / .commons-desc / .container-heading に合わせて統一 */
.ranking-pt1-section {
  background: #f9f9f9;
  padding: 60px 20px 0px;
}
.ranking-pt1-title,
.ranking-sub-title {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
}
.ranking-pt1-title h2,
.ranking-sub-title .ranking-sub-h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: #333;
}
.ranking-pt1-title img,
.ranking-sub-title .ranking-sub-icon {
  height: 28px;
  width: 24px;
  flex-shrink: 0;
  object-fit: contain;
}
.ranking-pt1-title .tag {
  background: #000;
  color: #fff;
  border-radius: 100px;
  padding: 4px 20px;
  font-size: 14px;
  font-weight: 700;
}
.ranking-pt1-desc,
.ranking-sub-desc {
  text-align: left;
  margin: 30px 0 17px;
  color: #333;
  font-size: 14px;
  font-weight: 700;
}
.ranking-pt1-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 30px;
}
.ranking-pt1-tab {
  padding: 8px 16px;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
}
.ranking-pt1-tab.active {
  background: #ea5413;
  font-size: 14px;
  color: #fff;
  border-color: #ea5413;
}
.ranking-pt1-cards {
  display: flex;
  flex-direction: column;
}
.ranking-pt1-list {
  display: none;
}
.ranking-pt1-list.active {
  display: block;
}
.ranking-pt1-card {
  background: #fff;
  border-radius: 10px;
  position: relative;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  overflow: visible;
  display: flex;
  flex-direction: column;
  padding: 0;
  text-decoration: none;
}
.rank-pt1-badge {
  position: absolute;
  top: -4px;
  left: 16px;
  width: 40px;
  height: 56px;
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  color: #000;
  padding-top: 6px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  clip-path: polygon(0 0, 100% 0, 100% 80%, 50% 60%, 0 80%);
  z-index: 1;
}
.rank-pt1-badge.rank-1 {
  background: #e3bf2e;
}
.rank-pt1-badge.rank-2 {
  background: #dddddd;
}
.rank-pt1-badge.rank-3 {
  background: #d28c5a;
}
.rank-pt1-badge-other {
  position: absolute;
  top: 12px;
  left: 16px;
  width: 36px;
  height: 36px;
  text-align: center;
  font-size: 16px;
  font-weight: 400;
  color: #000;
  line-height: 36px;
  border-radius: 50%;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  z-index: 1;
  background: #cccccc;
}
.car-pt1-image {
  /* height を flex-basis ではなく height で明示し、flex 方向に依存しない */
  height: 200px;
  flex-shrink: 0;
  width: 100%;
  min-width: 0;
  position: relative;
  overflow: hidden;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.car-pt1-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.car-pt1-image--placeholder {
  background-color: #e8e8e8;
}
.car-pt1-info {
  flex: 0 0 auto;
  padding: 16px;
  font-size: 12px;
  color: #000;
}
.car-pt1-info strong {
  font-size: 14px;
  line-height: 28px;
}
/* ランキングカードのメーカー名: メーカーから探す .maker-class-item .maker-name と同じトーン */
.ranking-pt1-card .car-pt1-info p.maker {
  font-size: 10px;
  font-weight: bold;
  letter-spacing: -0.5px;
  color: #333;
  margin: 0;
  line-height: 1.4;
}
.more-pt1-link {
  margin-left: auto;
  margin-top: 30px;
  font-size: 16px;
}
.more-pt1-link a {
  color: #000;
  text-decoration: none;
  display: flex;
  gap: 4px;
  justify-content: flex-end;
  align-items: center;
}
.more-pt1-link a img {
  width: 24px;
}

/* --- PC: 上段（1〜3位） ---
 * 基準 1440px → コンテナ内幅 1152px
 *   1位 388px / 2位 368px / 3位 348px / gap 24px×2
 *   388+368+348 = 1104  →  flex-grow 比で按分 */
.ranking-pt1-row.top3 {
  display: flex;
  gap: 24px;
  margin-bottom: 24px;
  flex-wrap: nowrap;
  align-items: flex-end;
}
/* PC 上段: flex-grow 比で幅を按分。高さは height で個別指定 */
.ranking-pt1-row.top3 .ranking-pt1-card.rank-1 {
  flex: 388 1 0;
}
.ranking-pt1-row.top3 .ranking-pt1-card.rank-1 .car-pt1-image {
  height: 250px;
}
.ranking-pt1-row.top3 .ranking-pt1-card.rank-2 {
  flex: 368 1 0;
}
.ranking-pt1-row.top3 .ranking-pt1-card.rank-2 .car-pt1-image {
  height: 225px;
}
.ranking-pt1-row.top3 .ranking-pt1-card.rank-3 {
  flex: 348 1 0;
}

/* --- PC: 下段（4〜7位） ---
 *   270px × 4 + gap 24px×3 = 1152px
 *   4等分グリッド */
.ranking-pt1-row.bottom4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* --- PC のみ --- */
.ranking-pt1-sp { display: none; }
.ranking-tag-sp { display: none; }

/* ランキング「もっと見る」リンク用（index.blade でコメントアウト中。復活時はこちらも解除）
.ranking-more-br { display: none; }

.ranking-more-link {
  text-align: center;
  margin-top: 30px;
}
.ranking-more-link a {
  color: #333;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.ranking-more-link a img {
  width: 20px;
  height: 20px;
}
*/

/* --- SP --- */
@media screen and (max-width: 768px) {
  .ranking-pt1-pc { display: none !important; }
  .ranking-pt1-sp { display: block !important; }

  .ranking-pt1-section {
    padding: 40px 20px 0;
    overflow: hidden;
  }
  .ranking-pt1-section .inner_pt1 {
    overflow: visible;
  }
  /* タイトル・説明: .commons-title h2 / .commons-desc（SP）に合わせる */
  .ranking-pt1-title h2,
  .ranking-sub-title .ranking-sub-h2 {
    font-size: 16px;
    font-weight: 700;
  }
  .ranking-pt1-title img,
  .ranking-sub-title .ranking-sub-icon {
    height: 32px;
    width: 30px;
  }
  .ranking-pt1-desc,
  .ranking-sub-desc {
    margin: 12px 0 17px;
    font-size: 14px;
    font-weight: 700;
    color: #333;
  }

  /* SP: タイトル横のタグは非表示、代わりに独立行のタグを表示 */
  .ranking-tag-pc { display: none; }
  .ranking-tag-sp {
    display: inline-block;
    margin: 0 0 16px 0;
    background: #ea5413;
    color: #fff;
    border-radius: 100px;
    padding: 4px 20px;
    font-size: 14px;
    font-weight: 700;
  }

  /* SP: ボディタイプ別・メーカー別のh2・アイコン・descを非表示 */
  .ranking-sub-icon { display: none; }
  .ranking-sub-h2 { display: none; }
  .ranking-sub-desc { display: none; }

  /* SP: ランキング3種スライダー（総合・ボディタイプ・メーカー）を同一のスライド／カード寸法に */
  .ranking-swiper,
  .ranking-bodytype-swiper,
  .ranking-maker-swiper {
    padding-left: 0;
  }
  .ranking-swiper .swiper-slide.ranking-pt1-card,
  .ranking-bodytype-swiper .swiper-slide.ranking-pt1-card,
  .ranking-maker-swiper .swiper-slide.ranking-pt1-card {
    flex-shrink: 0;
    min-width: 0;
  }
  /* SP スライダー内カード: 枠・余白は新着に寄せつつ、画像高さは従来どおり 200px 固定 */
  .ranking-swiper .swiper-slide.ranking-pt1-card,
  .ranking-bodytype-swiper .swiper-slide.ranking-pt1-card,
  .ranking-maker-swiper .swiper-slide.ranking-pt1-card {
    border: 1px solid #ccc;
    border-radius: 10px;
    box-shadow: none;
    background: #fff;
    overflow: hidden;
  }
  .ranking-swiper .swiper-slide.ranking-pt1-card .car-pt1-image,
  .ranking-bodytype-swiper .swiper-slide.ranking-pt1-card .car-pt1-image,
  .ranking-maker-swiper .swiper-slide.ranking-pt1-card .car-pt1-image {
    height: 200px !important;
  }
  .ranking-swiper .swiper-slide .car-pt1-info,
  .ranking-bodytype-swiper .swiper-slide .car-pt1-info,
  .ranking-maker-swiper .swiper-slide .car-pt1-info {
    padding: 8px 12px;
    font-size: 10px;
  }
  .ranking-swiper .swiper-slide .car-pt1-info strong,
  .ranking-bodytype-swiper .swiper-slide .car-pt1-info strong,
  .ranking-maker-swiper .swiper-slide .car-pt1-info strong {
    font-size: 12px;
    line-height: 1.4;
  }
  .ranking-pt1-cards {
    padding-bottom: 16px;
  }
  .ranking-pt1-section .rank-pt1-badge-other {
    font-size: 20px;
  }

  /* 画像のドラッグ／長押しが横スワイプを奪うのを防ぐ（総合・ボディタイプ・メーカー共通） */
  .ranking-swiper img,
  .ranking-bodytype-swiper img,
  .ranking-maker-swiper img {
    -webkit-user-drag: none;
    user-select: none;
  }

  /*
   * スライドが <a> のため touch-action が auto になり、ブラウザが横パンを先に処理して Swiper が動かない。
   * pan-y は縦スクロールのみブラウザ任せ、横は Swiper のリスナーが受ける（タブの overflow-x とは独立）。
   */
  .ranking-swiper .swiper-slide,
  .ranking-swiper .swiper-slide *,
  .ranking-bodytype-swiper .swiper-slide,
  .ranking-bodytype-swiper .swiper-slide *,
  .ranking-maker-swiper .swiper-slide,
  .ranking-maker-swiper .swiper-slide * {
    touch-action: pan-y;
  }

  /* ランキング「もっと見る」リンク用（index.blade でコメントアウト中。復活時はこちらも解除）
  .ranking-more-link {
    margin-top: 16px;
    padding: 0 16px 0;
  }
  .ranking-more-link a {
    font-size: 13px;
  }
  .ranking-more-br { display: inline; }
  */
}

/* ========================================
   ボディタイプ別ランキング
   ======================================== */
.ranking-bodytype-section {
  background: #f9f9f9;
  padding: 60px 20px 60px;
}

.ranking-bodytype-section .ranking-pt1-title .tag--bodytype {
  background: #000;
  color: #fff;
}

/* --- タブ --- */
.bodytype-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}
.bodytype-tab-btn {
  padding: 8px 20px;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  color: #333;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.bodytype-tab-btn:hover {
  border-color: #ea5413;
  color: #ea5413;
}
.bodytype-tab-btn.is-active {
  background: #ea5413;
  color: #fff;
  border-color: #ea5413;
  box-shadow: 0 4px 12px rgba(234, 84, 19, 0.3);
  transform: translateY(-2px);
}

/* --- パネル show/hide --- */
.bodytype-panel {
  display: none;
}
.bodytype-panel.is-active.ranking-bodytype-pc {
  display: grid;
}
.bodytype-panel.is-active.ranking-bodytype-sp {
  display: none;
}

/* --- PC: 4列グリッド --- */
.ranking-bodytype-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.ranking-bodytype-card {
  width: 100%;
}
.ranking-bodytype-card .car-pt1-image {
  height: 200px;
}

/* --- SP --- */
@media screen and (max-width: 768px) {
  .ranking-bodytype-section {
    padding: 40px 20px 40px;
    overflow: hidden;
  }
  .ranking-bodytype-section .inner_pt1 {
    overflow: visible;
  }
  .ranking-bodytype-section .ranking-pt1-title .tag {
    display: inline-block;
    margin: 0 0 12px 0;
    font-size: 14px;
    padding: 4px 20px;
  }

  .bodytype-tabs {
    flex-wrap: nowrap;
    gap: 8px;
    margin-bottom: 20px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .bodytype-tabs::-webkit-scrollbar {
    display: none;
  }
  .bodytype-tab-btn {
    flex: 0 0 auto;
    white-space: nowrap;
    font-size: 13px;
    padding: 6px 16px;
  }
  /* SP: アクティブタブの「浮き」（PC用の translateY / 影）は付けない */
  .bodytype-tab-btn.is-active {
    box-shadow: none;
    transform: none;
  }

  .bodytype-panel.is-active.ranking-bodytype-pc { display: none !important; }
  .bodytype-panel.is-active.ranking-bodytype-sp { display: block !important; }

  .ranking-bodytype-section .rank-pt1-badge-other {
    font-size: 20px;
  }
}

/* ===== メーカー別ランキング ===== */
.ranking-maker-section {
  background: #f9f9f9;
  padding: 0 20px 60px;
}
.ranking-maker-section .ranking-pt1-title .tag--maker {
  background: #000;
  color: #fff;
}

.maker-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}
.maker-tab-btn {
  padding: 8px 20px;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  color: #333;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.maker-tab-btn:hover {
  border-color: #ea5413;
  color: #ea5413;
}
.maker-tab-btn.is-active {
  background: #ea5413;
  color: #fff;
  border-color: #ea5413;
  box-shadow: 0 4px 12px rgba(234, 84, 19, 0.3);
  transform: translateY(-2px);
}

.maker-panel {
  display: none;
}
.maker-panel.is-active.ranking-maker-pc {
  display: grid;
}
.maker-panel.is-active.ranking-maker-sp {
  display: none;
}

.ranking-maker-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.ranking-maker-card {
  width: 100%;
}
.ranking-maker-card .car-pt1-image {
  height: 200px;
}

@media screen and (max-width: 768px) {
  .ranking-maker-section {
    padding: 0 20px 40px;
    overflow: hidden;
  }
  .ranking-maker-section .inner_pt1 {
    overflow: visible;
  }
  .ranking-maker-section .ranking-pt1-title .tag {
    display: inline-block;
    margin: 0 0 12px 0;
    font-size: 14px;
    padding: 4px 20px;
  }

  .maker-tabs {
    flex-wrap: nowrap;
    gap: 8px;
    margin-bottom: 20px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .maker-tabs::-webkit-scrollbar {
    display: none;
  }
  .maker-tab-btn {
    flex: 0 0 auto;
    white-space: nowrap;
    font-size: 13px;
    padding: 6px 16px;
  }
  /* SP: アクティブタブの「浮き」（PC用の translateY / 影）は付けない */
  .maker-tab-btn.is-active {
    box-shadow: none;
    transform: none;
  }

  .maker-panel.is-active.ranking-maker-pc { display: none !important; }
  .maker-panel.is-active.ranking-maker-sp { display: block !important; }

  .ranking-maker-section .rank-pt1-badge-other {
    font-size: 20px;
  }
}

/*  */
/* ボディタイプ別・メーカー別ランキング（ランキングレイアウト：パターン２） */
.ranking-pt2-section {
  background: #f9f9f9;
  padding: 60px 20px 0px;
}
.ranking-pt2-title {
  display: flex;
  align-items: center;
  justify-content: left;
  gap: 12px;
}
.ranking-pt2-title h2 {
  font-size: 24px;
  font-weight: bold;
}
.ranking-pt2-title .tag {
  background: #000;
  color: #fff;
  border-radius: 100px;
  padding: 4px 20px;
  font-size: 16px;
  font-weight: 700;
}
.ranking-pt2-desc {
  text-align: left;
  margin: 16px 0 32px;
  color: #555;
  font-size: 16px;
}
.ranking-pt2-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: left;
  margin-bottom: 32px;
}
.ranking-pt2-tab {
  padding: 8px 16px;
  background: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  color: #000;
  transition: all 0.3s ease; /* アニメーション */
  transform: translateY(0); /* 初期状態の位置 */
}
.ranking-pt2-tab.active {
  background: #ea5413;
  color: #fff;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.25);
  transform: translateY(-4px); /* ← 選択時4px上に移動 */
}
.ranking-pt2-cards {
  display: flex;
  flex-direction: column;
}
.ranking-pt2-list {
  display: none;
  grid-template-columns: repeat(4, 1fr); /* ← PCは4列固定 */
  gap: 20px;
}
.ranking-pt2-list.active {
  display: grid;
}
.ranking-pt2-card {
  background: #fff;
  border-radius: 10px;
  position: relative;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  overflow: visible;
  display: flex;
  flex-direction: column;
  height: 272px;
  padding: 0;
  text-decoration: none;
}
.rank-pt2-badge {
  position: absolute;
  top: -4px;
  left: 16px;
  width: 40px;
  height: 56px;
  text-align: center;
  font-weight: bold;
  font-size: 16px;
  color: #000;
  padding-top: 6px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  clip-path: polygon(
    0 0,
    /* 左上 */ 100% 0,
    /* 右上 */ 100% 80%,
    /* 右下 */ 50% 60%,
    /* 中央の頂点 */ 0 80% /* 左下 */
  );
  z-index: 1;
}
.rank-pt2-badge.rank-1 {
  background: #e3bf2e;
}
.rank-pt2-badge.rank-2 {
  background: #dddddd;
}
.rank-pt2-badge.rank-3 {
  background: #d28c5a;
}
.rank-pt2-badge-other {
  position: absolute;
  top: 12px;
  left: 16px;
  width: 36px;
  height: 36px;
  text-align: center;
  font-weight: normal;
  font-size: 14px;
  color: #000;
  line-height: 36px;
  border-radius: 50%;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  z-index: 1;
  background: #cccccc;
}
.car-pt2-image {
  flex: 3; /* 上部3/4 */
  width: 100%;
  position: relative;
  overflow: hidden; /* 画像が飛び出さないように */
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.car-pt2-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.car-pt2-info {
  flex: 1; /* 下部1/4 */
  padding: 16px;
  font-size: 12px;
  color: #000;
}
.car-pt2-info strong {
  font-size: 14px;
  line-height: 36px;
}
.more-pt2-link {
  margin-left: auto;
  margin-top: 0px;
  font-size: 12px;
}
.more-pt2-link a {
  color: #000;
  text-decoration: none;
  display: flex;
  gap: 4px;
  justify-content: flex-end;
  align-items: center;
}
.more-pt2-link a img {
  width: 16px;
}

/*  */
/* CTN車販売について */
.about-section {
  background-color: #ea5413;
  padding: 64px 0;
  position: relative;
}
@media screen and (max-width: 768px) {
  .about-section {
    background-color: #ea5413;
    padding: 32px 0;
    position: relative;
  }
}
.about__content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  width: 100%;
}
.about__image {
  border-radius: 50%;
  background-color: #fff;
  height: 260px;
  width: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about__image img {
  width: 180px;
  height: 168px;
}
.about__text {
  width: 60%;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.about__text h3 {
  font-size: 20px;
  font-weight: 700;
  line-height: 160%;
}
@media screen and (max-width: 768px) {
  .about__text h3 {
    font-size: 18px;
    font-weight: 700;
    line-height: 160%;
    text-align: center;
  }
}
.about__text p {
  font-size: 14px;
  font-weight: 400;
  line-height: 160%;
}
@media screen and (max-width: 768px) {
  .about__text p {
    font-size: 12px;
  }
}
.pagetop {
  position: absolute;
  top: -40px;
  left: 44%;
  transform: translateX(477px); /* X位置指定 */
  background-color: #ea5413;
  color: #fff;
  font-size: 12px;
  font-weight: bold;
  padding: 12px 24px;
  height: 40px;
  border-radius: 4px 4px 0 0;
  text-decoration: none;
  transition: background-color 0.3s ease;
  z-index: 10;
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
}
.pagetop:hover {
  background-color: #ea5413;
  color: #fff;
}
/* 旧FVスタイル（互換性維持） */
.toggle-button {
  display: none;
}
.commons-swiper .swiper-slide {
  width: auto;
  margin-right: 0px!important;
}

@media (min-width: 769px) {
  .commons-swiper {
    overflow: visible !important;
  }

  .commons-swiper .swiper-wrapper,
  .history-swiper .swiper-wrapper,
  .recommended-swiper .swiper-wrapper {
    grid-template-columns: 1fr 1fr 1fr 1fr;
    display: grid;
    transform: none !important;
    justify-content: space-between;
    gap: 20px;
  }

  .commons-swiper .swiper-slide,
  .history-swiper .swiper-slide,
  .recommended-swiper .swiper-slide {
    width: auto !important;
  }
}

@media screen and (max-width: 1480px) {
  .pagetop {
    /* X位置指定 TODO*/
    transform: translateX(50vw - 600px);
  }
  .listing-count {
    margin-bottom: 10px;
  }
}
@media screen and (max-width: 768px) {
  .pagetop {
    position: absolute;
    top: -63px;
    right: 23px;
    margin: 24px auto 0;
    transform: none;
  }
  /* 旧FVスタイル（SP互換） */
  /* 旧FVスタイル（コメントアウト済み） */
  .maker-category-box {
    flex-direction: column;
    gap: 10px;
  }
  .maker-class {
    width: 100%;
    gap: 14px;
  }
  .maker-class-grid {
    grid-template-columns: repeat(auto-fit, minmax(53px, 1fr));
  }
  .maker-class-item {
    color: #000;
  }
  .maker-class-item .maker-logo {
    height: 35px;
    padding: 0;
  }
  .maker-grid {
    grid-template-columns: repeat(auto-fit, minmax(64px, 1fr));
    gap: 0 16px;
  }
  .maker-item {
    justify-content: flex-start;
  }
  .maker-item .icon {
    height: 49px;
  }
  /* .top-fv .front removed */

  .search__section {
    padding: 8px 20px 32px 20px;
    gap: 24px;
  }
  .search-list-box {
    border: none;
    padding: 0;
    overflow: hidden; /* 子の横はみ出しをページに伝播させない */
  }
  .number-flex {
    flex-wrap: nowrap;
  }
  /* このブロックだけ横スクロール。画面幅でクリップし、他セクションへ影響させない */
  .number-flex.scroll {
    max-width: 100%;
    min-width: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .scroll {
    overflow-x: auto;
  }
  .simplebar-track.simplebar-horizontal {
    height: 5px;
    background: #b5b5b5;
    border-radius: 5px;
    max-width: 372px;
    margin: 0 auto;
  }
  .simplebar-scrollbar {
    height: 10px;
    background: #8b8b8b;
    border-radius: 5px;
    top: 0;
  }
  [data-simplebar] {
    flex-wrap: nowrap !important;
    padding: 15px 0;
  }
  .simplebar-content {
    display: flex;
  }
  .number-item {
    margin: 0 10px 0 0;
  }
  .search-list-box-col2 {
    flex-direction: column;
  }
  .search-list-box.w-half,
  .search-area-list.w-half {
    width: 100%;
  }
  .search-area-map.w-half {
    display: none;
  }
  /* エリア */
  .area-pref-list {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.4s ease, opacity 0.3s ease;
    opacity: 0;
    padding: 0 1em;
  }

  .area-item.active .area-pref-list {
    max-height: 300px; /* 十分大きく設定。必要に応じて調整可 */
    opacity: 1;
    line-height: 3;
    padding: 15px;
    display: flex;
    flex-wrap: wrap;
  }

  .area-region-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 1em;
  }

  .toggle-button {
    background: none;
    border: none;
    font-size: 1.2em;
    line-height: 1;
    display: block;
    color: #000;
    cursor: pointer;
  }
  .area-item {
    display: block;
    border-radius: 0;
  }
  .area-item:first-child {
    border-radius: 10px 10px 0 0;
  }
  .area-item:last-child {
    border-radius: 0 0 10px 10px;
  }

  .search-area-list {
    gap: 0;
  }
  .pref-link {
    border: 1px solid #ccc;
    padding: 0px 9px;
    margin: 5px 7px;
  }
  /* スライダー */
  .commons-swiper .swiper-wrapper {
    display: flex !important;
    flex-direction: row !important;
  }

  /* 新着（commons-swiper）と同じくカード間を 10px に（Swiper の spaceBetween と併用。!important でスライド間マージンを統一） */
  .commons-swiper .swiper-slide,
  .ranking-swiper .swiper-slide,
  .ranking-bodytype-swiper .swiper-slide,
  .ranking-maker-swiper .swiper-slide {
    /* width: 100% !important; */
    flex-shrink: 0!important;
    margin-right: 10px!important;
  }

  .commons-card {
    height: auto;
    /* filter: drop-shadow(0 1px 5px rgba(0, 0, 0, 0.2)); */
    box-shadow: none;
    /* padding: 0 0 20px 0; */
  }
  .swiper{
    padding: 0 0 20px 0;
  }
  .about__content {
    flex-direction: column;
  }
  .about__image {
    width: calc(75vw - 24px) !important;
    height: calc(75vw - 24px) !important;
  }
  .about__image img {
    width: calc(57.5vw - 40px) !important;
    height: calc(57.5vw - 40px) !important;
  }
  .about__text {
    width: 100% !important;
  }

  .news-item {
    font-size: 12px;
  }
  .news-section {
    margin-bottom: 10px;
  }
  .more-pt2-link {
    margin-top: 0;
  }
  .commons-section {
    padding: 20px 20px 0px;
  }
  .news-slider-wrapper {
    padding: 2px 16px;
  }
  .category-header{
    margin-bottom: 0;
  }

.commons-desc {
  margin: 12px 0 17px;
}
}

/* 旧FVの小画面対応は不要 */

/* 地域搜索样式 */
.region-search-content {
  margin-top: 30px;
}

.region-search-container {
  display: flex;
  align-items: flex-start;
  gap: 5px;
}

.region-map-section {
  width: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

@media screen and (max-width: 768px) {
  .region-map-section-cus {
    display: none;
  }
}

.region-map-section img {
  max-width: 100%;
  height: auto;
  display: block;
}

.region-list-section {
  width: 50%;
  height: 100%;
  display: flex;
  align-items: flex-start;
}
@media screen and (max-width: 768px) {
  .region-list-section {
    width: 100%;
  }
}

.region-table {
  width: 100%;
  height: 100%;
  border-collapse: separate;
  border-spacing: 0 7px;
  table-layout: fixed;
}

.region-table tr {
  height: calc((100% - 24px) / 7);
  vertical-align: middle;
}

.region-table tr:first-child .region-name,
.region-table tr:first-child .prefectures {
  padding-top: 6px;
}

.region-name {
  font-weight: bold;
  padding: 8px 12px 8px 20px;
  white-space: nowrap;
  width: 120px;
  font-size: 14px;
  background: #f8f9fa;
  border-radius: 6px 0 0 6px;
  border: 1px solid #e0e0e0;
  border-right: none;
  height: 100%;
  vertical-align: middle;
  position: relative;
}

/* 区域颜色竖线 */
.region-name::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 16px;
  border-radius: 2px;
}

/* 北海道・東北 - 蓝色 */
.region-table tr:first-child .region-name::before {
  background-color: #187ed2;
}

/* 北陸・甲信越 - 浅蓝色 */
.region-table tr:nth-child(2) .region-name::before {
  background-color: #03aacd;
}

/* 関東 - 黄色 */
.region-table tr:nth-child(3) .region-name::before {
  background-color: #e0ba4d;
}

/* 関西 - 橘色 */
.region-table tr:nth-child(4) .region-name::before {
  background-color: #eb8932;
}

/* 中国 - 水色 */
.region-table tr:nth-child(5) .region-name::before {
  background-color: #00aefe;
}

/* 四国 - 紫色 */
.region-table tr:nth-child(6) .region-name::before {
  background-color: #a385cd;
}

/* 九州・沖縄 - 红色 */
.region-table tr:nth-child(7) .region-name::before {
  background-color: #b499a7;
}

.prefectures {
  padding: 8px 12px;
  line-height: 1.4;
  font-size: 12px;
  background: #fff;
  border-radius: 0 6px 6px 0;
  border: 1px solid #e0e0e0;
  border-left: none;
  height: 100%;
  vertical-align: middle;
}

.prefectures a {
  color: inherit;
  text-decoration: none;
  margin-right: 4px;
  transition: color 0.2s ease;
}

.prefectures a:hover {
  color: #eb8932;
  text-decoration: underline;
}

span.label.temopoint {
    color: #fff;
    background-color: #ea5413;
    padding: 2px 8px;
    font-size: 11px;
    border-radius: 3px;
}

.info-line.price .value {
    /* color: #ea5413; */
}
p.info-line.point-custom span.value {
    color: #ea5413;
    font-size: 14px;
    font-weight: 600;
}

@media screen and (max-width: 768px) {
  span.label.temopoint{
    padding: 2px 6px;
    border-radius: 3px;
  }
  .point-custom{
    flex-direction: column;
    height: auto;
  }
  .point-custom >*{margin-left: auto;}

  .commons-info .info-line {
    height: unset;
  }
}

/* SP: ランキング（総合・ボディタイプ・メーカー）
 * 後勝ちになる .commons-section のパディングを上書きし、総合の Swiper 親を flex 幅ずれから守る */
@media screen and (max-width: 768px) {
  .ranking-pt1-section.commons-section {
    padding: 40px 20px 0;
    overflow: visible;
  }
  .ranking-bodytype-section.commons-section {
    padding: 40px 20px 40px;
  }
  .ranking-maker-section.commons-section {
    padding: 0 20px 40px;
  }

  .ranking-pt1-section .ranking-pt1-cards {
    display: block;
    width: 100%;
    min-width: 0;
    padding-bottom: 0;
  }
  .ranking-pt1-section .ranking-swiper.ranking-pt1-sp {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .ranking-swiper .swiper-wrapper {
    touch-action: pan-y;
  }
}