/* 全ページ共通キャンペーンバナー */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
  overscroll-behavior-x: none;
}

@supports (overflow-x: clip) {
  html,
  body {
    overflow-x: clip;
  }
}

.sitewide-campaign,
.sitewide-campaign *,
.sitewide-campaign *::before,
.sitewide-campaign *::after {
  box-sizing: border-box;
}

.sitewide-campaign {
  position: relative;
  z-index: 1;
  clear: both;
  width: 100%;
  min-width: 0;
  max-width: none;
  margin: clamp(0.9rem, 2.5vw, 1.75rem) auto;
  padding: 0 clamp(0.75rem, 3vw, 1.5rem);
  overflow: hidden;
  background: transparent;
}

.sitewide-campaign__link {
  display: block;
  width: min(100%, 920px);
  min-width: 0;
  max-width: 100%;
  margin: 0 auto;
  overflow: hidden;
  color: #ffffff !important;
  background: #315b50;
  border: 1px solid rgba(49, 91, 80, 0.24);
  border-radius: 18px;
  box-shadow: 0 12px 32px rgba(31, 47, 43, 0.16);
  text-decoration: none !important;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.sitewide-campaign__link:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 38px rgba(31, 47, 43, 0.22);
}

.sitewide-campaign__link:focus-visible {
  outline: 3px solid #bc8c47;
  outline-offset: 4px;
}

.sitewide-campaign__image {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  margin: 0 !important;
  border: 0 !important;
}

.sitewide-campaign__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.7rem 1rem;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.03em;
  overflow-wrap: anywhere;
}

.sitewide-campaign__cta [aria-hidden="true"] {
  font-size: 1.2em;
}

@media (max-width: 640px) {
  .big-cta-box__btn_parent {
    max-width: 100% !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
  }

  .sitewide-campaign {
    margin: 0.75rem auto 1rem;
    padding-inline: 0.625rem;
  }

  .sitewide-campaign__link {
    border-radius: 12px;
    box-shadow: 0 8px 22px rgba(31, 47, 43, 0.15);
  }

  .sitewide-campaign__cta {
    min-height: 46px;
    padding: 0.6rem 0.8rem;
    font-size: 0.95rem;
  }
}

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