
/* =====================================
   TOP お知らせ 横3列表示
   サムネイル比率 600×400（3:2）
===================================== */

.top-news {
  width: 92%;
  max-width: 1000px;
  margin: 60px auto;
  padding: 0;
}

.top-news .homeBlogNewsArea {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}

.top-news .blogArea.top-news-inner {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
}

/* 見出し */
.top-news .blogArea .titBox {
  display: block;
  width: 100% !important;
  margin: 0 0 25px !important;
  text-align: center;
}

.top-news .titBox h4 {
  font-size: 24px;
  color: #53aa86;
  margin: 0;
}

/* 記事一覧：PC横3列 */
.top-news .blogArea .articleBox {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 20px !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  float: none !important;
  align-items: stretch;
}

/* CMS繰り返し用ラッパー */
.top-news .top-news-grid {
  display: contents !important;
}

/* 記事カード */
.top-news .articleItem {
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  box-sizing: border-box;
  overflow: hidden;
  background: #fff;
  border: none;
}

/* サムネイル：600×400の比率 */
.top-news .news-image {
  display: block;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: #f5f5f5;
}

.top-news .news-image a {
  display: block;
  width: 100%;
  height: 100%;
}

.top-news .news-image img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: center;
}

/* テキスト */
.top-news .news-content {
  flex: 1;
  padding: 16px 14px 16px;
  background: #fdf3f5;
}

.top-news .articleItem .date {
  width: 100% !important;
  margin: 0 0 7px !important;
  font-size: 16px;
  color: #888;
}

.top-news .articleItem .tit {
  width: 100% !important;
  margin: 0 !important;
  font-size: 18px;
  line-height: 1.6;
}

.top-news .articleItem .tit a {
  color: #333;
  font-size: inherit;
  text-decoration: none;
}

/* 一覧ボタン */
.top-news .homeBlogNewsArea .toDetail {
  display: block;
  width: 220px;
  max-width: 100%;
  margin: 30px auto 0 !important;
  float: none !important;
  text-align: center;
}

/* スマートフォン */
@media screen and (max-width: 767px) {
  .top-news {
    margin: 40px auto;
  }

  .top-news .blogArea .articleBox {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .top-news .news-image {
    aspect-ratio: 3 / 2;
    height: auto !important;
  }

  .top-news .news-content {
    padding: 15px;
  }
}
