
/* === SweetAlert2 共通ガラステーマ === */

/* ポップアップ用 */
.swal2-glass-popup {
  background: rgba(255, 255, 255, 0.12) !important;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  border-radius: 1rem;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.2);
  color: #fff;
  font-family: 'Segoe UI', 'Hiragino Kaku Gothic ProN', sans-serif;
  padding: 2em;
}

/* トースト用 */
.swal2-glass-toast {
  background: rgba(255, 255, 255, 0.12) !important;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  color: #fff;
  border-radius: 12px;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.3);
  padding: 1em 1.5em;
  font-size: 14px;
  font-weight: 500;
  font-family: 'Segoe UI', 'Hiragino Kaku Gothic ProN', sans-serif;
}

/* ボタン共通 */
.swal2-glass-confirm,
.swal2-glass-cancel {
  border: none;
  padding: 10px 20px;
  font-weight: bold;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.swal2-glass-confirm {
  background-color: rgba(40, 167, 69, 0.8);
  color: #fff;
}
.swal2-glass-confirm:hover {
  background-color: rgba(40, 167, 69, 1);
}

.swal2-glass-cancel {
  background-color: rgba(220, 53, 69, 0.8);
  color: #fff;
  margin-left: 10px;
}
.swal2-glass-cancel:hover {
  background-color: rgba(220, 53, 69, 1);
}

/* SweetAlert2 のタイトルを中央揃えにする */
.swal2-title {
  text-align: center !important;
}


/* レスポンシブ対応（モバイル表示） */
@media (max-width: 959px) {
  .swal2-glass-popup {
    width: 95% !important;
    padding: 1.2em !important;
    font-size: 14px !important;
  }

  .swal2-glass-confirm,
  .swal2-glass-cancel {
    font-size: 14px;
    padding: 8px 12px;
    display: inline-block;
    width: 100%;
    margin-top: 10px;
  }

  .swal2-glass-cancel {
    margin-left: 0;
  }

  .swal2-toast {
    width: 90% !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
  }
}



/* === SweetAlert2 個別対応 === */
/* トースト全体の透明化・影消し */
.our-custom-toast-popup {
  background: rgba(30, 144, 255, 0) !important; /* 青で透け感 */
  color: white;
  box-shadow: none;
  border: none;
  border-radius: 12px;
  backdrop-filter: blur(2px); /* モダンブラウザなら背景ぼかしも可能 */
  -webkit-backdrop-filter: blur(2px); /* Safari用 */
}
/* チェックアイコン調整 */
.our-custom-toast .swal2-success {
  /* background-color: transparent !important; */
  backdrop-filter: brightness !important;
}
/* テキスト */
.our-custom-toast-title {
  background: rgba(30, 144, 255, 0.7) !important;
  color: white;
  font-weight: bold;
}
/* 進捗バーを少し淡く */
.our-custom-toast .swal2-timer-progress-bar {
  background: rgba(255, 255, 255, 0.5) !important;
  height: 4px !important;
  border-radius: 2px;
}

/* トースト全体の透明化・影消し_2つ目 */
.my-custom-toast-popup {
  background: rgba(232, 55, 67, 0) !important; /* 透明度を少し上げる */
  color: white !important;
  box-shadow: none !important;
  border: none !important;
  border-radius: 12px !important;
  backdrop-filter: blur(2px); /* モダンブラウザ用 */
  -webkit-backdrop-filter: blur(2px); /* Safari用 */
}
/* チェックアイコン調整 */
.my-custom-toast .swal2-success {
  /* background-color: transparent !important; */
  backdrop-filter: brightness !important;
}
/* テキスト（タイトル）_2つ目 */
.my-custom-toast-title {
  background: rgba(232, 55, 67, 0.7) !important;
  color: white !important;
  font-weight: bold !important;
}
/* 進捗バーを少し淡く */
.my-custom-toast .swal2-timer-progress-bar {
  background: rgba(255, 255, 255, 0.5) !important;
  height: 4px !important;
  border-radius: 2px;
}


.swal2-container {
  z-index: 2147483647 !important;
  position: fixed !important;
}

