/* スライダー本体 */
#main-slider {
  width: 100%;
  height: 450px;
  position: relative;
}

/* 各スライド */
#main-slider .splide__slide {
  position: relative;
}

/* 背景画像（スライド画像） */
#main-slider .splide__slide img {
  width: 100%;
  height: 450px;
  object-fit: cover;
}

/* キャプション全体（タイトル＋本文） */
.slide-caption {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;          /* ← 高さは固定でOK（中央に配置するため） */
  display: flex;
  flex-direction: column; /* ← 縦方向に並べる */
  justify-content: center;/* ← 縦方向中央揃え */
  align-items: center;     /* ← 横方向中央揃え */
  text-align: center;
  pointer-events: none;
}

/* タイトル画像（slide-text.png） */
.layer-title {
  display: flex;
  justify-content: center;
  align-items: center;
  width: auto;            /* ← 画像サイズに合わせる */
  margin: 0 auto;
}

.layer-title img {
  height: auto !important;
  width: auto;
  max-width: 80%;         /* ← 適正サイズ */
}

/* 本文（layer-content） */
.layer-content {
  margin-top: 20px;
  width: 100%;            /* ← 横幅を確保（右に回り込むのを防ぐ） */
  text-align: center;
  color: #fff;
  font-size: 1.2rem;
  text-shadow: 0 0 5px rgba(0,0,0,0.7);
  line-height: 1.6;
}

/* 矢印・ページネーション非表示 */
.splide__arrow {
  display: none !important;
}

.splide__pagination {
  display: none !important;
}

.entry-title p:not(.fa-2x) {
  text-align: left;
}

/* fa-2xを強くする */
.fa-2x {
  font-weight: 700;
  font-family: "Noto Serif JP", serif;
}


