
    /* カード要素の高さ揃えやレイアウト調整 */
    .swiper {
      width: 100%;
      padding-bottom: 50px;
    }
    .swiper-slide {
      height: auto;
    }
    .swiper-slide article {
      height: 100%;
      display: flex;
      flex-direction: column;
    }


/* カードレイアウトのデザイン */



/* Swiperスライド枠の幅をコンテンツ（画像）の幅に合わせる */
.swiper-slide {
  width: auto !important; /* 横幅の固定を解除し、画像サイズに追従させる */
  margin: 0; 
  padding-bottom: 0; 
  height: 100%;
  background-color: #fff;
  border-radius: 0 0 8px 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
}

/* スライダー内の画像サイズの固定指定 */
.swiper-slide img {
  height: 350px; /* 高さを統一指定 */
  width: auto;   /* 横幅は元画像の比率に合わせて自動決定 */
  object-fit: contain; /* 画像の歪みを防止 */
}






.card__content {
  margin-top: -20px;
  padding: 10px;
  flex-grow: 1;
}

.card__content time {
  font-size: 0.85rem;
  color: #888;
}

.card__content h4 {
  font-size: 0.9rem;
  line-height: 1.2;
}

/* 1. ボタン本体（黒の半透明丸枠） */
.swiper-button-prev,
.swiper-button-next {
  top: 35% !important;
  
  width: 50px !important;
  height: 50px !important;
  background-color: rgba(0, 0, 0, 0.3) !important; /* 黒の半透明 */
  background-image: none !important; /* 背景画像を消去 */
  border-radius: 50% !important;
  
  /* 中央寄せ */
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: absolute !important;
}

/* 2. ボタン内部に直接入っている青い画像・SVG・::beforeをまとめて強制非表示 */
.swiper-button-prev img,
.swiper-button-next img,
.swiper-button-prev svg,
.swiper-button-next svg,
.swiper-button-prev::before,
.swiper-button-next::before {
  display: none !important;
  content: none !important;
  background-image: none !important;
}

/* 3. 白い矢印テキストのみを表示 */
.swiper-button-prev::after,
.swiper-button-next::after {
  color: #ffffff !important;
  font-size: 30px !important;
  font-weight: bold !important;
  line-height: 1 !important;
}

.swiper-button-prev::after {
  content: '‹' !important;
}

.swiper-button-next::after {
  content: '›' !important;
}

@media screen and (max-width: 768px) {
  .swiper-button-prev,
  .swiper-button-next {
    width: 36px !important;
    height: 36px !important;
    top: 35% !important;
  }

  .swiper-button-prev::after,
  .swiper-button-next::after {
    font-size: 18px !important;
  }
}

/* PC・基本サイズ（画像の高さを指定） */
.card03 .swiper-slide img {
  height: 350px; /* PCでの画像の高さ */
  width: auto;   /* 横幅はアスペクト比を維持 */
  object-fit: contain;
}

/* タブレットサイズ（画面幅1024px以下） */
@media screen and (max-width: 1024px) {
  .card03 .swiper-slide img {
    height: 270px; /* 少し小さくする */
  }
}

/* スマホサイズ（画面幅599px以下） */
@media screen and (max-width: 599px) {
  .card03 .swiper-slide img {
    height: 210px; /* さらに小さくする */
  }
}






/* ドット（ページネーション）の位置を上げる */
.swiper-pagination {
  bottom: 28px !important; /* 好きな高さに調整（例: 30px〜50px） */
}

/* 点（ドット）の色を変更 */
.swiper-pagination-bullet-active {
  background: #005bac !important; /* アクティブな点の色 */
}

