.header_top {
    font-size: 12px;
    color: #666;
}
.header_top .inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 8px;
    padding-bottom: 8px;
}
.header_top .account {
    display: flex;
    align-items: center;
    position: relative;
}
.header_top .account .info {
    position: relative;
    max-width: 160px;
    margin-left: 0.5rem;
    color: var(--theme);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.header_bottom {
    position: sticky;
    top: 0;
    background: #fff;
    box-shadow: 0 1.2rem 1.4rem 0 rgba(0, 0, 0, 0.05);
    z-index: 99;
}
.header_bottom .inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 8px;
    padding-bottom: 8px;
}
.header_bottom .logo a {
    display: block;
    font-size: 0;
}
.header_bottom .banner {
    width: 96rem;
    height: 4.2rem;
    background: pink;
}

/* menu */
.gnb ul {
    display: flex;
    gap: 1.5rem;
}
.gnb a {
    position: relative;
    display: flex;
    align-items: center;
    gap: 3px;
}
.gnb .img {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    background: url(/images/mypage/common/icon_top_nav.png) no-repeat 0 50% / 135px
        15px;
}
.gnb li:nth-child(2) .img {
    background-position-x: -20px;
}
.gnb li:nth-child(3) .img {
    background-position-x: -40px;
}
.gnb li:nth-child(4) .img {
    background-position-x: -60px;
}
.gnb li:nth-child(5) .img {
    background-position-x: -80px;
}
.gnb li:nth-child(6) .img {
    background-position-x: -100px;
}
.gnb li:nth-child(7) .img {
    background-position-x: -120px;
}

.gnb .btn_notice .tail {
    position: absolute;
    right: -12px;
    top: -8px;
    padding: 0 5px;
    line-height: 1.4rem;
    font-size: 10px;
    color: #fff;
    text-align: center;
    border-radius: 10px;
    background: var(--theme);
}

.gnb a:hover {
    color: var(--theme);
}
.gnb a:hover .img {
    filter: brightness(0) saturate(100%) invert(34%) sepia(52%) saturate(5934%)
        hue-rotate(1deg) brightness(104%) contrast(106%);
}

.menu_open_wrap {
    display: none;
    position: absolute;
    pointer-events: none;
    z-index: -999;
}
.menu_open_wrap .menu_open {
    padding: 10px;
}
.menu_open_wrap .menu_open img {
    width: 24px;
}

@media (max-width: 1460px) {
    .header_bottom .logo {
        width: 20rem;
    }
}

@media (max-width: 850px) {
    .header_top .inner {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    .gnb ul {
        justify-content: space-between;
        width: 100%;
    }

    .header_bottom {
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    }
    .header_bottom .banner {
        display: none;
        position: absolute;
        pointer-events: none;
        z-index: -999;
    }
    .header_bottom .logo {
        width: 12rem;
    }
}
@media (max-width: 650px) {
    .header_top {
        display: none;
        position: absolute;
        pointer-events: none;
        z-index: -999;
    }

    .menu_open_wrap {
        display: block;
        position: static;
        pointer-events: auto;
        z-index: 1;
    }
}
