@charset "utf-8";

/*
******************************************************************
* top.css
******************************************************************
*/

#wrapper {
	height: 100%;
}
@media screen and (max-width:1000px){
	#wrapper {
		width: 1000px;
	}
	.Is-touch #wrapper {
		overflow: hidden;
	}
	.clouds {
		position: fixed;
	}
}

#container #main {
	width: 100%;
	height: 100%;
}

#container #footer {
	position: absolute;
	bottom: 0;
	right: 0;
	left: 0;
	margin: auto;
}

#container #footer .sns__btn {
	display: inline-block;
}
#container #footer .sns__btn li {
	display: inline-block;
	vertical-align: middle;
	margin-right: 10px;
}


/* .bgs */
.bgs {
	position: relative;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	width: 980px;
	height: 878px;
	margin: auto;
	-webkit-transform-origin: center top;
	-moz-transform-origin: center top;
	-ms-transform-origin: center top;
	-o-transform-origin: center top;
	transform-origin: center top;
}
.Is-touch .bgs {
	position: absolute;
	-webkit-transform-origin: center center;
	-moz-transform-origin: center center;
	-ms-transform-origin: center center;
	-o-transform-origin: center center;
	transform-origin: center center;
}
.bgs > * {
	position: absolute;
	z-index: 2;
	top: 50%;
	left: 50%;
	opacity: 0;
}
.bgs__logo {
	z-index: 3;
	margin: -420px 0 0 100px;
	opacity: 1;
}
.bgs__maker {
	z-index: 3;
	margin: -450px 0 0 -550px;
	opacity: 1;
}
.bgs__img01 {
	margin: -355px 0 0 -516px;
}
.bgs__img02 {
	margin: -396px 0 0 -485px;
}
.bgs__img03 {margin: -272px 0 0 336px;}
.bgs__img04 {margin: 94px 0 0 479px;}
.bgs__img05 {margin: -225px 0 0 -60px;}

.topLoaded .bgs__img01 {
	-webkit-animation:pukapuka 5s ease-in-out infinite;
	animation:pukapuka 5s infinite;
}
.topLoaded .bgs__img02 {
	-webkit-animation:pukapuka 4s ease-in-out infinite;
	animation:pukapuka 4s infinite;
}
.topLoaded .bgs__img03 {
	-webkit-animation:pukapuka 5s 0.5s ease-in-out infinite;
	animation:pukapuka 5s 0.5s infinite;
}
.topLoaded .bgs__img04 {
	-webkit-animation:pukapuka 6s 1s ease-in-out infinite;
	animation:pukapuka 6s 1s infinite;
}


.bgs__bg {
	z-index: 1;
	margin: -540px 0 0 -698px;
	-webkit-transform-origin: center bottom;
	-moz-transform-origin: center bottom;
	-ms-transform-origin: center bottom;
	-o-transform-origin: center bottom;
	transform-origin: center bottom;
}

@keyframes pukapuka {
	0% {
		-webkit-transform: translateY(-5px);
		-ms-transform: translateY(-5px);
		-o-transform: translateY(-5px);
		transform: translateY(-5px);
	}
	50% {
		-webkit-transform: translateY(5px);
		-ms-transform: translateY(5px);
		-o-transform: translateY(5px);
		transform: translateY(5px);
	}
	100% {
		-webkit-transform: translateY(-5px);
		-ms-transform: translateY(-5px);
		-o-transform: translateY(-5px);
		transform: translateY(-5px);
	}
}

@-webkit-keyframes pukapuka {
	0% {
		-webkit-transform: translateY(-5px);
		-ms-transform: translateY(-5px);
		-o-transform: translateY(-5px);
		transform: translateY(-5px);
	}
	50% {
		-webkit-transform: translateY(5px);
		-ms-transform: translateY(5px);
		-o-transform: translateY(5px);
		transform: translateY(5px);
	}
	100% {
		-webkit-transform: translateY(-5px);
		-ms-transform: translateY(-5px);
		-o-transform: translateY(-5px);
		transform: translateY(-5px);
	}
}
