﻿/* パンくず 追加スタイル PC */
@media only screen and (min-width: 768px) {
  .breadcrumb__list {
    padding-bottom: 1.6rem;
  }
}

/* --- for small viewport --- */
.main-area {
  --font-aktiv-grotesk: "aktiv-grotesk", sans-serif;
  margin: 0 auto;
}
.main-area :where(img, svg, iframe) {
  width: 100%;
  height: auto;
}
.p-movie {
  position: sticky;
  top: var(--headerHeight, 0px);
  z-index: -1;
}
.p-movie iframe {
  aspect-ratio: 16 / 9;
}
.p-contents {
  position: relative;
  z-index: 2;
  background-color: var(--white, #fff);
}
.p-keyvisual {
}
/* Gallery */
.p-gallery {
}
.p-gallery__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 100%));
  gap: var(--gap-x, 0px) var(--gap-y, 0px);
}
.p-gallery__item {
}
.p-gallery__trigger {
  display: block;
}
/* Modal */
.p-modal {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 101;
  display: none;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  background-color: var(--white, #fff);
}
.p-modal-body {
  height: 100%;
  margin: 0 auto;
}
.p-modal-contents {
  height: 100%;
}
.p-modal-inner {
  position: relative;
}
.p-modal-close {
  position: absolute;
  z-index: 1;
}
.p-modal-placeholder {
  display: flex;
}
.p-modal__image {
}
.p-modal__text-wrapper {
}
.p-modal__text {
  font-family: var(--font-aktiv-grotesk);
  font-weight: var(--font-weight-light, 300);
  color: var(--dugong, #707070);
  line-height: 2;
  letter-spacing: 0.05em;
}
.p-modal__credit {
  display: inline;
  text-decoration: underline;
}
.p-modal__credit--disabled {
  text-decoration: none;
  pointer-events: none;
  cursor: default;
}
/* STAFF CREDIT */
.p-staff {
  display: flex;
}
.p-staff__heading {
  line-height: 1.3125;
}
.p-staff__heading span {
  font-family: var(--font-aktiv-grotesk);
  color: var(--dugong, #707070);
  text-decoration: underline;
  letter-spacing: 0.05em;
}
.p-staff__credit {
  font-family: var(--font-aktiv-grotesk);
  color: var(--dugong, #707070);
  line-height: 2.14;
  letter-spacing: 0.05em;
}
/* Button */
.p-button {
  display: grid;
  place-items: center;
  margin: 0 auto;
  font-weight: 600;
  text-align: center;
  border: 1px solid var(--black, #000);
}
@media screen and (max-width: 767px) {
  .main-area {
    width: 100%;
    padding-bottom: calc(112 * (100vw / 375));
  }
  .p-movie {
    margin-bottom: calc(30 * (100vw / 375));
  }
  .p-keyvisual {
  }
  /* Gallery */
  .p-gallery {
    margin-top: calc(30 * (100vw / 375));
  }
  .p-gallery__list {
    --gap-x: calc(8 * (100vw / 375));
    --gap-y: calc(8 * (100vw / 375));
  }
  .p-gallery__item {
  }
  .p-gallery__trigger {
  }
  /* Modal */
  .p-modal {
    padding: calc(55 * (100vw / 375)) calc(45 * (100vw / 375));
  }
  .p-modal-body {
    width: 100%;
  }
  .p-modal-inner {
    height: 100%;
  }
  .p-modal-close {
    top: calc(-40 * (100vw / 375));
    right: calc(-30 * (100vw / 375));
    width: calc(15 * (100vw / 375));
    height: calc(15 * (100vw / 375));
  }
  .p-modal-placeholder {
    flex-direction: column;
    row-gap: calc(19 * (100vw / 375));
    height: 100%;
  }
  .p-modal__image {
  }
  .p-modal__image img {
    height: 100%;
    object-fit: contain;
  }
  /* .p-modal__text-wrapper {
    overflow-y: auto;
    overscroll-behavior-y: contain;
  } */
  .p-modal__text {
    font-size: calc(12 * (100vw / 375));
  }
  .p-modal__credit {
  }
  /* STAFF CREDIT */
  .p-staff {
    margin-top: calc(60 * (100vw / 375));
    padding: 0 calc(15 * (100vw / 375));
    align-items: flex-start;
    flex-direction: column;
    row-gap: calc(30 * (100vw / 375));
  }
  .p-staff__heading {
    font-size: calc(16 * (100vw / 375));
  }
  .p-staff__credit {
    font-size: calc(14 * (100vw / 375));
  }
  /* Button */
  .p-button {
    width: calc(266 * (100vw / 375));
    height: calc(50 * (100vw / 375));
    margin-top: calc(60 * (100vw / 375));
    font-size: calc(14 * (100vw / 375));
  }
}
/* --- for large viewport --- */
@media screen and (min-width: 768px) {
  .main-area {
    width: min(100%, 124rem);
    padding: 0 2rem 10rem;
  }
  .p-keyvisual {
  }
  /* Gallery */
  .p-gallery {
    margin-top: 10rem;
  }
  .p-gallery__list {
    --gap-x: 6rem;
    --gap-y: 7rem;
  }
  .p-gallery__item {
  }
  .p-gallery__trigger {
  }
  /* Modal */
  .p-modal {
    padding: 4.1rem 0;
  }
  .p-modal-body {
    position: relative;
    width: min(100%, 98rem);
    margin: 0 auto;
    padding: 0 2rem;
  }
  .p-modal-contents {
    display: flex;
    align-items: center;
    padding: 0 2rem;
  }
  .p-modal-inner {
    position: relative;
  }
  .p-modal-close {
    top: 0;
    right: 0;
    width: 1.556rem;
    height: 1.556rem;
  }
  .p-modal-placeholder {
    justify-content: center;
    align-items: flex-end;
  }
  .p-modal__image,
  .p-modal__text-wrapper {
    flex-grow: 0;
    flex-shrink: 0;
    width: 50%;
  }
  .p-modal__image {
  }
  .p-modal__image img {
  }
  .p-modal__text-wrapper {
    display: grid;
    place-items: end;
  }
  .p-modal__text {
    font-size: 1.2rem;
  }
  /* STAFF CREDIT */
  .p-staff {
    column-gap: 8rem;
    margin-top: 8rem;
  }
  .p-staff__heading {
    font-size: 1.6rem;
  }
  .p-staff__credit {
    font-size: 1.4rem;
  }
  /* Button */
  .p-button {
    width: 26.6rem;
    height: 5rem;
    margin-top: 8rem;
    font-size: 1.4rem;
  }
}
