    /* =========================================
    Swiper Custom CSS for CMS
    ========================================= */

    h2.event_title_{display:none}

/* --- コンテナの調整 --- */
.news-slider-container {
  padding: 10px 40px 10px; 
  overflow: hidden;
  position: relative;
  background:rgba(255,255,255,0.9);
  box-sizing: border-box;
}

/* --- スライド（li）の初期化 --- */
.list.formdetail_ > li {
  list-style: none !important;
  padding: 0 !important;
  height: auto;
  display: flex;
}

/* --- リンク全体（カードの枠） --- */
.list.formdetail_ > li > a {
  display: flex;
  flex-direction: column;
  text-decoration: none !important;
  color: inherit !important;
  gap:20px;
  width: 100%;
}

/* --- カード本体のデザイン --- */
.formdetail_main {
  display: flex;
  flex-direction: column-reverse;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  height: 100%;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 10px 10px 15px rgba(0,0,0,0.1);
}

/* ホバー時のアクション（PC用） */
@media (hover: hover) {
  .formdetail_main:hover {
    transform: translateY(-5px);
  }
}

/* --- 画像エリア --- */
.formdetail_img {
  width: 100%;
  height: 130px;
  overflow: hidden;
}

.formdetail_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position:top center;
  transition: transform 0.5s;
}

.formdetail_main:hover .formdetail_img img {
  transform: scale(1.05);
}

/* --- テキストエリア --- */
.formdetail_detail {
  padding: 15px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.formdetail_left { display:none; }

/* タイトル */
.formdetail_center {
  font-size: 13px;
  font-weight: bold;
  line-height: 1.5;
  color: #333;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}
.formdetail_center br { display: none; }
    
/* --- コンテナを画面下部に固定（初期状態は隠す） --- */
.news-slider-container {
  position: fixed;
  bottom: 55px;
  left: 0;
  width: 100%;
  z-index: 999;
  overflow: visible !important; 
  transform: translateY(100%); 
  transition: transform 0.5s ease;
  visibility: hidden;
}

/* 表示用のクラス */
.news-slider-container.is-active {
  transform: translateY(0);
  visibility: visible;
}

/* =========================================
   ★変更：矢印ナビゲーションのスタイル
   ========================================= */
.swiper-button-prev,
.swiper-button-next {
  width: 40px;
  height: 40px;
  background-color: #f2efea; /* ★画像の色に変更（薄いベージュ） */
  border-radius: 50%;
  /* box-shadow: none;          ★影を削除 */
  color: #5c3e26;            /* ★画像の色に変更（濃い茶色） */
  z-index: 10;
  top: 45%;
  transition: opacity 0.3s; /* ホバー効果用 */
}

/* 矢印のサイズ調整 */
.swiper-button-prev:after,
.swiper-button-next:after {
  font-size: 16px; /* 少し大きく */
  font-weight: bold;
}

/* ホバー時に少し薄くする */
.swiper-button-prev:hover,
.swiper-button-next:hover {
  opacity: 0.8;
}

/* スマホでは矢印を非表示 */
@media (max-width: 768px) {
  .swiper-button-prev, .swiper-button-next {
    display: none; 
  }
  .news-slider-container {
    padding-left: 0; padding-right: 0;
  }
}
/* 広いPC（画面幅1399px以上）の場合のデザイン調整 */
@media (min-width: 1399px) {
  
  /* カード本体：横並び（画像左、文字右）にする */
  .formdetail_main {
    flex-direction: row-reverse; /* 画像を左、文字を右に配置 */
    height: 150px; /* カードの高さを固定 */
  }

  /* 画像エリア：左側に固定幅で配置 */
  .formdetail_img {
    width: 55%; /* 画像の横幅 */
    height: 100%; /* 高さはカードいっぱいに */
    flex-shrink: 0; /* 画像が縮まないように固定 */
  }

  /* テキストエリア：残りのスペースを使う */
  .formdetail_detail {
    width: auto;
    padding: 0 15px; /* テキスト周りの余白 */
    justify-content: center; /* 垂直方向の中央寄せ */
  }
  
  /* テキストの行数制限などの調整（必要であれば） */
  .formdetail_center {
    -webkit-line-clamp: 6; /* PCでは4行まで表示するなど（任意） */
  }
}