.floating-popup {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 200px; /* デフォルトはスマホ向け */
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 8px;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.25);
  z-index: 10000;
  overflow: hidden;
  animation: fadeInUp 0.4s ease;
}

.popup-image {
  width: 100%;
  display: block;
  border-bottom: 1px solid #eee;
}

.close-btn {
  position: absolute;
  top: 8px;
  right: 10px;
  font-size: 20px;
  font-weight: bold;
  color: #000;
  cursor: pointer;
  background: transparent;
  border: 1px solid #000;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  line-height: 22px;
  text-align: center;
}

/* デスクトップ向けにサイズを大きくする */
@media screen and (min-width: 768px) {
  .floating-popup {
    width: 360px;
  }

  .close-btn {
    font-size: 24px;
    width: 28px;
    height: 28px;
    line-height: 26px;
  }
}
