/*
Theme Name: NextRoot Theme
Author: KAILUN LIN
Version: 1.1
*/
body {
  margin: 0;
}
body h2 {
  font-family: "fot-tsukubrdgothic-std", sans-serif;
  font-weight: 700;
  font-style: normal;
  line-height: 1.3em;
}
body h3 {
  font-family: "fot-tsukubrdgothic-std", sans-serif;
  font-weight: 700;
  font-style: normal;
  line-height: 1.3em;
}
@media screen and (min-width: 1200px) {
  body h3 {
    font-size: 80px;
  }
}
@media screen and (min-width: 421px) and (max-width: 767px) {
  body h3 {
    font-size: 45px;
  }
}
@media screen and (max-width: 420px) {
  body h3 {
    font-size: 30px;
  }
}
body h4 {
  font-family: "fot-tsukubrdgothic-std", sans-serif;
  font-weight: 700;
}
body p {
  font-family: "fot-tsukubrdgothic-std", sans-serif;
  font-weight: 400;
  font-style: normal;
  line-height: 1.1rem;
}
body section {
  margin: 0px;
}
body img {
  width: 100%;
}

a {
  font-family: "fot-tsukubrdgothic-std", sans-serif;
}

.topBox {
  color: #fff;
  width: 100%;
  height: 100vh;
  background-size: cover;
  background-image: url(images/top-bg.svg), url(images/top-bg2.png);
  background-repeat: no-repeat;
  position: relative;
}
@media screen and (max-width: 420px) {
  .topBox {
    height: 70vh;
  }
}
.topBox .Box {
  width: 65vw;
  background-color: rgba(0, 189, 241, 0.8);
  border-radius: 10px;
  padding: 80px;
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
@media screen and (max-width: 420px) {
  .topBox .Box {
    width: 75vw;
    padding: 30px 20px;
  }
}
.topBox .Box h2 {
  margin: 0px;
  font-size: 120px;
  font-family: "acier-bat-noir", sans-serif;
  font-weight: 400;
  font-style: normal;
  line-height: 150px;
}
@media screen and (max-width: 420px) {
  .topBox .Box h2 {
    font-size: 60px;
    line-height: 60px;
  }
}
.topBox .Box h2 .highlight {
  color: #FED23E;
}
.topBox .Box .flexBox {
  display: flex;
  border-top: #FED23E solid 5px;
  align-items: baseline;
  justify-content: center;
  vertical-align: middle;
}
@media screen and (max-width: 420px) {
  .topBox .Box .flexBox {
    border-top: #FED23E solid 2px;
  }
}
.topBox .Box .flexBox h3 {
  font-size: 40px;
  padding-top: 15px;
  margin: 0px;
}
@media screen and (max-width: 420px) {
  .topBox .Box .flexBox h3 {
    font-size: 12px;
    padding-top: 8px;
  }
}
.topBox .Box .flexBox img {
  width: 50px;
  margin-left: 20px;
}
@media screen and (max-width: 420px) {
  .topBox .Box .flexBox img {
    width: 20px;
    margin-left: 5px;
  }
}

.introBox {
  background-color: #FED23E;
}
@media screen and (min-width: 1200px) {
  .introBox {
    height: 30vh;
  }
}
@media screen and (min-width: 421px) and (max-width: 767px) {
  .introBox {
    height: 20vh;
  }
}
.introBox .ttl {
  height: 190px;
  display: flex;
  justify-content: space-around;
}
@media screen and (max-width: 420px) {
  .introBox .ttl {
    height: 60px;
  }
}
.introBox .ttl img {
  width: 50vw;
  padding: 0 10px;
}
@media screen and (max-width: 420px) {
  .introBox .ttl img {
    padding: 10px 0px;
    width: 180px;
  }
}
.introBox h3 {
  color: #fff;
  text-align: center;
  font-size: 120px;
  margin-top: 30px;
}
@media screen and (max-width: 420px) {
  .introBox h3 {
    font-size: 28px;
    margin-top: 20px;
  }
}

.text__bound {
  animation: key 0.3s ease infinite alternate;
}

@keyframes key {
  0% {
    transform: translateY(0px);
  }
  100% {
    transform: translateY(-10px);
  }
}
.introBox {
  height: auto;
}
.introBox .content {
  background-color: #ECEAE3;
  text-align: center;
  align-items: center;
  padding: 0px 0px 50px;
}
.introBox .content .whyBox {
  padding: 50px 7%;
  background-color: #FF6C56;
  color: #ECEAE3;
  justify-content: center;
}
@media screen and (max-width: 420px) {
  .introBox .content .whyBox {
    padding: 30px 0px;
  }
}
.introBox .content .whyBox p {
  font-size: 14px;
  line-height: 23px;
}
.introBox .content .whyBox .left {
  flex: 1;
}
.introBox .content .whyBox .left h4 {
  font-size: 30px;
  width: 80%;
  margin: 20px auto;
  font-weight: 700;
}
@media screen and (max-width: 420px) {
  .introBox .content .whyBox .left h4 {
    font-size: 20px;
    line-height: 27px;
    margin-bottom: 20px;
  }
}
.introBox .content .whyBox .left p {
  width: 90%;
  margin: auto;
  font-size: 14px;
  line-height: 25px;
}
@media screen and (max-width: 420px) {
  .introBox .content .whyBox .left p {
    width: 80%;
    margin: auto;
    font-size: 13px;
    line-height: 18px;
  }
}
.introBox .content .whyBox .left .ctv {
  margin: 40px 10px;
}
@media screen and (max-width: 420px) {
  .introBox .content .whyBox .left .ctv {
    margin: 30px 10px 50px;
  }
}
.introBox .content .whyBox .right {
  flex: 1;
}
.introBox .content .textBox h4 {
  font-size: 40px;
  margin: 80px auto 30px;
  font-weight: 700;
}
@media screen and (max-width: 420px) {
  .introBox .content .textBox h4 {
    font-size: 16px;
    margin: 40px auto 20px;
  }
}
.introBox .content .textBox p {
  width: 80%;
  margin: 30px auto;
  font-size: 14px;
  line-height: 33px;
}
@media screen and (max-width: 420px) {
  .introBox .content .textBox p {
    font-size: 12px;
    line-height: 18px;
  }
}
.introBox .content .flexBox {
  display: flex;
  justify-content: center;
  align-items: center;
}
@media screen and (max-width: 420px) {
  .introBox .content .flexBox {
    display: block;
  }
}
.introBox .content .flexBox .Box {
  width: 20%;
  margin: 1.5rem;
  display: flex;
  justify-content: center;
}
@media screen and (max-width: 420px) {
  .introBox .content .flexBox .Box {
    width: 70%;
    margin: 1rem;
    display: inline-block;
  }
}
.introBox .content .flexBox .Box img {
  width: 100%;
  display: block;
  margin-bottom: 20px;
}

.introBox .right .opinion {
  font-family: "fot-tsukubrdgothic-std", sans-serif;
  color: #2e2e2e;
  font-weight: 600;
  background-image: url(images/opinion-bg.svg);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  height: 80px;
  vertical-align: middle;
  margin: 30px auto;
  position: relative;
}
@media screen and (max-width: 420px) {
  .introBox .right .opinion {
    height: 80px;
    margin: 15px;
  }
}
.introBox .right .opinion p {
  font-size: 13px;
  line-height: 20px;
  font-weight: 800;
  text-align: center;
  position: absolute;
  top: 32%;
  left: 34%;
}
@media screen and (max-width: 420px) {
  .introBox .right .opinion p {
    left: 23%;
    top: 31%;
  }
}
.introBox .right .voice {
  width: 80%;
  margin: auto;
}
@media screen and (max-width: 420px) {
  .introBox .right .voice {
    font-size: 12px;
    line-height: 25px;
  }
}

.opinion {
  transition: transform 0.3s ease;
  cursor: pointer;
}

.opinion:hover {
  animation: bounce 0.5s ease;
}

@keyframes bounce {
  0% {
    transform: translateY(0);
  }
  30% {
    transform: translateY(-10px);
  }
  50% {
    transform: translateY(0);
  }
  70% {
    transform: translateY(-5px);
  }
  100% {
    transform: translateY(0);
  }
}
.introBox .flexBox .Box {
  position: relative;
}
.introBox .flexBox .Box .text {
  width: 350px;
  padding: 50px;
  position: absolute;
  top: 36%;
}
@media screen and (max-width: 420px) {
  .introBox .flexBox .Box .text {
    width: 100%;
    padding: 20px;
    font-size: 13px;
    position: absolute;
    top: 42%;
    line-height: 20px;
  }
}
.introBox .flexBox .Box .text p {
  font-size: 18px;
  line-height: 26px;
  font-weight: 700;
  color: #4A4848;
}
@media screen and (max-width: 420px) {
  .introBox .flexBox .Box .text p {
    font-size: 16px;
    line-height: 23px;
  }
}

.mapBox {
  padding-bottom: 100px;
}
.mapBox h3 {
  margin-left: 10%;
  margin-top: 100px;
}
@media screen and (max-width: 420px) {
  .mapBox h3 {
    margin-top: 50px;
  }
}
@media screen and (max-width: 420px) {
  .mapBox .text h3 {
    margin: 0px;
  }
}

.introBox .flexBox .Box {
  transition: transform 0.6s ease;
  transform-style: preserve-3d;
  cursor: pointer;
}
.introBox .flexBox .Box:hover {
  transform: rotateY(360deg);
}

.step {
  display: flex;
  max-width: 800px;
  margin: 20px auto;
  text-align: center;
  position: relative;
  padding: 2rem 1rem;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
}
@media screen and (max-width: 420px) {
  .step {
    display: block;
    margin: 0px auto;
  }
}
.step .number {
  font-size: 80px;
  font-weight: bold;
}
@media screen and (max-width: 420px) {
  .step .number {
    font-size: 2.2rem;
    margin: 20px;
  }
}
.step .icon {
  margin: 1rem 0;
  height: 110px;
}
.step .icon img {
  width: 100px;
  height: 110px;
  margin: 0px 0px 0px 50px;
}
@media screen and (max-width: 420px) {
  .step .icon img {
    width: 80px;
    height: 85px;
    margin: 0px;
  }
}
.step .title {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
  font-weight: 700;
}
@media screen and (max-width: 420px) {
  .step .title {
    font-size: 1.6rem;
    margin-bottom: 10px;
  }
}
.step p {
  width: 80%;
  margin: auto;
  font-size: 1.2rem;
  line-height: 1.6;
  font-weight: 700;
  color: #4A4848;
  margin-top: 40px;
}
@media screen and (max-width: 420px) {
  .step p {
    width: 80%;
    font-size: 1rem;
    font-weight: 400;
  }
}
.step .flexBox {
  display: flex;
  align-items: flex-start;
  vertical-align: baseline;
  text-align: center;
  justify-content: space-between;
}
@media screen and (max-width: 420px) {
  .step .flexBox {
    margin-left: -70px;
    justify-content: center;
  }
}

@media screen and (min-width: 1200px) {
  .sp {
    display: none;
  }
}
@media screen and (min-width: 421px) and (max-width: 767px) {
  .sp {
    display: none;
  }
}
@media screen and (max-width: 420px) {
  .sp {
    display: block;
  }
}

@media screen and (min-width: 1200px) {
  .pc {
    display: block;
  }
}
@media screen and (min-width: 421px) and (max-width: 767px) {
  .pc {
    display: block;
  }
}
@media screen and (max-width: 420px) {
  .pc {
    display: none;
  }
}

.step01 {
  position: relative;
  color: #00BDF1;
}
.step01 .text {
  width: 600px;
}
@media screen and (max-width: 420px) {
  .step01 .text {
    width: auto;
  }
}
.step01 .sen {
  position: absolute;
  width: 130px;
  right: -100px;
  bottom: -120px;
}
@media screen and (max-width: 420px) {
  .step01 .sen {
    display: none;
  }
}

.step02 {
  position: relative;
  color: #FFD500;
}
.step02 .text {
  width: 600px;
}
@media screen and (max-width: 420px) {
  .step02 .text {
    width: auto;
  }
}
.step02 .sen {
  position: absolute;
  width: 130px;
  left: -100px;
  bottom: -120px;
}
@media screen and (max-width: 420px) {
  .step02 .sen {
    display: none;
  }
}

.step03 {
  position: relative;
  color: #FF6C56;
}
.step03 .text {
  width: 600px;
}
@media screen and (max-width: 420px) {
  .step03 .text {
    width: auto;
  }
}
.step03 .sen {
  position: absolute;
  width: 130px;
  right: -100px;
  bottom: -120px;
}
@media screen and (max-width: 420px) {
  .step03 .sen {
    display: none;
  }
}

.step04 {
  color: #3CD172;
}
.step04 .text {
  width: 600px;
}
@media screen and (max-width: 420px) {
  .step04 .text {
    width: auto;
  }
}

.teacherBox {
  height: auto;
  background-color: #FED23E;
  background-image: url(images/tc-bg.svg);
}
.teacherBox .ttl {
  position: relative;
}
.teacherBox .ttl .comment {
  position: absolute;
  right: 7%;
  top: -120px;
  width: 400px;
}
@media screen and (max-width: 420px) {
  .teacherBox .ttl .comment {
    width: 170px;
    right: 10px;
    top: -60px;
  }
}
.teacherBox .ttl h3 {
  position: absolute;
  top: -40px;
  right: 13%;
  font-size: 60px;
}
@media screen and (max-width: 420px) {
  .teacherBox .ttl h3 {
    font-size: 26px;
    top: -20px;
  }
}

.teacherBox {
  justify-content: center;
  align-items: flex-start;
}
.teacherBox .flexBox {
  padding: 15% 8%;
  display: flex;
}
@media screen and (max-width: 420px) {
  .teacherBox .flexBox {
    display: block;
    padding: 15% 0px;
  }
}
.teacherBox .teacher {
  text-align: left;
  background-color: #fff;
  border: 1px solid #2e2e2e;
  border-radius: 100px;
  padding: 10px;
  margin: 20px auto;
  width: 450px;
}
@media screen and (max-width: 420px) {
  .teacherBox .teacher {
    width: 80%;
    border-radius: 40px;
    text-align: center;
  }
}
.teacherBox .teacher .flexBox {
  display: flex;
  align-items: center;
}
@media screen and (max-width: 420px) {
  .teacherBox .teacher .flexBox {
    display: block;
  }
}
.teacherBox .teacher .flexBox .photo {
  margin-right: 20px;
  width: 180px;
  border-radius: 20px;
  margin: auto;
}
@media screen and (max-width: 420px) {
  .teacherBox .teacher .flexBox .photo {
    width: 100px;
    height: 100px;
  }
}
.teacherBox .teacher .flexBox .photo img {
  border-radius: 100px;
  height: 180px;
}
@media screen and (max-width: 420px) {
  .teacherBox .teacher .flexBox .photo img {
    border-radius: 70px;
    height: 100px;
  }
}
.teacherBox .teacher .text {
  font-size: 16px;
  margin: -20px 30px 40px;
  line-height: 30px;
  overflow-wrap: break-word;
  border-top: solid 2px #ECEAE3;
  padding-top: 10px;
}
@media screen and (max-width: 420px) {
  .teacherBox .teacher .text {
    line-height: 24px;
    font-size: 12px;
    margin: -20px 10px 20px;
  }
}

.teacher h4 {
  font-size: 25px;
  margin-bottom: 10px;
}
@media screen and (max-width: 420px) {
  .teacher h4 {
    font-size: 17px;
    margin-top: 20px;
  }
}
.teacher p {
  font-family: "Courier New", Courier, monospace;
  color: #F856AD;
  font-weight: 700;
}
@media screen and (max-width: 420px) {
  .teacher p {
    font-size: 12px;
  }
}

.contact {
  margin-top: 0px;
  background-image: url(images/contact-bg.svg);
  background-repeat: no-repeat;
  background-size: cover;
  padding: 7%;
}
@media screen and (max-width: 420px) {
  .contact {
    padding: 10%;
  }
}
.contact .flexBox {
  background-color: #00BDF1;
  border-radius: 20px;
  display: flex;
  padding: 30px;
  justify-content: center;
  align-items: center;
}
@media screen and (max-width: 420px) {
  .contact .flexBox {
    display: block;
    padding: 10px;
  }
}
.contact .flexBox h3 {
  color: #fff;
  text-align: center;
  font-size: 60px;
  margin-right: 20px;
}
@media screen and (max-width: 420px) {
  .contact .flexBox h3 {
    font-size: 30px;
    margin-right: 0px;
  }
}
.contact .flexBox .Box {
  background-color: #fff;
  border-radius: 50px;
  text-align: center;
  margin: 20px;
  width: 400px;
  border-radius: 20px;
  padding-bottom: 30px;
}
@media screen and (max-width: 420px) {
  .contact .flexBox .Box {
    width: 80%;
    padding: 5px 10px 20px;
    margin: 20px auto;
  }
}
.contact .flexBox .Box h4 {
  font-size: 20px;
  margin: 40px 0px 23px;
  color: #2e2e2e;
  font-weight: 400;
}
@media screen and (max-width: 420px) {
  .contact .flexBox .Box h4 {
    font-size: 15px;
    margin: 20px 0px 13px;
  }
}

.btn {
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.5;
  position: relative;
  display: inline-block;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  transition: all 0.3s;
  text-align: center;
  vertical-align: middle;
  text-decoration: none;
  letter-spacing: 0.1em;
}

a.btn-flat {
  overflow: hidden;
  padding: 1.2rem 5rem;
  color: #fff;
  border-radius: 0;
  background: #000;
}
@media screen and (max-width: 420px) {
  a.btn-flat {
    font-size: 15px;
    padding: 10px 30px;
  }
}
a.btn-flat span {
  position: relative;
}

a.btn-flat:before {
  position: absolute;
  top: 0;
  left: 30px;
  width: 150%;
  height: 500%;
  content: "";
  transition: all 0.5s ease-in-out;
  transform: translateX(-98%) translateY(-70%) rotate(135deg);
  background: #FED23E;
}
@media screen and (max-width: 420px) {
  a.btn-flat:before {
    width: 200%;
  }
}

a.btn-b::before {
  left: 62px;
}

a.btn-flat:hover:before {
  transform: translateX(-9%) translateY(-25%) rotate(135deg);
}

.aboutBox {
  padding: 15% 10% 10%;
  background-color: #00BDF1;
  position: relative;
  color: #fff;
}
@media screen and (max-width: 420px) {
  .aboutBox {
    padding: 20% 10% 10%;
  }
}
.aboutBox .ttl .comment {
  position: absolute;
  left: 5%;
  top: -120px;
  width: 400px;
}
@media screen and (max-width: 420px) {
  .aboutBox .ttl .comment {
    width: 170px;
    top: -60px;
  }
}
.aboutBox .ttl .comment img {
  transform: scaleX(-1);
}
.aboutBox .ttl h3 {
  position: absolute;
  top: -40px;
  left: 9%;
  font-size: 60px;
  color: #000;
}
@media screen and (max-width: 420px) {
  .aboutBox .ttl h3 {
    font-size: 25px;
    top: -15px;
    left: 13%;
  }
}
.aboutBox p {
  text-align: center;
  font-size: 16px;
  line-height: 26px;
}
@media screen and (max-width: 420px) {
  .aboutBox p {
    font-size: 12px;
    line-height: 18px;
  }
}
.aboutBox p br {
  display: block;
}
@media screen and (max-width: 420px) {
  .aboutBox p br {
    display: none;
  }
}
.aboutBox a {
  display: block;
  color: #fff;
  font-size: 12px;
  line-height: 18px;
  text-align: center;
  margin-top: 30px;
}

.sponcerBox {
  text-align: center;
  padding: 5% 8%;
  margin-bottom: 100px;
}
@media screen and (max-width: 420px) {
  .sponcerBox {
    margin-bottom: 50px;
  }
}
.sponcerBox h3 {
  color: #FF6C56;
  margin-top: -20px;
}
@media screen and (max-width: 420px) {
  .sponcerBox h3 {
    margin-top: 20px;
  }
}
.sponcerBox p {
  margin: 20px;
}
@media screen and (max-width: 420px) {
  .sponcerBox p {
    margin: 10px;
    font-size: 14px;
    line-height: 18px;
  }
}

.sponcerBox .flexBox {
  display: flex;
  justify-content: center;
}
@media screen and (max-width: 420px) {
  .sponcerBox .flexBox {
    display: block;
  }
}
.sponcerBox .flexBox .Box {
  max-width: 250px;
  margin: 50px;
}
@media screen and (max-width: 420px) {
  .sponcerBox .flexBox .Box {
    width: 180px;
    height: 80px;
    margin: 30px auto;
  }
}

.reportBox {
  padding: 100px 10%;
  text-align: center;
  background-color: #ECEAE3;
}
@media screen and (max-width: 420px) {
  .reportBox {
    padding: 50px 7%;
  }
}
.reportBox h3 {
  margin-top: -20px;
}
.reportBox .flexBox {
  display: flex;
  align-items: center;
  text-align: center;
  justify-content: center;
}
@media screen and (max-width: 420px) {
  .reportBox .flexBox {
    display: block;
  }
}
.reportBox .flexBox .Box {
  width: 400px;
  margin: auto;
  background-color: #fff;
  border-radius: 20px;
  padding: 30px;
}
@media screen and (max-width: 420px) {
  .reportBox .flexBox .Box {
    width: 90%;
    padding: 20px;
    margin: 30px auto;
  }
}
.reportBox .flexBox .Box h4 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
}
@media screen and (max-width: 420px) {
  .reportBox .flexBox .Box h4 {
    font-size: 12px;
  }
}
.reportBox .flexBox .Box img {
  width: 100%;
  height: 220px;
}
@media screen and (max-width: 420px) {
  .reportBox .flexBox .Box img {
    height: auto;
  }
}

.reportBox h3 {
  position: relative;
  padding: 1rem;
  color: #353535;
  font-weight: bold;
  text-align: center;
  margin-bottom: 30px;
}
.reportBox h3:before {
  position: absolute;
  top: 50%;
  width: 20rem;
  border-top: 8px dashed;
  content: "";
  left: -1rem;
}
@media screen and (max-width: 420px) {
  .reportBox h3:before {
    width: 3rem;
    border-top: 2px dashed;
  }
}
.reportBox h3::after {
  position: absolute;
  top: 50%;
  width: 20rem;
  border-top: 8px dashed;
  content: "";
  right: -1rem;
}
@media screen and (max-width: 420px) {
  .reportBox h3::after {
    width: 3rem;
    border-top: 2px dashed;
  }
}

.footerBox {
  background-color: #69DFA7;
  text-align: center;
  color: #fff;
  padding: 10px;
}
@media screen and (max-width: 420px) {
  .footerBox {
    font-size: 10px;
  }
}/*# sourceMappingURL=style.css.map */