.car-detail{
  padding-top: 0;
}
.car-detail .container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 30px 15px;
}
.page-heading {
  display: flex;
  justify-content: flex-start;
  gap: 20px;
  align-items: baseline;
  width: 100%;
}
.car-title {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 10px;
}
.car-subinfo {
  color: #222;
  margin-bottom: 20px;
  font-size: 16px;
  font-weight: 500;
}

/* 車両画像メイン・サムネイル */
.page-front {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
}
.car-image-gallery {
  width: 58%;
  text-align: center;
}
.car-image-gallery .main-image img {
  max-width: 100%;
  height: auto;
  border: 1px solid #ddd;
}
.thumbnail-images {
  display: flex;
  gap: 10px;
  margin-top: 15px;
  justify-content: left;
  flex-wrap: wrap;
}
.thumbnail-images .thumb {
  width: 100px;
  height: auto;
  border: 2px solid transparent;
  cursor: pointer;
  transition: border 0.3s ease;
}
.thumbnail-images .thumb:hover {
  border-color: red;
}

/* 仮詳細プライス（１） */
.car-head-info {
  width: 42%;
}
.price-box {
  margin-top: 25px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.price-line {
  font-size: 22px;
  margin-bottom: 5px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-left: 6px solid #afafaf;
  padding-left: 8px;
}
.price-line .label {
  font-size: 22px;
  font-weight: 500;
}
.price-line .price {
  font-size: 36px;
  color: #d10000;
  font-weight: 700;
}
.price-line .price-decimal {
  font-size: 22px;
  margin-left: -8px;
}
.price-line .price-unit {
  font-size: 18px;
  margin-left: -8px;
}

/* 仮詳細プライス（２） */
.price-subbox {
  display: flex;
  justify-content: space-between;
  width: 100%;
  gap: 20px;
}
.price-subline {
  font-size: 22px;
  margin-bottom: 5px;
  display: flex;
  flex-direction: column;
  /* align-items: center; */
  /* justify-content: space-between; */
  border-left: 6px solid #afafaf;
  padding-left: 8px;
}

/* 仮詳細情報テーブル */
.info-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 8px;
  margin-top: 20px;
}
.info-table tr {
  margin-bottom: 8px;
}
.info-table th {
  text-align: center;
  background-color: #e8e8e8;
}
.info-table td {
  text-align: left;
}
.info-table th,
.info-table td {
  padding: 10px;
  font-size: 14px;
  border: none;
}

/* 詳細情報テーブル */
.spec-table {
  width: 100%;
  margin-top: 25px;
  border-collapse: collapse;
}
.spec-table:nth-of-type(2) {
  margin-top: 0;
}
.spec-table th {
  background-color: #f1f1f1;
}
.spec-table .separate-row td,
.spec-table .full-row td {
  font-size: 14px;
}
.spec-table .separate-row th,
.spec-table .separate-row td {
  border: 1px solid #ddd;
  padding: 16px;
  text-align: left;
  width: 25%; /* PC時: th, td 合わせて1列50%×2 */
  box-sizing: border-box;
}
.spec-table tr {
  border: 3px solid #c9c9c9; /* 外枠の太さ・色を指定 */
}
.spec-table:nth-of-type(2) tr:first-of-type {
  border-top: none;
}
.spec-table .separate-row th,
.spec-table .separate-row td {
  border: none; /* 各セルの枠線は消して tr のみに任せる */
}
.spec-table .full-row th,
.spec-table .full-row td {
  padding: 16px;
  text-align: left;
}
.spec-table .full-row th {
  width: 25%; /* 上部の th と同じ幅に */
}
.spec-table .full-row td {
  width: 75%;
}

/*  */
.notes-box {
  margin-top: 30px;
  background: #f9f9f9;
  padding: 15px;
  border-left: 5px solid #ddd;
}

/* CTAボタン */
.inquiry-box {
  text-align: center;
  margin: 40px 0;
}
.cta-button {
  background: #e60000;
  color: white;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  transition: background 0.3s, transform 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 400px;
  margin: 0 auto;
}
.cta-button:hover {
  background: #b80000;
  transform: scale(1.05);
}
.cta-button-mw {
  width: 100%;
}
.cta_icon {
  width: 20px;
}

/* パンくず */
.page-title {
  display: inline-flex;
  align-items: center;
}
.page-subtitle {
  margin-left: 16px;
  font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
  .car-detail {
    padding-top: 0;
  }
  .page-heading {
    display: flex;
    flex-direction: column;
    gap: 0;
  }
  .car-title {
    font-size: 22px;
  }
  .car-subinfo {
    color: #222;
    margin-bottom: 20px;
    font-size: 12px;
    font-weight: 500;
  }

  /* 車両画像メイン・サムネイル */
  .page-front {
    display: flex;
    flex-direction: column;
    width: 100%;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
  }
  .car-image-gallery {
    width: 100%;
    text-align: center;
  }
  .car-image-gallery .main-image img {
    max-width: 100%;
    height: auto;
    border: 1px solid #ddd;
  }
  .thumbnail-images {
    display: flex;
    gap: 6px;
    margin-top: 15px;
    justify-content: left;
    flex-wrap: wrap;

    /* flex-wrap: nowrap;
    overflow-x: auto; */
  }
  .thumbnail-images .thumb {
    width: 80px;
    height: auto;
    border: 2px solid transparent;
    cursor: pointer;
    transition: border 0.3s ease;
  }
  .thumbnail-images .thumb:hover {
    border-color: red;
  }
    
  /* 仮詳細プライス（１） */
  .car-head-info {
    width: 100%;
  }
  .price-box {
    margin-top: 25px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .price-line {
    font-size: 22px;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-left: 6px solid #afafaf;
    padding-left: 8px;
  }
  .price-line .label {
    font-size: 16px;
    font-weight: 500;
  }
  .price-line .price {
    font-size: 36px;
    color: #d10000;
    font-weight: 700;
  }
  .price-line .price-decimal {
    font-size: 22px;
    margin-left: -8px;
  }
  .price-line .price-unit {
    font-size: 18px;
    margin-left: -8px;
  }

  /* 仮詳細プライス（２） */
  .price-subbox {
    display: flex;
    justify-content: space-between;
    width: 100%;
    gap: 20px;
  }
  .price-subline {
    font-size: 16px;
    margin-bottom: 5px;
    display: flex;
    flex-direction: column;
    /* align-items: center; */
    /* justify-content: space-between; */
    border-left: 6px solid #afafaf;
    padding-left: 8px;
    width: 50%;
  }

  /* 仮詳細情報テーブル */
  .info-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-top: 20px;
  }
  .info-table tr {
    display: flex;
    flex-direction: column;
    margin-bottom: 0;
    border-bottom: 0;
    padding-bottom: 0;
  }
  .info-table th,
  .info-table td {
    width: 100%;
    display: block;
    padding: 8px 0;
    font-size: 14px;
  }
  .info-table th {
    background-color: #e8e8e8;
    font-weight: bold;
    padding: 4px 8px;
    text-align: left;
  }
  .info-table td {
    text-align: left;
    padding: 4px 8px;
  }

  /* 詳細情報テーブル */
  .spec-table tr {
    display: flex;
    flex-wrap: wrap;
  }
  .spec-table .separate-row th,
  .spec-table .separate-row td {
    width: 100%;
    font-size: 14px;
  }
  .spec-table tr {
    border: none;
  }
  .spec-table .separate-row th,
  .spec-table .separate-row td {
    border: 0px solid #ddd;
    padding: 12px;
  }
  .spec-table .full-row {
    display: flex;
    flex-wrap: wrap;
  }
  .spec-table .full-row th,
  .spec-table .full-row td {
    width: 100%;
    padding: 12px;
  }

  /* CTAボタン */
  .inquiry-box {
    text-align: center;
    margin: 40px 0;
  }
  .cta-button {
    width: 100%;
    box-sizing: border-box;
    font-size: 14px;
    padding: 16px;
  }
  .cta-button:hover {
    background: #b80000;
    transform: scale(1.05);
  }
  .cta-button-mw {
    width: 100%;
  }

  /* パンくず */
.page-title {
  display: contents;
  align-items: center;
}
.page-subtitle {
  margin-left: 0;
  font-size: 12px;
}
}
