@charset "utf-8";

.dt--hide{display: none !important;}
.tm--hide{display: block !important;}
.m--hide{display: block !important;}

html.ov,
html.ov body{
	overflow: hidden;
}
/* HEADER */
#header{
	position: fixed;
	top: 0;
	left: 0;
	z-index: 9999;
	width: 100%;
	transition:all .5s ease;
	background: rgb(255,255,255);
}
#header .logo{
	float: left;
}
#header .logo a{
	display: block;
	width: 150px;
	height: 80px;
	text-indent: -9999px;
	background-position: center center;
	background-repeat: no-repeat;
	background-size:100% ;
	background-image: url(/sjduko2020/resource/images/common/logo_bk.png);
}
/* MAIN HAEAER */
.main #header{
	background: transparent;
}
.main #header .logo a{
	background-image: url(/sjduko2020/resource/images/common/logo_wt.png);		
}
.main #header .dt__gnb .depth1 > li > a{
	color: rgb(255,255,255);
}
.main #header .m-btn__menu{
	color: rgb(255,255,255);
}
.main #header .m-btn__menu i:after, 
.main #header .m-btn__menu i:before{
	background: rgb(255,255,255);
}

/*DESKTOP gnb*/
.dt__gnb{
	float: right;
}
.dt__gnb .depth1:after{
	content: '';
	display: block;
	clear: both;
}
.dt__gnb .depth1 > li{
	position: relative;
	float: left;
}
.dt__gnb .depth1 > li + li{
	margin-left: 30px;
}
.dt__gnb .depth1 > li > a{
	display: block;
	height: 80px;
	line-height: 80px;
	font-size: 18px;
	color: rgb(0,0,0);
}
.dt__gnb .depth1 > li > a:after{
	content: '';
	position: absolute;
	left: 0;
	bottom: -2px;
	z-index: 1;
	width: 0;
	height: 2px;
	background: rgb(0,0,0);
	transition:all .3s ease;
}
.dt__gnb .depth2{
	display: none;
	position: absolute;
	left: 0;
	top: 80px;
	width: 400px;
	padding-top: 10px;
	z-index: 1;
}
.dt__gnb .depth2 > li{
	margin-top: 15px;
}
.dt__gnb .depth2 > li > a{
	font-size: 16px;
	font-family: 'NanumSquare';
	color: rgb(0,0,0);
}
.hd-bg{
	visibility: hidden;
	position: fixed;
	left: 0;
	top: 80px;
	width: 100%;
	height: 0;
	border-top: 1px solid rgb(225,225,225);
	background: rgb(255,255,255);
	transition:height .1s ease;
}
.m__gnb,
.m-btn__menu{display: none;}

/*HEADER ,GNB활성화*/
.dt__gnb .depth1 > li.on > a:after{
	width: 100%;
}
.dt__gnb .depth1 > li.on .depth2{
	display: block;
}
#header.dt__gnb--open .hd-bg{
	visibility: visible;
}
#header.dt__gnb--open .depth2 > li:last-child{
	margin-bottom: 30px;
}

#contents{
	margin-top: 80px;
	padding-bottom: 100px;
}
/* FOOTER*/
#footer{
	border-top: 1px solid rgb(36,36,36);
	background: rgb(255,255,255);
}
.main #footer{
	border-top: 0;
}
#footer .con-inner{
	position: relative;
	padding: 25px 0;
	font-size: 14px;
}
.family-box{
	position: absolute;
	right: 0;
	top: 25px;
	width: 115px;
	border: 0;
	font-family: 'WorkSans-Light';
}
.family-box .name{
	display: block;
	width: 100%;
	text-align: left;
	background-position: right center;
	background-repeat: no-repeat;
	background-image: url(/sjduko2020/resource/images/common/ico_2line.png);
}
.family-box .list{
	display: none;
	position: absolute;
	left: -20px;
	bottom: 21px;
	width: 235px;
	padding: 18px;
	text-align: left;
	line-height: 24px;
	z-index: 9;
	background: rgb(255,255,255);
	box-sizing: border-box;
}
.family-box.on .list li + li{
	margin-top: 6px;
}
.family-box.on .list{display: block;}

#footer address{
	font-style: normal;
	line-height: 24px;
}
#footer .copy{
	margin-top: 10px;
	font-family: 'WorkSans-Light';
	color: rgb(153,153,153);
}

/*데스크탑*/
@media only all and (min-width:1200px){
	.d--hide{display: none !important;}

	.con-inner{
		max-width: 1200px;
		margin: 0 auto;
	}

	#header .inner{
		width: 1200px;
		margin: 0 auto;
	}
	#header .inner:after{
		content: '';
		display: block;
		clear: both;
	}

}
/*1440*/
@media (min-width:767px) and (max-width:1440px){
	.family-box .list{
		left: auto;
		right: 0;
	}
}
/*태블릿 & 모바일*/
@media only all and (max-width:1199px){
	.tm--hide{display: none !important;}

	.con-inner{
		padding: 0 20px;
	}
	.dt__gnb{display: none;}

	/*MOBILE gnb*/
	#header .inner{
		padding: 0 20px;
	}
	#header .logo{
		position: relative;
		z-index: 2;
	}
	#header .logo a{
		width: 120px;
		height: 50px;
	}
	.m__gnb{
		display: block;
		position: fixed;
		top: 0;
		left: -500%;
		width: 100%;
		background: rgb(0,0,0);
	}
	.m__gnb .depth1 {
		height: 100%;
		overflow-y: auto;
		margin-top: 50px;
		border-top: 1px solid rgb(255,255,255);
	}
	.m__gnb .depth1 > li > a{
		position: relative;
		display: block;
		padding: 11px 20px;
		font-size: 1.8rem;
		color: rgb(204,204,204);
	}
	.m__gnb .depth1 > li > a:after{
		content: '';
		position: absolute;
		right: 20px;
		top: 35%;
		width: 30px;
	}
	.m__gnb .depth1 > li > a.dp1:after{
		width: 16px;
		height: 16px;
		background: url(/sjduko2020/resource/images/common/arr_long_wt.png) -14px center / 30px no-repeat;		
	}
	.m__gnb .depth1 > li > a.dp2:after{
		width: 16px;
		height: 16px;
		background: url(/sjduko2020/resource/images/common/arr_long_wt_bt.png) center center / 16px no-repeat;
	}
	.m__gnb .depth1 > li + li{
		border-top: 1px solid rgb(102,102,102);
	}
	.m__gnb .depth2{
		display: none;
		padding: 5px 0;
		border-top: 1px solid rgb(102,102,102);
	}
	.m__gnb .depth2 > li > a{
		display: block;
		padding: 10px 40px;
		font-size: 1.5rem;
		font-family: 'NanumSquare';
		color: rgb(255,255,255);
	}
	.m__gnb .depth2 > li + li{
		margin-top: 5px;
	}
	.m-btn__menu{
		display: block;
		position: absolute;
		right: 20px;
		top: 0;
		z-index: 2;
		width: 63px;
		height: 50px;
		text-align: left;
		color: rgb(0,0,0);
	}
	.m-btn__menu i{
		position: absolute;
		right: 0;
		top: 55%;
		width: 20px;
	}
	.m-btn__menu i:after,
	.m-btn__menu i:before{
		content: '';
		position: absolute;
		left: 50%;
		top: 50%;
		width: 100%;
		height: 2px;
		transform:translate(-50%,-50%);
		background: rgb(0,0,0);		
	}
	.m-btn__menu i:after{margin-top: -5px;}

	/*HEADER ,GNB활성화*/
	#header.m__gnb--open .m__gnb{
		left: 0;
	}
	#header.m__gnb--open .m-btn__menu{
		font-size: 0;
	}
	#header.m__gnb--open .m-btn__menu:after{
		content: 'CLOSE';
		font-size: 1.2rem;
	}
	#header.m__gnb--open .m-btn__menu i{
		right: 10px;
		top: 50%;
	}
	#header.m__gnb--open .m-btn__menu i:after{
		transform:rotate(135deg);
		margin: 0;
	}
	#header.m__gnb--open .m-btn__menu i:before{
		transform:rotate(-135deg);
	}
	.m__gnb .depth1 > li.on a.dp2:after{
		transform:rotate(-180deg);
	}
	.m__gnb .depth1 > li.on .depth2{
		display: block;
	}
	
	#contents{
		margin-top: 50px;
		padding-bottom: 60px;
	}
}

/*모바일*/
@media only all and (max-width:767px){
	.dt--hide{display: block !important;}
	.m--hide{display: none !important;}

	/*FOOTER*/
	#footer .con-inner{
		padding: 20px 0;
		text-align: center;
		font-size: 1.2rem;
	}
	#footer._eng .con-inner{font-size: 1.1rem;}
	.family-box{
		position: relative;
		top: 0;
		width: 93px;
		margin: 0 auto;
	}	
	.family-box .name{
		background-image: url(/sjduko2020/resource/images/common/m_ico_2line.png);
		background-size: 20px;	
	}
	.family-box .list{
		width: 200px;
		left: 50%;
		transform:translateX(-50%);
		padding: 10px 13px;
	}
	#footer address{
		margin-top: 10px;
		line-height: 19px;
	}
}