/* header */
#header{
    width: 100%;
}

#header .all_center{
    position: relative;
    height: 150px;
}

#header h1{
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

#header h1 a{
    display: flex;
    align-items: center;
    justify-content: center;
}

.main_search{
    width: 580px;
    height: 50px;
    border: 3px solid #333;
    box-sizing: border-box;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
}

.main_search input{
    width: 530px;
    height: 100%;
    position: absolute;
    left: 0;
}

.main_search i{
    width: 50px;
    height: 100%;
    position: absolute;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
}

ul.member_menu{
    display: flex;
    align-items: center;
    position: absolute;
    right: 0;
    top: 10px;
    color: #cdcdcd;
    font-size: 14px;
}

ul.member_menu li{
    color: #777;
    font-size: 16px;
    margin-left: 15px;
    cursor: pointer;
}

ul.member_menu li:not(:last-child){
    margin-right: 15px;
}


/* header menu */
#gnb{
    width: 100%;
    height: 100px;
    background-image: url(/resources/images/index/main_menu_bg.png);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

#gnb .all_center{
    display: flex;
    justify-content: space-between;
    height: 100%;
}

ul.left_menu{
    width: 690px;
    height: 100%;
    display: flex;
    align-items: center;
}

ul.left_menu>li{
    width: 16.66%;
    height: 100%;
    position: relative;
    cursor: pointer;
    z-index: 99;
}

ul.left_menu>li>a{
    display: block;
    width: 100%;
    height: 100%;
    font-size: 20px;
    color: #fff;
    text-align: center;
    line-height: 125px;
}

ul.right_menu{
    width: 500px;
    height: 100%;
    display: flex;
    align-items: center;
}

ul.right_menu>li{
    width: 23.33%;
    height: 100%;
    position: relative;
    cursor: pointer;
    z-index: 99;
}

ul.right_menu>li:first-child,
ul.right_menu>li:nth-child(2){
    width: 15%;
}

ul.right_menu>li>a{
    display: block;
    width: 100%;
    height: 100%;
    color: #333;
    font-weight: 500;
    text-align: center;
    line-height: 110px;
}

ul.sub_menu{
    width: 100%;
    background-color: #fff;
    text-align: center;
    padding: 5px;
    box-sizing: border-box;
    border: 1px solid #333;
    display: none;
}

ul.sub_menu li{
    font-size: 14px;
    letter-spacing: -1px;
    padding: 8px 0;
    background-color: #fff;
}


/* mobile header */
#m_header{
    display: none;
    width: 100%;
}

.m_header_box{
    width: 100%;
    background-color: #fff;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 8px 10px;
    box-sizing: border-box;
}

.m_header_box i{
    font-size: 28px;
}

.m_header_box a{
    width: 110px;
    display: block;
}

.m_header_box a img{
    width: 100%;
    height: auto;
}

.m_header_search{
    width: 100%;
    background-color: #111;
    padding: 10px;
    box-sizing: border-box;
}

.m_search{
    width: 100%;
    height: 45px;
    position: relative;
}

.m_search input[type='text']{
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    border: 0;
}

.m_search i{
    position: absolute;
    right: 0;
    background-color: #111;
    color: #fff;
    width: 45px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
}

/* .m_header_menu{
    width: 100%;
    background-color: #fff;
}

.m_header_menu ul{
    width: 100%;
    display: -webkit-inline-box;
    overflow: auto;
    padding: 8px 0;
}

.m_header_menu ul li{
    padding: 3px 0;
    margin: 0 20px;
}

.m_header_menu ul li a{
  font-size: 18px;
  font-family: 'AppleSDGothic';
  color: #000;
}

.m_header_menu ul li.m_on a{
    color: #ef1616;
    border-bottom: 2px solid #ef1616;
    font-weight: bold;
    font-family: 'AppleSDGothic';
} */




.snbSwiper {
    box-sizing: border-box;
    background: #fff;
    padding: 8px 0;
}
.swiper-slide {
    width: auto !important;
}
.swiper-slide a {
    display: block;
    text-align: center;
}
.swiper-slide .text {
    position: relative;
    display: inline-block;
    white-space: nowrap;

    font-size: 18px;
    font-family: 'AppleSDGothic';
    color: #000;
    padding: 3px 0;
    margin: 0 20px;
}

.on .text {
    color: #ef1616;
    font-weight: bold;
}
.on .text:after {
    content: '';
    display: block;
    border-bottom: 2px solid #ef1616;
}










.m_menu_box_bg{
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 9991;
    display: none;
}

.m_menu_box{
    width: 310px;
    height: 100%;
    background-color: #e6e7e9;
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
    overflow: auto;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9992;
    margin-left: -320px;
}

.m_menu_box01{
    width: 100%;
}

.login_confirm01{
    width: 100%;
    background-color: #111;
    padding: 10px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    color: #fff;
}

.login_confirm01 i{
    margin-right: 8px;
}

.login_confirm02{
    width: 100%;
    background-color: #111;
    padding: 10px;
    box-sizing: border-box;
}

.m_level{
    width: 100%;
    display: flex;
    align-items: center;
    color: #fff;
}

.m_level i{
    margin-right: 8px;
    color: #d9bc75;
}

.m_level p{
    font-size: 14px;
    font-weight: 500;
}

.login_confirm02>p{
    color: #fff;
    margin: 8px 0 0 25px;
}

.m_user_category{
    width: 95%;
    background-color: #fff;
    margin: 10px auto 0;
}

.m_user_category ul{
    width: 100%;
    display: flex;
}

.m_user_category ul li{
    width: 33.33%;
    padding: 5px;
    box-sizing: border-box;
    text-align: center;
}

.m_user_category ul li:nth-child(2){
    border-left: 1px solid #e6e7e9;
    border-right: 1px solid #e6e7e9;
}

.m_user_category ul li i{
    font-size: 30px;
    display: block;
}

.m_user_category ul li span{
    display: block;
    font-size: 14px;
    margin-top: 5px;
}

.m_menu_box02{
    width: 95%;
    margin: 10px auto 0;
}

.m_title{
    width: 100%;
    background-color: #111;
    color: #d9bc75;
    font-size: 14px;
    padding: 8px 5px;
    box-sizing: border-box;
}

ul.menu{
    width: 100%;
    background-color: #fff;
    margin-bottom: 10px;
}

ul.menu>li{
    width: 100%;
    padding: 20px 10px 0;
    box-sizing: border-box;
}

ul.menu>li:last-child{
    padding-bottom: 20px;
}

.m_menu_title{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.m_menu_title a{
    width: 80%;
    font-size: 14px;
    color: #111;
    font-weight: 500;
}

.m_menu_title i{
    font-size: 18px;
    color: #000;
    z-index: 99;
}

ul.m_sub{
    width: 100%;
}

ul.m_sub li{
    width: 100%;
    padding-top: 10px;
}

ul.m_sub li a{
    display: block;
    width: 100%;
    height: 100%;
    color: #333;
    font-size: 14px;
}

.m_menu_box03{
    width: 100%;
    margin: 0 auto;
    background-color: #111;
    color: #fff;
}

.m_logout,
.m_join{
    width: 100%;
    padding: 8px 0;
    text-align: center;
}

.m_menu_box button{
    position: absolute;
    top: 0;
    right: 0;
    color: #fff;
    font-size: 20px;
    font-family: 'GmarketSansMedium';
    padding: 10px;
    background-color: transparent;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.6);
    z-index: 9992;
}

























/* mobile */
@media screen and (max-width: 767px){
    #header{
        display: none;
    }

    #gnb{
        display: none;
    }

    #m_header{
        display: block;
    }

    .m_header_search{
        padding: 5px;
    }

    .m_search{
        height: 40px;
    }

    /* .m_header_menu ul li{
        padding: 3px 0;
        margin: 0 10px;
        font-size: 16px;
    } */

    .swiper-slide .text {
        position: relative;
        display: inline-block;
        white-space: nowrap;
        font-size: 16px;
        font-family: 'AppleSDGothic';
        color: #000;
        padding: 3px 0;
        margin: 0 10px;
    }

    .on .text {
        color: #ef1616;
        font-weight: bold;
    }

    .on .text:after {
        content: '';
        display: block;
        border-bottom: 2px solid #ef1616;
    }
}























/* tablet */
@media screen and (min-width: 768px) and (max-width: 1024px){
    #header{
        display: none;
    }

    #gnb{
        display: none;
    }

    #m_header{
        display: block;
    }

}
