#floating-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 9998;
}
#floating-banner {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 9999;
  width: 90%;
  max-width: 600px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 0.4rem 2rem rgba(0,0,0,0.4);
  overflow: hidden;
  animation: fb-fadein 0.4s ease;
}
@keyframes fb-fadein {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@media screen and (max-width: 767.98px) {
  #floating-banner {
    max-width: 340px;
  }
}
#floating-banner-close {
  position: absolute;
  top: 0.6rem;
  right: 0.8rem;
  background: rgba(0,0,0,0.45);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 2.4rem;
  height: 2.4rem;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
#floating-banner-link img {
  display: block;
  width: 100%;
  height: auto;
}
#floating-banner-tel {
  display: none;
  padding: 0.8rem 1.2rem;
  text-align: center;
  background: #f5f5f5;
}
#floating-banner-tel span {
  display: block;
  font-size: 1.2rem;
  color: #555;
}
#floating-banner-tel-number {
  display: block;
  font-size: 2.2rem;
  font-weight: 700;
  color: #0075c1;
  letter-spacing: 0.05em;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.2rem 0;
  width: 100%;
  text-align: center;
}
#floating-banner-tel-number:hover {
  opacity: 0.75;
}
#floating-banner-copied {
  display: block;
  opacity: 0;
  font-size: 1.1rem;
  color: #2a9d2a;
  font-weight: 600;
  min-height: 1.8rem;
  transition: opacity 0.4s ease;
}
#floating-banner-copied.is-visible {
  opacity: 1;
}
@media (min-width: 768px) {
  #floating-banner-tel {
    display: block;
  }
}
