/* ==========================================================================
   float-cta.css — PCで右下に浮かぶ吹き出し型のLINEボタン
   出し入れは sticky-cta.js が .is-visible で切り替えます（スマホでは非表示）
   ========================================================================== */

.float-cta {
  display: none;
}

@media (min-width: 1024px) {
  .float-cta {
    position: fixed;
    right: 1.75rem;
    bottom: 1.75rem;
    z-index: var(--z-sticky-cta);
    display: grid;
    place-items: center;
    align-content: center;
    gap: 0.15rem;
    width: 6.5rem;
    aspect-ratio: 1;
    border-radius: 50% 50% 50% 12%;
    background: var(--color-line);
    color: #fff;
    font-size: 0.8125rem;
    font-weight: var(--weight-heavy);
    line-height: 1.3;
    text-align: center;
    box-shadow: var(--shadow-line);
    scale: 0;
    rotate: -20deg;
    transition:
      scale 0.5s var(--ease-spring),
      rotate 0.5s var(--ease-spring),
      background-color 0.2s ease;
  }

  .float-cta svg {
    width: 1.6rem;
    height: 1.6rem;
  }

  .float-cta.is-visible {
    scale: 1;
    rotate: 0deg;
    animation: float-bob 3.2s ease-in-out 0.6s infinite;
  }

  .float-cta:hover {
    background: var(--color-line-dark);
  }

  @keyframes float-bob {
    50% {
      translate: 0 -6px;
    }
  }
}
