/* Campaign Modal Styles - Namespace: sb- (Shebelle Banner) */
.sb-modal-overlay {
  position: fixed;
  z-index: 9999;
  transition: opacity .3s ease;
}

.sb-modal-overlay.sb-hide {
  opacity: 0;
  pointer-events: none;
}

.sb-modal {
  position: relative;
  aspect-ratio: 1/1;
}

/* Mobile: フルスクリーンオーバーレイ */
@media (max-width: 767px) {
  .sb-modal-overlay {
    inset: 0;
    background: rgba(0, 0, 0, .6);
    backdrop-filter: blur(2px);
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .sb-modal {
    width: 90vw;
    max-width: 480px;
  }
}

/* Desktop: 右下固定表示 */
@media (min-width: 768px) {
  .sb-modal-overlay {
    bottom: 20px;
    right: 20px;
    background: none;
    backdrop-filter: none;
  }
  
  .sb-modal {
    width: 280px;
    max-width: 280px;
    margin: 16px 16px 0 0; /* closeボタン用の余白 */
  }
  
  .sb-modal img {
    box-shadow: 0 4px 12px rgba(0, 0, 0, .2);
    border-radius: 8px;
  }
}

.sb-modal img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.sb-close {
  position: absolute;
  top: -12px;
  right: -12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  line-height: 1;
  color: #333;
  box-shadow: 0 0 4px rgba(0, 0, 0, .3);
  cursor: pointer;
  user-select: none;
  transition: background-color .2s ease;
}

.sb-close:hover {
  background-color: #f0f0f0;
}

@media (min-width: 768px) {
  .sb-modal {
    max-width: 320px;
  }
}

/* Hero Section Official Salon Logo */
.hero-salon-logo {
  position: absolute;
  bottom: 10px;
  left: 10px;
  z-index: 10;
}

.hero-salon-logo img {
  width: 20vw;
  max-width: 120px;
  min-width: 60px;
  height: auto;
  aspect-ratio: 1/1;
  object-fit: contain;
  opacity: 1;
}

.hero-salon-logo img:hover {
  opacity: 1;
}

@keyframes heroLogoFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 0.9;
    transform: translateY(0);
  }
}

@media (min-width: 768px) {
  .hero-salon-logo img {
    width: 10vw;
    max-width: 100px;
    min-width: 80px;
  }
} 