/* ******************************************************************
 *	File name		: base.css
 *	Summary			: css base
 * ******************************************************************
 */
/*

#574671
rgba(87,70,113,0.7)

*/

/* -----------------------------------------------------------------
   base
----------------------------------------------------------------- */

body{
	position:relative;
	width:100%;
	height:100%;
	line-height:145%;
	color:#222;
	}
	#wrapper{
		position:relative;
		width:100%;
}

/* --- responsive --- */
@media screen and (max-width:767px){
	#wrapper{
		padding-top:60px !important;
	}
}
@media print {
	body{
		margin:0;
		width:1100px;
	}
}

/* -----------------------------------------------------------------
   header
----------------------------------------------------------------- */

header{
	position:relative;
	top:0px;
	left:0px;
	width:100%;
	height:130px;
	margin:0px;
	z-index:50;
	}
	header::after{
		content:" ";
		position:absolute;
		bottom:0px;
		left:0px;
		width:100%;
		height:50px;
		background:#574671;
		z-index:0;
	}
	#head_contents{
		position:relative;
		width:1000px;
		max-width:100%;
		height:150px;
		margin:0 auto;
		padding:0px 0 0 0;
		text-align:center;
		z-index:1;
	}
	header h1{
		display:block;
		position:absolute;
		top:18px;
		left:0px;
		width:405px;
		height:48px;
		z-index:2;
		transition-duration:0.5s;
		}
		header h1 a img{
			width:100%;
			height:auto;
}

/* nav */
header nav{
	position:absolute;
	top:80px;
	left:0px;
	width:100%;
	height:50px;
	transition-duration:1.0s;
	z-index:1000;
}
header nav > ul{
	display:-webkit-flex;
	display:flex;
	-webkit-box-pack:justify;
	-ms-flex-pack:justify;
/*	justify-content:center;*/
	justify-content:space-between;
	position:relative;
	width:1000px;
	max-width:calc(100% - 2px);
	height:100%;
	margin:0 auto;
	list-style:none;
	}
	header nav > ul > li{
		position:relative;
		width:100%;
		height:100%;
		text-align:center;
		color:#000;
		transition-duration:0.5s;
		}
		header nav > ul > li::before,
		header nav > ul > li::after{
			content:" ";
			position:absolute;
			top:calc(50% - 7px);
			width:1px;
			height:15px;
			background:#FFF;
			z-index:0;
		}
		header nav > ul > li::before{
			left:0px;
		}
		header nav > ul > li::after{
			right:-1px;
	}
	header nav ul > li > a{
		display:-webkit-flex;
		display:flex;
		justify-content:center;
		align-items:center;
		position:relative;
		width:calc(100% - 20px);
		height:39px;
		margin:6px 0 0 10px;
		padding:0px;
		font-weight:normal;
/*		font-size:0.84rem;*/
		font-size:0.96rem;
		text-decoration:none;
		text-align:left;
		color:#FFF;
		z-index:10;
		-moz-border-radius:6px;
		-webkit-border-radius:6px;
		border-radius:6px;
		transition-duration:0.5s;
	}
	header nav ul li.active a,
	header nav ul li a:hover{
		text-decoration:none;
		background:rgba(0,0,0,0.4);
	}

/* other li */
header nav ul li#nav_top{
	display:none;
}

/* --- responsive --- */
@media screen and (max-width:1000px){
	header nav ul > li > a{
		font-size:0.84rem;
	}
}
@media screen and (max-width:767px){
	header{
		display:none;
	}
}

/* -----------------------------------------------------------------
   h_slide
----------------------------------------------------------------- */

header.h_slide{
	}
	header.h_slide #head_contents{
		position: fixed !important;
		top:0px;
		left:0px;
		width:100%;
		height:70px;
		background:#E9ECF0;
		background:rgba(227,231,236,0.9);
		background:rgba(255,255,255,0.95);
		-moz-box-shadow:0px 0px 3px 3px rgba(0,0,0,0.2);
		-webkit-box-shadow:0px 0px 3px 3px rgba(0,0,0,0.2);
		box-shadow:0px 0px 3px 3px rgba(0,0,0,0.2);
	}
	header.h_slide h1{
		width:270px;
		top:18px !important;
		left:40px !important;
}
header.h_slide #main_nav{
	position:absolute;
	top:15px;
	left:350px;
	width:calc(100% - 370px);
	height:40px;
	}
	header.h_slide #main_nav ul{
		-moz-border-radius:6px;
		-webkit-border-radius:6px;
		border-radius:6px;
		background:rgba(87,70,113,0.7);
		overflow:hidden;
	}
	header.h_slide #main_nav li:nth-child(2)::before,
	header.h_slide #main_nav li:last-child::after{
		display:none;
	}
	header.h_slide #main_nav li a{
		text-align:center;
		font-size:0.8rem;
		height:28px;
	}
	/* link mn_langurage */
	header.h_slide #main_nav li#mn_link,
	header.h_slide #main_nav li#mn_langurage{
		display:none;
}

/* --- responsive --- */
@media only screen and (max-width:1100px){
	header.h_slide #main_nav li a{
		font-size:0.7rem;
	}
}
@media only screen and (max-width:1030px){
	header.h_slide h1{
		width:270px;
		top:18px !important;
		left:10px !important;
	}
	header.h_slide #main_nav{
		left:290px;
		width:calc(100% - 300px);
	}
}
@media only screen and (max-width:960px){
	header.h_slide #main_nav li a{
		line-height:1.25;
	}
	header.h_slide #main_nav li a br{
		display:none;
	}
}
/* -----------------------------------------------------------------
   main
----------------------------------------------------------------- */

main{
	display:block;
	position:relative;
	margin-top:0px;
	padding:0px;
	width:100%;
	z-index:1;
}

section{
	position:relative;
	width:1000px;
	max-width:100%;
	margin:0 auto 40px;
}
.contents{
	position:relative;
	width:1000px;
	max-width:100%;
	margin:0 auto 40px;
}

/* --- responsive --- */
@media screen and (max-width:767px){
	section{
		margin-bottom:25px;
	}
}

/* -----------------------------------------------------------------
   footer
----------------------------------------------------------------- */

footer{
	position:relative;
	width:100%;
	padding:10px 20px 50px;
	background:#806D8D;
	color:#FFF;
	margin-bottom:0px;
	text-align:center;
	overflow:hidden;
	z-index:500;
	}
	footer p{
		position:relative;
		width:1000px;
		max-width:100%;
		margin:0 auto;
		font-size:0.84rem;
		text-align:left;
		color:#FFF;
		z-index:10;
}

/* --- responsive --- */
@media screen and (max-width:767px){
	footer p{
		font-size:0.70rem;
	}
}

/* -----------------------------------------------------------------
   pagetop
----------------------------------------------------------------- */

#pagetop{
	position:fixed;
	right:20px;
	bottom:25px;
	width:50px;
	height:50px;
	border-radius:10px;
	-webkit-border-radius:10px;
	-moz-border-radius:10px;
	background:rgba(100,100,100,1);
	opacity:0.5;
	z-index:999;
	}
	#pagetop:before,
	#pagetop:after{
		content:" ";
		position:absolute;
	}
	#pagetop:before{
		top:8px;
		left:10px;
		width: 0;
		height: 0;
		margin-top: -15px;
		border:15px solid transparent;
		border-bottom:15px solid rgba(255,255,255,1);
	}
	#pagetop:after{
		top:23px;
		left:19px;
		width:13px;
		height:18px;
		background:rgba(255,255,255,1);
		z-index:0;
	}
	#pagetop span{
		display:none;
		position:absolute;
		top:-25px;
		height:22px;
		right:0px;
		width:80px;
		font-size:10px;
		background:rgba(255,255,255,1);
		border:1px solid #000;
		border-radius:5px;
		-webkit-border-radius:5px;
		-moz-border-radius:5px;
		color:#000;
		line-height:20px;
		}
		#pagetop span:before,
		#pagetop span:after{
			content:" ";
			position:absolute;
		}
		#pagetop span:before{
			bottom:-12px;
			right:8px;
			width:0;
			height:0;
			border:5px solid transparent;
			border-top:7px solid rgba(0,0,0,1);
		}
		#pagetop span:after{
			bottom:-11px;
			right:8px;
			width:0;
			height:0;
			border:5px solid transparent;
			border-top:7px solid rgba(255,255,255,1);
	}
	/* hover */
	#pagetop:hover{
		opacity:1;
	}
	
	#pagetop a{
		display:block;
		position:absolute;
		left:0px;
		top:0px;
		width:100%;
		height:100%;
		color:#0061B1;
		border-radius:6px;
		-webkit-border-radius:6px;
		-moz-border-radius:6px;
		z-index:1;
}
@media print{
	#pagetop{
		display:none;
	}
}


/* -----------------------------------------------------------------
   contact
----------------------------------------------------------------- */

#contact{
	margin:0 auto 50px;
	background:#E9ECF0;
	background:rgba(227,231,236,0.9);
	background:rgba(255,255,255,0.95);
	-moz-box-shadow:0px 0px 3px 3px rgba(0,0,0,0.2);
	-webkit-box-shadow:0px 0px 3px 3px rgba(0,0,0,0.2);
	box-shadow:0px 0px 3px 3px rgba(0,0,0,0.2);
	width:550px;
	max-width:100%;
	height:230px;
	padding: 30px 0;
	}
	#contact h2{
		position:relative;
		width:100%;
		margin:0 0 15px;
		padding:0 0 8px;
		font-size:1.4rem;
		text-align:center;
		color:#574671;
		}
		#contact h2::after{
			content:" ";
			position:absolute;
			left:calc(50% - 95px);
			bottom:0px;
			width:190px;
			height:1px;
			background:#574671;
	}
	#contact address{
	}
	#contact address p{
		font-weight:normal;
		font-size:1.28rem;
		text-align:center;
		line-height:1.45;
	}
	#contact address span.green{
		color:#45B035 !important;
}
/* --- responsive --- */
@media screen and (max-width:767px){
	#contact{
		padding:0 25px;
	}
	#contact address p{
		font-size:0.87rem;
	}
	#contact{
		width:300px;
		max-width:100%;
		height:200px;
		padding-top: 20px;
	}
}

/* -----------------------------------------------------------------
   page_banner
----------------------------------------------------------------- */

#page_banner{
	margin:0 auto 35px;
	}
	#page_banner ul{
		display:-webkit-flex;
		display:flex;
		-webkit-box-pack:justify;
		-ms-flex-pack:justify;
		justify-content:space-between;
		flex-wrap:wrap;
		list-style:none;
		width:1000px;
		max-width:100%;
		margin:0 auto;
	}
	#page_banner ul li{
		position:relative;
		width:180px;
		height:74px;
		-moz-box-shadow: 0px 0px 5px rgba(0,0,0,0.4);
		-webkit-box-shadow: 0px 0px 5px rgba(0,0,0,0.4);
		box-shadow: 0px 0px 5px rgba(0,0,0,0.4);
	}
	#page_banner ul li a{
		transition-duration:0.5s;
		}
		#page_banner ul li a:hover{
			opacity:0.6;
}
/* --- responsive --- */
@media screen and (max-width:767px){
	#page_banner{
		padding:0 10px;
		}
		#page_banner ul li{
			max-width:48.5%;
			margin:0 auto 11px;
	}
}









