html{font-size:20px;}
body{font-size:1rem;}

.tablet{display:none;}
.mob{display:none;}


/*탑메뉴*/
#wrap{ position:relative; overflow:hidden;}
#wrap img { border:none; vertical-align:middle; max-width:100%;}
#wrap i{vertical-align:middle;}

#header{position:relative; width:100%; z-index:100;-webkit-transition:all .3s;transition:all .3s;}
#header h1{position:absolute; left:0; top:50%; transform:translateY(-50%); z-index:100;}
#header h1 img,
#footer h3 img{width:8rem;}
#header .header_inner{position:relative; width:1400px; margin:0 auto; height:5.3rem; }
#header .header_inner:after{content:""; display:block; clear:both;}

/*gnb*/
#header .header_inner .top_menu{position: absolute; right: 0; top:0; z-index:100; font-size: 0.65rem; font-weight:500; letter-spacing:0.02em; overflow:hidden;}
#header .header_inner .top_menu li{position: relative; float:left; color: #545859; }
#header .header_inner .top_menu li a{display:block; width:98px; height:30px; line-height:30px; text-align:center; color:#fff; background:#545859;}
#header .header_inner .top_menu li.color a{background:#FEC72C;}
#header .header_inner .top_menu li.memN{margin-right:10px; letter-spacing:0; line-height:30px;}
#header .header_inner .top_menu li.memN:after{display:none;}
#header .header_inner .top_menu li:last-child{margin-right: 0;}

/*탑메뉴*/
#header .header_inner #nav {text-align:right; padding-top:25px; margin-right:2rem;}
#header .header_inner #nav ul {clear:both;  position:relative; box-sizing:border-box;height:100%;}
#header .header_inner #nav ul li { display:inline-block;width: auto; float:none; vertical-align:top;position:relative;}
#header .header_inner #nav ul li {position:relative; }
#header .header_inner #nav ul li  a{text-align:center; font-weight: 500; font-size:1.1rem; display:inline-block; height:4rem; line-height:4rem; text-transform: uppercase; position:relative;margin:0 1.8rem;}
#header .header_inner #nav ul li  a strong{font-weight: normal; }
#header .header_inner #nav ul li.active div a{color:#fdaf0f;}
#header .header_inner #nav ul li.active a:before{width:100%; left:0%;}


/*탑메뉴 2차*/
#header .header_inner #nav ul li ul {z-index: 100;position: absolute;display: none; width:100%; height: 14rem; left:0; box-sizing:border-box; padding:1.2rem 0;   border-top:none; text-align:center;}
#header .header_inner #nav ul li ul li {display:block;margin:0; margin-bottom:.75rem; line-height:1; padding-bottom: 0.4rem; }
#header .header_inner #nav ul li ul li a{display:inline-block; font-size:0.85rem; margin:0; height:auto; font-weight:normal; line-height:1.3;-webkit-transition: all 0.3s ease;-moz-transition: all 0.3s ease;	-o-transition: all 0.3s ease; transition: all 0.3s ease; }
#header .header_inner #nav ul li ul li a:after{position: absolute; display : block; content:''; width: 0%; height: 1px; bottom: -.25rem; left: 0; background-color: #DDB739; -webkit-transition: all 0.3s ease;-moz-transition: all 0.3s ease;	-o-transition: all 0.3s ease; transition: all 0.3s ease;}
#header .header_inner #nav ul li ul li a:hover{position: relative; color:#fdaf0f; }
#header .header_inner #nav ul li ul li a:hover:after{width: 100%;}

#header .header_inner #nav ul li.active ul li a strong{font-weight:normal;}
.bg_box{margin: 0 auto !important; display:none; position: absolute; width: 100%; height: 11rem; top:5.3rem; z-index:10; box-sizing:border-box; background-color:#fff8e6; box-sizing: border-box; box-shadow:3px 15px 15px rgba(0,0,0,0.1);}
.bg_box:after{position: absolute; content:''; display : block; top:0; left: 0; width: 32%; height: 100%; background: url("/images/default/main/tsm_bg.jpg") no-repeat center top;  z-index:-1;}

.bg_box .box_img{width:1400px; margin: 0 auto; height: 100%;  position:relative; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; color: #fff;}
.bg_box .box_img h4{margin-bottom: 1rem; font-size:1.4rem; line-height:1.3;}
.bg_box .box_img p{font-size: .9rem; font-weight: 300; line-height: 1.3;}


/*사이트맵 버튼*/
#header .btn-gnb-menu{position:absolute; right:0; top:50%; transform:translateY(-10%); cursor:pointer; z-index:9999;text-align:center;}
#header .btnAll {position:relative; width:1.5rem; height:1.5rem; outline: none; z-index:9999;}
#header .btnAll span { display: block; width: 100%; height: 0.15rem; position: absolute; background-color: #000; -webkit-transition: all 0.25s; transition: all 0.25s; }
#header .btnAll > span:nth-child(1) { top: 0; right:0;}
#header .btnAll > span:nth-child(2) { top: 0.5rem; right:0; width:1.1rem;}
#header .btnAll > span:nth-child(3) { top: 1rem; right:0; width:1.4rem;}
#header.open .btn-gnb-menu{display:block;}
#header.open .btnAll > span{}
#header.open .btnAll > span:nth-child(1) { top: 0.5rem; -webkit-transform: rotate(-135deg); transform: rotate(-135deg); width: 1.5rem;}
#header.open .btnAll > span:nth-child(2) { top: 0; opacity: 0; width: 1.5rem;}
#header.open .btnAll > span:nth-child(3) { top: 0.5rem; -webkit-transform: rotate(135deg); transform: rotate(135deg); width: 1.5rem;}


/*사이트맵*/
#header #navi{background:#fff7e1 url("/images/default/main/allmenu_Bg.jpg") no-repeat center center; background-size:cover; position:fixed; right:-100%; top:0; width:100%; height:100%; padding-top:0;  z-index:100; transition:right 0.45s;overflow:hidden;}
#header.open #navi{transition:right 0.45s; right:0px;}
#menuAll h3{text-align: center; padding-top:8rem;  line-height:1.3; margin-bottom:2rem; color:#000;font-size:2.2rem; font-weight:100; letter-spacing:-0.06em;}
#menuAll h3 span{display:block; font-size:0.8rem; letter-spacing:5px; font-weight:600; margin-bottom:1rem; color:#FE8182;}
#menuAll h4{text-align:center;font-size:1.5rem;color:#222222;line-height:1.8rem;margin-bottom: 2rem;position:relative;}
#menuAll .mobile_top ul {overflow:hidden; width:1400px; margin:0 auto; }
#menuAll .mobile_top ul li{width:18%; float:left; margin:1%;}
#menuAll .mobile_top ul li a{display:block; font-size:1.2rem; font-weight:500; color:#fff; background:#545859; padding:1rem 0; text-align:center; width:100%; }
#menuAll .mobile_top ul li ul{margin-top:2rem;}
#menuAll .mobile_top ul li ul li{float:none; width:100%; padding-left:.75rem; position:relative; margin-top:20px; margin-left:0;}
#menuAll .mobile_top ul li ul li:first-child{margin-top:0;}
#menuAll .mobile_top ul li ul li:before{content : ""; display : block; position : absolute; left :0px;  top:10px; width :8px; height : 1px; background:#666;}
#menuAll .mobile_top ul li ul li a{ display:block; font-size:1rem; color:#212121; background:none; text-align: left; padding:0;}
#menuAll .mobile_top ul li ul li a:hover{text-decoration:underline !important;}
#menuAll .mobile_top ul li ul li ul{margin:20px 0 30px;}
#menuAll .mobile_top ul li ul li ul li{margin-top:0;}
#menuAll .mobile_top ul li ul li ul li:before{width:4px; height:4px; border-radius:50%; top:5px;}
#menuAll .mobile_top ul li ul li ul li a{color:#c68602; font-weight:400; font-size:0.85rem; }


/* 서브비주얼 */
#sepration { width:100%; height: 22.5rem; position:relative;background: url("/images/default/content/sub_visual01.jpg") no-repeat center top; background-size:cover; display:flex; flex-direction: column; justify-content: flex-end;}
#sepration .section{width: 1400px; margin:0 auto; box-sizing:border-box; position: relative; height: 100%; display:flex; align-items: center; justify-content: center; flex-direction: column; text-align:center; opacity: 0;-webkit-transform: translateY(20px);transform: translateY(20px); -webkit-transition: 1s 0.4s; transition: 1s 0.4s;}
#sepration .section.on{opacity: 1; -webkit-transform: translateY(0px); transform: translateY(0px);}

#sepration .section h2{line-height:1.0; color: #fff; letter-spacing: 1px; font-size:2.3rem; font-family: 'JSDongkang-Bold';}
#sepration .section p{ margin-top: 1rem; line-height:1.5;  color: #fff; font-size: 1.1rem; }
#sepration .section p .for_web{display: block;}

/* 왼쪽메뉴 */
.tab_view{display:none;}
.lm_bg {clear:both; position:relative; border-bottom:1px solid #B5B5B5;}
.lm_bg .left_menu {width: 100%; }
.lm_bg .left_menu ul {width:1400px; margin:0 auto;  text-align:center; }
.lm_bg .left_menu ul:after{content:'';display : block; clear:both;}
.lm_bg .left_menu ul li{position: relative; width:20%; float:left;position : relative; box-sizing:border-box;}
.lm_bg .left_menu ul li a{ display:block; line-height:3.5rem; height:3.5rem; color : #595757; font-weight:500; font-size: 1.05rem;  box-sizing:border-box; z-index:10;}
.lm_bg .left_menu ul li a strong{position:relative;  font-weight:500; display:block; height:100%; z-index:10;}
.lm_bg .left_menu ul li:last-child:after,
.lm_bg .left_menu ul li.on:after{background: none;}
.lm_bg .left_menu ul li.on{position: relative;}
.lm_bg .left_menu ul li.on a{color:#000; z-index:10; position : relative;}
.lm_bg .left_menu ul li.on a:after{content : ""; display : block; position : absolute; left :0; bottom:-1px; height: 2px; width:100%; background-color: #626262;}
.lm_bg .left_menu ul li.on a:before{content : ""; display : block; position : absolute; left :50%; transform: translateX(-50%); bottom:1px; height: 5px; width:12px; background: url("/images/default/content/lm_on.png") no-repeat center top;}


/* 탭메뉴 */
.tab_menu{width:1400px; margin:0 auto; margin-bottom:2rem; margin-top:-1rem;}
.tab_menu ul{overflow: hidden; position: relative; width: 100%; height: 2.7rem;}
.tab_menu ul li{width:20%; float:left; height: 2.7rem; text-align: center; vertical-align: top; font-size: 1rem;}
.tab_menu ul li a{ display: block;  height: 2.6rem; border: 1px solid #ddd;   border-left: 0; background-color: #fff; color: #666; line-height: 2.6rem; vertical-align: top;    -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; -webkit-transition: all .5s; transition: all .5s;}
.tab_menu ul li a:hover,
.tab_menu ul li.on a{position: relative; background:#000; line-height: 2.4rem; border: 2px solid #000; border-bottom: 0; color: #fff;}
.tab_menu ul li:first-child a {border-left: 1px solid #ddd;}
.tab_menu ul li.on:first-child a {border-left: 2px solid #626262;}



/* 컨텐츠영역 */
#container { margin:0; padding:0; position:relative; z-index:0; clear:both;}
#container #section .right_content {width:100%;  min-height:5rem;}
#container #section .right_content .content_title{text-align: center; margin-top: 3rem;font-size: 2rem;color:#000;}
#container #section .right_content .content_body {padding:4rem 0px 6rem;}


/*푸터*/
#footer{ clear:both; line-height:1.5;background-color:#434343; color:#bdbec6; font-size:.8rem; letter-spacing:0.02em; position:relative;}
#footer .copyright { width:1400px; margin:0 auto; padding:3rem 0;position:relative;  overflow:hidden;}
#footer .fl_txt{float:left;}
#footer .fr_txt{float:right; text-align:right;}
#footer .copyright p span{margin-right:10px;}
#footer .copyright .copy{margin-top:10px;}

#footer .fcon{margin-bottom: 1rem;}
#footer .fcon li{display:inline-block; margin-left:15px; padding-left:15px; position:relative;}
#footer .fcon li:before{content : ""; display : block; position : absolute; left : 0; top:50%; margin-top:-9px;  width :1px; height : 18px; background : #898989;}
#footer .fcon li:first-child{margin-left:0; padding-left:0;}
#footer .fcon li:first-child:before{display:none;}
#footer .fcon li a{color:#fff; font-size:0.9rem;}

#footer .sns{margin-bottom:0.5rem;}
#footer .sns li{display:inline-block; margin-left:0.5rem;}
#footer .sns li img{width:2.3rem;}


/********************************************************
■ 레이아웃 변경
********************************************************/
@media (max-width:1400px){
	#header .header_inner{width:100%;}
	#header h1 img,
	#footer h3 img{width: 10rem;}	


	/*탑메뉴*/
	#wrap{overflow-x:hidden;}	
	#header .header_inner{width:100%; padding:0 1rem;}
	#header .header_inner h1{left:1rem; width:9rem;}
	#header .header_inner #nav ul li a {margin:0 1rem; font-size:1rem;}

		
	/*탑메뉴 2차*/
	.bg_box .box_img{width:100%; margin: 0; padding: 1rem;}
	.bg_box .box_img h4{font-size:1.2rem;}
	.bg_box .box_img p{font-size:0.75rem;}
	.bg_box:after{width:25%;}

	#header .btn-gnb-menu{right:1rem;}


	/*서브비주얼*/
	#sepration .section{width:100%;}
	.section_lnb>.inr{width:100%; padding:0 1rem;}

	/* 탭메뉴 */
	.lm_bg .left_menu ul,
	.tab_menu{width:100%; }

	
	/*컨텐츠*/	
	#container .inn{width:100%; padding:0 1rem;}
	#container .padd{width:100%; padding:4rem 1rem;}

	/*푸터*/
	#footer .copyright{width:100%; padding:2rem 1rem;}
}


/********************************************************
■ 태블릿
********************************************************/
@media (max-width:1030px){
	html{font-size:16px;}
    body{font-size:1rem}
	.web{display:none;}
    .tablet{display:block;}   
    
	/* 헤더 */
	#header h1 img,
	#footer h3 img{width: 10rem;}
	#header .header_inner {height: 4rem; position:relative;}
	#header .header_inner #nav{display:none; }	
	#header .header_inner .top_menu{display:none;}
	#header .btn-gnb-menu{width:4rem; height:4rem;}
	


	/*사이트맵 버튼*/
	#header .btn-gnb-menu{display:block; position:absolute; right:0; top:0; width:4rem; height:4rem; transform: translateY(0%);cursor:pointer; z-index:9999; text-align:center; }
	#header .btnAll {position:relative; width:1.5rem; height:1.3rem; top:50%; transform:translateY(-50%);outline: none; z-index:9999;margin-top:0;}
	#header .btnAll span { display: block; width: 100%; height: 0.12rem; position: absolute; background-color: #000; -webkit-transition: all 0.25s; transition: all 0.25s; }
	#header .btnAll > span:nth-child(1) { top: 0;}
	#header .btnAll > span:nth-child(2) { top: 0.5rem; }
	#header .btnAll > span:nth-child(3) { top: 1rem;}
	#header.open .btn-gnb-menu{display:block; }
	#header.open .btnAll > span{}
	#header.open .btnAll > span:nth-child(1) { top: 0.5rem; -webkit-transform: rotate(-135deg); transform: rotate(-135deg); width: 1.5rem;}
	#header.open .btnAll > span:nth-child(2) { top: 0; opacity: 0; width: 1.5rem;}
	#header.open .btnAll > span:nth-child(3) { top: 0.5rem; -webkit-transform: rotate(135deg); transform: rotate(135deg); width: 1.5rem;}

	/* gnb */
	.menubg{display:none;}
	#header #navi .gnb li{width:50%; float:left;}
	#header #navi .gnb li a{display:block; width:100%; height:3rem; line-height:3rem; text-align:center; background:#535353; color:#fff; font-weight:500; letter-spacing:0.04em;}
	#header #navi .gnb li.color a{background: #FEC72C;}
	#header #navi .gnb .memN{position:absolute; left:1rem; top:25px; font-weight:100; font-size:1.2rem;}

	#header #navi .sns{position:absolute; left:0; bottom:2rem; width:100%; text-align:center;}
	#header #navi .sns li{display:inline-block; margin:0 15px;}
	#header #navi .sns li img{width:2rem;}

	/*전체메뉴*/	
	#header #navi{background:#fff; position:fixed; right:-100%; top:0; width:100%; height:100%; padding-top:4rem; z-index:100; transition:right 0.45s;}
    #header.open #navi{transition:right 0.45s; right:0px;}
    #menuAll{display: block;}
    #navi h3{font-size:1.2rem; padding:1rem 0.75rem; line-height:1.3; font-weight:normal; margin:0; text-align: center;background: linear-gradient(to left, #a5c854, #67c5cc); }
    #navi h3 em{font-weight:600;color:#fff;}
	#menuAll .mobile_top{width:100%;height:auto; flex-direction: column;}
	#menuAll .mobile_top .mbtop{flex-direction: column;}
	#menuAll .mobile_top .mbtop > li > a:after{display:none;}
	
    /*1차*/
    #navi ul.mbtop {width:100%; margin:0; padding:0;}
    #navi ul.mbtop li {margin:0; float:none; width:100%; padding-right:0; border-bottom:1px #eeeeee solid; position:relative; }
	#navi ul.mbtop li:after{ content :"\e941"; display : block; position : absolute; right:1rem;  top:15px;font-family:'xeicon'; font-weight:500; }

    #navi ul.mbtop li a {padding:0; background: none; text-align:left; display:block; width:100%; padding:15px 1rem;box-sizing:border-box; font-size:1.15rem;  color:#262626;}
    #navi ul.mbtop li.open_li{ position:relative;}
    #navi ul.mbtop li.open_li:after{ content :"\e944";}
   
    /*2차*/
    #navi ul.mbtop li ul {display:none; float:none; background-color:#fff7e1; position:relative; left:0; top:0; width:auto; height:auto; visibility:visible;  padding:1rem 1rem; margin-top:0;}
    #navi ul.mbtop li ul li {float:none;border:none; box-sizing:border-box;  background: none; padding-left:0;}
    #navi ul.mbtop li ul li a {color:#262626; background:url(none);  height:auto; padding-left:0;  font-size:1.1rem;}
	#navi ul.mbtop li ul li a:hover{color:#fdaf0f;}
    #navi ul.mbtop li ul li:after,
	#navi ul.mbtop li ul li:before{display:none;}

    /*3차*/
    #navi ul.mbtop li ul li ul{display:none;border:none; height:0;background:none; margin:0; padding:0;}
    #navi ul.mbtop li ul li ul li {display:none;}

	#menuAll .mobile_top > ul > li:nth-child(2) > a{ background: #fff; }
	#menuAll .mobile_top > ul > li:nth-child(3) > a{ background: #fff; }
	#menuAll .mobile_top > ul > li:nth-child(4) > a{ background: #fff; }
	#menuAll .mobile_top > ul > li:nth-child(5) > a{ background: #fff; }

	#navi ul.mbtop li.open_li > a {color:#fdaf0f;}

	/* 서브메뉴 */
	.tab_view{display:none; cursor:pointer;background:#fdaf0f;; background-size:12px auto;padding:1rem .75rem; font-size:1.1rem; box-sizing:border-box; color:#fff; box-sizing:border-box; padding-left:0.75rem; font-weight:normal; position:relative; text-align: center;}
	.tab_view i{position:absolute; top:17px; right:1rem; }
	.tab_view.on{cursor:pointer; }
	.tab_view.on i{transform:rotateX(180deg);}
	.tab_view span{position:absolute; top:50%; right:1rem; margin-top:-4.5px; display:block; }
	.tab_view span img{width:13px;}
	.tab_view.on{cursor:pointer; }
	.tab_view.on span img{transform:rotateX(180deg);}
	.left_menu {position:relative;box-sizing:border-box; height:0; width:100%;}
	.left_menu ul{display:none; z-index:10;position:absolute;width:100%;left:0; top: 0; margin:0 auto; line-height:0; background:#DDF3FF;box-sizing:border-box; box-shadow: 6px 6px 6px 0px rgba(25, 25, 25, 0.15);-webkit-box-shadow:   6px 6px 6px 0px rgba(25, 25, 25, 0.15);	-moz-box-shadow:  6px 6px 6px 0px rgba(25, 25, 25, 0.15); }
	.lm_bg .left_menu ul li {width:100% !important;border:none !important;height:auto; line-height:auto; margin-left:0; vertical-align:middle; box-sizing:border-box; }
	.lm_bg .left_menu ul li a {display:block; padding:.75rem .75rem;line-height: 1.0; height: auto;  font-weight:500; font-size:1.1rem; color:#888;text-transform:capitalize; }
	.lm_bg .left_menu ul li strong{ font-weight:500;} 
	.lm_bg .left_menu ul li.on a:before{display:none;}
	.lm_bg .left_menu ul li.on a{background:none; color:#00a8ff;}
	.lm_bg .left_menu ul li.on a:after{display:none;}
	.lm_bg .left_menu ul li:after {background: none;}

	/*서브비주얼*/
	#sepration {height:16rem;}
    #sepration .section{height: 16rem;}

	.lm_bg .left_menu ul, .tab_menu{padding:0 1rem;}

	/* 컨텐츠 */	
	#container{margin-top: 0;}
	#container #section .right_content .page_main_title{margin-bottom: 2.5rem; }
	#container #section .right_content .page_main_title h3{font-size: 1.5rem;}
	#container #section .right_content .content_body {padding:3rem 0 4rem;}
}


/********************************************************
■ 모바일
********************************************************/
@media (max-width:767px){
	html{font-size:15px;}
    body{font-size:1rem}
	
	.mob{display:block;}


	/*탑메뉴*/
	#wrap{font-size:1rem;}	
	#header h1{left: 1rem;}
	#header h1 img,
	#footer h3 img{max-width: 7rem;}
	#header .header_inner{height:3.6rem;}
	#header #navi{padding-top:3.6rem;}
	#header .btn-gnb-menu{width:3.6rem; height:3.6rem;}

	

	/*서브비주얼*/
	#sepration {height:11rem;}
    #sepration .section{padding:0 1rem;}
    #sepration .section h2{font-size: 1.6rem;}
	#sepration .section p{font-size: 0.9rem;}


	/* 푸터 */
	#footer{ font-size:.9rem;}
	#footer .fl_txt{float:none; width:100%; text-align:center; font-size:0.85rem;}
	#footer .fr_txt{float:none; width:100%; text-align:center; margin-top:20px;}
	#footer h3{display:none;}
}



@media (max-width:320px){
	/*비주얼*/	
	#visual .bxslider li{height:24rem;}	
	
	#container h3,
	#container .txt h3{font-size:1.6rem;}
	
	#footer .fcon li{margin-left:4px; padding-left:6px;}

}
