@charset "utf-8";
/* ===========================

アンカーリンクのスタイル

============================*/
html {
  scroll-behavior: smooth;
}
.anchor-list {
  width: 100%;
  max-width: 1200px;
  padding: 15px;
  margin: 0 auto;
  margin-bottom: 50px;
}

.anchor-list ul {
  display: flex;
  justify-content: center;
  gap: 15px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.anchor-list li {
  width: 47%;
  text-align: center;
}

.anchor-list a {
  height: 78px;
  position: relative;
  font-size: 14px;
  padding: 15px 0;
  border: 2px solid #0068b7;
  border-radius: 4px;
  width: auto;
  display: block;
  text-decoration: none;
  color: #0068b7;
  font-weight: bold;
  border-radius: 8px;
  line-height: 1.5;
  letter-spacing: -1px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background-color 0.3s,
    color 0.3s;
}

.anchor-text {
  font-size: 16px;
}

.anchor-list a::after {
  position: absolute;
  bottom: 10px;
  left: 50%;
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-top: 2px solid #0068b7;
  border-right: 2px solid #0068b7;
  transform: rotate(135deg);
  flex-shrink: 0;
}

.anchor-list a:hover {
  background-color: #e6edf5;
}

@media (min-width: 767px) {
  .anchor-list {
    margin-bottom: 100px;
  }

  .anchor-list li {
    width: 23%;
  }
}
/* ===========================

生徒の声のスタイル

============================*/
.swiper.voiceSwiper {
  position: relative;
  padding: 25px 15px;
}

.voiceSwiper .swiper-slide {
  line-height: 1.5;
  background-color: #0068b7;
  border-radius: 8px;
  padding: 20px 25px 10px;
}

.voiceSwiper .slide-header {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.voiceSwiper .slide-header .title {
  font-size: 25px;
  line-height: 1.4;
  background-color: inherit;
}

.voiceSwiper picture {
  flex-shrink: 0;
}

.voiceSwiper .thumbnail {
  border-radius: 50%;
  width: 100px;
  height: 100px;
  object-fit: cover;
}

.voiceSwiper .dashed-note {
  text-align: left;
  font-size: 16px;
  line-height: 2.3;
  padding: 20px;
  margin: 0;
}

.voiceSwiper .profile_wrap {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  gap: 4px;
  color: #e6edf5;
}

/* 1. 丸い背景（縁）を作る設定は「ボタン本体」に指定します */
.swiper-button-next.voice-button-next,
.swiper-button-prev.voice-button-prev {
  background-color: #000000cf;
  width: 40px;
  /* 丸の横幅 */
  height: 40px;
  /* 丸の縦幅 */
  border-radius: 50%;
}

/* 2. 中の矢印の設定は「::after」に指定します */
.swiper-button-next.voice-button-next::after,
.swiper-button-prev.voice-button-prev::after {
  color: #e6edf5;
  font-size: 16px;
  /* 丸のサイズに合わせて矢印の大きさを調整 */
  font-weight: bold;
  /* 必要に応じて矢印を太くする */
}

.swiper-button-next.voice-button-next::after {
  font-size: 15px !important;
  margin-right: -3px !important;
}

.swiper-button-prev.voice-button-prev::after {
  font-size: 15px !important;
  margin-left: -3px !important;
}

.swiper-pagination.voice-pagination {
  bottom: -7px !important;
}

@media (max-width: 768px) {
  .voiceSwiper .swiper-slide {
    padding: 20px 20px 15px;
  }

  .voiceSwiper .swiper-slide .slide-header {
    gap: 5px;
    justify-content: space-around;
  }

  .voiceSwiper .slide-header .title {
    font-size: 18px;
    text-align: left;
  }

  .voiceSwiper .thumbnail {
    width: 80px;
    height: 80px;
  }

  .voiceSwiper .dashed-note {
    font-size: 18px;
    line-height: 1.8;
  }

  .swiper-pagination.voice-pagination {
    bottom: -5px !important;
  }
}

.voice_title {
  display: inline;
  font-size: 18px;
  line-height: 1.5;
  font-weight: bold;
  color: #0068b7;
}
.swiper-slide {
  line-height: 1.5;
}

#course_middle #campaign .cta {
  margin-bottom: 100px;
}
@media (max-width: 768px) {
  .students_voice .parent_illust {
    float: none;
  }
  .students_voice .parent_comment {
    font-size: 14px;
    line-height: 1.4;
  }
  .anchor-text {
    font-size: 16px;
  }

  #course_middle #campaign .cta {
    margin-bottom: 50px;
  }
}

.price_bar {
  width: 100%;
  max-height: 200px;
  text-align: center;
  padding: 8px 0;
  border-top: 3px solid yellow;
  border-bottom: 3px solid yellow;
  background:
    url("../../common/images/course/price_back.webp") center / 12px 12px repeat,
    #fdff8b;
}
.price_bar img {
  width: auto;
  max-height: 85px;
}
@media (max-width: 768px) {
  .price_bar {
    background:
      url("../../common/images/course/price_back.webp") center / 8px 8px repeat,
      #fdff8b;
  }
  .price_bar img {
    width: 50%;
  }
  .cnt_img img {
    aspect-ratio: 16 / 9;
  }
  .embed-responsive iframe,
  .embed-responsive img {
    aspect-ratio: 16 / 9;
  }
}

/* CSSファイルの一番下に追記 */
section {
  scroll-margin-top: 120px !important;
}
