/*

追加スタイル

過去の記事に影響が出ないようにarticle2.cssとして別のファイルに記載する。

*/

.kankyo-biz-article :where(.p-post__body) figure img {
    display: block;
    width: 558px;
    height: auto;
    margin-inline: auto;
}

/* pの冒頭でbタグがタイトルとして使われていたら */
:where(.kankyo-biz-article .p-content__common) p > b.h5 {
    color: inherit;
    display: inline-block;
    position: relative;
    padding-left: 1.25em;
    margin-bottom: .5em;
    margin-top: .75em;
}

:where(.kankyo-biz-article .p-content__common) p > b.h5::before {
    content: '';
    display: block;
    width: .7em;
    height: 3px;
    background: #db2b31;
    position: absolute;
    left: 0;
    top: 0.9em;
}

:where(.kankyo-biz-article .p-content__common) p > b.h5--decoration-none {
    color: inherit;
    display: inline-block;
    position: relative;
    padding-left: 0;
    margin-bottom: .5em;
    margin-top: .75em;
}

:where(.kankyo-biz-article .p-content__common) p > b.h5--decoration-none::before {
    content: none;
}

/* pの冒頭でstrongタグがタイトルとして使われていたら */
.kankyo-biz-article .p-content__common p > br + strong.customBold:has( + br) {
    display: inline-block;
    margin-top: 10px;
}

/* リスト */

.kankyo-biz-article .p-content__common ul,
.kankyo-biz-article .p-content__common ol {
    margin-bottom: 16px;
}

.kankyo-biz-article .p-content__common ul:not(.customListBulleted) li:not(:only-child) {
    list-style: disc;
    margin-left: 1.5em;
    margin-bottom: 8px;
}

/* .customListBulletedは今のところは「参考文献」についてるクラス。「参考文献」は「・」はつけない */

/* 以下のパターンの参考文献もあった、 */
.kankyo-biz-article .p-content__common .paywall > blockquote:last-child ul li {
    list-style: none;
    margin-left: 0;
    margin-bottom: 8px;
}

.kankyo-biz-article .p-content__common ol li:not(:only-child) {
    list-style: decimal;
    margin-left: 1.5em;
    margin-bottom: 8px;
}

.kankyo-biz-article .p-content__common ul li:last-child,
.kankyo-biz-article .p-content__common ol li:last-child {
    margin-bottom: 0;
}