@charset "UTF-8";



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

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

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

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

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

.ec-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;
}.ec-gallery-copy {
  width: 390px;
}

.ec-gallery-copy .work-number {
  margin: 0 0 8px;
  font-family: var(--font-serif);
  font-size: 38px;
  line-height: 1;
}

.ec-gallery-copy h1 {
  margin-bottom: 38px;
  font-size: 46px;
  line-height: 1.25;
  letter-spacing: .09em;
}

.ec-gallery-copy h1::after {
  content: "";
  display: block;
  width: 52px;
  height: 1px;
  margin-top: 24px;
  background: #1f1f1f;
}

.ec-gallery-copy p:last-child {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 2.2;
}

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

.gallery-filter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 42px;
}

.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;
}

.gallery-category {
  display: grid;
  grid-template-columns: 300px 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: 30px;
  line-height: 1.3;
}

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

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

.category-grid a {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 100%;

  aspect-ratio: 1 / 1;

  padding: 10px;

  background: #f6f3f1;

  overflow: hidden;

  transition:
    transform .35s ease,
    box-shadow .35s ease;
}

.category-grid img {
  width: 100%;
  height: 100%;

  object-fit: contain;
  object-position: center;

  transition:
    transform .4s ease,
    opacity .4s ease;
}

.category-grid a:hover img {
  transform: scale(1.06);
  opacity: .88;
}
.category-grid a:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(31,31,31,.08);
}
.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) {
  .ec-gallery-hero {
    min-height: 620px;
  }

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

  .category-grid {
    gap: 18px;
  }
}


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

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

  .ec-gallery-copy {
    width: 100%;
  }

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

  .gallery-filter {
    display: block;
  }

  .filter-list {
    gap: 12px;
    margin-bottom: 24px;
  }

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

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

  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.sort-select {

  border: none;
  background: transparent;

  font-family: inherit;

  font-size: 13px;
  font-weight: 600;

  cursor: pointer;

  outline: none;
}
.category-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  margin-top: 26px;

  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;

  transition: .25s ease;
}
.category-link:hover {
  transform: translateX(4px);
  opacity: .65;
}
.category-link span {
  transition: transform .25s ease;
}

.category-link:hover span {
  transform: translateX(4px);
}
@media (max-width: 768px) {
  .ec-page-head {
    padding-top: 100px;
    padding-bottom: 32px;
  }

  .ec-page-head-inner,
  .gallery-area {
    width: calc(100% - 40px);
  }

  .ec-page-head h1 {
    font-size: 34px;
  }
}
.category-grid a.is-hidden-thumb {
  visibility: hidden;
  pointer-events: none;
}