/* ===== Display Toggle Overrides ===== */
/* sf-hidden は display:none!important なので、!important でオーバーライド */

/* SP news list: 480px で表示 */
@media screen and (max-width: 480px) {
  [data-s-d2c721eb-bf6c-41c6-aa7e-12669da081d3] { display: flex !important; }
}

/* SP CTA section: 768px で表示 */
@media screen and (max-width: 768px) {
  [data-s-27987769-bf61-4697-844d-c6d2d5ff6c19] { display: flex !important; }
  [data-s-b66e9908-cf5f-4d98-be32-2da20838d1bb] { display: flex !important; }
  [data-s-6abbd19c-4eb7-419a-8603-3feca187b98a] { display: flex !important; }
  [data-s-6e2d5f8c-77c3-4b52-b555-2d6d9d8cadcb] { display: flex !important; }
  [data-s-370f7655-8d34-44cc-9d4a-aff72f10b6bc] { display: flex !important; }

  /* SP CTA 背景画像（モバイル版のみ） */
  .sd[data-s-6e2d5f8c-77c3-4b52-b555-2d6d9d8cadcb]::before {
    background-image: url('../img/ir_mobile/pseudo-bg-1_0_1_0_.webp') !important;
  }
  .sd[data-s-370f7655-8d34-44cc-9d4a-aff72f10b6bc]::before {
    background-image: url('../img/ir_mobile/pseudo-bg-1_1_1_0_.webp') !important;
  }
}


/* ===== SP News Card (<=480px) ===== */

.ir-sp-card {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  text-decoration: none;
  color: inherit;
  padding-top: 30px;
  transition: background 200ms ease;
}

.ir-sp-card:hover {
  background: rgba(0, 0, 0, 0.06);
}

.ir-sp-card__content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 0 20px 30px;
}

.ir-sp-card__meta {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
}

.ir-sp-card__badge {
  background: #757879;
  padding: 8px 11px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.ir-sp-card__badge p {
  margin: 0;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.0;
  color: #fff;
  white-space: nowrap;
}

.ir-sp-card__date {
  margin: 0;
  font-family: Lato, sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.0;
  color: #757879;
}

.ir-sp-card__title-row {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 16px;
}

.ir-sp-card__title {
  margin: 0;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.6;
  color: #000;
  flex: 1;
}

.ir-sp-card__arrow {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  padding-top: 4px;
}

.ir-sp-card__arrow img {
  width: 20px;
  height: auto;
}

.ir-sp-card__divider {
  height: 1px;
  background: #bebebe;
  width: 100%;
}


/* ===== SP CTA (<=768px) ===== */

.ir-sp-cta__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
}

.ir-sp-cta__inner {
  background: #757879;
  padding: 30px 50px 0 0;
}

.ir-sp-cta__text-row {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  gap: 20px;
}

.ir-sp-cta__label {
  margin: 0;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.8;
  color: #fff;
  white-space: nowrap;
}

.ir-sp-cta__arrow {
  width: 16px;
  height: auto;
  margin-bottom: 6px;
}

@media screen and (max-width: 480px) {
  .ir-sp-cta__inner {
    padding: 20px 30px 0 0;
  }

  .ir-sp-cta__text-row {
    gap: 16px;
  }

  .ir-sp-cta__label {
    font-size: 13px;
  }

  .ir-sp-cta__arrow {
    width: 13px;
    margin-bottom: 4px;
  }
}
