@charset "utf-8";

/* Extracted feature; retain declaration order, no legacy core dependency. */
/* ポップアップ全体（背景） */
.popupw {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: center;
  overflow-y: auto; /* スクロールを有効化 */
}

/* ポップアップの内容 */
.popupw-content {
  background: #fff;
  padding: 20px;
  max-width: 400px;
  width: 90%;
  max-height: 80vh; /* 縦の最大高さを設定 */
  overflow-y: auto; /* 内容が長い場合スクロール */
  text-align: center;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  position: relative;
  animation: fadeIn 0.3s ease-in-out;
}

/* フェードインアニメーション */
@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

/* 各リンクのデザイン */
.popupw-content p {
  margin: 10px 0;
}

.popupw-content a {
  display: block;
  font-size: 18px;
  color: #d9534f;
  text-decoration: none;
  font-weight: bold;
}

.popupw-content .title {
  font-size: 22px;
  color: #333;
}

/* クローズボタン（常に見えるように固定） */
.close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  cursor: pointer;
  color: #666;
  background: white;
  border-radius: 50%;
  padding: 5px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}


