@charset "UTF-8";

/********************************************************
■ Header : 헤더 - 기본
********************************************************/
:root {
    --top-height:100px; /* 메뉴높이 */
}

#top { position: fixed; left:0; right:0; top:calc(-1 * var(--top-height)); transition-duration:600ms; z-index: 190; height:var(--top-height); }
.load-on:not(.scrolled) #top,
.scroll-up #top { top:0; transition-duration:1s; }

.is-subpage #top { position:absolute; }
body:not(.m-menu-on) .is-shop #top { background:#fff; transition-delay:800ms; }

#top .top-wrap { position:relative; height:100%; padding:0 var(--top-padding); display:flex; align-items:center; justify-content: space-between; z-index:3; transition-duration:700ms; }

#top .top-wrap .left { width:263px; height:50px; }
#top .top-wrap .left .logo { display:block; height:100%; background: url("../img/logo.png") left center/contain no-repeat; transition-duration: 200ms; }

.no-bg #top .top-wrap .left .logo { background-image: url("../img/logo-white.png"); }


#top .top-wrap .right { position:relative; display: flex; align-items: center; transition-duration:200ms; }
#top .top-wrap .right section { position: relative; margin-right: 20px; padding:20px 0; }
#top .top-wrap .right section:hover { z-index:3; }
#top .top-wrap .right section span[class*="-btn"] { display:block; width:20px; height:20px; background:none no-repeat center/contain; cursor:pointer; filter:brightness(500%) invert(100%); }

.no-bg #top .top-wrap .right section span[class*="-btn"] { filter:brightness(500%); }


#top .top-wrap .right .top-search .search-btn { background-image:url('../img/top-icon-search.png'); }
#top .top-wrap .right .langs .lang-btn { background-image:url('../img/top-icon-language.png'); }
#top .top-wrap .right .langs .sub { width:110px; text-align:left !important; }
#top .top-wrap .right .langs .sub img { width:20px; border:1px solid #ddd; border-radius:3px; }
#top .top-wrap .right .links .member-btn { background-image:url('../img/top-icon-login.png'); }


#top .top-wrap .right .bgm { display:flex; }
#top .top-wrap .right .bgm i { margin-left:5px; cursor:pointer; font-size:20px; }
#top .top-wrap .right .bgm audio { width:0; height:0; }

.no-bg #top .top-wrap .right .bgm { color:#fff; }


#top .top-wrap .top-search-box { align-items: center; display: flex; height: 100%; justify-content: center; }
#top .top-wrap .top-search-box form { border: 1px solid #fff; display: flex; align-items:center; padding: 7px 8px 8px; width: 300px; }
#top .top-wrap .top-search-box form .searchbox { background: transparent; border: 0; flex: 1; }
#top .top-wrap .top-search-box form .searchbox::placeholder { color: #ddd; }
#top .top-wrap .top-search-box form .searchbox:focus { outline: none; }
#top .top-wrap .top-search-box form button { background: transparent; border: 0; color:var(--main-color2); flex: 0 0 25px; margin-left: 5px; }
#top .top-wrap .top-search-box form button:focus { outline: none; }
#top .top-wrap .top-search-box form .x-close { color:#444; font-size:1.8rem; margin-left:5px; cursor:pointer; }




#top .top-wrap .right section .sub { position:absolute; top:100%; left:50%; transform:translateX(-50%); padding:0 25px; background:#fff; border-radius:10px; border:1px solid transparent; opacity:0; visibility:hidden; max-height:0; transition-duration:300ms; }
#top .top-wrap .right section:hover .sub,
#top .top-wrap .right section .sub:hover { max-height:300px; padding:15px 25px; border-color:#ddd; opacity:1; visibility:visible; transition-duration:600ms; }

#top .top-wrap .right section .sub:before { content:""; position:absolute; bottom:calc(100% - 10px); left:50%; transform:translateX(-50%) rotate(45deg); width:20px; height:20px; border-radius:5px 0 0 0; background:#fff; border-left:1px solid #ddd; border-top:1px solid #ddd; }
#top .top-wrap .right section .sub a { display:block; padding:2.5px 0; text-align:center; opacity:0; font-size:.875rem; font-weight:500; transition-duration:400ms; }
#top .top-wrap .right section:hover .sub a { opacity:1; }





/* 상단 우측 메뉴버튼 */
#top .top-menu-btn { width:20px; transition-duration: 300ms; z-index:2; cursor:pointer; }
#top .top-menu-btn div { background:#111; border-radius:99px; height:2px; width:100%; transition-duration: 300ms; }
#top .top-menu-btn div:nth-child(2) { margin: 4px 0; }

body.m-menu-on #top .top-menu-btn div:nth-child(1) { transform: translateY(6px) rotate(45deg) scaleX(1.3); }
body.m-menu-on #top .top-menu-btn div:nth-child(2) { opacity: 0; }
body.m-menu-on #top .top-menu-btn div:nth-child(3) { transform: translateY(-6px) rotate(-45deg) scaleX(1.3); }

.no-bg #top .top-menu-btn div { background:#fff; }


@media (max-width: 1400px) {
	#top .top-wrap .left { width:150px; }
	#top .top-wrap .right section { margin-right:10px; }
}

@media (max-width: 1200px) {
	#top .top-wrap .left { width:120px; }
}

@media (max-width: 1024px) {
    :root {
        --top-height:70px;
    }

    #top { margin-top:-40px; }
    .load-on:not(.scrolled) #top,
    .scroll-up #top { margin-top:0; }
    .scroll-up #top { top:calc(-1 * var(--top-height)); }

}

@media (max-width: 767px) {
	:root {
        --top-height:60px;
    }

	#top .top-wrap .left { height:36px; }


	#top .top-wrap .right section { margin-right:5px; }
    #top .top-wrap .right section span[class*="-btn"] { width:16px; height:16px; }

    #top .top-wrap .right section .sub { padding:0 15px; }
    #top .top-wrap .right section:hover .sub,
    #top .top-wrap .right section .sub:hover { padding:10px 15px; }

	#top .top-wrap .right .langs,
	#top .top-wrap .right .links { display:none; }


    #top .top-wrap .right .bgm i { font-size:16px; }

	#top .top-wrap .right .top-search .sub { position:fixed; left:0; top:0; right:0; transform:translateX(0); padding:10px 15px; z-index:999; border-bottom:1px solid #ddd; border-radius:0; transition-duration:600ms; }
	#top .top-wrap .right .top-search .sub:before { display:none; }

	#top .top-wrap .right .top-search:hover .sub,
	#top .top-wrap .right .top-search .sub:hover { max-height:0; opacity:0; visibility:hidden; }

	#top .top-wrap .top-search-box { opacity:0; }
	#top .top-wrap .top-search-box form { width:100%; }
    #top .top-wrap .top-search-box form .searchbox { height:40px; }
	#top .top-wrap .top-search-box form .btn { display:flex; justify-content:center; align-items:center; }
	#top .top-wrap .top-search-box form .btn i { line-height:0; }

	.on-searchbox #top .top-wrap .right .top-search .sub { max-height:var(--top-all-height); height:100%; opacity:1; visibility:visible; }
	.on-searchbox #top .top-wrap .top-search-box { opacity:1; transition-duration:300ms; }


    #top .top-menu-btn { margin-left:10px; }
}

/********************************************************
■ Menu : 데스크톱 메뉴
********************************************************/
#menu { display: flex; align-items:center; justify-content: center; flex:1; max-width:900px; padding:0 3em; }
body.m-menu-on #menu { opacity:0; visibility: hidden; transition-duration: 0ms; transition-delay: 0ms; }
#menu .nav { display:none; }
#menu .swiper { font-family: var(--font-serif); margin:0; overflow:visible; flex:1; }
#menu .swiper-wrapper { justify-content:space-between; }
#menu .swiper .li { width:auto; }
#menu .swiper .li:hover { z-index:9; }
#menu .swiper .li .a { display:flex; justify-content:center; align-items:center; height:var(--top-height); z-index:2; font-size: 1.25rem; color:#111;font-weight: 600; }

.no-bg #menu .swiper .li .a { color:#fff; }

#menu .sub-wrap { position: absolute;  opacity:0; visibility:hidden; transition-duration:300ms; margin-left:30px; }
#menu .sub-wrap .sub-a { white-space: nowrap; }
#menu .sub-wrap li:hover > .sub-a { color:var(--main-color1); }
#menu li:hover > .sub-wrap { opacity:1; visibility:visible; margin-left:0; }

#menu .depth2 { top:100%; margin-top:-20px; left:50%; transform:translateX(-50%); padding:15px 0; background:var(--main-color3); min-width:150px; }
#menu .depth2 > li { position:relative; padding:0 15px; }
#menu .depth2 > li > .sub-a { display: block; color: #fff; padding: 10px 10px; display:flex; align-items:center; justify-content:space-between; width:100%; }
#menu .depth2 > li > .sub-a span { display: inline-block; border-bottom: 1px solid transparent; }
#menu .depth2 > li > .sub-a i { font-size:6px; }
#menu .depth2 > li:hover > .sub-a { color:var(--main-color1); }
#menu .depth2 > li:hover > .sub-a span,
#menu .depth2 > li.on > .sub-a span { border-color:var(--main-color1); }

#menu .depth3 { top:0; left:100%; padding:10px; min-width:120px; background:#fff; border:1px solid var(--main-color3); box-shadow:0 0 5px rgba(0,0,0,.1); }
#menu .depth3 li { padding:5px 10px; cursor:pointer; }
#menu .depth3 .sub-a { display:inline-block; color:#777; border-bottom:1px solid transparent; }
#menu .depth3 li:hover .sub-a { color:var(--main-color3); border-color:var(--main-color3); }

@media (max-width: 1200px) {
	#menu .swiper .li .a { font-size:1rem; }
}

@media (max-width: 1024px) {
	#menu { position:absolute; left:0; top:100%; right:0; height:40px; background:rgba(120,120,120,.8); max-width:none; padding:0; }
	#menu .nav { display:block; color:#fff; margin:0 10px; cursor:pointer; }
	#menu .nav.swiper-button-disabled { opacity:.5; }

	#menu .swiper { overflow:hidden; }
	#menu .swiper .li .a { color:#fff; height:100%; padding:0 10px; }

	#menu .sub-wrap { display:none; }
}


@media (max-width: 767px) {
	#menu .swiper .li { margin:0 5px; }
}