@charset "utf-8";
* {margin: 0;padding: 0;
/* outline: 1px solid #e61111;*/
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
.b576 {display: none;}@media (max-width: 576px) {.b576{display: block;}}
.b768 {display: none;}@media (max-width: 768px) {.b768{display: block;}}
.mvsp {display: none;}
@media screen and (max-width: 767px) {
  .mvpc {display: none;}
  .mvsp {display: block;}
}
.container {
  --bs-gutter-x: 1.5rem;
  --bs-gutter-y: 0;
  width: 100%;
  padding-right: calc(var(--bs-gutter-x) * 0.5);
  padding-left: calc(var(--bs-gutter-x) * 0.5);
  margin-right: auto;
  margin-left: auto;
}
@media (min-width: 576px) {.container {max-width: 540px;}}
@media (min-width: 768px) {.container {max-width: 720px;}}
@media (min-width: 992px) {.container {max-width: 960px;}}
@media (min-width: 1200px) {.container {max-width: 1140px;}}
@media (min-width: 1400px) {.container {max-width: 1320px;}}
.row {
  display: flex;
  flex-wrap: wrap;
  margin-left: -0.75rem;
  margin-right: -0.75rem;
}
/* ページ内アンカーリンク */
.anchor{
display: block;
padding-top: 80px; /* headerサイズに合わせる */
margin-top: -80px;
z-index: -1;
}
p{margin: bottom 20px;}
.t-center{
    text-align: center;
}
/* フォントサイズ自動化 MIN375 MAX1920*/
.p16 { /*15-16*/
 font-size:clamp(0.938rem, 0.922rem + 0.06vw, 1rem);
}
.p13 { /*13-16*/
 font-size: clamp(0.8125rem, 1vw, 1rem);
}
.p14 { /*14-15*/
 font-size: clamp(0.875rem, 0.86rem + 0.06vw, 0.938rem);
}

/* =========================
   制作実績ページ
========================= */

/* フィルターセクション */
.wk-filter {
  padding: 80px 0 60px;
  background-color: #111;
  position: relative;
  overflow: hidden;
}

.wk-filter::before {
  content: 'WORKS';
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
  font-family: 'IM Fell English SC', serif;
  font-size: 180px;
  color: rgba(154, 125, 74, 0.05);
  line-height: 1;
  pointer-events: none;
  white-space: nowrap;
  user-select: none;
  z-index: 0;
}

.wk-filter .container {
  position: relative;
  z-index: 1;
}

.wk-filter-ja {
  color: #fff !important;
}

.wk-filter-lead {
  text-align: center;
  color: rgba(245, 241, 235, 0.45);
  font-size: 0.88rem;
  line-height: 2;
  margin-top: 20px;
  letter-spacing: 0.12em;
  font-family: "Noto Serif JP", serif;
}

/* カテゴリタブ */
.wk-filter-tabs {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0;
  padding: 0;
}

.wk-filter-tab {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.18em;
  padding: 8px 22px;
  text-decoration: none;
  color: rgba(245, 241, 235, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-family: "Noto Serif JP", serif;
  transition: 0.25s;
}

.wk-filter-tab:hover {
  color: #b9a78b;
  border-color: rgba(185, 167, 139, 0.4);
}

.wk-filter-tab.is-active {
  color: #fdfaf6;
  border-color: #b9a78b;
  background: rgba(185, 167, 139, 0.1);
}


/* グリッドセクション */
.wk-grid-section {
  padding: 0 0 100px;
  background-color: #111;
}

/* グリッド本体 */
.wk-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

/* 各アイテム */
.wk-item {
  position: relative;
  overflow: hidden;
  display: block;
  text-decoration: none;
  aspect-ratio: 4 / 3;
  background: #1a1612;
}

/* サムネイル画像 */
.wk-item-img {
  width: 100%;
  height: 100%;
}

.wk-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.wk-item:hover .wk-item-img img {
  transform: scale(1.06);
}

/* 画像なし */
.wk-item-noimg {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #2a2520, #1a1612);
  display: flex;
  align-items: center;
  justify-content: center;
}

.wk-item-noimg span {
  font-family: "Noto Serif JP", serif;
  font-size: 0.9rem;
  color: rgba(185, 167, 139, 0.5);
  text-align: center;
  padding: 16px;
}

/* ホバーオーバーレイ */
.wk-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 10, 6, 0.75);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.wk-item:hover .wk-item-overlay {
  opacity: 1;
}

.wk-item-cat {
  font-size: 10px;
  letter-spacing: 0.25em;
  color: #b9a78b;
  display: block;
  margin-bottom: 8px;
  font-family: 'IM Fell English SC', serif;
}

.wk-item-title {
  font-size: 1rem;
  color: #fdfaf6;
  font-weight: 500;
  display: block;
  margin-bottom: 12px;
  line-height: 1.5;
  font-family: "Noto Serif JP", serif;
}

.wk-item-arrow {
  font-size: 11px;
  color: rgba(245, 241, 235, 0.6);
  letter-spacing: 0.1em;
  border-bottom: 1px solid rgba(245, 241, 235, 0.3);
  padding-bottom: 2px;
  font-family: "Noto Serif JP", serif;
}

/* 空の場合 */
.wk-empty {
  text-align: center;
  color: rgba(245, 241, 235, 0.4);
  padding: 80px 0;
  font-family: "Noto Serif JP", serif;
  letter-spacing: 0.12em;
}

/* ページネーション（新デザイン） */
.wk-pagination {
  display: flex;
  justify-content: center;
  margin-top: 64px;
}

.wk-pagination .nav-links {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}

.wk-pagination a,
.wk-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 14px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-decoration: none;
  color: rgba(245, 241, 235, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-family: "Noto Serif JP", serif;
  transition: 0.25s;
  box-sizing: border-box;
}

.wk-pagination a:hover {
  color: #b9a78b;
  border-color: rgba(185, 167, 139, 0.4);
}

.wk-pagination .current {
  color: #fdfaf6;
  border-color: #b9a78b;
  background: rgba(185, 167, 139, 0.12);
}

.wk-pagination .dots {
  border: none;
  color: rgba(245, 241, 235, 0.25);
}

/* タブレット */
@media screen and (max-width: 991px) {
  .wk-filter::before {
    font-size: 120px;
  }

  .wk-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* スマホ */
@media screen and (max-width: 767px) {
  .wk-filter {
    padding: 60px 0 48px;
  }

  .wk-filter::before {
    font-size: 72px;
    right: 0;
    top: 16px;
    transform: none;
  }

  .wk-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
  }

  .wk-item-overlay {
    opacity: 1;
    background: rgba(15, 10, 6, 0.5);
    padding: 14px;
  }

  .wk-item-cat {
    font-size: 9px;
  }

  .wk-item-title {
    font-size: 0.82rem;
    margin-bottom: 6px;
  }

  .wk-item-arrow {
    font-size: 10px;
  }

  .wk-grid-section {
    padding: 0 0 70px;
  }

  .wk-pagination a,
  .wk-pagination span {
    min-width: 38px;
    height: 38px;
    font-size: 11px;
  }
}