/*
Theme Name: The7 Child (Cherry Nursery)
Theme URI: https://www.cherrynursery.jp/
Description: チェリー保育園 投稿エディタ正常化用 子テーマ。WPBakery / Ultimate VC Addons / X(Twitter)コピペCSSを投稿本文から自動除去し、Classic Editor + TinyMCEで Enter改行・見出し・フォントサイズが普通に使えるようにする。
Author: hpm:cherry-nursery
Template: dt-the7
Version: 1.0.0
Text Domain: dt-the7-child
*/

/* ===========================================
 * 子テーマ固有スタイル（最小限）
 * 親テーマ dt-the7 のスタイルは functions.php で継承
 * =========================================== */

/* 投稿本文（クリーンHTML化したもの）の整形 */
.single-post .entry-content > p,
.single-post .entry-content > h2,
.single-post .entry-content > h3,
.single-post .entry-content > h4,
.single-post .entry-content > ul,
.single-post .entry-content > ol {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.single-post .entry-content > p {
    line-height: 1.9;
    margin: 0 0 1.2em;
    color: #333;
}

.single-post .entry-content > h2 {
    font-size: 1.5em;
    font-weight: 700;
    color: #6a9a1f;
    margin: 2em 0 0.8em;
    padding: 0 0 0.4em;
    border-bottom: 2px solid #9bc53d;
    line-height: 1.5;
}

.single-post .entry-content > h3 {
    font-size: 1.25em;
    font-weight: 700;
    color: #333;
    margin: 1.6em 0 0.6em;
    padding-left: 0.7em;
    border-left: 4px solid #9bc53d;
    line-height: 1.5;
}

.single-post .entry-content > h4 {
    font-size: 1.1em;
    font-weight: 700;
    margin: 1.4em 0 0.5em;
    color: #444;
    line-height: 1.5;
}

/* X(Twitter) 残骸 span を念のため見えなくする保険 */
.single-post .entry-content span[class*="css-"][class*="r-"] {
    all: unset;
}
