@charset "utf-8";

/*========= ローディング画面のためのCSS ===============*/
body {
    background-color: #EBE9D0;
}
#splash {
	position: fixed;
    top: 0;
	width: 100%;
	height: 100%;
	background: #EBE9D0;
	z-index: 9999999;
	text-align:center;
	color:#FF8C0C;
}

#splash-logo {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}


/*========= 画面遷移のためのCSS ===============*/

/*画面遷移アニメーション*/
.splashbg{
    display: none;
}

/*bodyにappearクラスがついたら出現*/
body.appear .splashbg{
    display: block;
    content: "";
    position:fixed;
	z-index: 999;
    width: 100%;
    height: 100vh;
    top: 0;
	left: 0;
    transform: scaleX(0);
    background-color: #B4B535;/*伸びる背景色の設定*/
	animation-name:PageAnime;
	animation-duration:0.5s;
	animation-timing-function:ease-in-out;
	animation-fill-mode:forwards;
}

@keyframes PageAnime{
	0% {
		transform-origin:left;
		transform:scaleX(0);
	}
	50% {
		transform-origin:left;
		transform:scaleX(1);
	}
	50.001% {
		transform-origin:right;
	}
	100% {
		transform-origin:right;
		transform:scaleX(0);
	}
}

/*画面遷移の後現れるコンテンツ設定*/
#container{
    opacity: 0;/*はじめは透過0に*/
    background-image: url(../img/road.png);
    background-repeat: repeat-y;
    background-position: calc(50% - 35%) 150px;
}

/*bodyにappearクラスがついたら出現*/
body.appear #container{
	animation-name:PageAnimeAppear;
	animation-duration:0.2s;
	animation-delay: 0.2s;
	animation-fill-mode:forwards;
	opacity: 0;
}

@keyframes PageAnimeAppear{
	0% {
	opacity: 0;
	}
	100% {
	opacity: 1;
}
}

/*========= レイアウトのためのCSS ===============*/

h1{
	font-size:1.2rem;
}

h2{
	font-size:1.2rem;
	text-align: center;
	margin: 0 0 30px 0;
}

p{
	margin-top:20px;	
}

small{
	color:#fff;
	display: block;
	text-align: center;
}

#header{
    /*background-color: #EBE9D0;*/
    color: #fff;
    text-align: center;
    padding: 10px 20px 0px;
    background-color: rgba(56,182,241,1.00);
}

section{
	padding:100px 30px;
}

section:nth-child(2n){
	background:#f3f3f3;	
}

#footer{
	background:#333;
	padding:20px;
}

@media screen and (max-width:600px){
#header {
    color: #fff;
    text-align: center;
    padding: 10px 20px;
}

}
