 * {
    box-sizing: border-box;
}
main {
    max-width: 750px;
    margin: 17rem auto 8rem;
}
html {
    font-size: 10px;
}

/* index */
#index_wrap {
    position: relative;
    max-width: 750px;
    min-height: 100vh;
    margin: 0 auto;
}
#index_wrap img {
    position: absolute;
    left: 50%; top: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    font-weight: 800;
    width: 50%;
}

/* header */
header {
    position: fixed;
    left: 0; top: 0;
    width: 100%;
    height: auto;
    z-index: 999;
    background: #fff;
    padding-top: 4rem;
}
.header_inner {
    max-width: 750px;
    margin: 0 auto;
    padding: 0 1.5rem;
    background: #fff;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.header_inner a {
    display: block;
    height: 3rem;
}
.header_inner a img {
    height: 100%;
}
.logo_text {
    font-size: 2.5rem;
    font-weight: 700;
}
.header_inner a.home_search_box .search_ico {
    display: block;
    width: 3.5rem; height: 3.5rem;
    background: url(../img/All/icon-search.png) no-repeat center/contain;
}
.home_dp_borad {
    padding: 3rem 0 1rem;
    max-width: 750px;
    margin: 0 auto;
    background: #fff;
}
.home_dp_borad .container {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #E3F4F7;
    padding: 1rem 1.5rem;
}
.home_dp_borad .left {
    display: flex;
    align-items: center;
    gap: .7rem;
}
.home_dp_borad .left .fixed {
    display: flex;
    align-items: center;
    font-size: 1.7rem;
    font-weight: 600;
    gap: .5rem;
}
.home_dp_borad .left .fixed span {
    color: #4FBBCD;
    font-size: 1.7rem;
    font-weight: 600;
}
.home_dp_borad .left .rank_ico {
    display: block;
    width: 2rem; height: 2rem;
    background: url(../img/All/icon-graph.png) no-repeat center/contain;
    margin-right: .5rem;
}
.home_dp_borad p strong {
    display: inline-block;
    font-weight: 600;
    color: #4FBBCD;
    font-size: 1.7rem;
}
.home_dp_borad p.move {
    font-weight: 600;
    color: #4FBBCD;
    font-size: 1.7rem;
}
.rank {
    display: block;
    width: 2.5rem; height: 2.5rem;
}
.rank img {
    width: 100%; height: 100%;
}
.move {
    animation: slideDown 3s ease-in-out infinite;
    position: relative;
    display: inline-block;
}
.move.right {
    display: flex;
    align-items: center;
    gap: .5rem;
}
#hospitalName {
    color: #333;
    font-size: 1.7rem;
    font-weight: 600;
    word-break: break-all;
}
@keyframes slideDown {
    0% {
        transform: translateY(-30%);
        opacity: 1;
    }
    50% {
        transform: translateY(0);
        opacity: 1;
    }
    100% {
        transform: translateY(50%);
        opacity: 0;
    }
}

/* footer */
footer {
    position: fixed;
    left: 50%; bottom: 0;
    transform: translateX(-50%);
    width: 100%; height: 8.5rem;
    border-top-left-radius: 3rem;
    border-top-right-radius: 3rem;
    box-shadow: 0px -3px 5px -2px rgba(0, 0, 0, 0.1);
    background: #fff;
    z-index: 999;
    padding: 1rem 0;
    max-width: 750px;
    margin: 0 auto;
}
footer ul {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}
footer ul li {
    width: calc(100% / 5);
    height: 100%;
}
footer ul li a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    gap: 1rem;
}
footer ul li a img {
    height: 2.8rem;
}
footer ul li a span {
    font-size: 1.7rem;
    color: #B1B5BD;
}
footer ul li.on a span {
    color: #58BFD0;
}
.pagination {
    padding: 4rem 0 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
}
.pagination a {
    font-size: 2rem;
}
.pagination a.active {
    font-weight: 800;
}
.none {
    font-size: 2.2rem;
    text-align: center;
    padding-top: 8rem;
    font-weight: 600;
}
.modal_back {
    display: none;
    position: fixed;
    left: 50%; top: 0;
    transform: translateX(-50%);
    max-width: 750px; height: 100%;
    width: 100%;
    z-index: 9995;
    background: rgba(0, 0, 0, 0.4);
}
.modal_back.active {
    display: block;
}
@media screen and (max-width: 500px){
    .header_inner a.home_search_box .search_ico {
        width: 3rem;
        height: 3rem;
    }
    .home_dp_borad {
        padding: 0;
    }
    .home_dp_borad .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        height: 100%;
        background: #E3F4F7;
        padding: 1rem;
        gap: .7rem;
    }
    .home_dp_borad .left {
        gap: .5rem;
    }
    .home_dp_borad .left .rank_ico {
        margin-right: 0;
    }
    .home_dp_borad .left .fixed {
        display: flex;
        align-items: center;
        font-size: 1.3rem;
        font-weight: 600;
        gap: .5rem;
        white-space: nowrap;
    }
    .home_dp_borad .left .fixed span {
        color: #4FBBCD;
        font-size: 1.3rem;
        font-weight: 600;
    }
    .home_dp_borad p strong {
        display: inline-block;
        font-weight: 600;
        color: #4FBBCD;
        font-size: 1.4rem;
    }
    .home_dp_borad p.move {
        font-weight: 600;
        color: #4FBBCD;
        font-size: 1.3rem;
        
    }
    .rank {
        width: 2rem; height: 2rem;
    }
    .rank img {
        width: 100%;
        height: 100%;
    }
    #hospitalName {
        max-width: 77%;
        color: #333;
        font-size: 1.3rem;
        font-weight: 600;
        line-height: 1.1;
    }
    .none {
        font-size: 2rem;
    }
    .move {
        animation: slideDown 2.79s ease-in-out infinite;
    }
    .move.sub_move {
        animation: subSlideDown 2.8s ease-in-out infinite;
    }
    @keyframes subSlideDown {
        0% {
            transform: translateY(-80%);
            opacity: 1;
        }
        50% {
            transform: translateY(0);
            opacity: 1;
        }
        100% {
            transform: translateY(100%);
            opacity: 0;
        }
    }
}