@charset "utf-8";

html{
scroll-behavior: smooth;
}

body{
  font-family: "Zen Maru Gothic", serif;
}

header{
  margin-top: 30px;
}

img{
  max-width: 100%;
  height: auto;
}

li{
  list-style-type: none;
}
ul{
  margin-bottom: 0;
}

.container{
  max-width: 1225px;
}

.profile .container{
  max-width: 1070px;
}

.form-content-block .container{
  max-width: 760px;
}

a:hover{
  opacity: .7;
}

.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1350px;
  margin-right: auto;
  margin-left: auto;
  padding-right: 15px;
  padding-left: 15px;
}

.header-contact{
  position: fixed;
  top: 30px;
  right: calc((100vw - 1350px) / 2);
  z-index: 10;
}

@media(max-width:1400px){
  .header-contact{
    right: 15px;
  }
}

@media(max-width:768px) {
  .header-contact{
    max-width: 70px;
  }
}

.main-view{
  max-width: 990px;
  margin-right: auto;
  margin-left: auto;
  position: relative;
  margin-top: -50px;
  margin-bottom: 130px;
  text-align: center;
}

@media(max-width:991px) {
  .main-view{
    margin-top: 50px;
  }
  .main-view img{
    max-width: 95%;
    margin-right: auto;margin-left: auto;
  }
}

@media(max-width:768px) {
  .main-view{
    margin-bottom: 100px;
  }
}

.main-view::before{
  content: "";
  background-image: url(./img/mv-item.png);
  background-repeat: no-repeat;
  display: block;
  background-size: contain;
  width: 44px;
  height: 70px;
  position: absolute;
  bottom: 200px;
  left: -15px;
/*   z-index: -1; */
  animation: floating-y 1.8s ease-in-out infinite alternate-reverse;
}


.main-view::after{
  content: "";
  background-image: url(./img/mv-item.png);
  background-repeat: no-repeat;
  display: block;
  background-size: contain;
  width: 55px;
  height: 85px;
  position: absolute;
  top: 200px;
  right: -35px;
/*   z-index: -1; */
  animation: floating-y 1.8s ease-in-out infinite alternate-reverse;
}

@keyframes floating-y {
  0% {
    transform: translateY(-10%);
  }
  100% {
    transform: translateY(10%);
  }
}


@media(max-width:1100px) {
  .main-view::before{
    left: 0;
    bottom: 150px;
  }
  .main-view::after{
    right: 0;
    top: 100px;
  }
}

@media(max-width:768px) {
  .main-view::before{
    width: 30px;
    height: 50px;
    top: 150px;
  }
  .main-view::after{
    width: 30px;
    height: 50px;
  }
}

.about-content{
  position: relative;
}

.about-content::before{
  content: "";
  display: block;
  background-image: url(./img/about-item01.png);
  background-repeat: no-repeat;
  background-size: contain;
  width: 53px;
  height: 37px;
  position: absolute;
  left: 150px;
  bottom: 70px;
  animation: floating-x 1.2s ease-in-out infinite alternate-reverse;
}

.about-content::after{
  content: "";
  display: block;
  background-image: url(./img/about-item02.png);
  background-repeat: no-repeat;
  background-size: contain;
  width: 59px;
  height: 39px;
  position: absolute;
  right: 150px;
  bottom: -50px;
  animation: floating-x 1.2s ease-in-out infinite alternate-reverse;
}

@keyframes floating-x {
  0% {
    transform: translateX(-10%);
  }
  100% {
    transform: translateX(10%);
  }
}

@media(max-width:1100px) {
  .about-content::before{
    left: 100px;
  }
  .about-content::after{
    right: 100px;
  }
}

@media(max-width:991px) {
   .about-content::before{
    left: 0;
  }
  .about-content::after{
    right: 0;
  }
}

@media(max-width:768px) {
  .about-content::before{
   top: -35px;
   width: 40px; 
  }
  .about-content::after{
    width: 40px;
  }
}

.about h2{
  font-size: 30px;
  font-weight: bold;
  margin-bottom: 35px;
  text-align: center;
}

@media(max-width:768px) {
  .about h2{
    font-size: 24px;
    margin-bottom: 20px;
  }
}

.about p{
  max-width: 600px;
  margin-right: auto;
  margin-left: auto;
  line-height: calc(48/16);
}
@media(max-width:575px) {
  .about p{
    line-height: calc(35/16);
  }
}

.about{
  margin-bottom: 120px;
}

@media(max-width:768px) {
  .about{
    margin-bottom: 50px;
  }
}

.course{
  background-image: url(./img/course-bg.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  padding-top: 365px;
  padding-bottom: 75px;
  background-position: top center;
}

@media(max-width:991px) {
  .course{
    padding-top: 265px;
  }
}

@media(max-width:768px) {
  .course{
   background-image: url(./img/course-bg-sp.png);
   padding-top: 165px;
   background-position: top center;
  }
}

.section-title{
  font-size: 30px;
  font-weight: bold;
  text-align: center;
}

@media(max-width:768px) {
  .section-title{
    font-size: 24px;
  }
}

.section-title span{
  display: block;
  font-size: 16px;
  font-weight: bold;
  letter-spacing: 0.1em;
  color: #FC9588;
  margin-bottom: 10px;
}

.course-content{
  display: flex;
  margin-top: 75px;
}

@media(max-width:991px) {
  .course-content{
    flex-direction: column;
    align-items: center;
  }
}

.course-table{
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  background-size: 100% 100%;
  padding: 60px 80px;
  position: relative;
  display: flex;
  flex-direction: column;
}

@media(max-width:1200px) {
  .course-table{
    padding: 50px 40px;
  }
}

@media(max-width:575px) {
  .course-table{
    padding: 50px 30px;
  }
}

.course-content .course-table{
  width: 50%;
}

@media(max-width:991px) {
  .course-content .course-table{
    width: 560px;
    max-width: 100%;
}

}

.course-table.elementary{
  background-image: url(./img/course-content-bg01.png);
  margin-right: 12px;
}

@media(max-width:991px) {
  .course-table.elementary{
    margin-bottom: 50px;
    margin-right: 0;
  }
}

.course-table.middle{
  background-image: url(./img/course-content-bg02.png);
  margin-left: 12px;
}

@media(max-width:991px) {
  .course-table.middle{
    margin-bottom: 50px;
    margin-left: 0;
  }
}

.course-table.high{
  background-image: url(./img/course-content-bg03.png);
  max-width: 780px;
  margin-right: auto;
  margin-left: auto;
  position: relative;
  margin-bottom: 120px;
}

.course-table.high::before{
  content: "";
  background-image: url(./img/book02.svg);
  background-repeat: no-repeat;
  background-size: contain;
  display: block;
  width: 82px;
  height: 61px;
  position: absolute;
  bottom: -30px;
  left: 0;
}

.course-table.high::after{
  content: "";
  background-image: url(./img/book03.svg);
  background-repeat: no-repeat;
  background-size: contain;
  display: block;
  width: 312px;
  height: 67px;
  position: absolute;
  bottom: -30px;
  right: -70px;
}

@media(max-width:991px) {
  .course-table.high::after{
    width: 200px;
    right: 0;
  }
}

.course-table.middle::after{
  content: "";
  background-image: url(./img/book.svg);
  background-repeat: no-repeat;
  background-size: contain;
  display: block;
  width: 123px;
  height: 88px;
  position: absolute;
  bottom: -10px;
  right: 10px;
}

.course-table h3{
  font-size: 17px;
  font-weight: bold;
  width: 180px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
  color: #fff;
    padding: 7px 0;
  clip-path: polygon(1% 4%, 100% 0%, 97% 100%, 0% 100%);
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
}

.elementary.course-table h3{
  background-color: #8ABFD2;
}

.middle.course-table h3{
  background-color: #F7AF94;
}

.high.course-table h3{
  background-color: #B7D86D;
}

.course-lead{
  font-size: 15px;
  line-height: calc(27/15);
}

.course-kinds{
  max-width: 365px;
  margin-right: auto;
  margin-left: auto;
  margin-top: 35px;
}

.course-item:not(:last-child){
  border-bottom: 1px dashed #313131;
}

.course-item span{
  font-size: 21px;
  display: block;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  text-align: center;
  line-height: 29px;
  color: #fff;
  flex-shrink: 0;
}

.elementary .course-item span{
  background-color: #8ABFD2;
}

.middle .course-item span{
  background-color: #F7AF94;
}

.course-item h4{
  font-size: 18px;
  margin-bottom: 0;
  margin-left: 12px;
}

.course-title{
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.syohiyou{
  font-weight: bold;
  max-width: max-content;
  margin-right: auto;
  margin-left: auto;
  margin-bottom: 80px;
}

@media(max-width:768px) {
  .syohiyou{
    margin-bottom: 30px;
  }
}

.syohiyou span{
  font-weight: normal;
  display: block;

}

.lesson{
  font-size: 18px;
  text-align: center;
  margin-bottom: 25px;
}

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

.contact-btn{
  background-color: #313131;
  color: #fff;
  text-align: center;
  height: 84px;
  line-height: 84px;
  font-size: 20px;
  border-radius: 50px;
  display: block;
  max-width: 370px;
  margin-right: auto;
  margin-left: auto;
  box-shadow: 3px 3px 6px #0000004D;
  font-family: "游ゴシック体", YuGothic;
  font-weight: bold;
}

@media(max-width:768px) {
  .contact-btn{
    height: 60px;
    line-height: 60px;
    font-size: 16px;
  }
}

.contact-btn:hover{
  text-decoration: none;
  color: #fff;
}

.profile-text{
  font-size: 16px;
  line-height: calc(35/16);
  margin-top: 35px;
}

.profile-lead{
  font-size: 14px;
  margin-bottom: 0;
}

.profile-name{
  font-size: 21px;
  letter-spacing: 0.1em;
}

.profile{
  padding-top: 100px;
  padding-bottom: 400px;
  position: relative;
}

@media(max-width:768px) {
  .profile{
    padding-bottom: 350px;
  }
}

.profile::after{
  content: "";
  display: block;
  background-image: url(./img/cloud.svg);
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
  height: 400px;
  position: absolute;
  bottom: 0;
  left: 0;
}

.profile::before{
  content: "";
  display: block;
  background-image: url(./img/cute-dog.png);
  background-repeat: no-repeat;
  background-size: contain;
  width: 400px;
  height: 300px;
  position: absolute;
  bottom: 20px;
  right: 0;
  z-index: 2;
}
@media(min-width:1201px){
  .profile::before{
    bottom: 10px;
    right: 100px;
  }
  .profile::after {
    height: 570px;
    bottom: -170px;
  }
}
@media(min-width:1615px){
  .profile::before{
    bottom: -4%;
    right: 13%;
  }
}
@media(min-width:2015px){
  .profile::before{
    width: 470px;
    height: 370px;
    bottom: -10%;
  }
}
@media(min-width:2615px){
  .profile::before{
    bottom: -13%;
  }
}
@media(max-width:1200px){
  .profile::before{
    width: 300px;
    height: 250px;
    right: 15px;
  }
}
@media(max-width:991px) {
  .profile::before{
    /* width: 200px;
    height: 150px;
    right: 15px; */
    bottom: 35px;
  }
}
@media(max-width:768px) {
  .profile::before{
    width: 230px;
    height: 180px;
    right: 15px;
    bottom: 10px;
  }
}
@media(max-width:575px) {
  .profile::before{
    width: 160px;
    height: 140px;
    bottom: 30px;
    right: 0;
  }
  .profile::after {
    bottom: -35px;
  }
}
@media(max-width:400px) {
  .profile::before{
    bottom: 55px;
  }
}

.footer-logo{
  margin-bottom: 50px;
}

@media(max-width:768px) {
  .footer-logo{
max-width: 150px;
margin-bottom: 35px;
  }
}

footer{
  background-image: url(./img/wave-bg.png);
  background-repeat: no-repeat;
  background-size: cover;
  padding-top: 185px;
  position: relative;
  margin-top: -185px;
  z-index: 3;
  background-position: top center;
}

@media(min-width:2600px) {
  footer{
    padding-top: 225px;
  }
}

@media(max-width:768px) {
  footer{
    background-image: url(./img/wave-bg-sp.svg);
    padding-top: 135px;
    margin-top: -177px;
  }
}

footer::before{
  content: "";
  display: block;
  background-image: url(./img/footer-item.svg);
  background-repeat: no-repeat;
  background-size: contain;
  width: 600px;
  height: 240px;
  position: absolute;
  top: -100px;
  left: 70px;
}

@media(max-width:1200px){
  footer::before{
    width: 450px;
    left: 40px;
    top: -60px;
  }
}

@media(max-width:991px) {
  footer::before{
    width: 300px;
    height: 100px;
    top: 10px;
    left: 20px;
  }
}

@media(max-width:575px) {
  footer::before{
    width: 200px;
    height: 70px;
    top: 30px;
  }
}

.footer-btn{
  display: block;
  height: 70px;
  line-height: 70px;
  color: #DCEA9F;
  border: 1px solid #DCEA9F;
  border-radius: 50px;
  text-align: center;
  max-width: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: auto;
  margin-left: auto;
}

.footer-btn:hover{
  color: #DCEA9F;
  text-decoration: none;
}

.copyright{
  font-size: 13px;
  letter-spacing: 0.1em;
  padding-top: 70px;
  padding-bottom: 20px;
  text-align: center;
  color: #fff;
  margin-bottom: 0;
}

.address-card h3{
  color: #DCEA9F;
  font-size: 18px;
}

.address-card p{
color: #FFFFFF;
font-size: 15px;
letter-spacing: 0.05em;
}

.gmap iframe{
   aspect-ratio: 16 / 9;
    width: 100%;
    height: auto;
}

.katsurami p{
  margin-bottom: 38px;
}

@media(max-width:768px) {
  .katsurami p{
  margin-bottom: 15px;
  }
}

.pagetop{
  position: fixed;
  bottom: 20px;
  right: 15px;
  z-index: 5;
}

.taxfree{
  font-size: 14px;
}

@media(max-width:768px) {
  .profile-img{
    width: 80%;
    max-width: 415px;
    margin: 30px 0;
    margin-bottom: 50px;
  }
  .address-card.katsurami{
    margin-bottom: 50px;
  }
  .address-card.koyama{
    margin-bottom: 70px;
  }
}


/* contact */

.form-content-block{
  padding-top: 100px;
  padding-bottom: 300px;
}

.form-title{
  font-size: 30px;
  text-align: center;
}

@media(max-width:768px) {
  .form-title{
    font-size: 24px;
  }
}

.form-title-child{
  display: block;
  text-align: center;
  font-size: 14px;
  margin-bottom: 50px;
  line-height: 2;
}

.submitbtn{
      background: #313131;
      border: none;
    color: #fff;
    text-align: center;
    height: 84px;
    line-height: 78px;
    font-size: 20px;
    border-radius: 50px;
    display: block;
    width: 370px;
    margin-right: auto;
    margin-left: auto;
    box-shadow: 3px 3px 6px #0000004D;
    font-family: "游ゴシック体", YuGothic;
    font-weight: bold;
    margin-top: 50px;
    text-shadow: none;
}

@media(max-width:768px) {
  .submitbtn{
    height: 60px;
    line-height: 53px;
    font-size: 16px;
    max-width: 100%;
  }
}

.submitbtn:hover{
  color: #fff;
  background: #313131;
}

.thanks-content{
  padding: 100px 0 350px;
}

.form-control{
  max-width: 100%;
}

.hissu {
  color: #c50f0f;
}

.wow:not(.animated) {
    animation-name: none;
    visibility: hidden;
}