/* WordPress のときだけ使う見た目（記事の本文・写真・ページ送り・フォームのお知らせ・管理バー） */

/* 記事・固定ページの本文 */
.entry-content > * + * { margin-top: 1.1em; }
.entry-content > :first-child { margin-top: 0; }
.entry-content h2 { font-size: clamp(21px, 2.4vw, 26px); margin-top: 2em; }
.entry-content h3 { font-size: 19px; margin-top: 1.6em; }
.entry-content img { border-radius: 12px; height: auto; }
.entry-content figure { margin: 1.6em 0; }
.entry-content figcaption { font-size: 14px; color: var(--muted); text-align: center; margin-top: 6px; }
.entry-content ul, .entry-content ol { padding-left: 1.5em; }
.entry-content blockquote { margin: 1.5em 0; padding: 12px 18px; border-left: 4px solid var(--g200); background: var(--g50); border-radius: 0 10px 10px 0; }
.entry-content a { overflow-wrap: anywhere; }
.entry-content .wp-block-button__link { background: var(--g900); color: #fff; border-radius: 999px; padding: 12px 24px; text-decoration: none; font-family: var(--head); font-weight: 700; }
.aligncenter { margin-inline: auto; text-align: center; }
.alignleft { float: left; margin: .3em 1.2em 1em 0; }
.alignright { float: right; margin: .3em 0 1em 1.2em; }
.article-thumb { margin: 0 0 28px; }
.article-thumb img { border-radius: var(--r); width: 100%; height: auto; }
.article-meta .news-cat { text-decoration: none; }

/* ページ送り */
.navigation.pagination { margin-top: 32px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.nav-links .page-numbers { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--ink); background: #fff; }
.nav-links .page-numbers.current { background: var(--g900); border-color: var(--g900); color: #fff; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.empty { color: var(--muted); }

/* お問い合わせフォーム（送ったあとのお知らせが、スマホの頭に隠れないように） */
.contact-form { scroll-margin-top: 16px; }
@media (max-width: 900px) { .contact-form { scroll-margin-top: 88px; } }
.form-notice { padding: 16px 18px; border-radius: 12px; font-weight: 700; line-height: 1.7; }
.form-notice.is-ok { background: var(--g100); color: var(--g900); border: 1px solid var(--g200); }
.form-notice.is-error { background: #fdecea; color: #8a1c13; border: 1px solid #f3c2bc; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.contact-form button[disabled] { opacity: .7; cursor: wait; }

/* 検索に出さない設定のときのお知らせ（管理者にだけ出る） */
.preview-banner a { color: inherit; font-weight: 700; margin-left: 6px; }

/* 管理バー（ログインしているとき）とスマホの上の帯が重ならないように */
@media (min-width: 783px) and (max-width: 900px) { .admin-bar .site-header { top: 32px; } }
@media (min-width: 601px) and (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
