/* ============================================================
   POPUP BANNER
   ============================================================ */

#popup-banner {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  width: 260px;
  opacity: 0;
  animation: popupFadeIn 0.5s ease 0.5s forwards;
}

@keyframes popupFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

#popup-banner.is-hidden {
  display: none;
}

#popup-banner__inner {
  position: relative;
  display: block;
}

#popup-banner__link {
  display: block;
  transition: opacity 0.3s ease;
}

#popup-banner__link:hover {
  opacity: 0.8;
}

#popup-banner__img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}

#popup-banner__close {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 28px;
  height: 28px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(30, 30, 30, 0.85);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  z-index: 1;
  transition: background 0.2s ease;
}

#popup-banner__close:hover {
  background: rgba(0, 0, 0, 1);
}

/* SP */
@media (max-width: 767px) {
  #popup-banner {
    width: 180px;
    bottom: 16px;
    right: 16px;
  }
}
