@charset "utf-8";

/* ++++++++++++++++++++++++++++++++++++++++

	index.html

++++++++++++++++++++++++++++++++++++++++ */

#opening {
	display: none;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	min-width: 960px;
	min-height: 100%;
	margin: 0;
	background: url(../img/opening.jpg) center center no-repeat;
	background-size: cover;
	box-sizing:border-box;
	border:30px solid #fff;
	border-bottom: 50px solid #fff;
	z-index: 1000;
	cursor: pointer;
}
#logo {
	display: none;
	position: absolute;
	top: 50%;
	right: 50%;
	margin-top: -150px;
	margin-right: -480px;
	width: 180px;
}
#logo img {
	width: 100%;
}

#container {
	display: none;
	position: relative;
	top: auto;
	left: auto;
	width: 100%;
	height: 100%;
}

#news {
	position: absolute;
	bottom: 50px;
	left: 0;
	width: 240px;
}
#news h2 {
	padding: 5px;
	background: #fff;
	text-align: center;
}
#news li{
	margin: 5px 0;
	padding: 17px;
	background: rgba(255,255,255,0.9);
}
#news .date {
	padding: 0 0 10px;
	margin-bottom: 10px;
	color: #5a3c00;
	border-bottom: 1px solid #5a3c00;
}
#news .news-txt a,
#news .news-txt a:hover {
	color: #5a3c00;
}


/* ++++++++++++++++++++++++++++++++++++++++

	for SP
	
++++++++++++++++++++++++++++++++++++++++ */
@media screen and (max-width: 767px) {
	
	h1 {
		position: relative;
		left: 0;
		top: 0;
		padding-top: 8%;
		margin-left: 9.5%;
		width: 25%;
	}
	
	h1 a {
		padding-top: 130%;
		background: url(../img/sp/logo.png) no-repeat;
		background-size: 100%;
	}
	
	#opening {
		display: none;
		position: relative;
		top: 0;
		left: 0;
		width: 100%;
		min-width: 100%;
		min-height: 100%;
		margin: 0;
		background: url(../img/sp/opening.jpg) top center no-repeat;
		background-size: cover;
		box-sizing:border-box;
		border: none;
		border-bottom: none;
		z-index: 1000;
		cursor: pointer;
	}
	#opening img {
		display: none;
	}
	#logo {
		top: 4.5%;
		left: 0;
		width: 25%;
		margin: 0 0 0 9.5%;
		text-align: center;
	}
	#logo img.pc {
		display: none;
	}
	#logo img.sp {
		position: absolute;
		top: 0;
		left: 0;
		margin: auto;
		display: block;
		width: 100%;
	}

	#news {
		position: relative;
		bottom: auto;
		left: 0;
		margin-top: 8%;
		margin-bottom: 10%;
		width: 65%;
	}
	#news li{
		padding: 5% 5% 3%;
	}
	#news .date {
		padding: 0 0 4%;
		margin-bottom: 4%;
		color: #5a3c00;
		border-bottom: 1px solid #5a3c00;
	}
	
	.copyright {
		position: fixed;
		bottom: 0;
	}
}