/* reset */
*{margin: 0;padding: 0;word-break: keep-all;}
*, *:after, *:before {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
a{
    text-decoration: none;
    color: inherit;
}
ul,ol{list-style: none;}
h1,h2,h3,h4,h5,h6{
    font-size: inherit;
    font-weight: inherit;
}
b,strong{font-weight: inherit;}
i,em,address{font-style: inherit;}
img{max-width: 100%;line-height: 0;}
/* ************************************************************** */
/* main */
main{
    font-family: 'Paperlogy';
    width: 100%;
    height: 100vh;
   
    
    background: #333;
    overflow: hidden;
    position: relative;
    color: #fff;
}
.hospital_bg{
    display: flex;
    width: 100%;
    height: 100%;
}
.hospital_bg>*{
    width: 100%;
    height: 100%;
}
.hospital_bg .pt{background: url('../img/pt.png') no-repeat 50% 50% / cover;}
.hospital_bg .sw{background: url('../img/sw_v2.png?ver=250321') no-repeat 50% 50% / cover;}
.wrap{
    width: 100%;
    height: 100%;
    
}
.left_wrap {
    position: absolute;
    width: 50%;
    height: 100%;
    left: 0;
    top: 0;
}
.left_wrap .bg{
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background: url('../img/main_left.png') no-repeat 100% 50% / cover;
    transition:  .5s;
    /* transition-delay: 250ms; */
}
.right_wrap{
    position: absolute;
    width: 50%;
    height: 100%;
    right: 0;
    top: 0;
}
.right_wrap .bg{
    position: absolute;
    width: 100%;
    height: 100%;
    right: 0;
    top: 0;
    background: url('../img/main_right.png') no-repeat 100% 50% / cover;
    transition: .5s;
    /* transition-delay: 250ms; */
    border-left: .1px solid #9c9c9c0e;
}
.left_wrap:hover .bg{
    /* transform: translateX(-100%); */
    opacity: 0;
}
.right_wrap:hover .bg{
    /* transform: translateX(100%); */
    opacity: 0;
}
.logo_wrap{
    position: absolute;
    z-index: 3;
    width: 30%;
    max-width: 480px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}
.homepage{
    display: flex;
    align-items: center;
    font-size: 60px;
    font-weight: 800;
    gap: 20px;
}
.homepage img{width: 1.1em;}
.left_wrap .homepage.pt{
    position: absolute;
    left: 3vw;
    top: 3vw;
    border-top: 1px solid #fff;
    width: calc(100% - 3vw);
    padding-top: 30px;
}
.right_wrap .homepage.sw{
    position: absolute;
    right: 3vw;
    bottom: 3vw;
    border-bottom: 1px solid #fff;
    width: calc(100% - 3vw);
    padding-bottom: 30px;
    justify-content: flex-end;
}
.m_logo_wrap{display: none;}
@media (min-width:0px) and (max-width:1520px){
    
    .homepage {font-size: 40px}
}
@media (min-width:0px) and (max-width:1020px){
    .hospital_bg{flex-direction: column;}
    .left_wrap {
        width: 100%;
        height: 50%;
    }
    .right_wrap {
        border-top: .1px solid #72727207;
        width: 100%;
        height: 50%;
        top: auto;
        bottom: 0;
    }
    .left_wrap .bg {
        background: url(../img/main_left_mo.png) no-repeat 50% 100% / cover;
    }
    .right_wrap .bg {
        background: url(../img/main_right_mo.png) no-repeat 50% 0% / cover;
    }
    .left_wrap:hover .bg{
        /* transform: translate(0, -100%); */
        opacity: 0;
    }
    .right_wrap:hover .bg{
        /* transform: translate(0%, 100%); */
        opacity: 0;
    }
    .logo_wrap {
        width: 50%;
        /* display: none; */
    }
    /* .homepage {display: none;}
    .m_logo_wrap{
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        font-size: 7vw;
        font-weight: 700;
        width: 100%;
    }
    .m_logo_wrap img{width: 40%;max-width: 200px;} */




}
@media (min-width:0px) and (max-width:600px){
    .right_wrap .homepage.sw {
        right: 7vw;
        bottom: 7vw;
        padding-bottom: 15px;
    }
    .left_wrap .homepage.pt {
        left: 7vw;
        top: 7vw;
        padding-top: 15px;
    }
    .homepage {
        font-size: 7vw;
    }
    /* .m_logo_wrap{font-size: 9vw;} */
}