@charset "UTF-8";

/* CSS Document */
@font-face {
    font-family: "myFont";
    src: url("makinas-font.woff") format('woff');
}

/* CSS Document */
.preread {
    display: none;
    margin: 0;
    padding: 0;
}

.preread img {
    width: 370px;
    height: 370px;
}

@import url('https://fonts.googleapis.com/css?family=Noto+Sans+JP:500&display=swap&subset=japanese');
@media screen and (max-width: 768px) {
    main h2 img {
        display: block;
        max-width: 351px;
        width: 70%;
        margin: 0 auto;
    }

    main .teacher-list.engineering{
        display: none;
    }

    main .teacher-list.info-engineering{
        display: none;
    }
    main .teacher-list.life-engineering{
        display: none;
    }
    main .choice-area{
        display: none;
    }

    main .choice-area-sp{
        width: 100%;
        background: #edd046;
        padding-bottom: 20px;
    }

    main .choice-area-sp h2{
        width: 90%;
        margin: 0 auto !important;
        padding: 20px 0;
    }

    main .choice-area-sp h2 img{
        width: 100%;
        margin: 0 auto;
        padding-left: 0;
        
    }

    main .choice-area-sp ul{
        width: 90%;
        margin: 0 auto;
        padding-left: 0;
    }

    main .choice-area-sp li{
        width: 100%;
        margin: 10px auto;
        padding-left: 0;
        display: block;
    }

    main .choice-area-sp li img{
        width: 100%;
    }

    main .campus-box h2{
        width: 100%;
        padding: 0;
    }

    main .campus-box h2 img{
        width: 100%;
        padding: 0;
        max-width: 100%;
    }

    main .campus-box h3{
        width: 90%;
        padding: 0;
        margin: 0 auto;
    }

    main .campus-box h3 img{
        width: 100%;
        padding: 0;
        max-width: 100%;
    }

    main .campus-box ul{
        width: 90%;
        padding: 0;
        margin: 0 auto;
    }

    main .campus-box ul li{
        width: 100%;
        padding: 0;
        margin: 10px auto;
        list-style: none;
    }

    main .campus-box ul li:nth-child(odd){
        width: 100%;
        padding: 0;
        margin: 0 auto;
        list-style: none;
        text-align: right;
    }
    main #iizuka ul li {
        text-align: right;
    }
    main #iizuka ul li:nth-child(odd){
        text-align: left;
    }


    main .campus-box ul li img{
        width: 70%;
        padding: 0;
        margin: 0 auto;
    }

    main .campus-box ul li img.pr10{
        width: 70%;
        padding: 0;
        margin: 0 auto;
        padding-right: 10px;
    }

    main .campus-box ul li img.pr100-img{
        width: 42%;
        padding: 0;
        margin: 0 auto;
        padding-right: 100px;
    }

    

    main .campus-box ul li img.pr50{
        width: 75%;
        padding: 0;
        margin: 0 auto;
        padding-right: 4px;
    }











    main .choice-area img{
        width: 100%;
    }

    main .choice-area-btn{
        display: flex;
        justify-content: space-between;
        width: 100%;
        margin-top: 20px;
        margin-bottom: 60px;
        flex-wrap: wrap;
    }


    main .choice-area-btn-1{
        background: url('../img/index_new/img-btn-1.png') no-repeat ;
        background-size: 100%;
        width: 30%;
        height: 120px;
    }

    main .choice-area-btn-2{
        background: url('../img/index_new/img-btn-2.png') no-repeat ;
        background-size: 100%;
        width: 30%;
        height: 120px;
    }

    main .choice-area-btn-3{
        background: url('../img/index_new/img-btn-3.png') no-repeat ;
        background-size: 100%;
        width: 30%;
        height: 120px;
    }
}


@media (min-width:769px) {
    #engineering{
        
    }
    #life-engineering{

    }
    #info-engineering{
        padding-top: 200px;
        margin-top: -200px;
    }

    main {
        width: 1280px;
        background: url("../img/index_new/img-pipe2.png") no-repeat center top;
        height: 6192px;
        font-family: 'Noto Sans JP', sans-serif;
        margin: 0 auto;
        background-size: 1280px;

    }

    main .teacher-mainbox {
        max-width: 1400px;
        width: 100%;
        /*overflow: hidden;*/
        margin: 0 auto;
    }

    main .teacher-mainbox_sp {
        display: none;
    }

    main h2 {
        padding-top: 200px;
        width: 300px;
        margin: 0 auto;
        padding-left: 25px;
    }

    main h2 img {
        width: 100%;
    }

    main img.img-plate {
        display: block;
        margin: 86px auto;
        width: 570px;
    }

    main .choice-area{
        width: 700px;
        margin: 0 auto;
    }

    main .choice-area img{
        width: 100%;
    }

    main .choice-area-btn{
        display: flex;
        justify-content: space-between;
        width: 100%;
        margin-top: 20px;
    }



    main .choice-area-btn-1{
        background: url('../img/index_new/img-btn-1.png') no-repeat ;
        background-size: 100%;
        width: 32%;
        height: 250px;
    }

    main .choice-area-btn-2{
        background: url('../img/index_new/img-btn-2.png') no-repeat ;
        background-size: 100%;
        width: 32%;
        height: 250px;
    }

    main .choice-area-btn-3{
        background: url('../img/index_new/img-btn-3.png') no-repeat ;
        background-size: 100%;
        width: 32%;
        height: 250px;
    }

    main a.choice-btn{
        display: block;
        width: 60%;
        margin: 170px auto;
    }

    main a.choice-btn:hover{
        display: block;
        width: 60%;
        margin: 170px auto;
        transform: rotate(-10deg);
        transition: transform 0.5s;
    }

    main .teacher-list{
        position: relative;
        width: 800px;
        margin: 0 auto;
    }

    main .teacher-list.engineering{
        position: relative;
        width: 800px;
        margin: 432px auto 0px;
        height: 1100px;
    }

    main .teacher-list.info-engineering{
        position: relative;
        width: 800px;
        margin-top: 540px;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 440px;
        height: 1100px;
    }
    main .teacher-list.life-engineering{
        position: relative;
        width: 800px;
        margin: 270px auto;
        height: 1100px;
    }




    main .teacher-content{
        width: 300px;
        position: relative;
    }

    main .teacher-name img{
        width: 100%;
    }


    /* 工学部 */
    /* cho */
main .teacher-content.cho{
    margin-left: 500px;
    margin-top: 50px;
}

main .teacher-content.yamanishi{
    margin-left: 500px;
    margin-top: 50px;
}

main .teacher-content.maeda{
    margin-left: 500px;
    margin-top: 50px;
}

main .teacher-content.cho .teacher-img{
    width: 200px;
    height: 200px;
    background: url('../img/index_new/cho_1.png') no-repeat;
    background-size: 50%;
    position: absolute;
    right: 50px;
    top: -25px;
}

main .teacher-content.cho .teacher-img:hover{
    width: 210px;
    height: 200px;
    background: url('../img/index_new/img-cho_a.gif') no-repeat;
    background-size: 50%;
    position: absolute;
    right: 48px;
    top: -23px;
}


main .teacher-content.yamanishi .teacher-img{
    width: 200px;
    height: 200px;
    background: url('../img/index_new/enokida_1.png') no-repeat;
    background-size: 50%;
    position: absolute;
    /* right: 50px;
    top: -25px; */
    right: 265px;
    top: 60px;
}

main .teacher-content.yamanishi .teacher-img:hover{
    width: 200px;
    height: 200px;
    background: url('../img/index_new/img-enokida_a.gif') no-repeat;
    background-size: 50%;
    position: absolute;
    /* right: 50px;
    top: -25px; */
    right: 265px;
    top: 60px;
}


main .teacher-content.maeda .teacher-img{
    width: 200px;
    height: 200px;
    background: url('../img/index_new/maeda_1.png') no-repeat;
    background-size: 50%;
    position: absolute;
    right: 50px;
    top: -25px;
}

main .teacher-content.maeda .teacher-img:hover{
    width: 200px;
    height: 200px;
    background: url('../img/index_new/img-maeda_a.gif') no-repeat;
    background-size: 50%;
    position: absolute;
    right: 50px;
    top: -20px;
}


main .teacher-content.cho .teacher-img{
    width: 200px;
}
main .teacher-content.yamanishi .teacher-img{
    width: 200px;
}
main .teacher-content.maeda .teacher-img{
    width: 200px;
}

main .teacher-content.cho .teacher-comment{
    width: 100px;
    display: block;
    position: absolute;
    right: 50px;
    top: 10px;
}

main .teacher-content.yamanishi .teacher-comment{
    width: 100px;
    display: block;
    position: absolute;
    /* right: 50px;
    top: -25px; */
    right: 260px;
    top: 60px;
}

main .teacher-content.maeda .teacher-comment{
    width: 100px;
    display: block;
    position: absolute;
    right: 50px;
    top: 10px;
}

main .teacher-content.cho .teacher-name{
    width: 150px;
    display: block;
    position: absolute;
    right: 120px;
    top: 103px;
}

main .teacher-content.yamanishi .teacher-name{
    width: 150px;
    display: block;
    position: absolute;
    /* right: 120px;
    top: 73px; */
    right: 331px;
    top: 160px;
}

main .teacher-content.maeda .teacher-name{
    width: 150px;
    display: block;
    position: absolute;
    right: 120px;
    top: 93px;
}

main .teacher-content.cho .teacher-name img{
    width: 100%;
    position: absolute;
}
    
/* shirosaki */
main .teacher-content.shirosaki{
    margin-left: 250px;
    padding-top: 150px;
}

main .teacher-content.enokida{
    margin-left: 250px;
    padding-top: 150px;
}

main .teacher-content.yoshida{
    margin-left: 250px;
    padding-top: 150px;
}

main .teacher-content.shirosaki .teacher-img{
    width: 200px;
    height: 200px;
    background: url('../img/index_new/shirosaki_1.png') no-repeat;
    background-size: 50%;
    position: absolute;
    right: 35px;
}

main .teacher-content.shirosaki .teacher-img:hover{
    width: 200px;
    height: 200px;
    background: url('../img/index_new/img-shirosaki_a.gif') no-repeat;
    background-size: 50%;
    position: absolute;
    right: 35px;
}

/* enokida >> okabe */
main .teacher-content.enokida .teacher-img{
    width: 200px;
    height: 200px;
    background: url('../img/index_new/okabe_1.png') no-repeat;
    background-size: 50%;
    position: absolute;
    right: 35px;
    top: 135px;
}
main .teacher-content.enokida .teacher-img:hover{
    width: 200px;
    height: 200px;
    background: url('../img/index_new/img-okabe_a.gif') no-repeat;
    background-size: 50%;
    position: absolute;
    right: 35px;
    top: 135px;
}



main .teacher-content.yoshida .teacher-img{
    width: 200px;
    height: 200px;
    background: url('../img/index_new/yoshida_1.png') no-repeat;
    background-size: 50%;
    position: absolute;
    right: 35px;
}

main .teacher-content.yoshida .teacher-img:hover{
    width: 200px;
    height: 200px;
    background: url('../img/index_new/img-yoshida_a.gif') no-repeat;
    background-size: 50%;
    position: absolute;
    right: 35px;
}

main .teacher-content.shirosaki .teacher-img{
    width: 200px;
}

main .teacher-content.enokida .teacher-img{
    width: 200px;
}

main .teacher-content.yoshida .teacher-img{
    width: 200px;
}

main .teacher-content.shirosaki .teacher-comment{
    width: 100px;
    display: block;
    position: absolute;
    left: -30px;
    top: 117px;
    
}

main .teacher-content.enokida .teacher-comment{
    width: 100px;
    display: block;
    position: absolute;
    left: -30px;
    top: 117px;
    
}

main .teacher-content.yoshida .teacher-comment{
    width: 100px;
    display: block;
    position: absolute;
    left: -30px;
    top: 117px;
    
}

main .teacher-content.shirosaki .teacher-name{
    width: 150px;
    display: block;
    position: absolute;
    right: 120px;
    top: 245px;
}

main .teacher-content.enokida .teacher-name{
    width: 150px;
    display: block;
    position: absolute;
    right: 120px;
    top: 245px;
}
main .teacher-content.yoshida .teacher-name{
    width: 150px;
    display: block;
    position: absolute;
    right: 120px;
    top: 245px;
}

main .teacher-content.yoshida .teacher-name img{
    width: 100%;
    position: absolute;
}

main .teacher-content.okabe{
    margin-left: -20px;
    padding-top: 187px;
}

main .teacher-content.okabe .teacher-img{
    width: 200px;
    height: 200px;
    background: url('../img/index_new/tsukamoto_1.png') no-repeat;
    background-size: 70%;
    position: absolute;
    /* right: 74px;
    top: 149px; */
    right: 25px;
    top: 0px;
}

main .teacher-content.okabe .teacher-img:hover{
    width: 200px;
    height: 200px;
    background: url('../img/index_new/tsukamoto.gif') no-repeat;
    background-size: 70%;
    position: absolute;
    /* right: 74px;
    top: 144px; */
    right: 25px;
    top: 0px;
}

main .teacher-content.kawahara{
    margin-left: -20px;
    padding-top: 187px;
}

main .teacher-content.kawahara .teacher-img{
    width: 200px;
    height: 200px;
    background: url('../img/index_new/kawahara_1.png') no-repeat;
    background-size: 50%;
    position: absolute;
    right: 58px;
    top: 190px;
}

main .teacher-content.kawahara .teacher-img:hover{
    width: 200px;
    height: 200px;
    background: url('../img/index_new/img-kawahara_a.gif') no-repeat;
    background-size: 45%;
    position: absolute;
    right: 58px;
    top: 190px;
}

main .teacher-content.okabe .teacher-img{
    width: 200px;
}

main .teacher-content.kawahara .teacher-img{
    width: 200px;
}

main .teacher-content.okabe .teacher-comment{
    width: 100px;
    display: block;
    position: absolute;
    /* right: 55px;
    top: 164px; */
    right: 6px;
    top: 10px;
    
}

main .teacher-content.kawahara .teacher-comment{
    width: 100px;
    display: block;
    position: absolute;
    right: 55px;
    top: 164px;
    
}

main .teacher-content.okabe .teacher-name{
    width: 150px;
    display: block;
    position: absolute;
    /* right: 120px;
    top: 282px; */
    right: 71px;
    top: 133px;
}


main .teacher-content.kawahara .teacher-name{
    width: 150px;
    display: block;
    position: absolute;
    right: 120px;
    top: 307px;
}

main .teacher-content.okabe .teacher-name img{
    width: 100%;
    position: absolute;
}


main .teacher-content.kawahara .teacher-name img{
    width: 100%;
    position: absolute;
}

/* nakafuji >> riku */
main .teacher-content.nakafuji{
    margin-left: -20px;
    padding-top: 187px;
}

main .teacher-content.nakafuji .teacher-img{
    width: 200px;
    height: 200px;
    background: url('../img/index_new/riku_1.png') no-repeat;
    background-size: 70%;
    position: absolute;
    right: 84px;
    top: 159px;
}

main .teacher-content.nakafuji .teacher-img:hover{
    width: 200px;
    height: 200px;
    background: url('../img/index_new/riku.gif') no-repeat;
    background-size: 78%;
    position: absolute;
    right:103px;
    top: 165px;
}

main .teacher-content.nakafuji .teacher-img{
    width: 200px;
}


main .teacher-content.nakafuji .teacher-comment{
    width: 100px;
    display: block;
    position: absolute;
    right: 55px;
    top: 164px;
    
}

main .teacher-content.nakafuji .teacher-name{
    width: 150px;
    display: block;
    position: absolute;
    right: 120px;
    top: 282px;
}

main .teacher-content.nakafuji .teacher-name img{
    width: 100%;
    position: absolute;
}

/* miyazaki >> nakafuji */
main .teacher-content.miyazaki{
margin-left: 620px;

}

main .teacher-content.araki{
    margin-left: 620px;
    
}

main .teacher-content.nishida{
    margin-left: 620px;
    top: 193px;
    }


main .teacher-content.miyazaki .teacher-img{
    width: 200px;
    height: 200px;
    background: url('../img/index_new/nakafuji_1.png') no-repeat;
    background-size: 50%;
    position: absolute;
    right: 18px;
    top: -67px;
}
main .teacher-content.miyazaki .teacher-img:hover{
    width: 200px;
    height: 200px;
    background: url('../img/index_new/img-nakafuji_a.gif') no-repeat;
    background-size: 50%;
    position: absolute;
    right: 18px;
    top: -67px;
}
main .teacher-content.araki .teacher-img{
    width: 200px;
    height: 200px;
    background: url('../img/index_new/araki_1.png') no-repeat;
    background-size: 50%;
    position: absolute;
    /* right: 22px;
    top: -91px; */
    right: 160px;
    top: -97px;
}
main .teacher-content.araki .teacher-img:hover{
    width: 200px;
    height: 200px;
    background: url('../img/index_new/img-araki_a.gif') no-repeat;
    background-size: 50%;
    position: absolute;
    /* right: 22px;
    top: -91px; */
    right: 160px;
    top: -97px;
}
main .teacher-content.nishida .teacher-img{
    width: 200px;
    height: 200px;
    background: url('../img/index_new/nishida_1.png') no-repeat;
    background-size: 50%;
    position: absolute;
    right: 22px;
    top: -91px;
}
main .teacher-content.nishida .teacher-img:hover{
    width: 200px;
    height: 200px;
    background: url('../img/index_new/img-nishida_a.gif') no-repeat;
    background-size: 55%;
    position: absolute;
    right: 35px;
    top: -91px;
}

main .teacher-content.miyazaki .teacher-img{
    width: 200px;
}
main .teacher-content.araki .teacher-img{
    width: 200px;
}
main .teacher-content.nishida .teacher-img{
    width: 200px;
}

main .teacher-content.miyazaki .teacher-comment{
    width: 100px;
    display: block;
    position: absolute;
    left: -45px;
    top: -85px;
    
}
main .teacher-content.araki .teacher-comment{
    width: 100px;
    display: block;
    position: absolute;
    /* left: -45px;
    top: -85px; */
    left: -183px;
    top: -85px;
    
}
main .teacher-content.nishida .teacher-comment{
    width: 100px;
    display: block;
    position: absolute;
    left: -45px;
    top: -85px;
    
}

main .teacher-content.miyazaki .teacher-name{
    width: 150px;
    display: block;
    position: absolute;
    right: 92px;
    top: 28px;
}

main .teacher-content.araki .teacher-name{
    width: 150px;
    display: block;
    position: absolute;
    right: 230px;
    top: 28px;
}

main .teacher-content.nishida .teacher-name{
    width: 150px;
    display: block;
    position: absolute;
    right: 92px;
    top: 46px;
}

main .teacher-content.miyazaki .teacher-name img{
    width: 100%;
    position: absolute;
}

main .teacher-content.araki .teacher-name img{
    width: 100%;
    position: absolute;
}

main .teacher-content.nishida .teacher-name img{
    width: 100%;
    position: absolute;
}



    
/* tokuda */
main .teacher-content.tokuda{
margin-left: 540px;

}

main .teacher-content.terai{
    margin-left: 540px;
    
}


main .teacher-content.tanaka{
    margin-left: 540px;
    top: 188px;
}
        

main .teacher-content.tokuda .teacher-img{
    width: 200px;
    height: 200px;
    background: url('../img/index_new/tokuda_1.png') no-repeat;
    background-size: 50%;
    position: absolute;
    right: 74px;
    top: 176px;
}
main .teacher-content.tokuda .teacher-img:hover{
    width: 200px;
    height: 200px;
    background: url('../img/index_new/img-tokuda_a.gif') no-repeat;
    background-size: 70%;
    position: absolute;
    right:114px;
    top: 172px;
}

main .teacher-content.terai .teacher-img{
    width: 200px;
    height: 200px;
    background: url('../img/index_new/terai_1.png') no-repeat;
    background-size: 50%;
    position: absolute;
    right: 74px;
    top: 176px;
}
main .teacher-content.terai .teacher-img:hover{
    width: 250px;
    height: 250px;
    background: url('../img/index_new/img-terai_a.gif') no-repeat;
    background-size: 50%;
    position: absolute;
    right: 54px;
    top: 185px;
}


main .teacher-content.tanaka .teacher-img{
    width: 200px;
    height: 200px;
    background: url('../img/index_new/tanaka_1.png') no-repeat;
    background-size: 50%;
    position: absolute;
    right: 74px;
    top: 176px;
}
main .teacher-content.tanaka .teacher-img:hover{
    width: 200px;
    height: 200px;
    background: url('../img/index_new/img-tanaka_a.gif') no-repeat;
    background-size: 50%;
    position: absolute;
    right: 74px;
    top: 176px;
}


main .teacher-content.tokuda .teacher-img{
    width: 200px;
}
main .teacher-content.terai .teacher-img{
    width: 200px;
}
main .teacher-content.tanaka .teacher-img{
    width: 200px;
}

main .teacher-content.tokuda .teacher-comment{
    width: 100px;
    display: block;
    position: absolute;
    left: 133px;
    top: 170px;
    
}
main .teacher-content.terai .teacher-comment{
    width: 100px;
    display: block;
    position: absolute;
    left: 133px;
    top: 170px;
    
}
main .teacher-content.tanaka .teacher-comment{
    width: 100px;
    display: block;
    position: absolute;
    left: 133px;
    top: 170px;
    
}

main .teacher-content.tokuda .teacher-name{
    width: 150px;
    display: block;
    position: absolute;
    right: 145px;
    top: 284px;
}

main .teacher-content.terai .teacher-name{
    width: 150px;
    display: block;
    position: absolute;
    right: 145px;
    top: 284px;
}

main .teacher-content.tanaka .teacher-name{
    width: 150px;
    display: block;
    position: absolute;
    right: 145px;
    top: 284px;
}

main .teacher-content.tokuda .teacher-name img{
    width: 100%;
    position: absolute;
}

main .teacher-content.terai .teacher-name img{
    width: 100%;
    position: absolute;
}

main .teacher-content.tanaka .teacher-name img{
    width: 100%;
    position: absolute;
}


/* riku  >> motoduka */
main .teacher-content.riku{
margin-left: 225px;

}
main .teacher-content.tsukamoto{
    margin-left: 225px;
    
}
main .teacher-content.omura{
    margin-left: 15px;
    top: -100px;
}

main .teacher-content.riku .teacher-img{
    width: 200px;
    height: 200px;
    background: url('../img/index_new/motoduka_1.png') no-repeat;
    background-size: 70%;
    position: absolute;
    right: 94px;
    top: 255px;
}
main .teacher-content.riku .teacher-img:hover{
    width: 200px;
    height: 200px;
    background: url('../img/index_new/motoduka.gif') no-repeat;
    background-size: 66%;
    position: absolute;
    right: 85px;
    top: 266px;
}

/* tsukamoto >> fujimoto */
main .teacher-content.tsukamoto .teacher-img{
    width: 200px;
    height: 200px;
    background: url('../img/index_new/fujimoto_1.png') no-repeat;
    background-size: 70%;
    position: absolute;
    /* right: 74px;
    top: 245px; */
    right: 185px;
    top: 185px;
}
main .teacher-content.tsukamoto .teacher-img:hover{
    width: 200px;
    height: 200px;
    background: url('../img/index_new/fujimoto.gif') no-repeat;
    background-size: 80%;
    position: absolute;
    /* right: 69px;
    top: 245px; */
    right: 185px;
    top: 185px;
}
main .teacher-content.omura .teacher-img{
    width: 200px;
    height: 200px;
    background: url('../img/index_new/omura_1.png') no-repeat;
    background-size: 70%;
    position: absolute;
    right: 112px;
    top: 257px;
}
main .teacher-content.omura .teacher-img:hover{
    width: 200px;
    height: 200px;
    background: url('../img/index_new/omura.gif') no-repeat;
    background-size: 80%;
    position: absolute;
    right: 116px;
    top: 250px;
}

main .teacher-content.riku .teacher-img{
    width: 200px;
}
main .teacher-content.tsukamoto .teacher-img{
    width: 200px;
}
main .teacher-content.omura .teacher-img{
    width: 200px;
}

main .teacher-content.riku .teacher-comment{
    width: 100px;
    display: block;
    position: absolute;
    left: -92px;
    top: 280px;
    
}
main .teacher-content.tsukamoto .teacher-comment{
    width: 100px;
    display: block;
    position: absolute;
    /* left: -92px;
    top: 280px; */
    left: -195px;
    top: 224px;
    
}
main .teacher-content.omura .teacher-comment{
    width: 100px;
    display: block;
    position: absolute;
    left: 125px;
    top: 260px;
    
}

main .teacher-content.riku .teacher-name{
    width: 150px;
    display: block;
    position: absolute;
    right: 145px;
    top: 391px;
}

main .teacher-content.tsukamoto .teacher-name{
    width: 150px;
    display: block;
    position: absolute;
    /* right: 145px;
    top: 391px; */
    right: 255px;
    top: 332px;
}

main .teacher-content.omura .teacher-name{
    width: 150px;
    display: block;
    position: absolute;
    right: 145px;
    top: 391px;
}

main .teacher-content.riku .teacher-name img{
    width: 100%;
    position: absolute;
}

main .teacher-content.tsukamoto .teacher-name img{
    width: 100%;
    position: absolute;
}

main .teacher-content.omura .teacher-name img{
    width: 100%;
    position: absolute;
}
    
/* motoduka >> nagaoka */
main .teacher-content.motoduka{
margin-left: 65px;

}
main .teacher-content.fujimoto{
    margin-left: 65px;
    
}
main .teacher-content.sibata{
    margin-left: 65px;
    
}

main .teacher-content.motoduka .teacher-img{
    width: 200px;
    height: 200px;
    background: url('../img/index_new/nagaoka.png') no-repeat;
    background-size: 70%;
    position: absolute;
    right: 89px;
    top: 474px;
}

main .teacher-content.motoduka .teacher-img:hover{
    width: 200px;
    height: 200px;
    background: url('../img/index_new/img-nagaoka.gif') no-repeat;
    background-size: 70%;
    position: absolute;
    right: 89px;
    top: 474px;
}

/* fujimoto >> shinkai */
main .teacher-content.fujimoto .teacher-img{
    width: 200px;
    height: 200px;
    background: url('../img/index_new/shinkai.png') no-repeat;
    background-size: 75%;
    position: absolute;
    right: 104px;
    top: 497px;
}
main .teacher-content.fujimoto .teacher-img:hover{
    width: 200px;
    height: 200px;
    background: url('../img/index_new/img-shinkai.gif') no-repeat;
    background-size: 75%;
    position: absolute;
    right: 104px;
    top: 497px;
}

/* shibata */
main .teacher-content.shibata {
    top: -50px;
    left: 260px;
}
main .teacher-content.shibata .teacher-img{
    width: 200px;
    height: 200px;
    background: url('../img/index_new/shibata_1.png') no-repeat;
    background-size: 70%;
    position: absolute;
    right: 90px;
    top: 500px;
}
main .teacher-content.shibata .teacher-img:hover{
    width: 200px;
    height: 200px;
    background: url('../img/index_new/shibata.gif') no-repeat;
    background-size: 80%;
    position: absolute;
    right: 105px;
    top: 520px;
}

main .teacher-content.motoduka .teacher-img{
    width: 200px;
}
main .teacher-content.fujimoto .teacher-img{
    width: 200px;
}
main .teacher-content.shibata .teacher-img{
    width: 200px;
}

main .teacher-content.motoduka .teacher-comment{
    width: 100px;
    display: block;
    position: absolute;
    left: 145px;
    top: 555px;
    
}

main .teacher-content.fujimoto .teacher-comment{
    width: 100px;
    display: block;
    position: absolute;
    left: 145px;
    top: 555px;
    
}

main .teacher-content.shibata .teacher-comment{
    width: 100px;
    display: block;
    position: absolute;
    left: -75px;
    top: 535px;
    
}

main .teacher-content.motoduka .teacher-name{
    width: 150px;
    display: block;
    position: absolute;
    right: 153px;
    top: 625px;
}
main .teacher-content.fujimoto .teacher-name{
    width: 150px;
    display: block;
    position: absolute;
    right: 153px;
    top: 625px;
}
main .teacher-content.shibata .teacher-name{
    width: 150px;
    display: block;
    position: absolute;
    right: 153px;
    top: 625px;
}

main .teacher-content.motoduka .teacher-name img{
    width: 100%;
    position: absolute;
}

main .teacher-content.fujimoto .teacher-name img{
    width: 100%;
    position: absolute;
}

main .teacher-content.shibata .teacher-name img{
    width: 100%;
    position: absolute;
}

/* ando */
main .teacher-content.ando {
    top: 190px;
    left: 40px;
}
main .teacher-content.ando .teacher-img{
    width: 200px;
    height: 200px;
    background: url('../img/index_new/ando.png') no-repeat;
    background-size: 70%;
    position: absolute;
    right: 100px;
    top: 488px;
}
main .teacher-content.ando .teacher-img:hover{
    width: 200px;
    height: 200px;
    background: url('../img/index_new/img-ando.gif') no-repeat;
    background-size: 70%;
    position: absolute;
    right: 100px;
    top: 488px;
}

main .teacher-content.ando .teacher-img{
    width: 200px;
}

main .teacher-content.ando .teacher-comment{
    width: 100px;
    display: block;
    position: absolute;
    left: 145px;
    top: 530px;
    
}

main .teacher-content.ando .teacher-name{
    width: 150px;
    display: block;
    position: absolute;
    right: 153px;
    top: 625px;
}

main .teacher-content.ando .teacher-name img{
    width: 100%;
    position: absolute;
}


/* mito */
main .teacher-content.mito{
margin-left: 555px;

}

main .teacher-content.hanada{
    margin-left: 555px;
    
}

main .teacher-content.kumemura{
    margin-left: 555px;
    top: 180px;
}

main .teacher-content.mito .teacher-img{
    width: 200px;
    height: 200px;
    background: url('../img/index_new/mito_1.png') no-repeat;
    background-size: 70%;
    position: absolute;
    right: 74px;
    top: 470px;
}
main .teacher-content.mito .teacher-img:hover{
    width: 200px;
    height: 200px;
    background: url('../img/index_new/mito.gif') no-repeat;
    background-size: 70%;
    position: absolute;
    right: 74px;
    top: 470px;
}

main .teacher-content.hanada .teacher-img{
    width: 200px;
    height: 200px;
    background: url('../img/index_new/hanada_1.png') no-repeat;
    background-size: 70%;
    position: absolute;
    right: 74px;
    top: 465px;
}
main .teacher-content.hanada .teacher-img:hover{
    width: 200px;
    height: 200px;
    background: url('../img/index_new/hanada.gif') no-repeat;
    background-size: 70%;
    position: absolute;
    right: 74px;
    top: 465px;
}
main .teacher-content.kumemura .teacher-img{
    width: 200px;
    height: 200px;
    background: url('../img/index_new/kumemura_1.png') no-repeat;
    background-size: 143px;
    position: absolute;
    right: 74px;
    top: 465px;
}
main .teacher-content.kumemura .teacher-img:hover{
    width: 200px;
    height: 200px;
    background: url('../img/index_new/kumemura.gif') no-repeat;
    background-size: 138px;
    position: absolute;
    right: 74px;
    top: 465px;
}

main .teacher-content.mito .teacher-img{
    width: 200px;
}
main .teacher-content.hanada .teacher-img{
    width: 200px;
}
main .teacher-content.kumemura .teacher-img{
    width: 200px;
}

main .teacher-content.mito .teacher-comment{
    width: 100px;
    display: block;
    position: absolute;
    left: -85px;
    top: 490px;
    
}
main .teacher-content.hanada .teacher-comment{
    width: 100px;
    display: block;
    position: absolute;
    left: -85px;
    top: 490px;
    
}
main .teacher-content.kumemura .teacher-comment{
    width: 100px;
    display: block;
    position: absolute;
    left: -85px;
    top: 490px;
    
}

main .teacher-content.mito .teacher-name{
    width: 150px;
    display: block;
    position: absolute;
    right: 150px;
    top: 600px;
}
main .teacher-content.hanada .teacher-name{
    width: 150px;
    display: block;
    position: absolute;
    right: 150px;
    top: 600px;
}
main .teacher-content.kumemura .teacher-name{
    width: 150px;
    display: block;
    position: absolute;
    right: 150px;
    top: 600px;
}


main .teacher-content.mito .teacher-name img{
    width: 100%;
    position: absolute;
}
main .teacher-content.hanada .teacher-name img{
    width: 100%;
    position: absolute;
}
main .teacher-content.kumemura .teacher-name img{
    width: 100%;
    position: absolute;
}

main .teacher-content.mito .teacher-name img{
    width: 100%;
    position: absolute;
}
main .teacher-content.hanada .teacher-name img{
    width: 100%;
    position: absolute;
}
main .teacher-content.kumemura .teacher-name img{
    width: 100%;
    position: absolute;
}

/* shigeeda */
main .teacher-content.shigeeda{
    margin-left: 421px;
}
main .teacher-content.shigeeda .teacher-img{
    width: 200px;
    height: 200px;
    background: url('../img/index_new/shigeeda_1.png') no-repeat;
    background-size: 70%;
    position: absolute;
    right: 74px;
    top: 690px;
}
main .teacher-content.shigeeda .teacher-img:hover{
    width: 200px;
    height: 200px;
    background: url('../img/index_new/img-shigeeda_a.gif') no-repeat;
    background-size: 70%;
    position: absolute;
    right: 74px;
    top: 690px;
}
main .teacher-content.shigeeda .teacher-img{
    width: 200px;
}
main .teacher-content.shigeeda .teacher-comment{
    width: 100px;
    display: block;
    position: absolute;
    left: 186px;
    top: 708px;   
}
main .teacher-content.shigeeda .teacher-name{
    width: 150px;
    display: block;
    position: absolute;
    right: 135px;
    top: 835px;
}
main .teacher-content.shigeeda .teacher-name img{
    width: 100%;
    position: absolute;
}

/* watanabe */
main .teacher-content.watanabe{
    margin-left: 518px;
    top: 70px;
}
main .teacher-content.watanabe .teacher-img{
    width: 200px;
    height: 200px;
    background: url('../img/index_new/watanabe_1.png') no-repeat;
    background-size: 70%;
    position: absolute;
    right: 474px;
    top: 690px;
}
main .teacher-content.watanabe .teacher-img:hover{
    width: 200px;
    height: 200px;
    background: url('../img/index_new/img-watanabe_a.gif') no-repeat;
    background-size: 70%;
    position: absolute;
    right: 474px;
    top: 690px;
}
main .teacher-content.watanabe .teacher-img{
    width: 200px;
}
main .teacher-content.watanabe .teacher-comment{
    width: 100px;
    display: block;
    position: absolute;
    left: -485px;
    top: 750px;   
}
main .teacher-content.watanabe .teacher-name{
    width: 150px;
    display: block;
    position: absolute;
    right: 540px;
    top: 835px;
}
main .teacher-content.watanabe .teacher-name img{
    width: 100%;
    position: absolute;
}

/* hamano */
main .teacher-content.hamano{
    margin-left: 638px;
    top: 210px;
}
main .teacher-content.hamano .teacher-img{
    width: 200px;
    height: 200px;
    background: url('../img/index_new/hamano_1.png') no-repeat;
    background-size: 70%;
    position: absolute;
    right: 74px;
    top: 465px;
}
main .teacher-content.hamano .teacher-img:hover{
    width: 200px;
    height: 200px;
    background: url('../img/index_new/img-hamano_a.gif') no-repeat;
    background-size: 70%;
    position: absolute;
    right: 74px;
    top: 465px;
}
main .teacher-content.hamano .teacher-img{
    width: 200px;
}
main .teacher-content.hamano .teacher-comment{
    width: 100px;
    display: block;
    position: absolute;
    right: 290px;
    top: 535px;
}
main .teacher-content.hamano .teacher-name{
    width: 150px;
    display: block;
    position: absolute;
    right: 133px;
    top: 609px;
}
main .teacher-content.hamano .teacher-name img{
    width: 100%;
    position: absolute;
}

/* oshita */
main .teacher-content.oshita{
    margin-left: 218px;
    top: 227px;
}
main .teacher-content.oshita .teacher-img{
    width: 200px;
    height: 200px;
    background: url('../img/index_new/oshita_1.png') no-repeat;
    background-size: 70%;
    position: absolute;
    right: 74px;
    top: 465px;
}
main .teacher-content.oshita .teacher-img:hover{
    width: 200px;
    height: 200px;
    background: url('../img/index_new/img-oshita_a.gif') no-repeat;
    background-size: 70%;
    position: absolute;
    right: 74px;
    top: 465px;
}
main .teacher-content.oshita .teacher-img{
    width: 200px;
}
main .teacher-content.oshita .teacher-comment{
    width: 100px;
    display: block;
    position: absolute;
    right: 294px;
    top: 545px;  
}
main .teacher-content.oshita .teacher-name{
    width: 150px;
    display: block;
    position: absolute;
    right: 132px;
    top: 609px;
}
main .teacher-content.oshita .teacher-name img{
    width: 100%;
    position: absolute;
}

/* tamukoh */
main .teacher-content.tamukoh{
    margin-left: 278px;
    top: 420px;
}
main .teacher-content.tamukoh .teacher-img{
    width: 200px;
    height: 200px;
    background: url('../img/index_new/tamukoh_1.png') no-repeat;
    background-size: 70%;
    position: absolute;
    right: 74px;
    top: 465px;
}
main .teacher-content.tamukoh .teacher-img:hover{
    width: 200px;
    height: 200px;
    background: url('../img/index_new/img-tamukoh_a.gif') no-repeat;
    background-size: 70%;
    position: absolute;
    right: 74px;
    top: 465px;
}
main .teacher-content.tamukoh .teacher-img{
    width: 200px;
}
main .teacher-content.tamukoh .teacher-comment{
    width: 100px;
    display: block;
    position: absolute;
    right: 30px;
    top: 508px;  
}
main .teacher-content.tamukoh .teacher-name{
    width: 150px;
    display: block;
    position: absolute;
    right: 132px;
    top: 610px;
}
main .teacher-content.tamukoh .teacher-name img{
    width: 100%;
    position: absolute;
}

/* 情報工学部 */

/* 生命工学部 */


    /** 先生box共通宣言 **/
    main .teacher-box {
        position: relative;
    }

    main img.img-floatleft {
        position: relative;
        z-index: 1;
        float: left;
        width: 280px;
    }

    main img.img-floatright {
        position: relative;
        z-index: 1;
        float: right;
        width: 280px;
    }

    main .teacher-box img.btn {
        position: absolute;
        z-index: 2;
        width: 170px;
    }

    main .teacher-box img.btn:hover {
        -webkit-transition: all 0.5s ease;
        -moz-transition: all 0.5s ease;
        -o-transition: all 0.5s ease;
        transition: all 0.5s ease;
        -webkit-transform: rotateZ(-10deg);
        -moz-transform: rotateZ(-10deg);
        -ms-transform: rotateZ(-10deg);
        -o-transform: rotateZ(-10deg);
        transform: rotateZ(-10deg);
    }

    /* ---- tobata ----*/
    .tobata-box {
        position: absolute;
        width: 1400px;
        top: 736px;
        left: 50%;
        transform: translate(-50%, 0);
    }
    .tobata-box .box-title {
        position: absolute;
        top: 24px;
        right: 430px;
    }

    /** 趙先生box **/
    main .teacher-box.cho {
        background: url(../img/index/img-p1.png) no-repeat 206px 115px;
        width: 810px;
        padding-top: 160px;
        margin-left: 185px;
    }

    main .teacher-box.cho a.cho-img {
        background: url("../img/index/img-cho.png") no-repeat center center;
        background-size: contain;
        height: 310px;
        width: 265px;
        display: block;
        float: left;
    }

    main .teacher-box.cho a.cho-img:hover {
        background-image: url("../img/index/img-cho_a.gif");
    }

    main .teacher-box.cho img.btn {
        margin-top: 217px;
        margin-left: 35px;
    }

    main .teacher-box.cho .img-title {
        position: absolute;
        top: 0px;
        left: 70px;
    }

    main .teacher-box.cho img.btn:hover {}

    /** 城崎先生box **/
    main .teacher-box.shirosaki {
        background: url(../img/index/img-p2.png) no-repeat 246px 120px;
        position: absolute;
        top: 210px;
        right: 172px;
        width: 525px;
        padding-top: 165px;
    }

    main .teacher-box.shirosaki a.shirosaki-img {
        background: url("../img/index/img-shirosaki.png") no-repeat center center;
        background-size: contain;
        height: 310px;
        width: 283px;
        display: block;
        float: left;
    }

    main .teacher-box.shirosaki a.shirosaki-img:hover {
        background-image: url("../img/index/img-shirosaki_a.gif");
    }

    main .teacher-box.shirosaki img.btn {
        margin-top: 230px;
        margin-left: 65px;
    }

    main .teacher-box.shirosaki .img-title {
        position: absolute;
        top: 0px;
        right: 0px;
    }

    /** 宮崎先生box **/
    main .teacher-box.miyazaki {
        background: url(../img/index/img-p3.png) no-repeat 170px 117px;
        width: 435px;
        padding-top: 190px;
        position: absolute;
        top: 725px;
        left: 230px;
    }

    main .teacher-box.miyazaki a.miyazaki-img {
        background: url("../img/index/img-miyazaki.png") no-repeat center center;
        background-size: contain;
        height: 300px;
        width: 240px;
        display: block;
    }

    main .teacher-box.miyazaki a.miyazaki-img:hover {
        background-image: url("../img/index/img-miyazaki_a.gif");
    }

    main .teacher-box.miyazaki img.btn {
        margin-top: -97px;
        margin-left: 262px;
    }
    
    main .teacher-box.miyazaki .img-title {
        position: absolute;
        top: 0px;
        left: 0px;
    }

    /** 中藤先生box >> riku **/
    main .teacher-box.nakafuji {
        background: url(../img/index/img-p10.png) no-repeat 260px 126px;
        width: 535px;
        padding-top: 190px;
        position: absolute;
        top: 860px;
        left: 673px;
    }

    main .teacher-box.nakafuji a.nakafuji-img {
        background: url("../img/index/riku_1.png") no-repeat center center;
        background-size: contain;
        height: 300px;
        width: 325px;
        display: block;
    }

    main .teacher-box.nakafuji a.nakafuji-img:hover {
        background-image: url("../img/index/riku.gif");
    }

    main .teacher-box.nakafuji img.btn {
        margin-top: -97px;
        margin-left: 363px;
    }
    
    main .teacher-box.nakafuji .img-title {
        position: absolute;
        top: 0px;
        left: 250px;
    }

    /** 徳田先生box **/
    main .teacher-box.tokuda {
        background: url(../img/index/img-p11.png) no-repeat 300px 117px;
        width: 565px;
        padding-top: 190px;
        position: absolute;
        top: 1375px;
        left: 338px;
    }

    main .teacher-box.tokuda a.tokuda-img {
        background: url("../img/index/img-tokuda.png") no-repeat center center;
        background-size: contain;
        height: 300px;
        width: 360px;
        display: block;
    }

    main .teacher-box.tokuda a.tokuda-img:hover {
        background-image: url("../img/index/img-tokuda_a.gif");
        background-position: center center;
    }

    main .teacher-box.tokuda img.btn {
        margin-top: -97px;
        margin-left: 394px;
    }
    
    main .teacher-box.tokuda .img-title {
        position: absolute;
        top: 0px;
        left: 80px;
    }

    /* ---- iizuka ----*/
    .iizuka-box {
        position: absolute;
        width: 1400px;
        top: 2796px;
        left: 50%;
        transform: translate(-50%, 0);
    }
    .iizuka-box .box-title {
        position: absolute;
        top: 0px;
        left: 263px;
    }

    /** 山西先生box >> enokida **/
    main .teacher-box.yamanishi {
        background: url(../img/index/img-p4.png) no-repeat 280px 123px;
        width: 520px;
        padding-top: 180px;
        position: absolute;
        top: 0px;
        right: 172px;
    }

    main .teacher-box.yamanishi a.yamanishi-img {
        background: url("../img/index/img-yamanishi.png") no-repeat center center;
        background-size: contain;
        height: 310px;
        width: 313px;
        display: block;
    }

    main .teacher-box.yamanishi a.yamanishi-img:hover {
        background-image: url("../img/index/img-yamanishi_a.gif");
    }

    main .teacher-box.yamanishi img.btn {
        margin-top: -95px;
        margin-left: 350px;
    }

    main .teacher-box.yamanishi .img-title {
        position: absolute;
        top: 0px;
        right: 0px;
    }

    /** 榎田先生box **/
    main .teacher-box.enokida {
        background: url(../img/index/img-p5.png) no-repeat 243px 122px;
        position: absolute;
        width: 513px;
        top: 140px;
        left: 169px;
        padding-top: 220px;
    }

    main .teacher-box.enokida a.enokida-img {
        background: url("../img/index/img-enokida.png") no-repeat center center;
        background-size: contain;
        height: 300px;
        width: 298px;
        display: block;
    }

    main .teacher-box.enokida a.enokida-img:hover {
        background-image: url("../img/index/img-enokida_a.gif");
    }

    main .teacher-box.enokida img.btn {
        margin-top: -94px;
        margin-left: 342px;
    }

    main .teacher-box.enokida .img-title {
        position: absolute;
        top: 0px;
        left: 62px;
    }

    /** 荒木先生box **/
    main .teacher-box.araki {
        background: url(../img/index/img-p6.png) no-repeat 285px 120px;
        position: absolute;
        width: 570px;
        top: 758px;
        left: 665px;
        padding-top: 120px;
    }

    main .teacher-box.araki a.araki-img {
        background: url("../img/index/img-araki.png") no-repeat center center;
        background-size: contain;
        margin-top: 10px;
        height: 370px;
        width: 350px;
        display: block;
        float: left;
    }

    main .teacher-box.araki a.araki-img:hover {
        background-image: url("../img/index/img-araki_a.gif");
    }

    main .teacher-box.araki img.btn {
        margin-top: 285px;
        margin-left: 10px;
        width: 170px;
    }

    main .teacher-box.araki .img-title {
        position: absolute;
        top: 0px;
        right: 60px;
    }

    /** 岡部先生box **/
    main .teacher-box.okabe {
        background: url(../img/index/img-p12.png) no-repeat 285px 120px;
        position: absolute;
        width: 570px;
        top: 918px;
        left: 95px;
        padding-top: 120px;
    }

    main .teacher-box.okabe a.okabe-img {
        background: url("../img/index/img-okabe.png") no-repeat center center;
        background-size: contain;
        margin-top: 10px;
        height: 370px;
        width: 300px;
        display: block;
        float: left;
    }

    main .teacher-box.okabe a.okabe-img:hover {
        background-image: url("../img/index/img-okabe_a.gif");
    }

    main .teacher-box.okabe img.btn {
        margin-top: 285px;
        margin-left: 100px;
        width: 170px;
    }

    main .teacher-box.okabe .img-title {
        position: absolute;
        top: 0px;
        left: 130px;
    }

    /** 寺井先生box **/
    main .teacher-box.terai {
        background: url(../img/index/img-p13.png) no-repeat 369px 120px;
        position: absolute;
        width: 640px;
        top: 1570px;
        left: 353px;
        padding-top: 120px;
    }

    main .teacher-box.terai a.terai-img {
        background: url("../img/index/img-terai.png") no-repeat center center;
        background-size: contain;
        margin-top: 10px;
        height: 370px;
        width: 420px;
        display: block;
        float: left;
    }

    main .teacher-box.terai a.terai-img:hover {
        background-image: url("../img/index/img-terai_a.gif");
    }

    main .teacher-box.terai img.btn {
        margin-top: 285px;
        margin-left: 50px;
        width: 170px;
    }

    main .teacher-box.terai .img-title {
        position: absolute;
        top: 0px;
        left: 130px;
    }

    /* ---- wakamatsu ----*/
    .wakamatsu-box {
        position: absolute;
        width: 1400px;
        height: 500px;
        top: 5110px;
        left: 50%;
        transform: translate(-50%, 0);
    }
    .wakamatsu-box .box-title {
        position: absolute;
        top: 0px;
        left: 643px;
    }

    /** 前田先生box **/
    main .teacher-box.maeda {
        background: url(../img/index/img-p7.png) no-repeat 220px 125px;
        position: absolute;
        width: 490px;
        top: 0px;
        left: 150px;
        padding-top: 210px;
    }

    main .teacher-box.maeda a.maeda-img {
        background: url("../img/index/img-maeda.png") no-repeat center center;
        background-size: contain;
        height: 305px;
        width: 276px;
        display: block;
    }

    main .teacher-box.maeda a.maeda-img:hover {
        background-image: url("../img/index/img-maeda_a.gif");
    }

    main .teacher-box.maeda img.btn {
        margin-top: -95px;
        margin-left: 320px;
        width: 170px;
    }

    main .teacher-box.maeda .img-title {
        position: absolute;
        top: 0px;
        left: 73px;
    }

    /** 吉田先生box **/
    main .teacher-box.yoshida {
        background: url(../img/index/img-p8.png) no-repeat 290px 130px;
        position: absolute;
        width: 556px;
        top: 193px;
        left: 683px;
        padding-top: 193px;
    }

    main .teacher-box.yoshida a.yoshida-img {
        background: url("../img/index/img-yoshida.png") no-repeat center center;
        background-size: contain;
        height: 304px;
        width: 316px;
        display: block;
        float: left;
    }

    main .teacher-box.yoshida a.yoshida-img:hover {
        background-image: url("../img/index/img-yoshida_a.gif");
    }

    main .teacher-box.yoshida img.btn {
        margin-top: 231px;
        margin-left: 70px;
        width: 170px;
    }

    main .teacher-box.yoshida .img-title {
        position: absolute;
        top: 0px;
        left: 230px;
    }

    /** 西田先生box **/
    main .teacher-box.nishida {
        background: url(../img/index/img-p9.png) no-repeat 240px 123px;
        position: absolute;
        width: 505px;
        top: 688px;
        left: 147px;
        padding-top: 185px;
    }

    main .teacher-box.nishida a.nishida-img {
        background: url("../img/index/img-nishida.png") no-repeat center center;
        background-size: contain;
        height: 350px;
        width: 255px;
        display: block;
    }

    main .teacher-box.nishida a.nishida-img:hover {
        background-image: url("../img/index/img-nishida_a.gif");
    }

    main .teacher-box.nishida img.btn {
        margin-top: -94px;
        margin-left: 335px;
        width: 170px;
    }

    main .teacher-box.nishida .img-title {
        position: absolute;
        top: 0px;
        left: 75px;
    }

    /** 川原先生box **/
    main .teacher-box.kawahara {
        background: url(../img/index/img-p14.png) no-repeat 240px 123px;
        position: absolute;
        width: 505px;
        top: 847px;
        left: 729px;
        padding-top: 185px;
    }

    main .teacher-box.kawahara a.kawahara-img {
        background: url("../img/index/img-kawahara.png") no-repeat center center;
        background-size: contain;
        height: 350px;
        width: 235px;
        display: block;
    }

    main .teacher-box.kawahara a.kawahara-img:hover {
        background-image: url("../img/index/img-kawahara_a.gif");
    }

    main .teacher-box.kawahara img.btn {
        margin-top: -94px;
        margin-left: 335px;
        width: 170px;
    }

    main .teacher-box.kawahara .img-title {
        position: absolute;
        top: 0px;
        left: 195px;
    }

    /** 田中先生box **/
    main .teacher-box.tanaka {
        background: url(../img/index/img-p15.png) no-repeat 304px 153px;
        position: absolute;
        width: 569px;
        top: 1403px;
        left: 390px;
        padding-top: 185px;
    }

    main .teacher-box.tanaka a.tanaka-img {
        background: url("../img/index/img-tanaka.png") no-repeat center center;
        background-size: contain;
        height: 350px;
        width: 295px;
        display: block;
    }

    main .teacher-box.tanaka a.tanaka-img:hover {
        background-image: url("../img/index/img-tanaka_a.gif");
    }

    main .teacher-box.tanaka img.btn {
        margin-top: -94px;
        margin-left: 398px;
        width: 170px;
    }

    main .teacher-box.tanaka .img-title {
        position: absolute;
        top: 0px;
        left: 45px;
    }

    .ml39 {
        margin-left: 39px !important;
    }
}

@media screen and (max-width:768px) {
    main {
        font-family: 'Noto Sans JP', sans-serif;
        background: url("../img/index/bg-main_sp.png") no-repeat top center;
        height: auto;
    }

    main .teacher-mainbox {
        width: 100%;
        margin: 0 auto;
        positon: relative;
    }

    main h2 {
        padding: 75px 0 70px;
        margin: 0;
    }

    main h2 img {
        display: block;
        max-width: 351px;
        width: 75%;
        margin: 25px auto;
        padding-left: 35px;
    }

    main img.img-plate {
        display: block;
        max-width: 596px;
        width: calc(100% - 20px);
        margin: 0 auto 40px;
    }

    main .teacher-mainbox {
        display: none;
    }

    main .teacher-box_sp {
        display: block;
        width: calc(100% - 20px);
        margin: 0 auto 50px;
    }

    main .teacher-box_sp .room-img {
        display: block;
        float: left;
        margin-right: 10px;
    }

    main .teacher-box_sp h3 {
        background-image: url(../img/content/lab-back1.png), url(../img/content/lab-back3.png);
        background-repeat: no-repeat, no-repeat;
        background-position: left center, right center;
        height: 52px;
        margin-bottom: 10px;
        font-family: "MyFont", sans-serif;
    }

    main .teacher-box_sp h3 span {
        display: block;
        background: url(../img/content/lab-back2.png) repeat-x center center;
        margin: 0 22px 0 50px;
        height: 40px;
        font-size: 1.3rem;
        color: #675B55;
        padding-top: 12px;
        line-height: 2rem;
        font-family: "MyFont", sans-serif;
    }

    main .teacher-box_sp .img-box {
        width: 54%;
        float: left;
        margi-top: 20px;
    }

    main .teacher-box_sp .img-box img {
        width: 100%;
    }

    main .teacher-box_sp .linkbtn {
        display: block;
        margin: 10px auto 0;
        text-align: center;
        width: 90%;
        text-decoration: none;
        background-color: #898989;
        padding: 10px 0;
        color: #fff;
        -webkit-border-radius: 10px;
        border-radius: 10px;
        transition: all 0.5s;
    }

    main .teacher-box_sp .linkbtn:hover {
        background-color: #E45855;
    }

    main .teacher-box_sp .detail-box {
        width: calc(40% - 20px);
        float: right;
        background: #dcefff;
        padding: 15px 20px;
        margin-right: 20px;
    }

    main .teacher-box_sp.shirosaki .img-box,
    main .teacher-box_sp.yamanishi .img-box,
    main .teacher-box_sp.araki .img-box,
    main .teacher-box_sp.yoshida .img-box {
        float: right;
    }

    main .teacher-box_sp .inner {
        background: rgba(255, 255, 255, 0.5);
    }

    main .teacher-box_sp .teacher-box-c {
        width: calc(40% + 20px);
        margin-bottom: 10px;
        margin-right: 20px;
    }

    main .teacher-box_sp .teacher-box-c img {
        width: 100%;
    }

    main .teacher-box_sp.cho .teacher-box-c,
    main .teacher-box_sp.miyazaki .teacher-box-c,
    main .teacher-box_sp.enokida .teacher-box-c,
    main .teacher-box_sp.maeda .teacher-box-c,
    main .teacher-box_sp.nishida .teacher-box-c {
        float: right;
    }

    main .teacher-box_sp.shirosaki .teacher-box-c,
    main .teacher-box_sp.yamanishi .teacher-box-c,
    main .teacher-box_sp.araki .teacher-box-c,
    main .teacher-box_sp.yoshida .teacher-box-c {
        float: left;
    }

    main .teacher-box_sp .detail-box .title-box {
        font-size: 16px;
        background: #5fb3f5;
        padding: 4px;
        text-align: center;
        color: #FFF;
        font-weight: bold;
        letter-spacing: 0.05em;
        margin-bottom: 10px;
    }

    main .teacher-box_sp .detail-box dl {
        font-size: 13px;
    }

    main .teacher-box_sp .detail-box dt {
        border-bottom: 1px dotted #333;
        padding-bottom: 3px;
        font-weight: bold;
        font-size: 12px;
        margin-bottom: 5px;
    }

    main .teacher-box_sp .detail-box dd {
        font-size: 15px;
        margin-bottom: 15px;
        padding-left: 20px;
        line-height: 140%;
    }

    img.img-totop {
        margin-top: 30px;
    }
}

@media screen and (max-width:700px) {
    main .teacher-box_sp {
        background-position: center 150px !important;
    }

    main .teacher-box_sp .teacher-box-c {
        float: none !important;
        margin: 0 auto !important;
        width: 80%;
        max-width: 300px;
    }

    main .teacher-box_sp .img-box {
        float: none !important;
        margin: 0 auto !important;
        width: 80%;
    }

    main .teacher-box_sp .detail-box {
        float: none !important;
        margin: 0 auto !important;
        width: 80%;
    }

    main .teacher-box_sp .img-box img {
        width: 80%;
        max-width: 300px;
        height: auto;
        display: block;
        margin: -20px auto -30px;
    }

    main .teacher-box_sp.araki .img-box img {
        margin: -40px auto -10px;
    }

    main .teacher-box_sp.nishida .img-box img {
        margin: -20px auto -10px;
    }

    main .teacher-box_sp .detail-box {
        width: 70%;
    }
}
