  /* 画面全体のオーバーレイ */
  .floating-banner-overlay {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.45);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease;
    z-index: 9999;
  }

  /* 表示状態 */
  .floating-banner-overlay.is-visible {
    opacity: 1;
    visibility: visible;
  }

  /* バナー本体 */
  .floating-banner {
    position: relative;
    width: 340px;
    max-width: 90%;
    background: transparent;
    border-radius: 16px;
    padding: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    transform: translateY(10px);
    opacity: 0;
    transition: opacity 0.4s ease, transform 0.4s ease;
    overflow: visible;
  }

  /* オーバーレイ表示時にふわっと */
  .floating-banner-overlay.is-visible .floating-banner {
    opacity: 1;
    transform: translateY(0);
  }

  /* 閉じるボタン */
  .floating-banner-close {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: none;
    background: #ffffff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    z-index: 10;
  }

  /* 画像リンク全体がクリック領域 */
  .floating-banner-image-link {
    display: block;
  }

  /* バナー画像 */
  .floating-banner-image {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 16px;
  }

  @media (max-width: 767px) {
    .floating-banner {
      width: 90%;
      max-width: 360px;
    }
  }