/* ============================================================
   お知らせ（一覧・詳細）プラグイン用スタイル
   - フレーム非依存。テーマ変数を使うのでフレーム切替で色も追従。
   - 色背景セクションに置かれても読めるよう color:inherit 基調。
   ============================================================ */

/* ---- 一覧パーツ ---- */
.news-list-parts { margin: 0.5em 0; }
.news-list-ul { list-style: none; margin: 0; padding: 0; }
.news-list-item { border-bottom: 1px solid rgba(0, 0, 0, .12); }
.news-list-link {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 6px; color: inherit; text-decoration: none;
  transition: background .2s ease;
}
.news-list-link:hover { background: rgba(0, 0, 0, .04); }
.news-list-thumb {
  flex: 0 0 auto; width: 92px; height: 66px;
  overflow: hidden; border-radius: 6px; background: rgba(0, 0, 0, .06);
}
.news-list-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.news-list-text { flex: 1 1 auto; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.news-list-date { font-size: .85em; opacity: .7; }
.news-list-title { font-weight: 600; line-height: 1.5; }
.news-list-arrow { flex: 0 0 auto; font-size: 1.4em; line-height: 1; opacity: .4; }
.news-list-empty { opacity: .7; padding: 1em 0; }
.news-list-more { margin: 1.1em 0 0; text-align: right; }
.news-list-more-link { color: var(--primary-color, #2563eb); text-decoration: none; font-weight: 600; }
.news-list-more-link:hover { text-decoration: underline; }

@media (max-width: 600px) {
  .news-list-thumb { width: 72px; height: 54px; }
  .news-list-link { gap: 12px; padding: 14px 4px; }
}

/* ---- 詳細ページ ---- */
.news-detail-parts { padding: 2.4em 0; }
.news-detail-inner { max-width: 760px; margin: 0 auto; padding: 0 16px; }
.news-detail-date { font-size: .9em; opacity: .7; margin: 0 0 .3em; }
.news-detail-title { font-size: 1.6em; line-height: 1.45; margin: 0 0 1.2em; }
.news-detail-figure { margin: 0 0 1.5em; }
.news-detail-figure img { max-width: 100%; height: auto; border-radius: 8px; display: block; }
.news-detail-body { line-height: 1.9; }
.news-detail-back { margin: 1.2em 0; }
.news-detail-back a { color: var(--primary-color, #2563eb); text-decoration: none; }
.news-detail-back a:hover { text-decoration: underline; }
.news-detail-back-bottom { margin-top: 2.4em; padding-top: 1.2em; border-top: 1px solid rgba(0, 0, 0, .1); }
