@charset "UTF-8";
/* 簡易リセットCSS */
@import url("https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@400;900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@700&display=swap");


/* ======================================== chara ======================================== */
/* .p-top__character {
  padding: 8rem 0 0 0;
  margin: -7rem 0 1rem 0;
}*/
@media screen and (max-width: 768px) {
  .p-top__character {
    padding: 3rem 0 0 0;
    margin: 0rem 0 0 0;
  }
}

.js-character__slider__wrapper {
  position: relative;
  margin: 0 auto;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 1920/712;
  background: rgba(141, 26, 224, 0.5);
  border-top: 4px solid #d4abff;
  border-bottom: 4px solid #d4abff;
  max-height: 712px;
}
@media screen and (max-width: 768px) {
  .js-character__slider__wrapper {
    height: auto;
    aspect-ratio: 1125/1201;
  }
}

.js-character__slider {
  position: relative;
  margin: 0 auto;
  max-width: 100%;
}
@media screen and (max-width: 768px) {
  .js-character__slider {
    aspect-ratio: 1125/1201;
  }
}

.swiper-slide.js-character__slider__item {
  position: relative;
}

.js-character__slider__itemimg {
  display: block;
  width: 100%;
  aspect-ratio: 1920/712;
}
@media screen and (max-width: 768px) {
  .js-character__slider__itemimg {
    max-width: 100%;
    aspect-ratio: 1125/1201;
  }
}

.img1,
.img2 {
  opacity: 0;
  transition: opacity 0.5s ease;
  /* 画像が0.5秒でフェードイン */
}

.show {
  opacity: 1;
  /* 表示状態 */
}

.img1 {
  transition-delay: 0.3s;
}

.img2 {
  top: 0;
  left: 0;
  position: absolute;
  transition-delay: 0.3s;
  /* 2番目の画像は少し遅れて表示される */
}

.js_character__slider__pagination {
  position: absolute;
  top: 0 !important;
  right: 12.5% !important;
  left: auto !important;
  z-index: 100;
  display: flex;
  height: 100%;
  width: 50% !important;
}
@media screen and (max-width: 768px) {
  .js_character__slider__pagination {
    top: auto !important;
    bottom: 0;
    right: 0 !important;
    left: -2vw !important;
    bottom: -2px !important;
    z-index: 100;
    display: flex;
    height: 23%;
    width: 104vw !important;
  }
}

.js_character__slider__pagination .swiper-pagination-bullet {
  display: inline-block;
  text-align: center;
  border-radius: 0;
  margin: 0 !important;
  height: 100%;
  width: 100%;
  aspect-ratio: 712/140;
  white-space: nowrap;
  overflow: hidden;
  transform: skewX(-5deg);
  text-indent: 0 !important;
  opacity: 1;
}
.js_character__slider__pagination .swiper-pagination-bullet img {
  filter: grayscale(100%);
  transform: skewX(5deg) translateX(-25%);
  height: 100%;
}
@media all and (-ms-high-contrast: none) {
  .js_character__slider__pagination .swiper-pagination-bullet img {
    opacity: 0.5;
  }
}
.js_character__slider__pagination .swiper-pagination-bullet img:hover {
  filter: grayscale(0%);
}
@media all and (-ms-high-contrast: none) {
  .js_character__slider__pagination .swiper-pagination-bullet img:hover {
    opacity: 1;
  }
}
@media screen and (max-width: 768px) {
  .js_character__slider__pagination .swiper-pagination-bullet img {
    transform: skewX(5deg) translate(-20%, -5%);
    width: 200%;
    height: auto;
  }
}

.swiper-pagination-bullet.swiper-pagination-bullet-active img {
  filter: grayscale(0%);
}
@media all and (-ms-high-contrast: none) {
  .swiper-pagination-bullet.swiper-pagination-bullet-active img {
    opacity: 1;
  }
}