@charset "euc-jp";
/* CSS Document */

#mv {
	width: 100%;
	margin: 0;
	text-align: center;
	background: url(../images/mvbg.jpg) repeat-x center;
	background-size: contain;
	padding-left: 2%;
	padding-right: 2%;
}
.main_imgBox {
	max-width: 1600px;
	margin: 0 auto;
	padding-top: 55%;
	overflow: hidden;
	position: relative;
}
.main_img {
	z-index:15;
	opacity: 0;
	width: 100%;
	height: 100%;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	position: absolute;
	left: 0;
	top: 0;
	-webkit-animation: anime 24s 0s infinite;
	animation: anime 24s 0s infinite;
}
.main_img p {
	display: block;
	position: absolute;
	margin: 0;
	font-size: 1.1rem;
	text-align: right;
	color: #CCC;
	right: 0;
	bottom: 0;
}
.main_img:nth-of-type(2) {
	-webkit-animation-delay: 6s;
	animation-delay: 6s;
}
.main_img:nth-of-type(3) {
	-webkit-animation-delay: 12s;
	animation-delay: 12s;
}
.main_img:nth-of-type(4) {
	-webkit-animation-delay: 18s;
	animation-delay: 18s;
}
@keyframes anime {
0% {
opacity: 0;
}
12% {
opacity: 1;
}
25% {
opacity: 1;
}
37% {
opacity: 0;
transform: scale(1.05);
z-index:9;
}
100% { opacity: 0 }
}
@-webkit-keyframes anime {
0% {
opacity: 0;
}
12% {
opacity: 1;
}
25% {
opacity: 1;
}
37% {
opacity: 0;
-webkit-transform: scale(1.05);
z-index:9;
}
100% { opacity: 0 }
}

#top_list section {
	position: relative;
}
#topbox1 {
	margin: 1em auto;
	width: 80%;
	padding: 0 15%;
	text-shadow: 0 0 3px #FFF, 0 0 3px #FFF, 0 0 3px #FFF, 0 0 3px #FFF, 0 0 3px #FFF, 0 0 3px #FFF, 0 0 3px #FFF;
}
#topbox1 p {
	color: #000;
	margin: 0 0 .5em;
}
#topbox2 {
	padding-top: 2.5em;
	background: #9ACCE0 url(../images/bg4.jpg) center;
	background-size: cover;
	width: 100%;
}
#topbox2 .buttonS {
	box-shadow: 0 4px 8px rgba(0,0,0,0.2);
	margin: 0 1em 1em;
}
@media screen and (min-width:700px){
#topbox2 .buttonS {
	width: 35%;
}
}
@media screen and (max-width:699px){
#topbox2 .buttonS {
	width: 80%;
}
}
#topbox2 .buttonS a {
	padding: 1.2em 1.5em;
	font-size: 1.125em;
}

#top_menu section {
	padding-left: 80px;
	position: relative;
}
#top_list h2, 
#top_menu h2 {
	position: absolute;
	display: block;
	top: 1em;
	left: 1em;
	width: 38px;
	height: auto;
	margin: 0;
	padding: 0;
	border: none;
}
.contents h2::before {
	content: none;
	left: -6px;
	border: none;
}
.contents h2::after {
	content: none;
	left: -6px;
	border: none;
}

#top_list .buttonS, 
#top_list .buttonS a, 
#top_menu .buttonS, 
#top_menu .buttonS a {
	border-radius: 2em;
}

/* MENU 3column */
#top_menu .fbox {
	width: 32%;
}

@media screen and (max-width:1019px){
#topbox1 {
	width: 90%;
}
#top-first {
	padding-left: 0;
	padding-right: 0;
}
#top_list h2, 
#top_menu h2 {
	width: 32px;
}
}

@media screen and (max-width:699px){
#topbox1 {
	width: 100%;
	background-size: 20% auto;
	padding: 0 10%;
}
#top_list section {
	padding-left: 40px;
}
#top_menu section {
	padding-left: 50px;
}
#top_list h2, 
#top_menu h2 {
	width: 22px;
}
#top_menu .fbox {
	width: 49%;
}
}

@media screen and (max-width:479px){
#top_menu .fbox {
	width: 100%;
}
}
