@charset "UTF-8";

.p-section__title {
  text-align: center;
  position: relative;
  overflow: hidden;
  z-index: 3;
}

.p-section__title::before {
  position: absolute;
  top: 49%;
  left: 0;
  display: block;
  width: calc((100% - 246px) / 2);
  height: 2px;
  margin: auto;
  content: "";
  background-color: #272727;
  translate: 0 -50%;
}

.p-section__title::after {
  position: absolute;
  top: 49%;
  right: 0;
  display: block;
  width: calc((100% - 246px) / 2);
  height: 2px;
  margin: auto;
  content: "";
  background-color: #272727;
  translate: 0 -50%;
}

@media print, screen and (min-width: 768px) {
  .p-section__title::before, .p-section__title::after {
    width: calc((100% - 724px) / 2);
  }
}

.p-section__title.line_stretches::before, .p-section__title.line_stretches::after {
  width: 0;
  opacity: 1;
  -webkit-transition: width 1s;
  transition: width 1s;
}

.p-section__title.stretched::before, .p-section__title.stretched::after {
  width: calc((100% - 310px) / 2);
}

@media print, screen and (min-width: 768px) {
  .p-section__title.stretched::before, .p-section__title.stretched::after {
    width: calc((100% - 690px) / 2);
  }
}

.p-section__title span {
  position: relative;
  display: block;
}

.p-section__title img {
  height: 86px;
  display: inline-block;
}

@media print, screen and (min-width: 768px) {
  .p-section__title img {
    height: 191px;
  }
}

.p-section__title-white::before {
  background: url("../images/white_top.png") center no-repeat;
  background-size: 100% auto;
}

.p-section__title-white::after {
  background: url("../images/white_bottom.png") center no-repeat;
  background-size: 100% auto;
}

.p-gallery__title-small {
  margin-top: 24px;
  width: 70%;
  margin-inline: auto;
}

@media print, screen and (min-width: 768px) {
  .p-gallery__title-small {
    margin-top: 64px;
    max-width: 740px;
    width: 79%;
  }
}

.p-gallery__title-small .p-gallery__title-small-src {
  display: block;
  width: 100%;
}

/* フェードイン */
.scroll-space {
  overflow: hidden;
}

.scrollin {
  opacity: 1 !important;
  -webkit-transform: translate(0, 0) !important;
  transform: translate(0, 0) !important;
}

.fadein {
  opacity: 0;
  -webkit-transition: all 1s;
  transition: all 1s;
  -webkit-transform: translate(0, 40px);
  transform: translate(0, 40px);
}

.p-gallery {
  padding-top: 18vw;
  position: relative;
}

@media print, screen and (min-width: 768px) {
  .p-gallery {
    padding-top: 14vw;
  }
}

.p-gallery::before {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100vw;
  aspect-ratio: 1000/212;
  margin: auto;
  content: "";
  background: url("../images/p_separator_decoration_child.png") center no-repeat;
  background-size: 100% auto;
}

@media print, screen and (min-width: 768px) {
  .p-gallery::before {
    top: -40px;
  }
}

.p-gallery .p-gallery__outer {
  background-color: #FFF365;
  padding-bottom: 64px;
}

@media print, screen and (min-width: 768px) {
  .p-gallery .p-gallery__outer {
    padding-bottom: 120px;
  }
}

.p-gallery .p-gallery__list {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

@media print, screen and (min-width: 768px) {
  .p-gallery .p-gallery__list {
    margin-top: 48px;
    gap: 12px;
    grid-template-columns: repeat(3, 1fr);
  }
}

.p-gallery .p-gallery__list > li a {
  display: block;
}

.p-gallery .p-gallery__list > li a > img {
  display: block;
  width: 100%;
}

.p-gallery .p-gallery__copyright {
  margin-top: 80px;
  font-size: 1.2rem;
  font-weight: 500;
  color: #fff;
  text-align: center;
}

@media print, screen and (min-width: 768px) {
  .p-gallery .p-gallery__copyright {
    margin-top: 80px;
    font-size: 2.4rem;
  }
}

.p-gallery .p-gallery__detail {
  position: relative;
  margin: 40px auto 0;
}

.p-gallery .p-gallery__detail > .p-gallery__detail-image {
  position: relative;
}

.p-gallery .p-gallery__detail > .p-gallery__detail-image .p-gallery__arrow {
  display: inline-block;
  position: absolute;
  top: 0;
  bottom: 0;
  display: block;
  width: 24px;
  height: 48px;
  margin: auto;
  content: "";
  background: url("../images/i_arrow_modal.png") center center no-repeat;
  background-size: cover;
  opacity: 1;
}

@media print, screen and (min-width: 768px) {
  .p-gallery .p-gallery__detail > .p-gallery__detail-image .p-gallery__arrow {
    width: 32px;
    height: 64px;
  }
}

[data-whatinput=keyboard] .p-gallery .p-gallery__detail > .p-gallery__detail-image .p-gallery__arrow:focus {
  opacity: 0.6;
}

@media print, screen and (min-width: 1025px) {
  .p-gallery .p-gallery__detail > .p-gallery__detail-image .p-gallery__arrow:hover {
    opacity: 0.6;
  }
}

.p-gallery .p-gallery__detail > .p-gallery__detail-image .p-gallery__arrow.p-gallery__arrow-left {
  left: 0;
}

.p-gallery .p-gallery__detail > .p-gallery__detail-image .p-gallery__arrow.p-gallery__arrow-right {
  right: 0;
  -webkit-transform: scaleX(-1);
  transform: scaleX(-1);
}

.p-gallery .p-gallery__detail > .p-gallery__detail-image > figure {
  width: 80%;
  max-width: 740px;
  margin-inline: auto;
}

.p-gallery .p-gallery__detail > .p-gallery__detail-image > figure > image {
  display: block;
  width: 100%;
}

@media print, screen and (min-width: 1025px) {
  .p-gallery .p-gallery__detail > .p-gallery__detail-image.p-gallery__detail-image-large > figure {
    width: 90%;
    max-width: 840px;
  }
}

.p-gallery .p-gallery__detail .p-gallery__caption {
  width: 100%;
}

@media print, screen and (min-width: 768px) {
  .p-gallery .p-gallery__detail .p-gallery__caption {
    max-width: 740px;
    width: 80%;
    margin-inline: auto;
  }
}

.p-gallery .p-gallery__detail .p-gallery__caption .p-gallery__caption-main > dl {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin-inline: auto;
  padding-block: 24px;
  font-size: 2rem;
  font-weight: bold;
  line-height: 1.5;
  position: relative;
  color: #272727;
}

@media print, screen and (min-width: 768px) {
  .p-gallery .p-gallery__detail .p-gallery__caption .p-gallery__caption-main > dl {
    padding-top: 48px;
    font-size: 2.4rem;
  }
}

.p-gallery .p-gallery__detail .p-gallery__caption .p-gallery__caption-main > dl::after {
  position: absolute;
  display: block;
  content: "";
  background-color: #272727;
  width: 100%;
  height: 2px;
  bottom: 0;
  left: 0;
  right: 0;
  margin-inline: auto;
}

.p-gallery .p-gallery__detail .p-gallery__caption .p-gallery__caption-main > dl dt {
  width: 4em;
  margin-top: 4px;
}

@media print, screen and (min-width: 768px) {
  .p-gallery .p-gallery__detail .p-gallery__caption .p-gallery__caption-main > dl dt {
    margin-top: 12px;
  }
}

.p-gallery .p-gallery__detail .p-gallery__caption .p-gallery__caption-main > dl dt::after {
  content: "：";
}

.p-gallery .p-gallery__detail .p-gallery__caption .p-gallery__caption-main > dl dd {
  width: calc(100% - 4em);
  margin-top: 4px;
}

@media print, screen and (min-width: 768px) {
  .p-gallery .p-gallery__detail .p-gallery__caption .p-gallery__caption-main > dl dd {
    margin-top: 12px;
  }
}

.p-gallery .p-gallery__detail .p-gallery__caption .p-gallery__caption-main > dl:first-of-type dt {
  margin-top: 0;
}

.p-gallery .p-gallery__detail .p-gallery__caption .p-gallery__caption-main > dl:first-of-type dd {
  margin-top: 0;
}

.p-gallery .p-gallery__detail .p-gallery__caption .p-gallery__caption-main > .p-gallery__caption-main-explain {
  color: #272727;
  padding-block: 24px 32px;
  font-size: 1.6rem;
  font-weight: bold;
  line-height: 1.5em;
}

@media print, screen and (min-width: 768px) {
  .p-gallery .p-gallery__detail .p-gallery__caption .p-gallery__caption-main > .p-gallery__caption-main-explain {
    padding-bottom: 64px;
    font-size: 1.8rem;
    font-weight: 500;
  }
}

.p-gallery .p-gallery__detail .p-gallery__caption .p-gallery__caption-main > .p-gallery__caption-main-explain > p + p {
  margin-top: 1em;
}

.p-gallery__button {
  display: block;
  text-align: center;
  width: 345px;
  margin-inline: auto;
}

.p-gallery__button .p-gallery__button-link {
  display: inline-block;
}

.p-gallery__button .p-gallery__button-link .p-gallery__button-link-src {
  display: block;
  width: 100%;
}
