/* 公開画面のスタイルは既存CSSを使用。WPが追加するラッパーだけを透過する。 */
body { margin: 0; }
.wp-site-blocks { padding: 0; }
.wp-site-blocks > .wp-block-template-part, .wp-site-blocks > .wp-block-post-content { margin-block-start: 0; margin-block-end: 0; }
.wp-block-post-content, .wp-block-template-part { display: contents; }
/* 固定ヘッダー用の余白を、WordPress の本文先頭ブロックにも適用する。 */
.wp-block-post-content > .top-margin-space:first-child { margin-block-start: 70px; }
.wp-block-heading { font-family: inherit; }
.wpcf7 .wpcf7-form-control-wrap { display: contents; }
.wpcf7 form { margin: 0; }
.wpcf7 .wpcf7-list-item { margin: 0; }
.wpcf7 input.btn:disabled { opacity: 1; filter: none; }
.wpcf7 .wpcf7-spinner { margin: 0 12px; }
.wpcf7 .wpcf7-response-output { margin: 15px 0; }
/* Safariではテキスト入力用のappearanceでプルダウンの余白が失われる。 */
.wpcf7 .icon select[name="contact-type"] {
    -webkit-appearance: none;
    appearance: none;
    height: 42px;
    padding: 0 32px 0 42px;
    line-height: normal;
    background-image: linear-gradient(45deg, transparent 50%, #555 50%), linear-gradient(135deg, #555 50%, transparent 50%);
    background-position: right 19px center, right 14px center;
    background-size: 5px 5px;
    background-repeat: no-repeat;
}
.wpcf7 .wpcf7-form-control-wrap[data-name="contact-type"] + i { pointer-events: none; }
@media (forced-colors: active) {
    .wpcf7 .icon select[name="contact-type"] { appearance: auto; background-image: none; }
}
[data-twk-contact-form] .wpcf7.no-js [type="submit"] { display: none; }
.twk-confirmation { margin: 16px 0; }
.twk-confirmation dl { margin: 0 0 18px; }
.twk-confirmation dt { margin-top: 12px; }
.twk-confirmation dd { white-space: pre-wrap; overflow-wrap: anywhere; }
.twk-confirmation .btn + .btn { margin-left: 12px; }
.twk-confirmation .twk-form-fields, .twk-confirmation [hidden] { display: none; }
.twk-confirmation .btn[aria-disabled="true"] { pointer-events: none; opacity: .65; }
body.admin-bar .navbar-fixed-top { top: 32px; }
@media(max-width:782px) { body.admin-bar .navbar-fixed-top { top: 46px; } }
@media(max-width:600px) { body.admin-bar .navbar-fixed-top { top: 0; } }
/* 標準の段落・表ブロックを追加した場合も既存の書体を引き継ぐ。 */
.wp-block-table table { font-size: inherit; }
.wp-block-image img { height: auto; }
.single-post #news_contents { margin: 0 0 10px; }
.modal { z-index: 10001; }
.modal-backdrop { z-index: 10000; }
