@charset "UTF-8";

/*S : 웹 시작*/
#pc_header{position:relative;}
.header-con {position: relative; top: 0; z-index: 99; width: 100%;  margin: 0 auto;  border-bottom:1px solid #ddd;}
.header-con > .fix-layout{display:flex; align-items:center;}
.header-con h1 a {display: flex;}
.header-con nav{flex:1;}


/*GNB Menu Style*/
#gnb {float: none;  margin-left: auto; margin-right: 0; z-index:1; text-align:center;}
#gnb > ul {padding: 0; margin: 0;}
#gnb > ul:after{content:""; display:block; clear:both;}
#gnb > ul > li {float:left; position:relative; width: calc(100% / 9); text-align: center;}
#gnb > ul > li > a {width:100%; z-index:10; position: relative; font-size: 18px; text-align: center; display: inline-block; color: #666; font-weight: 500; letter-spacing: -1px;}
#gnb > ul > li > a span {color:#222; word-break:keep-all; font-weight:600; font-size:20px; line-height:100px;}
#gnb > ul > li > a:after {position:absolute; left:50%; content:""; display:block; bottom:0; right:0; width:0;  opacity:0.2;}
#gnb > ul > li.on > a:after {bottom: 0;left: 0; width:100%; height: 4px; background: #ffc952; content: ""; opacity: 1; display: block; transition: all .3s ease;}
#gnb > ul > li.on > a:before {content:""; display:block; background-color:#121212; left:0; bottom:0; position:absolute;}
#gnb > ul > li.on > a, #gnb li a:hover {color: #fc9b5c;}
#gnb .open.has-sub-menu:after {content: "";}

/*gnb-sub-box*/
.gnb-sub-wrapper{position:absolute; top:101px; padding:40px 0; background:#fff; left:0; width:100%; display:none; border-bottom:1px solid #ddd;}
.gnb-sub-wrapper > .fix-layout{padding:0 60px;}
.gnb-sub-wrapper .gnb-sub-box{float:left; width:calc(100% / 9);}
.gnb-sub-wrapper .gnb-sub-box .gnb-title{font-size:22px; font-weight:bold; margin-bottom:30px;}
.gnb-sub-wrapper .gnb-sub-box .gnb-sub > li{margin-bottom:6px;}
.gnb-sub-wrapper .gnb-sub-box .gnb-sub > li > a{color:#363636; font-weight:500; position:relative; word-break: keep-all; display:inline-block; padding:4px;}
.gnb-sub-wrapper .gnb-sub-box .gnb-sub > li > a:hover{color:#0078fe;}
.gnb-sub-wrapper .gnb-sub-box .gnb-sub > li > a:after{content:""; display:block; position:absolute; left:50%; width:0; bottom:0; background:#0078fe; transition:all .3s; height:1px; transform:translateX(-50%);}
.gnb-sub-wrapper .gnb-sub-box .gnb-sub > li > a:hover:after{width:100%;}
/*3뎁스부터 안보임*/
.gnb-sub-wrapper .gnb-sub-box .gnb-sub > li > ul{display:none;}

/*util-menu Style*/
.header-con .util-menu{display:flex; gap:20px; align-items:center;}
.header-con .util-menu > ul{display:flex; gap:4px;}
.header-con .util-menu .login-btn img{display:block; margin:0 auto;}
.header-con .util-menu .login-btn span{display:block; padding:4px 6px; border-radius:6px; background:#ff6769; color:#fff; font-size:14px; margin-top:5px;}

.header-con .util-menu .m-open{display:none; }

/*Mobile-memnu Style*/
#m_gnb {display: none;}
#m_header {left:-100%; transition: all .5s;}
#m_header .side {left: 0; display: none; z-index: 101; position: relative;}
/*E : 웹 끝*/

/***********
반응형시작
***********/
@media all and (max-width: 1470px) {
		.header-con h1 a img{width:150px;}
		#gnb > ul > li > a span{font-size:18px;}
		.gnb-sub-wrapper{padding:20px;}
		.gnb-sub-wrapper .gnb-sub-box .gnb-title{font-size:18px; margin-bottom:20px;}
		.gnb-sub-wrapper > .fix-layout{padding:0 12px;}
}
@media all and (max-width: 1300px) {
        #gnb > ul > li > a span{font-size:16px;}
}
@media all and (max-width: 1200px) {
	.header-con h1 a img{width:auto;}
    .header-con{padding-top:20px; padding-bottom:20px;}
    .header-con .util-menu .m-open{display: block;}
    .header-con .util-menu .siteMap{display: none;}
    #tnb,
    #gnb {display: none; width: 320px;}
    
    #m_header{position:absolute; top: 0; left: -100%; width: 100%; background-color: rgba(0,0,0,.3); z-index: 9999; }
    #m_header .side{display:block; width:100%; position:absolute; background:#fff; min-height:100vh; z-index: 1;}
    #m_header .side-close{position:absolute; top:16px; right:16px;}
    
    /*모바일 메뉴 스타일*/
    #m_header .side:after{content:""; display:block; width:150px; height:100%; background:#eee; position: absolute;
        top: 0px;}
    #m-gnb{position:relative; z-index:1;}
    #m-gnb  > ul {position:relative; margin-top:30px;}
    #m-gnb .gnb-title{display:none;}
    /*모바일 메뉴 > 원뎁스*/
    #m-gnb  > ul > li{width:170px; }
    #m-gnb  > ul > li > a{font-family:'Gmarket'; padding:12px 4px 12px 22px; display:block; position:relative;}
    #m-gnb  > ul > li.on > a:after{z-index:-1; content:""; display:block; width:150px; height:100%; background:#0e2265; position:absolute; left:10px; top:0; border-radius:0 30px 30px 0;}
    #m-gnb  > ul > li > a > span{font-family:'Gmarket'; font-weight:300;}
    #m-gnb  > ul > li.on > a > span{color:#fff; }
    /*모바일 메뉴 > 서브 뎁스*/
    #m-gnb .gnb-sub-box{position:absolute; left:150px; top:0; position:absolute; padding:10px 20px; display: none;}
    #m-gnb .gnb-sub-box.show{display:block !important; width: calc(100% - 170px);}
    #m-gnb .gnb-sub-box .gnb-sub > li{margin-bottom:2px;}
    #m-gnb .gnb-sub-box .gnb-sub > li > a{font-family:'Gmarket'; display:block; padding:4px; font-weight:300;}
    #m-gnb .gnb-sub-box .gnb-sub .gnb-sub-depth{padding-left:20px; margin-top: 10px;}
    #m-gnb .gnb-sub-box .gnb-sub .gnb-sub-depth li {margin-bottom:2px;}
    #m-gnb .gnb-sub-box .gnb-sub .gnb-sub-depth li a{font-family:'Gmarket'; font-size:15px; font-weight:300; color:#929292;}
 }

@media all and (max-width: 500px) {
        .header_con .util-menu .bnue-btn{display:none;}
        .header-con h1 a img{width:180px;}
        .header-con .util-menu{gap:10px;}
}

.hd-search-box{position:absolute; top:100%; left:50%; transform:translateX(-50%); z-index:2; width:100%; background-color:#f4f7fa; height:190px; display:none;}
.hd-search-box.open{display:block;}
.hd-search-box form{    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;}
    .hd-search-box fieldset{
        display: block;
    height: 80px;
    max-width: 800px;
    width: 100%;
    position: relative; border:none;}
    .hd-search-box #searchText{
        display: block;
    width: 100%;
    height: 100%;
    padding: 0 45px 0 34px;
    margin: 0;
    float: none;
    line-height: 1.3;
    font-size: 20px;
    color: #101010;
    background-color: #fff;
    border-radius: 8px;
    border: 1px solid #ededed;
    }
.hd-search-box input[type="submit"]{    
    position: absolute;
    right: 35px;
    top: 50%;
    transform: translateY(-50%);
        background-image:url(/resources/custom/images/gs/common/ico-search.png);
    width: 25px;
    height: 25px;
    background-repeat: no-repeat;
    background-position: center;
    font-size: 0;
    background-color: rgba(0, 0, 0, 0);
    margin: 0;
    padding: 0;
    transition: all .3s;
    background-size: cover;
}
.hd-search-box .search-close{position: absolute;
    left: calc(50% + 494px);
    top: 50%;
    width: 40px;
    height: 40px;
    background-repeat: no-repeat;
    background-position: center;
    background-size:40px 40px;
    background-image:url(/resources/custom/images/gs/common/close.png);
    background-color: rgba(0, 0, 0, 0);
    border: none;
    padding: 0;
    font-size: 0;
    margin-top: -20px;
    transition: all .3s;
    background-size: 24px auto;
    }
    
    @media all and (max-width:1200px){
     .hd-search-box form{justify-content: left; padding-left:12px;}
    .hd-search-box fieldset{    width: calc(100% - 95px); max-width:unset;}
    .hd-search-box .search-close{right:30px; left:auto;}
    }
    @media all and (max-width:500px){
    .hd-search-box form{padding: 0 12px;}
    .hd-search-box #searchText{padding: 0 10px 0 10px;}
    .hd-search-box fieldset{width: 100%;}
    .hd-search-box .search-close{right:10px; top:30px;}
    .hd-search-box input[type="submit"]{right:10px;}
    }


.sc04 .search-con-box form{    display: flex;
    width: 100%; max-width:552px;
    align-items: center;
    justify-content: center;}
.sc04 .search-con-box fieldset{
    display: block;
    height: 64px;
    max-width: 552px;
    width: 100%;
    position: relative; border:none;}
.sc04 .search-con-box #searchText{
        display: block;
    width: 100%;
    height: 100%;
    padding: 0 24px 0 24px;
    margin: 0;
    float: none;
    line-height: 1.3;
    font-size: 20px;
    color: #101010;
    background-color: #fff;
    border-radius: 0px; border:none;
    }
.sc04 .search-con-box input[type="submit"]{    
    position: absolute;
    right: 35px;
    top: 50%;
    transform: translateY(-50%);
        background-image:url(/resources/custom/images/gs/main/ico-search.png);
    width: 25px;
    height: 25px;
    background-repeat: no-repeat;
    background-position: center;
    font-size: 0;
    background-color: rgba(0, 0, 0, 0);
    margin: 0;
    padding: 0;
    transition: all .3s;
    background-size: cover;
}
