@charset "utf-8";

/*-------------------------------------
FV
-------------------------------------*/

#p-magic-body .p-magic-fv {
  padding-top: 30px;
  padding-bottom: 26px;
  position: relative;
  z-index: 1;
  background-image: url(../image/fv_bg_sp.svg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: bottom;
}

#p-magic-body .p-magic-fv__body {
  padding: 0 10px 0 5.5%;
}

#p-magic-body .p-magic-fv__title {
  font-weight: 700;
  font-size: min(calc(30 / 390 * 100vw), 30px);
  line-height: 1.5;
}

#p-magic-body .p-magic-fv__text {
  margin-top: 27px;
  margin-left: 3px;
  font-weight: 700;
  line-height: calc(20 / 13);
  font-size: 13px;
}

#p-magic-body .p-magic-fv__image {
  margin-top: 50px;
  margin-left: 16%;
  width: calc(325 / 390 * 100%);
}

#p-magic-body .p-magic-fv__decoration01 {
  position: absolute;
  top: -3px;
  left: 313px;
  width: 12px;
  height: 12px;
  transform: rotate(35deg);
}
#p-magic-body .p-magic-fv__decoration02 {
  position: absolute;
  top: 148px;
  left: 95%;
  width: 13px;
  height: 13px;
  transform: rotate(42deg);
}
#p-magic-body .p-magic-fv__decoration03 {
  position: absolute;
  top: 215px;
  left: min(calc(43 / 390 * 100vw), 43px);
  width: 13px;
  height: 13px;
  transform: rotate(-16deg);
}
#p-magic-body .p-magic-fv__decoration04 {
  position: absolute;
  top: 199px;
  left: 57%;
  width: 15px;
  height: 4px;
  transform: rotate(-35deg);
}
#p-magic-body .p-magic-fv__decoration05 {
  position: absolute;
  top: 360px;
  left: 22px;
  width: 14px;
  height: 14px;
}


/* レスポンシブ */

@media screen and (max-width: 389px) {
  #p-magic-body .p-magic-fv {
    background-size: auto;
  }
}


@media screen and (min-width: 768px) {

  #p-magic-body .p-magic-fv {
    padding-top: 45px;
    padding-bottom: 158px;
    background-image: url(../image/fv_bg.svg);
    display: flex;
  }

  #p-magic-body .p-magic-fv__body {
    padding-top: 50px;
    padding-left: 8.5%;
  }

  #p-magic-body .p-magic-fv__title {
    font-size: calc(64 / 1440 * 100vw);
    line-height: calc(100 / 64);
  }

  #p-magic-body .p-magic-fv__text {
    margin-top: 36px;
    margin-left: 0;
    font-size: max(18px, calc(20 / 1440 * 100vw));
    line-height: 2;
  }

  #p-magic-body .p-magic-fv__image {
    flex: 1;
    margin-top: 0;
    margin-left: 1%;
    width: auto;
  }

  #p-magic-body .p-magic-fv__decoration01 {
    top: 27px;
    left: 15.8%;
    width: 24px;
    height: 24px;
  }
  #p-magic-body .p-magic-fv__decoration02 {
    position: absolute;
    top: 65.5%;
    left: 5%;
    width: 30px;
    height: 30px;
    transform: rotate(45deg);
  }
  #p-magic-body .p-magic-fv__decoration03 {
    top: 20px;
    left: 92%;
    width: 30px;
    height: 30px;
    transform: rotate(-17deg);
  }
  #p-magic-body .p-magic-fv__decoration04 {
    top: 61%;
    left: 37%;
    width: 32px;
    height: 10px;
  }
  #p-magic-body .p-magic-fv__decoration05 {
    position: absolute;
    top: 14.5%;
    left: 54.3%;
    width: 27px;
    height: 27px;
  }

}





/*-------------------------------------
マジックキーとは
-------------------------------------*/

#p-magic-body .p-magic-heading {
  margin-top: -228px;
  padding-top: 280px;
  padding-bottom: 150px;
  background-color: #EC6364;
  position: relative;
}

#p-magic-body .p-magic-lead {
  font-weight: 700;
  color: #FFF1EC;
}

#p-magic-body .p-magic-lead__title {
  text-align: center;
  font-weight: 700;
  font-size: 20px;
  line-height: 1.5;
}

#p-magic-body .p-magic-lead__text-zone {
  margin-top: 24px;
}

#p-magic-body .p-magic-lead__text {
  text-align: center;
  font-size: 14px;
  line-height: calc(25 / 14);
}
#p-magic-body .p-magic-lead__text:not(:first-child) {
  margin-top: 24px;
}

#p-magic-body .p-magic-about {
  margin-top: 105px;
}

#p-magic-body .p-magic-about__title {
  color: #FFF1EC;
  line-height: calc(40 / 24);
}

#p-magic-body .p-magic-about__list {
  margin-top: 45px;
  display: flex;
  flex-direction: column;
  row-gap: 35px;
}

#p-magic-body .p-magic-about__item {
  border-radius: 20px;
  background: #FFF1EC;
  box-shadow: 4px 4px 0px 0px #312F56;
  padding: 20px 20px 40px 28px;
}

#p-magic-body .p-magic-about__item__title {
  text-align: center;
  font-weight: 700;
  font-size: 20px;
  line-height: 2;
  color: #312F56;
}

#p-magic-body .p-magic-about__item__text {
  margin-top: 10px;
  font-weight: 700;
  font-size: 12px;
  line-height: calc(25 / 12);
}

#p-magic-body .p-magic-about__caution {
  margin-top: 88px;
}

#p-magic-body .p-magic-about__caution__title {
  text-align: center;
  font-weight: 700;
  font-size: 24px;
  line-height: calc(60 / 24);
  color: #FFFBF9;
}

#p-magic-body .p-magic-about__caution__text {
  text-align: center;
  font-weight: 700;
  font-size: 14px;
  line-height: calc(25 / 14);
  color: #FFFBF9;
}

#p-magic-body .p-magic-heading__decoration01 {
  position: absolute;
  top: 13px;
  left: 14%;
  width: 17px;
  height: 5px;
  transform: rotate(140deg);
}
#p-magic-body .p-magic-heading__decoration02 {
  position: absolute;
  top: -55px;
  right: 5%;
  width: 11px;
  height: 11px;
  transform: rotate(42deg);
}
#p-magic-body .p-magic-heading__decoration03 {
  position: absolute;
  top: 180px;
  right: 4%;
  width: 13px;
  height: 13px;
}
#p-magic-body .p-magic-heading__decoration04 {
  position: absolute;
  top: 332px;
  left: 21%;
  width: 14px;
  height: 14px;
  transform: rotate(-26deg);
}
#p-magic-body .p-magic-heading__decoration05 {
  position: absolute;
  bottom: 156px;
  left: 21%;
  width: 11px;
  height: 11px;
  transform: rotate(40deg);
}
#p-magic-body .p-magic-heading__decoration06 {
  position: absolute;
  bottom: -48px;
  right: 2%;
  width: 17px;
  height: 5px;
  transform: rotate(135deg);
}


/* レスポンシブ */

@media screen and (min-width: 768px) {

  #p-magic-body .p-magic-heading {
    margin-top: -340px;
    padding-top: 313px;
    padding-bottom: 230px;
  }

  #p-magic-body .p-magic-lead__title {
    font-size: 40px;
  }

  #p-magic-body .p-magic-lead__text-zone {
    margin-top: 37px;
  }

  #p-magic-body .p-magic-lead__text {
    font-size: 24px;
    line-height: calc(40 / 24);
  }
  #p-magic-body .p-magic-lead__text:not(:first-child) {
    margin-top: 40px;
    font-size: 20px;
    line-height: 2;
  }

  #p-magic-body .p-magic-about {
    margin-top: 80px;
  }

  #p-magic-body .p-magic-about__list {
    flex-direction: row;
    justify-content: space-between;
    column-gap: 32px;
  }

  #p-magic-body .p-magic-about__item {
    width: calc(calc(100% - 32px) / 2);
    padding: 62px 50px 75px;
  }

  #p-magic-body .p-magic-about__item__title {
    font-size: 30px;
  }

  #p-magic-body .p-magic-about__item__text {
    margin-top: 40px;
    font-size: 16px;
    line-height: calc(35 / 16);
  }

  #p-magic-body .p-magic-about__caution {
    margin-top: 75px;
  }

  #p-magic-body .p-magic-about__caution__title {
    font-size: 30px;
  }

  #p-magic-body .p-magic-about__caution__text {
    font-size: 20px;
  }

  #p-magic-body .p-magic-heading__decoration01 {
    top: 37.7%;
    left: auto;
    right: 2.5%;
    width: 33px;
    height: 8px;
    transform: rotate(-40deg);
  }
  #p-magic-body .p-magic-heading__decoration02 {
    top: 17.4%;
    right: auto;
    left: 6%;
    width: 21px;
    height: 21px;
    transform: rotate(35deg);
  }
  #p-magic-body .p-magic-heading__decoration03 {
    top: 48.4%;
    right: auto;
    left: -1.2%;
    width: 25px;
    height: 25px;
  }
  #p-magic-body .p-magic-heading__decoration04 {
    top: -5%;
    left: auto;
    right: 2.5%;
    width: 27px;
    height: 27px;
    transform: rotate(-26deg);
  }
  #p-magic-body .p-magic-heading__decoration05 {
    bottom: 84px;
    left: 6.5%;
    width: 27px;
    height: 27px;
    transform: rotate(-28deg);
  }
  #p-magic-body .p-magic-heading__decoration06 {
    bottom: 75px;
    right: 12.5%;
    width: 30px;
    height: 8px;
    transform: rotate(35deg);
  }

}





/*-------------------------------------
学習教材と授業風景
-------------------------------------*/

#p-magic-body .p-magic-material {
  margin-top: -63px;
  padding-top: 87px;
  padding-bottom: 150px;
  position: relative;
  z-index: 1;
  background-image: url(../image/material_bg_sp.svg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: top;
}

#p-magic-body .p-magic-material__title {
  color: #312F56;
  line-height: calc(40 / 24);
}

#p-magic-body .p-magic-material__slider-zone {
  margin-top: 32px;
}

#p-magic-body .slider-zone {
  position: relative;
}

#p-magic-body .p-magic-material__slider__item {
  padding: 0 5px 6px;
}

#p-magic-body .p-magic-material__slider__item a:hover {
  transition: 0.3s;
}
#p-magic-body .p-magic-material__slider__item a:hover {
  opacity: 0.7;
}

#p-magic-body .p-magic-material__slider__image {
  border-radius: calc(15 / 390 * 100vw);
  border: 3px solid #FFC75D;
  box-shadow: 6px 6px 0px 0px #FFC75D;
}

#p-magic-body .p-magic-material__slider__image img {
  border-radius: calc(13 / 390 * 100vw);
}

#p-magic-body .p-magic-material__slider__image img {
  aspect-ratio: 234 / 139;
}

#p-magic-body .p-magic-material__button {
  margin-top: 40px;
}

#p-magic-body .p-magic-material__decoration01 {
  position: absolute;
  top: 52px;
  left: calc(50% - 144px);
  width: 14px;
  height: 13px;
}
#p-magic-body .p-magic-material__decoration02 {
  position: absolute;
  top: 28px;
  left: calc(50% + 153px);
  width: 13px;
  height: 13px;
  transform: rotate(45deg);
}
#p-magic-body .p-magic-material__decoration03 {
  position: absolute;
  bottom: 165px;
  left: calc(50% - 145px);
  width: 17px;
  height: 5px;
  transform: rotate(35deg);
}
#p-magic-body .p-magic-material__decoration04 {
  position: absolute;
  bottom: 88px;
  left: calc(50% + 82px);
  width: 13px;
  height: 13px;
  transform: rotate(35deg);
}
#p-magic-body .p-magic-material__decoration05 {
  position: absolute;
  bottom: 172px;
  left: 96%;
  width: 13px;
  height: 13px;
  transform: rotate(40deg);
}


/* レスポンシブ*/

@media screen and (min-width: 768px) {

  #p-magic-body .p-magic-material {
    margin-top: -137px;
    padding-top: 148px;
    padding-bottom: 250px;
    background-image: url(../image/material_bg.svg);
  }

  #p-magic-body .p-magic-material__slider-zone {
    margin-top: 55px;
  }

  #p-magic-body .p-magic-material__slider__item {
    padding: 0 12px 6px;
  }

  #p-magic-body .p-magic-material__slider__image {
    border-radius: 17px;
  }

  #p-magic-body .p-magic-material__slider__image img {
    border-radius: 13px;
    aspect-ratio: 632 / 288;
  }

  #p-magic-body .p-magic-material__button {
    margin-top: 73px;
  }

  #p-magic-body .p-magic-material__decoration01 {
    top: 173px;
    left: 8.5%;
    width: 34px;
    height: 10px;
    transform: rotate(-35deg);
  }
  #p-magic-body .p-magic-material__decoration03 {
    bottom: 261px;
    left: 89.5%;
    width: 33px;
    height: 10px;
    transform: rotate(-140deg);
  }
  #p-magic-body .p-magic-material__decoration04 {
    bottom: 149px;
    left: 69%;
    width: 25px;
    height: 25px;
    transform: rotate(37deg);
  }
  #p-magic-body .p-magic-material__decoration05 {
    bottom: 309px;
    left: 26.5%;
    width: 27px;
    height: 27px;
    transform: rotate(15deg);
  }

}

@media screen and (min-width: 1800px) {

  #p-magic-body .p-magic-material__slider__image {
    border-radius: 20px;
  }

  #p-magic-body .p-magic-material__slider__image img {
    border-radius: 19px;
  }

}




/*-------------------------------------
マジックキーが育てる3つのスキル
-------------------------------------*/

#p-magic-body .p-magic-skill {
  margin-top: -85px;
  padding-top: 130px;
  padding-bottom: 180px;
  position: relative;
  z-index: 2;
  background-image: url(../image/skill_bg_sp.svg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: top;
}

#p-magic-body .p-magic-skill__title {
  color: #FFFBF9;
  line-height: calc(35 / 24);
}

#p-magic-body .p-magic-skill__list {
  margin-top: 42px;
  display: flex;
  flex-direction: column;
  row-gap: 42px;
}

#p-magic-body .p-magic-skill__item__container {
  margin: 0 auto;
  width: 280px;
  height: auto;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  border: 3px solid #FFC75D;
  background: #FFF1EC;
  box-shadow: 6px 6px 0px 0px #FFC75D;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  font-weight: 700;
  color: #312F56;
}

#p-magic-body .p-magic-skill__item__number {
  margin-top: 24px;
  font-family: var(--Inter);
  font-size: 50px;
  line-height: 1.55;
}
#p-magic-body .p-magic-skill__item:nth-child(2) .p-magic-skill__item__number {
  margin-top: 17px;
}

#p-magic-body .p-magic-skill__item__title {
  font-size: 20px;
  line-height: 2;
}

#p-magic-body .p-magic-skill__item__text {
  margin-top: 10px;
  font-size: 12px;
}

#p-magic-body .p-magic-skill__decoration01 {
  position: absolute;
  top: 57px;
  left: calc(50% - 170px);
  width: 14px;
  height: 14px;
  transform: rotate(-25deg);
}
#p-magic-body .p-magic-skill__decoration02 {
  position: absolute;
  top: 207px;
  left: calc(50% + 155px);
  width: 17px;
  height: 4px;
  transform: rotate(40deg);
}
#p-magic-body .p-magic-skill__decoration03 {
  position: absolute;
  top: 38.5%;
  left: calc(50% - 140px);
  width: 17px;
  height: 8px;
  transform: rotate(40deg);
}
#p-magic-body .p-magic-skill__decoration04 {
  position: absolute;
  top: 66.5%;
  left: calc(50% - 170px);
  width: 13px;
  height: 13px;
}
#p-magic-body .p-magic-skill__decoration05 {
  position: absolute;
  top: 60.8%;
  left: calc(50% + 170px);
  width: 12px;
  height: 12px;
  transform: rotate(35deg);
}
#p-magic-body .p-magic-skill__decoration06 {
  position: absolute;
  bottom: 126px;
  left: calc(50% - 150px);
  width: 14px;
  height: 14px;
  transform: rotate(-25deg);
}
#p-magic-body .p-magic-skill__decoration07 {
  position: absolute;
  bottom: 119px;
  left: calc(50% + 133px);
  width: 17px;
  height: 4px;
  transform: rotate(135deg);
}


/* レスポンシブ*/

@media screen and (min-width: 768px) {

  #p-magic-body .p-magic-skill {
    margin-top: -205px;
    padding-top: 242px;
    padding-bottom: 300px;
    background-image: url(../image/skill_bg.svg);
  }

  #p-magic-body .p-magic-skill__item:not(:first-child) {
    margin-top: -20px;
  }

  #p-magic-body .p-magic-skill__item__container {
    width: 430px;
  }

  #p-magic-body .p-magic-skill__item__number {
    margin-top: 40px;
    font-size: 80px;
  }
  #p-magic-body .p-magic-skill__item:nth-child(2) .p-magic-skill__item__number {
    margin-top: 24px;
  }
  #p-magic-body .p-magic-skill__item:nth-child(3) .p-magic-skill__item__number {
    margin-top: 26px;
  }

  #p-magic-body .p-magic-skill__item__title {
    font-size: 30px;
  }
  #p-magic-body .p-magic-skill__item:nth-child(2) .p-magic-skill__item__title,
  #p-magic-body .p-magic-skill__item:nth-child(3) .p-magic-skill__item__title {
    margin-top: 12px;
  }

  #p-magic-body .p-magic-skill__item__text {
    margin-top: 15px;
    font-size: 16px;
    line-height: 1.9;
  }

  #p-magic-body .p-magic-skill__decoration01 {
    top: 302px;
    left: 86.2%;
    width: 29px;
    height: 29px;
    transform: rotate(40deg);
  }
  #p-magic-body .p-magic-skill__decoration02 {
    top: 203px;
    left: 13%;
    width: 38px;
    height: 10px;
    transform: rotate(-40deg);
  }
  #p-magic-body .p-magic-skill__decoration04 {
    top: 41.5%;
    left: 6.5%;
    width: 29px;
    height: 29px;
    transform: rotate(-20deg);
  }
  #p-magic-body .p-magic-skill__decoration05 {
    top: 43.5%;
    left: 94.6%;
    width: 21px;
    height: 21px;
  }
  #p-magic-body .p-magic-skill__decoration06 {
    bottom: min(331px, 23vw);
    left: 90%;
    width: 29px;
    height: 29px;
    transform: rotate(60deg);
    display: none;
  }
  #p-magic-body .p-magic-skill__decoration07 {
    bottom: min(345px, 24vw);
    left: 13%;
    width: 30px;
    height: 9px;
    transform: rotate(35deg);
  }

}

@media screen and (min-width: 992px) {

  #p-magic-body .p-magic-skill__list {
    margin: 85px auto 0;
    width: 1000px;
    padding: 0 20px;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0 100px;
  }

  #p-magic-body .p-magic-skill__item:nth-child(1) {
    width: 100%;
  }

  #p-magic-body .p-magic-skill__decoration06 {
    display: block;
  }

}





/*-------------------------------------
2022年英検®合格実績
-------------------------------------*/

#p-magic-body .p-magic-success {
  margin-top: -100px;
  padding-top: 112px;
  padding-bottom: 180px;
  position: relative;
  z-index: 3;
  background-image: url(../image/success_bg_sp.svg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: top;
}

#p-magic-body .p-magic-success__title {
  color: #312F56;
}

#p-magic-body .p-magic-success__title__en {
  font-family: var(--Inter);
}

#p-magic-body .p-magic-success__subTitle {
  text-align: center;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.4;
  padding-bottom: 12px;
  color: #312F56;
}
#p-magic-body .p-magic-success__subTitle span {
  display: inline-block;
}

#p-magic-body .p-magic-success__subTitle__en {
  font-family: var(--Inter);
}

#p-magic-body .p-magic-success__list {
  margin: 20px auto 0;
  width: 80%;
  display: flex;
  flex-direction: column;
  row-gap: 15px;
}

#p-magic-body .p-magic-success__item {
  height: 68px;
  padding: 0 10% 0 8%;
  border-radius: 15px;
  background: #EC6364;
  box-shadow: 4px 4px 0px 0px #312F56;
  font-weight: 700;
  color: #FFFBF9;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#p-magic-body .p-magic-success__item__heading {
  flex: 1;
}

#p-magic-body .p-magic-success__item__name {
  display: flex;
  align-items: flex-end;
  font-size: 14px;
  line-height: 1.3;
}

#p-magic-body .p-magic-success__item__bigName {
  font-family: var(--Inter);
  font-size: 24px;
  line-height: 1;
}

#p-magic-body .p-magic-success__item__level {
  font-size: 14px;
  line-height: 1.8;
}

#p-magic-body .p-magic-success__item__count {
  font-size: 16px;
}
#p-magic-body .p-magic-success__item__count--position {
  transform: translateX(5px);
}

#p-magic-body .p-magic-success__item__bigCount {
  font-family: var(--Inter);
  padding-right: 2px;
  font-size: 32px;
}

#p-magic-body .p-magic-success-jr {
  margin-top: 60px;
}

#p-magic-body .p-magic-success__item__rank {
  text-transform: uppercase;
  font-family: var(--Inter);
  font-size: 24px;
}


/* レスポンシブ*/

@media screen and (min-width: 768px) {

  #p-magic-body .p-magic-success {
    margin-top: -250px;
    padding-top: 285px;
    padding-bottom: 300px;
    background-image: url(../image/success_bg.svg);
  }

  #p-magic-body .p-magic-success__subTitle {
    font-size: 20px;
    line-height: 1.2;
    transform: translateX(5px);
    padding-bottom: 55px;
  }

  #p-magic-body .p-magic-success__list {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    row-gap: 32px;
  }

  #p-magic-body .p-magic-success__item {
    width: calc((100% - 45px * 2) / 3);
    height: 212px;
    padding: 20px 0 0 0;
    flex-direction: column;
    justify-content: center;
  }
  #p-magic-body .p-magic-success-2022 .p-magic-success__item:nth-child(1),
  #p-magic-body .p-magic-success-2022 .p-magic-success__item:nth-child(2) {
    width: calc((100% - 32px) / 2);
    padding: 25px 0 0 0;
  }
  #p-magic-body .p-magic-success-jr .p-magic-success__item {
    padding: 0 0 8px 0;
  }

  #p-magic-body .p-magic-success__item__heading {
    flex: unset;
  }

  #p-magic-body .p-magic-success__item__name {
    justify-content: center;
    font-size: 30px;
  }

  #p-magic-body .p-magic-success__item__bigName {
    font-size: 48px;
  }

  #p-magic-body .p-magic-success__item__level {
    font-size: 20px;
  }

  #p-magic-body .p-magic-success__item__count {
    margin-top: 25px;
    font-size: 32px;
  }
  #p-magic-body .p-magic-success-2022 .p-magic-success__item:nth-child(1) .p-magic-success__item__count,
  #p-magic-body .p-magic-success-2022 .p-magic-success__item:nth-child(2) .p-magic-success__item__count {
    margin-top: 0;
  }
  #p-magic-body .p-magic-success-jr .p-magic-success__item .p-magic-success__item__count {
    margin-top: 2px;
  }

  #p-magic-body .p-magic-success__item__bigCount {
    font-size: 75px;
    line-height: 1;
  }

  #p-magic-body .p-magic-success-jr {
    margin-top: 45px;
  }

  #p-magic-body .p-magic-success__item__rank {
    font-size: 40px;
  }

}

@media screen and (min-width: 1800px) {
  #p-magic-body .p-magic-success {
    margin-top: -12vw;
    padding-top: 15vw;
  }
}




/*-------------------------------------
3つのKey
-------------------------------------*/

#p-magic-body .p-magic-key {
  margin-top: -110px;
  padding-top: 80px;
  position: relative;
  z-index: 3;
}
#p-magic-body .p-magic-key::before {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  content: "";
  width: 100%;
  height: auto;
  aspect-ratio: 390 / 1183;
  background-image: url(../image/key_bg_sp.svg);
  background-repeat: no-repeat;
  background-size: contain;
}

#p-magic-body .p-magic-key__title {
  color: #312F56;
  line-height: 1.8;
}

#p-magic-body .p-magic-key__bigTitle {
  font-size: 36px;
  line-height: 1;
}

#p-magic-body .p-magic-key__list {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  row-gap: 19px;
}

#p-magic-body .p-magic-key__item {
  border-radius: 15px;
  border: 2px solid #312F56;
  background: #FFF1EC;
  box-shadow: 2px 3px 0px 1px #312F56;
  padding: 0 min(calc(34 / 390 * 100vw), 34px) 34px;
  overflow: hidden;
  position: relative;
}

#p-magic-body .p-magic-key__item__number {
  margin-left: -34px;
  font-family: var(--Inter);
  font-weight: 700;
  font-size: min(calc(140 / 390 * 100vw), 140px);
  line-height: 0.7;
  color: rgba(255, 199, 93, 0.30);
}

#p-magic-body .p-magic-key__item__title {
  margin-top: 25px;
  font-weight: 700;
  font-size: min(calc(20 / 390 * 100vw), 20px);
  line-height: calc(28 / 20);
}

#p-magic-body .p-magic-key__item__text {
  margin-top: 15px;
  font-weight: 500;
  font-size: 12px;
  line-height: calc(22 / 12);
}

#p-magic-body .p-magic-key__item__image01 {
  position: absolute;
  top: 10%;
  right: -4%;
  width: 53%;
}
#p-magic-body .p-magic-key__item__image02 {
  position: absolute;
  top: 10%;
  right: 6%;
  width: 33%;
}
#p-magic-body .p-magic-key__item__image03 {
  position: absolute;
  top: 19%;
  right: 8%;
  width: 32%;
}


/* レスポンシブ*/

@media screen and (min-width: 450px) {
  #p-magic-body .p-magic-key::before {
    transform: translateX(-50%) scaleY(0.7);
    transform-origin: top;
  }
}

@media screen and (min-width: 600px) {
  #p-magic-body .p-magic-key::before {
    transform: translateX(-50%) scaleY(0.5);
  }
}

@media screen and (min-width: 768px) {

  #p-magic-body .p-magic-key {
    margin-top: -130px;
    padding-top: 95px;
  }
  #p-magic-body .p-magic-key::before {
    transform: translateX(-50%);
    background-image: url(../image/key_bg.svg);
    aspect-ratio: 1440 / 708;
  }

  #p-magic-body .p-magic-key__title {
    line-height: 1.4;
  }
  #p-magic-body .p-magic-key__bigTitle {
    font-size: 64px;
  }

  #p-magic-body .p-magic-key__list {
    margin-top: 55px;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 50px;
  }

  #p-magic-body .p-magic-key__item {
    width: 366px;
    padding: 0 20px 50px;
    display: flex;
    flex-direction: column;
  }

  #p-magic-body .p-magic-key__item__number {
    margin-left: -25px;
    font-size: 180px;
    line-height: 0.75;
  }

  #p-magic-body .p-magic-key__item__title {
    margin-top: 75px;
    font-size: 24px;
    line-height: calc(35 / 24);
    margin-bottom: 20px;
  }

  #p-magic-body .p-magic-key__item__text {
    margin-top: auto;
    font-size: 16px;
    line-height: calc(35 / 16);
  }

  #p-magic-body .p-magic-key__item__image01 {
    width: 185px;
    top: 18%;
    right: -2%;
  }
  #p-magic-body .p-magic-key__item__image02 {
    width: 166px;
    top: 18%;
    right: 4%;
  }
  #p-magic-body .p-magic-key__item__image03 {
    width: 146px;
    top: 18%;
    right: 9%;
  }

}

@media screen and (min-width: 1800px) {
  #p-magic-body .p-magic-key::before {
    transform: translateX(-50%) scaleY(0.7);
  }
}





/*-------------------------------------
受講生からの声
-------------------------------------*/

#p-magic-body .p-magic-voice {
  padding-top: 118px;
  padding-bottom: 80px;
  position: relative;
}

#p-magic-body .p-magic-voice__subTitle {
  text-align: center;
  font-weight: 700;
  font-size: 16px;
}

#p-magic-body .p-magic-voice-new {
  margin-top: 44px;
}

#p-magic-body .p-magic-voice-block__title {
  line-height: 1.4;
}

#p-magic-body .p-magic-voice-block__subTitle {
  text-align: center;
  font-weight: 700;
  font-size: 16px;
}

#p-magic-body .p-magic-voice-new__slider-zone {
  margin-top: 24px;
  width: 86vw;
  margin-left: 7vw;
}

#p-magic-body .p-magic-voice-new__slider__item {
  margin-left: -5vw;
  padding: 0 12vw 6px 0;
}

#p-magic-body .p-magic-voice-new__slider__item a {
  transition: 0.3s;
}
#p-magic-body .p-magic-voice-new__slider__item a:hover {
  opacity: 0.7;
}

#p-magic-body .p-magic-voice-new__slider__image {
  border-radius: 15px;
  border: 3px solid #FFC75D;
  box-shadow: 6px 6px 0px 0px #FFC75D;
}

#p-magic-body .p-magic-voice-new__slider__image img {
  border-radius: 13px;
}

#p-magic-body .p-magic-voice-new__slider__text {
  width: 95%;
  margin-left: 3%;
  margin-top: 14px;
  font-weight: 700;
  font-size: 12px;
  line-height: calc(20 / 12);
}

#p-magic-body .p-magic-voice-pick {
  margin-top: 50px;
}

#p-magic-body .p-magic-voice-pick__slider-zone {
  margin-top: 36px;
  width: 86vw;
  margin-left: 7vw;
}

#p-magic-body .p-magic-voice-pick__slider__item {
  height: 100%;
  margin-left: -14vw;
  padding: 0 19vw 6px 0;
}

#p-magic-body .p-magic-voice-pick__slider__item a {
  transition: 0.3s;
}
#p-magic-body .p-magic-voice-pick__slider__item a:hover {
  opacity: 0.7;
}

#p-magic-body .p-magic-voice-pick__slider__container {
  border-radius: 15px;
  border: 3px solid #FFC75D;
  box-shadow: 6px 6px 0px 0px #FFC75D;
  height: 100%;
  display: flex;
  flex-direction: column;
}

#p-magic-body .p-magic-voice-pick__slider__image {
  border-radius: 13px 13px 0 0;
}

#p-magic-body .p-magic-voice-pick__slider__image img {
  border-radius: 13px 13px 0 0;
  aspect-ratio: 200 / 145;
}

#p-magic-body .p-magic-voice-pick__slider__text-zone {
  width: 100%;
  height: 92px;
  padding: 0 5px;
  display: flex;
  justify-content: center;
  align-items: center;
}

#p-magic-body .p-magic-voice-pick__slider__text {
  text-align: center;
  font-weight: 700;
  font-size: 12px;
  line-height: calc(20 / 12);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
}

#p-magic-body .p-magic-voice__button {
  margin-top: 50px;
}

#p-magic-body .p-magic-voice__decoration01 {
  position: absolute;
  top: 26px;
  left: 20%;
  width: 15px;
  height: 11px;
}
#p-magic-body .p-magic-voice__decoration02 {
  position: absolute;
  top: 65px;
  right: 6%;
  width: 14px;
  height: 14px;
  transform: rotate(40deg);
}
#p-magic-body .p-magic-voice__decoration03 {
  position: absolute;
  top: 220px;
  left: 14%;
  width: 13px;
  height: 13px;
  transform: rotate(35deg);
}
#p-magic-body .p-magic-voice__decoration04 {
  position: absolute;
  top: 51%;
  left: 5%;
  width: 19px;
  height: 9px;
  transform: rotate(-35deg);
}
#p-magic-body .p-magic-voice__decoration05 {
  position: absolute;
  top: 54.5%;
  right: 4%;
  width: 15px;
  height: 11px;
}
#p-magic-body .p-magic-voice__decoration06 {
  position: absolute;
  bottom: 47px;
  left: 11%;
  width: 14px;
  height: 14px;
  transform: rotate(-10deg);
}
#p-magic-body .p-magic-voice__decoration07 {
  position: absolute;
  bottom: 100px;
  right: 1%;
  width: 14px;
  height: 14px;
  transform: rotate(40deg);
}


/* レスポンシブ */

@media screen and (min-width: 768px) {

  #p-magic-body .p-magic-voice {
    padding-top: 210px;
  }

  #p-magic-body .p-magic-voice__subTitle {
    font-size: 30px;
    line-height: 1;
  }

  #p-magic-body .p-magic-voice-block__subTitle {
    font-size: 20px;
  }

  #p-magic-body .p-magic-voice-new__slider-zone {
    margin-top: 45px;
    width: 92vw;
    margin-left: 8vw;
  }

  #p-magic-body .p-magic-voice-new__slider__item {
    margin-left: -18vw;
    padding: 0 20vw 6px 0;
  }

  #p-magic-body .p-magic-voice-new__slider__text {
    margin-top: 25px;
    text-align: center;
    font-size: 16px;
  }

  #p-magic-body .p-magic-voice-pick {
    margin-top: 80px;
  }

  #p-magic-body .p-magic-voice-pick__slider-zone {
    margin-top: 45px;
    width: 82vw;
    margin-left: auto;
    margin-right: auto;
  }

  #p-magic-body .p-magic-voice-pick__slider {
    position: relative;
    padding: 0 5vw;
  }

  #p-magic-body .p-magic-voice-pick__slider__item {
    margin-left: 0;
    padding: 0 1vw 6px 1vw;
  }

  #p-magic-body .p-magic-voice-pick__slider__text-zone {
    height: 155px;
  }

  #p-magic-body .p-magic-voice-pick__slider__text {
    font-size: 16px;
  }

  #p-magic-body .p-magic-voice-pick__slider .slick-prev,
  #p-magic-body .p-magic-voice-pick__slider .slick-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: calc(57 / 1440 * 100vw);
    height: calc(57 / 1440 * 100vw);
    cursor: pointer;
    outline: none;
    z-index: 10;
  }

  #p-magic-body .p-magic-voice-pick__slider .slick-prev {
    left: 0;
  }
  #p-magic-body .p-magic-voice-pick__slider .slick-prev::before {
    position: absolute;
    top: 0;
    left: 0;
    content: "";
    width: 100%;
    height: 100%;
    background-image: url(../image/slider_prev.svg);
    background-repeat: no-repeat;
    background-size: contain;
  }

  #p-magic-body .p-magic-voice-pick__slider .slick-next {
    right: 0;
  }
  #p-magic-body .p-magic-voice-pick__slider .slick-next::before {
    position: absolute;
    top: 0;
    left: 0;
    content: "";
    width: 100%;
    height: 100%;
    background-image: url(../image/slider_next.svg);
    background-repeat: no-repeat;
    background-size: contain;
  }

  #p-magic-body .p-magic-voice__decoration01 {
    top: 46%;
    left: 2%;
    width: 28px;
    height: 25px;
  }
  #p-magic-body .p-magic-voice__decoration02 {
    top: 188px;
    right: 78%;
    width: 34px;
    height: 34px;
  }
  #p-magic-body .p-magic-voice__decoration03 {
    top: 101px;
    left: 71%;
    width: 28px;
    height: 28px;
  }
  #p-magic-body .p-magic-voice__decoration04 {
    top: 23%;
    left: 3%;
    width: 50px;
    height: 20px;
  }
  #p-magic-body .p-magic-voice__decoration05 {
    top: 62.5%;
    right: 4%;
    width: 50px;
    height: 25px;
    transform: rotate(-130deg);
  }
  #p-magic-body .p-magic-voice__decoration06 {
    top: 19.5%;
    bottom: auto;
    left: auto;
    right: 8.5%;
    width: 35px;
    height: 35px;
    transform: rotate(90deg);
  }
  #p-magic-body .p-magic-voice__decoration07 {
    bottom: 35px;
    left: 15%;
    width: 35px;
    height: 35px;
    transform: rotate(45deg);
  }

}

@media screen and (min-width: 1441px) {

  #p-magic-body .p-magic-voice-new__slider__image {
    border-radius: 28px;
  }

  #p-magic-body .p-magic-voice-new__slider__image img {
    border-radius: 25px;
  }

}





/*-------------------------------------
料金・コース
-------------------------------------*/

#p-magic-body .p-magic-plan {
  padding-top: 105px;
  padding-bottom: 65vw;
  position: relative;
  z-index: 1;
}
#p-magic-body .p-magic-plan::before {
  position: absolute;
  top: 0;
  left: 0;
  content: "";
  width: 100%;
  height: auto;
  aspect-ratio: 390 / 890;
  background-image: url(../image/plan_bg_sp.svg);
  background-repeat: no-repeat;
  background-size: contain;
}

#p-magic-body .p-magic-plan__inner {
  max-width: none;
}

#p-magic-body .p-magic-plan__title {
  color: #FFFBF9;
}

#p-magic-body .p-magic-plan__table-zone {
  margin-top: 30px;
}

#p-magic-body .p-magic-plan__table {
  width: 735px;
  margin: 0 auto;
  font-weight: 700;
  font-size: 12px;
  line-height: calc(20 /12);
  border-collapse: separate;
}

#p-magic-body .p-magic-plan__table__heading th {
  border-top: 1px solid #000;
  background-color: #FFC75D;
  padding: 4px;
}
#p-magic-body .p-magic-plan__table__heading th:first-child {
  border-radius: 15px 0 0 0;
  border-left: 1px solid #000;
}
#p-magic-body .p-magic-plan__table__heading th:last-child {
  border-radius: 0 15px 0 0;
  border-right: 1px solid #000;
}
#p-magic-body .p-magic-plan__table__heading th:not(:first-child) {
  border-left: 1px solid #000;
}

#p-magic-body .p-magic-plan__table__heading {
  height: 30px;
}
#p-magic-body .p-magic-plan__table tr:nth-child(2) td {
  height: 32px;
}
#p-magic-body .p-magic-plan__table tr:nth-child(3) td {
  height: 36px;
}
#p-magic-body .p-magic-plan__table tr:nth-child(4) td,
#p-magic-body .p-magic-plan__table tr:nth-child(11) td,
#p-magic-body .p-magic-plan__table tr:nth-child(12) td {
  height: 38px;
}
#p-magic-body .p-magic-plan__table tr:nth-child(5) td {
  height: 68px;
}
#p-magic-body .p-magic-plan__table tr:nth-child(6) td,
#p-magic-body .p-magic-plan__table tr:nth-child(7) td,
#p-magic-body .p-magic-plan__table tr:nth-child(8) td,
#p-magic-body .p-magic-plan__table tr:nth-child(9) td,
#p-magic-body .p-magic-plan__table tr:nth-child(10) td {
  height: 53px;
}

#p-magic-body .p-magic-plan__table td {
  background-color: #FFF1EC;
  padding: 2px 7px;
}
#p-magic-body .p-magic-plan__table td:first-child {
  width: 220px;
}
#p-magic-body .p-magic-plan__table td:nth-child(2) {
  width: 228px;
  text-align: center;
}
#p-magic-body .p-magic-plan__table td:last-child {
  width: 287px;
  text-align: center;
}
#p-magic-body .p-magic-plan__table tr:not(:first-child) td {
  border-top: 1px solid #000;
}
#p-magic-body .p-magic-plan__table td:not(:first-child) {
  border-left: 1px solid #000;
}
#p-magic-body .p-magic-plan__table td:first-child {
  border-left: 1px solid #000;
}
#p-magic-body .p-magic-plan__table td:last-child {
  border-right: 1px solid #000;
}
#p-magic-body .p-magic-plan__table tr:last-child td {
  border-bottom: 1px solid #000;
}
#p-magic-body .p-magic-plan__table tr:last-child td:first-child {
  border-radius: 0 0 0 15px;
}
#p-magic-body .p-magic-plan__table tr:last-child td:last-child {
  border-radius: 0 0 15px 0;
}

#p-magic-body .p-magic-plan__table__circle {
  width: 25px;
  margin: 0 auto;
}
#p-magic-body .p-magic-plan__table__cross {
  width: 20px;
  margin: 0 auto;
}


/* レスポンシブ */

@media screen and (max-width: 389px) {
  #p-magic-body .p-magic-plan::before {
    left: 50%;
    transform: translateX(-50%);
    width: 390px;
  }
}

@media screen and (min-width: 480px) {
  #p-magic-body .p-magic-plan::before {
    transform: scaleY(0.8);
    transform-origin: top;
  }
}

@media screen and (min-width: 650px) {
  #p-magic-body .p-magic-plan::before {
    transform: scaleY(0.6);
  }
}

@media screen and (min-width: 768px) {

  #p-magic-body .p-magic-plan {
    padding-top: 170px;
    margin-top: 50px;
    padding-bottom: 215px;
  }

  #p-magic-body .p-magic-plan::before {
    width: 1440px;
    aspect-ratio: 1440 / 1505;
    background-image: url(../image/plan_bg.svg);
    left: 50%;
    transform: translateX(-50%);
  }

  #p-magic-body .p-magic-plan__inner {
    max-width: 1300px;
  }

  #p-magic-body .p-magic-plan__table {
    width: 1200px;
    font-size: 16px;
    line-height: calc(27 / 16);
  }

  #p-magic-body .p-magic-plan__table-zone {
    margin-top: 60px;
  }

  #p-magic-body .p-magic-plan__table__heading th,
  #p-magic-body .p-magic-plan__table td {
    padding: 0 24px;
  }
  #p-magic-body .p-magic-plan__table td:first-child {
    width: 400px;
  }
  #p-magic-body .p-magic-plan__table td:nth-child(2) {
    width: 350px;
  }
  #p-magic-body .p-magic-plan__table td:last-child {
    width: 450px;
  }

  #p-magic-body .p-magic-plan__table__circle {
    width: 40px;
  }
  #p-magic-body .p-magic-plan__table__cross {
    width: 35px;
  }

  #p-magic-body .p-magic-plan__table__heading {
    height: 54px;
  }
  #p-magic-body .p-magic-plan__table tr:nth-child(2) td {
    height: 57px;
  }
  #p-magic-body .p-magic-plan__table tr:nth-child(3) td {
    height: 64px;
  }
  #p-magic-body .p-magic-plan__table tr:nth-child(4) td {
    height: 68px;
  }
  #p-magic-body .p-magic-plan__table tr:nth-child(5) td {
    height: 91px;
  }
  #p-magic-body .p-magic-plan__table tr:nth-child(6) td,
  #p-magic-body .p-magic-plan__table tr:nth-child(7) td {
    height: 96px;
  }
  #p-magic-body .p-magic-plan__table tr:nth-child(n+8) td {
    height: 82px;
  }

  #p-magic-body .p-magic-plan__table__comment01 {
    margin-top: 5px;
    margin-bottom: -5px;
  }
  #p-magic-body .p-magic-plan__table__comment02 {
    margin-top: 3px;
  }

}

@media screen and (min-width: 1441px) {
  #p-magic-body .p-magic-plan {
    padding-bottom: 30vw;
  }
  #p-magic-body .p-magic-plan::before {
    width: 100%;
    left: 0;
    transform: unset;
  }
}

@media screen and (min-width: 1800px) {
  #p-magic-body .p-magic-plan::before {
    transform: scaleY(0.8);
  }
}

@media screen and (min-width: 2300px) {
  #p-magic-body .p-magic-plan::before {
    transform: scaleY(0.6);
  }
}





/*-------------------------------------
ご利用の流れ
-------------------------------------*/

#p-magic-body .p-magic-flow {
  margin-top: -25vw;
  padding-top: 7vw;
  padding-bottom: 20vw;
  position: relative;
}

#p-magic-body .p-magic-flow__list {
  margin-top: 30px;
}

#p-magic-body .p-magic-flow__item {
  display: flex;
}
#p-magic-body .p-magic-flow__item:not(:first-child) {
  margin-top: 17px;
}

#p-magic-body .p-magic-flow__item__heading {
  width: 64px;
  position: relative;
  z-index: 1;
}
#p-magic-body .p-magic-flow__item__heading::before {
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%) rotate(-180deg);
  content: "";
  width: 3px;
  height: calc(100% - 80px);
  background-image: url(../image/flow_dotLine.svg);
  background-repeat: repeat-y;
  background-size: contain;
  z-index: -1;
}
#p-magic-body .p-magic-flow__item:last-child .p-magic-flow__item__heading::before {
  display: none;
}

#p-magic-body .p-magic-flow__item__number {
  text-align: center;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.5;
  text-transform: uppercase;
}

#p-magic-body .p-magic-flow__item__image {
  margin: 10px auto 0;
  width: 57px;
}

#p-magic-body .p-magic-flow__item__body {
  flex: 1;
  margin-left: 16px;
  padding: min(calc(24 / 375 * 100vw), 24px) min(calc(18 / 375 * 100vw), 18px) min(calc(26 / 375 * 100vw), 26px);
  border-radius: 15px;
  border: 3px solid #312F56;
  background: #FFF1EC;
  box-shadow: 4px 4px 0px 0px #312F56;
}

#p-magic-body .p-magic-flow__item__title {
  font-weight: 700;
  font-size: min(calc(20 / 375 * 100vw), 20px);
  line-height: 1.4;
}
#p-magic-body .p-magic-flow__item__title.p-magic-flow__item__title--small {
  font-size: min(calc(18 / 375 * 100vw), 18px);
}

#p-magic-body .p-magic-flow__item__text {
  margin-top: 10px;
  font-weight: 700;
  font-size: 12px;
  line-height: calc(20 / 12);
}
#p-magic-body .p-magic-flow__item__link {
  text-decoration: underline;
  transition: 0.3s;
}
#p-magic-body .p-magic-flow__item__link:hover {
  opacity: 0.7;
}

#p-magic-body .p-magic-flow__decoration01 {
  position: absolute;
  top: -10vw;
  left: calc(50% - 98px);
  width: 14px;
  height: 14px;
  transform: rotate(45deg);
}
#p-magic-body .p-magic-flow__decoration02 {
  position: absolute;
  top: calc(12vw + -4px);
  left: 92%;
  width: 12px;
  height: 12px;
  transform: rotate(37deg);
}
#p-magic-body .p-magic-flow__decoration03 {
  position: absolute;
  bottom: 70px;
  left: 10%;
  width: 14px;
  height: 14px;
  transform: rotate(-10deg);
}
#p-magic-body .p-magic-flow__decoration04 {
  position: absolute;
  bottom: 54px;
  left: calc(50% + 160px);
  width: 18px;
  height: 8px;
  transform: rotate(38deg);
}


/* レスポンシブ */

@media screen and (min-width: 391px) {
  #p-magic-body .p-magic-flow {
    margin-top: 0;
  }
}

@media screen and (min-width: 650px) {
  #p-magic-body .p-magic-flow {
    margin-top: -30vw;
  }
}

@media screen and (min-width: 700px) {
  #p-magic-body .p-magic-flow__decoration01 {
    top: -5vw;
  }
}

@media screen and (min-width: 768px) {

  #p-magic-body .p-magic-flow {
    margin-top: 0;
    padding-top: 70px;
    padding-bottom: 140px;
  }

  #p-magic-body .p-magic-flow__list {
    margin-top: 50px;
    padding-left: 12px;
  }

  #p-magic-body .p-magic-flow__item:not(:first-child) {
    margin-top: 40px;
  }

  #p-magic-body .p-magic-flow__item__body {
    margin-left: 50px;
    padding: 15px 5px 20px 28px;
  }

  #p-magic-body .p-magic-flow__item__heading {
    width: 114px;
  }
  #p-magic-body .p-magic-flow__item__heading::before {
    bottom: -24px;
    height: calc(100% - 120px);
    background-size: cover;
  }

  #p-magic-body .p-magic-flow__item__image {
    width: 100%;
    margin-top: 8px;
  }

  #p-magic-body .p-magic-flow__item__title,
  #p-magic-body .p-magic-flow__item__title.p-magic-flow__item__title--small {
    font-size: 30px;
  }

  #p-magic-body .p-magic-flow__item__text {
    margin-top: 18px;
    font-size: 16px;
  }

  #p-magic-body .p-magic-flow__decoration01 {
    top: auto;
    bottom: 77px;
    left: 6.5%;
    width: 35px;
    height: 35px;
  }
  #p-magic-body .p-magic-flow__decoration02 {
    top: 6%;
    left: 18.6%;
    width: 30px;
    height: 30px;
  }
  #p-magic-body .p-magic-flow__decoration03 {
    bottom: auto;
    top: 3%;
    left: 84%;
    width: 35px;
    height: 35px;
    transform: rotate(-25deg);
  }
  #p-magic-body .p-magic-flow__decoration04 {
    bottom: 48.5%;
    left: auto;
    right: 10px;
    width: 40px;
    height: 15px;
    transform: rotate(-40deg);
  }
}

@media screen and (min-width: 1440px) {
  #p-magic-body .p-magic-flow__decoration04 {
    right: 3%;
    width: 50px;
  }
}





/*-------------------------------------
よくあるご質問
-------------------------------------*/

#p-magic-body .p-magic-faq {
  padding-top: 100px;
  padding-bottom: 130px;
  position: relative;
  z-index: 1;
}
#p-magic-body .p-magic-faq::before {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  content: "";
  width: 100%;
  height: auto;
  aspect-ratio: 780 / 107;
  background-image: url(../image/faq_bg_top_sp.png);
  background-repeat: no-repeat;
  background-size: contain;
}
#p-magic-body .p-magic-faq::after {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  content: "";
  width: 100%;
  height: auto;
  aspect-ratio: 780 / 104;
  background-image: url(../image/faq_bg_bottom_sp.png);
  background-repeat: no-repeat;
  background-size: contain;
}

#p-magic-body .p-magic-faq__list {
  margin-top: 33px;
}

#p-magic-body .p-magic-faq__item {
  border-radius: 15px;
  border: 3px solid #312F56;
  background: #FFF1EC;
  overflow: hidden;
}
#p-magic-body .p-magic-faq__item:not(:first-child) {
  margin-top: 7px;
}

#p-magic-body .p-magic-faq__button {
  height: 52px;
  padding: 0 25px 0 7px;
  background: #EC6364;
  cursor: pointer;
  position: relative;
}
#p-magic-body .p-magic-faq__button::before {
  position: absolute;
  top: 15px;
  right: 10px;
  content: "";
  width: 12px;
  height: 20px;
  background-image: url(../image/faq_icon_arrow.svg);
  background-repeat: no-repeat;
  background-size: contain;
}

#p-magic-body .p-magic-faq__hidden {
  padding: 5px 30px 10px 7px;
}

#p-magic-body .p-magic-faq__question {
  height: 100%;
  display: flex;
  align-items: center;
}

#p-magic-body .p-magic-faq__answer {
  display: flex;
}

#p-magic-body .p-magic-faq__en-zone {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background-color: #FFF1EC;
  display: flex;
  justify-content: center;
  align-items: center;
}
#p-magic-body .p-magic-faq__hidden .p-magic-faq__en-zone {
  background-color: #EC6364;
}

#p-magic-body .p-magic-faq__en {
  font-family: var(--Inter);
  font-weight: 700;
  font-size: 20px;
}
#p-magic-body .p-magic-faq__hidden .p-magic-faq__en {
  color: #FFF1EC;
}

#p-magic-body .p-magic-faq__text {
  flex: 1;
  margin-left: 17px;
  font-weight: 700;
  font-size: 12px;
  line-height: calc(20 / 12);
  color: #FFFBF9;
}
#p-magic-body .p-magic-faq__hidden .p-magic-faq__text {
  color: #EC6364;
}

#p-magic-body .p-magic-faq__link {
  text-decoration: underline;
  transition: 0.3s;
}
#p-magic-body .p-magic-faq__link:hover {
  opacity: 0.7;
}


/* アコーディオン */

#p-magic-body .p-magic-faq__button {
  transition: 0.3s;
}
#p-magic-body .p-magic-faq__button.is-active {
  background: unset;
}

#p-magic-body .p-magic-faq__button::before {
  transition: 0.3s;
}
#p-magic-body .p-magic-faq__button.is-active::before {
  top: 20px;
  right: 5px;
  width: 20px;
  height: 12px;
  background-image: url(../image/faq_icon_arrow_open.svg);
}

#p-magic-body .p-magic-faq__en-zone {
  transition: 0.3s;
}
#p-magic-body .p-magic-faq__button.is-active .p-magic-faq__en-zone {
  background-color: #EC6364;
  color: #FFF1EC;
}

#p-magic-body .p-magic-faq__text {
  transition: 0.3s;
}
#p-magic-body .p-magic-faq__button.is-active .p-magic-faq__text {
  color: #EC6364;
}

#p-magic-body .p-magic-faq__hidden {
  display: none;
}


#p-magic-body .p-magic-faq__decoration01 {
  position: absolute;
  top: 113px;
  left: 14%;
  width: 14px;
  height: 14px;
  transform: rotate(40deg);
  z-index: 1;
}
#p-magic-body .p-magic-faq__decoration02 {
  position: absolute;
  top: 55px;
  left: calc(50% + 140px);
  width: 16px;
  height: 13px;
  z-index: 1;
}
#p-magic-body .p-magic-faq__decoration03 {
  position: absolute;
  bottom: 72px;
  left: calc(50% - 130px);
  width: 14px;
  height: 14px;
  transform: rotate(45deg);
  z-index: 1;
}
#p-magic-body .p-magic-faq__decoration04 {
  position: absolute;
  bottom: 100px;
  left: 88%;
  width: 14px;
  height: 14px;
  transform: rotate(-15deg);
  z-index: 1;
}


/* レスポンシブ */


@media screen and (min-width: 768px) {

  #p-magic-body .p-magic-faq {
    padding-top: 133px;
    padding-bottom: 190px;
  }

  #p-magic-body .p-magic-faq::before {
    aspect-ratio: 2880 / 159;
    background-image: url(../image/faq_bg_top.png);
  }
  #p-magic-body .p-magic-faq::after {
    aspect-ratio: 2880 / 159;
    background-image: url(../image/faq_bg_bottom.png);
  }

  #p-magic-body .p-magic-faq__list {
    margin: 50px auto 0;
    width: 89%;
  }

  #p-magic-body .p-magic-faq__item {
    border-radius: 45px;
  }
  #p-magic-body .p-magic-faq__item:not(:first-child) {
    margin-top: 35px;
  }

  #p-magic-body .p-magic-faq__button {
    height: 90px;
    padding: 0 90px 0 14px;
  }
  #p-magic-body .p-magic-faq__button::before {
    top: 26px;
    right: 30px;
    width: 23px;
    height: 36px;
  }

  #p-magic-body .p-magic-faq__hidden {
    padding: 10px 60px 20px 14px;
  }

  #p-magic-body .p-magic-faq__en-zone {
    width: 70px;
    height: 70px;
  }

  #p-magic-body .p-magic-faq__en {
    font-size: 40px;
  }

  #p-magic-body .p-magic-faq__text {
    margin-left: 33px;
    font-size: 20px;
  }

  #p-magic-body .p-magic-faq__button.is-active::before {
    top: 35px;
    right: 25px;
    width: 36px;
    height: 23px;
  }

  #p-magic-body .p-magic-faq__decoration01 {
    top: 158px;
    left: 14%;
    width: 45px;
    height: 25px;
    transform: rotate(45deg);
  }
  #p-magic-body .p-magic-faq__decoration02 {
    top: auto;
    bottom: 296px;
    left: 6.5%;
    width: 27px;
    height: 27px;
  }
  #p-magic-body .p-magic-faq__decoration03 {
    bottom: 39%;
    left: 94%;
    width: 30px;
    height: 30px;
    transform: rotate(40deg);
  }
  #p-magic-body .p-magic-faq__decoration04 {
    bottom: auto;
    top: 200px;
    left: 89.5%;
    width: 40px;
    height: 40px;
    transform: rotate(-30deg);
  }

}





/*-------------------------------------
学長のメッセージ
-------------------------------------*/

#p-magic-body .p-magic-message {
  padding-top: 50px;
  position: relative;
}

#p-magic-body .p-magic-message__text-zone {
  margin-top: 25px;
}

#p-magic-body .p-magic-message__text {
  text-align: center;
  font-weight: 700;
  font-size: 12px;
  line-height: calc(25 / 12);
}

#p-magic-body .p-magic-message__bottom {
  margin-top: 25px;
  text-align: center;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.9;
}

#p-magic-body .p-magic-message__decoration01 {
  position: absolute;
  top: 38px;
  left: 14%;
  width: 14px;
  height: 14px;
  transform: rotate(40deg);
}
#p-magic-body .p-magic-message__decoration02 {
  position: absolute;
  top: -22px;
  left: 71%;
  width: 20px;
  height: 8px;
  transform: rotate(40deg);
}
#p-magic-body .p-magic-message__decoration03 {
  position: absolute;
  top: 80px;
  left: calc(88% + 20px);
}


@media screen and (min-width: 768px) {

  #p-magic-body .p-magic-message {
    padding-top: 65px;
  }

  #p-magic-body .p-magic-message__text-zone {
    margin-top: 30px;
  }

  #p-magic-body .p-magic-message__text {
    font-size: 16px;
    line-height: calc(35 / 16);
  }

  #p-magic-body .p-magic-message__bottom {
    margin-top: 30px;
    font-size: 24px;
  }

}
