@charset "UTF-8";

/* =========================================================
   News 詳細 本文（エディタ出力）スタイル
   ---------------------------------------------------------
   WordPress エディタは素の <p> <h2> <ul> <ol> を出力するため、
   元デザイン (_news_details.scss の専用クラス) と同じ見た目を
   .news_details_body 配下の素タグに当てる。

   ※ このファイルは functions.php で convex-style の後に読み込む。
   ※ 変数 (色/フォント) は style.css 側の定義に依存しないよう実値で指定。
========================================================= */

/* 本文ブロック間の余白（エディタの各ブロック＝段落・見出し・リスト間） */
.news_details_body > * {
    margin: 0;
}
.news_details_body > * + * {
    margin-top: 2.4rem;
}
/* 見出しの前は広めに空ける（先頭要素は除く） */
.news_details_body > * + h2,
.news_details_body > * + h3 {
    margin-top: 4rem;
}

/* 段落 (.news_details_body 相当: 14px / line-height 24) */
.news_details_body p {
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-weight: 400;
    font-size: 1.4rem;
    line-height: 2.4rem;
    color: #1a1a1a;
}

/* 小見出し (.news_details_block_heading 相当: 14px / 24)
   見出しの下のリスト/段落とは詰めて(gap 10)配置 */
.news_details_body h2,
.news_details_body h3 {
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-weight: 400;
    font-size: 1.4rem;
    line-height: 2.4rem;
    color: #1a1a1a;
}
.news_details_body h2 + *,
.news_details_body h3 + * {
    margin-top: 1rem;
}

/* 箇条書きリスト (.news_details_list 相当) */
.news_details_body ul {
    margin: 0;
    padding: 0 0 0 1.2em;
    list-style: disc;
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-weight: 400;
    font-size: 1.4rem;
    line-height: 2.4rem;
    color: #1a1a1a;
}
.news_details_body ul ul {
    margin: 0;
    padding: 0 0 0 1.4em;
    list-style: disc;
}
.news_details_body ul li {
    padding: 0;
}

/* 番号付きリスト (.news_details_ordered 相当: 1. → a. → i.) */
.news_details_body ol {
    margin: 0;
    padding: 0 0 0 1.4em;
    list-style: decimal;
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-weight: 400;
    font-size: 1.4rem;
    line-height: 2.4rem;
    color: #1a1a1a;
}
.news_details_body ol ol {
    margin: 0;
    padding: 0 0 0 1.4em;
    list-style: lower-alpha;
}
.news_details_body ol ol ol {
    list-style: lower-roman;
}
.news_details_body ol li {
    padding: 0;
}

/* リスト(ul/ol)のブロック間余白。
   上の .news_details_body ul/ol { margin:0 } は詳細度が高く
   汎用の「> * + *」余白を打ち消すため、同詳細度(0,1,1)の
   ルールをリセットより後ろに置いて余白を効かせる。 */
.news_details_body > * + ul,
.news_details_body > * + ol {
    margin-top: 2.4rem;
}
/* 直前が見出しのときは詰める(見出し直後の本文と同じ) */
.news_details_body h2 + ul,
.news_details_body h2 + ol,
.news_details_body h3 + ul,
.news_details_body h3 + ol {
    margin-top: 1rem;
}

/* リンク・強調などエディタ標準要素の最低限の体裁 */
.news_details_body a {
    color: inherit;
    text-decoration: underline;
}
.news_details_body strong {
    font-weight: 700;
}
.news_details_body img {
    max-width: 100%;
    height: auto;
}
