/* TOPとお知らせの共通案内。既存の予約導線・装飾は変更しない。 */
[data-news-home] .news-topic, [data-news-general] .news-topic { padding:24px 0; border-bottom:1px solid #d9e2db; text-align:left; overflow-wrap:anywhere; }
.news-topic h3 { margin:0 0 10px; font-size:clamp(1.05rem,2vw,1.2rem); line-height:1.7; }
body[data-page="home"] #main .home-news .news-topic h3 { text-align:left; }
.news-topic p { margin:0 0 12px; line-height:1.9; }
.news-topic > a { display:inline-block; font-weight:700; text-underline-offset:4px; }
.news-topic time { display:block; margin-bottom:6px; font-size:.875rem; }

.news-topic__qr { margin:18px 0 0; text-align:left; }
.news-topic__qr a { display:inline-block; }
.news-topic__qr img { display:block; width:160px; max-width:100%; height:auto; background:#fff; }
.news-topic__qr figcaption { max-width:26em; margin-top:8px; font-size:.875rem; line-height:1.7; }


/* TOPのお知らせをすべての画面幅で中央にまとめる。 */
body[data-page="home"] #main .home-news { text-align: center; }

body[data-page="home"] #main .home-news__head {
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

body[data-page="home"] #main .home-news .container {
  max-width: 44rem;
  margin-inline: auto;
}

body[data-page="home"] #main .home-news .news-topic,
body[data-page="home"] #main .home-news .news-topic h3,
body[data-page="home"] #main .home-news .news-topic__qr {
  text-align: center;
}

body[data-page="home"] #main .home-news .news-topic p {
  max-width: 36em;
  margin-inline: auto;
}

body[data-page="home"] #main .home-news .news-topic__qr figcaption {
  margin-inline: auto;
}
