/* ローダー全体のオーバーレイ */
#site-loader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /* 四辺を 0 に */
  /* ↓ height:100vh を使って必ずビューポート全体を覆う ↓ */
  height: 100vh;
  background: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity .3s ease;
}

/* フェードアウト */
#site-loader.hide {
  opacity: 0;
  pointer-events: none;
}


/* ロゴとスピナーをまとめる */
.loader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ロゴ画像 */
.loader-logo {
  width: 120px;
  /* お好みの大きさに */
  height: auto;
  margin-bottom: 24px;
  /* スピナーとの間 */
}

/* 中央のスピナー */
.spinner {
  width: 48px;
  height: 48px;
  border: 4px solid #ddd;
  border-top-color: #49B190;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}


html,
body {
  height: 100%;
}