@import url("https://fonts.googleapis.com/css2?family=Cormorant+Infant:ital,wght@0,300..700;1,300..700&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Noto+Sans+JP:wght@100..900&display=swap");
:root {
  --bk: #131313;
  --wh: #faf9ff;
}

@media screen and (max-width: 834px) {
  .pc {
    display: none !important;
  }
}

@media screen and (min-width: 835px) {
  .sp {
    display: none !important;
  }
}

@media screen and (max-width: 640px) {
  .pc-sm {
    display: none !important;
  }
}

@media screen and (min-width: 641px) {
  .sp-sm {
    display: none !important;
  }
}

@media screen and (max-width: 1024px) {
  .pc-tb {
    display: none !important;
  }
}

@media screen and (min-width: 1025px) {
  .sp-tb {
    display: none !important;
  }
}

.under499 {
  display: none !important;
}
@media screen and (max-width: 499px) {
  .under499 {
    display: block !important;
  }
}

/* A Modern CSS Reset */
*:where(:not(html, iframe, canvas, img, svg, video, audio):not(svg*, symbol*)) {
  all: unset;
  display: revert;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd,
ul,
ol {
  margin: 0;
}

a,
button {
  cursor: revert;
  padding: 0;
}

ol,
ul,
menu {
  list-style: none;
  padding-left: 0;
}

img {
  max-inline-size: 100%;
  max-block-size: 100%;
}

table {
  border-collapse: collapse;
}

th {
  font-weight: normal;
  text-align: left;
}

input,
textarea {
  -webkit-user-select: auto;
}

textarea {
  white-space: revert;
}

meter {
  -webkit-appearance: revert;
  -moz-appearance: revert;
       appearance: revert;
}

:where(pre) {
  all: revert;
}

::-moz-placeholder {
  color: unset;
}

::placeholder {
  color: unset;
}

::marker {
  content: initial;
}

:where([hidden]) {
  display: none;
}

:where([contenteditable]:not([contenteditable=false])) {
  -moz-user-modify: read-write;
  -webkit-user-modify: read-write;
  overflow-wrap: break-word;
  -webkit-line-break: after-white-space;
  -webkit-user-select: auto;
}

:where([draggable=true]) {
  -webkit-user-drag: element;
}

:where(dialog:modal) {
  all: revert;
}

.under {
  font-size: 16px;
  font-weight: 300;
}
@media screen and (max-width: 834px) {
  .under {
    font-size: 15px;
  }
}
.under__heading {
  margin-top: 25rem;
}
@media screen and (max-width: 834px) {
  .under__heading {
    margin-top: 20rem;
  }
}
@media screen and (max-width: 640px) {
  .under__heading {
    margin-top: 15rem;
  }
}
@media screen and (max-width: 376px) {
  .under__heading {
    margin-top: 10rem;
  }
}
.under__title {
  font-size: 80px;
  font-weight: 300;
  font-family: "Cormorant Infant", serif;
  text-align: center;
  color: var(--bk);
}
@media screen and (max-width: 834px) {
  .under__title {
    font-size: 60px;
  }
}
@media screen and (max-width: 640px) {
  .under__title {
    font-size: 40px;
  }
}
@media screen and (max-width: 376px) {
  .under__title {
    font-size: 30px;
  }
}

.gallery-page {
  background-color: #E3E5E6;
}
.gallery__controller {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  border-bottom: 1px solid #ccc;
  padding: 15rem 0 2rem;
}
@media screen and (max-width: 834px) {
  .gallery__controller {
    padding: 10rem 0 2rem;
  }
}
@media screen and (max-width: 640px) {
  .gallery__controller {
    padding: 5rem 0 1rem;
  }
}
@media screen and (max-width: 376px) {
  .gallery__controller {
    padding: 2rem 0 1rem;
  }
}
.gallery__title {
  font-size: 18px;
  font-weight: 300;
  font-family: "Cormorant Infant", serif;
  margin-right: 10rem;
  cursor: pointer;
}
@media screen and (max-width: 834px) {
  .gallery__title {
    margin-right: 5rem;
    font-size: 16px;
  }
}
@media screen and (max-width: 640px) {
  .gallery__title {
    margin-right: 2rem;
    font-size: 14px;
  }
}
.gallery__nav-list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 7rem;
  font-size: 20px;
  font-weight: 300;
  font-family: "Inter", sans-serif;
  color: rgba(22, 21, 21, 0.5);
  cursor: pointer;
  transition: color 0.3s ease-out;
}
@media screen and (max-width: 834px) {
  .gallery__nav-list {
    gap: 3rem;
    font-size: 18px;
  }
}
@media screen and (max-width: 640px) {
  .gallery__nav-list {
    gap: 1rem;
    font-size: 16px;
  }
}
.gallery__nav-list .active {
  color: rgb(22, 21, 21);
  transition: color 0.3s ease-out;
}
.gallery__list {
  grid-template-columns: repeat(3, minmax(400px, 1fr));
  gap: 10rem 4rem;
  margin-top: 10rem;
  display: none;
}
@media screen and (max-width: 1500px) {
  .gallery__list {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 8rem 3rem;
    margin-top: 8rem;
  }
}
@media screen and (max-width: 834px) {
  .gallery__list {
    grid-template-columns: repeat(2, minmax(200px, 1fr));
    gap: 3rem 2rem;
    margin-top: 6rem;
  }
}
@media screen and (max-width: 499px) {
  .gallery__list {
    grid-template-columns: repeat(2, minmax(150px, 1fr));
    gap: 1.5rem 1rem;
    margin-top: 4rem;
  }
}
.gallery__list.visible {
  display: grid;
}
.gallery__item {
  position: relative;
  overflow: hidden;
}
.gallery__item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}
.gallery__item img:hover {
  transform: scale(1.05);
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(51, 51, 51, 0.8);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}
.modal.is-visible {
  display: flex;
}
.modal__inner {
  position: relative;
  background-color: #333;
  padding: 0;
  max-width: 100%;
  max-height: 100%;
  overflow: visible;
}
.modal__close {
  position: absolute;
  top: -4.5rem;
  right: 0;
  width: 30px;
  height: 30px;
  background: none;
  border: none;
  cursor: pointer;
}
.modal__close span {
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 1px;
  background-color: #fff;
}
.modal__close span:first-child {
  transform: translate(-50%, -50%) rotate(45deg);
}
.modal__close span:last-child {
  transform: translate(-50%, -50%) rotate(-45deg);
}
.modal__content img {
  max-width: 600px;
  max-height: 750px;
  display: block;
  margin: 0 auto;
}/*# sourceMappingURL=gallery.css.map */