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

@font-face {
  font-family: 'OldSansBlack';
  src:
    local('OldSansBlack'),
    url('../fonts/OldSansBlack.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* LPコンテンツ */
.main-area {
  --font-noto-sans-jp: "Noto Sans JP";
  --font-old-sans-black: "OldSansBlack";

  --font-ja: var(--font-noto-sans-jp), sans-serif;
  --font-en: var(--font-old-sans-black), sans-serif;

  font-family: var(--font-ja);
  margin: 0 auto;
}
.main-area :where(img, svg, iframe) {
  width: 100%;
  height: auto;
}
.main-area .js-fadeIn {
  opacity: 0;
  transform: translateY(30px);
  transition: 1s ease;
  transition-property: opacity, transform;
}
.main-area .js-fadeIn[data-transition-delay="1"] {
  transition-delay: 0s;
}
.main-area .js-fadeIn[data-transition-delay="2"] {
  transition-delay: 0.25s;
}
.main-area .js-fadeIn[data-transition-delay="3"] {
  transition-delay: 0.5s;
}
.main-area .js-fadeIn.active {
  opacity: 1;
  transform: translateY(0);
}
.p-keyvisual {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.p-lead {
  text-align: center;
}
.p-lead-heading {
  line-height: 1.67;
  letter-spacing: 0.05em;
}
.p-lead-text {
  line-height: 2;
  letter-spacing: 0.05em;
}
/* Gallery */
.p-gallery {
  margin: 0 auto;
}
.p-gallery__group {
  width: var(--gallery-group-container, var(--gallery-group-container-default));
  margin: 0 auto;
}
.p-gallery__group--full {
  --gallery-group-container: var(--gallery-group-container-full);
}
.p-gallery__group--col2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.p-gallery__group--col3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.p-gallery__group--pattern {
  background:
    center / cover
    no-repeat;
}
.p-gallery__group--pattern .p-gallery__group__inner {
  display: grid;
}
.p-gallery__group--pattern .p-gallery__group__inner > * {
  grid-area: 1 / 1 / 2 / 2;
}
.p-gallery__group--pattern .p-gallery__group__inner > :nth-of-type(1) {
  z-index: 2;
  place-self: start;
}
.p-gallery__group--pattern .p-gallery__group__inner > :nth-of-type(2) {
  z-index: 1;
  place-self: end;
}
.p-gallery__group button {
  width: 100%;
}
.p-gallery__introduction {
  --color-introduction-purple: rgb(224 187 218 / 0.6);
  --color-introduction-blue: rgb(167 208 239 / 0.6);

  display: grid;
  font-family: var(--font-en);
}
.p-gallery__introduction::before {
  content: "";
  display: block;
  grid-area: 2 / 1 / 3 / 2;
  place-self: end start;
  z-index: 1;
  background-color: var(--color-introduction-blue);
}
.p-gallery__introduction-heading {
  grid-area: 1 / 1 / 2 / 2;
  place-self: end start;
  z-index: 3;
  letter-spacing: 0.01em;
}
.p-gallery__introduction-image {
  grid-area: 1 / 1 / 3 / 3;
  place-self: start end;
  z-index: 2;
}
.p-gallery__introduction-lead {
  grid-area: 2 / 1 / 3 / 2;
  place-self: start end;
  z-index: 3;
  line-height: 1.5;
  letter-spacing: 0.01em;
  background-color: var(--color-introduction-purple);
}
/* 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-wrap{
  display: grid;
  height: 100%;
}
.p-modal-body {
  height: 100dvh;
  margin: 0 auto;
}
.p-modal-contents {
  position: relative;
  display: grid;
}
.p-modal-close {
  position: absolute;
  z-index: 1;
}
.p-modal__image {
}
.p-modal__image img {
  object-fit: contain;
}
.p-modal__text-wrapper {
  position: relative;
}
.p-modal__text {
  font-weight: var(--font-weight-regular, 400);
  line-height: 2;
  letter-spacing: 0.05em;
}
.p-modal__text span{
  font-weight: bold;
}
.p-modal__credit {
  display: inline;
  text-decoration: underline;
}
.p-modal__credit--disabled {
  text-decoration: none;
  pointer-events: none;
  cursor: default;
}
/* Button */
.p-button {
  display: grid;
  place-items: center;
  margin: 0 auto;
  font-weight: 600;
  text-align: center;
  border: 1px solid var(--black, #000);
}
/* --- for small viewport --- */
@media screen and (max-width: 767px) {
  .main-area {
    width: 100%;
    padding-bottom: calc(117 *(100vw / 375));
  }
  .p-lead {
    padding: calc(40 *(100vw / 375)) 0;
  }
  .p-lead-heading {
    font-size: calc(18 *(100vw / 375));
  }
  .p-lead-text {
    margin-top: calc(20 *(100vw / 375));
    font-size: calc(12 *(100vw / 375));
  }
  /* Gallery */
  .p-gallery {
    width: 100%;
    margin-top: calc(40 * (100vw / 375));
  }
  .p-gallery__group {
    --gallery-group-container-full: 100%;
    --gallery-group-container-default: calc(339 * (100vw / 375));
  }
  .p-gallery__group + .p-gallery__group {
    margin-top: calc(40 * (100vw / 375));
  }
  .p-gallery__group--col2 {
    gap: calc(10 * (100vw / 375)) calc(9 * (100vw / 375));
  }
  .p-gallery__group--col3 {
    gap: calc(8 * (100vw / 375));
  }
  .p-gallery__group--pattern {
    padding: calc(40 *(100vw / 375)) 0;
    background-image: url(../img/image-bg_sp.jpg);
  }
  .p-gallery__group__inner {
    height: calc(369 *(100vw / 375));
  }
  .p-gallery__group--pattern .p-gallery__group__inner > :nth-of-type(1) {
    width: calc(234 *(100vw / 375));
  }
  .p-gallery__group--pattern .p-gallery__group__inner > :nth-of-type(2) {
    width: calc(156 *(100vw / 375));
  }
  .p-gallery__introduction {
    row-gap: calc(10 * (100vw / 375));
    grid-template-columns: calc(367 * (100vw / 375)) minmax(0, 1fr);
    grid-template-rows: calc(190 * (100vw / 375)) calc(187 * (100vw / 375));
    margin: calc(40 * (100vw / 375)) auto;
  }
  .p-gallery__introduction::before {
    width: calc(359 * (100vw / 375));
    height: calc(179 * (100vw / 375));
  }
  .p-gallery__introduction-heading {
    margin-left: calc(8 * (100vw / 375));
    font-size: calc(32 * (100vw / 375));
  }
  .p-gallery__introduction-image {
    width: calc(335 * (100vw / 375));
    height: calc(252 * (100vw / 375));
  }
  .p-gallery__introduction-lead {
    width: calc(359 * (100vw / 375));
    padding: calc(30 * (100vw / 375)) calc(15 * (100vw / 375)) calc(17 * (100vw / 375));
    font-size: calc(11 * (100vw / 375));
  }
  /* Modal */
  .p-modal-body {
    width: 100%;
    overflow-y: scroll;
    overflow-x: hidden;
  }
  .p-modal-contents {
    grid-template-columns: 100%;
    row-gap: calc(31 * (100vw / 375));
  }
  .p-modal-close {
    top: calc(6 *(100vw / 375));
    right: 0;
    width: calc(20 * (100vw / 375));
    height: calc(20 * (100vw / 375));
  }
  .p-modal__image {
  }
  .p-modal__image img {
    width: calc(375 *(100vw / 375));
    height: calc(524 *(100vw / 375));
    object-position: top center;
  }
  /* .p-modal__text-wrapper {
    overflow-y: auto;
    overscroll-behavior-y: contain;
  } */
  .p-modal__text-wrapper {
    width: calc(315 *(100vw / 375));
    margin: 0 auto;
    padding-bottom: calc(20 * (100vw / 375));
  }   
  .p-modal__text {
    padding: 0 calc(6 * (100vw / 375));
    font-size: calc(12 * (100vw / 375));
  }
  .p-modal__credit {
  }
  /* Button */
  .p-button {
    width: calc(258 * (100vw / 375));
    height: calc(56 * (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 {
    padding-bottom: 10rem;
  }
  .p-keyvisual,
  .p-lead {
    width: min(100%, 124rem);
    margin: 0 auto;
    padding: 0 2rem;
  }
  .p-lead {
    padding: 6rem 0;
  }
  .p-lead-heading {
    font-size: 1.8rem;
  }
  .p-lead-text {
    margin-top: 2rem;
    font-size: 1.2rem;
  }
  /* Gallery */
  .p-gallery {
    width: 100%;
  }
  .p-gallery__group {
    --gallery-group-container-full: 100%;
    --gallery-group-container-default: 120rem;
  }
  .p-gallery__group + .p-gallery__group {
    margin-top: 6rem;
  }
  .p-gallery__group--col2 {
    gap: 2rem;
  }
  .p-gallery__group--col3 {
    gap: 1.6rem;
  }
  .p-gallery__group--pattern {
    padding: 6rem 0;
    background-image: url(../img/image-bg_pc.jpg);
  }
  .p-gallery__group__inner {
    width: var(--gallery-group-container-default);
    height: 118rem;
    margin: 0 auto;
  }
  .p-gallery__group--pattern .p-gallery__group__inner > :nth-of-type(1) {
    width: 75rem;
  }
  .p-gallery__group--pattern .p-gallery__group__inner > :nth-of-type(2) {
    width: 50rem;
  }
  .p-gallery__introduction {
    row-gap: 2rem;
    grid-template-columns: 53.15rem minmax(0, 1fr);
    grid-template-rows: 28.4rem 25.3rem;
    margin: 6rem auto;
  }
  .p-gallery__introduction::before {
    width: 51.7rem;
    height: 23.8rem;
  }
  .p-gallery__introduction-heading {
    font-size: 4.8rem;
  }
  .p-gallery__introduction-image {
    width: 60rem;
    height: 45rem;
  }
  .p-gallery__introduction-lead {
    width: 51.7rem;
    padding: 4rem 4rem 1.8rem;
    font-size: 1.5rem;
  }
  /* Modal */
  .p-modal {
    padding: 4rem 0;
  }
  .p-modal-inner {
    display: grid;
    place-content: center;
    width: 100%;
    height: 100%;
  }
  .p-modal-body {
    position: relative;
    width: 140rem;
    height: 82rem;
    padding: 0 20rem;
    margin: 0 auto;
  }
  .p-modal-contents > * {
    grid-area: 1 / 1 / 2 / 2;
  }
  .p-modal-close {
    top: 0.6rem;
    left: calc(100% + 14rem);
    width: 2rem;
    height: 2rem;
  }
  .p-modal__image,
  .p-modal__text-wrapper {
  }
  .p-modal__text-wrapper {
    margin-bottom: 10rem;
  }
  .p-modal__image {
    place-self: center start;
  }
  .p-modal__image img {
    width: 69.3rem;
    height: 82rem;
    object-position: left center;
  }
  .p-modal__text-wrapper {
    display: grid;
    place-items: end;
    place-self: end;
  }
  .p-modal__text {
    font-size: 1.2rem;
  }
  /* Button */
  .p-button {
    width: 26.8rem;
    height: 5.6rem;
    margin-top: 6rem;
    font-size: 1.4rem;
  }
}
