@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        display: none;
        opacity: 0;
        z-index: -1;
    }
}

#loader {
    width: 100vw;
    height: 100vh;
    background-color: #00c2bc;
    position: absolute;
    z-index: 1000;
    /* 環境によって「z-index」追加 */
}
/* 読み込み完了後に「loaded」を付与する */
#loader.loaded {
    animation: fadeOut 7s forwards;
}
/* 以降「SpinKit」で選んだアニメーションのCSSを貼付する */
.sk-chase {
    width: 40px;
    height: 40px;
    position: relative;
    animation: sk-chase 2.5s infinite linear both;
    margin: 25% auto 25% auto;
}
  .text {
    font-size: 6rem;
    text-align: center;
    line-height: 0.95em;
    font-weight: bold;
    color: #fffff0;
    text-shadow: 0 0.05em 0.08em rgba(0,0,0,0.7);
    margin: 25vh auto 15vw auto;
}
  .sk-chase-dot {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0; 
    animation: sk-chase-dot 2.0s infinite ease-in-out both; 
  }
  
  .sk-chase-dot:before {
    content: '';
    display: block;
    width: 25%;
    height: 25%;
    background-color: #fff;
    border-radius: 100%;
    animation: sk-chase-dot-before 2.0s infinite ease-in-out both; 
  }
  
  .sk-chase-dot:nth-child(1) { animation-delay: -1.1s; }
  .sk-chase-dot:nth-child(2) { animation-delay: -1.0s; }
  .sk-chase-dot:nth-child(3) { animation-delay: -0.9s; }
  .sk-chase-dot:nth-child(4) { animation-delay: -0.8s; }
  .sk-chase-dot:nth-child(5) { animation-delay: -0.7s; }
  .sk-chase-dot:nth-child(6) { animation-delay: -0.6s; }
  .sk-chase-dot:nth-child(1):before { animation-delay: -1.1s;  background-color: rgb(255,192,203); }
  .sk-chase-dot:nth-child(2):before { animation-delay: -1.0s;  background-color: rgb(255,192,203); }
  .sk-chase-dot:nth-child(3):before { animation-delay: -0.9s;  background-color: rgb(255,192,203); }
  .sk-chase-dot:nth-child(4):before { animation-delay: -0.8s;  background-color: rgb(255,192,203); }
  .sk-chase-dot:nth-child(5):before { animation-delay: -0.7s;  background-color: rgb(255,192,203); }
  .sk-chase-dot:nth-child(6):before { animation-delay: -0.6s;  background-color: rgb(255,192,203);}
  
  @keyframes sk-chase {
    100% { transform: rotate(360deg); } 
  }
  
  @keyframes sk-chase-dot {
    80%, 100% { transform: rotate(360deg); } 
  }
  
  @keyframes sk-chase-dot-before {
    50% {
      transform: scale(0.4); 
    } 100%, 0% {
      transform: scale(1.0); 
    } 
  }