/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   Floating Reserve CTA
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   店舗ページ右下に表示される予約ボタン。
   --store-accent / --store-deep を参照するので
   data-store 属性のある .store-page 内でのみ使用。
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.floating-cta {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 90;               /* header(100)の下 */
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 13px 22px 13px 18px;
  background: var(--store-accent, #8b2c1f);
  color: #fff;
  font-family: var(--font-sans, "Noto Sans JP", sans-serif);
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .06em;
  line-height: 1;
  white-space: nowrap;
  border-radius: 60px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, .22);
  text-decoration: none;
  cursor: pointer;
  transition: background .25s ease,
              transform .25s ease,
              box-shadow .25s ease;
  animation: fcta-enter .5s ease .4s both;
}

.floating-cta:hover {
  background: var(--store-deep, #6e2118);
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(0, 0, 0, .28);
}

.floating-cta:active {
  transform: translateY(0);
  box-shadow: 0 2px 12px rgba(0, 0, 0, .2);
}

/* ── Icon ── */
.floating-cta__icon {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  display: block;
}

/* ── Entrance animation ── */
@keyframes fcta-enter {
  from {
    opacity: 0;
    transform: translateY(20px) scale(.92);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ━━ Mobile ━━ */
@media (max-width: 768px) {
  .floating-cta {
    bottom: 16px;
    right: 16px;
    padding: 12px 18px 12px 14px;
    font-size: .75rem;
    gap: 6px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .25);
  }

  .floating-cta__icon {
    width: 15px;
    height: 15px;
  }
}

/* 超小画面: 横幅が狭いとき中央配置 */
@media (max-width: 380px) {
  .floating-cta {
    right: 50%;
    transform: translateX(50%);
  }
  .floating-cta:hover {
    transform: translateX(50%) translateY(-2px);
  }
}
