@charset "utf-8";

/*전체 메뉴 시 컨텐츠 쪽 스크롤 방지*/
html.noneScroll, body.noneScroll  {overflow: hidden;}

/*layout*/
.wow {visibility: hidden;}

/*header*/
    /* logo */
.header .logo {width: 162px; float: left;}
.header .logo img {width: 100%;}
.header .logo img.logo_b {display: none;}

    /* util icon */
    /*로그인&로그아웃 버튼 s*/
.header .right_wrap {position: absolute; top: 6px; right: 0;}
.header .right_box {display: inline-block; float: right; display: none;}
.header .right_box a {text-indent: -99999px;width: 35px;height: 35px;background: url("/resources/img/common/right_box_login.png") no-repeat -1px -1px;display: inline-block;float: left;border: 1px solid #fff; box-sizing: border-box; transition: all .3s ease;}
.header .head .right_wrap .right_box a:hover {background-color: #aaa; border-color: #aaa;}
.header .right_box a:nth-of-type(2) {margin-left: 15px; background-position: -51px -1px;}
.header .right_box a.logout_btn {background-image: url("/resources/img/common/right_box_logout.png"); background-position: -1px -1px;}
.header .right_box a.mypage_btn {background-image: url("/resources/img/common/right_box_logout.png"); background-position: -51px -1px;}
    /*로그인&로그아웃 버튼 e*/
.header .lang {display: inline-block;}
.header .lang a{display: inline-block;font-weight: 100;color: #fff;width: 50px;text-align: center;padding: 5px 0;font-size: 14px;border: 1px solid #fff;border-radius: 50px; margin: 5px 15px 0 0;}
.header .head:hover .lang a {border-color: #0e417d; background-color: #0e417d;}
.header .sns {display: inline-block; float: right;}
.header .sns a {text-indent: -99999px; width: 35px; height: 35px; background: url("/resources/img/common/sns_w.png") no-repeat 0 0; display: inline-block; float: left;}
.header .sns .blog {margin-left: 15px; background-position: -50px 0;}

    /* gnb */
    /*전체 드랍다운 CSS:S*/
.header {width: 100%; height: 90px; position: absolute; z-index: 100; font-size: 14px;}
.header .head {height: 90px; box-sizing: border-box; transition: all .3s ease-in-out;background-color: rgba(0,0,0,0);}
.header .head::before {position: absolute; top: 101px; left: 50%; transform: translateX(-50%); width: 100%; height: 1px; background: #c1c1c1; transition: all .2s ease-in-out; content: ""; opacity: 0;}
.header .gnb_wrap {text-align:center; height: 100%; position: absolute; top: 15%; left: 50%; transform: translateX(-50%);width: 100%;}
.header .gnb_wrap > .gnb > ul > li {margin: 0 0.5%; display:inline-block; position: relative; vertical-align:top; width: 150px;}
.header .gnb_wrap > .gnb > ul > li:last-child {width: 180px;}
.header .gnb_wrap > .gnb > ul > li > a{display: inline-block; height: 100%; text-align: center; font-weight: 300; color: #fff; font-size: 18px; padding: 15px 0; font-weight: 500; transition: all .1s ease-in-out; font-family: 'GmarketSansMedium'; text-shadow: 2px 2px 2px grey;}
.header .gnb_wrap > .gnb > ul > li > a::before {position: absolute; content: ""; bottom: 7px; left: 50%; transform: translateX(-50%); width: 100%; height: 3px; background: #0e417d; opacity: 0;}
.header .gnb_wrap > .gnb > ul > li > a:hover{color: #28629c; font-weight: 600;}
.header .gnb_wrap > .gnb > ul ul > li > a { color:#fff;}
.header:hover .gnb_wrap > .gnb > ul ul { display:block;}
.header .gnb_wrap > .gnb > ul ul > li { margin-top:37px;}
.header .gnb_wrap > .gnb > ul ul > li a {transition:.3s ease; font-size:16px; color: #888;}
.header .gnb_wrap > .gnb > ul ul > li:hover a {color:#0e417d;}

    /*ham_btn*/
.header .ham_btn, .header .ham_btn span {display: inline-block; z-index: 100; transition: all .3s ease-in-out; box-sizing: border-box;}
.header .ham_btn {display: none;}
.header .ham_btn {position: absolute;width: 70px;height: 70px;top: 0;right: 0;cursor: pointer;background: #28629c;}
.header .ham_btn span {position: absolute;left: 50%;transform: translateX(-50%);width: 50%;height: 7%;background-color: #ffffff;}
.header .ham_btn span:nth-of-type(1) {top: 28%;}
.header .ham_btn span:nth-of-type(2) {top: 50%;transform: translate(-50%,-50%);}
.header .ham_btn span:nth-of-type(3) {bottom: 28%;}

    /* dropdown효과 */
/*.header .head:hover {background-color: rgba(255,255,255,.9); height: 440px;}
.header .head:hover::before {opacity: 1;}
.header .head:hover .logo img.logo_b {display: inline;}
.header .head:hover .logo img.logo_w {display: none;}
.header .gnb_wrap > .gnb {height: 58px; overflow: hidden;}
.header .head:hover .gnb_wrap > .gnb {overflow: inherit;}
.header .head:hover .gnb_wrap > .gnb > ul > li > a {color: #000;}
.header .gnb_wrap > .gnb > ul > li > .two_depth {height: 240px; transition: all .5s ease-in-out; padding-top: 44px;}
.header .head:hover .gnb_wrap > .gnb > ul > li > .two_depth {opacity: 1; z-index: 0;}
.header .head .gnb_wrap > .gnb > ul > li:hover > a {color: #0e417d; position: relative;}
.header .gnb_wrap > .gnb > ul > li:hover > a::before {opacity: 1;}
.header .head:hover .right_box a {background-color: #ddd; border-color: #ddd;}
.header .head:hover .sns a {background-image: url("/resources/img/common/sns_c.png");}*/
    /*전체 드랍다운 CSS:E*/

    /* 스크롤 */
    /*스크롤 탑이 메인 비주얼 지나면 헤더 변경 s*/
/*.scroll .head{background-color: #fff;}
.scroll .gnb_wrap > .gnb > ul > li > a {color: #000;}
.scroll .head:hover {background-color: #fff;}
.scroll .head .logo img.logo_b {display: inline;}
.scroll .head .logo img.logo_w {display: none;}
.scroll .head .right_box a {background-color: #ddd; border-color: #ddd;}
.scroll .head .sns a {background-image: url("/resources/img/common/sns_c.png");}
.scroll .head .lang a {border-color: #0e417d; background-color: #0e417d;}

.scroll .ham_btn span {background: #000;}
.scroll .ham_btn.active span {background: #fff;}*/
    /*스크롤 탑이 메인 비주얼 지나면 헤더 변경 e*/


/* mobile menu */
.mobile_menu { background: rgba(255,255,255,.95); display: none;  box-sizing:border-box;  padding:20px; position: fixed; left: 0; width: 100%; height: 100%; top: 0;}
.mobile_menu .gnb {position: absolute;left: 50%; text-align: center;width: 100%;transform: translate3d(-50%,0,0);  box-sizing: border-box; padding:45px 5% 50px;  overflow-y: auto; height: calc(100% - 70px); top: 70px;}
.mobile_menu .gnb>ul>li{display: block; position:relative; width:100%;height: 33px;margin-bottom: 7%; padding-left:39px; vertical-align: top; box-sizing: border-box; text-align: left; float: left;cursor:pointer;}
.mobile_menu .gnb > ul > li::before {position: absolute; right: 12px; top: 50%; transform: translateY(-50%); content: ""; width: 15px; height: 2px; background: #000; z-index: 1; transition: .3s ease;}
.mobile_menu .gnb > ul > li::after{content: ""; position: absolute; right: 0px; width: 36px;  height: 36px; background: #fff url(/resources/img/main/ham_arw.png) center right 7px no-repeat; border: 2px solid #000;  box-sizing: border-box; top: 50%;  transform: translateY(-50%); transition: .3s ease;}
.mobile_menu .gnb > ul > li:hover::before {width: 59px;}
.mobile_menu .gnb > ul > li:hover::after {width: 82px;}

.mobile_menu .gnb > ul > li > a {display:inline-block; position: relative; height: 36px;margin-left:15px;line-height:36px; color:#000; font-weight: 500; font-size: 32px; letter-spacing: -1.5px; transition: .3s ease; word-break: keep-all;border-bottom: 3px solid rgba(255, 239, 107,0); font-family: 'GmarketSansMedium';}
.mobile_menu .gnb > ul > li > a::before {position: absolute; width: 19px; height: 21px; background: url("/resources/img/main/sp01.png") 0 -130px no-repeat; content: ""; left: -30px; top: 50%; transform: translateY(-50%);}
.mobile_menu .close_btn { z-index:2; position: absolute; right: -70px; width: 60px; height:60px; text-indent: -99999px; border:2px solid #122e4b; top: 10px; box-sizing: border-box; background:#fff url('/resources/img/common/clos_btn.png') no-repeat center; cursor: pointer;}
.mobile_menu .mobile_f_btn { display:none; position: fixed; bottom: 0; width:100%; min-width: 360px;}
.mobile_menu .mobile_f_btn a { background: #0e4d86; padding: 25px 0; text-align: center; float: left; width: 50%;  box-sizing: border-box; color:#fff; display: inline-block;}
.mobile_menu .mobile_f_btn a:first-child {border-right:1px solid #4a6f96;}

.mobile_menu .right_box { position: absolute; top: 0; left: 0; width: 100%; height:70px; background: #88b927;}
.mobile_menu .right_box a{ margin-top:10px;}
.mobile_menu .mb_title {color:#fff; font-size: 18px; text-align: center; position: absolute; width:100%; margin-top: 26px;}

.header .ham_btn.active {position: fixed;top: 0;}
.header .ham_btn.active span:nth-of-type(1) {-webkit-transform: translate(-50%, -50%) rotate(-45deg);transform: translate(-50%, -50%) rotate(-45deg);left: 50%;top: 50%;}
.header .ham_btn.active span:nth-of-type(2) {opacity: 0;}
.header .ham_btn.active span:nth-of-type(3) {-webkit-transform: translate(-50%, -50%) rotate(45deg); transform: translate(-50%, -50%) rotate(45deg);left: 50%;top: 50%;}
/*layout*/

@media screen and (max-height:860px){
    /* mobile_menu *//*높이 값이 낮을 때, overflow-y 스크롤 추가*/
   .mobile_menu .gnb {overflow-y: scroll;}
}
@media screen and (min-width:501px){
    /* mobile_menu *//*모바일에서 PC로 바뀔 때 메뉴 간 간격 오류 수정*/
    .mobile_menu .gnb > ul > li > ul {height: auto !important;}
}
@media screen and (max-width:1500px){
    .header .right_wrap {right: 75px;}
}
@media screen and (max-width:1300px){
    /* header */
    /*전체 드랍다운 CSS:S*/
    .header .gnb_wrap {display: none;}
    .header .gnb_wrap > .gnb > ul > li {width: 110px;}
    /*전체 드랍다운 CSS:E*/
    
    .header .ham_btn{display: block;}

    .header .right_wrap {right: 64px;}
    .header .lang a {margin: 5px 15px 0 0;}
    .header .sns .blog {margin-left: 10px;}
}
@media screen and (max-width:1024px){
    .header .ham_btn{height: 50px; width: 50px;}
    /* dropdown효과 */
    .header .head::before {display: none;}
    .header .head:hover {background-color: inherit; height: 90px;}
    .header .head:hover .logo img.logo_b {display: none;}
    .header .head:hover .logo img.logo_w {display: inline;}
    .header .head:hover .lang a {border-color: #fff; background-color: transparent;}
    .header .head:hover .sns a {background-image: url("/resources/img/common/sns_w.png");}
    
    .header .right_wrap {top: 10px;}
    
    /* ham_btn */
    .header.active .ham_btn span {background: #fff;}

    
    /* 스크롤 */
    .scroll .head:hover {background-color: #fff;}
    .scroll .head:hover {background-color: #fff;}
    .scroll .head:hover .logo img.logo_b {display: inline;}
    .scroll .head:hover .logo img.logo_w {display: none;}
    .scroll .head:hover .lang a { border-color: #0e417d; background-color: #0e417d;}
    .scroll:hover .ham_btn span { background-color: #000;}
    .scroll:hover .ham_btn.active span { background-color: #fff;}

    /* mobile_menu */
    .mobile_menu .right_wrap {z-index: 1;top: 28px;right: 84px; display: block;}
    .mobile_menu .gnb {width: 100%; overflow-y: scroll;}
    .mobile_menu .gnb > ul > li > ul li:first-child {margin-top: 0;}
    .mobile_menu .gnb > ul > li > ul li {display: block; margin-left: 0; margin-top: 15px;}
    .mobile_menu .gnb > ul > li > ul a {font-size: 17px;width: 80%;}
      
}
@media screen and (max-width:768px){
    /* header */
    .header .right_wrap { right: 64px;}
    .head .sns {display: none;}
    .head .lang a {margin-right: 0;}

    /* mobile_menu */
    .mobile_menu .gnb>ul>li{padding-left: 0;}
    .mobile_menu .gnb > ul > li > a {font-size: 30px;}
}
