@charset "utf-8";

/*----------共通----------*/

body {
	font-size: 16px;
	line-height: 1.8;
	color: #555;
	font-family: 'Noto Serif JP', serif;
	margin: 0;
	padding: 0;
	width: 100%;
	background: url("../images/bg.png") repeat center top;
}
	@media screen and (max-width: 619px){
		body {
			font-family: 'Noto Serif JP', serif !important;
		}
	}

p,img,dl,dt,dd,ul,li,h1,h2,h3 {
	margin: 0;
	padding: 0;
}
img {
	border: 0;
	image-rendering: -webkit-optimize-contrast;
}
ul,li {
	list-style-type: none;
}
a:link,
a:visited {
	font-weight: bold;
}
a:hover,
a:active {
	text-decoration: none;
	opacity: 0.7;
	transition: 0.3s;
}
.f_clr {
    clear: both;
    margin: 0;
    padding: 0;
    width: auto;
}
/*clearfix hack*/
.clearfix:after {
	content: "."; 
	display: block; 
	height: 0; 
	clear: both; 
	visibility: hidden;
}
.clearfix {
	display: inline-block;
}
/* Hides from IE-mac \*/
* html .clearfix {
	height: 1%;
}
.clearfix {
	display: block;
}
/* End hide from IE-mac */
	
/*----------wraper----------*/

.wholeBox {
	width: 1300px;
	margin: 0 auto;
}
	@media screen and (max-width: 619px){
		.wholeBox {
			width: 100%;
			margin: 0;
		}
	}

/*----------全体----------*/

#container {
	width: 980px;
	float: left;
	position: relative;
}
	@media screen and (max-width: 619px){
		#container {
			width: 100%;
			float: none;
		}
	}
	
/*----------コンテンツエリア----------*/

#contents {
	width: 800px;
	margin: 0 0 0 auto;
}
	@media screen and (max-width: 619px){
		#contents {
			width: 100%;
			margin: 0;
		}
	}
	
/*----------メニュー----------*/

.menu {
	position: absolute;
	width: 154px;
	left: 8px;
	top: 134px;
}
ul#navi li {
	margin-bottom: 50px;
	font-size: 0;
}
	@media screen and (max-width: 619px){
		.menu {
			position: static;
			width: auto;
		}
		ul#navi {
			display: flex;
			flex-wrap: wrap;
			justify-content: space-between;
			padding: 0 3% 2%;
		}
		ul#navi li {
			width: 31%;
			margin-bottom: 5%;
		}
		ul#navi li:nth-child(2),
		ul#navi li:nth-child(3),
		ul#navi li:nth-child(5) {
			padding-top: 0.5%;
		}
	}

/*----------フッター----------*/

#foot {
	margin: 0 20px;
	padding: 10px;
	text-align: center;
	background: url("../images/footer_bg.png") repeat center top;
}
#foot #copyright {
	font-size: 14px;
	line-height: 1.4;
	color: #222;
	
}
	@media screen and (max-width: 619px){
		#foot {
			padding: 0 0 3%;
			background: none;
		}
		#foot #copyright {
			font-size: 0.8em;

		}
	}
