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

#splash-logo {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}
.splash-logo{
  display: block;
  width: 60px;
}

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

/*画面遷移アニメーション*/
.splashbg{
    display: none;
}
.dokidoki{   
  animation-name:dokidoki;	
  animation-delay:0s;		
  animation-duration: 0.8s;
  animation-timing-function: ease;

  animation-iteration-count: infinite; 
}

@keyframes dokidoki {
  0% {
      transform: scale(1);
  }

  40% {
      transform: scale(1);
  }

  50% {
      transform: scale(1.1);
  }
  
  60% {
      transform: scale(1);
  }

  100% {
      transform: scale(1);
  }
}

body.appear .splashbg{
    display: block;
    content: "";
    position:fixed;
	  z-index: 999;
    width: 100%;
    height: 100vh;
    top: 0;
		left: 0;
    transform: scaleX(0);
    background-color:#DC6911;
	animation-name:PageAnime;
	animation-duration:0.5s;
	animation-timing-function:ease;
	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;
}

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;
}
}