@charset "UTF-8";
/* editor.css | WordPress 投稿本文・編集画面 */


/*///////////////////////////////////
クラシックエディター専用
///////////////////////////////////*/

body.mce-content-body {
    --c-green: #16a220;
    --c-base: #211714;

    max-width: 880px;
    margin: 20px auto;
    padding: 20px;
    box-sizing: content-box;
    background: #fff;
    color: var(--c-base);
    font-family: "Noto Sans JP", "Hiragino Kaku Gothic Pro", "メイリオ", sans-serif;
    font-size: 17px;
    line-height: 2;
    letter-spacing: 0.11em;
    text-align: justify;
}

body.mce-content-body *,
body.mce-content-body *::before,
body.mce-content-body *::after { box-sizing: border-box; }

body.mce-content-body p,
body.mce-content-body h2,
body.mce-content-body h3,
body.mce-content-body h4,
body.mce-content-body h5,
body.mce-content-body h6,
body.mce-content-body ul,
body.mce-content-body ol,
body.mce-content-body figure,
body.mce-content-body blockquote { margin: 0; }

body.mce-content-body img { vertical-align: bottom; }


/* 投稿本文 - WordPress */
:is(#news-post .news-post-content, body.mce-content-body) { line-height: 2; overflow-wrap: anywhere; }
:is(#news-post .news-post-content, body.mce-content-body)>*+* { margin-top: 1.5em; }
:is(#news-post .news-post-content, body.mce-content-body) p { line-height: 2; }
/* 見出し */
:is(#news-post .news-post-content, body.mce-content-body) h2,
:is(#news-post .news-post-content, body.mce-content-body) h3,
:is(#news-post .news-post-content, body.mce-content-body) h4,
:is(#news-post .news-post-content, body.mce-content-body) h5,
:is(#news-post .news-post-content, body.mce-content-body) h6 { margin-top: 2.5em; margin-bottom: 0.8em; font-weight: 700; line-height: 1.6; }
:is(#news-post .news-post-content, body.mce-content-body) h2 { padding-bottom: 0.5em; border-bottom: 2px solid var(--c-green); font-size: 1.5em; }
:is(#news-post .news-post-content, body.mce-content-body) h3 { padding-left: 0.75em; border-left: 4px solid var(--c-green); font-size: 1.25em; }
:is(#news-post .news-post-content, body.mce-content-body) h4 { font-size: 1.125em; }
:is(#news-post .news-post-content, body.mce-content-body) h5,
:is(#news-post .news-post-content, body.mce-content-body) h6 { font-size: 1em; }
/* リスト */
:is(#news-post .news-post-content, body.mce-content-body) ul, :is(#news-post .news-post-content, body.mce-content-body) ol { padding-left: 1.5em; }
:is(#news-post .news-post-content, body.mce-content-body) ul { list-style: disc; }
:is(#news-post .news-post-content, body.mce-content-body) ol { list-style: decimal; }
:is(#news-post .news-post-content, body.mce-content-body) li { display: list-item; margin-top: 0.4em; }
:is(#news-post .news-post-content, body.mce-content-body) li>ul, :is(#news-post .news-post-content, body.mce-content-body) li>ol { margin-top: 0.5em; }
/* テキストリンク */
:is(#news-post .news-post-content, body.mce-content-body) p a,
:is(#news-post .news-post-content, body.mce-content-body) li a { color: var(--c-green); text-decoration: underline; text-underline-offset: 0.2em; }
@media (hover: hover){
    :is(#news-post .news-post-content, body.mce-content-body) p a:hover,
    :is(#news-post .news-post-content, body.mce-content-body) li a:hover { text-decoration: none; }
}
/* 文字装飾 */
:is(#news-post .news-post-content, body.mce-content-body) strong, :is(#news-post .news-post-content, body.mce-content-body) b { font-weight: 700; }
:is(#news-post .news-post-content, body.mce-content-body) em { font-style: italic; }
/* ブロックエディター画像 */
:is(#news-post .news-post-content, body.mce-content-body) .wp-block-image { margin-top: clamp(30px, 4vw, 70px); }
:is(#news-post .news-post-content, body.mce-content-body) figcaption { margin-top: 0.75em; color: #666; font-size: 0.85em; line-height: 1.6; text-align: center; }
/* 引用 */
:is(#news-post .news-post-content, body.mce-content-body) blockquote { padding: 1.5em; border-left: 4px solid var(--c-green); background-color: #f5f5f5; }
/* テーブル */
:is(#news-post .news-post-content, body.mce-content-body) .wp-block-table { overflow-x: auto; }
:is(#news-post .news-post-content, body.mce-content-body) table { width: 100%; border-collapse: collapse; }
:is(#news-post .news-post-content, body.mce-content-body) th,
:is(#news-post .news-post-content, body.mce-content-body) td { padding: 0.75em 1em; border: 1px solid #ddd; vertical-align: top; }
:is(#news-post .news-post-content, body.mce-content-body) th { background-color: #f5f5f5; font-weight: 700; }
/* 区切り線 */
:is(#news-post .news-post-content, body.mce-content-body) hr { height: 0; margin: 2.5em auto; border: 0; border-top: 1px solid #ddd; }
/* 先頭・末尾の余白調整 */
:is(#news-post .news-post-content, body.mce-content-body)>:first-child { margin-top: 0; }
:is(#news-post .news-post-content, body.mce-content-body)>:last-child { margin-bottom: 0; }



/*///////////////////////////////////
クラシックエディター生成HTML
///////////////////////////////////*/

/* 画像 */
:is(#news-post .news-post-content, body.mce-content-body) img { max-width: 100%; height: auto; border-radius: 14px; }

/* 画像配置 */
:is(#news-post .news-post-content, body.mce-content-body) .alignnone { display: block; }
:is(#news-post .news-post-content, body.mce-content-body) .aligncenter { display: block; margin-left: auto; margin-right: auto; }
:is(#news-post .news-post-content, body.mce-content-body) .alignleft { float: left; margin: 0.5em 1.5em 1em 0; }
:is(#news-post .news-post-content, body.mce-content-body) .alignright { float: right; margin: 0.5em 0 1em 1.5em; }

/* 回り込み解除 */
:is(#news-post .news-post-content, body.mce-content-body)::after { content: ""; display: block; clear: both; }

/* キャプション */
:is(#news-post .news-post-content, body.mce-content-body) .wp-caption { max-width: 100%; }
:is(#news-post .news-post-content, body.mce-content-body) .wp-caption img { display: block; margin-inline: auto; }
:is(#news-post .news-post-content, body.mce-content-body) .wp-caption-text { margin-top: 0.75em; color: #666; font-size: 0.85em; line-height: 1.6; text-align: center; }

/* テーブル */
:is(#news-post .news-post-content, body.mce-content-body) table { max-width: 100%; }
:is(#news-post .news-post-content, body.mce-content-body) th, :is(#news-post .news-post-content, body.mce-content-body) td { overflow-wrap: anywhere; }


/* スマートフォン */
@media screen and (max-width: 767px){
	:is(#news-post .news-post-content, body.mce-content-body) .alignleft, :is(#news-post .news-post-content, body.mce-content-body) .alignright { display: block; float: none; margin: 1.5em auto; }
	:is(#news-post .news-post-content, body.mce-content-body) table { display: block; overflow-x: auto; }
	:is(#news-post .news-post-content, body.mce-content-body) th, :is(#news-post .news-post-content, body.mce-content-body) td { padding: 0.5em 0.75em; }
}