
.navbar {
    display: none;
}

.navbar__toggleBtn {
    display: none;
    position: absolute;
    right: 32px;
}

.sidebar img {
    width: 24px;
    height: 24px;
}

@media screen and (max-width: 960px) {

    .navbar {
        display: flex;
        justify-content: space-between;
        width: 100%;
        height: 60px;
        padding: 0 20px;
        box-sizing: border-box;
        position: fixed;
        align-items: center;
        background: #fff;
        border-bottom: 1px solid #F4F4FF;
        z-index: 9999;
    }

    .navbar__logo {
        margin: 0;
    }

    .sidebar {
        display: none;
    }

    .navbar__menu {
        display: none;
    }

    .navbar__menu__mobile {
        position: absolute;
        display: block;
        top: 42px;
        width: 100%;
        height: calc(100vh - 60px);
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        z-index: 2;
    }


    img {
        display: inline-block;
        width: 75px;

    }
}

.navbar__toggle__container {
    display: block;
    width: 24px;
    height: 24px;
}

.navbar__toggleBtn {
    right: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    width: 16px;
    height: 16px;
    cursor: pointer;
}

input[id="trigger"] {
    display: none;
}

input[id="trigger"]:checked ~ .sidebar {
    position: fixed;
    right: 0;
    display: block;
    width: 100%;
    margin: auto;
}

label[for="trigger"] {
    display: block;
    cursor: pointer;
}

label[for="trigger"] span {
    position: absolute;
    left: 0;
    width: 16px;
    height: 2px;
    border-radius: 8px;
    background-color: #000;
    transform: translateX(2px);
    transition: 0.3s;
    z-index: 1;
}

label[for="trigger"] span:nth-child(1) {
    top: 0;
}

label[for="trigger"] span:nth-child(2) {
    top: 50%;
}

label[for="trigger"] span:nth-child(3) {
    top: 100%;
}

input[id="trigger"]:checked + label[for="trigger"] span:nth-child(1) {
    top: 50%;
}

input[id="trigger"]:checked + label[for="trigger"] span:nth-child(2) {
    opacity: 0;
}

input[id="trigger"]:checked + label[for="trigger"] span:nth-child(3) {
    top: 50%;
}

.navbar__menu__mobile {
    background-color: #fff;
}

.navbar__menu__mobile li {
    padding: 18px 24px;
}

.navbar__submenu__mobile li {
    padding: 0 0 0 10px;
}

.navbar__menuItem__mobile > div {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.navbar__menu__mobile > img {
    width: 24px;
    height: 24px;
}

.navbar__menu__mobile > li span {
    font-size: 18px;
    font-weight: 800;
    line-height: 22px;
    color: #333a44;
}

.navbar__submenu__mobile {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
}

.nav_mobile_row {
    margin-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav_mobile_best_row {
    display: flex;
}

.nav_mobile_best {
    margin-left: 10px;
    padding: 1px 4px 0;
    border-radius: 6px;
    background-color: rgba(19, 189, 126, 1);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 13px;
    line-height: 1;
    font-weight: 700;
    color: white;
}

.nav_mobile_new {
    margin-left: 10px;
    padding: 1px 4px 0;
    border-radius: 6px;
    background-color: #F53E50;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 13px;
    line-height: 1;
    font-weight: 700;
    color: white;
}

.nav_mobile_arrow {
    width: 20px;
    height: 20px;
    opacity: 0.4;
}

.nav_mobile_t1 {
    font-size: 18px;
    line-height: 26px;
    letter-spacing: -0.005em;
    margin: 0;
    font-weight: 700;
    color: rgba(17, 17, 17, 1);
}

.nav_mobile_t2 {
    margin: 30px 0 0;
    font-size: 16px;
    line-height: 26px;
    letter-spacing: -0.005em;
    font-weight: 700;
    color: rgba(134, 140, 156, 1);
}

.nav_mobile_t3 {
    font-size: 16px;
    line-height: 26px;
    letter-spacing: -0.005em;
    margin: 0;
    font-weight: 600;
}

.nav_mobile_line {
    margin-top: 30px;
    width: 100%;
    height: 1px;
    background-color: rgba(134, 140, 156, 0.2);
}



.pc_header {
    display: none;
}

@media screen and (min-width: 960px) {
    .pc_header {
        display: block;
        position: fixed;
        left: 0;
        top: 0;
        z-index: 1000;
        width: 100%;
        min-width: auto;
        height: 80px;
        background: #fff;
        box-sizing: border-box;
        border-bottom: 1px solid rgba(9, 30, 66, .14);
        right: 0;
        margin: auto;
        border-bottom-left-radius: 1rem;
        border-bottom-right-radius: 1rem;
        max-width: 1400px;
    }

    .scrolling .pc_header {
        border-bottom: 1px solid #f1f1f1;
    }

    .head_wrapper {
        display: flex;
        height: 100%;
        padding: 0 20px 0 24px;
        box-sizing: border-box;
    }

    .head_wrapper h1 {
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
        z-index: 0;
        font-weight: 400;
        font-size: 18px;
        line-height: 17px;
        color: #999;
    }

    .head_wrapper .head_category {
        display: flex;
        align-items: center;
        flex: 1;
        min-width: 0;
    }

    .head_wrapper .gnb_comm {
        display: flex;
        flex: 1;
        min-width: 0;
    }

    .head_wrapper .head_wrap {
        display: none;
    }

    .head_wrapper .btn_nav {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 30px;
        height: 30px;
        margin-left: 15px;
        box-sizing: border-box;
    }

    .head_wrapper .btn_nav .ico_nav {
        width: 22px;
        height: 16px;
        background-position: -160px 0;
    }

    .head_wrapper .head_menu {
        flex: 1;
        min-width: 0;
    }

    .head_center {
        flex: 1;
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 0 40px;
    }

    .head_center_text {
        font-family: 'Playfair Display', serif;
        font-size: 24px;
        font-weight: 700;
        color: #2c3e50;
        text-align: center;
        letter-spacing: 1px;
        text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
    }

    .head_wrapper .list_menu {
        display: flex;
        margin: 0;
    }

    .head_wrapper .link_menu {
        align-content: center;
    }

    .head_wrapper .list_menu li, .head_wrapper .list_menu li {
        position: relative;
    }



    .head_wrapper .list_menu li:hover .link_menu ~ .sub_menu {
        display: block;
        border-radius: 12px;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, .1);
        border: 1px solid rgba(9, 30, 66, .14);
        overflow-y: auto;
        height: auto;
        padding: 10px 15px;
        width: 100%;
        white-space: nowrap;
    }

    .head_wrapper .list_menu li.on .link_menu {
        font-weight: 500;
        color: #42BC74;
    }

    .head_wrapper .logo {
        align-self: center;
    }

    .head_wrapper .logo img {
        width: 180px;
    }

    .head_wrapper .list_menu .link_menu {
        display: block;
        height: 60px;
        padding: 0 16px;
        font-weight: 700;
        font-size: 15px;
        line-height: 62px;
        color: rgb(0, 0, 0);
    }

    .head_menu .sub_menu {
        display: none;
        position: absolute;
        top: 48px;
        min-width: max-content;
        padding: 20px;
        box-shadow: 0 0 8px 2px rgba(3, 9, 35, 0.15);
        background-color: #fff;
        border-radius: 4px;
        box-sizing: border-box;
        z-index: 10;
        cursor: default;
    }

    .login_menu .head_menu .sub_menu {
        display: none;
        position: absolute;
        top: 48px;
        right: 0;
        min-width: max-content;
        padding: 7px;
        box-shadow: 0 0 8px 2px rgba(3, 9, 35, 0.15);
        background-color: #fff;
        border-radius: 4px;
        box-sizing: border-box;
        z-index: 10;
        cursor: default;
    }

    .head_menu .sub_menu .inner_sub {
        display: flex;
        width: 100%;
    }

    .head_menu .sub_menu .list_sub {
        display: flex;
        flex-wrap: wrap;
        flex-direction: column;
        align-items: flex-start;
        min-width: 145px;
        max-height: 180px;
    }


    .head_menu .sub_menu .list_sub li{
        width: 100%;
    }

    .head_menu .sub_menu .list_sub:has(li:nth-child(6)) {
        min-width: 332px;
    }

    .head_menu .sub_menu .list_sub li.on .link_sub {
        background-color: #F2F6FD;
        font-weight: 500;
        color: #42BC74;
    }

    .head_menu .sub_menu .link_sub {
        display: flex;
        padding: 14px 16px;
        font-size: 14px;
        font-weight: 500;
        line-height: 20px;
        color: rgb(0, 0, 0);
        letter-spacing: -0.3px;
        box-sizing: border-box;
    }


    .head_menu .sub_menu .link_sub:hover {
        font-weight: 700;
        background-color: rgba(9,30,66,.04) !important;
        border: none;
        border-radius: 12px;
    }

    .head_menu .sub_menu .link_sub .ico_outing {
        display: inline-block;
        margin: 4px 0 0 6px;
        background-position: -40px 0;
    }

    .head_wrapper .list_menu li:nth-child(5) .list_sub {
        min-width: 356px;
    }

    .head_wrapper .list_menu li:nth-child(5) .list_sub:has(li:nth-child(11)) {
        min-width: 538px;
    }


    .head_wrapper .list_menu li:hover .link_menu {
        font-weight: 700;
        color: #42BC74;
    }


    .head_wrapper .list_menu.ie_only li:hover .sub_menu {
        display: block;
    }

    .login_menu {
        align-self: baseline;
    }

    .login_menu .list_login {
        display: flex;
    }

    .login_menu .list_login .link_menu {
        display: block;
        height: 34px;
        padding: 0 10px 0;
        margin: 13px 10px 0 0;
        font-weight: 700;
        font-size: 13px;
        line-height: 32px;
        letter-spacing: -0.03em;
        box-sizing: border-box;
        border: none;
        border-radius: 8px;
        color: #222222;
    }

    .login_menu .list_login .profile_menu {

    }

    .login_menu .login_link {
        background-color: #42BC74;
        color: #fff;
    }

    .login_link:hover {
        color: #fff !important;
    }

    .login_menu .list_login .link_menu:hover {
        text-decoration: none;
        font-weight: 700;
    }

    .login_menu .list_login .link_logout {
        margin-right: -20px;
        border-color: transparent;
    }

    .login_menu .list_login .link_logout:hover {
        color: rgb(0, 0, 0);;
        border-color: transparent;
        font-weight: 400;
        text-decoration: underline;
    }

}