@charset "UTF-8";

.banner-page-head {
  padding-top: 120px;
  padding-bottom: 35px;
}

.banner-page-head-inner {
  width: min(1280px, calc(100% - 80px));
  margin: 0 auto;
}

.banner-page-head .breadcrumb {
  margin-bottom: 28px;
}

.banner-page-head .work-number {
  margin: 0 0 8px;
  color: var(--color-pink);
  font-family: var(--font-serif);
  font-size: 38px;
  line-height: 1;
}

.banner-page-head h1 {
  margin-bottom: 18px;
  font-size: 45px;
  line-height: 1.1;
  letter-spacing: .08em;
}

.banner-page-head h1::after {
  content: "";
  display: block;
  width: 60px;
  height: 1px;
  margin-top: 22px;
  background: #1f1f1f;
}

.page-lead {
  margin-top: 24px;
  font-size: 14px;
  line-height: 2;
  font-weight: 600;
}

.banner-gallery-area {
  width: min(1280px, calc(100% - 80px));
  margin: 0 auto;
  padding: 58px 0 120px;
}

.banner-filter {
  margin-bottom: 60px;
}

.filter-list {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.filter-list button {
  min-width: 138px;
  height: 44px;
  border: 1px solid #ddd5cf;
  border-radius: 999px;
  background: #fff;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  color: #1f1f1f;
  cursor: pointer;
  transition: .25s ease;
}

.filter-list button:hover,
.filter-list button.is-active {
  background: #ead8ce;
  border-color: #ead8ce;
  color: #1f1f1f;
}

.banner-category {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 70px;
  padding: 36px 0 46px;
  border-bottom: 1px solid #e3ddd8;
}

.category-en {
  margin-bottom: 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
}

.category-text h2 {
  margin-bottom: 22px;
  font-size: 26px;
  line-height: 1.3;
}

.category-text p:last-of-type {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  line-height: 2;
}

.category-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 26px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  transition: opacity .25s ease, transform .25s ease;
}

.category-link span {
  transition: transform .25s ease;
}

.category-link:hover {
  opacity: .65;
}

.category-link:hover span {
  transform: translateX(4px);
}

.banner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 22px;
}


.banner-grid a:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(31,31,31,.08);
}

.banner-grid img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition:
    transform .4s ease,
    opacity .4s ease;
}
.banner-grid a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 4 / 3;
  padding: 10px;
  background: #f6f3f1;
  overflow: hidden;
  transition:
    transform .35s ease,
    box-shadow .35s ease;
}
.banner-category[data-category="special"] .banner-grid a {

  aspect-ratio: 4 / 3;
}
.banner-grid a:hover img {
  transform: scale(1.06);
  opacity: .9;
}

.gallery-note {
  margin: 46px 0 0;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
}
.gallery-category .is-extra,
.banner-category .is-extra {
  display: none;
}

.gallery-category.is-expanded .is-extra,
.banner-category.is-expanded .is-extra {
  display: flex;
}
.category-link:hover {
  color: var(--color-hover);
  opacity: 1;
}

.category-link:hover span {
  transform: translateX(4px);
}
@media (max-width: 1080px) {
  .banner-hero {
    min-height: clamp(560px, 78vh, 760px);
  }

  .banner-category {
    grid-template-columns: 220px 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .banner-hero {
    min-height: auto;
    padding: 88px 0 80px;
    background-position: center;
  }

  .banner-hero-inner,
  .banner-gallery-area {
    width: calc(100% - 40px);
  }

  .banner-copy {
    width: 100%;
  }

  .banner-copy h1 {
    font-size: 34px;
  }

  .filter-list {
    gap: 12px;
  }

  .filter-list button {
    min-width: auto;
    height: 40px;
    padding: 0 20px;
  }

  .banner-category {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .banner-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.work-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
}

.work-modal.is-open {
  display: block;
}

.work-modal-bg {
  position: absolute;
  inset: 0;
  background: rgba(31,31,31,.72);
}

.work-modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(1180px, calc(100% - 48px));
  max-height: calc(100vh - 70px);
  transform: translate(-50%, -50%);
  background: #fff;
  padding: 42px;
  display: grid;
  grid-template-columns: 1.45fr .9fr;
  gap: 44px;
  overflow-y: auto;
}

.work-modal-close {
  position: absolute;
  top: 24px;
  right: 28px;
  border: none;
  background: transparent;
  font-size: 30px;
  cursor: pointer;
}

.work-modal-main {
  background: #f6f3f1;
}

.work-modal-main img {
  width: 100%;
  max-height: 520px;
  object-fit: contain;
}

.modal-thumb-area {
  display: grid;
  grid-template-columns: 36px 1fr 36px;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
}

.modal-thumbs {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-behavior: smooth;
}

.modal-thumb {
  flex: 0 0 150px;
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.modal-thumb img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: #f6f3f1;
  padding: 8px;
}

.modal-thumb.is-active img {
  outline: 2px solid #1f1f1f;
}

.modal-thumb span {
  display: block;
  margin-top: 8px;
  font-size: 11px;
  font-weight: 700;
  text-align: center;
}

.thumb-arrow {
  width: 36px;
  height: 36px;
  border: 1px solid #ddd5cf;
  background: #fff;
  cursor: pointer;
}

.modal-category {
  margin-bottom: 18px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
}

.modal-title {
  margin-bottom: 22px;
  font-size: 24px;
}

.modal-lead {
  margin-bottom: 28px;
  font-size: 13px;
  font-weight: 600;
  line-height: 2;
}

.modal-info {
  margin: 0;
}

.modal-info div {
  display: grid;
  grid-template-columns: 90px 1fr;
  padding: 14px 0;
  border-top: 1px solid #e3ddd8;
}

.modal-info div:last-child {
  border-bottom: 1px solid #e3ddd8;
}

.modal-info dt,
.modal-info dd {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
}

.modal-point {
  margin-top: 30px;
}

.modal-point h3,
.modal-tags h3 {
  margin-bottom: 12px;
  font-size: 12px;
  letter-spacing: .12em;
}

.modal-point p {
  font-size: 13px;
  font-weight: 600;
  line-height: 2;
}

.modal-tags {
  margin-top: 28px;
}

.modal-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.modal-tag-list span {
  padding: 5px 10px;
  border: 1px solid #e3ddd8;
  background: #fff;
  font-size: 11px;
  font-weight: 700;
}
body.is-modal-open {
  overflow: hidden;
}

@media (max-width: 768px) {
  .work-modal-content {
    width: calc(100% - 32px);
    max-height: calc(100vh - 40px);
    padding: 28px 20px;
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .work-modal-close {
    top: 12px;
    right: 16px;
  }

  .work-modal-main img {
    max-height: 300px;
  }

  .modal-thumb-area {
    grid-template-columns: 30px 1fr 30px;
    gap: 8px;
  }

  .modal-thumb {
    flex-basis: 110px;
  }

  .modal-info div {
    grid-template-columns: 80px 1fr;
  }
}
