.loading {
  /*ローディング画面の縦横幅を画面いっぱいになるように指定*/
  width: 100vw;
  height: 100vh;
  /*ローディング画面の表示位置を固定*/
  position: fixed;
  top: 0;
  left: 0;
  background: url('../../img/prism_bg.jpg');
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;

  /*ローディング画面を0.5秒かけて非表示にする*/
  transition: all 0.3s linear;
  z-index: 999;
}
.first-view{
    opacity: 0;
  visibility: hidden;
}
/*ローディング画面を非表示にする*/
.loading.loaded {
  /*0.5秒かけてopacityを0にする*/
  opacity: 0;
  visibility: hidden;
}
.first-view.loaded{
  opacity: 100;
  visibility: hidden;
}


/* HTML: <div class="loader"></div> */
.loader {
  margin-top: -20px;
  width: 200px;
  height: 38px;
  background: url('../../img/logo_b.svg');
  background-repeat: no-repeat;
  position: relative;
  animation: slideIn 2.5s;
}

@keyframes slideIn {
  0% {
    opacity: 0;
    transform: translate3d(0,-100px,0);
  }
  100% {
    opacity: 1;
    transform: translate3d(0,0,0);
  }
}





.mikepad-loading {
  width : 200px;
  position: absolute;
  top: calc(50% + 18px);
  left : 50%;
  -webkit-transform: translateY(-50%) translateX(-50%);
  -moz-transform: translateY(-50%) translateX(-50%);
  -o-transform: translateY(-50%) translateX(-50%);
  transform: translateY(-50%) translateX(-50%);
}


.mikepad-loading .line {
  width : 200px;
  margin-top : 4px;
  border-top : 1px solid #000;
  opacity : 1;
  -webkit-animation : writeline 2s ease-in;
  -moz-animation : writeline 2s ease-in;
  -o-animation : writeline 2s ease-in;
  animation : writeline 2s ease-in;
}


.mikepad-loading .line.line1 {
  -webkit-animation-delay: 0s;
  -moz-animation-delay: 0s;
  -o-animation-delay: 0s;
  animation-delay: 0s;
}


@-webkit-keyframes writeline {
  0% { width : 0px; opacity: 0; }
  33% { width : 15px; opacity : 1; }
  70% { opacity : 1; }
  100% { opacity : 1; }
}

@-moz-keyframes writeline {
  0% { width : 0px; opacity: 0; }
  33% { width : 15px; opacity : 1; }
  70% { opacity : 1; }
  100% { opacity : 1; }
}

@-o-keyframes writeline {
  0% { width : 0px; opacity: 0; }
  33% { width : 15px; opacity : 1; }
  70% { opacity : 1; }
  100% { opacity : 1; }
}

@keyframes writeline {
  0% { width : 0px; opacity: 0; }
  33% { width : 15px; opacity : 1; }
  70% { opacity : 1; }
  100% { opacity : 1; }
}