html {
  font-size: 10px;
}

#works-body {
  background: #F6F4F2;
}

#works.--new {
  width: 100%;
}

/* ===== メインタイトル ===== */
#works.--new .main-title {
  background: url("../images/new/main-title_bg.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  height: 328px;
}
@media (max-width: 768px) {
  #works.--new .main-title {
    height: auto;
    padding-block: 10%;
  }
}

#works.--new .main-title__wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

#works.--new .main-title .en {
  display: block;
  color: #5C5C5C;
  font-family: Abel;
  font-size: 6.4rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
}
@media (max-width: 1024px) {
  #works.--new .main-title .en {
    font-size: 3.2rem;
  }
}
@media (max-width: 768px) {
  #works.--new .main-title .en {
    font-size: 2.4rem;
  }
}

#works.--new .main-title .jp {
  display: block;
  color: #8A7B7F;
  font-family: "Noto Sans JP";
  font-size: 1.2rem;
  font-style: normal;
  font-weight: 500;
  line-height: 1.33;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
}

#works.--new .main-title .jp::before {
  content: "";
  display: block;
  border-radius: 1px;
  background: #E85471;
  width: 4px;
  height: 4px;
}

/* ===== パンくず ===== */
#works.--new #panlistid {
  display: block;
  margin: 0;
  padding: 0;
  padding-bottom: 48px;
}

#works.--new #panlistid ul {
  color: #A19182;
  font-family: "Noto Sans JP";
  font-size: 1.4rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1.71;
}

/* ===== カテゴリフィルター ===== */
#works.--new .cate-list {
  margin-bottom: 48px;
}
@media (max-width: 768px) {
  #works.--new .cate-list {
    margin-bottom: 8%;
  }
}

#works.--new .cate-list .cate-ttl {
  color: #5C5C5C;
  font-family: "Noto Sans JP";
  font-size: 1.6rem;
  font-style: normal;
  font-weight: 400;
  line-height: 2;
  border-bottom: 1px solid #D3C8BE;
  margin-bottom: 24px;
}

#works.--new .cate-list__wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* インライン background を上書きしてボーダースタイルへ */
#works.--new .cate-list__wrap a {
  background: transparent !important;
  border: 1px solid #D4CBCD;
  color: #5C5C5C !important;
  border-radius: 9999px;
  padding: 8px 16px;
  font-family: "Noto Sans JP";
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  margin: 0;
  transition: opacity 0.3s;
}

#works.--new .cate-list__wrap a:hover {
  opacity: 0.7;
}

#works.--new .cate-list__wrap a.is-active {
  background: #463A3D !important;
  border-color: #463A3D;
  color: #FFF !important;
  opacity: 1;
}

/* ===== カードグリッド ===== */
#works.--new .system-list {
  all: unset;
  display: flex;
  flex-wrap: wrap;
  gap: 56px 24px;
}

#works.--new .system-list__item {
  width: 304px;
  margin: 0;
  padding: 0;
  background: none;
  list-style: none;
  min-height: auto;
  box-shadow: none;
}
@media (max-width: 1024px) {
  #works.--new .system-list__item {
    width: 48%;
  }
}
@media (max-width: 767px) {
  #works.--new .system-list__item {
    width: 100%;
    padding-bottom: 4%;
  }
}

#works.--new .system-list__item a {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.3s;
}

#works.--new .system-list__item a:hover {
  opacity: 0.8;
}

/* サムネイル */
#works.--new .system-list .system-pic.fit {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  aspect-ratio: 4 / 3;
  margin-bottom: 16px;
}

#works.--new .system-list .system-pic.fit img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ロゴバッジ */
#works.--new .system-list .works_lineup_logo {
  position: absolute;
  bottom: 10px;
  left: 10px;
  display: flex;
  gap: 6px;
}

#works.--new .system-list .works_lineup_logo p {
  margin: 0;
}

#works.--new .system-list .works_lineup_logo img {
  height: 28px;
  width: auto;
  object-fit: contain;
}

/* テキストボックス */
#works.--new .system-list .text-box {
  padding: 0;
}

/* カードタイトル */
#works.--new .system-list .system-ttl-01 {
  display: block;
  margin-bottom: 10px;
  color: #463A3D;
  font-family: "Noto Sans JP";
  font-size: 1.6rem;
  font-style: normal;
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: 0.05em;
}
@media (max-width: 1024px) {
  #works.--new .system-list .system-ttl-01 {
    font-size: 1.4rem;
  }
}

/* カードタグ */
#works.--new .system-list .system-category2 {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
}

/* インライン background を上書きしてボーダースタイルへ */
#works.--new .system-list .system-category2 span {
  background: transparent !important;
  border: 1px solid #D4CBCD;
  color: #5C5C5C !important;
  border-radius: 40px;
  padding: 6px 12px;
  font-family: "Noto Sans JP";
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1;
  display: inline-block;
}

/* ===== ページネーション ===== */
#works.--new .page-list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-block: 80px 120px;
}
@media (max-width: 767px) {
  #works.--new .page-list {
    margin-block: 8% 12%;
  }
}

#works.--new .page-list .page-numbers {
  font-family: Abel;
  font-size: 1.6rem;
  font-weight: 400;
  color: #5C5C5C;
  text-align: center;
  letter-spacing: 0.05em;
  opacity: 0.4;
  background: none !important;
  border: none !important;
  text-decoration: none;
  padding: 0;
  min-width: 24px;
  line-height: 1;
  transition: opacity 0.3s;
}

#works.--new .page-list .page-numbers:hover {
  opacity: 0.7;
}

#works.--new .page-list .current.page-numbers {
  opacity: 1;
  font-size: 2rem;
}

#works.--new .page-list .prev.page-numbers {
  font-size: 0;
  min-width: auto;
  opacity: 0.6;
}
#works.--new .page-list .prev.page-numbers::before {
  content: "←";
  font-size: 1.6rem;
  font-family: Abel;
}

#works.--new .page-list .next.page-numbers {
  font-size: 0;
  min-width: auto;
  opacity: 0.6;
}
#works.--new .page-list .next.page-numbers::after {
  content: "→";
  font-size: 1.6rem;
  font-family: Abel;
}
