/* ******************************************************************
 *	File name		: base.css
 *	Summary			: css base
 * ******************************************************************
 */
/*

aqua  #004EA2 rgba(0,78,162,0.5)

*/

/* -----------------------------------------------------------------
   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){
}
@media print {
	body{
		margin:0;
		width:1100px;
	}
}

/* -----------------------------------------------------------------
   header
----------------------------------------------------------------- */

header{
	position:relative;
	top:0px;
	left:0px;
	width:100%;
	height:113px;/*121*/
	margin:0;
	z-index:50;
	}
	header::before{
		content:" ";
		position:absolute;
		top:0px;
		left:0px;
		width:100%;
		height:30px;
		background:#EDF2E9;
		z-index:-1;
	}
	header p#site_addition{
		display:-webkit-flex;
		display:flex;
		justify-content:flex-start;
		align-items:center;
		position:relative;
		width:1000px;
		max-width:100%;
		height:30px;
		margin:0 auto;
		text-align:left;
		font-size:0.84rem;
		background:#EDF2E9;
		color:#000;
	}
	#head_contents{
		position:relative;
		width:1000px;
		max-width:100%;
		margin:0 auto;
		text-align:center;
		z-index:1;
	}
	header h1{
		position:absolute;
		top:13px;
		left:10px;
		width:343px;
		height:78px;
		z-index:2;
		}
		header h1 a img{
			width:100%;
			height:auto;
}
/* --- responsive --- */
@media screen and (max-width:767px){
	header{
		height:120px;
		}
		header p#site_addition{
			justify-content:center;
			height:auto;
			margin:0 auto;
			padding:7px 15px;
			text-align:center;
			font-size:0.55rem;
			line-height:1.3;
			color:#000;
	}
	header h1{
		top:15px;
		left:20px;
		width:180px;
		height:auto;
	}
}
/* nav */
header nav#main_nav{
	display:none !important;
}

/* -----------------------------------------------------------------
   main
----------------------------------------------------------------- */

main{
	display:block;
	position:relative;
	margin-top:0px;
	width:100%;
	background:#FFF;
	z-index:1;
}

section{
	position:relative;
	max-width:100%;
	margin-bottom:50px;
	padding:0px;
}

.contents{
	position:relative;
	width:1000px;
	max-width:100%;
	margin:0 auto;
}

/* --- responsive --- */
@media screen and (max-width:767px){
	#main_contents{
		width:100%;
	}
	section{
		margin-bottom:25px;
	}
}

/* -----------------------------------------------------------------
   footer
----------------------------------------------------------------- */

footer{
	position:relative;
	width:100%;
	min-height:65px;
	margin-bottom:0px;
	padding:13px 0px 0px;
	text-align:center;
	overflow:hidden;
	border-top:2px solid #E3E3E3;
	border-bottom:20px solid #54A352;
	color:#000;
	z-index:500;
	}
	footer ul#ft_menu{
		display:-webkit-flex;
		display:flex;
		-webkit-box-pack:justify;
		-ms-flex-pack:justify;
		justify-content:flex-start;
		flex-wrap:wrap;
		position:relative;
		width:1000px;
		max-width:100%;
		margin:0 auto;
		padding-right:250px;
		list-style:none;
		z-index:100;
	}
	footer ul#ft_menu li{
		position:relative;
		height:17px;
		margin:0 -1px 5px 0;
		border-left:1px solid rgba(0,0,0,0.2);
		border-right:1px solid rgba(0,0,0,0.2);
		line-height:1.25;
	}
	footer ul#ft_menu li a{
		display:-webkit-flex;
		display:flex;
		justify-content:center;
		align-items:center;
		font-size:0.77rem;
		height:100%;
		padding:0 15px;
		text-decoration:none;
		color:#777;
		transition-duration:0.5s;
		}
		footer ul#ft_menu li a:hover{
			background:#EEE;
			color:#000;
	}
	footer p#copyright{
		position:absolute;
		top:10px;
		right:calc(50% - 500px);
		font-size:0.84rem;
		text-align:center;
		color:#777;
}

/* --- responsive --- */
@media screen and (max-width:767px){
	footer{
		padding:0px 0px 10px;
		}
		footer ul#ft_menu{
			justify-content:space-around;
			width:100%;
			margin:0 0 10px;
			padding:10px 0;
			background:#EEE;
		}
		footer p#copyright{
			position:relative;
			top:0;
			right:0;
			font-size:0.77rem;
			text-align:center;
			color:#777;
	}
}

/* -----------------------------------------------------------------
   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;
	}
}










