#loading {
  position: fixed;
  inset: 0;
  background: white;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 1;
  transition: opacity 0.6s ease;
}

#loading.fade-out {
  opacity: 0;
  pointer-events: none;
}


/* 最初は非表示＋透明 */
#content {
  opacity: 0;
  transition: opacity 0.5s ease;
}

/* フェードイン状態 */
#content.show {
  opacity: 1;
}

.spinner {
  border: 8px solid #eee;
  border-top: 8px solid #3498db;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: spin 1s linear infinite;
}

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

