/* ============================================================
   トップページ「PICK UP」（一番上の写真のすぐ下）
   ------------------------------------------------------------
   ・1つだけ　：横長の大きいバナー（スマホは写真が上）
   ・2つ以上　：カード。パソコンは3列（2つなら2列）、スマホは横にスワイプ
   中身は assets/pickup.js が入れます。
   ============================================================ */
.pkband{
  padding: clamp(18px, 3vw, 36px) var(--pad) clamp(4px, 1vw, 10px);
}
.pkband__wrap{
  max-width: var(--max);
  margin: 0 auto;
}
.pkband__h{
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 0 0 14px;
  font-weight: 400;
}
.pkband__h span{
  font-family: var(--display);
  font-size: clamp(26px, 3.4vw, 38px);
  line-height: 1;
  letter-spacing: .04em;
  color: var(--gold-lit);
}
.pkband__h small{
  font-family: var(--body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--mute);
}

/* ---- 並べ方 ---- */
.pkband__list{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 20px);
}
.pkband__list.is-two{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pkband__list.is-one{ grid-template-columns: 1fr; }

/* ---- カード ---- */
.pkcard{
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  border-radius: 18px;
  overflow: hidden;
  color: var(--ivory-ink);
  background: var(--ivory);
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(0,0,0,.32);
  transition: transform .18s ease, box-shadow .18s ease;
}
a.pkcard:hover{ transform: translateY(-3px); box-shadow: 0 16px 34px rgba(0,0,0,.4); }
a.pkcard:focus-visible{ outline: 3px solid var(--gold-lit); outline-offset: 3px; }

.pkcard__img{
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  background: #1C2427;
  overflow: hidden;
}
.pkcard__img img{
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}
a.pkcard:hover .pkcard__img img{ transform: scale(1.04); }
.pkcard__noimg{
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-size: 34px;
  letter-spacing: .08em;
  color: rgba(235,215,166,.5);
}
.pkcard__badge{
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 12px;
  border-radius: 99px;
  font-family: var(--body);
  font-weight: 900;
  font-size: 12px;
  letter-spacing: .08em;
  color: #fff;
  background: var(--orange);
  box-shadow: 0 4px 12px rgba(0,0,0,.25);
}

.pkcard__body{
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  padding: 16px 18px 18px;
}
.pkcard__title{
  font-family: var(--body);
  font-weight: 900;
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.4;
}
.pkcard__text{
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--ivory-mute);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pkcard__meta{
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
}
.pkcard__meta b{
  font-family: var(--mono, 'Roboto Mono', monospace);
  font-size: 18px;
  font-weight: 500;
  color: var(--gold-deep);
}
.pkcard__meta small{ font-size: 11px; color: var(--ivory-mute); margin-left: -8px; }
.pkcard__meta em{
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
  color: #C2410C;
}
.pkcard__go{
  margin-top: auto;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  border-radius: 99px;
  font-weight: 900;
  font-size: 13px;
  color: var(--ivory);
  background: var(--ivory-ink);
}
.pkcard__go i{ font-style: normal; transition: transform .18s ease; }
a.pkcard:hover .pkcard__go i{ transform: translateX(3px); }

/* ---- 1つだけのときは横長の大きいバナー ---- */
.pkcard--big{
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
}
.pkcard--big .pkcard__img{ aspect-ratio: 16 / 9; align-self: center; height: 100%; max-height: 440px; }
.pkcard--big{ align-items: stretch; }
.pkcard--big .pkcard__body{ justify-content: center; padding: clamp(20px, 3vw, 40px); gap: 12px; }
.pkcard--big .pkcard__title{ font-size: clamp(20px, 2.4vw, 30px); }
.pkcard--big .pkcard__text{ font-size: 15px; -webkit-line-clamp: 5; }
.pkcard--big .pkcard__go{ margin-top: 6px; padding: 12px 22px; font-size: 15px; }

/* ---- タブレット ---- */
@media (max-width: 960px){
  .pkband__list{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---- スマホ：横にスワイプ ---- */
@media (max-width: 640px){
  .pkband__list,
  .pkband__list.is-two{
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    margin: 0 calc(var(--pad) * -1);
    padding: 2px var(--pad) 14px;
    scroll-padding: 0 var(--pad);
    scrollbar-width: none;
  }
  .pkband__list::-webkit-scrollbar{ display: none; }
  .pkband__list > .pkcard{ flex: 0 0 82%; scroll-snap-align: start; }
  .pkband__list.is-one{ display: block; margin: 0; padding: 0; overflow: visible; }
  .pkband__list.is-one > .pkcard{ flex: none; }
  .pkcard--big{ display: flex; flex-direction: column; }
  .pkcard--big .pkcard__img{ aspect-ratio: 16 / 10; min-height: 0; }
  .pkcard--big .pkcard__body{ padding: 18px; }
}

@media (prefers-reduced-motion: reduce){
  .pkcard, .pkcard__img img, .pkcard__go i{ transition: none; }
}


/* ============================================================
   写真のスライド（v113）
   ・写真は切らずに全体を出す。余白は同じ写真をぼかしたもので埋める
   ・2枚以上：4秒ごと・矢印（パソコン）・下の点・指でスワイプ
   ・タイトルとひとことが空なら、写真だけを横いっぱいに（.pkcard--only）
   ============================================================ */
.pkslides{
  position: absolute;
  inset: 0;
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.pkslides::-webkit-scrollbar{ display: none; }
.pkslide{
  position: relative;
  flex: 0 0 100%;
  height: 100%;
  overflow: hidden;
  scroll-snap-align: start;
}
.pkslide__bg{
  position: absolute;
  inset: -24px;
  background-size: cover;
  background-position: center;
  filter: blur(22px) brightness(.62) saturate(1.1);
  transform: scale(1.08);
}
.pkcard__img .pkslide img{
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: none;
}
a.pkcard:hover .pkcard__img .pkslide img{ transform: none; }

.pkarrow{
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 38px;
  height: 38px;
  margin-top: -19px;
  border: 0;
  border-radius: 50%;
  font-size: 26px;
  line-height: 36px;
  color: #fff;
  background: rgba(0,0,0,.42);
  cursor: pointer;
  opacity: 0;
  transition: opacity .2s ease, background .2s ease;
}
.pkarrow--l{ left: 10px; }
.pkarrow--r{ right: 10px; }
.pkcard__img:hover .pkarrow{ opacity: 1; }
.pkarrow:hover{ background: rgba(0,0,0,.65); }
.pkarrow:focus-visible{ opacity: 1; outline: 2px solid var(--gold-lit); }
@media (hover: none){ .pkarrow{ display: none; } }

.pkdots{
  position: absolute;
  left: 0; right: 0; bottom: 10px;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 6px;
  pointer-events: none;
}
.pkdots i{
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,.5);
  box-shadow: 0 1px 3px rgba(0,0,0,.35);
  transition: background .2s ease, transform .2s ease;
}
.pkdots i.on{ background: #fff; transform: scale(1.25); }
.pkcard__badge{ z-index: 4; }
.pkcard__noimg{ z-index: 0; }

/* 写真だけのとき：横いっぱいに大きく */
.pkcard--only{ display: block; }
.pkcard--only .pkcard__img{ aspect-ratio: 16 / 9; height: auto; max-height: none; }
.pkcard--big.pkcard--only .pkcard__img{ aspect-ratio: 21 / 9; }
@media (max-width: 640px){
  .pkcard--big.pkcard--only .pkcard__img{ aspect-ratio: 4 / 3; }
}
