.lnb_select {
    display: none;
}

#wrap_lnb {
    float: left;
    width: 100%;
    margin-top: -62px;
    position: relative;
    z-index: 999;
}

.lnb {
    text-align: center;
    max-width: 1279px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    background: #fff;
    width: 100%;
}

.lnb li {
    display: inline-block;
    position: relative;
    width: 100%;
}

/*.lnb li:not(:first-child)::after {position:absolute; top:50%; transform:translateY(-50%); width:4px; height:4px; background:#fff; content:''; left:-2px;}*/
.lnb li a {
    display: block;
    line-height: 58px;
    font-size: 18px;
    color: #666666;
    font-weight: 400;
    border: 1px solid #eee;
    border-left: 0;
    box-sizing: border-box;
}

.lnb li:first-child a {
    border-left: 1px solid #eee;
}

.lnb li a.on {
    background: #5d3cb4;
    color: #fff;
    font-weight: 500;
    border: 1px solid #5d3cb4;
}




@media screen and (max-width:767px) {
    /* .lnb {
        display: none !important;
    } */

    #wrap_lnb {
        background: none;
        margin-top: -12.0773vw;
    }

    .lnb_select {
        display: block;
        width: 100%;
        height: 12.0773vw;
        font-size: 3.6vw;
        padding-left: 6vw;
        box-sizing: border-box;
        border-radius: 0px;
        color: #fff;
        border: 0;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        background: #5d3cb4 url('/hwagae/main/images/common/select_bt.png') no-repeat right 6vw center;
        margin-bottom: 0;
        background-size: 3vw auto;
    }

    .lnb_select::-ms-expand {
        display: none;
    }
}



#wrap_lnb {
    position: relative;
    width: 100%;
    margin-top: -60px;
    z-index: 999;
}

#wrap_lnb>div {
    width: 1200px;
    margin: 0 auto;
    background: rgba(36, 36, 36, 0.9);
    height: 60px;
}

#wrap_lnb>div::after {
    display: block;
    content: "";
    clear: Both;
}

.lnb_home {
    float: left;
    margin: 20px 15px 0 22px;
}

.lnb_select {
    float: left;
    position: relative;
    width: 200px;
    padding-left: 0 !important;
}

.lnb_select::before {
    position: absolute;
    content: "";
    top: 18px;
    left: 0;
    width: 1px;
    height: 25px;
    background: rgba(221, 221, 221, 0.4);
}

.lnb_select:last-child::after {
    position: absolute;
    content: "";
    top: 18px;
    right: 0;
    width: 1px;
    height: 25px;
    background: rgba(221, 221, 221, 0.4);
}

.lnb_select>h3,
.lnb_select>button {
    width: 100%;
    position: relative;
    line-height: 60px;
    padding-left: 18px;
    box-sizing: border-box;
    cursor: pointer;
    color: #fff;
    font-weight: 400;
    background: none;
    border: 0;
    text-align: left;
}

.lnb_select:last-child>h3,
.lnb_select:last-child>button {
    font-weight: 600;
}

.lnb_select>ul {
    display: none;
    position: absolute;
    top: 60px;
    width: 100%;
    background: #432986;
}

.lnb_select>ul li {
    color: #fff;
    box-sizing: border-box;
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
}

.lnb_select>ul li a {
    color: #fff;
    display: block;
    box-sizing: border-box;
}

.lnb_select>ul li:hover,
.lnb_select>ul li.on {
    background: #744cdb;
}

.lnb_select>ul li:first-child {
    border-top: 0;
}

@media screen and (max-width: 1260px) {
    #wrap_lnb>div {
        width: 100%;
    }
}

@media screen and (max-width: 767px) {
    .lnb_home {
        display: none;
    }

    .lnb_select {
        width: 100%;
    }

    .lnb_select:not(:last-child) {
        display: none;
    }

    .lnb_select:last-child::after,
    .lnb_select::before {
        display: none;
    }

    #wrap_lnb {
        margin-top: -12vw;
    }

    #wrap_lnb>div {
        height: 12vw;
    }

    .lnb_select>h3,
    .lnb_select>button {
        line-height: 12vw;
        padding-left: 6vw;
        font-size: 3.8vw;
    }

    .lnb_select>h3::after,
    .lnb_select>button::after {
        right: 6vw;
        width: 1.6vw;
        height: 1.6vw;
    }

    .lnb_select>ul {
        top: 12vw;
    }

    .lnb_select>ul li {
        padding: 2.5vw 6vw;
    }
}