@charset "UTF-8";
a {
    /*line-height: 0*/
}

#main .main-content ul#main_menu {
    width: 960px;
    margin: 0 auto;
}

#main .main-content ul#main_menu li {
    position: relative;
    width: 480px;
    height: 290px;
    float: left;
    margin: 0;
    padding: 0;
    font-size: 0;
}

#main #header_top .drug_bg {
    background: url(../images/ph_drug_pc.png) no-repeat left top;
    background-size: cover;
}
#main .main-content ul#main_menu li img {
    width: 100%
}

#main #header_top img.bg {
    visibility: hidden;
    width: 100%
}

#main #header_top .btn_drug {
    background: url(../images/btn_drug.png) no-repeat left top;
    background-size: cover;
    position: absolute;
    width: 36%;
    height: 23%;
    right: 5px;
    bottom: 20px;
}

#main #header_top .btn_drug:hover {
    background-position: 0 96%;
}

#main #header_top li:nth-child(2) a:last-of-type:hover {
    opacity: 1;
}


#main .main-content #header_top{
    width: 100%;
    height: 400px;
    background:url("../images/main_bg.jpg");
    display: flex;
}

#main .main-content #header_top li:first-child img{
    width: 100%;
}

#main #header_top li:first-child{
    position: relative;
    width: 49%;
    padding: 80px 140px 20px 100px;
}
#main #header_top li:nth-child(2){
    position: relative;
    width: 50%;
}

#main #header_top li:nth-child(2) p {
    text-align: center;
    color: #fff;
    padding-top: 80px;
}

#main #header_top li:nth-child(2) p span{
    font-weight: bold;
}

#main #header_top .btn_checklist{
    width: 280px;
    position: absolute;
    bottom: 90px;
    right:0;
}


#main #header_top .btn_patient {
    position: absolute;
    width: 260px;
    bottom: 20px;
    right: 10px;
    background: #fff;
    border-radius: 5px;
    border: 3px solid #0D9EA0;
    box-shadow: 0 0 5px rgba(0,0,0,0.4);
}
#main #header_top .btn_patient:hover{
    opacity: 0.7;
}

#main #header_top .btn_patient ul {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0;
}

#main #header_top .btn_patient ul li:first-child {
    width: 20%;
    height: auto;
    padding: 10px;
    background: #0D9EA0;
}
#main #header_top .btn_patient ul li:first-child img {
    width: 100%;
    height: auto;
}
#main #header_top .btn_patient ul li:last-child {
    width: 80%;
    text-align: left;
    line-height: 1.2;
    font-weight: bold;
    color: #0D9EA0;
    padding-left: 15px;
    background: #fff;
}


@media screen and (max-width:768px) {
    #main .main-content ul#main_menu {
        margin: 0 auto;
        width: 100%;
    }
    #main .main-content ul#main_menu li {
        width: 100%;
        height: auto;
        margin: 0 auto;
        float: none;
    }
    #main .main-content ul#main_menu li img {
        width: 100%;
    }

    #main .main-content #header_top{
        background:#cbd300;
        flex-wrap: wrap;
        height: auto;
    }

    #main #header_top li:first-child{
        width: 100%;
        padding: 3% 25%;
    }
    #main #header_top li:nth-child(2){
        width: 100%;
        background: url("../images/main_bg.jpg");
        background-position-x: 100%;
    }

    #main #header_top li:nth-child(2) p {
        text-align: center;
        color: #fff;
        padding-top: 30px;
        padding-bottom: 80px;
    }

    #main  #header_top .btn_drug {
        background: url(../images/btn_drug.png) no-repeat left top;
        background-size: cover;
        position: absolute;
        width: 35vw;
        height: 19vw;
        right: 3%;
        bottom: 6px;
    }

    #main #header_top .btn_checklist {
        width: 80%;
        position: relative;
        bottom: unset;
        right: unset;
        display: block;
        margin: auto;
    }

    #main #header_top .btn_patient {
        position: relative;
        width: 74%;
        bottom: unset;
        right: unset;
        display: block;
        margin: auto;
        margin-bottom: 20px;
    }
    #main #header_top .btn_patient ul li:last-child {
        font-size: 4vw;
    }

    #main #header_top .btn_drug:hover {
        background-position: 0 98%;
    }

}
