/* ══════════════════════════════════════════
   works.css — Works ページ専用スタイル
══════════════════════════════════════════ */

/* ─────────────────────
   Hero
───────────────────── */
.wk-hero {
  position: relative;
  width: 100%;
  height: 65vh;
  min-height: 420px;
  overflow: hidden;
  background: var(--dark);
}

.wk-hero-orb {
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: clamp(300px, 70vw, 900px);
  height: clamp(300px, 70vw, 900px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(210,100,30,.75) 0%, rgba(180,70,20,.4) 40%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

.wk-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(21,20,21,0)   0%,
    rgba(21,20,21,0)   50%,
    rgba(21,20,21,.7)  80%,
    rgba(21,20,21,1)  100%
  );
  z-index: 1;
}

.wk-hero-content {
  position: absolute;
  bottom: clamp(32px, 6vw, 70px);
  left: clamp(5%, 8vw, 10%);
  z-index: 2;
}

.wk-hero-sub {
  font-family: 'Shippori Mincho', serif;
  font-size: clamp(13px, 1.3vw, 17px);
  letter-spacing: .1em;
  color: rgba(239,228,211,.75);
  margin-bottom: 12px;
}

.wk-hero-title-img {
  width: clamp(220px, 38vw, 620px);
  height: auto;
  display: block;
}

.wk-hero-title-text {
  font-family: 'Shippori Mincho', serif;
  font-size: clamp(64px, 10vw, 140px);
  font-weight: 600;
  color: var(--cream);
  line-height: 1;
}

/* ─────────────────────
   Body
───────────────────── */
.wk-body {
  background: var(--dark);
  padding: clamp(48px, 6vw, 100px) clamp(5%, 8vw, 10%);
}

/* ─── Filter ─── */
.wk-filter {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: clamp(36px, 5vw, 64px);
}

.wk-filter-btn {
  font-family: 'Inter', sans-serif;
  font-size: clamp(10px, .9vw, 12px);
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: rgba(239,228,211,.65);
  background: transparent;
  border: .3px solid rgba(239,228,211,.3);
  border-radius: 999px;
  padding: 0 20px;
  height: 34px;
  cursor: pointer;
  transition: background .25s, color .25s, border-color .25s;
}

.wk-filter-btn:hover {
  border-color: rgba(200,90,28,.7);
  color: var(--cream);
}

.wk-filter-btn.active {
  background: rgba(200,90,28,.9);
  border-color: rgba(200,90,28,.9);
  color: #fff;
}

/* ─── Grid ─── */
.wk-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(40px, 5vw, 72px) clamp(12px, 2vw, 24px);
  max-width: 960px;
  margin: 0 auto;
}

.wk-item {
  overflow: hidden;
  border-radius: 4px;
}

.wk-item.hidden {
  display: none;
}

.wk-img-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  aspect-ratio: 4 / 3;
}

.wk-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s ease;
}

.wk-item:hover .wk-img-wrap img {
  transform: scale(1.04);
}

.wk-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(21,20,21,.75) 0%, rgba(21,20,21,0) 55%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(12px, 2vw, 20px);
  opacity: 0;
  transition: opacity .35s ease;
}

.wk-item:hover .wk-item-overlay {
  opacity: 1;
}

.wk-item-cat {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: rgba(239,228,211,.7);
  margin-bottom: 4px;
}

.wk-item-title {
  font-family: 'Shippori Mincho', serif;
  font-size: clamp(14px, 1.4vw, 18px);
  color: var(--cream);
  letter-spacing: .06em;
}

/* ─── Pagination ─── */
.wk-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: clamp(40px, 5vw, 72px);
}

.wk-page-btn {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  letter-spacing: 1.6px;
  color: rgba(239,228,211,.6);
  background: transparent;
  border: .3px solid rgba(239,228,211,.25);
  border-radius: 999px;
  width: 40px;
  height: 40px;
  cursor: pointer;
  transition: background .25s, color .25s, border-color .25s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wk-page-btn:hover {
  border-color: rgba(239,228,211,.6);
  color: var(--cream);
}

.wk-page-btn.active {
  background: rgba(200,90,28,.9);
  border-color: rgba(200,90,28,.9);
  color: #fff;
}

.wk-page-btn.arrow {
  font-size: 14px;
  letter-spacing: 0;
}

/* ─────────────────────
   nav active link
───────────────────── */

/* ─────────────────────
   スマホ
───────────────────── */
@media (max-width: 700px) {
  .wk-hero {
    height: 52vh;
    min-height: 300px;
  }

  .wk-hero-title-img {
    width: clamp(180px, 68vw, 360px);
  }

  .wk-filter {
    gap: 8px;
  }

  .wk-filter-btn {
    font-size: 9px;
    padding: 0 14px;
    height: 30px;
  }

  .wk-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .wk-item-overlay {
    opacity: 1;
  }
}
