@charset "utf-8";

/*========= ローディング画面のためのCSS ===============*/
#splash {
  	position: fixed;
	width: 100%;
	height: 100%;
	background: #fff;
	z-index: 9999999;
	opacity: 100%;
}
#splash-logo {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}
#splash #splash-logo {
	color:#8C8C88;
	font-size: 180%;
	text-align: center;
	opacity: 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: scaleY(0);
    background-color: #EAC3B1;/*伸びる背景色の設定*/
	opacity: 50%;
  animation-name:PageAnime;
  animation-duration:2s;
  animation-timing-function:ease-in-out;
  animation-fill-mode:forwards;

}

@keyframes PageAnime{
  0% {
    transform-origin:bottom;
    transform:scaleY(0);
  }
  50% {
    transform-origin:bottom;
    transform:scaleY(1);
  }
  50.001% {
    transform-origin:top;
  }
  100% {
    transform-origin:top;
    transform:scaleY(0);
  }
}

/*画面遷移の後現れるコンテンツ設定*/

#container{
  opacity: 0;/*はじめは透過0に*/
}

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

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

