/* お知らせ・イベント情報（news/build_news.py が書くページとトップの欄） */
.news-top { padding: 2.5rem 0 1rem; }
.news-top-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1.2rem; border-bottom: 2px solid #1e3a5f; padding-bottom: .6rem; }
.news-top-title { font-size: 1.5rem; font-weight: 800; color: #1e3a5f; margin: 0; line-height: 1.3; }
.news-top-title span { display: block; font-size: .75rem; letter-spacing: .2em; color: #6b7a90; font-weight: 700; margin-top: .2rem; }
.news-top-more { font-size: .9rem; font-weight: 700; color: #1e3a5f; text-decoration: none; white-space: nowrap; }
.news-top-more:hover { color: #152d4a; text-decoration: underline; }

.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.news-card { display: flex; flex-direction: column; background: #fff; border: 1px solid #e3e8f0; border-radius: 12px; overflow: hidden; text-decoration: none; color: inherit; box-shadow: 0 2px 8px rgba(0,0,0,.05); transition: box-shadow .2s, transform .2s; }
.news-card:hover { box-shadow: 0 8px 22px rgba(0,0,0,.1); transform: translateY(-2px); color: inherit; }
.news-card-img { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 630; object-fit: cover; }
.news-card-body { padding: .9rem 1rem 1.1rem; }
.news-card-title { font-size: 1rem; font-weight: 700; color: #1a1a2e; margin: .4rem 0 .3rem; line-height: 1.5; }
.news-card-info { font-size: .82rem; color: #555; margin: 0; line-height: 1.6; }

.news-card-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .6rem; font-size: .78rem; color: #6b7a90; }
.news-tag { display: inline-block; background: #1e3a5f; color: #fff; font-weight: 700; padding: .1rem .55rem; border-radius: 4px; font-size: .72rem; }
.news-status:empty { display: none; }
.news-status { display: inline-block; font-weight: 700; padding: .1rem .55rem; border-radius: 4px; font-size: .72rem; border: 1px solid currentColor; }
.news-status.is-upcoming { color: #c0392b; }
.news-status.is-now { color: #fff; background: #c0392b; border-color: #c0392b; }
.news-status.is-ended { color: #8a94a6; }

.news-article .news-card-meta { margin-bottom: 1rem; font-size: .85rem; }
.news-poster { margin: 0 0 1.5rem; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 18px rgba(0,0,0,.1); }
.news-poster img { display: block; width: 100%; height: auto; }
.news-spec th { width: 9em; white-space: nowrap; }
.news-sub { font-size: .85rem; color: #666; }
.news-map { position: relative; width: 100%; padding-bottom: 56%; border-radius: 12px; overflow: hidden; border: 1px solid #e3e8f0; margin: .5rem 0 .4rem; }
.news-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.news-closing { margin-top: 2rem; background: #eef4fb; border-left: 4px solid #1e3a5f; border-radius: 8px; padding: 1.1rem 1.3rem; }
.news-closing p { margin: 0; }
.news-grid--small .news-card-title { font-size: .92rem; }
.news-more { text-align: center; margin-top: 1.2rem; }
.news-more a { color: #1e3a5f; font-weight: 700; }

@media (max-width: 860px) {
  .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .news-grid { grid-template-columns: 1fr; }
  .news-top-title { font-size: 1.25rem; }
  .news-spec, .news-spec tbody, .news-spec tr, .news-spec th, .news-spec td { display: block; width: auto; }
  .news-spec th { white-space: normal; border-bottom: 0; padding-bottom: .2rem; text-align: left; }
  .news-spec td { padding-top: .2rem; }
}
