@charset "UTF-8";

/* 画面全体ではなく、親要素の中央に表示する設定 */
#loading {
  position: absolute;   /* fixed から absolute に変更 */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  min-height: 200px;    /* 読み込み前でも潰れない高さ */
  background-color: rgba(255, 255, 255, 0.8); /* 少しだけ背景が見える半透明の白 */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;          /* 物件一覧の上に被せる */
  transition: opacity 0.5s ease;
}

/* くるくる回るアイコン（背景になじむデザイン） */
.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid #e0e0e0;
  border-top: 3px solid #333333; /* ブランドに合わせたシックな色 */
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-top: 100px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}