/* SAS特設サイトバナー | 2026-11-13 スマホ縦幅縮小版
   既存サイトへの影響を避けるため sas-feature-banner に限定 */
.sas-feature-banner {
  width: 100%;
  max-width: 560px;
  margin: clamp(20px, 2.8vw, 32px) auto 0;
  box-sizing: border-box;
}
.sas-feature-banner *, .sas-feature-banner *::before, .sas-feature-banner *::after { box-sizing: border-box; }
.sas-feature-banner__link {
  display: block;
  width: 100%;
  height: auto;
  padding: 0;
  margin: 0;
  color: #0a3156;
  text-decoration: none !important;
  border-radius: 14px;
  overflow: hidden;
  line-height: 1.5;
  box-shadow: 0 10px 27px rgba(12,49,91,.12);
  transition: box-shadow .3s ease, transform .3s ease;
  cursor: pointer;
}
.sas-feature-banner__link:hover {
  box-shadow: 0 18px 38px rgba(12,49,91,.2);
  transform: translateY(-3px);
}
.sas-feature-banner__link:focus-visible { outline: 3px solid #287f88; outline-offset: 5px; }
.sas-feature-banner__desktop { display: block; width: 100%; max-width: 100%; height: auto; border: 0; }
.sas-feature-banner__mobile { display: none; }
/* トップページは「診療科目」セクションの下端にも適切な余白を残す */
#treatment > .sas-feature-banner { margin-top: clamp(22px, 3vw, 36px); }
/* のどの病気ページはSASの説明直後に自然に収める */
#sleep-apnea > .sas-feature-banner { margin: clamp(18px, 2.4vw, 28px) auto 0; }
/* スマホのみ：縦に積むレイアウトから、高さ約160pxの横長バナーへ */
@media screen and (max-width: 767px) {
  .sas-feature-banner {
    width: min(100%, 320px);
    max-width: 320px;
    margin: 22px auto 0;
  }
  .sas-feature-banner__desktop { display: none; }
  .sas-feature-banner__link { border-radius: 12px; }
  .sas-feature-banner__mobile {
    display: block;
    width: 100%;
    height: 160px;
    position: relative;
    overflow: hidden;
    background: #f9fcfb;
  }
  .sas-feature-banner__photo {
    position: absolute;
    inset: 0 0 0 auto;
    width: 66%;
    height: 100%;
    background: #e8f1f5 url('/lib/img/sas-special-site-mobile-photo.webp') no-repeat 53% 42% / cover;
    transform: scaleX(-1);
    pointer-events: none;
  }
  .sas-feature-banner__photo::after { content: none; }
  /* 写真を主張させながら、文字の手前は淡くフェードする */
  .sas-feature-banner__body {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 13px 14px 12px;
    text-align: left;
    background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,.98) 29%, rgba(255,255,255,.90) 52%, rgba(255,255,255,.30) 79%, transparent 100%);
  }
  .sas-feature-banner__badge { display: none; }
  .sas-feature-banner__overline {
    display: block;
    color: #187d78;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .02em;
    margin: 0 0 8px;
  }
  .sas-feature-banner__body strong {
    display: block;
    max-width: 264px;
    color: #10395c;
    font-family: 'Noto Serif JP','Yu Mincho',serif;
    font-size: clamp(12.5px, 3.8vw, 14.5px);
    line-height: 1.5;
    font-weight: 700;
    text-shadow: 0 1px 5px #fff;
  }
  .sas-feature-banner__sub { display: none; }
  .sas-feature-banner__button {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    align-self: flex-start;
    gap: 8px;
    margin-top: 11px;
    padding: 8px 12px;
    min-width: 148px;
    border-radius: 999px;
    background: #0c355c;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .015em;
    line-height: 1.25;
    white-space: nowrap;
    box-shadow: 0 5px 12px rgba(12,49,91,.12);
  }
  .sas-feature-banner__button span { font-size: 16px; line-height: 1; }
  #treatment > .sas-feature-banner { margin-top: 24px; }
  #sleep-apnea > .sas-feature-banner { margin-top: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .sas-feature-banner__link { transition: none; }
  .sas-feature-banner__link:hover { transform: none; }
}
