@charset "UTF-8";
/* ----基本---- */
* {
    padding: 0;
    margin: 0
}
/* リセット */
a,a:hover,a:visited{
    color: inherit;
}
.lesson-contaier {
    margin: 20px 10px;
    padding: 0 4%;
}
body {
    margin: 0;
    color: #222222;
    font-size: 0.85rem;
    font-family: 'Zen Kaku Gothic Antique', sans-serif;
    line-height: 1.8;
    background-color: rgb(243, 238, 255); 
}
li, a{
    list-style: none;
    text-decoration: none;
}
section{
    padding: 0;
    margin: 4% 0%;
  }
  h1, h2, h3, h4 {
    margin: 15px auto;
  }
/* -----
header
------ */
.header {
    position: sticky;
    top: 0;
    z-index: 10;
    height: 60px;
    text-align: center;
    width: 100%;
    background-color: rgb(243, 238, 255, 0.669);
}
#navArea {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ------
teacher
------- */
/* 記事 */
/* ------スパルタ塾について------ */
.about_class li{
    font-size: 3.77vw;
    line-height: 2;
    text-align: left;
}
h3.fadeUpTrigger {
    font-size: 4vw;
    padding: 2% 0;
}
h2.fadeUpTrigger {
    font-size: 5.33vw;
}
.policy {
    font-weight: 300;
    padding: 5.33vw .98vw;
}
.plus{
    font-size: 4.88vw;
    color: red;
}
.nega {
    font-size: 4.88vw;
    color: blue;
}
.box0 {
    background-color: #fff;
    border-radius: 20px;
    padding: 0 0 2.5vw 0;
}
hr{
    font-weight: 300;
    color: black;
    margin: 15px auto;
}
.aboutimg {
    width: 100%;
    height: auto;
    position: relative;
    border-radius: 10px;
}
article {
    display: block;
    justify-items: center;
    align-items: center;
}
.about h2{
    /* font-family: 'Times New Roman', Times, serif; */
    font-size: 4.33vw;
    padding: 0;
    margin: 8vw 0;
    line-height: 1;
}
.txt-w {
    font-size: 4vw;
    font-weight: 700;
}
.about1 {
    width: 90%;
    margin: 0 auto;
    font-size: 13px;
    line-height: 20px;
    letter-spacing: 0.3ch;
}

.imgbox1 {
    width: 40%;
    height: auto;
}
.about img {
    display: block;
    margin: 8vw auto;
}
/* contact固定 */
.contactbox {
    padding: 20px;
    margin: 30px auto;
    text-align: left;
}
.contacts {
    font-family:  'Sawarabi Mincho', serif;
    font-size: 40px;
}
.fa-circle-chevron-right {
    font-size: 40px;
    line-height: 80px;
    padding: 10px;
}
.sendbtn {
    text-align: right;
}
footer {
    width: 100%;
    height: 16vw;
    text-align: center;
}

/* PCの設定 786px以上の画面の設定*/
@media screen and (min-width:786px){
    body {
        margin: 0;
        padding: 0;
        color: #222222;
        font-size: 3.7vw;
        line-height: 1.6;
    }
    p, ul, li,a  {
        font-size: 1.8vw;
        line-height: 1.8;
    }
    h1 {
        font-size: 60px;
        padding: 20px 50px;
        font-family: 'Times New Roman', Times, serif;
    }
    h2 {
        font-size: 30px;
        padding-top: 30px;
        padding-bottom: 30px;
        font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
        letter-spacing: .1ch;
    }
    .box0{
        width: 100%;
        margin: auto;
    }
    .about1 {
        width: 80%;
    }
    .aboutimg{
        width: 100%;
    }
    .about {
        font-size: 0.89rem;
        line-height: 35px;
    }
    figure {
        padding: 0 10px;
    }
    .prf {
        font-size: 0.8rem;
        line-height: 25px;
        letter-spacing: 0.3ch;
        margin: 20px 8%;
    }
    /* .box0 {
        display: flex;
        gap: 20px;
        justify-content: center;
        align-items: center;
    } */
    .about img {
        width: 500px;
        height: auto;
        border-radius: 15px;
    }
    .contactbox {
        font-size: 1.2rem;
        padding: 3% 10%;
      }
}

@media screen and (min-width:1000px){
    .prf {
        margin: 0;
    }
    .about h2 {
        font-size: 30px;
        line-height: 1.5;
        text-align: left;
        margin: 2vw;
    }
    .policy {
        padding: 0;
        margin: 60px auto 20px;
    }
    .plus {
        font-size: 25px;
        margin-bottom: 20px;
    }
    .name0 {
        margin: 4vw 0;
    }
    .imgbox1 {
        width: 40%;
        height: auto;
    }
    .about_class li {
        font-size: 15px;
        line-height: 2;
        text-align: left;
    }
    .nega {
        font-size: 25px;
        margin-bottom: 20px;
    }
    .about img {
        display: block;
        width: 45%;
        margin: auto 0 20px;
    }
    .policy > p {
        font-size: 15px;
    }
    /* contact固定 */
    .contactbox {
        padding: 20px;
        margin: 30px auto;
        text-align: left;
    }
    .contacts {
        font-size: 40px;
        line-height: 60px;
        margin-top: 100px;
    }
    .sendbtn {
        text-align: right;
    }
    footer {
        width: 100%;
        height: 16vw;
        text-align: center;
    }

/* PCの設定 786px以上の画面の設定*/
@media screen and (min-width:786px){
    /* h1 {
        font-size: 60px;
        padding: 20px 50px;
        font-family: 'Times New Roman', Times, serif;
    }
    h2 {
        font-size: 20px;
        padding-top: 30px;
        padding-bottom: 30px;
        font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
        letter-spacing: .1ch;
    }
    .box0{
        width: 100%;
        margin: auto;
    }
    .aboutimg{
        width: 100%;
    }
    figure {
        padding: 0 10px;
    }
    .box0 {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .about img {
        width: 65%;
        height: auto;
        border-radius: 15px;
    } */
    .contactbox {
        font-size: 1.2rem;
        padding: 3% 10%;
      }
      small {
        font-size: 1.4vw;
      }
    }

}