@charset "UTF-8";

/* コンテンツ部////////////////////////// */

h2.greeting{
    border-left: 20px solid #c0504d;
}

/*      記事     */
#contents{
    box-shadow: 0px 0px 8px #767676;
}
#contents article{
    display: flex;
    justify-content: space-around;
}

/*      左側     */
#contents article .left{
    font-family: 'Noto Serif JP', serif;
    width: 60%;
    padding: 4rem;
    font-size: 1.2rem;
}
#contents article .left p{
    line-height: 2rem;
}
#contents article .left span{
    display: block;
    text-align: right;
}

/*      右側     */
#contents article .right{
    width: 40%;
    padding: 2rem;
    font-size: 1rem;
}
#contents article .right>div{
    background-color: #f2f2f2;
    padding: 3rem;
}
/* teacher */
#contents .right .teacher{
    width: 80%;
    height: auto;
    margin: 0 auto;
    padding-top: 1rem;
    background-color: rgb(138, 140, 255);
    border: 4px solid #000;
    border-radius: 4px;
}
#contents .teacher img{
    width: 100%;
    display: none;
    margin: 0 auto;
}
#contents .teacher .active{
    display: block;
}
#contents .right p{
    padding-top: 2rem;
}


/* mobile //////////////////////// */
@media screen and (max-width: 567px){

    .wrapper{
        width: 100%;
    }
    /* 見出し */
    .hdImg h2{
        font-size: 1rem;
        padding: 4px 10px 4px;
    }
    /* コンテンツ部 */
    #contents article{
        display: block;
    }
    /*  上下共通  */
    #contents article section{
        padding: 1.5rem;
    }
    /*  上側  */
    #contents article .left{
        padding: 1.5rem;
        width: 100%;
    }
    #contents article .left p{
        font-size: 1rem;
    }
    /*  下側  */
    #contents article .right{
        padding: 1rem;
        width: 100%;
    }
    #contents article .right>div{
        padding: 1.5rem;
    }


}



