/* ブロックエディターで先方が付けられる最小限の見た目（ブロック標準の CSS は読み込んでいないため）。 */
.has-text-align-left { text-align: left; }
.has-text-align-center { text-align: center; }
.has-text-align-right { text-align: right; }
.aligncenter { margin-left: auto; margin-right: auto; text-align: center; }
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; white-space: nowrap; }
/* theme.json で選べる色・文字サイズ（theme.json と同じ値） */
.has-ink-color { color: #221815 !important; }
.has-blue-color { color: #1884b9 !important; }
.has-cyan-color { color: #46c8dc !important; }
.has-small-font-size { font-size: 0.875rem !important; }
.has-medium-font-size { font-size: 1rem !important; }
.has-large-font-size { font-size: 1.25rem !important; }
/* 埋め込み（YouTube）：画面幅いっぱいに広げ、16:9 のまま縮める */
.wp-block-embed { margin: 2rem 0; }
.wp-block-embed__wrapper { position: relative; }
.wp-block-embed iframe { display: block; width: 100%; max-width: 100%; height: auto; aspect-ratio: 16 / 9; border: 0; }
/* お知らせ本文のリスト：コーディングデータは左の余白だけで行頭の記号が消えている（リセットの list-style: none）ため、記号を戻す */
.p-news-entry__body ul { list-style: disc; }
.p-news-entry__body ol { list-style: decimal; }
/* お知らせ詳細の記事タイトルとパンくずの記事名：最後の行が1文字だけ残る改行と、語の途中での改行を避ける（対応していないブラウザは従来の改行のまま） */
.p-news-entry__title,
.page-news-detail .l-breadcrumb__current { text-wrap: pretty; word-break: auto-phrase; }
/* トップのお知らせのタイトル：コーディングデータは1行で「…」に切るため、折り返して全文を出す。語の途中での改行と最後の行の1文字残りを避ける（対応していないブラウザは従来の改行） */
.p-home-news__title { white-space: normal; text-overflow: clip; overflow-wrap: anywhere; text-wrap: pretty; word-break: auto-phrase; }
/* お知らせ一覧のタイトル：トップのお知らせと同じ折り返し（語の途中での改行と最後の行の1文字残りを避け、切れ目の無い長い英数字ははみ出さずに折る） */
.p-news__title { overflow-wrap: anywhere; text-wrap: pretty; word-break: auto-phrase; }
/* スマホメニューの SNS：PC は右側のクイックメニューにあり、それが出ない 1024px 未満だけメニューの下（住所の上）に出す */
.l-megamenu__sns { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; }
.l-megamenu__sns-title { margin: 0; font-family: "Poppins", sans-serif; font-size: 0.75rem; letter-spacing: 0.12em; }
.l-megamenu__sns-links { display: flex; gap: 0.5rem; }
.l-megamenu__sns-link { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; font-size: 1.5rem; line-height: 1; color: var(--color-text); text-decoration: none; }
.l-megamenu__sns-link:hover { color: var(--color-theme-1); }
@media (min-width: 1024px) { .l-megamenu__sns { display: none; } }
