td {
padding: 0 0 5px 0;
}
a:link { color: #000000; }
a:visited { color: #000000; }
a:hover { color: #c8b551; }
a:active { color: #c8b551; }

ul {
  list-style-position: inside;
  padding-left: 0;
}

.seat-box {
  border: 1px solid #ccc;
  padding: 20px;
  margin: 20px 0;
  background-color: #fafafa;
}

.sp-only {
  display: none;
}

@media screen and (max-width: 767px) {
  .sp-only {
    display: block;
  }
}



/* 注記・箇条書き 共通 */
.note-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.note-list li {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  line-height: 1.6;
  margin-bottom: 6px;

}

.note-list .mark {
  flex-shrink: 0;
  white-space: nowrap;
  background: none;
  padding: 0;
}

.note-list .text {
  flex: 1;
}

/* スマホ調整 */
@media screen and (max-width: 767px) {
  .note-list {
    margin-top: 8px;
  }
}

/* 適合表用css */
.fit-section {
  margin-bottom: 32px;
}

/* 車種タイトル */
.fit-car-title {
  background: #bfbfbf;
  padding: 10px;
  font-size: 16px;
  font-weight: bold;
  margin: 0;
  border: 1px solid #ccc;
  border-bottom: none;
}

/* TABLE */
.fit-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.fit-table th,
.fit-table td {
  border: 1px solid #ccc;
  padding: 10px;
  vertical-align: top;
}

.fit-table thead th {
  background: #e6e6e6;
  text-align: center;
}

/* ===== スマホ対応 ===== */
@media screen and (max-width: 767px) {

  .fit-table thead {
    display: none;
  }

  .fit-table,
  .fit-table tbody,
  .fit-table tr,
  .fit-table td {
    display: block;
    width: 100%;
  }

  
  .fit-table tr {
    border: none;
    margin-bottom: 0;
  }

  .fit-table tr + tr {
    border-top: none;
  }


  .fit-table td {
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
    border-bottom: 1px solid #e5e5e5;
    position: relative;
    padding-left: 38%;
  }

  .fit-table td::before {
    content: attr(data-label);
    position: absolute;
    left: 10px;
    top: 10px;
    width: 34%;
    font-weight: bold;
    white-space: normal;
  }

  
  /* 余白を入れる */

  .fit-table td[data-label="乗車定員"] {
    margin-top: 5px;
  }

  .fit-table td[data-label="取付可能な座席とその条件"] {
    margin-bottom: 5px;
  }

}

/* ===== 共通 ===== */
.belt-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.belt-table th,
.belt-table td {
  border: 1px solid #ccc;
  padding: 10px;
  vertical-align: top;
}

.belt-table thead th {
  background: #bfbfbf;
  text-align: center;
  font-weight: bold;
}

/* 使用不可 */
.ng-cell {
  background: inherit;
  color: #e60012;
  font-weight: bold;
  text-align: left;
}


/* PC表示のみ：使用可否の列幅を固定 */
@media screen and (min-width: 768px) {
  .belt-table th:last-child,
  .belt-table td:last-child {
    width: 80px;
    white-space: nowrap;
    text-align: center;
  }
}


/* ===== スマホ対応 ===== */
@media screen and (max-width: 767px) {

  /* ---------- ヘッダー非表示 ---------- */
  .belt-table thead {
    display: none;
  }

  /* ---------- 構造をブロック化 ---------- */
  .belt-table,
  .belt-table tbody,
  .belt-table tr {
    display: block;
    width: 100%;
    background-color: transparent !important;
  }

  /* ---------- 各セル：2カラムGrid ---------- */
  .belt-table td {
    display: grid;
    grid-template-columns: 34% 1fr; /* 左：タイトル / 右：本文 */
    gap: 8px;

    padding: 10px;
    font-size: 14px;
    line-height: 1.5;

    background: #fff;
    color: #000;

    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
    border-bottom: 1px solid #e5e5e5;
  }

  .belt-table td[data-label="使用可否"] {
    margin-bottom: 12px;
  }


  /* 最初の行だけ上線を出す */
  .belt-table tr:first-child td {
    border-top: 1px solid #ccc;
  }

  /* ---------- 左側タイトル ---------- */
  .belt-table td::before {
    content: attr(data-label);
    font-weight: bold;
    white-space: normal;
    color: #000;
  }



  /* =================================================
     使用不可（NG行）
     ================================================= */

  /* 基本：白背景＋赤枠（種類・特徴用） */
  .ng-row td {
    background: #fff;
    color: #000;
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #e5e5e5;
  }

  .ng-row td::before {
    color: #000;
  }

  /* 警告セル：背景は通常、文字のみ赤 */
  .ng-row td[data-label="本品使用時の注意事項"],
  .ng-row td[data-label="使用可否"] {
    background:#fff;
    color: #e60012;
  }

  .ng-row td[data-label="本品使用時の注意事項"]::before,
  .ng-row td[data-label="使用可否"]::before {
    color: #000;
  }

}



.youtube-wrap {
  max-width: 360px;       /* Shorts向け */
  margin: 40px auto 0;
}

.youtube-wrap iframe {
  width: 100%;
  aspect-ratio: 9 / 16;   /* 縦動画 */
  border-radius: 12px;
}


.purchase-notice {
  margin-bottom: 25px;
}

.purchase-notice h3 {
  font-size: 15px;
  margin-bottom: 10px;
}

.purchase-notice ul {
  padding-left: 20px;
  margin: 0;
}

.purchase-notice-flex {
  display: flex;
  align-items: center;
  gap: 20px;
}

.purchase-notice-image {
  width: 200px;
  height: auto;
}

.purchase-notice-note {
  margin-top: 10px;
  line-height: 1.6;
}

.purchase-notice-diagram-image {
  margin-top: 10px;
  width: 300px;
  height: auto;
}



.measure-steps {
  max-width: 1000px;
  margin: 0 auto;
}

.measure-steps__list {
  display: flex;
  gap: 20px;
}

/* ==========
  各ステップ
========== */
.measure-step {
  width: 25%;
}

.measure-step__image img {
  width: 100%;
  height: auto;
  display: block;
}

.measure-step__text {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.6;
}

.measure-step__number {
  font-weight: bold;
  margin-right: 4px;
}


/* ==========
  SP対応
========== */
@media screen and (max-width: 768px) {
  .measure-steps__list {
    display: block;
  }

  .measure-step {
    width: 100%;
    margin-bottom: 28px;
    display: flex;
    flex-direction: column;
  }

  .measure-step__text {
    order: 1;
    font-size: 15px;
  }
  
  .measure-step__image {
    order: 2;
    margin-top: 8px;
  }

}


.seat-usable-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.seat-card {
  border: 2px solid #333;
  border-radius: 16px;
  padding: 16px;
  background: #fff;
}


.seat-card__title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 10px;
  line-height: 1.5;
}

.seat-card__list {
  padding-left: 1em;
  margin-bottom: 10px;
}

.seat-card__list li {
  margin-bottom: 6px;
  line-height: 1.5;
}


.seat-card__image img {
  width: 100%;
  height: auto;
  display: block;
}


@media screen and (max-width: 767px) {
  .seat-usable-list {
    grid-template-columns: 1fr;
  }

  .seat-card {
    padding: 14px;
  }

  .seat-card__title {
    font-size: 16px;
  }
}


.seat-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 13px;
  color: #333;
}

.seat-note__icon {
  width: 44px;
  height: auto;
  flex-shrink: 0;
}

.seat-note__text {
  line-height: 1.5;
  margin: 0;
}

.seat-card--center {
  display: flex;
  align-items: center;      /* 縦中央 */
  justify-content: center;  /* 横中央 */
  text-align: center;
}

.seat-card--center .seat-card__title {
  margin: 0;
}



@media screen and (max-width: 767px) {
  .seat-note {
    font-size: 12px;
    align-items: flex-start;
  }

  .seat-note__icon {
    width: 34px;
    margin-top: 2px;
  }

  
  .seat-note__text {
    font-size: 12px;
  }

  
  .seat-card--center {
    min-height: 160px; /* 高さに余裕を持たせたい場合 */
  }


}
