.pd{ padding: 28px 16px; }
.pd__inner{ max-width: 820px; margin: 0 auto; }

.pd__hdr{ margin-bottom: 14px; }
.pd__title{
  margin: 0 0 6px;
  font-size: 34px;
  font-weight: 800;
  letter-spacing: .02em;
}
.pd__meta{
  font-size: 18px;
  font-weight: 600;
  margin-left: 8px;
  opacity: .9;
}
.pd__price{
  font-size: 18px;
  font-weight: 600;
}
.pd__priceMain{
  font-size: 34px;
  font-weight: 900;
}
.pd__priceSub{ margin-left: 10px; opacity: .9; }

/* Photos: side / main / side */
.pd__photos{
  margin: 18px 0 10px;
  display: grid;
  grid-template-columns: 140px 1fr 140px;
  gap: 14px;
  align-items: stretch;
}
.pd__photo{
  background: #eee;
  overflow: hidden;
  border-radius: 8px;
}
.pd__photo img{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.pd__photo--main{ height: 420px; }
.pd__photo--side{ height: 420px; opacity: .9; }

/* pills */
.pd__pills{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin: 12px 0 14px;
}
.pd__pill{
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  border-radius: 999px;
  background: #333;
  color: #fff;
  font-weight: 800;
  font-size: 14px;
}

/* features text */
.pd__features{
  font-size: 18px;
  line-height: 1.8;
  margin: 10px 0 22px;
}

/* two columns + center line */
.pd__two{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  position: relative;
  padding-top: 10px;
}
.pd__two::before{
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: #222;
  opacity: .55;
}
.pd__box{ padding-right: 18px; }
.pd__box--right{ padding-left: 18px; padding-right: 0; }

.pd__h3{
  margin: 0 0 14px;
  font-size: 18px;
  font-weight: 900;
}

.pd__dl{ margin: 0; }
.pd__dl > div{
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 10px;
  padding: 8px 0;
}
.pd__dl dt{ font-weight: 900; }
.pd__dl dd{ margin: 0; }

/* flyer button */
.pd__flyerLink{ margin-top: 18px; text-align: center; }
.pd__btn{
  display: inline-block;
  padding: 10px 16px;
  border: 1px solid #111;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 800;
}
/* ===== Slider ===== */
.pdSlider{ margin: 18px 0 10px; padding: 0;}
.pdSlider__viewport{
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: #f6f6f6;
}

/* トラック（横スクロール） */
.pdSlider__track{
  display: flex;
  gap: 16px;                 /* スライド間の余白 */
  padding: 0 160px;          /* 左右に“チラ見せ”用の余白 */
  scroll-snap-type: x mandatory;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.pdSlider__track::-webkit-scrollbar{ display:none; }

/* 1枚（中央大） */
.pdSlider__slide{
  flex: 0 0 calc(100% - 320px);
  margin: 0;
  scroll-snap-align: center;
  border-radius: 18px;
  overflow: hidden;
  background: none; /* 背景色も削除 */
  display: block;
}

.pdSlider__slide img{
  width: 100%;
  height: auto;   /* ← ここが重要 */
  object-fit: unset;
  display: block;
}

/* 矢印 */
.pdSlider__btn{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: rgba(0,0,0,.55);
  color: #fff;
  font-size: 28px;
  line-height: 44px;
  cursor: pointer;
}
.pdSlider__btn--prev{ left: 14px; }
.pdSlider__btn--next{ right: 14px; }

/* ドット */
.pdSlider__dots{
  position: absolute;
  left: 0;
  right: 0;
  bottom: 12px;
  display: flex;
  justify-content: center;
  gap: 8px;
}
.pdSlider__dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 0;
  background: rgba(159, 159, 159, 0.55);
  cursor: pointer;
}
.pdSlider__dot.is-active{
  background: rgba(43, 43, 43, 0.95);
}
.pdSlider__btn{
  display:flex;
  align-items:center;
  justify-content:center;
}

.pdSlider__icon{
  width: 22px;
  height: 22px;
  display:block;
}

/* スマホはチラ見せ少なめ */
@media (max-width: 820px){
  .pdSlider__track{ padding: 0 22px; }
  .pdSlider__slide{ flex-basis: calc(100% - 44px); 
    /* height: 320px;  */
    background: #f3f3f3;}
}
.pdSlider__slide img{
  width: 100%;
  height: 100%;
  object-fit: contain;  /* ← ここを変更 */
  display: block;
}
/* responsive */
@media (max-width: 820px){
  .pd__title{ font-size: 26px; }
  .pd__priceMain{ font-size: 28px; }

  .pd__photos{
    grid-template-columns: 1fr;
  }
  .pd__photo--side{ display:none; }
  .pd__photo--main{ height: 320px; }

  .pd__two{
    grid-template-columns: 1fr;
  }
  .pd__two::before{ display:none; }
  .pd__box, .pd__box--right{ padding: 0; }
}
@media (min-width: 821px){
  .pdSlider__track{
    padding: 0;     /* 左右のチラ見せ余白を無くす */
    gap: 0;         /* スライド間の余白も無くす（好みで） */
  }
  .pdSlider__slide{
    flex: 0 0 100%; /* 1枚＝100% */
    border-radius: 18px;
     scroll-snap-align: center;
  }
}