/* ==========================================================
   NEWS STYLE  (2025-05-15 rev4 – full code)
   ========================================================== */

/* 1.  固定ヘッダーぶんだけ main を押し下げる
   ---------------------------------------------------------- */
.no-hero main{
  margin-top: var(--header-h, 120px);   /* --header-h は JS で動的計算 */
}

/* 2.  見出し（黄色アンダーライン付き）
   ---------------------------------------------------------- */
.news-title-bar{
  position: relative;
  display:  inline-block;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  margin-bottom: 2.5rem;
}
.news-title-bar::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 60%;
  height: 4px;
  border-radius: 4px;
  background: #ffc107;                 /* Bootstrap “warning” */
}

/* 3.  ニュースカード（タイムライン風）
   ---------------------------------------------------------- */
.news-card{
  position: relative;                  /* ← stretched-link が効く様に必須 */
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  padding: 1.5rem 2rem;
  background: #fff;
  transition:
    transform  .25s cubic-bezier(.4,0,.2,1),
    box-shadow .25s cubic-bezier(.4,0,.2,1);
}
.news-card:hover{
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0,0,0,.08);
}
.news-card h2{
  font-size: 1.25rem;
  margin: 0 0 .25rem 0;
}

/* 4.  タイムライン用ドット
   ---------------------------------------------------------- */
.timeline-dot{
  width: .9rem;
  height: .9rem;
  border-radius: 50%;
  background: #0d6efd;                 /* Bootstrap “primary” */
  box-shadow: 0 0 0 5px #e9ecef;
}

/* 5.  詳細ページ本文
   ---------------------------------------------------------- */
.news-body p{
  line-height: 1.9;
  margin-bottom: 1.5rem;
}
.news-body img{
  max-width: 100%;
  height: auto;
  border-radius: .75rem;
  margin: 1rem 0;
}

/* 6.  モバイル調整
   ---------------------------------------------------------- */
@media (max-width: 576px){
  .news-card{
    padding: 1.25rem 1.5rem;
  }
}
