@charset "UTF-8";

.main_visual {
  background: url("../images/school/mv-offline.webp") center 0/cover no-repeat;
  /* max-width: 1100px; */
  width: 100%;
  height: 300px;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
  margin-top: 45px;
}

@media screen and (max-width: 768px) {
  .main_visual {
    background: url("../images/school/mv-offline.webp") center 0/cover no-repeat;
    height: 140px;
    margin-top: 0;
  }
}

#main {
  margin-top: 100px;
}

@media screen and (max-width: 768px) {
  #main {
    margin-top: 50px;
  }
}

.section-title-wrapper {
  text-align: center;
}

.title-image {
  display: block;
  margin: 0 auto 18px; /* 下に余白をつける */
  max-width: 376.9px;
  width: 100%;
}

@media screen and (max-width: 768px) {
  .title-image {
    max-width: 259px;
  }
}

.section-title {
  font-size: 30px;
  font-weight: 900;
  letter-spacing: 1.5px;
}

@media screen and (max-width: 768px) {
  .section-title {
    font-size: 20px;
    letter-spacing: 1px;
  }
}

.book__inner {
  max-width: 1000px;
  width: 100%;
  margin-top: 50px;
  /* margin-top: 99px; */
  margin-left: auto;
  margin-right: auto;
  padding: 30px 32px 30px 30px;
  background: repeating-linear-gradient(
    -45deg, /* 斜線の角度を逆にする */
    #FCD893, /* 斜線の色 */
    #FCD893 3px, /* 斜線の幅（細くする） */
    #FFFBCE 3px, /* 隙間の開始 */
    #FFFBCE 6px /* 隙間の幅 */
  );
  position: relative;
}

@media screen and (max-width: 768px) {
  .book__inner {
    padding: 20px 20px;
    margin-top: 20px;
  }
}

.book__inner::after {
  content: "";
  display: block;  /* 擬似要素を表示させるために必要 */
  width: 42.5px;  /* 必要に応じてサイズを設定 */
  height: 53px;  /* 必要な高さを設定 */
  background-image: url('../images/school/icon_ribon.png');
  background-size: contain;
  position: absolute;
  top: -23px;
  right: 102px;
}

@media screen and (max-width: 768px) {
  .book__inner::after {
    width: 30px;
    height: 37px;
    top: -16px;
    right: 26px;
  }
}

.book__title {
  width: 176px;
  height: 50px;
  padding: 3px 31px;
  border-radius: 10px;
  background: #F8B62D;
  /* background: #F39800; */
  text-align: center;
  color: #FFF;
  font-size: 22px;
  font-weight: 900;
  line-height: 44px; /* 200% */
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}

@media screen and (max-width: 768px) {
  .book__title {
    width: 150px;
    height: 40px;
    font-size: 17px;
    font-weight: 700;
    line-height: normal;
    padding: 0px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

.book__text {
  font-size: 16px;
  font-weight: 700;
  line-height: 26px; /* 144.444% */
  margin-top: -25px;
  padding: 50px 30px 30px;
  text-align: center;
  letter-spacing: -0.05em;
  background: #FFFBCE;
  /* text-shadow:
    -2px -2px 0 #FFFBCE,
     2px -2px 0 #FFFBCE,
    -2px  2px 0 #FFFBCE,
     2px  2px 0 #FFFBCE; */
}

@media screen and (max-width: 1024px) {
  .book__text {
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media screen and (max-width: 768px) {
  .book__text {
    font-size: 14px;
    font-weight: 500;
    line-height: 180%; /* 25.2px */
    /* letter-spacing: -0.1em; */
    margin-top: -20px;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 30px;
  }
}

.book__cards {
  display: grid;
  grid-template-columns: repeat(5, 1fr); /* PCは5列 */
  gap: 24px 22px; /* 縦 24px、横 22px の余白 */
  margin-top: 30px;
  /* margin-top: 60px; */
}

@media screen and (max-width: 1024px) {
  .book__cards {
    grid-template-columns: repeat(3, 1fr);
    /* gap: 20px 15px; */
  }
}

@media screen and (max-width: 768px) {
  .book__cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 10px;
    margin-top: 30px;
  }
}


.book__card {
  transition: all 0.3s;
}

.book__card:hover {
  filter: brightness(1.3);
}

.card {
  display: block;
  background: #fff;
  padding: 10px;
  min-height: 144px;
  cursor: pointer;
  position: relative;
}

.card__content {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card.is-new-student::after {
  content: "";
  width: 38px;
  height: 38px;
  background-image: url("../images/school/class/class-open-red.png");
  background-size: cover;
  position: absolute;
  right: 2px;
  top: 21px;
  transform: translateY(-50%);
}

@media screen and (max-width: 370px) {
  .card.is-new-student::after {
    width: 30px;
    height: 30px;
  }
}

.card__title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.1em;
  width: 78%;
  position: relative;
}

@media screen and (max-width: 768px) {
  .card__title {
    font-size: 16px;
  }
}

/* .card__title.is-new-student {
  display: inline-block; 
  padding-right: 24px; 
} */

.card__sub-title {
  font-size: 12px;
  font-weight: 700;
  margin-top: 10px;
  font-family: "Zen Kaku Gothic Antique", sans-serif;
}

@media screen and (max-width: 768px) {
  .card__sub-title {
    margin-top: 6px;
  }
}

.card__text {
  font-size: 12px;
  font-weight: 500;
  margin-top: 16px;
  line-height: 1.3;
  font-family: "Zen Kaku Gothic Antique", sans-serif;
}

@media screen and (max-width: 768px) {
  .card__text {
    font-size: 10px;
    /* letter-spacing: -0.1em; */
    margin-top: 12px;
  }
}

.card__bottom {
  padding-top: 20px;
  margin-top: auto;
  /* margin-top: 20px; */
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

@media screen and (max-width: 768px) {
  .card__bottom {
    padding-top: 14px;
  }
}

.book__card .card__price {
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-size: 18px;
  font-weight: 900;
  color: #F8B62D;
  /* color: #F39800; */
  /* color: rgb(237, 126, 163); */
}

@media screen and (max-width: 768px) {
  .book__card .card__price {
    font-size: 16px;
  }
}

.card__link {
  font-size: 10px;
  font-weight: 500;
  /* color: #F39800; */
}

.book__notice {
  font-size: 14px;
  font-weight: 500;
  line-height: 22px; /* 157.143% */
  margin-top: 20px;
}

@media screen and (max-width: 768px) {
  .book__notice {
    font-size: 13px;
    line-height: 20px; /* 153.846% */
    margin-top: 20px;
    text-shadow:
    -2px -2px 0 #FFFBCE,
     2px -2px 0 #FFFBCE,
    -2px  2px 0 #FFFBCE,
     2px  2px 0 #FFFBCE;
  }
}

.expert__inner {
  max-width: 1000px;
  width: 100%;
  margin-top: 50px;
  /* margin-top: 117px; */
  margin-left: auto;
  margin-right: auto;
  padding: 30px 32px 30px 30px;
  background: repeating-linear-gradient(
    -45deg, /* 斜線の角度を逆にする */
    #DAE9C8, /* 斜線の色 */
    #DAE9C8 3px, /* 斜線の幅（細くする） */
    #FFFBCE 3px, /* 隙間の開始 */
    #FFFBCE 6px /* 隙間の幅 */
  );
  position: relative;
}

@media screen and (max-width: 768px) {
  .expert__inner {
    margin-top: 50px;
    padding: 20px 19px;
  }
}

.expert__inner::after {
  content: "";
  display: block;  /* 擬似要素を表示させるために必要 */
  width: 42.5px;  /* 必要に応じてサイズを設定 */
  height: 53px;  /* 必要な高さを設定 */
  background-image: url('../images/school/icon_ribon2.png');
  background-size: contain;
  position: absolute;
  top: -23px;
  right: 102px;
}

@media screen and (max-width: 768px) {
  .expert__inner::after {
    width: 35px;
    height: 42px;
    top: -18px;
    right: 19px;
  }
}

.expert__title {
  width: 176px;
  height: 50px;
  padding: 3px 31px;
  border-radius: 10px;
  background: #76BA7B;
  /* background: #71BF78; */
  text-align: center;
  color: #FFF;
  font-size: 22px;
  font-weight: 900;
  line-height: 44px; /* 200% */
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}

@media screen and (max-width: 768px) {
  .expert__title {
    width: 150px;
    height: 40px;
    font-size: 17px;
    font-weight: 700;
    line-height: normal;
    padding: 0px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

.expert__text {
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 26px; /* 144.444% */
  margin-top: -25px;
  padding: 50px 30px 30px;
  text-align: center;
  letter-spacing: -0.05em;
  background: #FFFBCE;
  /* text-shadow:
    -2px -2px 0 #FFFBCE,
     2px -2px 0 #FFFBCE,
    -2px  2px 0 #FFFBCE,
     2px  2px 0 #FFFBCE; */
}

@media screen and (max-width: 768px) {
  .expert__text {
    font-size: 14px;
    font-weight: 500;
    line-height: 180%; /* 25.2px */
    /* letter-spacing: 0.14px; */
    margin-top: -20px;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 30px;
  }
}

.expert__cards {
  display: grid;
  grid-template-columns: repeat(5, 1fr); /* PCは5列 */
  gap: 24px 22px; /* 縦 24px、横 22px の余白 */
  margin-top: 30px;
  /* margin-top: 60px; */
}

/* タブレット (768px〜1024px) では3列 */
@media screen and (max-width: 1024px) {
  .expert__cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* スマホ (768px以下) では2列 */
@media screen and (max-width: 768px) {
  .expert__cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 10px;
    margin-top: 30px;
  }
}

.expert__card {
  transition: all 0.3s;
}

.expert__card:hover {
  filter: brightness(1.3);
}

.expert__card .card__price {
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-size: 18px;
  font-weight: 900;
  color: #76BA7B;
  /* color: #71BF78; */
}

@media screen and (max-width: 768px) {
  .expert__card .card__price {
    font-size: 16px;
  }
}

.course__text-wrapper {
  max-width: 1000px;
  width: 100%;
  /* margin-top: 30px; */
  margin-left: auto;
  margin-right: auto;
  background: #fff;
  padding: 32px 50px;
  margin-top: 20px;
}

@media screen and (max-width: 768px) {
  .course__text-wrapper {
    width: calc(100% - 40px);
    margin-top: 20px;
    padding: 40px 20px;
  }
}

.course__text {
  font-family: "Zen Kaku Gothic Antique", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 28px; /* 175% */
}

@media screen and (max-width: 768px) {
  .course__text {
    font-size: 14px;
    line-height: 18px; /* 128.571% */
  }
}

.features {
  margin-top: 80px;
  padding-top: 80px;
  padding-bottom: 90px;
}

@media screen and (max-width: 768px) {
  .features {
    margin-top: 70px;
    padding-top: 0;
    padding-bottom: 70px;
  }
}

.features__inner {
  max-width: 1000px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 40px;
}

@media screen and (max-width: 768px) {
  .features__inner {
    /* max-width: calc(100% - 40px); */
    padding-right: 20px;
  }
}

.features__title {
  width: 332px;
  margin-left: auto;
  margin-right: auto;
}

@media screen and (max-width: 768px) {
  .features__title {
    max-width: 237px;
    width: 100%;
  }
}

.features__items {
  margin-top: 70px;
  display: flex;
  flex-direction: column;
  gap: 50px;
}

@media screen and (max-width: 768px) {
  .features__items {
    gap: 45px;
    margin-top: 40px;
  }
}

.features__item {
  display: flex;
  align-items: center;
  gap: 36px;
}

@media screen and (max-width: 768px) {
  .features__item {
    flex-direction: column-reverse;
    gap: 10px;
  }
}

.features__item:nth-child(2) {
  flex-direction: row-reverse;
}

@media screen and (max-width: 768px) {
  .features__item:nth-child(2) {
    flex-direction: column-reverse;
  }
}

.features__content {
  width: 55.3%;
}

@media screen and (max-width: 768px) {
  .features__content {
    width: 100%;
    /* width: 51.4%; */
}

}

.features__point {
  color: #ED7576;
  font-size: 30px;
  font-weight: 900;
  letter-spacing: 1.5px;
}

@media screen and (max-width: 768px) {
  .features__point {
    font-size: 20px;;
    font-weight: 700;
    line-height: 20px; /* 185% */
  }
}

.features__content-title {
  font-size: 22px;
  font-weight: 900;
  line-height: 44px;
  margin-top: 5px;
}

@media screen and (max-width: 768px) {
  .features__content-title {
    font-size: 15px;
    line-height: 22px;
    letter-spacing: 0.32px;
    margin-top: 4px;
  }
}

.features__text {
  font-family: "Zen Kaku Gothic Antique", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 32px;
}

@media screen and (max-width: 768px) {
  .features__text {
    font-size: 13px;
    line-height: 1.7;
    margin-top: 6px;
  }
}

.features__image-wrap {
  width: 41.1%;
}

@media screen and (max-width: 768px) {
  .features__image-wrap {
    width: 100%;
  }
}

.features__image {
  aspect-ratio:411 / 203;
  overflow: hidden;
}

@media screen and (max-width: 768px) {
  .features__image {
    aspect-ratio: 375 / 189;
  }
}

.features__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.curriculum {
  margin-top: 90px;
  margin-bottom: 160px;
}

@media screen and (max-width: 768px) {
  .curriculum {
    margin-top: 0;
    margin-bottom: 100px;
  }
}

.curriculum__inner {
  max-width: 1000px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

@media screen and (max-width: 768px) {
  .curriculum__inner {
    max-width: calc(100% - 40px);
  }
}

.curriculum__title {
  width: 332px;
  margin-left: auto;
  margin-right: auto;
}

@media screen and (max-width: 768px) {
  .curriculum__title {
    max-width: 237px;
    width: 100%;
  }
}

.curriculum__text {
  color: #000;
  font-size: 20px;
  font-weight: 700;
  line-height: 37px; /* 185% */
  margin-top: 70px;
  text-align: center;
  padding-left: 20px;
  padding-right: 40px;
}

@media screen and (max-width: 768px) {
  .curriculum__text {
    font-size: 14px;
    line-height: 180%; /* 25.2px */
    letter-spacing: 0.14px;
    padding-left: 17px;
    padding-right: 17px;
    margin-top: 40px;
  }
}

.curriculum__wrapper {
  background: #fff;
  padding-top: 50px;
  padding-bottom: 50px;
  margin-top: 70px;
}

@media screen and (max-width: 768px) {
  .curriculum__wrapper {
    padding-top: 50px;
    margin-top: 40px;
  }
}

.curriculum__items {
  display: flex;
  gap: 15px;
  padding-left: 9.5px;
  padding-right: 9.5px;
}

@media screen and (max-width: 768px) {
  .curriculum__items {
    flex-direction: column;
    padding-left: 34.5px;
  padding-right: 34.5px;
  }
}

.curriculum__item {
  width: calc((100% - 19px - 30px) / 3);
}

@media screen and (max-width: 768px) {
  .curriculum__item {
    width: 100%;
  }
}

.curriculum__image {
  aspect-ratio: 317 / 227;
  overflow: hidden;
}

@media screen and (max-width: 768px) {
  .curriculum__image {
    aspect-ratio: 280 / 200;
  }
}

.curriculum__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.curriculum__content {
  margin-top: 15px;
  padding-left: 13.5px;
  padding-right: 13.5px;
}

@media screen and (max-width: 768px) {
  .curriculum__content {
    padding-left: 0;
    padding-right: 0;
  }
}

.curriculum__content-title {
  font-size: 18px;
  font-weight: 900;
  line-height: 26px; /* 144.444% */
}

@media screen and (max-width: 768px) {
  .curriculum__content-title {
    font-size: 16px;
  }
}

.curriculum__content-text {
  font-family: "Zen Kaku Gothic Antique", sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 22px;
  padding-top: 30px;
}

@media screen and (max-width: 768px) {
  .curriculum__content-text {
    padding-top: 4px;
  }
}

@media screen and (max-width: 768px) {
  .curriculum__btn {
  }
}

.curriculum__btn a {
  width: 410px;
  height: 60px;
  border-radius: 50px;
  margin-left: auto;
  margin-right: auto;
  background: #FFF100;
  margin-top: 70px;
  font-size: 18px;
  font-weight: 700;
  line-height: 36px; /* 200% */
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

@media screen and (max-width: 768px) {
  .curriculum__btn a {
    width: 240px;
    height: 50px;
    font-size: 14px;
    font-weight: 900;
  }
}

.curriculum__btn a:hover {
  background: #FFF999;
}

.curriculum__btn a span {
  padding-left: 36px;
  /* padding-bottom: 4px; */
  font-weight: 700;
  margin-top: 3px;
}

@media screen and (max-width: 768px) {
  .curriculum__btn a span {
    /* padding-left: 4px; */
    font-size: 14px;
    font-weight: 900;
  }
}