*{
    box-sizing: border-box;
}
    
html{
    scroll-behavior: smooth;
}
    
a {
    text-decoration: none;
    color: inherit;
}
    
body{
    margin: 0;
}
    
    
@media(min-width:1225px){
  
    header{
        width: 100%;
        height: 120px;
        position: fixed;
        top: 0;
        z-index: 100;
        background-color: white;
        border-bottom: solid 2px rgb(248, 179, 3);
      }
    
      .header-flex{
        display: flex;
        justify-content: space-between;
      }
    
      .header-left{
        height: 120px;
        
      }
    
      .header-logo{
        height: 90px;
        color: rgb(63, 105, 2);
        font-family: 'Kaisei HarunoUmi', serif;
        display: flex;
      }
    
      .header-name{
        display: inline-block;
        line-height: 90px;
        height: 90px;
        font-size: 40px;
        margin-left: 30px;
        margin-right: 7px;
      }
    
      .header-name p{
        display: inline;
        vertical-align: baseline;
      }
    
      .logo-image{
        height: 90px;
        line-height: 90px;
      }
    
      .logo-image img{
        height: 40px;
        width: 40px;
        vertical-align:middle;
      }
    
      .logo-image-sp{
        display: none;
      }
    
      .header-menu-left{
        margin-left: 50px;
      }
    
      .header-menu-left li{
        list-style: none;
        float: left;
        padding: 0 20px;
        border-left:solid 1.5px rgb(63, 105, 2) ;
        font-family: 'Zen Kaku Gothic New', sans-serif;
        position: relative;
      }
    
      .header-menu-left li:hover{
        color: rgb(248, 179, 3);
      }
    
      .header-menu-left li::after{
        content: "";
        position: absolute;
        left: 50%;
        bottom: -5px;
        transform: translateX(-50%);
        width: 0%;
        height: 4px;
        background-color: #00a764;
        transition: all 0.5s;
      }  
      
      .header-menu-left li:hover::after{
        width: 80%;
      }
    
      #top-list{
        border: none;
      }
    
      .header-menu-left ul{
        margin: 0;
        padding: 0;
      }
    
      .header-right{
        height: 120px;
        margin-right: min(30px,2.44vw);    
      }
    
      .header-contact{
        display: flex;
        height: 90px;
        padding-left: 20px;
        padding-top: 10px;
      }
    
      .header-btn{
        font-size: 18px;
        height: 52px;
        line-height: 52px;
        letter-spacing: 1.7;
      }
    
      .header-btn p {
        display: inline;
        vertical-align: middle;
      }
    
      .header-btn-mail:hover{
        color: rgb(248, 179, 3);
      }
    
      .header-mail{
        height: 52px;
        line-height: 52px;
        display: flex;
        margin-right: 30px;
      }
    
      .header-tel{
        height: 68px;
        display: flex;
      }
    
      .tel-info{
        font-size: 14px;
        line-height: 0;
        
      }
    
      .menu-trigger{
        display: none;
      }
      
      #header-sp-modal{
        display: none;
      }
    
      .header-icon img{
        height: 30px;
        width: 30px;
        vertical-align: middle;
      }
    
      .header-icon{
        height: 52px;
        line-height: 52px;
        margin-right: 20px;
      }
    
      .header-icon-sp{
        display: none;
      }
    
      .header-menu-right li{
        list-style: none;
        font-size: 13px;
        float: left;
        padding: 0 20px;
        border-left:solid 1.5px rgb(63, 105, 2) ;
      }
    
      .header-menu-right li:hover{
        color: #00a764;
      }
    
      #top-list-right{
        border: none;
      }
    
      .header-menu-right ul{
        margin: 0;
        padding: 0;
      }
    
      .fixed_btn{
        position: fixed;
        bottom: 80px; 
        right: -30px;
        padding: 0 20px 0 10px;
        z-index: 100;
        transform: rotate(90deg);
        background-color: rgb(252, 192, 39);
        height: 30px;
        line-height: 30px;
        color: white;
        border: solid 1px rgb(252, 192, 39);
      }
    
      .fixed_btn p{
        vertical-align: middle;
        display: inline;
        letter-spacing: 1px;
      }
    
      .fixed_btn span {
        display: inline-block;
        border: solid 1px white;
        width: 45px;
        vertical-align:15%;
        margin-right: 15px;
        
      }
    
      .fixed_btn:hover{
        opacity: 0.7;
        transition: 0.3s;
      }

    .top-wrapper-cp{
        width: 100%;
        height: 200px;
        display: flex;
        padding-top: 0px;
        margin-top: 120px;
    }

    .top-title{
        width: 50%;
        height: 200px;
        background: linear-gradient(90deg,rgba(225,225,0,0.35),rgba(225,225,0,0.2));
    }

    .top-title-in{
        height: 80px;
        width: 450px;
        background-color: rgb(250, 250, 50);
        margin-top: 60px;
        text-align: center;
        font-size:30px ;
        font-family: 'Kiwi Maru', serif;
        line-height: 80px;
        letter-spacing: 3px;
    }

    .top-title-in p{
        display: inline;
        vertical-align: top;
    }

    .top-img{
        width: 30%;
        height: 200px;
    }

    .top-img img {
        width: 100%;
        height: 100%;
    }

    .top-right{
        width: 20%;
        height: 200px;
        background: linear-gradient(90deg,rgba(225,225,0,0.2),rgba(225,225,0,0.3));
    }

    .elementry-point{
        width: 100%;
        height: 300px;
    }

    .point-a{
        width: 100%;
        height: 70px;
        padding-top: 30px;
        text-align: center;
        font-size: 20px;
    }

    .point-b{
        width: 100%;
        height: 100px;
        font-size: 25px;
        text-align: center;
        padding: 0;
        line-height: 85px;
    }

    .point-b-sp{
        display: none;
    }

    .point-b span{
        font-size: 50px;
        height: 100px;
        display: inline-block;
        width: 200px;
        text-align: center;
        letter-spacing: 10px;
        font-weight: bold;
        border: solid 10px rgba(136, 214, 245, 0.7) ;
        margin: 0 20px;
        vertical-align: middle;
        padding-left:10px ;
    }

    .point-c{
        width: 100%;
        text-align: center;
        font-size: 25px;
        font-family: 'Zen Kaku Gothic New', sans-serif;;
        height: 130px;
        padding-top: 20px;
        letter-spacing: 5px;
    }

    .point-c span{
        font-size: 35px;
        border-bottom:solid 8px rgba(136, 214, 245, 0.7);
        height: 45px;
        width: 180px;
        display: inline-block;
    }

    .point-c-sp{
        display: none;
    }

    .elementry-lesson{
        width: 100%;
        height: 500px;
        display: flex;
        justify-content: center;
        margin-top: 130px;
    }

    .lesson-sb{
        width: 45%;
        max-width: 645px;
        height: 480px;
        border: solid 2px yellow;
        border-radius: 15px;
        position: relative;
        margin: 0 auto;
    }

    .lesson-title-sb{
        position: absolute;
        top: 0;
        left: 0;
        width: 245px;
        margin: 0 auto;
        padding: 0 40px;
        font-size: 35px;
        letter-spacing: 30px;
        transform: translateY(-50%) translateX(1em)
    }

    .lesson-title-sb span{
        background-color: white;
        padding-left: 20px;

    }
    
    .lesson-content{
        position: absolute;
        top: 40px;
        max-width: 645px;
        width: 100%;
        padding: 20px 40px;
        height: 350px;
        margin: 0 auto;
        font-size: 18px;
        letter-spacing: 3px;
        line-height: 35px;
    
    }

    .lesson-background{
        position: absolute;
        bottom: -80px;
        right: 20px;
        font-size: 70px;
        font-weight: bold;
    }

    .math{
        color: rgba(0, 0, 255,0.1);
    }

    .eng{
        color: rgba(255, 0, 0,0.1);
    }


    .price-sb{
        width: 100%;
        height: 1000px;
    }

    .price-title-sb{
        width: 230px;
        margin: 0 auto;
        text-align: center;
        font-size: 40px;
        font-family: 'Kiwi Maru', serif;
        border-bottom: solid 3px rgb(248, 179, 3);
        letter-spacing: 6px;
        height: 60px;
    }

    .price-point{
        display: flex;
        width: 100%;
        background-color: rgb(255, 255, 116);
        margin: 0 auto;
        margin-top: 40px;
        margin-bottom: 50px;
        height: 100px;
        justify-content: center;
    }

    .point-detail-sb{
        width: 300px;
        border: solid 1px rgb(255, 255, 116);
        text-align: center;
        margin-left: 20px;
        background-color: white;
        height: 70px;
        line-height: 30px;
        margin-top: 15px;
        font-family: 'Zen Kaku Gothic New', sans-serif;;
        letter-spacing: 5px;
    }

    .point-detail-sb p{
        display: inline;
        vertical-align: middle;
    }

    .price-a{
        display:flex;
        width: 80%;
        height: 80px;
        margin: 0 auto;
    }

    .price-b{
        display:flex;
        width: 80%;
        height: 140px;
        margin:0 auto;
        margin-top: 15px;
    }

    .price-c{
        width: 80%;
        height: 400px;
        margin:0 auto;
        margin-top: 30px;
    }

    .price-name-sb{
        font-size: 23px;
        width: 150px;
        text-align: center;
        height: 80px;
        line-height: 80px;
        letter-spacing: 20px;
    }

    .price-name-sb p{
        display: inline;
        vertical-align: middle;
        border-bottom: dotted 3px rgb(248, 179, 3);
        padding-left: 20px;
    }

    .a-content{
        height: 80px;
        font-size: 20px;
        line-height: 80px;
        margin-left: 60px;
        letter-spacing: 10px;
    }

    .a-content p{
        display: inline;
        vertical-align: middle;
    }

    .b-content{
        margin-left: 60px;
        font-size: 20px;
        letter-spacing: 6px;
        padding-top: 8px;
        white-space: nowrap;
    }

    .b-content-sp{
        display: none;
    }


    .c-content table{
        color: black;
        margin: 0 auto;
        margin-top: 35px;
        margin-bottom: 30px;
        border-collapse: collapse;
        white-space: nowrap;
        table-layout: fixed;
        max-width: 1000px;
        width: 80.7vw;
        font-size: 17px;
    }
      
    .c-content td{
        border:solid 2px white;
        table-layout: fixed;
        text-align: center;

    }
      
    .c-content tr:first-child {
        height: 80px;
        letter-spacing: 4px;
        line-height: 30px;
        background-color: rgb(249, 249, 148);
    }
    
    .c-content span{
        color: rgb(248, 179, 3);
    }
    
    .c-content tr:first-child p{
        display: inline;
        vertical-align: bottom;
    }
      
    
    .c-content tr {
        height: 100px;
        font-size: 20px;
        letter-spacing: 2px;
        
    }
    
    .table-mini-sb {
        height:20px;
        background: rgb(249, 249, 148);
        font-size: 14px;
        line-height: 20px;
    }
    
    .table-mini-sb p{
        display: inline;
        font-size: 14px;
        vertical-align: middle;
    
    }

    .c-detail{
        display: flex;
        max-width: 1000px;
        width: 80.7vw;
        margin: 0 auto;
    }

    .c-detail-a{
        margin-right: 15px;
    }

    .c-detail-b span{
        color: rgb(248, 179, 3);
        padding: 0 6px;
    }

    .c-detail-b span:hover{
        color: #00a764;
    }

    .info{
        display: flex;
        justify-content: center;
        margin-top: 60px;
        height: 720px;
        margin-bottom: 60px;
      }
    
      .info-wrapper-flex{
        width: 55vw;
        padding-top: 50px;
      
      }
    
      .info-graph{
        width: 45vw;
        
      }
    
      .info-title{
        width: 300px;
        margin: 0 auto;
        font-size: 25px;
        font-family: 'Kiwi Maru', serif;
        text-align: center;
      }
    
      .info-title p{
        border-bottom: solid 1px rgb(248, 179, 3);
        display: inline;
        padding: 0 10px 0 10px;
      }
    
      .info-content table{
        width: 85%;
        margin: 0 auto;
        margin-top: 50px;
      }
      
      .info-content td:first-child{
        font-size: 18px;
        border-bottom: solid 1.5px rgb(74, 114, 14);
        width:150px ;
        padding-left: 0;
        text-align: center;
      }
      
      .info-content tr{
        height:85px;
      }
      
      .info-content td{
        border-bottom: solid 1.5px #a6a7a8;
        padding-left: 40px;
      }
    
      .info-content td br{
        display: none;
      }
    
      .info-content td span{
        display: block;
      }
    
      
      .info-content tr:first-child{
        vertical-align: middle;
      }
    
      .info-contact{
        border: solid 1px #00a764;
        width: 300px;
        border-radius: 5px;
        text-align: center;
        margin: 70px 7.5% 40px auto;
        cursor: pointer;
      }
    
      .info-contact:hover{
        background-color:#00a764;
        color: white;
        transition: all .5s ;
      }
    
      .info-photo{
        width: 43vw;
        margin: 0 auto;
        height: 350px;
      }
    
      .info-photo img{
        width: 100%;
        height: 100%;
      }
    
      .info-map{
        width: 43vw;
        height: 350px;
        margin: 0 auto;
        margin-top: 15px;
      }
    
      .info-map iframe{
        width: 100%;
        height: 100%;
      }
    
      footer{
        height: 100px;
        width: 100%;
        background-color: rgb(50, 83, 1);
        position: relative;
      }
    
      .foot-first{
        display: flex;
        justify-content: center;
        margin: 0 auto;
        width: 380px;
      }
    
      .foot-title{
        font-size: 35px;
        color: white;
        text-align: center;
        margin: 0 auto;
        height: 85px;
        line-height: 85px;
      }
    
      .foot-title p{
        display: inline;
        vertical-align: middle;
       
        font-family: 'Kaisei HarunoUmi', serif;
      }
    
      .foot-logo {
        height: 85px;
        width: 35px;
        line-height: 85px;
      }
    
      .foot-logo img{
        width: 100%;
        height: 35px;
        display: inline;
        vertical-align: middle;
      }
    
      .foot-last{
        color: white;
        font-size: 14px;
        margin: 0 10px 0 auto;
        height: 15px;
        position: absolute;
        top: 60px;
        right: 50px;
      }
      
    
    
    
    }

@media (min-width:1000px) and (max-width:1224px) {

    .top-wrapper-cp{
        width: 100%;
        height: 200px;
        display: flex;
        padding-top: min(20px,1.79vw);
        margin-top: min(100px,8.93vw);
    }

    .top-title{
        width: 50%;
        height: 200px;
        background: linear-gradient(90deg,rgba(225,225,0,0.35),rgba(225,225,0,0.2));
    }

    .top-title-in{
        height: 80px;
        width: 450px;
        background-color: rgb(250, 250, 50);
        margin-top: 60px;
        text-align: center;
        font-size:30px ;
        font-family: 'Kiwi Maru', serif;
        line-height: 80px;
        letter-spacing: 3px;
    }

    .top-title-in p{
        display: inline;
        vertical-align: top;
    }

    .top-img{
        width: 30%;
        height: 200px;
    }

    .top-img img {
        width: 100%;
        height: 100%;
    }

    .top-right{
        width: 20%;
        height: 200px;
        background: linear-gradient(90deg,rgba(225,225,0,0.2),rgba(225,225,0,0.3));
    }

    .elementry-point{
        width: 100%;
        height: 300px;
    }

    .point-a{
        width: 100%;
        height: 70px;
        padding-top: 30px;
        text-align: center;
        font-size: 20px;
    }

    .point-b{
        width: 100%;
        height: 100px;
        font-size: 25px;
        text-align: center;
        padding: 0;
        line-height: 85px;
    }

    .point-b span{
        font-size: 50px;
        height: 100px;
        display: inline-block;
        width: 200px;
        text-align: center;
        letter-spacing: 10px;
        font-weight: bold;
        border: solid 10px rgba(136, 214, 245, 0.7) ;
        margin: 0 20px;
        vertical-align: middle;
        padding-left:10px ;
    }

    .point-b-sp{
        display: none;
    }

    .point-c{
        width: 100%;
        text-align: center;
        font-size: 25px;
        font-family: 'Zen Kaku Gothic New', sans-serif;;
        height: 130px;
        padding-top: 20px;
        letter-spacing: 5px;
    }

    .point-c span{
        font-size: 35px;
        border-bottom:solid 8px rgba(136, 214, 245, 0.7);
        height: 45px;
        width: 180px;
        display: inline-block;
    }

    .point-c-sp{
        display: none;
    }

    .elementry-lesson{
        width: 100%;
        height: auto;
        display: flex;
        justify-content: center;
        margin-top: 30px;
    }

    .lesson-sb{
        width: 45%;
        height: 480px;
        border: solid 2px yellow;
        border-radius: 15px;
        position: relative;
        margin: 15px;
    }

    .lesson-title-sb{
        position: absolute;
        top: 0;
        left: 0;
        width: 250px;
        margin: 0 auto;
        padding: 0 40px;
        font-size: 35px;
        letter-spacing: 30px;
        transform: translateY(-50%) translateX(1em)
    }

    .lesson-title-sb span{
        background-color: white;
        padding-left: 20px;

    }
    
    .lesson-content{
        position: absolute;
        top: 40px;
        width: 100%;
        padding: 20px 40px;
        height: 350px;
        margin: 0 auto;
        font-size: 18px;
        letter-spacing: 3px;
        line-height: 35px;
    
    }

    .lesson-background{
        position: absolute;
        bottom: -80px;
        right: 20px;
        font-size: 70px;
        font-weight: bold;
    }

    .math{
        color: rgba(0, 0, 255,0.1);
    }

    .eng{
        color: rgba(255, 0, 0,0.1);
    }


    .price-sb{
        width: 100%;
        height: 1000px;
    }

    .price-title-sb{
        width: 230px;
        margin: 0 auto;
        text-align: center;
        font-size: 40px;
        font-family: 'Kiwi Maru', serif;
        border-bottom: solid 3px rgb(248, 179, 3);
        letter-spacing: 6px;
        height: 60px;
    }

    .price-point{
        display: flex;
        width: 100%;
        background-color: rgb(255, 255, 116);
        margin: 0 auto;
        margin-top: 40px;
        margin-bottom: 50px;
        height: 100px;
        justify-content: center;
    }

    .point-detail-sb{
        width: 300px;
        border: solid 1px rgb(255, 255, 116);
        text-align: center;
        margin-left: 20px;
        background-color: white;
        height: 70px;
        line-height: 30px;
        margin-top: 15px;
        font-family: 'Zen Kaku Gothic New', sans-serif;;
        letter-spacing: 5px;
    }

    .point-detail-sb p{
        display: inline;
        vertical-align: middle;
    }
    .price-a{
        display:flex;
        width: 80%;
        height: 80px;
        margin: 0 auto;
    }

    .price-b{
        display:flex;
        width: 80%;
        height: 140px;
        margin:0 auto;
        margin-top: 15px;
    }

    .price-c{
        width:80%;
        height: 400px;
        margin:0 auto;
        margin-top: 30px;
    }

    .price-name-sb{
        font-size: 23px;
        width: 150px;
        text-align: center;
        height: 80px;
        line-height: 80px;
        letter-spacing: 20px;
    }

    .price-name-sb p{
        display: inline;
        vertical-align: middle;
        border-bottom: dotted 3px rgb(248, 179, 3);
        padding-left: 20px;
    }

    .a-content{
        height: 80px;
        font-size: 20px;
        line-height: 80px;
        margin-left: 60px;
        letter-spacing: 10px;
    }

    .a-content p{
        display: inline;
        vertical-align: middle;
    }

    .b-content{
        margin-left: 60px;
        font-size: 20px;
        letter-spacing: 6px;
        padding-top: 8px;
        white-space: nowrap;
    }

    .b-content-sp{
        display: none;
    }

    .c-content table{
        color: black;
        margin: 0 auto;
        margin-top: 35px;
        margin-bottom: 30px;
        border-collapse: collapse;
        white-space: nowrap;
        table-layout: fixed;
        max-width: 1000px;
        width: 80.7vw;
        font-size: 17px;
    }
      
    .c-content td{
        border:solid 2px white;
        table-layout: fixed;
        text-align: center;

    }
      
    .c-content tr:first-child {
        height: 80px;
        letter-spacing: 4px;
        line-height: 30px;
        background-color: rgb(249, 249, 148);
    }
    
    .c-content span{
        color: rgb(248, 179, 3);
    }
    
    .c-content tr:first-child p{
        display: inline;
        vertical-align: bottom;
    }
      
    
    .c-content tr {
        height: 100px;
        font-size: 20px;
        letter-spacing: 2px;
        
    }
    
    .table-mini-sb {
        height:20px;
        background: rgb(249, 249, 148);
        font-size: 14px;
        line-height: 20px;
    }
    
    .table-mini-sb p{
        display: inline;
        font-size: 14px;
        vertical-align: middle;
    
    }

    .c-detail{
        display: flex;
        max-width: 1000px;
        width: 80.7vw;
        margin: 0 auto;
    }

    .c-detail-a{
        margin-right: 15px;
    }

    .c-detail-b span{
        color: rgb(248, 179, 3);
        padding: 0 6px;
    }

    .c-detail-b span:hover{
        color: #00a764;
    }
  

}