/* 🌸 モーダル本体（完全透明・クリック貫通） */
.calendar-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  inset: 0; /* ← top/left/right/bottom をすべてリセット */
  background-color: rgba(255, 255, 255, 0.0);
  pointer-events: none;
  transform: none !important; /* ← 万が一上位から継承された場合の対処 */
}

/* 🌸 モーダル中身（ピンクポップ＆操作可能） */
.calendar-modal-content {
  position: fixed; /* ← relative → fixed に変更！ */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #fff0f5;
  padding: 30px;
  border: 3px solid #ff66b2;
  width: 320px;
  border-radius: 12px;
  text-align: center;
  font-family: "Comic Sans MS", cursive;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  pointer-events: auto;
  z-index: 99999 !important;
}

/* 🌸 モーダルタイトル */
.calendar-modal-title {
  font-size: 14px;
  font-weight: bold;
  color: #c2185b;
  margin-bottom: 16px;
}

/* 🌸 OK・キャンセルボタン */
.calendar-modal-btn {
  padding: 6px 14px;
  font-size: 13px;
  font-weight: bold;
  font-family: "Comic Sans MS", cursive;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  background: linear-gradient(145deg, #ffc1da, #ff9ac2);
  color: white;
}

.calendar-modal-btn:hover {
  background: linear-gradient(145deg, #ffaecb, #ff74af);
}
