#content strong,
#content b {
    font-weight: 900; /* 太字 */
}
#content em,
#content i {
    font-style: italic; /* 斜体 */
}
#content strike,
#content del {
    text-decoration: line-through; /* 打消し線 */
}
#content u {
    text-decoration: underline; /* 下線 */
}

/* --- 4. 引用（Blockquote） --- */
#content blockquote {
    margin: 1.5em 0;
    padding: 1.0em 1.5em;
    background-color: #f9f9f9;
    border-left: 4px solid #cccccc;
    color: #555555;
    font-style: italic;
}
#content blockquote p:last-child {
    margin-bottom: 0;
}


/* --- 6. テキストの配置（左・中央・右） --- */
#content .alignleft {
    text-align: left;
}
#content .aligncenter {
    text-align: center;
    display: block;
    margin-left: auto;
    margin-right: auto;
}
#content .alignright {
    text-align: right;
}

/* --- 7. 画像の回り込み（メディア挿入時の配置） --- */
#content img.alignleft {
    float: left;
    margin: 0 1.5em 1.5em 0;
}
#content img.alignright {
    float: right;
    margin: 0 0 1.5em 1.5em;
}
#content img.aligncenter {
    display: block;
    margin: 1.5em auto;
}

/* --- 8. 水平線（意志決定の区切り） --- */
#content hr {
    border: 0;
    border-top: 1px solid #dddddd;
    margin: 2.0em 0;
    height: 1px;
}

/* --- 9. 背景色 / 文字色（インラインカスタムカラー用） --- */
/* クラシックエディタのカラーピッカーは直接インライン（style=""）で書き込まれるため、
   通常はCSS不要ですが、テーマ側で優先競合が起きている場合は以下が効きます */
span[style*="color"] {
    color: inherit; /* エディタ指定を優先させるための保険 */
}

/* 2. 中央揃え */
#content .aligncenter {
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-top: 1.5em !important;
    margin-bottom: 1.5em !important;
    float: none !important; /* 回り込みをリセット */
}

/* 3. 左寄せ（文章が右側に回り込む） */
#content .alignleft {
    float: left !important;
    margin-right: 1.5em !important;
    margin-bottom: 1.5em !important;
    margin-top: 0.5em !important;
}

/* 4. 右寄せ（文章が左側に回り込む） */
#content .alignright {
    float: right !important;
    margin-left: 1.5em !important;
    margin-bottom: 1.5em !important;
    margin-top: 0.5em !important;
}

/* 5. 配置なし（デフォルト） */
#content .alignnone {
    display: block !important;
    margin-top: 1.5em !important;
    margin-bottom: 1.5em !important;
}