#loader-bg {
  display: none;
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0px;
  left: 0px;
  background: #000;
  opacity: 0.3;
  z-index: 1;
}
#loader {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  width: 200px;
  height: 200px;
  margin-top: -100px;
  margin-left: -100px;
  text-align: center;
  color: #fff;
  z-index: 2;
}

/* 03-03-2022 */
#loader img {
  object-fit: contain;
}



.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
}

.cancel-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  padding: 24px;
  z-index: 10000;
  max-width: 600px;
  width: 90%;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

.button {
  padding: 10px 20px;
  font-size: 14px;
  border: none;
  border-radius: 4px;
  background: #e0e0e0;
  color: #333;
  cursor: pointer;
  min-width: 100px;
  text-align: center;
}


.modal-button {
  width: 120px;
  height: 40px;         /* 高さを明示的に統一 */
  line-height: 40px;    /* テキストを中央寄せ（buttonの場合） */
  padding: 0;           /* デフォルトのパディングをリセット */
  font-size: 14px;
  text-align: center;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  display: inline-block;
  vertical-align: middle;
}


.modal-button + .modal-button {
  margin-left: 8px; /* ← この行で「確定」ボタンとの間隔を作る */
}

