@charset "UTF-8";
/* 本文の番号付きリストは、olに指定された番号形式を使う。 */
#content .topic_content ol > li { list-style-type: inherit; }
/* 明示的に選択した番号なしリストとフォントも反映する。 */
#content .topic_content ul[style*="list-style-type"] > li { list-style-type: inherit; }
#content .topic_content [style*="font-family"] :where(*) { font-family: inherit; }

/* クラシックエディターの画像配置とキャプション。 */
#content img.alignleft, #content .wp-caption.alignleft {
    float: left; margin: .5em 1em .5em 0;
}
#content img.alignright, #content .wp-caption.alignright {
    float: right; margin: .5em 0 .5em 1em;
}
#content img.aligncenter, #content .wp-caption.aligncenter {
    display: table; float: none; margin: 10px auto; text-align: center;
}
#content .wp-caption { max-width: 100%; }
#content .wp-caption img { display: block; max-width: 100%; height: auto; }
/* WordPress images constrained by a table cell must retain their aspect ratio. */
#content .topic_content td img[class*="wp-image-"],
#content .topic_content th img[class*="wp-image-"] { max-width: 100%; height: auto; }
#content .wp-caption-text { margin: 8px 0 0; font-size: 14px; line-height: 1.5; text-align: center; color: #555; }
@media (max-width: 600px) {
    #content img:is(.alignleft, .alignright, .aligncenter),
    #content .wp-caption:is(.alignleft, .alignright, .aligncenter) {
        display: block; float: none; max-width: 100%; margin: 5px auto;
    }
}
