#header {
    top:0;
    left:0;
    z-index: 100;
    width: 100%;
    background:transparent;
    transition: .5s;
    border-bottom: 1px solid #fff;
    z-index: 999;
}

#header:hover {
    background: rgba(0,0,0,.9);
    border-bottom: 0;
}

#header:hover .menu-d li .submenu {
    top: 70px;
}

.header_on {
    background: rgba(0,0,0,.9) !important;
    border-bottom: 0 !important;
}

.header_on .menu-d li .submenu {
    top: 70px;
}

#header ul {
    display: inline-block;
    vertical-align: middle;
}

.logo-wrap {
    line-height: 70px;
}

.logo-pc {
    width: 120px;
    height: auto;
}

.menu-d li {
    display:inline-block;
    vertical-align: middle;
    width: 180px;
    color: #fff;
    background:transparent;
    font-size: 16px;
    letter-spacing: 0;
    text-align: center;
}

.menu-d > li:hover > a {
    color: #c79860;
}

.menu-d > li > a {
    text-decoration:none;
    color: #fff;
    font-weight: 400;
    line-height: 70px;
}

.menu-d > li:hover .submenu {
    display: block;
}

.submenu {
    display: none;
    width: 180px;
    position: absolute;
    top: 71px;
    text-align: center;
    padding: 10px 0;
    background: #000;
    z-index: 999;
}

.submenu:hover {
    display: block;
}

.submenu a {
    display: block;
    margin: 15px 0;
    color: #fff;
    font-size: 14px;
}

.submenu a:hover {
    color: #c79860;
}



#headerM,#headerInnerWrap{
    height:79px;
    border-bottom:1px solid #999;
    background: #000;
}

#headerM{width: 100%; z-index:99; border-bottom: 1px solid #fff;}
#headerInner{padding:0 4%;}
#headerM .logo{padding:25px 0;}	
#headerM .logo a {display: inline-block;}
#headerM .logo a img {width: 140px; height: auto;}

/* Header :: Open, white */
#headerM.white #headerInnerWrap{background-color:#fff; border-bottom-color: #ccc}
#headerM.open .logo .logo-white,
#headerM.white .logo .logo-white{opacity:1.0;filter:Alpha(opacity=0);}
#headerM.open .logo .logo-green,
#headerM.white .logo .logo-green{opacity:1.0;filter:Alpha(opacity=100);}


#header .logo img {
    display: block;
}


/* -- mobile( ? ~ 767px ) -- */
@media screen and (max-width: 767px) {
    .logo-pc {
        width: 100px;
        height: auto;
    }

    .sec-header {
        display: none;
    }
    /* -------- Header -------- */
    
    #header {
        margin: 0px;
        padding: 0;
        position: relative;
        display: none;
    }
    
    .headerWrap {
        position: fixed;
        height: 70px;
        padding: 10px 4%;
        padding-top: calc(10px + env(safe-area-inset-top));
        padding-top: calc(10px + constant(safe-area-inset-top));
        border-bottom: 1px solid #fff;
        z-index: 999;
        top: 0;
        left: 0%;
        right: 0%;
        background: transparent;
        display: flex;
        align-items: center;
    }
    
    .headerWrap div {
        display: inline-block;
        vertical-align: middle;
    }
    
    .headerWrap.on {
        background: #000;
        border-bottom: 1px solid #fff;
    }

    .headerWrap.on .top_right .nav-open-btn .line {
        background: #fff;
    }
    
    .headerWrap.on2 {
        background: #000;
        border-bottom: 1px solid #fff;
    }
    
    .headerWrap.on2 .top_right .nav-open-btn .line {
        background: #fff;
    }

    .top_left {
        width: 50%;
    }
    
    .top_right {
        justify-content: right;
        width: 50%;
    }
    
    .top_right div a {
        float: left;
        position: relative;
        display: block;
        margin-top: -3%;
        z-index: 9998;
        height: 18px;
    }
    
    .top_cart {
        margin-right: 10px;
    }
    
    .fix {
        position: fixed;
    }
    
    .headerWrap .top_logo a img {
        height: 19px;
        margin-top: 6px;
    }
    
    
    /* -------- Header :: 네비게이션 오픈 버튼 -------- */
    
    .nav-open-btn {
        float: right;
        position: relative;
        display: block;
        z-index: 9998;
        height: 18px;
        border: none;
        background: transparent;
    }
    
    .nav-open-btn .line {
        display:block;
        width: 24px; 
        height:2px;
        background-color:#fff; 
        margin: 6px 0; 
        -webkit-transition: all 0.3s ease-in-out;
        -o-transition: all 0.3s ease-in-out;
        transition: all 0.3s ease-in-out;
    }
    
    .nav-open-btn.active{
        background:transparent !important;
    }
    
    .nav-open-btn .line:nth-child(1) {
        margin-top: 0;
        }
    
    .nav-open-btn.active .line {
        background-color:#fff; 
        border-radius: 100px;
    }
    
    .nav-open-btn.active .line:nth-child(2), .nav-open-btn.active .line:nth-child(4){
        opacity: 0;
    }
    
    .nav-open-btn.active .line:nth-child(1){
        -webkit-transform: translateY(8px) rotate(45deg);
        -ms-transform: translateY(8px) rotate(45deg);
        -o-transform: translateY(8px) rotate(45deg);
        transform: translateY(8px) rotate(45deg);
    }
    
    .nav-open-btn.active .line:nth-child(3){
        -webkit-transform: translateY(-8px) rotate(-45deg);
        -ms-transform: translateY(-8px) rotate(-45deg);
        -o-transform: translateY(-8px) rotate(-45deg);
        transform: translateY(-8px) rotate(-45deg);
    }
    
    
    
    /* 아코디언 3단 메뉴 */
    
    .navTitle {
        color: #008ce4;
        font-weight: bold;
    }
    
    #lnb {
        position: relative;
        width: 100%;
        margin-top: 20px;
    } 
    
    #lnb > ul > li > p {
        vertical-align: middle;
        padding: 15px 10%;
        font-size: 16px;
        width: 100%;
        color: #fff;
    }
    
    .menuArrow {
        width: 25.6%;
        padding: 15px 0;
        background: url("../../images/nav_arrowOn.png") no-repeat 90% 22px;
        background-size: 14px auto;
    }
    
    #lnb > ul > li.on > p.menuArrow {
        font-weight:bold;
        display: block;
        color: #c79860; 
        background: url("../../images/nav_arrowOff.png") no-repeat 90% 22px;
        background-size: 14px auto;
    } 
    
    .menuArrow2 {
        width: 100%;
        display: block;
        color: #fff;
        padding: 10px 3%;
        background: url("/common/image/new/nav_arrow.png") no-repeat 90% 22px;
        background-size: auto 16px;
    }
    
    #lnb > ul > li ul {
        display: none;
    } 
    
    #lnb > ul > li > ul > li {
        padding: 0 10%;
    }

    #lnb > ul > li > ul > li:first-child {
        padding-top: 10px;
    }

    #lnb > ul > li > ul > li:last-child {
        padding-bottom: 10px;
    }
    
    #lnb > ul > li > ul > li > p.menuArrow {
        font-size: 14px;
        background: url('/common/image/new/nav_arrowOn.png') no-repeat 90% 22px;
        background-size: 14px auto;
        width: 25.6%;
    } 
    
    #lnb > ul > li > ul > li.on > p.menuArrow {
        background: url('/common/image/new/nav_arrowOff.png') no-repeat 90% 22px; 
        background-size: 14px auto;
    }

    #lnb > ul > li > ul > li:last-child {
        border-bottom: 1px solid #ccc;
    }

    #lnb > ul > li > ul > li:first-child {
        border-top: 1px solid #ccc;
    }
    
    #lnb > ul > li > ul > li > a {
        color: #ccc;
        display: inline-block;
        vertical-align: middle;
        padding: 15px 0;
        font-size: 14px;
    }

    #lnb > ul > li > ul li ul {
        display: none;
        padding-bottom: 8px;
    }
    
    #lnb > ul > li > ul > li > ul > li:first-child > a {
        padding-top: 30px;
    } 
    
    #lnb > ul > li > ul > li > ul > li:last-child > a {
        padding-bottom: 30px;
    } 
    
    #lnb > ul > li > ul > li > ul > li > a {
        display: block;
        padding: 15px 7%;
        color: #999;
        font-size: 14px;
    } 

    
    /* mobile M */
    
    .gnb-overlay-bg-m{
        display:none;
        position: fixed;
        top: calc(0vh + 70px);
        left:0; 
        width:100%;
        background:rgba(0,0,0,0.4);
        z-index:101;
        --safe-area-inset-top: env(safe-area-inset-top);
        --safe-area-inset-bottom: env(safe-area-inset-bottom);
        height: calc(100vh - (var(--safe-area-inset-top) + var(--safe-area-inset-bottom)) - 70px);
    }	
    
    #gnbM{ 
        overflow-y:scroll; 
        position: fixed;
        top: calc(env(safe-area-inset-top) + 71px);
        right:-100%;
        width: 60%;
        background-color:#000; 
        z-index:10000; 
        transition:all 0.3s cubic-bezier(0.47, 0, 0.745, 0.715); 
        -webkit-transition:all 0.3s cubic-bezier(0.47, 0, 0.745, 0.715);  
        -oz-transition:all 0.3s cubic-bezier(0.47, 0, 0.745, 0.715); 
        -ms-transition:all 0.3s cubic-bezier(0.47, 0, 0.745, 0.715);		/* gnb OPEN 속도 */
        visibility:hidden;
        --safe-area-inset-top: env(safe-area-inset-top);
        --safe-area-inset-bottom: env(safe-area-inset-bottom);
        height: calc(100vh - (var(--safe-area-inset-top) + var(--safe-area-inset-bottom)) - 70px);
    }
    
    #gnbM.open{
        right:0px; 
        visibility:visible;
    }
    
    
    .mnavBg {
        width: 100%;
        position: absolute;
        bottom: 0;
        right: -80px;
        opacity: .7;
    }
}

/* -- mobile( ? ~ 767px ) -- */
@media screen and (max-width: 767px) {
    .headerWrap {
        height: 60px;
    }

    .gnb-overlay-bg-m {
        top: calc(0vh + 60px);
        height: calc(100vh - (var(--safe-area-inset-top) + var(--safe-area-inset-bottom)) - 60px);
    }

    #gnbM {
        height: calc(100vh - (var(--safe-area-inset-top) + var(--safe-area-inset-bottom)) - 60px);
        top: calc(env(safe-area-inset-top) + 61px);
    }
}

/* -- tablet( 768px ~ 1339px ) -- */
@media screen and (min-width: 768px) and (max-width: 1339px) {
    .sec-header {
        display: none;
    }
    /* -------- Header -------- */
    
    #header {
        margin: 0px;
        padding: 0;
        position: relative;
        display: none;
    }
    
    .headerWrap {
        position: fixed;
        height: 70px;
        padding: 10px 4%;
        padding-top: calc(10px + env(safe-area-inset-top));
        padding-top: calc(10px + constant(safe-area-inset-top));
        border-bottom: 1px solid #fff;
        z-index: 999;
        top: 0;
        left: 0%;
        right: 0%;
        background: transparent;
        display: flex;
        align-items: center;
    }
    
    .headerWrap div {
        display: inline-block;
        vertical-align: middle;
    }
    
    .headerWrap.on {
        background: #000;
        border-bottom: 1px solid #fff;
    }
    
    .headerWrap.on .top_left .logo {
        background: url('/common/image/new/logo-b.png') no-repeat 50%; 
        background-size: cover;
    }
    
    .headerWrap.on .top_right .nav-open-btn .line {
        background: #fff;
    }
    
    .headerWrap.on2 {
        background: #000;
        border-bottom: 1px solid #fff;
    }
    
    .headerWrap.on2 .top_right .nav-open-btn .line {
        background: #fff;
    }

    .top_left {
        width: 50%;
    }
    
    .top_right {
        justify-content: right;
        width: 50%;
    }
    
    .top_right div a {
        float: left;
        position: relative;
        display: block;
        margin-top: -3%;
        z-index: 9998;
        height: 18px;
    }
    
    .top_cart {
        margin-right: 10px;
    }
    
    .fix {
        position: fixed;
    }
    
    .headerWrap .top_logo a img {
        height: 19px;
        margin-top: 6px;
    }
    
    
    /* -------- Header :: 네비게이션 오픈 버튼 -------- */
    
    .nav-open-btn {
        float: right;
        position: relative;
        display: block;
        z-index: 9998;
        height: 30px;
        border: none;
        background: transparent;
    }
    
    .nav-open-btn .line {
        display:block;
        width: 28px; 
        height:2px;
        background-color:#fff; 
        margin: 7px 0; 
        -webkit-transition: all 0.3s ease-in-out;
        -o-transition: all 0.3s ease-in-out;
        transition: all 0.3s ease-in-out;
    }
    
    .nav-open-btn.active{
        background:transparent !important;
    }
    
    .nav-open-btn .line:nth-child(1) {
        margin-top: 0;
        }
    
    .nav-open-btn.active .line {
        background-color:#fff; 
        border-radius: 100px;
    }
    
    .nav-open-btn.active .line:nth-child(2), .nav-open-btn.active .line:nth-child(4){
        opacity: 0;
    }
    
    .nav-open-btn.active .line:nth-child(1){
        -webkit-transform: translateY(10px) rotate(45deg);
        -ms-transform: translateY(10px) rotate(45deg);
        -o-transform: translateY(10px) rotate(45deg);
        transform: translateY(10px) rotate(45deg);
    }
    
    .nav-open-btn.active .line:nth-child(3){
        -webkit-transform: translateY(-8px) rotate(-45deg);
        -ms-transform: translateY(-8px) rotate(-45deg);
        -o-transform: translateY(-8px) rotate(-45deg);
        transform: translateY(-8px) rotate(-45deg);
    }
    
    
    
    /* 아코디언 3단 메뉴 */
    
    .navTitle {
        color: #008ce4;
        font-weight: bold;
    }
    
    #lnb {
        position: relative;
        width: 100%;
        margin-top: 20px;
    } 
    
    #lnb > ul > li > p {
        vertical-align: middle;
        padding: 15px 10%;
        font-size: 16px;
        width: 100%;
        color: #fff;
    }
    
    .menuArrow {
        width: 25.6%;
        padding: 15px 0;
        background: url("../../images/nav_arrowOn.png") no-repeat 90% 22px;
        background-size: 14px auto;
    }
    
    #lnb > ul > li.on > p.menuArrow {
        font-weight:bold;
        display: block;
        color: #c79860; 
        background: url("../../images/nav_arrowOff.png") no-repeat 90% 22px;
        background-size: 14px auto;
    } 
    
    .menuArrow2 {
        width: 100%;
        display: block;
        color: #fff;
        padding: 10px 3%;
        background: url("/common/image/new/nav_arrow.png") no-repeat 90% 22px;
        background-size: auto 16px;
    }
    
    #lnb > ul > li ul {
        display: none;
    } 
    
    #lnb > ul > li > ul > li {
        padding: 0 10%;
    }
    
    #lnb > ul > li > ul > li > p.menuArrow {
        font-size: 14px;
        background: url('/common/image/new/nav_arrowOn.png') no-repeat 90% 22px;
        background-size: 14px auto;
        width: 25.6%;
    } 
    
    #lnb > ul > li > ul > li.on > p.menuArrow {
        background: url('/common/image/new/nav_arrowOff.png') no-repeat 90% 22px; 
        background-size: 14px auto;
    }

    #lnb > ul > li > ul > li:last-child {
        border-bottom: 1px solid #ccc;
    }

    #lnb > ul > li > ul > li:first-child {
        border-top: 1px solid #ccc;
    }
    
    #lnb > ul > li > ul > li > a {
        color: #ccc;
        display: inline-block;
        vertical-align: middle;
        padding: 15px 0;
        font-size: 14px;
    }

    #lnb > ul > li > ul li ul {
        display: none;
        padding-bottom: 8px;
    }
    
    #lnb > ul > li > ul > li > ul > li:first-child > a {
        padding-top: 30px;
    } 
    
    #lnb > ul > li > ul > li > ul > li:last-child > a {
        padding-bottom: 30px;
    } 
    
    #lnb > ul > li > ul > li > ul > li > a {
        display: block;
        padding: 15px 7%;
        color: #999;
        font-size: 14px;
    } 

    
    /* mobile M */
    
    .gnb-overlay-bg-m{
        display:none;
        position: fixed;
        top: calc(0vh + 70px);
        left:0; 
        width:100%;
        background:rgba(0,0,0,0.4);
        z-index:101;
        --safe-area-inset-top: env(safe-area-inset-top);
        --safe-area-inset-bottom: env(safe-area-inset-bottom);
        height: calc(100vh - (var(--safe-area-inset-top) + var(--safe-area-inset-bottom)) - 70px);
    }	
    
    #gnbM{ 
        overflow-y:scroll; 
        position: fixed;
        top: calc(env(safe-area-inset-top) + 71px);
        right:-100%;
        width: 40%;
        background-color:#000; 
        z-index:10000; 
        transition:all 0.3s cubic-bezier(0.47, 0, 0.745, 0.715); 
        -webkit-transition:all 0.3s cubic-bezier(0.47, 0, 0.745, 0.715);  
        -oz-transition:all 0.3s cubic-bezier(0.47, 0, 0.745, 0.715); 
        -ms-transition:all 0.3s cubic-bezier(0.47, 0, 0.745, 0.715);		/* gnb OPEN 속도 */
        visibility:hidden;
        --safe-area-inset-top: env(safe-area-inset-top);
        --safe-area-inset-bottom: env(safe-area-inset-bottom);
        height: calc(100vh - (var(--safe-area-inset-top) + var(--safe-area-inset-bottom)) - 70px);
    }
    
    #gnbM.open{
        right:0px; 
        visibility:visible;
    }
    
    
    .mnavBg {
        width: 100%;
        position: absolute;
        bottom: 0;
        right: -80px;
        opacity: .7;
    }
}

/* -- desktop( 1340px ~ ? ) -- */
@media screen and (min-width: 1340px) {
    .headerM {
        display: none;
    }

    #header {
        display: block;
    }
}