@charset "UTF-8";
/* CSS Document */
.design09__thumbnail {
  display: grid;
  grid-template: 1fr/1fr 1fr 1fr 1fr 1fr 1fr;
  gap: 6px;
  align-items: start;
}
.design09__car-item {
  position: relative;
  border: solid 1px #878787;
  border-radius: 6px;
  overflow: hidden;
  opacity: 1;
  transition: 0.5s;
  background-color: #fff;
  align-self: stretch;
}
.design09__car-item.is-active {
  opacity: 1;
}
.design09__car-item.is-active .design09__circle {
  display: none;
}
.design09__car-item:hover {
  opacity: 1;
}
.design09__car-item:hover .design09__car-photo img {
  transform: Scale(1.1);
}
.design09__car-item:hover .design09__circle--inner {
  background-color: var(--hover-bg) !important;
}
.design09__car-item:hover .design09__circle--inner span {
  font-size: 13px;
  font-weight: bold;
  color: var(--hover-text);
}
.design09__car-photo {
  width: 100%;
  height: 150px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  overflow: hidden;
  position: relative;
}
.design09__car-photo img {
  border-radius: initial;
  transition: all 0.2s ease-in-out;
}
.design09__car-photo .sold-out {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 4px 20px;
  white-space: nowrap;
}
.design09__car-info {
  padding: 10px;
}
.design09__car-info--name {
  font-size: clamp(1.3rem, 0.951vw, 1.5rem);
  font-weight: bold;
  height: 60px;
}
.design09__car-info--marker, .design09__car-info--type {
  display: block;
  font-size: 1.2rem;
  font-weight: normal;
}
.design09__car-info--new {
  display: none;
}
.design09__car-info--new.is-show {
  display: inline;
  font-size: clamp(1.1rem, 0.625vw, 1.2rem);
  font-weight: bold;
  color: #dc143c;
  margin-left: 4px;
}
.design09__car-info--grade {
  display: block;
  font-size: 12px;
  font-weight: bold;
}
.design09__car-info--price {
  font-size: clamp(1.1rem, 0.815vw, 1.3rem);
  font-weight: bold;
  text-align: center;
  margin: 6px auto;
}
.design09__car-info--price span {
  font-size: clamp(1.4rem, 1.019vw, 1.6rem);
  padding: 0 2px;
}
.design09__car-info--specifications {
  padding: 0 10px;
}
.design09__car-info--specifications li {
  font-size: clamp(1.1rem, 0.815vw, 1.3rem);
}
.design09__car-info--specifications li span {
  font-size: clamp(1.3rem, 0.951vw, 1.5rem);
  font-weight: bold;
  padding: 0 0 0 6px;
}
.design09__car-info--mileage {
  margin-bottom: 6px;
}
.design09__car-info--mileage span::after {
  content: "km";
  font-size: 10px;
  font-weight: normal;
  padding-left: 2px;
}
.design09__circle {
  position: absolute;
  top: 110px;
  right: 2px;
}
.design09__circle--inner {
  display: inline-block;
  position: relative;
  width: 50px;
  height: 50px;
  border-radius: 50%;
}
.design09__circle--inner span {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 12px;
  font-weight: bold;
}
.design09 {
  /* =========================================
   特選車詳細（Ajax読み込み部分）用スタイル
   ========================================= */
}
.design09 .sales-car-list {
  position: relative;
}
.design09 .sales-car-list .list-item {
  display: none;
  background-color: #fff;
  padding: 30px;
  margin-top: 10px;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  color: #333;
  position: relative;
  padding-top: 20px;
}
.design09 .sales-car-list .list-item.is-active {
  display: block;
}
.design09 .sales-car-list .car-detail-close {
  position: absolute;
  top: 15px; /* 上からの位置 */
  right: 30px; /* 右からの位置 */
  z-index: 10; /* 他の要素に埋もれないように */
  padding: 8px 12px;
  background-color: #333;
  color: white;
  text-decoration: none;
  font-size: 14px;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s;
}
.design09 .sales-car-list .car-detail-close:hover {
  background-color: #dc143c; /* ホバーで赤色にするなど */
}
.design09 .sales-car-list .car-maker {
  font-size: 18px;
  font-weight: bold;
  border-bottom: solid 3px #ff6010;
  padding-bottom: 10px;
  margin-bottom: 20px;
}
.design09 .sales-car-list .car-name {
  margin-left: 15px;
  font-size: 1.2em;
}
.design09 .sales-car-list .car-grade {
  margin-left: 15px;
  font-size: 0.8em;
  font-weight: normal;
  background: #eee;
  padding: 2px 8px;
  border-radius: 4px;
}
.design09 .sales-car-list .flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.design09 .sales-car-list .flex .left {
  width: 49%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.design09 .sales-car-list .flex .left .price,
.design09 .sales-car-list .flex .left .appeal-point {
  width: 48%;
}
.design09 .sales-car-list .flex .left .index {
  font-size: clamp(14px, 1.087vw, 16px);
}
.design09 .sales-car-list .flex .left .index span {
  font-size: clamp(12px, 0.951vw, 14px);
}
.design09 .sales-car-list .flex .left .total-price {
  background: #f9f9f9;
  padding: 10px;
  text-align: center;
  border: 1px solid #ddd;
  margin: 0 0 20px;
  border-radius: 6px;
}
.design09 .sales-car-list .flex .left .total-price span:nth-child(1) {
  font-size: clamp(26px, 2.038vw, 30px);
  font-weight: bold;
  color: #d00;
}
.design09 .sales-car-list .flex .left .total-price span:nth-child(2) {
  font-size: clamp(17px, 1.359vw, 20px);
  font-weight: bold;
  margin-right: 5px;
  padding-left: 4px;
}
.design09 .sales-car-list .flex .left ul .type1,
.design09 .sales-car-list .flex .left ul .type2 {
  font-size: clamp(14px, 1.087vw, 16px);
  font-weight: bold;
  line-height: 1;
}
.design09 .sales-car-list .flex .left ul .type1 span:nth-child(1),
.design09 .sales-car-list .flex .left ul .type2 span:nth-child(1) {
  display: inline-block;
  width: 60px;
  margin: 0 12px 8px 0;
  padding: 7px 0;
  background: #f5f4f0;
  color: #666;
  font-size: clamp(10.6px, 0.815vw, 12px);
  font-weight: bold;
  text-align: center;
}
.design09 .sales-car-list .flex .left ul .type1 span:nth-child(2),
.design09 .sales-car-list .flex .left ul .type2 span:nth-child(2) {
  font-size: clamp(11.4px, 0.883vw, 13px);
  font-weight: bold;
  padding-left: 2px;
}
.design09 .sales-car-list .flex .right {
  width: 49%;
}
.design09 .sales-car-list .flex .appeal-point {
  background-color: #fffcde;
  border-radius: 6px;
  padding: 10px;
  margin-top: 10px;
}
.design09 .sales-car-list .flex .appeal-point li {
  display: block;
  font-size: clamp(12.3px, 0.951vw, 14px);
}
.design09 .sales-car-list .flex .sales-point {
  font-size: 1.4rem;
  text-align: justify;
  padding: 16px 0;
}
.design09 .sales-car-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.design09 .sales-car-list ul li {
  border-bottom: 1px dotted #ccc;
  padding: 8px 0 0;
  font-size: 14px;
}
.design09 .sales-car-list ul li span {
  display: inline-block;
  min-width: 80px;
  color: #666;
  font-size: 12px;
}
.design09 .sales-car-list {
  /* --- スライダー（画像）のスタイル --- */
}
.design09 .sales-car-list .slider {
  position: relative;
  width: 100%;
}
.design09 .sales-car-list .main-slider-images {
  width: 100%;
  text-align: right;
  overflow: hidden;
  margin-bottom: 10px;
  position: relative;
}
.design09 .sales-car-list .main-slider-images ul {
  display: flex;
  width: 100%;
  overflow-x: auto;
  scroll-behavior: smooth;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.design09 .sales-car-list .main-slider-images ul::-webkit-scrollbar {
  display: none;
}
.design09 .sales-car-list .main-slider-images ul li {
  flex: 0 0 100%;
  width: 100%;
  height: 318px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  border-radius: 6px;
}
.design09 .sales-car-list .main-slider-images ul img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.design09 .sales-car-list .thumbs li {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  border-radius: 6px;
}
.design09 .sales-car-list .arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  cursor: pointer;
  z-index: 10;
}
.design09 .sales-car-list .arrow::before {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 20px;
}
.design09 .sales-car-list .arrow.left {
  width: 8%;
  left: 0;
}
.design09 .sales-car-list .arrow.left::before {
  content: "◀";
}
.design09 .sales-car-list .arrow.right {
  width: 8%;
  right: 0;
}
.design09 .sales-car-list .arrow.right::before {
  content: "▶";
}
.design09 .sales-car-list .thumbnail-images {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 2px;
  width: 100%;
}
.design09 .sales-car-list .thumbnail-images li {
  padding: 0;
  border: 2px solid transparent;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.2s, border-color 0.2s;
  border-radius: initial;
}
.design09 .sales-car-list .thumbnail-images li:hover {
  opacity: 0.9;
}
.design09 .sales-car-list .thumbnail-images li.selected {
  border-color: #d00;
  border-radius: 6px;
  opacity: 1;
}
.design09 .sales-car-list .thumbnail-images li img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  aspect-ratio: 4/3;
  border-radius: 3px;
}
.design09 .tac {
  display: none;
  text-align: center;
}
.design09 button {
  width: 40%;
  font-size: clamp(14px, 1.087vw, 16px);
  border: initial;
  background-color: green;
  border-radius: 6px;
  color: white;
  margin: 20px auto 0;
  padding: 0.2% 0;
  transition: all 0.2s ease-in-out;
  cursor: pointer;
}
.design09 button:hover {
  background-color: #fdcd0c;
  color: initial;
}