/* 隙間 */
main section {
  margin: 0 auto;
}
/* ==============================
   PRODUCT DETAIL BASE
============================== */

.product-detail-page {
  width: 100%;
  margin-top: 200px;
  padding-bottom: 110px;
  background: #fff;
}

.product-content-wrap {
  width: 100%;
  max-width: 1380px;
  margin: 0 auto;
}

.product-section,
.product-section-one {
  width: 100%;
  padding-bottom: 100px;
  background: #fff;
}

.product-section-title {
  display: block;
  width: 100%;
  margin: 0 0 60px;
  padding: 0;
  color: #373737;
  font-size: 36px;
  font-weight: 300;
  text-align: left;
}

/* ==============================
   FIRST VIEW
============================== */

.product-fv {
  width: 100%;
  margin-bottom: 100px;
  padding: 70px 0;
  background: #f8f6f5;
}

.product-fv .product-content-wrap {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 45px;
  align-items: start;
}

/* ==============================
   GALLERY / SLIDER
============================== */

.product-gallery {
  width: 100%;
  min-width: 0;
}

.product-gallery-main {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #fff;
  border: 1px solid #e5e5e5;
  overflow: visible;
}

.product-slider {
  position: relative;
  overflow: hidden;
  background: #f7f7f7;
}

.product-slider-track {
  display: flex;
  width: 100%;
  transition: transform 0.35s ease;
}

.product-slide {
  flex: 0 0 100%;
}

.product-slide-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: #f7f7f7;
  cursor: zoom-in;
}

/* サムネイル */

.product-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  width: 100%;
  margin-top: 12px;
}

.thumb-btn {
  padding: 0;
  border: 2px solid transparent;
  background: none;
  cursor: pointer;
  overflow: hidden;
}

.thumb-btn.is-active {
  border-color: #373737;
}

.thumb-btn img {
  display: block;
  width: 120px;
  height: 120px;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.thumb-btn:hover img {
  transform: scale(1.08);
}

/* 商品画像側の左右矢印は非表示 */

.product-slider .slider-nav {
  display: none;
}

/* ズームボタン */

.product-slider .zoom-btn {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 5;
  display: block;
  width: 34px;
  height: 34px;
  padding: 0;
  margin: 0;
  border: none;
  border-radius: 0;
  background-color: transparent;
  background-image:
    linear-gradient(#9a9a9a, #9a9a9a), linear-gradient(#9a9a9a, #9a9a9a);
  background-repeat: no-repeat;
  background-size:
    8px 2px,
    2px 8px;
  background-position:
    10px 13px,
    13px 10px;
  box-shadow: none;
  color: transparent;
  font-size: 0;
  line-height: 1;
  cursor: pointer;
}

.product-slider .zoom-btn::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 6px;
  width: 16px;
  height: 16px;
  border: 2px solid #9a9a9a;
  border-radius: 50%;
  background: transparent;
}

.product-slider .zoom-btn::after {
  content: "";
  position: absolute;
  top: 22px;
  left: 21px;
  width: 13px;
  height: 2px;
  border-radius: 2px;
  background: #9a9a9a;
  transform: rotate(45deg);
  transform-origin: left center;
}

/* ==============================
   PRODUCT SUMMARY
============================== */

.product-summary {
  min-width: 0;
  padding-top: 8px;
}

.product-brand {
  margin-bottom: 8px;
  color: #777;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.12em;
}

.product-title {
  margin: 0 0 12px;
  color: #373737;
  font-size: 32px;
  font-weight: 600;
  line-height: 1.4;
}

.product-detail-category a {
  color: inherit;
  text-decoration: none;
  font-size: 16px;
}

.product-detail-category a:hover {
  text-decoration: underline;
}
.product-detail-number{
  font-size: 16px;
}

.product-label {
  display: inline-block;
  margin-top: 10px;
  margin-bottom: 18px;
  padding: 4px 10px;
  border: 1px solid #999;
  border-radius: 20px;
  background: #fff;
  color: #373737;
  font-size: 16px;
}

.product-desc {
  margin-bottom: 24px;
  color: #373737;
  font-size: 16px;
  line-height: 2;
}

.product-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 340px;
  min-height: 60px;
}

.product-btn {
  display: block;
  padding: 16px 20px;
  border: 1px solid #96cbbf;
  background: #96cbbf;
  color: #fff;
  font-size: 18px;
  font-weight: 400;
  text-align: center;
  text-decoration: none;
}

.product-btn-secondary {
  border-color: #ddd;
  background: #fff;
  color: #373737;
}

/* ==============================
   PRODUCT POINTS
============================== */

.product-points {
  display: grid;
  gap: 42px;
}

.product-point-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 56px;
  align-items: start;
}

.product-point-body {
  min-width: 0;
  color: #373737;
  font-size: 18px;
  line-height: 2;
}

.product-point-body h3 {
  margin: 0 0 18px;
  padding: 0;
  color: #373737;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.8;
}

.product-point-body p,
.product-point-body div {
  margin: 0;
  padding: 0;
}

.product-point-media {
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
}

.product-point-media img,
.product-point-media iframe,
.product-point-media video {
  display: block;
  width: 100%;
  margin: 0;
}

.product-point-media > img {
  aspect-ratio: 390 / 220;
  height: auto;
  border: 1px solid #e5e5e5;
  background: #f7f7f7;
  object-fit: cover;
}

/* 動画サムネイル */

.video-trigger {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 390 / 220;
  margin: 0;
  padding: 0;
  border: none;
  background: #000;
  cursor: pointer;
  overflow: hidden;
}

.video-trigger img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(255, 0, 0, 0.9);
  color: #fff;
  font-size: 26px;
  line-height: 72px;
  text-align: center;
  padding-left: 4px;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

/* ==============================
   BRAND
============================== */

.product-brand-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 430px;
  aspect-ratio: 430 / 120;
  margin-bottom: 30px;
  border: 1px solid #e5e5e5;
  background: #fff;
  overflow: hidden;
}

.product-brand-box > a,
.product-brand-box > a > div {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.photo-size {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.35s ease;
}

.product-brand-box:hover .photo-size {
  transform: scale(1.08);
}

.product-brand-name {
  padding-bottom: 20px;
  color: #373737;
  font-size: 16px;
  font-weight: 700;
}

.product-brand-link {
  display: inline-block;
  margin-bottom: 20px;
  color: #373737;
  font-size: 16px;
  text-decoration: none;
}

/* ==============================
   DOWNLOADS
============================== */

.product-downloads {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.product-download-item {
  min-width: 0;
  border: none;
  background: transparent;
}

.product-download-item a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 330px;
  height: 100px;
  padding: 14px 16px;
  border: 1px solid #d9d9d9;
  background: #fff;
  color: #373737;
  text-decoration: none;
  transition: 0.25s ease;
}

.product-download-item a:hover {
  border-color: #111;
  transform: translateY(-2px);
}

.product-download-label {
  flex: 1;
  overflow: hidden;
  color: #373737;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-download-icon {
  flex: 0 0 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 48px;
}

.product-download-icon img {
  display: block;
  width: 34px;
  height: auto;
}

/* ==============================
   RELATED PRODUCTS
============================== */

.related-product-cards {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: flex-start !important;
  gap: 40px;
}

.related-product-cards .card {
  flex: 0 0 244px;
  width: 244px;
  max-width: 244px;
}

.related-product-cards .thumb {
  width: 244px;
  height: 244px;
  aspect-ratio: 1 / 1;
}

/* ==============================
   LIGHTBOX
============================== */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
}

.lightbox.is-open {
  display: block;
}

.lightbox-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
}

.lightbox-content {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  transform: translate(-50%, -50%);
}

.lightbox-video,
.lightbox-image {
  width: min(1100px, 92vw);
}

.lightbox-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: transparent;
}

.lightbox-slider-track {
  display: flex;
  width: 100%;
  transition: transform 0.35s ease;
}

.lightbox-slide {
  display: flex;
  flex: 0 0 100%;
  align-items: center;
  justify-content: center;
}

.lightbox-slide-image {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 90vh;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
  color: #373737;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
}

.lightbox-prev {
  left: 12px;
}

.lightbox-next {
  right: 12px;
}

.lightbox-close {
  position: absolute;
  top: -48px;
  right: 0;
  z-index: 6;
  width: 40px;
  height: 40px;
  border: none;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 28px;
  cursor: pointer;
}

.lightbox-frame-wrap {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: #000;
}

.lightbox-frame-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* ==============================
   PREVIEW NOTICE
============================== */

.preview-notice-bar {
  position: relative;
  z-index: 10000;
  width: 100%;
  padding: 10px 20px;
  background: #111;
  color: #fff;
  font-family: "Noto Sans JP", "Yu Gothic", "YuGothic", sans-serif;
  box-sizing: border-box;
}

.preview-notice-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  max-width: 1380px;
  font-size: 14px;
  line-height: 1.6;
}

.preview-notice-text {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.preview-notice-inner strong {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}

.preview-notice-inner span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
}
/* 関連商品 */
.product-detail-text-decoration {
  text-decoration: none;
  color: #373737;
}

