/* ========================================
  商品詳細（pd_）
  - 骨組み：SP縦積み / PC3カラム
  - 構成：各ブロックごとに SP → @media(min-width:900px) PC の順でまとめる
======================================== */

/* EC-CUBEの外枠による1150px制限を外し、モックの.l-container幅を有効にする */
.product_page .ec-layoutRole__contents,
.pd-c__page .ec-layoutRole__contents {
  max-width: none;
}

.product_page .ec-layoutRole__main {
  padding-bottom: var(--section-gap);
}

/* SP / PC 表示切替（表示時のdisplayは各ブロック側で定義） */
.pd__pc-only {
  display: none !important;
}

@media (min-width: 900px) {
  .pd__pc-only {
    display: revert !important;
  }

  .pd__sp-only {
    display: none !important;
  }
}
/* ----------------------------------------
  見出し（head）
---------------------------------------- */
.pd__head {
  margin-top: 24px;
}

.pd__head-main {
  min-width: 0;
}

.pd__title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
}

.pd__no {
  margin-top: 6px;
  font-size: 14px;
  color: var(--color-text-light);
}

.pd__stars {
  font-size: 18px;
  list-height: 1;
}

.pd__stars .star-rating__score,
.pd__stars .star-rating__count {
  margin-left: 4px;
  font-size: 14px;
}

.pd__stars .star-rating__score {
  font-size: 15px;
  font-weight: 700;
  font-family: var(--font-inter);
  color:#333333;
}

.pd__chips {
  margin-top: 10px;
}

.pd__chip-icon {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 3px;
  vertical-align: -1px;
  background: conic-gradient(#f44336, #ffeb3b, #4caf50, #2196f3, #f44336);
  border-radius: 50%;
}

.pd__chip--lead {
  color: #ffffff;
  background-color: #666666;
  border-color: #666666;
}

.chip--fullcolor {
  display: inline-flex;
  align-items: center;
}

.pd__section-title {
  margin-bottom: 12px;
  font-size: 16px;
  font-weight: 700;
}

@media (min-width: 900px) {
  .pd__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px 24px;
    margin-top: 28px;
  }

  .pd__title {
    font-size: 22px;
  }

  .pd__utils .pd__util-btn {
    padding: 4px 4px;
    font-size: 12px;
    border: 1px solid #888888;
    border-radius: 4px;
  }

  .pd__head .pd__utils {
    display: grid !important;
    flex: 0 0 auto;
    grid-template-columns: repeat(2, minmax(140px, 180px));
    gap: 12px;
    max-width: 329px;
    margin-top: 0;
    margin-bottom: 0;
  }

}

/* ----------------------------------------
  メイン（SP：縦 / PC：3カラム）
---------------------------------------- */
.pd--calendar {
  padding-bottom: 40px;
}

.pd__main {
  display: grid;
  margin-top: 20px;
}

.pd__col {
  min-width: 0;
  margin-top: 40px;
}

@media (min-width: 900px) {
  .pd__main {
    margin-top: 28px;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.15fr) minmax(280px, 0.9fr);
    grid-template-areas: "gallery config summary";
    gap: 24px;
    align-items: start;
  }

  .pd__col {
    margin-top: 0;
  }

  .pd__col--gallery {
    grid-area: gallery;
  }

  .pd__col--config {
    grid-area: config;
  }

  .pd__col--summary {
    grid-area: summary;
    position: sticky;
    top: 80px;
    width: auto;
    margin-right: 0;
    margin-left: 0;
    padding: 0;
    background-color: transparent;
  }
}

/* ----------------------------------------
  価格リード（PCのみ / 中央カラム上部）
---------------------------------------- */
@media (min-width: 900px) {
  .pd__price-lead {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
    margin-bottom: 16px;
    font-size: 14px;
  }

  .pd__price-lead strong {
    font-family: var(--font-inter);
    font-size: 34px;
    color: var(--color-primary);
  }

  .pd__price-lead-unit {
    line-height: 1;
  }

  .pd__price-lead-ship {
    font-size: 22px;
    font-weight: 700;
    color: #333333;
  }

  .pd__price-lead-ship strong {
    font-size: 22px;
    color: #333333;
  }
}

/* ----------------------------------------
  ギャラリー
---------------------------------------- */
.pd__gallery-main {
  overflow: hidden;
  background-color: #ffffff;
  border: 1px solid var(--color-border);
}

.pd__gallery-main img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
}

.pd__gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  margin-top: 20px;
}

.pd__gallery-thumbs button {
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--color-border);
  cursor: pointer;
}

.pd__gallery-thumbs .is-active button {
  border-color: var(--color-primary);
  box-shadow: inset 0 0 0 1px var(--color-primary);
}

.pd__gallery-thumbs img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

/* SPクイック価格・ユーティリティ */
.pd__quick {
  display: grid;
  margin-top: 16px;
}

.pd__quick-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 6px;
}

.pd__quick-price-label {
  font-size: 13px;
  color: var(--color-text);
}

.pd__quick-price-num {
  font-family: var(--font-inter);
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
  color: var(--color-primary);
}

.pd__quick-price-tax {
  margin-left: -1em;
}

.pd__quick-lead {
  margin-top: 10px;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--color-text);
}

.pd__utils--sp {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.pd__util-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 6px;
  font-size: 13px;
  color: #888888;
  background-color: #ffffff;
  border: 1px solid #cccccc;
  border-radius: 4px;
  cursor: pointer;
}

.pd__util-btn-icon {
  flex-shrink: 0;
  width: 14px;
  height: auto;
}

/* ----------------------------------------
  説明（SPは折りたたみ）
---------------------------------------- */
.pd__desc {
  margin-top: 20px;
}

.pd__desc-lead {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
}

.pd__desc-body {
  position: relative;
  margin-top: 20px;
  font-size: 15px;
  line-height: 1.4;
}

.pd__desc-more {
  margin-top: 12px;
  text-align: center;
}

.pd__desc-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  max-width: 176px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 700;
  color: #666666;
  background-color: #f0f0f0;
  border-radius: 4px;
  cursor: pointer;
}

.pd__desc-toggle-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  font-size: 14px;
  line-height: 1.1;
  color: #ffffff;
  background-color: #666666;
  border-radius: 50%;
}

/* SP：説明折りたたみ（PCでは解除） */
.pd__desc:not(.is-open) .pd__desc-body {
  max-height: 3.4em;
  overflow: hidden;
}

.pd__desc:not(.is-open) .pd__desc-body::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2em;
  content: "";
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #ffffff 85%);
  pointer-events: none;
}

@media (min-width: 900px) {
  .pd__desc:not(.is-open) .pd__desc-body {
    max-height: none;
    overflow: visible;
    font-size: 14px;
    line-height: 1.5;
  }

  .pd__desc:not(.is-open) .pd__desc-body::after {
    content: none;
  }
}
/* ----------------------------------------
  簡単自動見積
---------------------------------------- */
.pd__quote {
  width: calc(100% + (var(--container-padding) * 2));
  max-width: none;
  margin-right: calc(var(--container-padding) * -1);
  margin-left: calc(var(--container-padding) * -1);
  overflow: hidden;
  background-color: #f5f5f5;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.pd__quote-title {
  margin: 0;
  padding: 8px var(--container-padding);
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  text-align: center;
  background-color: #666666;
}

.pd__quote-body {
  display: grid;
  gap: 20px;
  padding: 16px var(--container-padding) 20px;
  background-color: #f5f5f5;
}

.pd__quote-sec {
  padding: 0;
  background-color: transparent;
}

.pd__quote-table-panel {
  overflow: hidden;
  background-color: #ffffff;
}

.pd__quote-sec-title {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--color-text);
}

.pd__quote-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  font-size: 11px;
  line-height: 1.35;
  border: 1px solid var(--color-border);
}

.pd__quote-table th,
.pd__quote-table td {
  padding: 8px 4px;
  text-align: left;
  vertical-align: middle;
  border-bottom: 1px solid var(--color-border);
  word-break: break-word;
}

.pd__quote-table th {
  padding: 8px 4px;
  font-size: 10px;
  font-weight: 700;
  color: var(--color-text);
  background-color: #eeeeee;
}

.pd__quote-table td:first-child {
  padding-left: 9px;
  padding-right: 0;
}

.pd__quote-table tbody tr:nth-child(even) td {
  background-color: #fafafa;
}

.pd__quote-table th:nth-child(1),
.pd__quote-table td:nth-child(1) {
  width: 36%;
  text-align: center;
}

.pd__quote-table th:nth-child(2),
.pd__quote-table td:nth-child(2) {
  width: 30%;
}

.pd__quote-table th:nth-child(2) {
  text-align: center;
}

.pd__quote-table td:nth-child(2) {
  text-align: right;
}

.pd__quote-table th:nth-child(3),
.pd__quote-table td:nth-child(3) {
  width: 14%;
  text-align: center;
  white-space: nowrap;
}

.pd__quote-table th:nth-child(4),
.pd__quote-table td:nth-child(4) {
  width: 22%;
  text-align: center;
}

.pd__quote-table tbody tr:last-child td {
  border-bottom: none;
}

.pd__quote-check {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin: 0;
  appearance: none;
  background-color: #fff;
  border: 1px solid #999999;
  cursor: pointer;
}

.pd__quote-check:checked {
  background-color: #fff;
  border-color: #bbbbbb;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath fill='none' stroke='%23f24A51' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M2.5 6l2.5 2.5 4.5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 14px 18px;
}

.pd__quote-color {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  cursor: pointer;
}

.pd__quote-swatch {
  flex-shrink: 0;
  display: inline-block;
  width: 18px;
  height: 18px;
}

.pd__quote-swatch--red {
  background-color: var(--swatch-red);
}

.pd__quote-swatch--green {
  background-color: var(--swatch-green);
}

.pd__quote-swatch--blue {
  background-color: var(--swatch-blue);
}

.pd__quote-swatch--white {
  background-color: #ffffff;
  border: 1px solid var(--color-border);
}

.pd__quote-swatch--natural {
  background-color: var(--swatch-natural);
  border: 1px solid var(--color-border);
}

.pd__quote-swatch--brown {
  background-color: var(--swatch-brown);
}

.pd__quote-swatch--yellow {
  background-color: var(--swatch-yellow);
}

.pd__quote-swatch--pink {
  background-color: var(--swatch-pink);
}

.pd__quote-color-name {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}

.pd__quote-color-code,
.pd__quote-color-label {
  display: block;
}

.pd__quote-stock,
.pd__quote-stock-note {
  display: block;
}

.pd__quote-stock {
  font-size: 10px;
  color: var(--color-text);
}

.pd__quote-stock-note {
  margin-top: 2px;
  font-size: 9px;
  line-height: 1.3;
  color: var(--color-text-sub);
}

.pd__quote-price {
  font-family: var(--font-inter);
  font-size: 11px;
}

.pd__quote-qty {
  box-sizing: border-box;
  width: 100%;
  max-width: 72px;
  height: 28px;
  padding: 0 4px;
  font-family: var(--font-inter);
  text-align: right;
  background-color: #fff;
  border: 1px solid var(--color-border);
}

.pd__quote-notes {
  margin-top: 10px;
  line-height: 1.6;
  text-align: right;
}

.pd__quote-notes--link {
  margin-top: 8px;
}

.pd__quote-link {
  color: var(--color-primary);
  text-decoration: underline;
  font-weight: 700;
}

.pd__quote-prints {
  display: grid;
  gap: 12px;
}

.pd__quote-print {
  display: grid;
  gap: 6px;
}

.pd__quote-print-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

.pd__quote-select,
.pd__quote-date-input {
  box-sizing: border-box;
  width: 100%;
  height: 40px;
  padding: 0 12px;
  font-size: 13px;
  color: var(--color-text);
  background-color: #fff;
  border: 1px solid var(--color-border);
}

.pd__quote-select {
  padding-right: 32px;
  color: var(--color-text-light);
  background-image: url("../../img/hansoku/common/icon/chevron-select.svg");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 10px auto;
  appearance: none;
}

.pd__quote-select:has(option:checked:not([value=""])) {
  color: var(--color-text);
}

.pd__quote-date {
  position: relative;
  display: block;
}

.pd__quote-date-input {
  padding-right: 40px;
}

.pd__quote-date-input::placeholder {
  color: var(--color-text-light);
}

.pd__quote-date::after {
  position: absolute;
  top: 50%;
  right: 12px;
  width: 18px;
  height: 16px;
  content: "";
  background: url("../../img/hansoku/common/icon/calendar.svg") no-repeat center / contain;
  transform: translateY(-50%);
  pointer-events: none;
}

.pd__quote-date-note {
  margin-top: 8px;
}

@media (min-width: 900px) {
  .pd__quote {
    width: auto;
    margin-right: 0;
    margin-left: 0;
    border: 1px solid var(--color-border);
  }

  .pd__quote-title {
    padding: 10px 12px;
    font-size: 16px;
  }

  .pd__quote-body {
    gap: 16px;
    padding: 16px;
  }

  .pd__quote-sec-title {
    margin-bottom: 4px;
    font-size: 16px;
  }

  .pd__quote-table {
    font-size: 12px;
  }

  .pd__quote-table th {
    font-size: 15px;
    padding: 10px 8px;
  }

  .pd__quote-table th,
  .pd__quote-table td {
    padding: 10px 8px;
  }

  .pd__quote-color-name,
  .pd__quote-stock {
    font-size: 13px;
  }

  .pd__quote-stock-note {
    font-size: 11px;
  }

  .pd__quote-price {
    font-size: 13px;
  }

  .pd__quote-qty {
    max-width: 50px;
    height: 30px;
    font-size: 12px;
  }

  .pd__quote-notes,
  .pd__quote-date-note {
    font-size: 13px;
  }

  .pd__quote-link {
    font-size: 14px;
  }
}
/* ----------------------------------------
  サマリー（お見積り金額）
---------------------------------------- */
.pd__utils {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 20px;
}

/* 動的なお気に入り送信用formをモックと同じGrid配置にする */
.pd__util-form {
  display: contents;
}

.pd__col--summary {
  display: grid;
  gap: 12px;
  min-width: 0;
  margin-top: 0;
}

.pd__summary-panel {
  display: grid;
  gap: 16px;
  width: calc(100% + (var(--container-padding) * 2));
  max-width: none;
  margin-right: calc(var(--container-padding) * -1);
  margin-left: calc(var(--container-padding) * -1);
  padding: 16px var(--container-padding) 24px;
  background-color: #faf1f1;
}

.pd__summary {
  min-width: 0;
}

.pd__summary-title {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 700;
}

.pd__summary-card {
  padding: 16px;
  background-color: #ffffff;
  border-radius: 5px;
}

.pd__summary-case {
  margin: 0 0 12px;
  padding-bottom: 10px;
  font-size: 15px;
  font-weight: 700;
  color: var(--color-primary);
  border-bottom: 1px solid var(--color-primary);
}

.pd__summary-totals {
  display: grid;
  gap: 8px;
  margin: 0;
}

.pd__summary-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  font-size: 14px;
}

.pd__summary-row dt {
  font-size: 18px;
  font-weight: 700;
}

.pd__summary-row dd {
  margin: 0;
  font-family: var(--font-inter);
  font-size: 18px;
  font-weight: 700;
}

.pd__summary-row--taxin {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-primary);
}

.pd__summary-row--taxin dd {
  font-size: 28px;
  line-height: 1.1;
  color: var(--color-primary);
}

.pd__summary-unit {
  margin: 4px 0 0;
  font-size: 15px;
  color: var(--color-primary);
  text-align: right;
}

.pd__summary-breakdown {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 2px solid var(--color-border);
}

.pd__summary-breakdown-title {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 700;
}

.pd__summary-breakdown-body {
  position: relative;
  max-height: 5.2em;
  overflow: hidden;
}

.pd__summary-breakdown-body::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2.4em;
  content: "";
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #ffffff 85%);
  pointer-events: none;
}

.pd__summary-breakdown.is-open .pd__summary-breakdown-body {
  max-height: none;
  overflow: visible;
}

.pd__summary-breakdown.is-open .pd__summary-breakdown-body::after {
  content: none;
}

.pd__summary-breakdown-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
  line-height: 1.5;
}

.pd__summary-breakdown-list li {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 8px;
}

.pd__summary-breakdown-label {
  display: flex;
  flex-wrap: wrap;
  gap: 0 4px;
}

.pd__summary-color {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.3;
}

.pd__summary-breakdown-list .is-muted {
  color: var(--color-text-light);
}

.pd__summary-breakdown-value {
  text-align: right;
  white-space: nowrap;
}

.pd__summary-more {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  min-height: 40px;
  margin-top: 12px;
  font-size: 13px;
  font-weight: 700;
  color: #666666;
  background-color: #f0f0f0;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.pd__summary-more-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  font-size: 14px;
  line-height: 1.1;
  color: #fff;
  background-color: #666666;
  border-radius: 50%;
}

.pd__summary-ship-note {
  margin-top: 12px;
  padding-top: 12px;
  color: var(--color-text-sub);
  /* border-top: 2px solid var(--color-border); */
}

.pd__summary-ship-note--sp {
  display: block;
  margin-top: 0;
}

.pd__summary-ship-note--pc {
  display: none;
}

.pd__summary-downloads {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 14px;
}

.pd__summary-dl {
  display: flex;
  align-items: stretch;
  overflow: hidden;
  min-height: 48px;
  color: #666666;
  background-color: #ffffff;
  border: 1px solid #cccccc;
  border-radius: 4px;
  text-decoration: none;
}

.pd__summary-dl-text {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  padding: 2px 8px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
}

.pd__summary-dl-icon {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 36px;
  background-color: #888888;
}

.pd__summary-dl-icon img {
  display: block;
  width: 18px;
  height: auto;
}

.pd__summary-cart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 48px;
  margin-top: 12px;
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  background-color: var(--color-primary);
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.pd__summary-cart img {
  width: 18px;
  height: 18px;
  filter: brightness(0) invert(1);
}

.pd__summary-request {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  margin-top: 10px;
  font-size: 15px;
  font-weight: 700;
  color: var(--color-primary);
  background-color: #ffffff;
  border: 1px solid var(--color-primary);
  border-radius: 6px;
  text-decoration: none;
}

@media (min-width: 900px) {
  .pd__summary-panel {
    width: auto;
    margin-right: 0;
    margin-left: 0;
    padding: 20px 12px;
    border-radius: 4px;
  }

  .pd__summary-case {
    display: none;
  }

  .pd__summary-breakdown-body {
    max-height: none;
    overflow: visible;
  }

  .pd__summary-breakdown-body::after {
    content: none;
  }

  .pd__summary-row--taxin dd {
    font-size: 24px;
  }

  .pd__summary-ship-note {
    font-size: 11px;
  }

  .pd__summary-ship-note--sp {
    display: none;
  }

  .pd__summary-ship-note--pc {
    display: block;
  }

  .pd__summary-dl-text {
    font-size: 12px;
  }

  .pd__summary-title {
    font-size: 16px;
  }

  .pd__summary-card {
    padding: 10px;
    background-color: #ffffff;
    border-radius: 4px;
  }

  .pd__summary-row dt {
    font-size: 13px;
  }

  .pd__summary-row dd {
    font-size: 15px;
  }

  .pd__summary-row--taxin dd {
    font-size: 24px;
  }

  .pd__summary-unit {
    margin-top: 0;
    font-size: 12px;
  }

  .pd__summary-breakdown-label {
    font-size: 12px;
  }
}
/* ----------------------------------------
  出荷日・連絡
---------------------------------------- */
.pd__ship-card {
  padding: 20px 16px;
  text-align: center;
  background-color: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 8px;
}

.pd__ship-card-label {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
}

.pd__ship-card-date {
  margin: 8px 0 0;
  font-size: 20px;
  font-weight: 700;
}

.pd__ship-card-date strong {
  font-family: var(--font-inter);
  font-size: 30px;
  line-height: 1.2;
  color: var(--color-primary);
}

.pd__ship-card-note {
  font-size: 11px;
}

.pd__ship-card-sep {
  width: 100%;
  margin: 14px 0;
  border: none;
  border-top: 1px dashed var(--color-border);
  opacity: 1;
}

.pd__ship-card-lead {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}

.pd__ship-card-tel {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 10px 0 0;
  font-family: var(--font-inter);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-primary);
}

.pd__ship-card-tel a {
  color: inherit;
  text-decoration: none;
}

.pd__ship-card-tel img {
  width: 22px;
  height: 22px;
}

.pd__ship-card-hours {
  margin: 6px 0 0;
  font-size: 13px;
}

.pd__ship-card-form {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 12px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  color: var(--color-primary);
  background-color: #ffffff;
  border: 1px solid var(--color-primary);
  border-radius: 999px;
  text-decoration: none;
}

.pd__ship-card-form-icon {
  display: block;
  flex-shrink: 0;
  width: 8px;
  height: auto;
}

@media (min-width: 900px) {
  .pd__ship-card {
    background-color: #ffffff;
    border-radius: 4px;
  }

  .pd__ship-card-date strong {
    font-size: 24px;
  }

  .pd__ship-card-lead {
    font-size: 12px;
  }

  .pd__ship-card-tel {
    font-size: 22px;
  }

  .pd__ship-card-hours {
    margin: 0;
    font-size: 12px;
    line-height: 1;
  }
}
/* ----------------------------------------
  バナー・下部ユーティリティ
---------------------------------------- */
.pd__banner {
  min-width: 0;
}

.pd__banner-media {
  display: block;
  overflow: hidden;
  background-color: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 4px;
}

.pd__banner-media img {
  display: block;
  width: 100%;
  height: auto;
}

.pd__banner-link-wrap {
  margin: 10px 0 0;
  text-align: right;
}

.pd__banner-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-primary);
  text-decoration: underline;
}

.pd__foot-utils {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.pd__foot-util {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 4px 6px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  color: #666666;
  background-color: #ffffff;
  border: 1px solid #cccccc;
  border-radius: 4px;
  text-decoration: none;
}

.pd__foot-util img {
  flex-shrink: 0;
  width: 25px;
  height: auto;
}

.pd__foot-util-text > span {
  white-space: nowrap;
}

/* SPアコーディオン（説明下・見積上）
   区切りボーダー＝画面幅いっぱい / 見出し・中身＝コンテナ幅 */
.pd__sp-acc {
  width: calc(100% + (var(--container-padding) * 2));
  max-width: none;
  margin-top: 40px;
  margin-right: calc(var(--container-padding) * -1);
  margin-left: calc(var(--container-padding) * -1);
  border-top: 1px solid var(--color-border);
}

.pd__sp-acc .accordion__item {
  margin-inline: 0;
  border-bottom: 1px solid var(--color-border);
}

.pd__sp-acc .accordion__btn {
  padding: 14px var(--container-padding);
  font-size: 18px;
  color: var(--color-text);
}

.pd__sp-acc .accordion__icon {
  width: 15px;
  height: 15px;
  background-color: #333333;
  -webkit-mask: url("../../img/hansoku/common/icon/chevron-down.svg") center / contain no-repeat;
  mask: url("../../img/hansoku/common/icon/chevron-down.svg") center / contain no-repeat;
  transition: transform var(--transition-base);
}

.pd__sp-acc .accordion__icon::before,
.pd__sp-acc .accordion__icon::after {
  content: none;
}

.pd__sp-acc .accordion__btn.is-open .accordion__icon {
  transform: rotate(180deg);
}

.pd__sp-acc .accordion__icon--img {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  -webkit-mask: none;
  mask: none;
}

.pd__sp-acc .accordion__icon--img img {
  display: block;
  width: 12px;
  height: auto;
}

.pd__sp-acc .accordion__panel {
  overflow: hidden;
  padding-inline: var(--container-padding);
  color: var(--color-text);
}

/* 閉じ時にテーブル／動画の端がはみ出さないようにする */
.pd__sp-acc .accordion__panel:not(.is-open) {
  max-height: 0;
  padding-bottom: 0;
}

.pd__sp-acc .accordion__panel.is-open {
  max-height: none;
}

.pd__sp-acc .accordion__panel-inner {
  min-height: 0;
  overflow: hidden;
}

.pd__specs-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--color-border);
  font-size: 14px;
}

.pd__specs-table th,
.pd__specs-table td {
  padding: 6px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--color-border);
}

.pd__specs-table td {
  padding: 6px 16px;
}

.pd__specs-table tr:last-child th,
.pd__specs-table tr:last-child td {
  border-bottom: none;
}

.pd__specs-table th {
  width: 30%;
  font-weight: 400;
  background-color: var(--color-bg-gray);
  text-align: center;
  vertical-align: middle;
}

.pd__specs-options {
  margin: 0;
  padding: 0;
  list-style: none;
}

.pd__specs-figs {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.pd__specs-figs img {
  display: block;
  width: 100%;
  height: auto;
}

.pd__video-link {
  position: relative;
  display: block;
}

.pd__video-link img {
  display: block;
  width: 100%;
  height: auto;
}

.pd__video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 56px;
  height: 56px;
  background: rgba(242, 74, 81, 0.88);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.pd__video-play::before {
  position: absolute;
  top: 50%;
  left: 54%;
  width: 0;
  height: 0;
  content: "";
  border-style: solid;
  border-width: 10px 0 10px 16px;
  border-color: transparent transparent transparent #fff;
  transform: translate(-50%, -50%);
}

.pd__consult-link img {
  display: block;
  width: 100%;
  height: auto;
}

@media screen and (min-width: 900px) {
  .pd__foot-util {
    padding: 4px 6px;
    font-size: 12px;
    color: var(--color-text-sub);
    line-height: 1.3;
    border: 1px solid #888888;
  }

  .pd__foot-util img {
    width: 25px;
    height: auto;
  }

  .pd__specs-table th {
    width: 180px;
    vertical-align: baseline;
    font-size: 13px;
  }

  .pd__specs-table th br {
    display: none;
  }

  .pd__specs-table td {
    font-size: 13px;
    line-height: 1.4;
  }

  .pd__specs-table__row--options th,
  .pd__specs-table__row--options td {
    padding-bottom: 38px;
    vertical-align: top;
  }

  .pd__specs-table__row--note th,
  .pd__specs-table__row--note td {
    padding-bottom: 19px;
    vertical-align: top;
  }

  .pd__specs-options li {
    margin-top: 0;
  }
}

/* ----------------------------------------
  SP固定バー
---------------------------------------- */
.pd__sticky {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  /* align-items: center; */
  gap: 8px 12px;
  padding: 20px;
  color: #ffffff;
  background-color: var(--color-primary);
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.08);
}

.pd__sticky-label {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
}

.pd__sticky-price {
  margin-left: auto;
  text-align: center;
}

.pd__sticky-total {
  margin: 0;
  font-family: var(--font-inter);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.15;
}

.pd__sticky-unit {
  margin: 2px 0 0;
  font-size: 13px;
  line-height: 1.3;
}

.pd__sticky-breakdown {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  height: 33px;
  padding: 0 10px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-primary);
  background-color: #ffffff;
  border-radius: 4px;
}

/* ----------------------------------------
  自動見積・購入へ進む追従ボタン
  SP：横型 / PC：縦書き・右端
---------------------------------------- */
.pd__cta-float {
  position: fixed;
  right: 16px;
  bottom: 200px;
  right: 16px;
  z-index: 24;
  max-width: 224px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 40px;
  color: #ffffff;
  background-color: var(--color-primary);
  border-radius: 5px;
}

.pd__cta-float-icon {
  position: absolute;
  top: 50%;
  left: 14px;
  display: block;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  transform: translateY(-50%);
}

.pd__cta-float-text {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
}

.pd__cta-float-caret {
  position: absolute;
  top: 50%;
  right: 16px;
  flex-shrink: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 6px 5px 0;
  border-color: #ffffff transparent transparent;
  transform: translateY(-50%);
}

@media (min-width: 900px) {
  .pd__cta-float {
    top: 50%;
    right: 0;
    bottom: auto;
    left: auto;
    flex-direction: column;
    gap: 12px;
    width: 48px;
    min-height: 0;
    padding: 20px 10px;
    border-radius: 8px 0 0 8px;
    box-shadow: -2px 4px 12px rgba(0, 0, 0, 0.12);
    transform: translateY(-50%);
  }

  .pd__cta-float-icon {
    position: static;
    width: 24px;
    height: 24px;
    transform: none;
  }

  .pd__cta-float-text {
    font-size: 14px;
    line-height: 1.45;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    letter-spacing: 0.08em;
  }

  .pd__cta-float-caret {
    display: none;
  }
}

/* ----------------------------------------
  等幅タブ（tabs--equal）
  - タブ数に依存せず flex で均等割付（3等分 / 5等分など流用可）
  - 使い方: <div class="tabs--equal" data-tabs> … </div>
---------------------------------------- */
.tabs--equal .tabs__list {
  display: flex;
  gap: 4px;
  overflow: visible;
  border-bottom: none;
}

.tabs--equal .tabs__item {
  display: flex;
  flex: 1 1 0;
  align-items: stretch;
  min-width: 0;
}

.tabs--equal .tabs__btn {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  padding: 10px 8px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  color: #666666;
  text-align: center;
  white-space: normal;
  background-color: #eeeeee;
  border: none;
  border-bottom: none;
  border-radius: 4px 4px 0 0;
  transition:
    color var(--transition-base),
    background-color var(--transition-base);
}

.tabs--equal .tabs__btn.is-active {
  color: #ffffff;
  background-color: #666666;
  border-bottom: none;
}

.tabs--equal .tabs__panel {
  display: none;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--color-border);
  background-color: #ffffff;
}

.tabs--equal .tabs__panel.is-active {
  display: block;
}

/* 商品詳細ページ用の等幅タブ配置 */
.pd__tabs.tabs--equal {
  margin-top: 24px;
}

.pd__tabs.tabs--equal .tabs__panel {
  padding: 0;
}

.pd__tabs .pd__specs-table {
  border: none;
}

.pd__tabs .pd__specs-figs {
  margin-top: 0;
  max-width: 560px;
}

@media (min-width: 900px) {
  .tabs--equal .tabs__btn {
    font-size: 15px;
  }

  .pd__tabs.tabs--equal {
    margin-top: 80px;
  }

  .pd__tabs .pd__specs-figs {
    max-width: 560px;
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ----------------------------------------
  ご注文から納品までの流れ
  - SP：スライダー（data-slider-sp-only）
  - PC：5列グリッド
---------------------------------------- */
.pd__flow {
  margin-top: 40px;
}

.pd__flow-head {
  margin-bottom: 0;
}

.pd__flow-title {
  position: relative;
  margin: 0;
  padding: 12px 16px 12px 20px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  background-color: #f0f0f0;
}

.pd__flow-title::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 4px;
  content: "";
  background-color: var(--color-primary);
}

.pd__flow-guide {
  margin: 10px 0 0;
  font-size: 13px;
  font-weight: 700;
  text-align: right;
}

.pd__flow-guide a {
  color: var(--color-primary);
  text-decoration: none;
}

.pd__flow-steps {
  margin-top: 16px;
  padding-bottom: 4px;
}

.pd__flow-steps .splide__slide {
  position: relative;
  min-width: 0;
  box-sizing: border-box;
}

.pd__flow-steps .splide__slide:not(:last-child)::after {
  position: absolute;
  top: 14px;
  right: 0;
  z-index: 1;
  width: 0;
  height: 0;
  content: "";
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 8px solid var(--color-primary);
  pointer-events: none;
}

.pd__flow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  text-align: center;
}

.pd__flow-step-num {
  position: relative;
  width: 100%;
  padding-bottom: 8px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
}

.pd__flow-step-num-value {
  font-family: var(--font-inter);
  font-size: 26px;
}

.pd__flow-step-num::after {
  display: block;
  width: 100%;
  height: 2px;
  margin-top: 6px;
  content: "";
  background-color: #f5b5b8;
}

.pd__flow-step-title {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: calc(13px * 1.4 * 2);
  margin-top: 8px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
}

.pd__flow-step-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  margin-top: 12px;
}

.pd__flow-step-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.pd__flow-step-note {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.5;
}

.pd__flow-steps .slider__progress {
  margin-top: 16px;
}

@media (min-width: 900px) {
  .pd__flow {
    margin-top: 80px;
  }
  .pd__flow-head {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 16px 12px 20px;
    background-color: #f0f0f0;
  }

  .pd__flow-head::before {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 4px;
    content: "";
    background-color: var(--color-primary);
  }

  .pd__flow-title {
    padding: 0;
    background: none;
    font-size: 18px;
  }

  .pd__flow-title::before {
    display: none;
  }

  .pd__flow-guide {
    margin: 0;
    text-align: right;
    font-size: 14px;
  }

  .pd__flow-steps {
    margin-top: 24px;
    padding: 0;
    overflow: visible;
  }

  .pd__flow-steps.splide {
    overflow: visible;
    visibility: visible;
  }

  .pd__flow-steps .splide__track {
    overflow: visible;
  }

  .pd__flow-steps .splide__list {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 20px;
    width: 100% !important;
    height: auto !important;
    transform: none !important;
  }

  .pd__flow-steps .splide__slide {
    width: auto !important;
    margin: 0 !important;
    transform: none !important;
  }

  .pd__flow-steps .splide__slide:not(:last-child)::after {
    top: 14px;
    right: -2px;
  }

  .pd__flow-step-num {
    font-size: 18px;
  }

  .pd__flow-step-num-value {
    font-size: 28px;
  }

  .pd__flow-step-title {
    min-height: auto;
    margin-top: 10px;
    font-size: 16px;
  }

  .pd__flow-step-icon {
    width: 88px;
    height: 88px;
    margin-top: 16px;
  }

  .pd__flow-step-note {
    margin-top: 12px;
    font-size: 13px;
  }

  .pd__flow-step-note br {
    display: none;
  }

  .pd__flow-steps .slider__progress {
    display: none;
  }
}
/* ----------------------------------------
  デザインデータの作成について
  - SP：2×2 / PC：4列
---------------------------------------- */
.pd__design {
  margin-top: 40px;
}

.pd__design-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.pd__design-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  padding: 16px 10px 14px;
  text-align: center;
  background-color: #ffffff;
  border: 1px solid;
  border-radius: 8px;
}

.pd__design-card--orange {
  border-color: #e6a23c;
}

.pd__design-card--green {
  border-color: #67a84f;
}

.pd__design-card--red {
  border-color: var(--color-primary);
}

.pd__design-card--blue {
  border-color: #5b9bd5;
}

.pd__design-card-title {
  margin: 0;
  min-height: 2em;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
}

.pd__design-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 88px;
  height: 72px;
  margin-top: 12px;
}

.pd__design-card-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.pd__design-card-text {
  flex: 1;
  margin: 10px 0 0;
  font-size: 12px;
  line-height: 1.5;
  color: var(--color-text);
  text-align: left;
}

.pd__design-card-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 32px;
  margin-top: 12px;
  padding: 6px 18px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  background-color: #ffffff;
  border: 1px solid;
  border-radius: 999px;
}

.pd__design-card-btn-icon {
  position: absolute;
  top: 50%;
  right: 12px;
  display: block;
  flex-shrink: 0;
  width: 5px;
  height: auto;
  transform: translateY(-50%);
}

.pd__design-card--orange .pd__design-card-btn {
  color: #e6a23c;
  border-color: #e6a23c;
}

.pd__design-card--green .pd__design-card-btn {
  color: #67a84f;
  border-color: #67a84f;
}

.pd__design-card--red .pd__design-card-btn {
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.pd__design-card--blue .pd__design-card-btn {
  color: #5b9bd5;
  border-color: #5b9bd5;
}

@media (min-width: 900px) {
  .pd__design {
    margin-top: 80px;
  }

  .pd__design-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-top: 24px;
  }

  .pd__design-card {
    padding: 20px 14px 16px;
  }

  .pd__design-card-title {
    font-size: 16px;
  }

  .pd__design-card-icon {
    width: 110px;
    height: 90px;
    margin-top: 14px;
  }

  .pd__design-card-text {
    margin-top: 12px;
    font-size: 13px;
  }

  .pd__design-card-btn {
    width: 200px;
    margin-top: 14px;
    padding: 3px 18px;
    font-size: 14px;
  }

  .pd__design-card-btn-icon {
    right: 16px;
  }
}
/* ----------------------------------------
  レビュー
---------------------------------------- */
.pd__review {
  margin-top: 40px;
}

.pd__review .pd__flow-title {
  margin-bottom: 16px;
}

.pd__review-box {
  position: relative;
}

.pd__review-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  margin: 0 0 16px;
  font-size: 14px;
}

.pd__review-score {
  font-family: var(--font-inter);
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  color: #000000;
}

.pd__review-stars {
  font-size: 22px;
  line-height: 1;
  color: #ffb400;
}

.pd__review-count {
  font-size: 13px;
  font-weight: 400;
  color: var(--color-text-light);
  text-decoration: underline;
}

.pd__review-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pd__review-item {
  padding: 14px;
  background-color: #f7f7f7;
  border-radius: 8px;
}

.pd__review-item--extra {
  display: none;
}

.pd__review-box.is-open .pd__review-item--extra {
  display: block;
}

.pd__review-item-stars {
  margin: 0;
  font-size: 13px;
}

.pd__review-item-score {
  margin-left: 4px;
  font-family: var(--font-inter);
  font-weight: 700;
  color: var(--color-text);
}

.pd__review-item-title {
  margin: 8px 0 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
}

.pd__review-item-text {
  display: -webkit-box;
  margin: 8px 0 0;
  overflow: hidden;
  font-size: 12px;
  line-height: 1.7;
  color: var(--color-text);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.pd__review-item-more {
  display: inline-block;
  margin-top: 2px;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-primary);
  text-decoration: underline;
  white-space: nowrap;
}

.pd__review-item-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 12px;
  font-size: 11px;
  color: var(--color-text-sub);
}

.pd__review-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  min-height: 44px;
  margin-top: 16px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 700;
  color: #666666;
  background-color: #f0f0f0;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.pd__review-more-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  font-size: 14px;
  line-height: 1;
  color: #ffffff;
  background-color: #666666;
  border-radius: 50%;
  padding-bottom: 1px;
}

.pd__review-title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
}

.pd__review-list-link {
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-primary);
  text-decoration: none;
}

@media (min-width: 900px) {
  .pd__review {
    margin-top: 80px;
  }

  .pd__review-box {
    padding: 24px 24px 40px;
    background-color: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: 8px;
  }

  .pd__review-head {
    display: flex !important;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
  }

  .pd__review-title {
    font-size: 18px;
  }

  .pd__review-summary {
    margin-bottom: 20px;
  }

  .pd__review-score {
    font-size: 32px;
  }

  .pd__review-list {
    gap: 16px;
  }

  .pd__review-item {
    padding: 18px 20px;
  }

  .pd__review-item-stars {
    font-size: 18px;
  }

  .pd__review-item-score {
    font-size: 19px;
    color: #888888;
  }

  .pd__review-item-title {
    font-size: 15px;
  }

  .pd__review-item-text {
    font-size: 13px;
  }

  .pd__review-item-user {
    font-size: 13px;
  }

  .pd__review-item-date {
    font-size: 13px;
  }

  .pd__review-more {
    position: absolute;
    left: 50%;
    bottom: 0;
    z-index: 1;
    width: auto;
    min-width: 280px;
    margin-top: 0;
    transform: translate(-50%, 50%);
    font-size: 15px;
  }
}

/* ----------------------------------------
  関連商品
---------------------------------------- */
.pd__recent {
  margin-top: 40px;
}

@media (min-width: 900px) {
  .pd__related {
    margin-top: 80px;
  }

  .pd__recent {
    margin-top: 0;
    padding-block: 0;
    border-top: none;
    border-bottom: none;
  }
}

/* ========================================
  カレンダー商品詳細：自動見積（pd-c-quote）
  - SP：選択 → 表組の縦積み
  - PC：タブ下で左右2カラム
======================================== */

/* ----------------------------------------
  カレンダー：価格ブロック / 情報カラム / 購入CTA
---------------------------------------- */
.pd-c__page .global-nav__link--search {
  background-color: #51a7dd;
  border-bottom: 1px solid #51a7dd;
}

.pd-c__page .global-nav__item:first-child {
  border-bottom: 1px solid #51a7dd;
}

.pd--calendar .pd__col--info {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.pd-c-price {
  margin-top: 4px;
}

.pd-c-price__row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 16px;
  align-items: start;
}

.pd-c-price__note {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
  color: var(--color-text);
}

.pd-c-price__lot {
  margin: 4px 0 0;
  font-size: 12px;
  line-height: 1.5;
  color: var(--color-text);
}

.pd-c-price__value {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  margin: 0;
  text-align: right;
  white-space: nowrap;
}

.pd-c-price__num {
  font-family: var(--font-inter);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--color-primary);
}

.pd-c-price__tax {
  margin-top: 2px;
  font-size: 12px;
  line-height: 1.2;
}

.pd-c-price__lead {
  margin: 12px 0 0;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--color-text);
}

.pd-c-price__lead strong {
  font-weight: 700;
}

.pd--calendar .pd__col--info .pd__utils--sp {
  margin-top: 4px;
}

.pd--calendar .pd__col--info .pd__desc {
  margin-top: 8px;
}

.pd-c-media {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.pd-c-media .pd__video {
  margin: 0;
  min-width: 0;
}

.pd-c-buy {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  padding: 12px 48px;
  color: #ffffff;
  text-decoration: none;
  background-color: var(--color-primary);
  border-radius: 8px;
}

@media (min-width: 900px) {
  .pd-c-media {
    display: flex;
    justify-content: space-between;
    gap: 24px;
  }

  .pd-c-media .pd__video {
    flex: 1 1 0;
    max-width: 420px;
    margin-top: 13px;
  }

  .pd-c-buy.pd__pc-only {
    display: inline-flex !important;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    width: 280px;
    padding: 12px 44px 12px 48px;
  }

  .pd-c-price__row {
    display: flex;
    gap: 60px;
  }
}

.pd-c-buy__icon {
  position: absolute;
  top: 50%;
  left: 40px;
  width: 24px;
  height: 24px;
  transform: translateY(-50%);
}

.pd-c-buy__text {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
}

.pd-c-buy__caret {
  position: absolute;
  top: 50%;
  right: 44px;
  width: 12px;
  height: 12px;
  transform: translateY(-50%);
}

@media (min-width: 900px) {
  .pd--calendar .pd__col--info {
    gap: 20px;
  }

  .pd--calendar .pd-c-price {
    padding-bottom: 20px;
    border-bottom: 1px solid var(--color-border);
  }

  .pd-c-price__note,
  .pd-c-price__lot {
    font-size: 13px;
  }

  .pd-c-price__value {
    flex-direction: row;
    align-items: baseline;
    gap: 4px;
  }

  .pd-c-price__num {
    font-size: 34px;
  }

  .pd-c-price__tax {
    margin-top: 0;
    font-size: 14px;
  }

  .pd-c-price__lead {
    margin-top: 16px;
    font-size: 22px;
  }

  .pd--calendar .pd__col--info .pd__desc {
    margin-top: 0;
  }

  .pd--calendar .pd__col--info .pd__desc-lead {
    font-size: 16px;
  }

  .pd--calendar .pd__col--info .pd__desc:not(.is-open) .pd__desc-body {
    max-height: none;
    overflow: visible;
  }

  .pd--calendar .pd__col--info .pd__desc:not(.is-open) .pd__desc-body::after {
    content: none;
  }
}

.pd-c-quote {
  width: calc(100% + (var(--container-padding) * 2));
  max-width: none;
  margin-top: 24px;
  margin-right: calc(var(--container-padding) * -1);
  margin-bottom: 40px;
  margin-left: calc(var(--container-padding) * -1);
  overflow: hidden;
  background-color: #f5f5f5;
  border-top: 1px solid var(--color-border);
}

.pd-c-quote__title {
  margin: 0;
  padding: 12px var(--container-padding);
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  text-align: center;
  background-color: #666666;
}

.pd-c-quote__inner {
  display: grid;
  gap: 0;
  padding: 20px 16px 0;
  background-color: #fafafa;
}

.pd-c-quote__select {
  overflow: hidden;
  background-color: #ffffff;
}

.pd-c-quote__select-title {
  margin: 0;
  padding: 10px 12px;
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  text-align: center;
  background-color: #666666;
  border-radius: 5px 5px 0 0;
}

.pd-c-quote__fields {
  display: grid;
  gap: 10px;
  padding: 25px 12px 15px;
  background-color: #f0f0f0;
}

.pd-c-quote__field {
  display: grid;
  grid-template-columns: 80px 1fr;
  align-items: center;
  gap: 8px;
  padding: 0;
  border: none;
}

.pd-c-quote__label {
  font-size: 15px;
  font-weight: 700;
}

.pd-c-quote__control,
.pd-c-quote__fixed {
  box-sizing: border-box;
  width: 100%;
  padding: 10px 12px;
  font-size: 15px;
  line-height: 1.2;
  color: var(--color-text);
  background-color: #ffffff;
  border: 1px solid #cccccc;
  border-radius: 3px;
}

.pd-c-quote__control {
  padding-right: 32px;
  color: var(--color-text-light);
  background-image: url("../../img/hansoku/common/icon/chevron-select.svg");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 10px auto;
  appearance: none;
}

.pd-c-quote__control:has(option:checked:not([value=""])) {
  color: var(--color-text);
}

.pd-c-quote__fixed {
  margin: 0;
  display: flex;
  align-items: center;
  border-style: dotted;
  border-color: #bbbbbb;
}

.pd-c-quote__table-wrap {
  min-width: 0;
  margin-top: 25px;
}

.pd-c-quote__table-scroll {
  display: flex;
  flex-direction: column;
  max-height: 716px;
  overflow: hidden;
  background-color: #ffffff;
  border: 1px solid #dddddd;
}

.pd-c-quote__table-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.pd-c-quote__table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  font-size: 13px;
}

.pd-c-quote__table--head {
  flex: 0 0 auto;
}

.pd-c-quote__table th,
.pd-c-quote__table td {
  width: 50%;
  padding: 10px 8px;
  text-align: center;
  vertical-align: middle;
  border: 1px solid #dddddd;
}

.pd-c-quote__table--head th {
  font-weight: 700;
  color: #ffffff;
  background-color: #999999;
  border-color: #999999;
  border-bottom: 1px solid #dddddd;
}

.pd-c-quote__table--head th + th {
  border-left-color: #ffffff;
}

.pd-c-quote__table-body .pd-c-quote__table {
  border-top: none;
}

.pd-c-quote__table-body .pd-c-quote__table tr:first-child th,
.pd-c-quote__table-body .pd-c-quote__table tr:first-child td {
  border-top: none;
}

.pd-c-quote__table tbody th {
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  line-height: 1;
  color: var(--color-text);
  background-color: transparent;
}

.pd-c-quote__table tbody tr:nth-child(even) {
  background-color: #f5f5f5;
}

.pd-c-quote__table tbody tr:nth-child(odd) {
  background-color: #ffffff;
}

.pd-c-quote__table tbody td.is-active {
  background-color: #fff5f5;
  outline: 2px solid var(--color-primary);
  outline-offset: -2px;
}

.pd-c-quote__price {
  display: block;
  font-family: var(--font-inter);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-primary);
}

.pd-c-quote__price-note {
  display: block;
  margin-top: 2px;
  line-height: 1.3;
  color: var(--color-text-light);
}

.pd-c-quote__notes {
  padding: 12px 16px 14px 28px;
  list-style: disc;
  font-size: 12px;
  line-height: 1.7;
  color: var(--color-text);
  background-color: #f0f0f0;
}

.pd-c-quote__notes li + li {
  margin-top: 2px;
}

.pd-c-quote__foot {
  display: grid;
  gap: 14px;
  padding: 20px 16px 16px;
  background-color: transparent;
  border: none;
}

.pd-c-quote__ship {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--color-border);
}

.pd-c-quote__ship-label {
  font-size: 15px;
  font-weight: 700;
}

.pd-c-quote__ship-date {
  font-size: 20px;
  font-weight: 700;
}

.pd-c-quote__ship-date strong {
  font-size: 24px;
  color: var(--color-primary);
}

.pd-c-quote__total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
}

.pd-c-quote__total-label {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-text);
}

.pd-c-quote__total-value {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
}

.pd-c-quote__total-value strong {
  font-family: var(--font-inter);
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
  color: var(--color-primary);
}

.pd-c-quote__total-tax {
  font-size: 13px;
  font-weight: 400;
  color: var(--color-text);
}

.pd-c-quote__cart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 48px;
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  background-color: var(--color-primary);
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.pd-c-quote__cart img {
  width: 23px;
  height: 24px;
  filter: brightness(0) invert(1);
}

.pd-c-quote__contact {
  display: grid;
  gap: 8px;
  margin: 0 12px 20px;
  padding: 18px 16px 20px;
  text-align: center;
  background-color: #ffffff;
  border: none;
  border-radius: 8px;
}

.pd-c-quote__contact-lead {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-text);
}

.pd-c-quote__contact-info {
  display: grid;
  gap: 4px;
  justify-items: center;
}

.pd-c-quote__contact-tel {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 4px 0 0;
  font-family: var(--font-inter);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-primary);
}

.pd-c-quote__contact-tel a {
  color: inherit;
  text-decoration: none;
}

.pd-c-quote__contact-tel img {
  width: 20px;
  height: auto;
}

.pd-c-quote__contact-hours {
  margin: 0;
  font-size: 12px;
  font-weight: 400;
  color: var(--color-text);
}

.pd-c-quote__contact-form {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  gap: 6px;
  margin-top: 6px;
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-primary);
  text-decoration: none;
  background-color: #ffffff;
  border: 1px solid var(--color-primary);
  border-radius: 999px;
}

.pd-c-quote__contact-form-icon {
  display: block;
  flex-shrink: 0;
  width: 6px;
  height: auto;
  position: relative;
  right: -10px;
}

@media (min-width: 900px) {
  /* カレンダーPC：メインはギャラリー約30%＋情報約70% */
  .pd--calendar .pd__main {
    grid-template-columns: minmax(0, 0.34fr) minmax(0, 0.66fr);
    grid-template-areas: "gallery info";
    gap: 32px 40px;
  }

  .pd--calendar .pd__col--gallery {
    grid-area: gallery;
  }

  .pd--calendar .pd__col--info {
    grid-area: info;
  }

  .pd-c-quote {
    width: auto;
    max-width: none;
    margin-top: 28px;
    margin-right: 0;
    margin-left: 0;
    border-radius: 5px 5px 0 0;
  }

  .pd-c-quote__title {
    padding: 14px 20px;
    font-size: 18px;
  }

  .pd-c-quote__inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
    align-items: start;
    gap: 20px;
    padding: 20px;
  }

  .pd-c-quote__select {
    height: 100%;
    border: none;
    background-color: #fafafa;
  }

  .pd-c-quote__select-title {
    font-size: 14px;
  }

  .pd-c-quote__fields {
    padding: 14px 12px;
  }

  .pd-c-quote__field {
    grid-template-columns: 88px 1fr;
    padding: 0;
  }

  .pd-c-quote__table-wrap {
    margin-top: 0;
  }

  .pd-c-quote__table-scroll {
    max-height: 770px;
    border: 1px solid #dddddd;
  }

  .pd-c-quote__table th,
  .pd-c-quote__table td {
    padding: 10px 14px;
  }

  .pd-c-quote__notes {
    padding: 12px 16px 14px 28px;
    background-color: #f0f0f0;
  }

  .pd-c-quote__price {
    font-size: 18px;
  }

  .pd-c-quote__foot {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 40px;
    padding: 20px 24px;
    background-color: transparent;
    border: none;
  }

  .pd-c-quote__ship {
    align-items: baseline;
    margin-right: auto;
    padding-bottom: 0;
    border-bottom: none;
  }

  .pd-c-quote__total {
    flex: 0 0 auto;
    gap: 16px;
  }

  .pd-c-quote__total-value strong {
    font-size: 32px;
  }

  .pd-c-quote__cart {
    flex: 0 0 auto;
    width: auto;
    min-width: 280px;
  }

  .pd-c-quote__contact {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin: 0 20px 24px;
    padding: 16px 28px;
    text-align: left;
    background-color: #ffffff;
    border: none;
    border-radius: 8px;
  }

  .pd-c-quote__contact-lead {
    flex: 0 1 auto;
    /* max-width: 280px; */
    margin: 0;
    font-size: 14px;
    text-align: left;
  }

  .pd-c-quote__contact-info {
    display: flex;
    align-items: center;
  }

  .pd-c-quote__contact-tel {
    margin: 0;
    font-size: 19px;
  }

  .pd-c-quote__contact-form {
    flex: 0 0 auto;
    justify-self: auto;
    margin-top: 0;
    font-size: 12px;
    line-height: 1;
  }
}

/* ----------------------------------------
  カレンダー商品詳細02：日程別見積テーブル
  - SP：表全体を縦横スクロール
  - PC：選択肢を上部横並び、表は縦スクロール
---------------------------------------- */
.pd-c-quote--schedule .pd-c-quote__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.pd-c-quote--schedule .pd-c-quote__fields {
  padding-top: 16px;
}

.pd-c-quote--schedule .pd-c-quote__field {
  grid-template-columns: 72px 1fr;
}

.pd-c-quote--schedule .pd-c-quote__table-wrap {
  margin-top: 0;
}

.pd-c-quote--schedule .pd-c-quote__table-scroll {
  max-height: 720px;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

.pd-c-quote--schedule .pd-c-quote__table {
  width: max-content;
  min-width: 860px;
}

.pd-c-quote--schedule .pd-c-quote__table th,
.pd-c-quote--schedule .pd-c-quote__table td {
  width: 96px;
  padding: 10px 10px;
}

.pd-c-quote--schedule .pd-c-quote__table th:first-child,
.pd-c-quote--schedule .pd-c-quote__table td:first-child,
.pd-c-quote--schedule .pd-c-quote__table tbody th {
  width: 96px;
}

.pd-c-quote--schedule .pd-c-quote__table thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  color: #ffffff;
  background-color: #999999;
}

.pd-c-quote--schedule .pd-c-quote__table thead th.pd-c-quote__th-asap {
  background-color: #666666;
  border-color: #666666;
}

.pd-c-quote--schedule .pd-c-quote__table thead th small {
  display: block;
  font-size: 11px;
  font-weight: 400;
  line-height: 1;
}

@media (min-width: 900px) {
  .pd-c-quote--schedule .pd-c-quote__inner {
    gap: 16px;
  }

  .pd-c-quote--schedule .pd-c-quote__select-title {
    display: none !important;
  }

  .pd-c-quote--schedule .pd-c-quote__fields {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px 20px;
    padding: 0;
    background-color: transparent;
  }

  .pd-c-quote--schedule .pd-c-quote__field {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 8px;
    align-items: center;
  }

  .pd-c-quote--schedule .pd-c-quote__label {
    font-size: 14px;
    white-space: nowrap;
  }

  .pd-c-quote--schedule .pd-c-quote__control {
    min-height: 32px;
    padding: 7px 28px 7px 10px;
    font-size: 13px;
    line-height: 1.2;
    background-position: right 10px center;
  }

  .pd-c-quote--schedule .pd-c-quote__table-scroll {
    overflow-x: hidden;
    overflow-y: auto;
  }

  .pd-c-quote--schedule .pd-c-quote__table {
    width: 100%;
    min-width: 0;
  }

  .pd-c-quote--schedule .pd-c-quote__table th,
  .pd-c-quote--schedule .pd-c-quote__table td {
    width: auto;
    min-width: 0;
  }

  .pd-c-quote--schedule .pd-c-quote__table th:first-child,
  .pd-c-quote--schedule .pd-c-quote__table td:first-child,
  .pd-c-quote--schedule .pd-c-quote__table tbody th {
    width: 110px;
    min-width: 110px;
  }
}
