@charset "UTF-8";


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

#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: scaleY(0);
    background-color: #333;/*伸びる背景色の設定*/
  animation-name:PageAnime;
  animation-duration:1.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;
}
}



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

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

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

/*画面遷移アニメーション*/

body{
  background:#000;/*遷移アニメーションと同じ色を指定*/
}

body.appear{
  background:#fff;/*画面を開いた後の背景色を指定*/
}

.splash2-bg{
  display: none;
  content: "";
  position:fixed;
  transform: scale(100);
  background-color: #000;/*伸びる背景色の設定*/
  z-index: 999;
  /*丸のスタートの形状*/
  top:calc(50% - 1rem);/*50%から円の半径を引いた値*/
  left:calc(50% - 1rem);/*50%から円の半径を引いた値*/
  width: 2rem;
  height: 2rem;
}

/*bodyにappearクラスがついたら出現*/
body.appear .splash2-bg{
  display: block;
  border-radius: 50%; 
  animation-name:PageAnime;
  animation-duration:1s;
  animation-fill-mode:forwards;
}

@keyframes PageAnime{
  0% {/*丸のスタート位置と形状*/
    transform: scale(100);
  
  }
  100% {/*丸の終了位置と形状*/
    transform: scale(0);
    display: none;/*終了時は消える*/
  }
}

/*画面遷移の後現れるコンテンツ設定*/
#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;
}
}




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

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

@media screen and (max-width:767px) {
  #splash3-logo {
    width: 80%;
  }
  #splash3-logo img {
    width: 100%;
  }
}

/*
#splash3-logo p {
  font-family: fot-tsukuardgothic-std, sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 1.5em;
  font-weight: bold;
  color: #0049AE;
  line-height: 1.5;
  margin-bottom: 10px;
}
*/

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

body{
    background:#fff;/*遷移アニメーションと同じ色を指定*/
}

body.appear{
    background:#fff;/*画面を開いた後の背景色を指定*/
}

/*画面遷移アニメーション*/
.splashbg3-1,
.splashbg3-2{
    display: none;
}

/*bodyにappearクラスがついたら出現*/
body.appear .splashbg3-1,
body.appear .splashbg3-2{
  display:block;
}

/*上に消えるエリア*/
body.appear .splashbg3-1{
  animation-name:PageAnime;
  animation-duration:1.4s;
  animation-timing-function:ease-in-out;
  animation-fill-mode:forwards;
    content: "";
    position:fixed;
  z-index: 999;
    width: 100%;
    height: 100vh;
    bottom:50%;
  left:0;
    transform: scaleY(1);
    background-color: #fff;/*伸びる背景色の設定*/
}

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

  100% {
    transform-origin:top;
    transform:scaleY(0);
  }
}

/*下に消えるエリア*/
body.appear .splashbg3-2{
    animation-name:PageAnime2;
  animation-duration:1.4s;
  animation-timing-function:ease-in-out;
  animation-fill-mode:forwards;
    content: "";
    position:fixed;
  z-index: 999;
    width: 100%;
    height: 100vh;
    top: 50%;
  left:0;
    transform: scaleY(1);
    background-color: #fff;/*伸びる背景色の設定*/
}

@keyframes PageAnime2{
  0% {
    transform-origin:bottom;
    transform:scaleY(1);
  }
  100% {
    transform-origin:bottom;
    transform:scaleY(0);
  }
}

/*画面遷移の後現れるコンテンツ設定*/
#container{
  opacity: 0;/*はじめは透過0に*/
}

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

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