/* -----------------------------------------------------------------------
   本文エディタ（legacy #39）で書いた本文の見た目（REQ-035〜037）
   公開ページ（記事・講座・催し）と、管理画面のエディタの中で同じ見た目にする
   文字の種類はページのもの（サイトは Zen Old Mincho）を引き継ぐ
   ----------------------------------------------------------------------- */
.content-body { font-size: 1.0625rem; line-height: 2; color: inherit; overflow-wrap: anywhere; }
.content-body > :first-child { margin-top: 0; }
.content-body p { margin: 0 0 1em; }
.content-body h2 { font-size: 1.375rem; line-height: 1.5; font-weight: 700; margin: 1.6em 0 .6em; padding-bottom: .3em; border-bottom: 1px solid #e3e3e3; }
.content-body h3 { font-size: 1.125rem; line-height: 1.5; font-weight: 700; margin: 1.4em 0 .5em; }
.content-body a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.content-body ul, .content-body ol { padding-left: 1.5em; margin: 0 0 1em; }
.content-body li { margin: .2em 0; }
.content-body blockquote { margin: 1.2em 0; padding: .4em 1em; border-left: 3px solid currentColor; }
.content-body hr { border: 0; border-top: 1px solid #d9d9d9; margin: 2em 0; opacity: 1; }
/* 画像と YouTube は画面の幅に収める（REQ-037） */
.content-body img { display: block; max-width: 100%; height: auto; margin: 1.2em auto; border-radius: 3px; }
.content-body iframe.ql-video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border: 0; margin: 1.2em 0; }

/* 管理画面のエディタの中（Quill はリストを li[data-list] で持つ） */
.ce .content-body .ql-editor { line-height: 2; }
.ce .content-body .ql-editor li[data-list] { padding-left: 1.2em; }
.ce .ql-editor img { cursor: default; }
