@charset "UTF-8";
/* =========================================
   ミルルからのお知らせ（note連携）セクション
========================================= */
.milulu-news-section {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 40px 30px;
  margin-bottom: 0px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
  font-family: "Zen Old Mincho", "Hiragino Mincho ProN", serif;
}

/* タイトル中央寄せ */
.milulu-news-title {
  font-size: 24px;
  text-align: center;
  border-bottom: 2px dashed #dca878;
  padding-bottom: 15px;
  margin-bottom: 30px;
  font-weight: bold;
  color: #5d4037;
}

/* 3列のグリッドレイアウト */
.milulu-news-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* PC時は均等に3列 */
  gap: 25px; /* カード同士の隙間 */
}

/* リンクカード全体のスタイル */
.milulu-news-link {
  display: flex;
  flex-direction: column; /* 縦並び（画像が上、文字が下） */
  gap: 12px;
  text-decoration: none;
  color: #333;
  transition: opacity 0.3s, transform 0.3s;
  height: 100%;
}
.milulu-news-link:hover {
  opacity: 0.8;
  transform: translateY(-3px); /* ホバーで少し浮かす */
}

/* サムネイル画像の設定 */
.milulu-news-thumb-wrap {
  width: 100%;
  aspect-ratio: 16 / 9; /* 画像の比率を固定して綺麗に揃える */
  overflow: hidden;
  border-radius: 6px;
  background-color: #f5f5f5;
}
.milulu-news-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.milulu-news-thumb.no-image {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #999;
  background-color: #eaeaea;
}

/* テキストエリア */
.milulu-news-content {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.milulu-news-date {
  font-size: 13px;
  color: #888;
  font-family: sans-serif; /* 日付はスッキリしたゴシック体が読みやすいです */
}
.milulu-news-text {
  font-weight: bold;
  line-height: 1.5;
  font-size: 15px;
  /* タイトルが長すぎた場合、2行で「...」と省略して高さを揃える魔法のCSS */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* --- スマホ対応（1列表示） --- */
@media screen and (max-width: 768px) {
  .milulu-news-list {
    grid-template-columns: 1fr; /* スマホでは縦1列に */
    gap: 30px;
  }
}