/* 最新記事エリア全体のスタイル */
.latest-blogs {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 0 0 20px 0;
  padding-top: 1px;
}

/* 各記事カードのスタイル */
.latest-blog-card {
  flex: 1 1 calc(33.333% - 20px);
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  text-decoration: none;
  color: #333;
  display: flex;
  flex-direction: column;
}

/* カード内の画像 */
.latest-blog-card img {
  width: 100%;
  height: auto;
  max-height: 280px;
  object-fit: cover;
}

/* カード内の見出し */
.latest-blog-card h3 {
  font-size: 1em;
  margin: 10px;
}

/* カード内の抜粋テキスト */
.latest-blog-card p {
  font-size: 0.9em;
  margin: 0 10px 10px;
  color: #555;
}

/* スマホ表示用のレイアウト調整 */
@media screen and (max-width: 768px) {
  .latest-blog-card {
    flex: 1 1 100%;
  }
}

/* コンテンツ全体の余白調整 */
.contents.wrap {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* 最新記事ブロックの余白をリセット */
.latest-blogs {
  margin-top: 0 !important;
  padding-top: 0 !important;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* すべての要素に共通するリセット */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
