@import url(swiper-bundle.min.css);
/* ------------------------------------------------
 contents_wrapper
------------------------------------------------ */
#contents_wrapper {
  position: relative;
  z-index: 1;
}
#contents_wrapper::before {
  content: "";
  background: url(../img/cp02/bg.webp) 0 0 no-repeat;
  background-size: 100% auto;
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
}
#contents_wrapper .bg {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  z-index: -1;
}
#contents_wrapper .bg span {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 0;
  transition: opacity 1s ease;
  opacity: 0;
}
#contents_wrapper .bg .c1 {
  background-image: linear-gradient(9deg, rgb(238, 142, 173) 0%, rgb(156, 214, 236) 68%, rgb(128, 205, 233) 86%, rgb(99, 195, 230) 100%);
}
#contents_wrapper .bg .c2 {
  background-image: linear-gradient(19deg, rgb(250, 201, 89) 0%, rgb(244, 172, 131) 57%, rgb(238, 142, 173) 100%);
}
#contents_wrapper .bg .c3 {
  background-image: linear-gradient(19deg, rgb(135, 207, 236) 0%, rgb(161, 212, 181) 57%, rgb(187, 216, 126) 100%);
}
#contents_wrapper .bg .c4 {
  background-image: linear-gradient(9deg, rgb(178, 214, 144) 0%, rgb(214, 208, 117) 57%, rgb(250, 201, 89) 100%);
}
#contents_wrapper[data-scene="1"] .bg .c1 {
  z-index: 1;
  opacity: 1;
}
#contents_wrapper[data-scene="2"] .bg .c2 {
  z-index: 1;
  opacity: 1;
}
#contents_wrapper[data-scene="3"] .bg .c3 {
  z-index: 1;
  opacity: 1;
}
#contents_wrapper[data-scene="4"] .bg .c4 {
  z-index: 1;
  opacity: 1;
}
@media screen and (max-width: 767.9px) {
  #contents_wrapper::before {
    background-image: url(../img/cp02/bg-sp.webp);
  }
}

/* ------------------------------------------------
 contents_header
------------------------------------------------ */
#contents_header > .inner {
  padding-top: 2.8125em;
}
#contents_header .title .logo {
  margin: 0 auto;
  width: 21em;
}
#contents_header .title .txt {
  margin: 0.1875em auto 0;
  width: 43em;
}
@media screen and (max-width: 767.9px) {
  #contents_header > .inner {
    padding-top: 2em;
  }
  #contents_header .title .logo {
    width: 13em;
  }
  #contents_header .title .txt {
    margin-top: 1em;
    width: 22.1em;
  }
}

/* ------------------------------------------------
 presents
------------------------------------------------ */
#presents aside {
  text-align: center;
  margin-top: 2.1875em;
}
#presents aside .txt {
  font-size: 0.75em;
}
#presents aside .note {
  font-size: 0.625em;
  margin-top: 0.8em;
}
@media screen and (max-width: 767.9px) {
  #presents > .inner {
    padding-top: 1.9333333333em;
  }
  #presents aside {
    margin-top: 1.1666666667em;
  }
  #presents aside .txt {
    font-size: 0.6666666667em;
  }
  #presents aside .note {
    font-size: 0.6666666667em;
    margin-top: 0.4em;
  }
}

/* ----------------------------
 gallery_swiper
------------------------------*/
#gallery_swiper {
  overflow: visible !important;
}
#gallery_swiper ul li {
  box-sizing: border-box;
  width: 25em !important;
  height: 26.25em;
  position: relative;
  transition: all 0.4s ease;
}
#gallery_swiper ul li .img {
  border-radius: 1.25em;
  background-color: #fff;
  width: 18.75em;
  aspect-ratio: 1/1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: 50%;
  top: 50%;
  overflow: hidden;
  transform: translate(-50%, -50%);
  transition: width 0.4s ease;
}
#gallery_swiper ul li .img img {
  filter: drop-shadow(0.375em 0.375em 1.25em rgba(47, 80, 96, 0.3));
  width: 80.6666666667%;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
@media screen and (min-width: 768.1px) {
  #gallery_swiper ul li.swiper-slide-active .img {
    width: 26.25em;
  }
}
#gallery_swiper .swiper-button-next, #gallery_swiper .swiper-button-prev {
  width: 2.625em;
  height: auto;
  aspect-ratio: 62/66;
  transition: opacity 0.4s ease;
}
#gallery_swiper .swiper-button-next::after, #gallery_swiper .swiper-button-prev::after {
  content: "";
  background: url(../img/common/slider_btn_arrow.png) no-repeat;
  background-size: contain;
  width: 100%;
  height: 100%;
}
#gallery_swiper .swiper-button-next {
  left: calc(50% + 11.6875em);
}
#gallery_swiper .swiper-button-next::after {
  transform: scale(-1, 1);
}
#gallery_swiper .swiper-button-prev {
  left: calc(50% - 14.5625em);
}
#gallery_swiper .swiper-button-disabled {
  opacity: 0;
}
@media screen and (max-width: 767.9px) {
  #gallery_swiper {
    margin: 0 -1.1666666667em;
    width: 100vw;
  }
  #gallery_swiper ul li {
    width: 20.6666666667em !important;
    height: 19em;
  }
  #gallery_swiper ul li .img {
    border-radius: 0.8666666667em;
    width: 19em;
  }
  #gallery_swiper ul li .img img {
    filter: drop-shadow(0.2em 0.2em 0.6666666667em rgba(47, 80, 96, 0.3));
    width: 84.9122807018%;
  }
  #gallery_swiper .swiper-button-next, #gallery_swiper .swiper-button-prev {
    width: 2.0666666667em;
  }
  #gallery_swiper .swiper-button-next {
    left: unset;
    right: 1.9333333333em;
  }
  #gallery_swiper .swiper-button-prev {
    left: 1.9333333333em;
  }
}

/* ----------------------------
 thumbs_swiper
------------------------------*/
#thumbs_swiper {
  margin: 1.75em auto 0;
  width: 29em;
  overflow: visible;
}
#thumbs_swiper ul li {
  text-align: center;
  transition: filter 0.2s var(--easeOutCubic);
}
#thumbs_swiper ul li.swiper-slide-thumb-active {
  filter: brightness(70%);
}
#thumbs_swiper ul li.swiper-slide-thumb-active img {
  cursor: default;
}
#thumbs_swiper ul li img {
  margin: 0 auto;
  width: 6.25em;
}
@media (any-hover: hover) {
  #thumbs_swiper ul li:not(.swiper-slide-thumb-active) img {
    transition: all 0.4s var(--easeInOutBack);
    cursor: pointer;
  }
  #thumbs_swiper ul li:not(.swiper-slide-thumb-active) img:hover {
    transform: scale(1.06);
  }
}
#thumbs_swiper .swiper-button-disabled {
  opacity: 0;
}
@media screen and (max-width: 767.9px) {
  #thumbs_swiper {
    width: 21.6666666667em;
  }
  #thumbs_swiper ul li img {
    width: 4.4333333333em;
  }
}

/* ------------------------------------------------
 about
------------------------------------------------ */
#about {
  margin-top: 1.5em;
}
#about .sbody .about {
  margin: 0 auto;
  width: 40.875em;
}
@media screen and (max-width: 767.9px) {
  #about {
    margin-top: 1.0666666667em;
  }
  #about .sbody .about {
    margin: 0 -0.6333333333em;
    width: 23.2666666667em;
  }
}

/* ------------------------------------------------
 characters
------------------------------------------------ */
#characters > .inner {
  padding-top: 2.625em;
  padding-bottom: 1.5625em;
}
@media screen and (max-width: 767.9px) {
  #characters > .inner {
    padding-top: 2.0666666667em;
    padding-bottom: 0.6666666667em;
  }
}