/* =========================================================
   『羊の皮を着たケモノ』POP-UP SHOP LP
   Breakpoints:
     SP      : 0–767px   (default / mobile first)
     Tablet  : 768–1279px (PCと同じ見た目・動き。幅だけ可変)
     PC      : 1280px+    (Figma PC frame = 1920px)
   ========================================================= */

/* ---------- Design tokens (Figma) ---------- */
:root {
  --c-black: #0d0807;
  --c-ink: #1a1a1a;
  --c-gold: #e8c341;
  --c-gold-40: rgba(232, 195, 65, 0.4);
  --c-line: #d9d9d9;
  --c-red: #d32d25;
  --c-navy: #262d46;
  --c-dot: #949dad;
  --c-white: #fff;

  --ff-sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  --ff-serif: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;

  --main-max: 1000px;     /* Figma PC: 中央の白い本文エリア幅 */
  --nav-h: 104px;         /* アンカーボタン帯の高さ（24 + 56 + 24） */
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body, h1, h2, h3, p, ul, dl, dd, figure { margin: 0; padding: 0; }
ul { list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  font-family: var(--ff-sans);
  color: #000;
  background: var(--c-white);
  line-height: 1.7;
}

.accent { color: var(--c-gold); }
.pc-only { display: none; }

/* マウスを乗せたら不透明度90%（全端末共通） */
.hover-fade { transition: opacity 0.2s ease; }
@media (hover: hover) {
  .hover-fade:hover { opacity: 0.9; }
}

/* =========================================================
   SP (default)
   ========================================================= */

/* ---------- FV ---------- */
.fv { position: relative; }
.fv__blur, .fv__overlay { display: none; }
.fv__kv img { width: 100%; }

/* ---------- Anchor nav (SPでは非表示) ---------- */
.anchor-nav { display: none; }

/* ---------- Contents ---------- */
.contents {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 64px;
  padding: 32px 0 64px;
}
.intro {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 64px;
}
.section {
  width: calc(100% - 42px);   /* Figma SP: 左右21px */
  max-width: 600px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* 見出し */
.sec-title {
  background: var(--c-black);
  border-bottom: 3px solid var(--c-gold);
  padding: 8px 16px;
  text-align: center;
  font-family: var(--ff-serif);
  font-weight: 700;
  font-size: 32px;
  line-height: 30px;
  color: var(--c-white);
}

.box { border: 2px solid var(--c-line); }

/* ---------- 場所・期間 ---------- */
.info {
  width: calc(100% - 40px);   /* Figma SP: 335 / 375 */
  max-width: 600px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 17px 0 13px;
}
.info__item { display: flex; align-items: flex-start; gap: 8px; }
.info__item--period {
  align-items: center;
  border-top: 1px solid var(--c-line);
  padding-top: 18px;
}
.info__label {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 30.85px;
  padding: 0 10px;
  background: var(--c-ink);
  color: var(--c-white);
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
}
.info__place { font-weight: 700; font-size: 16px; line-height: 1.5; color: var(--c-ink); }
.info__period { font-weight: 700; line-height: 1; color: var(--c-ink); white-space: nowrap; }
.s11 { font-size: 11px; }
.s12 { font-size: 12px; }
.s20 { font-size: 20px; }
.s22 { font-size: 22px; }

/* ---------- イベント概要 ---------- */
.lead {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 24px 16px;
  color: var(--c-black);
}
.lead__title {
  font-family: var(--ff-serif);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.45;
  text-align: center;
}
.lead__body { display: flex; flex-direction: column; gap: 12px; font-size: 14px; line-height: 1.7; }

/* ---------- グッズメニュー ---------- */
.goods-row { display: none; }

.slider { position: relative; }
.slider__viewport {
  width: calc(100% - 31.5px);  /* Figma SP: 301.5 / 333 */
  margin: 0 auto;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.slider__viewport::-webkit-scrollbar { display: none; }
.slider__track { display: flex; gap: 16px; }
.slider__slide { flex: 0 0 100%; scroll-snap-align: start; }
.slider__slide img { width: 100%; }

.slider__arrow {
  position: absolute;
  top: calc((100% - 28px) / 2);  /* 画像部分の縦中央（下の●○ 20+8px を除く） */
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  z-index: 2;
}
.slider__arrow--prev { left: -6px; }
.slider__arrow--next { right: -6px; }
.slider__arrow--next img { transform: scaleX(-1); }

.slider__dots { display: flex; justify-content: center; gap: 0; margin-top: 12px; }
.slider__dot {
  width: 24px;
  height: 24px;
  padding: 8px;
  margin: -4px 0;
  background-clip: content-box;
  background-color: var(--c-dot);
  border-radius: 50%;
}
.slider__dot[aria-selected="true"] { background-color: var(--c-black); }

/* ---------- 購入特典 ---------- */
.bonus__text { font-size: 16px; line-height: 1.7; letter-spacing: -0.02em; }
.bonus__banner { display: block; width: 100%; pointer-events: none; cursor: default; }
.bonus__banner img { width: 100%; }

/* ---------- 開催概要 ---------- */
.overview { display: flex; flex-direction: column; gap: 24px; }

.venue {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px 16px;
  font-size: 14px;
  line-height: 1.7;
}
.venue__row { display: flex; gap: 14px; }
.venue__row + .venue__row { border-top: 1px solid var(--c-line); padding-top: 10px; }
.venue__row--place { padding-bottom: 6px; }
.venue__row dt { flex-shrink: 0; }
.venue__row dd { flex: 1; min-width: 0; }
.venue .k { font-size: 11px; }
.venue__map {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  line-height: 1.7;
}

.overview__cards { display: flex; flex-direction: column; gap: 24px; }
.card { display: flex; flex-direction: column; gap: 24px; padding: 20px 16px; }
.card__title { font-family: var(--ff-serif); font-weight: 600; font-size: 20px; line-height: 1.3; }
.card__body--limit { font-size: 14px; line-height: 1.7; letter-spacing: -0.01em; }
.card__body--limit p + p { margin-top: 1.7em; }
.card__note { font-size: 12px; }
.card__body--status { display: flex; flex-direction: column; gap: 12px; font-size: 16px; line-height: 1.7; }
.card__small { font-size: 12px; }

/* ---------- web販売 ---------- */
.webshop { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.webshop__logo { width: 259.77px; }
.webshop__period {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}
.webshop__label {
  width: 100%;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--c-line);
  font-family: var(--ff-serif);
  font-weight: 600;
  font-size: 20px;
  line-height: 1.3;
}
.webshop__date { font-weight: 600; line-height: 1.8; white-space: nowrap; }
.webshop__date .k { font-size: 11px; }
.webshop__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 306px;
  height: 55px;
  border-radius: 47px;
  background: var(--c-red);
  color: var(--c-white);
  font-family: var(--ff-serif);
  font-weight: 900;
  font-size: 18px;
  letter-spacing: 0.1em;
  text-decoration: none;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--c-navy);
  color: var(--c-white);
  padding: 32px 20px 16px;
}
.footer__inner {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.footer__lead { font-size: 14px; line-height: 1; text-align: center; }
.footer__sns {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  max-width: 306px;
  margin-top: 22px;
}
.footer__sns-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 41.71px;
  background: var(--c-white);
  border-radius: 2px;
  box-shadow: 0 1.97px 0 #060605;
}
.footer__sns-btn img { width: 148px; height: auto; }
.footer__copy {
  width: 100%;
  max-width: 335px;
  margin-top: 32px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.5);
  font-size: 12px;
  line-height: 1;
  letter-spacing: -0.01em;
  text-align: center;
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 40px;
  background: rgba(0, 0, 0, 0.8);
}
.lightbox[hidden] { display: none; }
.lightbox__img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}
.lightbox__close {
  position: absolute;
  top: 8px;
  right: 12px;
  width: 44px;
  height: 44px;
  color: var(--c-white);
  font-size: 40px;
  line-height: 44px;
}
body.is-locked { overflow: hidden; }

/* =========================================================
   Tablet + PC (768px+) : PCの見た目・動き
   ========================================================= */
@media (min-width: 768px) {
  .sp-only { display: none; }
  .pc-only { display: inline; }

  body {
    background: linear-gradient(180deg, #0d0807 0%, #120a0a 18%, #1c0909 85%, #3a0c0e 100%);
  }

  /* ---------- FV ---------- */
  .fv { overflow: hidden; background: #120a0a; }
  .fv__blur {
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    top: -151%;        /* Figma: top -849 / FV高さ 563 */
    height: 429%;      /* Figma: 2418 / 563 */
    background: url("../img/kv-blur-bg.jpg") center / cover no-repeat;
    filter: blur(24px);
    opacity: 0.3;
  }
  .fv__overlay {
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    top: -22.6%;       /* Figma: -127 / 563 */
    height: 129.7%;    /* Figma: 730 / 563 */
    background:
      linear-gradient(180deg, rgba(13, 8, 7, 0) 60%, #120a0a 100%),
      linear-gradient(90deg, rgba(18, 10, 10, 0.95) 0%, rgba(13, 8, 7, 0.2) 30%, rgba(13, 8, 7, 0.2) 70%, rgba(18, 10, 10, 0.95) 100%);
  }
  .fv__kv {
    position: relative;
    z-index: 1;
    display: block;
    width: min(var(--main-max), 100%);
    margin: 0 auto;
  }

  /* ---------- Anchor nav（FVが見えなくなったら上部に固定） ---------- */
  .anchor-nav {
    display: flex;
    justify-content: center;
    position: sticky;
    top: 0;
    z-index: 50;
    padding: 24px 0;
    transition: background-color 0.25s ease;
  }
  .anchor-nav.is-stuck { background-color: rgba(13, 8, 7, 0.92); }
  .anchor-nav__bar {
    display: flex;
    width: min(var(--main-max), 100% - 48px);
    height: 56px;
    background: var(--c-black);
    border: 1px solid var(--c-gold);
  }
  .anchor-nav__bar li { flex: 1; min-width: 0; }
  .anchor-nav__bar li + li { border-left: 1px solid var(--c-gold-40); }
  .anchor-nav__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 100%;
    font-family: var(--ff-serif);
    font-weight: 900;
    font-size: 18px;
    line-height: 1;
    color: var(--c-white);
    text-decoration: none;
    white-space: nowrap;
  }
  .section { scroll-margin-top: calc(var(--nav-h) + 8px); }

  /* ---------- Main（中央の白いエリア） ---------- */
  .main {
    width: min(var(--main-max), 100% - 48px);
    margin: 0 auto;
    background: var(--c-white);
    border-top: 1px solid var(--c-gold);
    box-shadow: 0 16px 64px rgba(0, 0, 0, 0.6);
  }
  .contents {
    align-items: stretch;
    padding: 24px 6% 64px;   /* Figma PC: 60 / 1000 */
  }
  .intro { gap: 24px; }
  .section { width: 100%; max-width: none; }

  /* 場所・期間 */
  .info {
    width: 100%;
    max-width: none;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 12px 48px;
    padding: 24px 20px;
  }
  .info__item { align-items: center; gap: 16px; }
  .info__item--period { border-top: 0; padding-top: 0; }
  .info__label { width: auto; height: auto; padding: 6px 20px; }

  /* イベント概要 */
  .lead__body { text-align: center; }

  /* グッズメニュー：横並び＋拡大表示 */
  .goods-row { display: flex; gap: 18px; }
  .goods-row__item { flex: 1; min-width: 0; cursor: zoom-in; }
  .goods-row__item img { width: 100%; }
  .slider { display: none; }

  /* 購入特典 */
  .bonus__text { text-align: center; }
  .bonus__banner {
    width: min(600px, 100%);
    margin: 0 auto;
    pointer-events: auto;
    cursor: zoom-in;
  }

  /* 開催概要 */
  .overview { gap: 18px; }
  .venue__row--place { padding-bottom: 0; }
  .venue__row--place dd { display: flex; flex-direction: column; gap: 4px; }
  .venue .k { font-size: inherit; }
  .overview__cards { flex-direction: row; gap: 18px; }
  .overview__cards .card { flex: 1; min-width: 0; }
  .card__body--status { gap: 28px; }

  /* web販売 */
  .webshop__period { flex-direction: row; justify-content: center; flex-wrap: wrap; gap: 12px; }
  .webshop__label {
    width: auto;
    padding: 0 12px 0 0;
    border-bottom: 0;
    border-right: 1px solid var(--c-line);
  }
  .webshop__date .k { font-size: 12px; }
  .webshop__btn { max-width: 472px; }

  /* Footer */
  .footer__sns { flex-direction: row; gap: 16px; max-width: 472px; }
  .footer__sns-btn { flex: 1; }
  .footer__copy { max-width: none; }
}

/* 会場名（SP）: Figmaどおり1行に収める（360px未満は自然に折り返し） */
@media (min-width: 360px) and (max-width: 767px) {
  .venue__name { white-space: nowrap; letter-spacing: -0.04em; }
}

/* イベント概要タイトル：区切りのよい位置で改行する */
.lead__title .ib { display: inline-block; }
@media (max-width: 767px) {
  .lead__title { letter-spacing: -0.04em; }
}
