@charset "utf-8";
:root {
    --green:#76A5AF;
    --black: #1B1B1B;
    --white: #fff;
    --lightbull:#F0F8FF;
    --navy:#536980;
    --bullgray:#EEF6F9;
    
}
html{
    font-size: 100%;
    scroll-behavior: smooth;
}
body{
    font-family: 'Lato','Noto Sans JP', 'YuGothic', '游ゴシック体', "Yu Gothic", '游ゴシック', "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic Pro", 'メイリオ', 'Meiryo7', 'Verdana', sans-serif;
    background-color: var(--white);
    color: var(--black);
    transition: all 0.3s;
}
.wrapper{
    max-width: 1180px;
    width: 100%;
    margin: 80px auto 60px;
    padding: 0 3%;
    letter-spacing: 0.02em;
    line-height: 2em;
    font-size: 20px;
    font-weight: 400;
}
.wrapper2{
    max-width: 1180px;
    width: 100%;
    margin: 100px auto 0;
    padding: 0 1%;
    letter-spacing: 0.05em;
    line-height: 2em;
    font-size: 20px;
    font-weight: 400;
}
img{
	width: 100%;
	height: auto;
	vertical-align: bottom;
}

/*--------------------------------------*/
#header{
    position: sticky;
    top: 0;
    height: 70px;
    width: 100%;
    z-index: 9;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #fff;
    box-shadow: 1px 1px 5px #00000017;
}
/*--------------------------------------*/
#top-vis{
    background-image: url(../img/top-pc.webp);
    background-position:top 40% right 40%;
    width: 100%;
    background-size: cover;
    position: relative;
    height:92vh; 
}
#top-title{
    width: 523px;
    text-align: center;
    color: var(--white);
    position: absolute;
    z-index: 5;
    bottom: 5%;
    right: 2%;
}
#top-h1{
    font-size: 80px;
    font-size: min(max(40px, calc(2.5rem + ((1vw - 5.4px) * 2.8986))), 80px);
    min-height: 0vw;
}
#top-p{
    font-size: 20px;
    font-size: min(max(14px, calc(0.875rem + ((1vw - 5.4px) * 0.4348))), 20px);
    min-height: 0vw;
    padding-top: 30px;
}
.top-text{
    max-width: 900px;
    margin:0 auto 100px;
    text-align: center;
}
/*--------------------------------------------------*/
.news-top-back,.news-page-back{
    padding: 0 0 100px;
    background-color: var(--bullgray);
}
#news-top,#news-page{
    height: 35px;
    position: relative;
}
.news-list dl,.news-page-list dl{
    border-bottom: 3px dashed var(--bullgray);
    background-color: var(--white); 
    font-size: 18px;
    
}
.news-list dl:last-child,.news-page-list dl:last-child{
    border: none;
}
.news-list dt,.news-page-list dt{
    float: left;
    padding: 10px 10px 10px 30px;
}
.news-list dd,.news-page-list dd{
    margin-left: 180px;
    padding:10px 10px 10px 30px;
}
#news-top h1,#news-page h1{
    font-size: 50px;
    font-size: min(max(40px, calc(2.5rem + ((1vw - 7.68px) * 0.8681))), 50px);
    min-height: 0vw;
    position: absolute;
    top: -24px;
    left: 11px;
    color: var(--navy);
    z-index: 2;
}
#news-top h1::before,#news-page h1::before{
    content: '';
    width: 56px;
    height: 2px;
    position: absolute;
    left: 0;
    bottom: -16px;
    background-color: var(--navy);
  }
  .date{
    font-size: 14px;
  }
  .page,.page2{
      margin-bottom: 100px;
  }
  .page h2,.page2 h2{
    border-left: solid 5px var(--navy);
    border-bottom: solid 1px var(--navy);
    font-size:24px;
    font-weight: 500;
    margin: 10px auto 10px auto;
    padding: 10px 0 10px 20px;
  }
  .page a{
    padding: 5px 20px;
    font-size: 16px;
    border: 1px solid var(--navy);
    display: inline-block;
    margin-left: 20px;
    transition: all 0.3s;
    border-radius: 100vh;
    
  }
  .page a:hover{
      border: 1px solid var(--navy);
      background-color: var(--navy);
      color: white;
  }
  dd a{
      text-decoration: underline;
  }
  .page p,.page2 p{
    font-size: 18px;
    padding: 20px;
    margin: 30px auto;
  }
  .youtube {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px;
    height:0px;  
  }
  .youtube iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
  }
/*--------------------------------------------------*/
footer{
    height: 200px;
    padding: 50px 0;
    background-image: url(../img/footer.webp);
    /* filter: brightness(80%); */
    background-repeat: repeat;
    background-position: center center;
    background-size: cover;
}
.sns{
    display: flex;
    justify-content: center;
}
.sns li{
    margin: 10px;
}
.sns img{
    width: 30px;
}
.copy{
    font-size: 14px;
    padding: 20px 0;
    text-align: center;
    color: var(--white);
    
}
/*--------------------------------------*/

/*--------------------------------------*/
#profile{
    letter-spacing: 0.2rem;
    line-height: 2rem;
    position: relative;
    background-image: url(../img/profile.webp);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    height: 80vh;
    width: 100%;
    margin-bottom: 200px;
}
#profile h1,#lesson h1,#contact h1,#news h1{
    font-size: 50px;
    font-size: min(max(40px, calc(2.5rem + ((1vw - 7.68px) * 0.8681))), 50px);
    min-height: 0vw;
    position: absolute;
    top: -16px;
    left: 16px;
    color: var(--navy);
    z-index: 2;
}
#profile h1::before,#lesson h1::before, #contact h1::before,#news h1::before{
    content: '';
    width: 56px;
    height: 2px;
    position: absolute;
    left: 0;
    bottom: -16px;
    background-color: var(--navy);
  }
#profile p{
    font-size: 18px;
    padding: 80px 0;
    width: 52%;
    position: absolute;
    z-index: 2;
}
#profile img{
    display: none;
}
.mobile-nav{
    display: none;
    
}
/*----------------------------------------*/
#contact{
    letter-spacing: 0.2rem;
    line-height: 2rem;
    position: relative;
    background-image: url(../img/blue.webp);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    height: 180px;
    width: 100%;
}
  #contact p{
    font-size: 18px;
    padding: 80px 30px;
    width: 100%;
    text-align: center;
    position: absolute;
    z-index: 2;
    left: 0;
}
/* ----------------------------- */
.line{
    background:linear-gradient(transparent 60%, #FAF8D7 0%) ;
}
#mail{
    position: sticky;
    width: 150px;
    left: 90%;
    bottom: 20px;
    background-color: var(--white);
}
#mail a{
    transition: all 0.3s;
}
#mail a:hover{
    opacity: 0.7;
}

/*--------------------------------------*/
#lesson{
    letter-spacing: 0.2rem;
    line-height: 2rem;
    position: relative;
    height: 600px;
    width: 100%;
    margin-bottom: 200px;
    padding: 0;
}
#lesson p{
    font-size: 18px;
    padding: 30px;
    text-align: center;
}
.mobile-le{
    display: none;
}
.lesson-flex{
    display: flex;
    border-top: 4px dashed var(--bullgray);
}
.lesson-flex img{
    width: 330px;
    object-fit: contain;
    padding: 70px 20px 20px 20px ;
    margin: 0 0 auto auto;
}
.lesson-flex2{
    display: flex;
}
.lesson-flex2 img{
    width: 330px;
    object-fit: contain;
    padding: 0px 20px 20px 20px ;
    margin: 0 0 auto auto;
}

/*-------------------------------------*/
.flex{
    display: flex;
    justify-content: space-between;
}
.flex div{
    width: 520px;
    margin-bottom: 80px;

}
/*--------------------------------------*/
.text{
    font-family:'Noto Sans JP', 'YuGothic', '游ゴシック体', "Yu Gothic", '游ゴシック', "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic Pro", 'メイリオ', 'Meiryo7', 'Verdana', sans-serif;
}
.text h2{
    font-size: 30px;
    font-weight: 500;
    border-left: solid 5px var(--navy);
    line-height: 1;
    padding: 15px 0 15px 18px;
    background-color: var(--bullgray);
    margin-bottom: 50px;
    margin: 0 10px 50px 10px;
}
.text h3{
    font-size:24px;
    font-weight: 500;
    margin: 70px auto 10px auto;
    padding: 0 20px;
}
.text p,.text ul{
    font-size: 16px;
    font-weight: 400;
    padding: 20px;
}


.text a{
    font-size: 16px;
    font-weight: 400;
    padding: 4px 10px;
    margin: 10px 10px 10px 20px;
    display: block;
    width: 191px;
    border: 1px solid var(--navy);
    transition: all 0.3s ease 0s;
    border-radius: 100vh;
}
.text a:hover{
    color: var(--white);
    background-color: var(--navy);
    transition: all 0.2s;
}
.text-li li{
    list-style: disc inside;
}
/*--------------------------------------*/
.step{
    display: flex;
    text-align: start;
}
.step h3{
    margin:auto auto auto 20px;
}

.step img{
    width: 130px;
}
#text-p1,#text-p2,#text-p3,#text-p4{
    margin-left: 131px;
}
.btn{
    text-align: center;
}
.btn a{
    font-size: 17px;
    font-weight: 400;
    padding: 8px;
    margin: 0 auto 50px auto;
    display: block;
    border: 2px solid var(--green);
    border-radius: 100vh;
    background-size: cover;
    background-position: center center;
    width: 300px;
    color: var(--white);
    background-color: var(--green);
    transition: all 0.3s;
}
.btn a:hover{
    transition: all 0.2s;
    border: 2px solid var(--green);
    color: var(--green);
    background-color: var(--white);
}
.price table{
    font-size: 18px;
    font-weight: 400;
    border: 1px solid var(--navy);
    width: 94%;
    max-width: 900px;
    margin: auto;
}
.price tr{
    border: 1px solid var(--navy);
}
.price th{
    text-align: center;
    vertical-align:middle;
    width: 30%;
    padding: 10px 0;
    background-color: var(--lightbull);
    border-right: 1px solid var(--navy);
    font-weight: 400;
}
.price td{
    width: 70%;
}
.price td ul{
    padding: 20px 10px 20px 20px;
}
#price-p{
    max-width: 900px;
    margin: auto;
}


/*--------------------------------------*/
@media screen and (max-width: 1080px){
    #profile{
        letter-spacing: 0.2rem;
        line-height: 2rem;
        position: relative;
        background-image: url(../img/profile2.webp);
        background-repeat: no-repeat;
        background-position: center center;
        background-size: cover;
        height: 800px;
        width: 100%;
        margin-bottom: 160px;
    }
    #profile p{
        padding: 50px 0;
    }
    .flex{
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        padding-top: 75px;
    }
}
@media screen and (max-width: 1024px){
    #lesson{
        height:400px;
    }
}
@media screen and (max-width: 850px){
    .flex{
        padding-top: 0;
    }
}
@media screen and (max-width: 768px){
    .mobile-nav{
        display: block;
    }
    .wrapper{
        font-size: 16px;
        margin: 80px auto 0;
    }
    .wrapper2{
        font-size: 16px;
        margin: 50px auto 0;
        padding: 0 2%;
    }
    #header{
        position: sticky;
        background: rgba(255, 255, 255, 0);
        box-shadow:none;
        height: 0;
    }
    .news-top-back,.news-page-back{
        padding: 0 0 60px;
    }
    
    #news-top,#news-page{
        height: 60px;
    }
    .news-list dl,.news-page-list dl{
        font-size: 16px;
    }
    .news-list dt,.news-page-list dt{
        float: left;
        padding: 5px 5px 5px 10px;
    }
    .news-list dd,.news-page-list dd{
        margin-left: 110px;
        padding: 5px 5px 5px 10px;
    }
    #news-top h1,#news-page h1{
        font-size: min(max(32px, calc(2rem + ((1vw - 5.4px) * 3.5088))), 40px);
        min-height: 0vw;
        top: -16px;
        left: 10px;
    }
    #news-top h1::before ,#news-page h1::before{
        width: 40px;
        bottom: -8px;
      }
      .page h2,.page2 h2{
        font-size: 18px;
        font-weight: 500;
        margin: auto;
        padding: 5px 5px 5px 10px;
      }
      .page a{
        padding: 5px 20px;
        font-size: 14px;
        margin-left: 20px;
        
      }
      .page p,.page2 p{
        font-size: 16px;
        padding: 10px 10px 10px 15px;
      }
    .top-text{
        max-width: 900px;
        margin:0 auto 50px;
        text-align: center;
    }
    #nav ul{
        display: none;
    }
    #top-vis{
        background-image: url(../img/top-mobile.webp);
        height: 730px;
    }
    #top-title{
        width: 100%;
        margin: auto;
        text-align: center;
        right: 0;
        bottom: 10%;
    }
    #profile img{
        display: block;
    }
    #profile{
        background-image:none;
        height: auto;
        width: 100%;
        margin-bottom: 50px;
    }
    #profile h1,#contact h1,#lesson h1{
        font-size: min(max(32px, calc(2rem + ((1vw - 5.4px) * 3.5088))), 40px);
        min-height: 0vw;
        top: -16px;
        left: 30px;
    }
    #profile h1::before,#contact h1::before,#lesson h1::before {
        width: 40px;
        bottom: -8px;
      }
    #profile p{
        font-size: 16px;
        padding: 20px 10px 100px 10px;
        width: 100%;
        height: 100%;
        position: static;
    }
    #contact p{
        font-size: 16px;
        padding: 60px 15px;
        width: 100%;
    }
    #mail{
        width: 120px;
    }
    .pc-le{
        display: none;
    }
    .mobile-le{
        display: block;
        text-align: left;
    }
    #lesson{
        margin-bottom: 0;
        height:auto;
    }
    #lesson p{
        font-size: 16px;
        padding: 15px;
        text-align: left;
    }
    .lesson-flex{
        display: flex;
        flex-direction: column;
    }
    .lesson-flex img{
        height: 40vh;
        margin: 0 auto 10px;
        object-fit: cover;
        padding: 20px 20px 20px;
        width: 100%;
        border-radius: 50px;
    }
    .lesson-flex2{
        display: flex;
        flex-direction: column;
    }
    .lesson-flex2 img{
        width: 100%;
        height: 40vh;
        object-fit: cover;
        object-position:0% 90% ;
        padding: 20px 20px 20px;
        margin: 0 auto 10px;
        border-radius: 50px;
    }
    .flex{
        margin-bottom: 50px;
    }
    .flex div{
        width: 100%;
    }
    .flex div:last-child{
        margin-bottom: 20px;
    }
    .text h2{
        font-size: 20px;
        border-left: solid 3px var(--navy);
        line-height: 1;
        padding: 10px 0 10px 10px;
        margin: 0 10px 20px 10px;
    }
    .text h3{
        font-size:18px;
    }
    .text p .text ul{
        padding: 20px 10px;
    }
    
    .text a{
        margin: 10px;
    }
    #text-p1,#text-p2,#text-p3,#text-p4{
        margin-left: 0;
    }
    .step img{
        width: 100px;
    }
    .price table{
        font-size: 16px;
    }
}
@media screen and (max-width: 540px){
    #top-h1{
        font-size: 40px;
    }
    #top-p{
        font-size: 14px;
        padding-top: 10px;
    }
    #profile h1,#contact h1,#lesson h1{
        font-size: 32px;
        position: absolute;
        top: -16px;
        left: 16px;
    }
    #top-vis{
        height: 568px;
    }
}
@media screen and (max-width: 320px){
    #top-vis{
        height: 100vh;
    }
}