/* ポップアップ通知専用CSS */
/* 既存CSSと衝突しないよう、全て #popup-notification 配下で定義 */

/* オーバーレイ（背景） */
#popup-notification.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 999998; /* 年齢認証（999999）より低い */
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* フェードイン */
#popup-notification.popup-overlay.active {
  opacity: 1;
}

/* ポップアップコンテンツ */
#popup-notification .popup-content {
  position: relative;
  max-width: 390px; /* スマホサイズ統一 */
  width: 90%;
  margin: 0 auto; /* 中央配置 */
}

/* 閉じるボタン */
#popup-notification .popup-close-btn {
  position: absolute;
  top: -15px;
  right: -15px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.7);
  border: 2px solid #fff;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all 0.3s ease;
}

#popup-notification .popup-close-btn:hover {
  background: rgba(0, 0, 0, 0.9);
  transform: scale(1.1);
}

/* 画像リンク */
#popup-notification .popup-image-link {
  display: block;
  cursor: pointer;
}

/* ポップアップ画像 */
#popup-notification .popup-image {
  width: 100%;
  max-width: 390px;
  max-height: 600px; /* スクロール防止 */
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  display: block;
  transition: transform 0.3s ease;
}

#popup-notification .popup-image:hover {
  transform: scale(1.02);
}
