/* ==========================================================================
   フローティングバナー
   ========================================================================== */
.floating-banner {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 9999;
  max-width: 240px;
  display: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  border-radius: 4px;
  background: #fff;
}

.floating-banner.is-visible {
  display: block;
  animation: floating-banner-fade-in 0.3s ease-out;
}

.floating-banner__close {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 24px;
  height: 24px;
  line-height: 22px;
  border: 1px solid #333;
  border-radius: 50%;
  background: #fff;
  color: #333;
  font-size: 14px;
  text-align: center;
  cursor: pointer;
  padding: 0;
}

.floating-banner__close:hover {
  background: #eee;
}

.floating-banner__link {
  display: block;
}

.floating-banner__image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
}

@keyframes floating-banner-fade-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (max-width: 1099px) {
  .floating-banner {
  bottom: 70px;
width: 50%;
    max-width: 240px;
}
}
@media (max-width: 480px) {
  .floating-banner {
    right: 10px;
    max-width: 160px;
  }
}
