@charset "UTF-8";

/* Shared by all product detail pages. */

.product-detail-page {
  min-width: 320px;
  color: #242424;
  background: #f7f7f7;
}

.product-header-boundary {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 0;
  pointer-events: none;
}

.product-detail {
  padding-top: 64px;
  overflow: hidden;
  background: #f7f7f7;
}

.product-detail__hero {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 1.5vw, 24px);
  width: min(100%, 1540px);
  margin: 0 auto;
  padding: clamp(44px, 3.3vw, 54px) clamp(20px, 3vw, 48px) clamp(86px, 8vw, 130px);
}

.product-gallery {
  min-width: 0;
  outline: none;
}

.product-gallery:focus-visible {
  outline: 1px solid rgba(36, 36, 36, 0.3);
  outline-offset: 8px;
}

.product-gallery__stage {
  position: relative;
  display: grid;
  width: 100%;
  aspect-ratio: 1;
  place-items: center;
  background: #fff;
}

.product-gallery__main {
  display: grid;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  place-items: center;
}

.product-gallery__main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 1;
  transform: scale(1);
  transition: opacity 0.18s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.product-gallery__main img.is-changing {
  opacity: 0;
  transform: scale(0.985);
}

.product-gallery__arrow {
  position: absolute;
  z-index: 2;
  top: 50%;
  width: 42px;
  height: 70px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  transform: translateY(-50%);
}

.product-gallery__arrow--previous { left: 8px; }
.product-gallery__arrow--next { right: 8px; }

.product-gallery__arrow span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  border-top: 1px solid #aaa;
  border-left: 1px solid #aaa;
  transition: border-color 0.25s ease;
}

.product-gallery__arrow--previous span { transform: translate(-25%, -50%) rotate(-45deg); }
.product-gallery__arrow--next span { transform: translate(-75%, -50%) rotate(135deg); }

.product-gallery__arrow:hover span,
.product-gallery__arrow:focus-visible span {
  border-color: #222;
}

.product-gallery__thumbnails {
  display: grid;
  grid-template-columns: repeat(6, minmax(38px, 64px));
  justify-content: space-between;
  gap: 0;
  margin-top: 14px;
}

.product-gallery__thumbnails button {
  aspect-ratio: 1;
  margin: 0;
  padding: 3px;
  overflow: hidden;
  border: 1px solid transparent;
  background: #fff;
  cursor: pointer;
  opacity: 0.48;
  transition: border-color 0.25s ease, opacity 0.25s ease;
}

.product-gallery__thumbnails button:hover,
.product-gallery__thumbnails button:focus-visible,
.product-gallery__thumbnails button.is-active {
  border-color: #777;
  opacity: 1;
}

.product-gallery__thumbnails img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-detail__information {
  align-self: start;
  padding-top: 16px;
}

.product-detail__series {
  margin: 0 0 12px;
  color: #9a9a9a;
  font-size: clamp(14px, 1.2vw, 18px);
  letter-spacing: 0.035em;
}

.product-detail__information h1 {
  margin: 0;
  color: #111;
  font-size: clamp(34px, 3vw, 48px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0.035em;
}

.product-detail__price {
  margin: 18px 0 0;
  color: #171717;
  font-size: clamp(21px, 1.8vw, 27px);
}

.product-detail__price span {
  font-size: 0.78em;
}

.product-detail__color {
  margin: 30px 0 0;
  color: #242424;
  font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
  font-size: 13px;
  letter-spacing: 0.08em;
}

.product-detail__variations {
  display: flex;
  gap: 20px;
  margin-top: 14px;
}

.product-detail__variations figure {
  width: 88px;
  margin: 0;
}

.product-detail__variations a {
  display: block;
}

.product-detail__variations img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  padding: 8px;
  object-fit: contain;
  background: #fff;
}

.product-detail__variations .is-current img {
  border: 1px solid #222;
}

.product-detail__description {
  max-width: 610px;
  margin-top: 32px;
}

.product-detail__description h2 {
  margin: 0 0 28px;
  font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(20px, 1.75vw, 27px);
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: 0.055em;
}

.product-detail__description p {
  margin: 0;
  font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
  font-size: 14px;
  line-height: 2.25;
  letter-spacing: 0.045em;
}

.product-detail__manual {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 170px;
  min-height: 44px;
  margin-top: 36px;
  padding: 10px 24px;
  background: #292929;
  color: #fff;
  font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
  font-size: 13px;
  letter-spacing: 0.1em;
  transition: background-color 0.3s ease;
}

.product-detail__manual:hover,
.product-detail__manual:focus-visible {
  background: #555;
}

.product-specifications {
  padding: clamp(72px, 7vw, 108px) clamp(28px, 5.8vw, 84px);
  color: #242424;
  background: #efefec;
}

.product-specifications__inner {
  width: min(100%, 1180px);
  margin: 0 auto;
}

.product-specifications__header {
  text-align: center;
}

.product-specifications__header > p {
  margin: 0 0 12px;
  color: #777;
  font-size: 10px;
  letter-spacing: 0.2em;
}

.product-specifications__header h2 {
  margin: 0;
  font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(30px, 2.8vw, 42px);
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: 0.09em;
}

.product-specifications__groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(40px, 5vw, 72px);
  margin-top: clamp(34px, 4vw, 52px);
  align-items: stretch;
}

.product-specifications__manual-area {
  display: grid;
  margin-top: clamp(30px, 3.5vw, 46px);
  place-items: center;
}

.product-specifications__manual-area .product-detail__manual {
  margin: 0;
}

.product-specifications__list {
  margin: 0;
  border-top: 1px solid #aaa;
}

.product-specifications__row {
  display: grid;
  grid-template-columns: minmax(160px, 0.4fr) minmax(0, 1fr);
  min-height: 62px;
  padding: 14px 0;
  align-items: center;
  border-bottom: 1px solid #c3c3c0;
}

.product-specifications__row dt,
.product-specifications__row dd {
  margin: 0;
  font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
  font-size: 13px;
  line-height: 2;
  letter-spacing: 0.05em;
}

.product-specifications__row dt {
  padding-right: 20px;
  color: #666;
  white-space: nowrap;
}

.product-specifications__row dd {
  color: #242424;
}

.product-specifications__row dd span {
  display: block;
}

.product-related {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  color: #fff;
  background: #111;
}

.product-related__card {
  position: relative;
  min-height: 440px;
  overflow: hidden;
  background: #171717;
}

.product-related__card > img,
.product-related__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.product-related__card > img {
  max-width: none;
  object-fit: cover;
  transition: transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.product-related__card:first-child > img { object-position: center; }
.product-related__card:last-child > img { object-position: center 48%; }
.product-related__card:hover > img { transform: scale(1.06); }

.product-related__shade {
  z-index: 1;
  background: linear-gradient(to top, rgba(10, 9, 8, 0.78), rgba(10, 9, 8, 0.08) 70%);
  pointer-events: none;
}

.product-related__copy {
  position: absolute;
  z-index: 2;
  right: clamp(30px, 3vw, 52px);
  bottom: clamp(34px, 4vw, 58px);
  left: clamp(30px, 3vw, 52px);
}

.product-related__copy h2 {
  margin: 0;
  font-size: clamp(28px, 2.5vw, 40px);
  font-weight: 400;
  letter-spacing: 0.03em;
}

.product-related__copy p {
  margin: 16px 0 0;
  font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(14px, 1.2vw, 18px);
  line-height: 1.8;
  letter-spacing: 0.08em;
}

@media (min-width: 1001px) {
  .product-detail__hero {
    align-items: start;
    min-height: calc(100svh - 64px);
    padding-right: clamp(16px, 1.5vw, 22px);
    padding-left: clamp(60px, 7vw, 100px);
    padding-top: clamp(24px, 4svh, 36px);
    padding-bottom: clamp(24px, 4svh, 36px);
  }

  .product-gallery {
    width: min(660px, calc(100svh - 202px));
    justify-self: start;
    transform: translateX(18px);
  }

  .product-detail__information {
    align-self: start;
    padding-top: 16px;
  }
}

@media (max-width: 1180px) {
  .product-detail__hero {
    grid-template-columns: minmax(320px, 0.9fr) minmax(380px, 1.1fr);
    gap: 48px;
  }

  .product-gallery {
    width: min(100%, 660px, calc(100svh - 202px));
  }

}

@media (max-width: 1000px) {
  .product-detail__hero {
    grid-template-columns: 1fr;
    gap: 58px;
    padding-right: 24px;
    padding-left: 24px;
  }

  .product-gallery,
  .product-detail__information {
    margin-right: auto;
    margin-left: auto;
  }

  .product-gallery {
    width: min(100%, 640px);
    max-width: min(640px, calc(100svh - 160px));
  }

  .product-detail__information {
    width: min(100%, 590px);
    padding-top: 0;
  }

  .product-specifications__inner {
    width: min(100%, 760px);
  }

  .product-specifications__groups {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .product-related {
    grid-template-columns: 1fr;
  }

  .product-related__card {
    min-height: 410px;
  }
}

@media (max-width: 560px) {
  .product-detail {
    padding-top: 52px;
  }

  .product-detail__hero {
    padding-top: 28px;
    padding-bottom: 72px;
  }

  .product-gallery__main {
    padding: 0;
  }

  .product-gallery__thumbnails {
    grid-template-columns: repeat(6, minmax(38px, 64px));
    gap: 0;
    margin-top: 14px;
  }

  .product-gallery__thumbnails button {
    padding: 3px;
  }

  .product-detail__information h1 {
    font-size: 34px;
  }

  .product-detail__variations figure {
    width: 74px;
  }

  .product-detail__description h2 br {
    display: none;
  }

  .product-detail__description p {
    font-size: 13px;
    line-height: 2.05;
  }

  .product-specifications {
    padding: 60px 24px 68px;
  }

  .product-specifications__inner {
    width: 100%;
  }

  .product-specifications__groups {
    gap: 32px;
    margin-top: 28px;
  }

  .product-specifications__row {
    grid-template-columns: 1fr;
    gap: 4px;
    min-height: 0;
    padding: 13px 0 14px;
  }

  .product-specifications__row dt,
  .product-specifications__row dd {
    font-size: 12px;
    line-height: 1.9;
  }

  .product-specifications__row dt {
    padding-right: 0;
    color: #888;
    font-size: 10px;
    letter-spacing: 0.12em;
  }

  .product-related__card {
    min-height: 340px;
  }

  .product-related__copy {
    right: 24px;
    bottom: 30px;
    left: 24px;
  }
}
