/* ============================================================================
   banner-frame.css — 汎用バナー枠装飾(2026-05-15 v1.0 新規)
   ----------------------------------------------------------------------------
   ASP 非依存・スロット非依存の共通装飾。
   個別 ASP / 個別キャンペーン用の追加スタイルは別ファイルに分離する設計。
   ============================================================================ */

/* バナーラッパー(全スロット共通) */
.bt-banner {
  display: block;
  margin: 28px auto;
  max-width: 100%;
  text-align: center;
  font-family: "Noto Sans JP", -apple-system, system-ui, sans-serif;
}

/* スロット別の最大幅・余白調整 */
.bt-banner--slot-article_footer {
  max-width: 600px;
  margin: 32px auto;
}
.bt-banner--slot-sidebar_skyscraper {
  max-width: 180px;
  margin: 16px auto;
}
.bt-banner--slot-footer_credit {
  max-width: 200px;
  margin: 12px auto 8px;
}

/* PR 表記ラベル(ステマ規制対応・★最重要) */
.bt-banner__pr {
  display: block;
  text-align: left;
  margin-bottom: 8px;
  padding: 4px 10px;
  background: rgba(11, 31, 63, 0.06);
  border-left: 2px solid #C9A961;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  line-height: 1.4;
}
.bt-banner__pr-label {
  display: inline-block;
  padding: 1px 6px;
  background: #6a6a6a;
  color: #fff;
  font-weight: 700;
  border-radius: 2px;
  font-size: 9.5px;
  letter-spacing: 0.08em;
}

/* バナー画像 / リンク領域 */
.bt-banner a {
  display: inline-block;
  line-height: 0;
  text-decoration: none;
}
.bt-banner img {
  max-width: 100%;
  height: auto;
  border: none;
  display: block;
}

/* インライン PR 表記(footer_credit 等の極小スロット) */
.bt-banner--inline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.bt-banner--inline .bt-banner__pr {
  display: inline-block;
  margin: 0;
  padding: 2px 6px;
  background: transparent;
  border: none;
  font-size: 9.5px;
}

/* スロット非表示制御:hide_on_mobile = true のスロット */
@media (max-width: 768px) {
  .bt-banner--slot-sidebar_skyscraper {
    display: none !important;
  }
  .bt-banner {
    margin: 20px auto;
  }
  .bt-banner__pr {
    font-size: 10px;
  }
}

/* バナーが死にリンク状態(asp.enabled=false)では出力されないが、
   万一の保険として SVG プレースホルダ風の装飾 */
.bt-banner--placeholder {
  background: repeating-linear-gradient(
    45deg,
    #f6f4ef,
    #f6f4ef 8px,
    #e5e2da 8px,
    #e5e2da 16px
  );
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6a6a6a;
  font-size: 11px;
  letter-spacing: 0.12em;
}

/* ============================================================================
   end of banner-frame.css
   ============================================================================ */
