@charset "utf-8";

/* =========================================================
   ベーススタイル (サステナビリティ専用)
   - タイポグラフィ、セクションレイアウト、汎用要素
   ========================================================= */

body.ui-renew {
    min-width: 360px;
}

.ui-renew h2 {
    font-family: "Yu Mincho", "YuMincho", "Noto Serif JP", serif;
    font-size: 1.8rem;
    line-height: normal;
    font-weight: 700;
}

.ui-renew h2.sectionTitle {
    display: flex;
    flex-direction: column;
}

.ui-renew h2.sectionTitle .sectionTitle__sub {
    font-size: 1.5rem;    
}

.ui-renew p {
    font-family: "Noto Sans JP", sans-serif;
    font-size: 1.6rem;
    line-height: 150%;
    font-weight: 300;
    margin: 0;
}

body.ui-renew a.c-textLink {
    display: inline-block;
    color: #1f4aa8;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 1.6rem;
    line-height: 1.6;
    font-weight: 400;
    text-decoration: underline;
    text-underline-offset: 0.14em;
    text-decoration-thickness: 1px;
}

body.ui-renew a.c-textLink:hover {
    color: #2a5fcf;
}

body.ui-renew a.c-textLink:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}

body.ui-renew .c-inlineBrand {
    display: inline;
    white-space: normal;
    overflow-wrap: anywhere;
    margin-inline: 0.175em;
}

/* 簡易記法: <span class="c-inlineBrand c-inlineBrand--kc|c-inlineBrand--nisseikyo">商品名</span> */
body.ui-renew .c-inlineBrand--kc::before,
body.ui-renew .c-inlineBrand--nisseikyo::before {
    content: "";
    display: inline-block;
    width: var(--inline-brand-logo-w, 1.6em);
    height: var(--inline-brand-logo-h, 0.9em);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    margin-right: 0.12em;
    transform: translateY(var(--inline-brand-logo-shift, -0.03em));
}

body.ui-renew .c-inlineBrand--kc {
    --inline-brand-logo-w: 1.82em;
    --inline-brand-logo-h: 0.84em;
    --inline-brand-logo-shift: 0.05em;
}

body.ui-renew .c-inlineBrand--kc::before {
    background-image: url("/sustainability/img/logo_KC_rgb.svg");
}

body.ui-renew .c-inlineBrand--nisseikyo {
    --inline-brand-logo-w: 1.57em;
    --inline-brand-logo-h: 0.9em;
    --inline-brand-logo-shift: 0.1em;
}

body.ui-renew .c-inlineBrand--nisseikyo::before {
    background-image: url("/sustainability/img/logo_nisseikyo.svg");
}

.ui-renew sub {
    font-size: 0.7em;
    line-height: 1;
}

.ui-renew section {
    --section-stack-gap: clamp(14px, 2.2vw, 22px);
    --section-heading-gap: clamp(8px, 1.4vw, 14px);
    --section-subsection-gap: clamp(24px, 4vw, 36px);

    padding: 30px 0;
    display: block;
    border-bottom: #333 solid 1px;
}

.ui-renew section > * {
    margin-block: 0;
}

.ui-renew section > * + * {
    margin-top: var(--section-stack-gap);
}

.ui-renew section > h2 + h2 {
    margin-top: var(--section-heading-gap);
}

.ui-renew section > h2:first-of-type {
    margin-top: 0;
}

.ui-renew section > h2 + :is(p, ul, ol, table, .c-statGrid, .c-statPair, .c-storeTableLayout, .image-horizontal, .image-regular, .image-full, .c-accordionList, .c-reportPromo, .c-bannerLink, .c-definition, iframe.youtube-16-9) {
    margin-top: var(--section-heading-gap);
}

.ui-renew section > h2 + a.c-textLink {
    margin-top: clamp(12px, 1.8vw, 20px);
}

.ui-renew section > p + .c-sdgIconGrid {
    margin-top: clamp(16px, 2.6vw, 28px);
}

.ui-renew section > :not(h2) + h2 {
    margin-top: var(--section-subsection-gap);
}

@media (min-width: 800px) {
    .ui-renew section {
        --section-stack-gap: clamp(16px, 1.8vw, 26px);
        --section-heading-gap: clamp(10px, 1.2vw, 16px);
        --section-subsection-gap: clamp(34px, 4.2vw, 56px);
    }

    .ui-renew section > :is(.c-statGrid, .c-statPair) + h2 {
        margin-top: clamp(42px, 5vw, 68px);
    }
}

.ui-renew section:last-child {
    border-bottom: none;
}

/* section 内の汎用リスト */
.ui-renew section ul {
    margin: 0;
    padding-left: 1.4em;
    list-style: disc;
}

.ui-renew section ul li {
    font-size: 1.6rem;
    line-height: 1.6;
    font-weight: 300;
    margin-top: 8px;
}

.ui-renew section ul li:first-child {
    margin-top: 0;
}

.ui-renew .image-full img {
    display: block;
    width: 100%;
}

.ui-renew .image-regular img {
    display: block;
    width: 100%;
    max-width: 480px;
    margin: 16px auto;
}

.ui-renew .image-horizontal img {
    display: block;
    width: 100%;
    margin: 16px auto;
}

@media (min-width: 800px) {
    .ui-renew .image-regular img,
    .ui-renew .image-horizontal img {
        margin: 24px auto;
    }

    .ui-renew .image-leftPc img {
        margin-left: 0;
        margin-right: auto;
    }
}

.ui-renew iframe.youtube-16-9 {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    margin: 16px 0;
}
@media (min-width: 800px) {
    .ui-renew iframe.youtube-16-9 {
        margin: 24px 0;
    }
}

body.ui-renew .is-textRight {
    text-align: right;
}

body.ui-renew :is(.u-lineLoose, .lineloose) {
    line-height: 2.5;
    display: inline-block;
}

@media (max-width: 799px) {
    body.ui-renew :is(.u-lineTight, .linetight) {
        line-height: 1.5;
        display: inline-block;
    }
}

.u-pcBr {
    display: none;
}

@media (min-width: 800px) {
    .u-spBr {
        display: none;
    }

    .u-pcBr {
        display: inline;
    }
}
