@font-face {
	font-family:"NanumSquare"; 
	src:url('../css/NanumSquareB.woff') format("woff");
	font-weight: 400;
}
@font-face {
	font-family:"Roboto"; 
	src:url('../css/Roboto-Black.woff') format("woff");
	
}



*,body{
	font-size: 36px;
	font-family:"NanumSquare";
}


#wrap{
	min-width: 320px;
	background: url(../img/bg.png) center center no-repeat;
	position: relative;
	min-height: 100vh;
    width: 100%;
    background-size: cover;
    padding-top: 1px;
}
#wrap h1{
	width: 788px;
	height: 271px;
	background: url(../img/title_bg.png) 0 0 no-repeat;
	position: absolute;
	top: 60px;
	left: calc(50% - 394px);
	background-size: contain;
}
#wrap h1>em{
	position: absolute;
    bottom: 5px;
    right: 28px;
    font-size: 32px;
    letter-spacing: -.5px;
    width: 250px;
    height: 80px;
    text-align: center;
    line-height: 80px;
}
#wrap .bookList{
	text-align: center;
}
#wrap .bookList>ul{
	display: table;
	margin: 336px auto 0;
	width: 100%;
	max-width: 1760px;
}
#wrap .bookList>ul>li{
	width: 410px;
	height: 315px;
	margin: 0 10px;
	background: url(../img/book_bg.png) 0 37px no-repeat;
	background-size: contain;
	position: relative;
	display: inline-table;
	vertical-align: top;
	cursor: pointer;
}
#wrap .bookList>ul>li>em{
	position: absolute;
	width: 80px;
	height: 80px;
	line-height: 80px;
	text-align: center;
	background: url(../img/num_bg.png) 0 0 no-repeat;
	font-family: roboto;
	font-size: 42px;
	color: #ffffff;
	top: 0;
	left: 20px;
}
#wrap .bookList>ul>li>p{
	display: table-cell;
    vertical-align: middle;
    text-align: center;
    padding: 0 4%;
	/*letter-spacing: -.5px;*/
	font-size:29px;
	word-break: keep-all;
}

#lnb{
	position: absolute;
	top: 60px;
	left: -360px;
}
#lnb.open{
	left: 0;
}
#lnb>em{
	display: inline-block;
	width: 100px;
	height: 120px;
	background: url(../img/btn_lnb.png) 0 0 no-repeat;
	position: absolute;
    right: -100px;
    cursor: pointer;
}
#lnb>ul{
	width: 360px;
	background: #336680;
	border-bottom-right-radius: 50px;
	border-bottom: 10px solid #295266;
	text-align: center;
}
#lnb>ul>li{
	border-bottom: 4px dashed #295266;
	display: inline-block;
}
#lnb>ul>li:last-child{
	border-bottom: 0;
}
#lnb>ul>li button{
	color: rgba(255,255,255,0.2);
	display: inline-block;
	padding: 29px 68px;
	border-radius: 26px;
	margin: 9px 0;

}
#lnb>ul>li.on button{
	color: #fff;
	background: #224a61;

}

.logo{
	text-align: center;
	padding: 30px 0;
}

/*########################################################
##########################################################
*/

@media (max-width:1600px ){
	#wrap h1{
		width: 500px;
	    height: 172px;
	    left: calc(50% - 250px);
	}
	#wrap h1>em{
		bottom: 1px;
	    right: 19px;
	    font-size: 19px;
	    width: 157px;
	    height: 51px;
	    line-height: 51px;
	}

	#wrap .bookList>ul{
		margin: 270px auto 0;
	}
	#wrap .bookList>ul>li>em{
		width: 60px;
		height: 60px;
		line-height: 60px;
		background-size: 100%;
		font-size: 35px;
	}

}

@media (max-width: 1290px){
	#wrap .bookList>ul>li{
		width: calc(33.3% - 20px);
		float: left;
		background-size: 100% 84%;
		height: 320px;
	}
	#wrap .bookList>ul>li>p{
		font-size: 29px;
	}
	#lnb{
		top: 30px;
	}
	#lnb>em{
		width: 80px;
    	height: 96px;
    	background-size: contain;
    	right: -80px;
	}
}

@media (max-width:880px ){
	#wrap{
		background:url(../img/m_bg.png) center center no-repeat;
		background-size: cover;
	}
	#wrap .bookList>ul>li{
		height: 250px;
	}
	#wrap .bookList>ul>li>p{
		font-size: 23px;
	}
	#wrap .bookList>ul>li>em{
		width: 50px;
	    height: 50px;
	    line-height: 50px;
	    font-size: 24px;
	    background-size: 100%;
	    left: 20px;
	}
	#wrap h1{
		width: 450px;
		height: 155px;
		left: calc(50% - 225px);
	}
	#wrap h1>em{
		bottom: 0px;
	    right: 15px;
	    font-size: 19px;
	    width: 143px;
	    height: 48px;
	    line-height: 46px;
	}
	#wrap .bookList>ul{
		margin: 250px auto 0;
	}
	
	#lnb{
		left: -320px;
	}
	#lnb>em{
		width: 65px;
		height: 78px;
		right: -65px;
	}
    
	#lnb>ul{
		width:320px;
	}
	#lnb>ul>li button{
		font-size: 27px;
		padding: 23px 58px;
	}

}
@media (max-width:640px ){
	#wrap h1{
		width: 320px;
		height: 110px;
		left: calc(50% - 160px);
	}
	#wrap h1>em{
		bottom: 1px;
	    right: 10px;
	    font-size: 13px;
	    width: 105px;
	    height: 35px;
	    line-height: 35px;
	}
	#wrap .bookList>ul{
		margin: 185px auto 0;
	}
	#wrap .bookList>ul>li{
		height: 236px;
	}
	#wrap .bookList>ul>li>em {
	    width: 40px;
	    height: 40px;
	    line-height: 40px;
	    font-size: 23px;
	    background-size: 100%;
	    top: 13px;
	}
	#lnb{
		top: 10px;
		left: -290px;
	}
	#lnb>em{
	    width: 60px;
	    height: 72px;
	    right: -60px;
	}
    
	#lnb>ul{
		width:290px;
	}
	#lnb>ul>li button{
		font-size: 25px;
		padding: 21px 52px;
	}

}
@media (max-width:550px ){
	#wrap .bookList>ul>li{
		width: calc(50% - 20px);
	}

}

@media (max-width:460px ){
	#wrap .bookList>ul>li>p{
		font-size: 20px;
	}
	#wrap .bookList>ul>li{
		height: 215px;
	}
	#wrap .bookList>ul>li>em{
		font-size: 20px;
	}
}
@media (max-width:375px ){
	#wrap .bookList>ul>li>p{
		font-size: 16px;
	}
	#wrap .bookList>ul>li{
		height: 175px;
		background-size: 100% 74%;
	}
	#wrap .bookList>ul>li>em{
		width: 30px;
		height: 30px;
		line-height: 30px;
		font-size: 16px;
		top: 18px;
	}
	#lnb>em{
		width: 40px;
	    height: 48px;
	    right: -40px;
	}
	#lnb{
		top: 10px;
		left: -200px;
	}
	#lnb>em{
	    width: 40px;
	    height: 48px;
	    right: -40px;
	}
    
	#lnb>ul{
		width:200px;
		height: auto;
	}
	#lnb>ul>li button{
		font-size: 17px;
		padding: 15px 30px;
	}



}