/* pc */
header {
    position: sticky;
    top: 0;
    left: 0;
    z-index: 50;
    border-bottom: 1px solid #EBEBEB;
    background-color: #fff;
}

header #header_wrap {
    width: 100%;
    display: flex;
    align-items: center;
    padding: 14px 0;
    gap: 100px;
}

#header_wrap .header_logo {
    display: flex;
    width: 143px;
    flex-shrink: 0;
}

#header_wrap .header_gnb {
    flex-grow: 1;
}

.header_gnb .gnb_top {
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
    padding: 10px 16px;
}

.header_gnb .gnb_list {
    display: flex;
    align-items: center;
}

.header_gnb .gnb_main {
    min-width: 150px;
    padding: 8px 0;
    text-align: center;
    display: block;
    color: #5E5E5E;
    font-size: 16px;
}

.header_gnb .sub_list {
    background-color: #EBEBEB;
}

.header_gnb .gnb_sub {
    padding: 14px 30px;
    font-size: 14px;
    display: flex;
    width: 100%;
    color: #222222;
}

.header_gnb .gnb_sub.sub {
    color: #5E5E5E;
}

#header_wrap .btn_gnb {
    background-color: transparent;
    width: 24px;
    aspect-ratio: 1/1;
}

#header_wrap .header_action {
    /* min-width: 136px; */
    flex-shrink: 0;
}

#header_wrap .btn_login {
    color: #222222;
    font-size: 16px;

}

.header_action .login_box,
.header_action .login_box .btn_login:not(:last-child) {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header_action .login_box .btn_login:not(:last-child)::after {
    content: "";
    display: block;
    height: 10px;
    border-left: 2px solid #222222;
}

.header_gnb .gnb_bot {
    align-items: center;
    justify-content: center;
    padding: 32px 0 24px;
}

.header_gnb .gnb_bot .btn_logout {
    background-color: transparent;
    display: block;
    font-size: 12px;
    text-align: center;
    color: var(--error-color);
}

/* tablet */
@media screen and (max-width: 1023px) {
    header #header_wrap {
        padding: 10px 0;
        justify-content: space-between;
    }

    #header_wrap .header_logo {
        width: 91px;
    }

    #header_wrap .header_gnb {
        position: fixed;
        right: -100%;
        top: 0;
        height: 100dvh;
        width: 100%;
        display: flex;
        flex-direction: column;
        visibility: hidden;
        transition: right 0.3s;
        background-color: #F8F8F8;
    }

    #header_wrap .header_gnb.active {
        right: 0;
        visibility: visible;
    }

    .header_gnb .gnb_list {
        display: block;
        flex-grow: 1;
        overflow-y: auto;
    }

    .header_gnb .gnb_list.is_login {
        background-color: #EBEBEB;
    }

    .header_gnb .gnb_main {
        min-width: initial;
        width: 100%;
        padding: 13px 24px;
        font-weight: 500;
        text-align: left;
        background-color: #F8F8F8;
        color: #222222;
    }

    #header_wrap .header_action {
        min-width: initial;
    }

    #header_wrap .btn_login {
        font-size: 14px;
        font-weight: 500;
        color: #fff;
        padding: 6px 10px;
        background-color: #5E5E5E;
        border-radius: 50px;

    }

    .header_action .login_box .btn_login:not(:last-child)::after {
        display: none;
    }
}

/* mobile */
@media screen and (max-width: 767px) {}