@charset "UTF-8";
.swiper_top {
  width: 100%;
  height: calc(100svh - 14%);
}

.swiper-wrapper .pc {
  width: 100%;
  height: 100%;
  min-height: 800px;
  -o-object-fit: cover;
     object-fit: cover;
}
.swiper-wrapper .sp {
  display: none;
}

#challenge .swiper_wrapper {
  padding-bottom: 60px;
}
#challenge .swiper_challenge_pagination {
  bottom: 0;
  display: none;
}
#challenge .swiper_challenge_pagination span {
  width: 16px;
  height: 16px;
  margin: 0;
  background: rgba(34, 34, 34, 0.8);
}
#challenge .swiper_challenge_pagination span:not(:last-of-type) {
  margin-right: 52px;
}
#challenge .swiper_challenge_pagination span.swiper-pagination-bullet-active {
  background: #E1092C;
}

/* -------------------------
   スマホ用
-------------------------- */
@media screen and (max-width: 767px) {
  .swiper_top {
    height: auto; /* ← 高さをコンテンツに合わせる */
  }
  .swiper-wrapper .pc {
    display: none; /* ← PC画像を非表示 */
  }
  .swiper-wrapper .sp {
    display: block;
    width: 100%;
    height: auto; /* ← 画像高さを自動に */
    -o-object-fit: cover;
       object-fit: cover;
  }
}
.swiper-slide img {
  width: 100%;
  height: auto;
  -o-object-fit: cover;
     object-fit: cover;
  margin: 0 auto;
}

.swiper-button-prev::after {
  content: "";
  width: 16px;
  height: 16px;
  display: block;
  margin: auto;
  border-top: 4px solid #494949;
  border-right: 4px solid #494949;
  transform: rotate(-135deg);
}

.swiper-button-next::after {
  content: "";
  width: 16px;
  height: 16px;
  display: block;
  margin: auto;
  border-top: 4px solid #494949;
  border-right: 4px solid #494949;
  transform: rotate(45deg);
}

.topeducation_book {
  max-width: 1380px;
  padding: 0 30px;
  box-sizing: border-box;
  position: relative;
}

.swiper-button-prev {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.9;
  transition: opacity 0.2s ease;
  position: absolute;
  top: 59%;
  left: 0;
  transform: translateY(-50%);
  z-index: 10;
}

.swiper-button-next {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.9;
  transition: opacity 0.2s ease;
  position: absolute;
  top: 59%;
  right: 0;
  transform: translateY(-50%);
  z-index: 10;
}

@media screen and (max-width: 1024px) {
  #challenge .swiper-pagination.swiper_challenge_pagination {
    display: inline-block;
  }
}
@media screen and (max-width: 767px) {
  .swiper-wrapper .pc {
    display: none;
  }
  .swiper-wrapper .sp {
    display: block;
  }
  .topeducation_book {
    margin-left: 0;
  }
  .swiper-button-next::after {
    content: "";
    width: 16px;
    height: 16px;
  }
  .swiper-button-prev::after {
    content: "";
    width: 16px;
    height: 16px;
  }
}
.swiper {
  overflow: hidden; /* ← これで横スクロールを止める */
}

#topeducation .swiper-slide img {
  width: 80%;
  margin: 0 auto;
  display: block;
}

@media (max-width: 1366px) {
  #topeducation .swiper-slide img {
    width: 100%;
  }
  .topeducation_book {
    padding: 0 20px;
  }
}
@media (max-width: 767px) {
  #topeducation .swiper-slide img {
    width: 100%;
  }
}
/*# sourceMappingURL=swiper.css.map */