/* ===== Exit Intent Popup (shared) ===== */
.ep-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 99999;
  align-items: center;
  justify-content: center;
  padding: 16px;
  -webkit-tap-highlight-color: transparent;
  box-sizing: border-box;
}
.ep-overlay.is-open {
  display: flex;
  animation: ep-fade 0.2s ease-out;
}
@keyframes ep-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}
.ep-modal {
  position: relative;
  width: 100%;
  max-width: 480px;
  background: #fff;
  border-radius: 12px;
  padding: 28px 20px 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  text-align: center;
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", YuGothic, Meiryo, sans-serif;
  box-sizing: border-box;
  animation: ep-pop 0.25s ease-out;
}
@keyframes ep-pop {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.ep-close {
  position: absolute;
  top: 6px;
  right: 10px;
  background: none;
  border: none;
  font-size: 28px;
  line-height: 1;
  color: #888;
  cursor: pointer;
  padding: 4px 8px;
}
.ep-close:hover { color: #333; }
.ep-lead {
  font-size: 16px;
  font-weight: 700;
  color: #333;
  margin: 0 0 8px;
}
.ep-date {
  font-size: 20px;
  font-weight: 700;
  color: #e60012;
  margin: 0 0 12px;
  line-height: 1.3;
}
.ep-date-big {
  font-size: 32px;
  vertical-align: -2px;
}
.ep-img-link {
  display: block;
  margin: 0 auto 14px;
}
.ep-img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  border: 0;
  border-radius: 4px;
}
.ep-btn {
  display: block;
  width: 100%;
  padding: 14px 16px;
  background: linear-gradient(180deg, #ff6b00 0%, #e85d00 100%);
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 8px;
  box-shadow: 0 3px 0 #b84900;
  box-sizing: border-box;
  transition: transform 0.1s;
}
.ep-btn:hover { transform: translateY(-1px); }
.ep-btn:active { transform: translateY(1px); box-shadow: 0 1px 0 #b84900; }
