/**
 * 新ドメイン移行お知らせバナー
 * デザインバリエーション3種類
 *
 * 使用方法：
 * バリエーション1（デフォルト）: .site-notice-banner
 * バリエーション2: .site-notice-banner.variation-2
 * バリエーション3: .site-notice-banner.variation-3
 */

/* ==============================================
 * バリエーション1：シンプルなバー（デフォルト）
 * メインカラー背景 + 白文字
 * ============================================== */
.site-notice-banner {
  background: var(--color-main-light);
  color: var(--color-main);
  padding: 16px 20px;
  margin: 0 0 20px;
  position: relative;
  width: 100%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  z-index: 100;
}

.site-notice-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.site-notice-text {
  margin: 0;
  font-size: 15px;
  line-height: var(--line-height-base) !important;
  font-weight: 500;
  flex: 1;
  text-underline-offset: 0.3em;
}

.site-notice-close {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
  font-size: 18px;
  padding: 0;
}

.site-notice-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

/* ==============================================
 * バリエーション2：柔らかいグラデーション
 * 淡いメインカラー背景 + 濃い文字色
 * ============================================== */
.site-notice-banner.variation-2 {
  background: linear-gradient(135deg, #e8f5f7 0%, #d4eef2 100%);
  color: #2d7a82;
  border-bottom: 3px solid #47a0aa;
  box-shadow: 0 4px 12px rgba(71, 160, 170, 0.15);
}

.site-notice-banner.variation-2 .site-notice-text {
  color: #2d7a82;
}

.site-notice-banner.variation-2 .site-notice-close {
  background: rgba(71, 160, 170, 0.1);
  border: 1px solid #47a0aa;
  color: #47a0aa;
}

.site-notice-banner.variation-2 .site-notice-close:hover {
  background: rgba(71, 160, 170, 0.2);
}

/* ==============================================
 * バリエーション3：ボーダー強調スタイル
 * 白背景 + メインカラーの太いボーダー
 * ============================================== */
.site-notice-banner.variation-3 {
  background: #ffffff;
  color: #333333;
  border-top: 4px solid #47a0aa;
  border-bottom: 4px solid #47a0aa;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.site-notice-banner.variation-3 .site-notice-text {
  color: #333333;
  position: relative;
  padding-left: 24px;
}

.site-notice-banner.variation-3 .site-notice-text::before {
  content: "★";
  position: absolute;
  left: 0;
  color: #47a0aa;
  font-size: 18px;
  line-height: 1.6;
}

.site-notice-banner.variation-3 .site-notice-close {
  background: #f0f9fa;
  border: 2px solid #47a0aa;
  color: #47a0aa;
}

.site-notice-banner.variation-3 .site-notice-close:hover {
  background: #47a0aa;
  color: #ffffff;
}

/* ==============================================
 * レスポンシブ対応
 * ============================================== */
@media screen and (max-width: 768px) {
  .site-notice-banner {
    padding: 14px 16px;
  }

  .site-notice-content {
    gap: 12px;
  }

  .site-notice-text {
    font-size: 14px;
  }

  .site-notice-close {
    width: 28px;
    height: 28px;
    font-size: 16px;
  }

  .site-notice-banner.variation-3 .site-notice-text {
    padding-left: 20px;
  }

  .site-notice-banner.variation-3 .site-notice-text::before {
    font-size: 16px;
  }
}

@media screen and (max-width: 480px) {
  .site-notice-banner {
    padding: 12px 14px;
  }

  .site-notice-content {
    gap: 10px;
  }

  .site-notice-text {
    font-size: 13px;
  }

  .site-notice-close {
    width: 26px;
    height: 26px;
    font-size: 14px;
  }
}

@media screen and (max-width: 1023px) {
  .site-notice-banner {
    margin-top: -20px !important;
  }
}
@media screen and (min-width: 1024px) {
  .site-notice-banner {
    margin-top: -40px !important;
  }
  .site-notice-text{
    text-align: center !important;
  }
}