/* ===========================
   ニュース一覧ページ用スタイル
   =========================== */

.news-card {
  display: flex;
  align-items: flex-start;
  border: 1px solid #eee;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 20px;
  background: #fff;
  transition: box-shadow 0.3s;
}

.news-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.news-card img {
  width: 200px;
  height: auto;
  display: block;
  object-fit: cover;
}

.news-body {
  padding: 16px;
  flex: 1;
}

.news-body h2 {
  margin: 8px 0;
  font-size: 20px;
  line-height: 1.4;
}

.news-body h2 a {
  color: #0073aa;
  text-decoration: none;
}

.news-body h2 a:hover {
  text-decoration: underline;
}

.news-body time {
  font-size: 12px;
  color: #666;
  display: block;
  margin-bottom: 8px;
}

.news-body p {
  font-size: 14px;
  color: #333;
  margin: 0;
  line-height: 1.6;
}

/* レスポンシブ対応: 画面が狭いときは縦並び */
@media (max-width: 768px) {
  .news-card {
    flex-direction: column;
  }

  .news-card img {
    width: 100%;
    height: auto;
  }
}