@charset "utf-8";

/*----------共通----------*/

body {
	font-size: 16px;
	line-height: 1.8;
	color: #222;
	font-family: 'Hiragino Kaku Gothic Pro', 'ヒラギノ角ゴ Pro W3', "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", 'メイリオ',Meiryo,'ＭＳ Ｐゴシック',sans-serif;
	margin: 0;
	padding: 0;
	width: 100%;
	background: url("../images/bg_dot.png") repeat center top #fbed92;
	background-attachment: fixed !important;
}

p,img,dl,dt,dd,ul,li,h1,h2,h3 {
	margin: 0;
	padding: 0;
}
img {
	border: 0;
}
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----------*/

#wrap {
	width: 100%;
	background: url("../images/bg_line.svg") no-repeat center center / cover;
	background-attachment: fixed;
}
.wholeBox {
	width: 1300px;
	margin: 0 auto;
}
	@media screen and (max-width: 619px){
		#wrap {
			background: none;
		}
		.wholeBox {
			width: 100%;
			margin: 0;
		}
	}

/*----------全体----------*/

#container {
	width: 980px;
	float: left;
	position: relative;
}
	@media screen and (max-width: 619px){
		#container {
			width: 100%;
			float: none;
		}
	}
	
/*----------コンテンツエリア----------*/

#contents {
	
}	
	@media screen and (max-width: 619px){
		#contents {
			position: relative;
			width: 100%;
			height: auto;
			margin: 0;
			background: none;
			border-left: none;
		}
		#contents:before {
			position: fixed;
			content: "";
			background: url("../images/bg_line.svg") no-repeat center center / cover;
			top: 0;
			left: 0;
			width: 100%;
			height: 100vh;
			z-index: -1;
		}
	}
	
/*----------メニュー----------*/

.menu {
	position: absolute;
	left: 0;
	top: 20px;
}
ul#navi li {
	margin-bottom: 5px;
	font-size: 0;
}
ul#navi li:last-child {
	margin-bottom: 30px;
}
ul#navi li a:hover {
	opacity: 1;
}
ul#navi li a:hover img {
	animation: swing 0.5s;
}
	@media screen and (max-width: 619px){
		.menu {
			position: static;
		}
		ul#navi {
			display: flex;
			flex-wrap: wrap;
			justify-content: center;
			margin-bottom: 3%;
			padding: 0 0.5% 0 2%;
		}
		ul#navi li {
			width: 33%;
			margin: 0;
		}
		ul#navi li:last-child {
			margin-bottom: 0;
		}
	}

/*----------フッター----------*/

#foot {
	position: absolute;
	width: 730px;
	right: 0px;
	bottom: 15px;
	text-align: center;
}
#foot #copyright {
	font-size: 14px;
	line-height: 1.4;
	color: #fff;
}
	@media screen and (max-width: 619px){
		#foot {
			position: static;
			width: auto;
			text-align: center;
			padding-bottom: 2%;
		}
		#foot #copyright {
			color: #222;
		}
	}
