:root{
  --ink: rgb(32,32,32);
  --bd: rgba(0,0,0,.07);
  --soft: rgba(255,255,255,.86);
}

/* current nav */
.nav-link.is-current .nav-en,
.nav-link.is-current .nav-ja{ color: var(--red); }

/* ===== breadcrumb ===== */
.pd-bc{
  padding: calc(var(--header-h) + 14px) 16px 10px;
  background: #f6f6f6;
}
.pd-bc__inner{
  max-width: var(--container);
  margin: 0 auto;
  font-size: 12px;
  color: #333;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.pd-bc a{
  color: #333;
  text-decoration: none;
}
.pd-bc a:hover{ color: var(--red); }

/* ===== hero ===== */
.pd-hero{
  background: #f6f6f6;
  padding: 10px 16px 34px;
}
.pd-hero__inner{
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 20px;
  align-items: start;
}

/* media */
.pd-media{
  background: #fff;
  border: 1px solid var(--bd);
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(0,0,0,.06);
  overflow: hidden;
}
.pd-media__main{
  aspect-ratio: 4 / 3;
  background: #eee;
  position: relative;
}
.pd-media__main img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pd-media__note{
  margin: 0;
  padding: 10px 12px 12px;
  font-size: 12px;
  color: #666;
}

.pd-media__badge{
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  line-height: 1;
  background: rgba(0,0,0,.62);
  color: #fff;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  pointer-events: none; /* スワイプ/タップの邪魔をしない */
}

/* summary */
.pd-sum{
  background: var(--soft);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 14px;
  box-shadow: 0 14px 34px rgba(0,0,0,.10);
  padding: 18px 18px 16px;
}
.pd-eyebrow{
  margin: 0 0 8px;
  font-family: 'Oswald', sans-serif;
  letter-spacing: .18em;
  font-weight: 600;
  color: var(--red);
  font-size: 12px;
}
.pd-title{
  margin: 0 0 10px;
  font-size: clamp(18px, 2.6vw, 22px);
  line-height: 1.15;
  letter-spacing: .02em;
  color: var(--ink);
}
.pd-lead{
  margin: 0 0 12px;
  color: #333;
  font-size: 14px;
  line-height: 1.7;
}

/* tags */
.pd-tags{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}
.pd-tag{
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 10px;
  border-radius: 20px;
  border: 1px solid rgba(214, 0, 29, 0.384);
  background: rgba(214, 0, 29, 0);
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
}

/* variants chips */
.pd-variants{
  display: grid;
  gap: 8px;
  padding: 12px;
  border-radius: 12px;
  background: rgba(255,255,255,.85);
  border: 1px solid rgba(0,0,0,.06);
  margin-bottom: 14px;
}
.pd-variants__label{
  font-size: 16px;
  font-weight: 900;
  letter-spacing: .08em;
  color: #111;
}
.pd-chips{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pd-chip{
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 12px;
  border-radius: 5px;
  border: 1.0px solid #111;
  background: #111;
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .04em;
  transition: transform .15s ease, background .15s ease, border-color .15s ease, color .15s ease;
  cursor: pointer;
}
.pd-chip:hover{
  transform: translateY(-1px);
  border-color: rgba(214,0,28,.35);
  background: rgba(214,0,28,.10);
  color: var(--red);
}

/* 選択中 */
.pd-chip.is-active{
  background: rgba(214,0,28,.10);
  color: var(--red);
  border-color: rgba(214,0,28,.45);
}

/* buttons */
.pd-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 10px;

  height: 38px;          /* 44 → 38 */
  padding: 0 12px;       /* 余白少し縮小 */

  font-size: 12px;       /* 追加：フォントサイズ */
  font-weight: 800;
  letter-spacing: .06em;

  transition: background .2s ease, transform .2s ease, color .2s ease, border-color .2s ease;
}
.pd-btn--primary{
  background: #111;
  color: #fff;
}
.pd-btn--primary:hover{
  background: var(--red);
  transform: translateY(-1px);
}
.pd-btn--ghost{
  background: transparent;
  border: 1px solid rgba(0,0,0,.14);
  color: #111;
}
.pd-btn--ghost:hover{
  border-color: rgba(214,0,28,.35);
  color: var(--red);
}

/* スワイプ操作の邪魔をしにくくする */
.pd-media__main{
  touch-action: pan-y; /* 縦スクロールは許可、横スワイプも検知しやすい */
}

/* mini */
.pd-mini{
  display: grid;
  gap: 10px;
  padding-top: 6px;
}
.pd-mini__item{
  display: grid;
  gap: 4px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255,255,255,.85);
  border: 1px solid rgba(0,0,0,.06);
}
.pd-mini__k{
  font-size: 16px;
  font-weight: 900;
  letter-spacing: .08em;
  color: #111;
}
.pd-mini__v{
  font-size: 13px;
  color: #333;
  line-height: 1.55;
}

/* ===== content ===== */
.pd{
  padding: 50px 16px 84px;
  background: #fff;
}
.pd__inner{ max-width: var(--container); margin: 0 auto; }

.pd-grid{
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 18px;
  align-items: start;
}

.pd-block{
  background: #fff;
  border: 1px solid var(--bd);
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(0,0,0,.06);
  padding: 18px;
  margin-bottom: 14px;
}
.pd-h2{
  margin: 0 0 10px;
  font-size: 16px;
  letter-spacing: .04em;
  position: relative;
  padding-left: 12px;
}
.pd-h2::before{
  content:"";
  position:absolute;
  left:0; top: 2px;
  width: 3px; height: 16px;
  background: var(--red);
  border-radius: 99px;
}

/* variants grid */
.variant-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.variant{
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 14px;
  padding: 14px;
  background: rgba(214,0,28,.03);
  scroll-margin-top: calc(var(--header-h) + 18px); /* アンカー飛びでヘッダーに隠れない */
}
.variant__head{
  display:flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}
.variant__ttl{
  margin: 0;
  font-size: 16px;
  letter-spacing: .04em;
}
.variant__badge{
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(214,0,28,.10);
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
}
.variant__spec{
  margin: 0 0 10px;
  display: grid;
  gap: 8px;
  font-size: 13px;
  color: #333;
}
.variant__spec > div{
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 10px;
}
.variant__spec dt{ font-weight: 900; color:#111; }
.variant__spec dd{ margin: 0; }

/* =========================
   PRODUCT DETAIL: Pager
   ========================= */
.pd-pager{
  background: #fff;
  padding: 0 16px 90px;
}

.pd-pager__inner{
  max-width: var(--container);
  margin: 0 auto;
  padding-top: 18px;
  border-top: 1px solid rgba(0,0,0,.08);

  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  align-items: center;
}

.pd-pager__prev{ justify-self: start; }
.pd-pager__back{ 
  justify-self: center;
  min-width: 180px;   /* 220 → 180 */
  font-size: 13px;
}
.pd-pager__next{ justify-self: end; }

/* 2段表示 */
.pd-pager__prev,
.pd-pager__next{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:center;
  height:auto;
  padding:8px 12px;
}

/* PREV / NEXT */
.pd-pager__label{
  font-size:10px;
  letter-spacing:.12em;
  opacity:.6;
  margin-bottom:2px;
}

/* 商品名 */
.pd-pager__title{
  font-size:12px;
  font-weight:700;
  line-height:1.2;

  max-width:220px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

/* 前後ボタンが無い時は非表示にできる */
.pd-pager a[aria-disabled="true"]{
  opacity: .35;
  pointer-events: none;
}

/* SP：縦積み */
@media (max-width: 680px){
  .pd-pager{
    padding: 0 14px 70px;
  }
  .pd-pager__inner{
    grid-template-columns: 1fr;
  }
  .pd-pager__back{
    order: -1; /* 一覧に戻るを上に */
    width: 100%;
    min-width: 0;
  }
  .pd-pager__prev,
  .pd-pager__next{
    width: 100%;
  }
}

/* ===== responsive ===== */
@media (max-width: 980px){
  .pd-hero__inner{ grid-template-columns: 1fr; }
  .pd-grid{ grid-template-columns: 1fr; }
  .pd-side{ position: static; }
  .variant-grid{ grid-template-columns: 1fr; }
}
@media (max-width: 680px){
  .pd-bc{ padding: calc(var(--header-h) + 12px) 14px 10px; }
  .pd-hero{ padding: 10px 14px 26px; }
  .pd{ padding: 40px 14px 70px; }
  .pd-row{ grid-template-columns: 110px 1fr; }
  .pd-media__badge{
    right: 10px;
    bottom: 10px;
    padding: 7px 11px;
    font-size: 13px;
  }
}

/* =========================
   PRODUCT DETAIL: LP Banner
   ========================= */

.pd-lp-banner{
  background: #fff;
  padding: 0 16px 28px;
}

.pd-lp-banner__inner{
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  justify-content: center; /* ←中央寄せ */
}

.pd-lp-banner__link{
  display: block;
  width: 100%;
  max-width: 470px; /* ←ここが肝 */
  transition: transform .25s ease, box-shadow .25s ease;
}

.pd-lp-banner__link:hover{
  transform: translateY(-3px); /* ←ちょい浮く */
  box-shadow: 0 12px 24px rgba(0,0,0,.12); /* ←影で高級感 */
}

.pd-lp-banner__image{
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 680px){
  .pd-lp-banner__link{
    max-width: 100%; /* ←スマホはフル幅 */
  }
}