@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;700&family=Jost:wght@600;700;800;900&family=Roboto:wght@400;500;700&display=swap");
/* mv
=========================================== */
.mv {
  padding-top: 70px;
  padding-bottom: 70px;
  background: #F7F7F7;
  z-index: 10;
}
@media only screen and (max-width: 1279px) {
  .mv {
    background: #fff;
    padding-bottom: 100px;
    padding-top: 110px;
  }
}

@media only screen and (min-width: 1280px) {
  .carousel {
    padding: 20px 20px 0 20px;
    -webkit-perspective: 1000px;
            perspective: 1000px;
    overflow: hidden;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: center;
    -webkit-align-items: center;
        -ms-flex-align: center;
            align-items: center;
  }
  .carousel > * {
    -webkit-box-flex: 0;
    -webkit-flex: 0 0 auto;
        -ms-flex: 0 0 auto;
            flex: 0 0 auto;
  }
  .carousel figure {
    margin: 0;
    width: 800px;
    -webkit-transform-style: preserve-3d;
            transform-style: preserve-3d;
    -webkit-transition: -webkit-transform 0.5s;
    transition: -webkit-transform 0.5s;
    transition: transform 0.5s;
    transition: transform 0.5s, -webkit-transform 0.5s;
    -webkit-transform-origin: 50% 50% -965.685424px;
            transform-origin: 50% 50% -965.685424px;
  }
  .carousel figure span {
    width: 100%;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    -webkit-backface-visibility: visible;
    backface-visibility: visible;
    opacity: 1;
  }
  .carousel figure span a {
    display: inline;
  }
  .carousel figure span img {
    width: 100%;
    padding: 0 95px;
    -webkit-backface-visibility: visible;
    backface-visibility: visible;
  }
  .carousel figure span:not(:first-of-type) {
    position: absolute;
    left: 0;
    top: 0;
    -webkit-transform-origin: 50% 50% -965.685424px;
            transform-origin: 50% 50% -965.685424px;
  }
  .carousel figure span:nth-child(2) {
    -webkit-transform: rotateY(1.0471975512rad);
            transform: rotateY(1.0471975512rad);
  }
  .carousel figure span:nth-child(3) {
    -webkit-transform: rotateY(2.0943951024rad);
            transform: rotateY(2.0943951024rad);
  }
  .carousel figure span:nth-child(4) {
    -webkit-transform: rotateY(3.1415926536rad);
            transform: rotateY(3.1415926536rad);
  }
  .carousel figure span:nth-child(5) {
    -webkit-transform: rotateY(4.1887902048rad);
            transform: rotateY(4.1887902048rad);
  }
  .carousel figure span:nth-child(6) {
    -webkit-transform: rotateY(5.235987756rad);
            transform: rotateY(5.235987756rad);
  }
  .carousel nav {
    display: none;
  }
  .car_nav {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
        -ms-flex-pack: center;
            justify-content: center;
    margin: 20px 0 20px 0;
    zoom: 1 !important;
  }
  .car_nav .nav {
    cursor: pointer;
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 100%;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    font-size: 1px;
    border: 1px solid #A20BC6;
    margin: 0 5px;
  }
  .car_nav .nav.stay {
    background: #A20BC6;
  }
}
@media only screen and (min-width: 1400px) {
  .carousel {
    -webkit-perspective: 1250px;
            perspective: 1250px;
  }
  .carousel figure {
    width: 1000px;
    -webkit-transform-origin: 50% 50% -1207.10678px;
            transform-origin: 50% 50% -1207.10678px;
  }
  .carousel figure span img {
    padding: 0 118.75px;
  }
  .carousel figure span:not(:first-of-type) {
    -webkit-transform-origin: 50% 50% -1207.10678px;
            transform-origin: 50% 50% -1207.10678px;
  }
  .carousel figure span:nth-child(2) {
    -webkit-transform: rotateY(1.0471975512rad);
            transform: rotateY(1.0471975512rad);
  }
  .carousel figure span:nth-child(3) {
    -webkit-transform: rotateY(2.0943951024rad);
            transform: rotateY(2.0943951024rad);
  }
  .carousel figure span:nth-child(4) {
    -webkit-transform: rotateY(3.1415926536rad);
            transform: rotateY(3.1415926536rad);
  }
  .carousel figure span:nth-child(5) {
    -webkit-transform: rotateY(4.1887902048rad);
            transform: rotateY(4.1887902048rad);
  }
  .carousel figure span:nth-child(6) {
    -webkit-transform: rotateY(5.235987756rad);
            transform: rotateY(5.235987756rad);
  }
}
@media only screen and (max-width: 1279px) {
  .carousel nav {
    display: none;
  }
  .car_nav {
    display: none;
  }
  .mv .slider2 {
    position: relative;
    background: #fff;
  }
  .mv .slick-slide {
    padding-left: 35px;
    padding-right: 35px;
    margin: 0 !important;
  }
  .mv .slick-list {
    padding: 0 !important;
  }
  .slick-dots {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
        -ms-flex-pack: center;
            justify-content: center;
    zoom: 1 !important;
  }
  .slick-dots li {
    margin: 0;
  }
  .slick-dots li button {
    cursor: pointer;
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 100%;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    font-size: 1px;
    border: 1px solid #A20BC6;
    margin: 0 5px;
  }
  .slick-dots li button:before {
    display: none;
  }
  .slick-dots li.slick-active button {
    background: #A20BC6;
  }
  .slide-arrow {
    width: 30px;
    height: 60px;
    position: absolute;
    top: 50%;
    -webkit-transform: translateY(-50%);
            transform: translateY(-50%);
    z-index: 999999;
    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;
    cursor: pointer;
    background: none;
    border: none;
  }
  .prev-arrow {
    left: 0;
    padding-left: 5px;
  }
  .next-arrow {
    right: 0;
    padding-right: 5px;
  }
  .slide-arrow__arrow {
    width: 12px;
    height: 12px;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
  }
  .prev-arrow__arrow {
    border-bottom: 2px solid #A20BC6;
    border-left: 2px solid #A20BC6;
  }
  .next-arrow__arrow {
    border-top: 2px solid #A20BC6;
    border-right: 2px solid #A20BC6;
  }
}
@media only screen and (max-width: 767px) {
  .mv {
    padding-top: 70px;
  }
}
/* bnr
=========================================== */
.bnrbg {
  background: url(../img/jyuku_dots_pattern01.svg) bottom 35px left no-repeat;
}
@media only screen and (max-width: 767px) {
  .bnrbg {
    background: none;
    margin-top: -60px;
    z-index: 1000;
    position: relative;
    margin-bottom: 20px;
  }
}
.bnrbg .mb30 {
  margin-bottom: 30px;
  display: block;
}
@media only screen and (max-width: 767px) {
  .bnrbg .mb30 {
    margin-bottom: 20px;
  }
}

/* feature
=========================================== */
@media only screen and (max-width: 767px) {
  section.servicebg {
    margin-bottom: 0;
  }
}
@media only screen and (min-width: 1100px) {
  section.featurebg {
    background: url(../img/jyuku_dots_pattern02.svg) top 50px right no-repeat;
    background-size: 387px, 266px;
    padding-bottom: 0;
  }
}
@media only screen and (max-width: 767px) {
  section.featurebg {
    background: #F7F7F7;
    margin-bottom: 0;
  }
}

#feature {
  padding-top: 80px;
}
@media only screen and (max-width: 767px) {
  #feature {
    padding-top: 40px;
  }
}
#feature dl.flex > div {
  border-radius: 6px;
  border: 2px solid #A20BC6;
  text-align: center;
  position: relative;
  padding-bottom: 50px;
  position: relative;
  padding-top: 50px;
  margin-top: 30px;
  background: #FFFFFF;
}
@media only screen and (max-width: 767px) {
  #feature dl.flex > div {
    margin-top: 20px;
  }
}
#feature dl.flex > div .featureimg {
  margin-bottom: 24px;
}
#feature dl.flex > div .featureimg img {
  width: 180px;
  height: auto;
}
#feature dl.flex > div .number {
  position: absolute;
  top: 20px;
  left: 20px;
}
#feature dl.flex > div .number > img {
  width: 62px;
  height: auto;
}

/* service
=========================================== */
#gakkouPage section.servicebg .inner.flex.box {
  -webkit-box-pack: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
}
@media (max-width: 768px) {
  #gakkouPage section.servicebg {
    background: -webkit-gradient(linear, left top, left bottom, from(#EBEBEB), color-stop(50%, #EBEBEB), color-stop(50%, #A20BC6), to(#443CBF));
    background: -webkit-linear-gradient(top, #EBEBEB 0%, #EBEBEB 50%, #A20BC6 50%, #443CBF 100%);
    background: linear-gradient(180deg, #EBEBEB 0%, #EBEBEB 50%, #A20BC6 50%, #443CBF 100%);
  }
}

/* faq
=========================================== */
.faqbg {
  background: url(../img/jyuku_dots_pattern03.svg) top 80px left no-repeat;
  padding-top: 80px;
  padding-bottom: 80px;
}
@media only screen and (max-width: 767px) {
  .faqbg {
    background: url(../img/sp_jyuku_dots_pattern03.svg) top 40px left no-repeat;
    padding-top: 40px;
    padding-bottom: 40px;
  }
}

#qaBox {
  margin-top: 40px;
}
@media only screen and (max-width: 767px) {
  #qaBox {
    margin-top: 20px;
  }
}
#qaBox dl {
  margin: 0 auto 20px;
  border-radius: 10px;
  background-color: #fff;
}
#qaBox dl .ttl_q,
#qaBox dl .ttl_a {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  vertical-align: middle;
  font-size: 2.4rem;
  line-height: 50px;
  color: #fff;
  background: #A20BC6;
  text-align: center;
  position: relative;
  display: block;
  margin-right: 20px;
}
@media only screen and (max-width: 767px) {
  #qaBox dl .ttl_q,
  #qaBox dl .ttl_a {
    width: 30px;
    height: 30px;
    line-height: 30px;
    font-size: 1.6rem;
  }
}
#qaBox dl dt {
  display: table;
  width: 100%;
  position: relative;
  cursor: pointer;
  padding-top: 20px;
  padding-left: 20px;
  padding-bottom: 20px;
}
#qaBox dl dt .qaBox_ttl {
  display: table-cell;
  vertical-align: middle;
  padding-right: 80px;
  font-size: 1.8rem;
  font-weight: bold;
  text-align: left;
  line-height: 1.6em;
  color: #333;
}
@media only screen and (max-width: 767px) {
  #qaBox dl dt .qaBox_ttl {
    font-size: 1.4rem;
    padding-right: 40px;
  }
}
#qaBox dl dt .toggle-btn {
  width: 24px;
  height: 24px;
  position: absolute;
  top: 50%;
  right: 20px;
}
@media only screen and (max-width: 767px) {
  #qaBox dl dt .toggle-btn {
    width: 16px;
    height: 16px;
    right: 10px;
  }
}
#qaBox dl dt .toggle-btn span {
  width: 100%;
  height: 3px;
  position: absolute;
  top: 0;
  left: 0;
  background-color: #A20BC6;
  display: inline-block;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}
#qaBox dl dt .toggle-btn span:nth-of-type(1) {
  transform: rotate(0deg);
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -ms-transform: rotate(0deg);
  -o-transform: rotate(0deg);
}
#qaBox dl dt .toggle-btn span:nth-of-type(2) {
  transform: rotate(90deg);
  -webkit-transform: rotate(90deg);
  -moz-transform: rotate(90deg);
  -ms-transform: rotate(90deg);
  -o-transform: rotate(90deg);
}
#qaBox dl dt .active span:nth-of-type(1) {
  display: none;
}
#qaBox dl dt .active span:nth-of-type(2) {
  transform: rotate(180deg);
  -webkit-transform: rotate(180deg);
  -moz-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  -o-transform: rotate(180deg);
}
#qaBox dl dd {
  display: none;
  width: 100%;
  padding: 20px;
  background: #fff;
  font-weight: 400;
  line-height: 1.8;
  background: #F7F7F7;
  border-radius: 0 0 10px 10px;
}
#qaBox dl dd .ttl_a {
  float: left;
}
#qaBox dl dd p {
  width: calc(100% - 70px);
  vertical-align: middle;
  text-align: left;
  float: right;
}
@media only screen and (max-width: 767px) {
  #qaBox dl dd p {
    padding-right: 10px;
    width: calc(100% - 50px);
    font-size: 1.4rem;
  }
}