.page-gate {
    display: flex;
    margin: 0 auto;
    min-width: 1800px;
}

.section {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    position: relative;
    overflow: hidden;
    flex: 1;
}

.section::before,
.section::after {
    display: flex;
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 0;
    content: "";
    inset: 0;
}

.section::before {
    background: no-repeat center / cover;
    transition: all 0.5s ease;
}

.section .card-enter {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 520px;
    height: 376px;
    z-index: 1;
    text-align: center;
    transition: all 0.5s ease;
    border-radius: 20px;
}

.section .logo {
    position: absolute;
    bottom: 70px;
    z-index: 1;
    background-repeat: no-repeat;
    background-size: contain;
}

.section .title {
    font-size: 40px;
    font-weight: 700;
}

.section .button-enter {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 240px;
    height: 60px;
    margin-top: 60px;
    border: 1px solid #fff;
    transition: all 0.5s ease;
    border-radius: 40px;
}

.section .button-enter .arrow {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 0;
    overflow: hidden;
    transition: all 0.5s ease;
}

/* 섹션 - 처음 방문 */
.section-first::before {
    background-image: url("../images/image_hospital_building.jpg");
}

.section-first::after {
    background: rgba(0, 47, 135, 0.9);
}

.section-first .title {
    color: #fff;
}

.section-first .button-enter {
    color: #fff;
}

.section-first .logo {
    width: 177px;
    height: 32px;
    right: 18px;
    background-image: url("../images/logo_jaseng_hospital_white.png");
}

.section-first.is-active::after {
    background: rgba(0, 47, 135, 0.2);
}

.section-first.is-active .card-enter {
    background: rgba(0, 47, 135, 0.8);
}

.section-first.is-active .button-enter {
    color: #002f87;
    background: #fff;
}

/* 섹션 - 회원 */
.section-member::before {
    background-image: url("../images/image_pharma_process.png");
}

.section-member::after {
    background: rgba(255, 255, 255, 0.7);
}

.section-member .title {
    color: #002f87;
}

.section-member .button-enter {
    color: #002f87;
    border-color: #002f87;
}

.section-member .logo {
    width: 207px;
    height: 32px;
    left: 14px;
    background-image: url("../images/logo_out_decoction.png");
}

.section-member.is-active::after {
    background: rgba(255, 255, 255, 0.2);
}

.section-member.is-active .card-enter {
    background: rgba(255, 255, 255, 0.8);
}

.section-member.is-active .button-enter {
    color: #fff;
    background: #002f87;
}

/* 섹션 - 마우스오버시 */
.section.is-active::before {
    transform: scale(1.05);
}

.section.is-active .card-enter {
    box-shadow: 20px 20px 48px 0 rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* 모바일 */
.mobile-header {
    justify-content: center;
    align-items: center;
    height: 100px;
}

.mobile-header .logo-main {
    width: 245px;
    height: 20px;
}

/* 미디어 쿼리 */
@media (max-width: 1023px) {
    .page-gate {
        flex-direction: column;
        min-width: auto;
    }

    .mobile-header {
        display: flex;
    }

    .section {
        height: 50vh;
    }

    .section .card-enter {
        height: calc(50vh - 50px);
    }

    .section.is-active .card-enter {
        background: none;
        box-shadow: none;
        backdrop-filter: none;
    }

    .section .title {
        font-size: 24px;
    }

    .section .button-enter {
        width: 120px;
        height: 40px;
        margin-top: 20px;
        font-size: 16px;
    }

    .section .logo {
        display: none;
    }

    .modal-login {
        width: 335px;
        height: 389px;
        position: fixed;
        padding: 28px;
    }

    .modal-login .tabs-member button {
        height: 33px;
        font-size: 18px;
    }

    .modal-login .form-input {
        margin-top: 20px;
    }

    .modal-login .form-input input {
        height: 48px;
    }

    .modal-login .form-input input:nth-child(n + 2) {
        margin-top: 4px;
    }

    .modal-login .group-sns button {
        width: 48px;
        height: 48px;
        background-size: 16px;
    }

    .modal-login .button-login {
        height: 48px;
        margin-top: 20px;
        font-size: 16px;
    }

    .modal-login .group-links a {
        font-size: 14px;
    }
}
