.wide-paragraph {
  width: 76% !important;
  max-width: none !important;
  margin-left: auto;
  margin-right: auto;
}

/* fullwidth-columns: カラムブロックだけ全幅表示 */
.fullwidth-columns {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 auto;
  display: flex;
  justify-content: center; /* 中央寄せ */
  gap: 0; /* 画像間の余白をなくす */
}

.fullwidth-columns > .wp-block-column {
  flex: 1 1 50%;
  padding: 0;
}

.extra-bold-heading {
    font-weight: 500;
}

.custom-button-text {
  font-size: 50px; /* 好きなサイズに変更 */
}

/* SCROLLインジケーターを中央下に配置（背景透明） */
.scroll-indicator {
  position: absolute;
  bottom: -172px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: #003366;
  font-size: 20px;
  z-index: 10;
  font-family: 'Arial', sans-serif;
  background: transparent !important; /* 背景を消す */
  padding: 0;
  margin: 0;
  box-shadow: none;
}

.scroll-indicator .arrow {
  font-size: 24px;
  animation: bounce 1.5s infinite;
  margin-top: 5px;
}

/* 矢印アニメーション */
@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(8px);
  }
}

/* 親要素が必要な相対位置になるように */
.relative-cover {
  position: relative;
}

.next-section {
  position: relative;
  z-index: 2;
  margin-top: -120px;       /* 背景ブロックに重なるように上へ移動 */
  padding-top: 150px;       /* 中身が見やすくなる余白 */
  background: white;        /* 背景を白にして、上にかぶさるように見せる */
  border-radius: 0 0 20px 20px; /* 下側に柔らかい丸み（お好みで） */
  box-shadow: 0 -10px 30px rgba(0,0,0,0.05); /* ふんわり浮いてる感じに */
}

/*カラムの幅を85%に広げる*/
.wp-block-columns {
  max-width: 85% !important;
  padding-left: 0;
  padding-right: 0;
}

.wide-paragraph2 {
  width: 100% !important;
  max-width: none !important;
  margin-left: auto;
  margin-right: auto;
}

/* カード全体を小さめに */
.wp-block-post {
  background: #fff;
  padding: 12px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  transition: transform 0.3s ease;
  font-size: 0.95rem;
}

.wp-block-post:hover {
  transform: translateY(-3px);
}

/* アイキャッチ画像：高さ固定でトリミング */
.wp-block-post-featured-image img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 10px;
}

/* カテゴリバッジ */
.wp-block-post-terms {
  display: inline-block;
  background-color: #1E4AA1;
  color: #fff;
  font-size: 0.75rem;
  font-weight: bold;
  padding: 3px 8px;
  border-radius: 16px;
  margin-bottom: 8px;
}

/* タイトルの行数制限とサイズ調整 */
.wp-block-post-title {
  font-size: 0.95rem;
  font-weight: bold;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 日付 */
.wp-block-post-date {
  color: #888;
  font-size: 0.8rem;
  margin-bottom: 8px;
}

/* 抜粋 */
.wp-block-post-excerpt {
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 8px;
}

/* Read More リンク */
.wp-block-post-read-more {
  font-size: 0.85rem;
  color: #1E4AA1;
  font-weight: bold;
  text-decoration: none;
}

.more-line-height {
  line-height: 1.8; /* 通常1.4〜1.6が多いので、1.8でやや広めに */
}

.heading-underline {
  border-bottom: 2px solid #000; /* 黒い下線を追加 */
  padding-bottom: 1px;           /* 下線と文字の間に余白 */
  display: inline-block;         /* 下線の長さを文字幅に合わせる場合 */
}

.footer-logo-col {
  margin-left: 0;  /* 必要に応じて調整 */
  padding-left: 10px;
}

.address-line::before {
  content: "📍";
  margin-right: 6px;
}

.email-with-icon::before {
  content: "📧";
  margin-right: 6px;
}

a.link-indent {
  margin-left: 12px; /* ← 好きな値に調整可 */
}

/* 投稿リスト全体を整える */
.case-study-loop .wp-block-latest-posts li {
  display: flex;
  flex-direction: row;
  gap: 24px;
  padding: 20px;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  margin-bottom: 32px;
  align-items: flex-start;
}

/* アイキャッチ画像がある場合の処理（HTMLによって調整が必要） */
.case-study-loop .wp-block-latest-posts img {
  width: 280px;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

/* タイトル */
.case-study-loop .wp-block-latest-post__post-title {
  font-size: 1.6rem;
  font-weight: bold;
  color: #12346d;
  margin-bottom: 10px;
  line-height: 1.4;
}

/* 日付 */
.case-study-loop .wp-block-latest-post__post-date {
  font-size: 0.85rem;
  color: #555;
  margin-bottom: 6px;
  display: block;
}

/* 抜粋 */
.case-study-loop .wp-block-latest-post__post-excerpt {
  font-size: 1rem;
  color: #777;
  margin-bottom: 16px;
}

/* 「Read more」リンク（必要に応じて後付け） */
.case-study-loop .read-more-link {
  font-weight: bold;
  font-size: 1rem;
  color: #1E4AA1;
  text-decoration: none;
}
.case-study-loop .read-more-link:hover {
  text-decoration: underline;
}