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

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

header .logo {
    display: flex;
    width: 52px;
}

header .head_basic {
    display: flex;
    align-items: center;
    gap: 24px;
}

header .head_my {
    display: flex;
    align-items: center;
    gap: 16px;
}

header .head_my li {
    display: flex;
    align-items: center;
    gap: 16px;
}

header .head_my li:not(:last-child)::after {
    content: '';
    display: block;
    width: 0;
    height: 10px;
    border-right: 1px solid #5E5E5E;
}

header .my_item {
    display: flex;
    font-size: 16px;
    font-weight: 500;
    color: #222;
}

header .my_item.chat {
    width: 28px;
    padding: 3px;
    position: relative;
}

header .my_item.chat .on {
    position: absolute;
    top: 1px;
    right: 1px;
    display: block;
    width: 5px;
    aspect-ratio: 1/1;
    border-radius: 50%;
    background-color: var(--error-color);
}

header .tut_sign {
    display: flex;
    padding: 8px 16px;
    background-color: #222222;
    font-size: 16px;
    font-weight: 500;
    color: #fff;
    border-radius: 6px;
}

header .change_wrap {
    display: flex;
    gap: 16px;
}

header .change_box {
    position: relative;
}

header .change_handle {
    display: flex;
    align-items: center;
    background-color: transparent;
    font-size: 16px;
    font-weight: 600;
    color: #222;
}

header .change_handle::after {
    content: '';
    display: block;
    width: 22px;
    height: 22px;
    background: url(/static/common/img/icon_select_down.png) no-repeat center/contain;
    margin-top: 2px;
}

header .change_handle.active::after {
    transform: rotate(180deg);
}

header .change_handle .img_wrap {
    display: flex;
    width: 16px;
    margin-right: 2px;
    margin-top: 2px;
}

header .change_box ul {
    position: absolute;
    top: calc(100% + 9px);
    width: 100%;
    background-color: #fff;
    box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.1);
    padding: 6px 1px;
    border-radius: 6px;
    display: none;
}

header .change_box .change_handle.active+ul {
    display: block;
}

header .change_box ul a {
    display: block;
    padding: 4px 0;
    font-size: 16px;
    font-weight: 600;
    color: #222;
    text-align: center;
}

header .change_box ul a:hover {
    background-color: #EBEBEB;
}

header .gnb_btn {
    width: 26px;
    background-color: transparent;
}

header .gnb_head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #EBEBEB;
    padding: 0px 16px;
    height: 55px;
}

header .gnb_head_right {
    display: flex;
    gap: 16px;
}

header .gnb_info {
    padding: 19px 24px;
    background-color: #F8FBFF;
    border-bottom: 1px solid #EBEBEB;
    display: flex;
    gap: 12px;
    height: 58px;
    align-items: center;
}

header .gnb_info .name {
    font-size: 14px;
    font-weight: 700;
    color: #222;
}

header .gnb_info .login_item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 400;
    color: #222;
}

header .gnb_info .login_item:not(:last-child)::after {
    content: '';
    display: block;
    width: 0;
    height: 10px;
    border-right: 1px solid #222;
}

header .nav_wrap {
    padding: 10px 24px 24px;
    height: calc(100% - (55px + 58px));
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

header .common_nav {
    padding-bottom: 8px;
    border-bottom: 1px solid #E1E1E1;
    margin-bottom: 8px;
}

header .nav_list .main_nav {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 13px 0;
    font-size: 16px;
    font-weight: 500;
    color: #222;
}

header .nav_list .main_nav .img_wrap {
    display: flex;
    width: 20px;
}

header .nav_list .sub_nav {
    display: flex;
    gap: 4px;
    padding: 13px 8px;
    font-size: 15px;
    font-weight: 500;
    color: #222;
}

header .nav_list .sub_nav::before {
    content: '-';
}

header .logout_wrap {
    display: flex;
    justify-content: center;
    margin-top: auto;
    padding-top: 62px;
}

header .logout_btn {
    background-color: transparent;
    font-size: 14px;
    font-weight: 500;
    color: var(--error-color);
}

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

    header .logo {
        width: 34px;
    }

    header .gnb_cont {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        visibility: hidden;
    }

    header .gnb_cont.active {
        visibility: visible;
    }

    header .gnb_cont .dim {
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.4);
        visibility: hidden;
    }

    header .gnb_cont.active .dim {
        visibility: visible;
    }

    header .gnb_wrap {
        position: absolute;
        top: 0;
        right: 0;
        transform: translateX(100%);
        width: 100%;
        max-width: 500px;
        height: 100%;
        background-color: #fff;
        display: flex;
        flex-direction: column;
        visibility: hidden;
        transition: transform 500ms;
    }

    header .gnb_cont.active .gnb_wrap {
        visibility: visible;
        transform: translateX(0);
    }

    header .change_wrap {
        gap: 12px;
    }

    header .change_handle .img_wrap {
        margin-right: 4px;
    }
}

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