/* ==================================================
   レンタル商品詳細ページ
================================================== */

.product-detail {
  background: #f7f2ec;
  color: #3d342f;
}

.product-detail__inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.product-detail__breadcrumb {
  padding: 16px 0;
  background: #fff;
  border-bottom: 1px solid #eee5dc;
  font-size: 13px;
}

.product-detail__breadcrumb .product-detail__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.product-detail__breadcrumb a {
  color: #61734f;
  text-decoration: none;
}

.product-detail__main {
  padding: 70px 0 80px;
  background: #fff;
}

.product-detail__head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-end;
  margin-bottom: 34px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e2d6ca;
}

.product-detail__title {
  margin: 0;
  color: #9f1d1d;
  font-family: "Noto Serif JP", serif;
  font-size: clamp(28px, 3vw, 36px);
  line-height: 1.5;
}

.product-detail__code {
  margin: 0;
  color: #5f7350;
  font-weight: 700;
  white-space: nowrap;
}

.product-detail__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
  gap: 48px;
  align-items: start;
}

/* 商品画像 */

.product-gallery__main {
  overflow: hidden;
  background: #f8f4ef;
  border-radius: 8px;
}

.product-gallery__main-image {
  display: block;
  width: 100%;
  height: auto;
}

.product-gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(72px, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.product-gallery__thumb {
  padding: 3px;
  overflow: hidden;
  background: #fff;
  border: 2px solid transparent;
  border-radius: 5px;
  cursor: pointer;
}

.product-gallery__thumb.is-current {
  border-color: #7a8b63;
}

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

.product-gallery__empty {
  display: grid;
  min-height: 420px;
  place-items: center;
  background: #f8f4ef;
  border-radius: 8px;
  color: #766c65;
}

/* 商品情報 */

.product-detail__info {
  padding: 30px;
  background: #f8f4ef;
  border: 1px solid #e2d6ca;
  border-radius: 8px;
}

.product-detail__info h2,
.product-detail__block h2,
.product-detail__consultation h2,
.product-detail__more h2,
.product-detail__related h2 {
  margin: 0 0 20px;
  color: #3d342f;
  font-family: "Noto Serif JP", serif;
  font-size: 26px;
}

.product-detail__info table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

.product-detail__info th,
.product-detail__info td {
  padding: 14px 12px;
  border-bottom: 1px solid #e2d6ca;
  text-align: left;
  vertical-align: top;
}

.product-detail__info th {
  width: 34%;
  color: #3d342f;
  font-weight: 700;
}

.product-detail__scene {
  margin-top: 24px;
}

.product-detail__scene h3 {
  margin: 0 0 12px;
  color: #3d342f;
  font-family: "Noto Serif JP", serif;
  font-size: 20px;
}

.product-detail__scene ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.product-detail__scene li {
  padding: 8px 14px;
  color: #6d4435;
  background: #fff;
  border: 1px solid #d8c7b8;
  border-radius: 999px;
  font-size: 14px;
}

/* 取扱店舗を強調 */

.product-detail__store {
  margin-top: 24px;
  padding: 20px;
  background: #edf2e8;
  border: 2px solid #7a8b63;
  border-radius: 8px;
}

.product-detail__store p {
  margin: 5px 0 0;
}

.product-detail__store-label {
  color: #5f7350;
  font-size: 14px;
  font-weight: 700;
}

.product-detail__store-name {
  color: #3f5132;
  font-family: "Noto Serif JP", serif;
  font-size: 23px;
  font-weight: 700;
}

.product-detail__btn,
.product-detail__more-btn {
  display: block;
  padding: 15px 24px;
  color: #fff;
  background: #7a8b63;
  border-radius: 4px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.product-detail__btn {
  margin-top: 22px;
}

.product-detail__btn:hover,
.product-detail__more-btn:hover {
  color: #fff;
  opacity: 0.85;
}

.product-detail__availability {
  margin: 12px 0 0;
  color: #6d625b;
  font-size: 13px;
  line-height: 1.7;
}

/* 商品説明・おすすめ */

.product-detail__columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 56px;
}

.product-detail__block {
  padding: 32px 34px;
  background: #fff;
  border: 1px solid #e2d6ca;
  border-radius: 8px;
  line-height: 1.9;
}

.product-detail__description {
  margin-top: 24px;
}

.product-detail__columns .product-detail__block {
  margin: 0;
}

.product-detail__content {
  line-height: 2;
}

.product-detail__content > :first-child {
  margin-top: 0;
}

.product-detail__content > :last-child {
  margin-bottom: 0;
}

.product-detail__recommend-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.product-detail__recommend-list li {
  position: relative;
  padding-left: 28px;
}

.product-detail__recommend-list li::before {
  position: absolute;
  top: 0;
  left: 0;
  color: #7a8b63;
  content: "✓";
  font-weight: 700;
}

/* 来店相談・店頭商品訴求 */

.product-detail__consultation {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 42px;
  margin-top: 56px;
  padding: 40px;
  background: #f1f5ed;
  border-left: 6px solid #7a8b63;
}

.product-detail__consultation p {
  margin-bottom: 0;
  line-height: 1.9;
}

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

.product-detail__consultation li {
  position: relative;
  padding-left: 28px;
}

.product-detail__consultation li::before {
  position: absolute;
  left: 0;
  color: #7a8b63;
  content: "✓";
  font-weight: 700;
}

.product-detail__eyebrow {
  margin: 0 0 8px;
  color: #8d2a23;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.product-detail__more {
  margin-top: 34px;
  padding: 44px 34px;
  background: #f8f4ef;
  border: 1px solid #e2d6ca;
  text-align: center;
}

.product-detail__more p:not(.product-detail__eyebrow) {
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.9;
}

.product-detail__more-btn {
  width: fit-content;
  margin: 24px auto 0;
}

/* 関連商品 */

.product-detail__related {
  padding: 80px 0;
  background: #f7f2ec;
}

.product-detail__related .product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.product-detail__related .product-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid #e2d6ca;
  border-radius: 8px;
}

.product-detail__related .product-card a {
  display: block;
  color: inherit;
  text-decoration: none;
}

.product-detail__related .product-card__image {
  display: grid;
  min-height: 220px;
  place-items: center;
  background: #f8f4ef;
  color: #766c65;
}

.product-detail__related .product-card__image img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.product-detail__related .product-card__body {
  padding: 18px;
}

.product-detail__related .product-card__code {
  color: #5f7350;
  font-size: 13px;
}

.product-detail__related .product-card h3 {
  margin: 8px 0;
  font-family: "Noto Serif JP", serif;
  font-size: 18px;
  line-height: 1.6;
}

.product-detail__related .product-card p {
  margin: 0;
  color: #8d2a23;
  font-size: 14px;
}

@media screen and (max-width: 900px) {
  .product-detail__grid {
    grid-template-columns: 1fr;
  }

  .product-detail__columns,
  .product-detail__consultation {
    grid-template-columns: 1fr;
  }

  .product-detail__related .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media screen and (max-width: 600px) {
  .product-detail__inner {
    width: min(100% - 32px, 1120px);
  }

  .product-detail__main {
    padding: 46px 0 56px;
  }

  .product-detail__head {
    display: block;
    margin-bottom: 24px;
  }

  .product-detail__code {
    margin-top: 10px;
  }

  .product-detail__info,
  .product-detail__block {
    padding: 24px 18px;
  }

  .product-detail__columns {
    gap: 16px;
    margin-top: 36px;
  }

  .product-detail__consultation {
    gap: 24px;
    margin-top: 36px;
    padding: 28px 20px;
  }

  .product-detail__more {
    padding: 34px 20px;
  }

  .product-gallery__thumbs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .product-detail__related {
    padding: 56px 0;
  }

  .product-detail__related .product-grid {
    gap: 14px;
  }

  .product-detail__related .product-card__body {
    padding: 14px 12px;
  }

  .product-detail__related .product-card h3 {
    font-size: 16px;
  }
}