/* ポップアップ */

.wpp-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
}

.wpp-container {
  display: none; /* JSで制御 */
  position: fixed;
  z-index: 9998;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.wpp-container:not(.has-overlay) {
  pointer-events: none;
}
.wpp-container:not(.has-overlay) .wpp-popup {
  pointer-events: auto;
}

.wpp-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.85);
  color: #fff;
  border-radius: 10px;
  display: block;
  z-index: 9999;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
  max-width: 90%;
  width: 400px;
  text-align: center;
  font-size: 20px;
  font-weight: bold;
}

.wpp-popup-content {
  position: relative;
  padding: 40px;
}

.wpp-cta-button {
  margin-top: 20px;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: bold;
  background: #ffcc00;
  color: #000;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.wpp-close-icon {
  position: absolute;
  top: -10px;
  right: -10px;
  background: #fff;
  color: #000;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-weight: bold;
  font-size: 18px;
  line-height: 24px;
  cursor: pointer;
  border: 1px solid #ccc;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.2);
}
