@charset "utf-8";

/*------------------------------------------------------------

------------------------------------------------------------*/
#gNavi li:nth-child(2)>a {
    color: #29b572;
}

.mainImg {
    min-height: 300px;
    background: url(../img/doctor/main_img.jpg) no-repeat left center;
}

.mainImg h2 {
    padding-top: 131px;
    color: #fff;
    font-size: 30px;
    text-align: center;
    letter-spacing: 4px;
    line-height: 1.25;
}

.mainImg h2 span {
    display: inline-block;
    border-bottom: 2px solid #fff;
}

#conts .staffBox {
    margin-bottom: 100px;
    background: #F1F2F6;
}

#conts .staffBox .inner {
    margin: 0 auto;
    padding: 30px 30px 20px;
    display: flex;
}

#conts .staffBox .inner .photoBox {
    margin-right: 60px
}

#conts .staffBox .inner .photoBox img {}

#conts .staffBox .inner .textBox {}

#conts .staffBox .inner .textBox .ttl {
    margin-bottom: 20px;
    font-size: 22px;
    font-weight: bold;
    color: #29b572;
}

#conts .staffBox .inner .textBox ul {
    margin-bottom: 20px;
}

#conts .staffBox .inner .link {
    width: 300px;
}

#conts .staffBox .inner .link a {
    display: block;
    background: #29b572;
    padding: 20px 0;
    color: #fff;
    text-align: center;
    font-weight: bold;
}

#conts .staffBox .inner .link a:hover {
    opacity: 0.7;
}

#conts .staffBox .imgList {
    display: flex;
    justify-content: space-between;
}

#conts .staffBox .imgList li {}

#conts .lText {
    margin-bottom: 30px;
    font-size: 22px;
    font-weight: bold;
}

#conts .txt {
    margin-bottom: 50px
}

#conts .wPhoto {
    margin-bottom: 50px;
}

@media all and (min-width: 0) and (max-width: 767px) {

    #main {
        margin: 0 auto 82px !important;
    }

    .mainImg {
        min-height: 126px;
        background: url(../img/doctor/sp_main_img.jpg) no-repeat left center;
        background-size: cover;
    }

    .mainImg h2 {
        padding-top: 55px;
        font-size: 15px;
        letter-spacing: 2px;
    }

    .mainImg h2 span {
        border-bottom: 1px solid #fff;
    }

    #conts .staffBox {
        margin-bottom: 60px;
    }

    #conts .staffBox .inner {
        width: 100%;
        padding: 15px;
        display: flex;
    }

    #conts .staffBox .inner .photoBox {
        margin-right: 15px
    }

    #conts .staffBox .inner .photoBox img {
        width: 170px;
    }

    #conts .staffBox .inner .textBox {
        width: auto;
    }

    #conts .staffBox .inner .textBox .ttl {
        margin-bottom: 20px;
        font-size: 18px;
        font-weight: bold;
        color: #29b572;
    }

    #conts .staffBox .inner .textBox ul {
        margin-bottom: 20px;
    }

    #conts .staffBox .inner .link {
        display: none;
    }

    #conts .staffBox .imgList {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }

    #conts .staffBox .imgList li {
        width: 95%;
        margin: 0 auto 10px
    }

    #conts .staffBox .imgList li img {
        width: 100%;
    }

    #conts .lText {
        width: 95%;
        margin: 0 auto 30px;
        font-size: 18px;
        text-indent: -1em;
        padding-left: 1em;
    }

    #conts .txt {
        width: 95%;
        margin: 0 auto 30px;
    }

    #conts .wPhoto {
        width: 100%;
        margin: 0 auto 30px;
    }

    #conts .wPhoto img {
        width: 100%;
    }

}