/* ========================================
   MAIRY LP — Sticky CTA (SP only)
======================================== */
.sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  padding: 14px 12px 10px;
  padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
  background: #fff;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.12);
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  overflow: visible;
}

.sticky-cta.is-visible {
  transform: translateY(0);
}

.sticky-cta__inner {
  display: flex;
  gap: 8px;
  width: 100%;
  max-width: none;
  margin: 0 auto;
}

.sticky-cta__btn {
  position: relative;
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: 7px;
  padding: 10px 8px;
  border-radius: 6px;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.2s ease, transform 0.15s ease;
}

.sticky-cta__btn[data-note]::before {
  content: attr(data-note);
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 8.5rem;
  max-width: calc(100% - 8px);
  height: 15px;
  padding: 0 6px;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.01em;
  white-space: nowrap;
  box-sizing: border-box;
}

.sticky-cta__btn:hover {
  opacity: 0.9;
}

.sticky-cta__btn:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

/* Review系（city / business / ryokan） */
.sticky-cta--review .sticky-cta__btn--primary {
  background: #ff6b35;
  color: #fff;
  border: 1px solid #fff;
}

.sticky-cta--review .sticky-cta__btn--secondary {
  background: #fff;
  color: #ff6b35;
  border: 1px solid #ff6b35;
}

.sticky-cta--review .sticky-cta__btn[data-note]::before {
  color: #ff6b35;
  background: #fff;
  border: 1px solid #ff6b35;
}

/* QR City */
.sticky-cta--qr-city .sticky-cta__btn--primary {
  background: #fff;
  color: #0c1a3d;
  border: 1px solid #0c1a3d;
}

.sticky-cta--qr-city .sticky-cta__btn--secondary {
  background: #0c1a3d;
  color: #fff;
  border: 1px solid #0c1a3d;
}

.sticky-cta--qr-city .sticky-cta__btn[data-note]::before {
  color: #0c1a3d;
  background: #fff;
  border: 1px solid #0c1a3d;
}

.sticky-cta--qr-city .sticky-cta__btn--secondary[data-note]::before {
  color: #fff;
  background: #0c1a3d;
  border: 1px solid #fff;
}

/* QR Business */
.sticky-cta--qr-business .sticky-cta__btn--primary {
  background: #ff6b35;
  color: #fff;
  border: 1px solid #fff;
}

.sticky-cta--qr-business .sticky-cta__btn--secondary {
  background: #fff;
  color: #ff6b35;
  border: 1px solid #ff6b35;
}

.sticky-cta--qr-business .sticky-cta__btn[data-note]::before {
  color: #ff6b35;
  background: #fff;
  border: 1px solid #ff6b35;
}

@media (max-width: 768px) {
  .sticky-cta {
    display: flex;
    flex-direction: column;
  }

  .sticky-cta__btn {
    min-width: 0;
    min-height: 46px;
    font-size: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sticky-cta {
    transition: none;
  }
}
