/*
Theme Name: サンチェス工業ver3
Version: 1.0.0
Requires at least: 6.4
Tested up to: 7.1
Requires PHP: 7.4
License: GPL-2.0-or-later
*/
/* Page and template styles are in styles/. */
.wp-block-post-template,.wp-block-post-template>li{display:contents}
.wp-block-navigation__container:not(.block-editor-block-list__layout),.wp-block-navigation-item:not(.has-child):not(.block-editor-block-list__block){display:contents}
/* 画面の狭いときに開く形をとる箱。開いていないあいだは場所だけを保ち、
   ページがメニューに書いた並べ方が中のリンクまで届くようにする。 */
.wp-block-navigation__responsive-container:not(.is-menu-open):not(.hidden-by-default),.wp-block-navigation__responsive-container:not(.is-menu-open):not(.hidden-by-default) :is(.wp-block-navigation__responsive-close,.wp-block-navigation__responsive-dialog,.wp-block-navigation__responsive-container-content){display:contents}
:where(figure:not([class*=wp-block-]),figure.wp-block-group){margin:revert}
figure.wp-block-image,figure.wp-block-post-featured-image{margin:0}
figure.wp-block-image>a{display:block;height:100%}
figure.wp-block-image>img,figure.wp-block-image>a>img,figure.wp-block-post-featured-image>img{display:block;width:100%;height:100%;border-radius:inherit;object-fit:inherit;object-position:inherit}
:where(img.wp-block-rafuru-content-field){height:auto}
:where(figure.wp-block-table,figure.wp-block-rafuru-collection-table){margin:0}
:where(figure.wp-block-table,figure.wp-block-rafuru-collection-table)>table{border-collapse:inherit;border-spacing:inherit}
:where(.wp-block-table,.wp-block-rafuru-collection-table) :where(td,th){border:0}
:where(.wp-block-post-content,.wp-block-post-excerpt)>:first-child{margin-block-start:0}
:where(.wp-block-post-content,.wp-block-post-excerpt)>:last-child{margin-block-end:0}
:where(:is(dt,dd,li,td,th,figcaption,summary)>.wp-block-rafuru-content-field:only-child){margin-block:0}
:where(.rf-tag-span,.rf-tag-strong,.rf-tag-b,.rf-tag-em,.rf-tag-i,.rf-tag-u,.rf-tag-s,.rf-tag-small,.rf-tag-mark,.rf-tag-abbr,.rf-tag-time,.rf-tag-sub,.rf-tag-sup,.rf-tag-code,.rf-tag-q,.rf-tag-cite,.rf-tag-del,.rf-tag-ins){display:inline;margin:0}
/* 太字・小さめの文字といった、そのタグに browser が元から与えている見た目。
   タグが変わっても読み手には同じに見えるように書いておく。ページ側の指定が常に優先される。 */
:where(.rf-tag-strong,.rf-tag-b){font-weight:bolder}
:where(.rf-tag-em,.rf-tag-i,.rf-tag-cite){font-style:italic}
:where(.rf-tag-small,.rf-tag-sub,.rf-tag-sup){font-size:smaller}
:where(.rf-tag-sub){vertical-align:sub}
:where(.rf-tag-sup){vertical-align:super}
:where(.rf-tag-u,.rf-tag-ins){text-decoration:underline}
:where(.rf-tag-s,.rf-tag-del){text-decoration:line-through}
:where(.rf-tag-abbr){text-decoration:underline dotted}
:where(.rf-tag-code){font-family:monospace}
:where(.rf-tag-mark){background-color:mark;color:marktext}
:where(.wp-block-button[class*=rf-wp-link-]:not(.block-editor-block-list__block)){display:contents}
:where(.rf-loose-text){margin:0}
/* リンクの中身がひと続きの文字だけのとき、ページが書いたとおり行の中に収まるようにする。 */
:where(.wp-block-rafuru-content-link)>:where(.rf-loose-text:only-child){display:inline}
:where(.wp-block-button__link){align-content:revert;background:revert;border:revert;border-radius:revert;box-shadow:revert;color:revert;display:revert;font:revert;height:revert;letter-spacing:revert;padding:revert;text-align:revert;text-decoration:revert;text-transform:revert;width:revert;word-break:revert}
