.gate {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1
}

.gate__wrap {
    display: flex;
    align-items: center;
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 20;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 1920px;
    height: 100%
}

.gate__item {
    flex: 1;
    text-align: center
}

.gate__anchor {
    display: inline-block;
    transition: opacity .35s ease-in
}

.gate.has-focus .gate__anchor {
    opacity: .4
}

.gate.has-focus .gate__anchor.is-active {
    opacity: 1
}

.gate__bg {
    overflow: hidden;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 5;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 0;
    transition: opacity .35s ease-in
}

.gate__bg:before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 6;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, .2) 0, rgba(0, 0, 0, .6) 99.98%, rgba(0, 0, 0, .995833) 99.99%, rgba(0, 0, 0, .6) 100%)
}

.gate__bg.is-active {
    opacity: 1
}

.gate__bg--curtain {
    background: #111;
    z-index: 4;
    opacity: 1
}

.gate__bg--curtain:before {
    display: none
}

/* s:20220426 게이트 시어터 배경바꾸기 */
.gate__bg--theater {
    background-image: url(../../images/gate/bg_gate_theater03_pc.jpg);
}
/* e:20220426 게이트 시어터 배경바꾸기 */

/* s: 20250411 벙커 배경바꾸기 */
.gate__bg--bunker {
    background-image: url(../../images/gate/bg_gate_bunker03_pc.jpg);
}
/* e: 20250411 벙커 배경바꾸기 */

.gate__mask {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 30;
    pointer-events: none
}

@media (max-width: 768px) {
    .gate__wrap {
        flex-direction: column;
        align-items: center
    }

    .gate__item {
        display: flex;
        align-items: center
    }

    .gate__bg--bunker {
        top: 50%;
        height: 50%;
        opacity: 1
    }

    .gate__bg--theater {
        height: 50%;
        opacity: 1
    }

}