/* mobile */
@media screen and (max-width:1023px){
    body{
        background: url('../images/instructor/bg-instructor-mobile@2x.png') no-repeat;
        background-size:cover;
        background-size:100vw 468px;
    }

    .instructor_title{
        font-size:24px;
        color: #e4d6b4;
        margin-bottom:30px;
    }

    .instructor_cardbox{
        /* display: flex;  */
        margin-right:16px;
        margin-left:16px;
        /* margin: 0 auto; */
    }

    .teacher_card{
        /* width:455px; */
        margin: 0 auto;
        box-shadow: 0 2px 30px 0 rgba(0, 0, 0, 0.25);
        margin-bottom:60px;
    }

    .teacher_card img{
        width:100%;
        height:300px;
        object-fit: cover;
    }

    .inst_title{
        font-size: 16px;
        color: #9d8956;
        
    }

    .teacher_card_content{
        text-align: left;
        
        padding:40px 20px 40px 20px;
        background-color: white;
    }

    .inst_history{
        margin-top:16px;
        margin-bottom:16px;
    }

    .teacher_name{
        font-size:16px;
    }

    .teacher_name2{
        font-size:14px;
    }

    .inst_history_detail{
        margin-top:20px;
        font-size:12px;
        line-height: 26px;
    }
}
/* pc */
@media screen and (min-width:1024px){
    body{
        background: url('../images/instructor/background-instructor.png') no-repeat;
        background-size:100vw;
        background-position: top;
        height: 100vh;
    }

    .instructor_title{
        font-size:32px;
        color: #e4d6b4;
        margin-bottom:30px;
    }

    .instructor_cardbox{
        display: flex; 
        width:960px; 
        margin: 0 auto;
    }

    .teacher_card{
        width:455px;
        margin: 0 auto;
        box-shadow: 0 2px 30px 0 rgba(0, 0, 0, 0.25);
        margin-bottom:60px;
        background-color: white;
    }

    .teacher_card img{
        width:455px;
        height:300px;
    }

    .inst_title{
        font-size: 24px;
        color: #9d8956;
        
    }

    .teacher_card_content{
        text-align: left;
        width:455px;
        padding:40px 40px 40px 40px;
        background-color: white;
    }

    .inst_history{
        margin-top:16px;
        margin-bottom:16px;
    }

    .teacher_name{
        font-size:24px;
    }

    .teacher_name2{
        font-size:16px;
    }

    .inst_history_detail{
        font-size:14px;
        line-height: 26px;
    }
}

section{
    text-align: center;
}

.sub_menu_button{
    display: inline-block;
    padding:8px 16px 8px 16px;
    border-radius: 17px;
    background-color: #c8aa5d;
    color:white;
    margin-bottom:88px;
}