/* --- 1. アニメーション定義 --- */
@keyframes pulse-animation {
  0% { transform: scale(1); }
  100% { transform: scale(0.88); }
}

/* --- 2. スライダーとカードの「はみ出し」を許可 --- */
body .section.streaming .video-slider.swiper {
  padding-top: 20px !important;
  margin-top: -20px !important;
  overflow: visible !important;
  position: relative !important;
  z-index: 10 !important;
}

body .section.streaming .video-card,
body .section.streaming .video-card-inner,
body .section.streaming .video-card-inner .ui-static-image {
  overflow: visible !important;
  position: relative !important;
  z-index: auto !important;
}

/* --- 3. タグの親枠（コンテナ）の設定 --- */
body .section.streaming .video-card .video-card-tag {
  /* 画面全体に広げる */
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  right: auto !important;
  bottom: auto !important;
 
  /* 【修正】左下のタグの位置を調整（余白を作る） */
  display: flex !important;
  align-items: flex-end !important;   /* 下揃え */
  justify-content: flex-start !important; /* 左揃え */
  padding: 0 0 8px 8px !important;    /* 下と左に8pxの隙間を空ける */
  box-sizing: border-box !important;  /* パディングを含めたサイズ計算にする */
 
  /* リセット */
  background: none !important;
  margin: 0 !important;
  pointer-events: none !important;
}

/* 子要素（無料・特典付など）の設定 */
body .section.streaming .video-card .video-card-tag span {
  pointer-events: auto !important;
  position: relative !important;
  z-index: 10 !important;
  /* 【修正】タグ同士の間隔調整 */
  margin-right: 5px !important;
  margin-bottom: 0 !important;
}

body .section.streaming .video-card .video-card-tag .no-onair {
	display:none;
}

/* --- 4. 「生配信中」アイコンの設定 --- */
body .section.streaming .video-card .video-card-tag .onair {
  /* 配置：左上に絶対配置（親のFlex設定を無視して配置） */
  position: absolute !important;
  top: -10px !important;
  left: -10px !important;
  bottom: auto !important;
  right: auto !important;
 
  /* その他設定 */
  z-index: 1000 !important;
  margin: 0 !important;
  display: block !important;
  width: 100px !important;
  height: 40px !important;
 
  text-indent: -9999px !important;
  overflow: hidden !important;
  background-color: transparent !important;
  color: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;

  background-image: url('https://www.his-j.com/oe/images/onair.svg') !important;
  background-repeat: no-repeat !important;
  background-size: contain !important;
  background-position: center !important;

  cursor: pointer;
  animation: pulse-animation 1.2s ease-in-out infinite alternate !important;
}

