@charset "UTF-8";
.dollar {
  font-size: 0.8em;
  padding-right: 3px;
}

.small-text {
  font-size: 0.8em;
  letter-spacing: 1.5px;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
}
table .price {
  transition: background-color 0.3s ease, color 0.3s ease;
}
table .price:hover {
  background-color: #D57392 !important;
  color: #ffffff;
}
table td {
  height: 65px;
  width: 160px;
  font-size: clamp(12px, 1.4vw, 14px);
  text-align: center;
  border: solid 1px rgba(0, 0, 0, 0.1019607843);
}

/* =========================
  BEST PRICE
========================= */
.bestprice-table-scroll {
  margin-top: 14px;
}
.bestprice-table-scroll table {
  max-width: 800px;
  margin: 0 auto;
  border: 1px solid rgba(0, 0, 0, 0.1215686275);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.bestprice-table-scroll td {
  line-height: 1.35;
  vertical-align: middle;
}
.bestprice-table-scroll td:last-child {
  border-right: none;
}
.bestprice-table-scroll tr td:first-child {
  font-weight: 600;
  letter-spacing: 0.02em;
  width: 150px;
}
.bestprice-table-scroll tbody tr:first-child td {
  font-weight: 700;
  letter-spacing: 0.06em;
  padding-top: 16px;
  padding-bottom: 16px;
  background: rgba(255, 255, 255, 0.2196078431);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.bestprice-table-scroll tbody tr:first-child td:first-child {
  background: rgba(255, 255, 255, 0.9490196078);
}
.bestprice-table-scroll tbody tr:not(:first-child) td:not(:first-child) {
  font-weight: 700;
}
.bestprice-table-scroll tbody tr:nth-child(2n) td {
  background: rgba(255, 255, 255, 0.02);
}
.bestprice-table-scroll tbody tr:last-child td {
  border-bottom: 0;
}
.bestprice-table-scroll .section-explanation {
  margin-top: 12px;
  font-size: 12px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
}

@media (max-width: 768px) {
  table td {
    height: 12vw;
    font-size: 2.8vw;
  }
}
@media (max-width: 480px) {
  table td {
    height: 16vw;
    font-size: 3.3vw;
  }
  .bestprice-table-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: none;
  }
  .bestprice-table-scroll::-webkit-scrollbar {
    height: 3px;
    /* ←横バーの太さ */
  }
  .bestprice-table-scroll table {
    min-width: 560px;
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
  }
  /* ✅ 各行の「最初のtd」だけ固定 */
  .bestprice-table-scroll tbody tr td:first-child {
    position: sticky;
    left: 0;
    z-index: 2;
    /* 下が透けると見づらいので背景を付ける */
    background: rgba(255, 255, 255, 0.9490196078);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
  }
  /* 先頭セルの右に境界線があると固定感が出て綺麗 */
  .bestprice-table-scroll tbody tr td:first-child {
    box-shadow: 1px 0 0 rgba(255, 255, 255, 0.12);
  }
}