/* =========================================================
   ボックスリンク (c-boxLink)
   バリエーション: --white / --blue / --gray / --media / --numbered
   ========================================================= */

body.ui-renew .c-boxLink {
    --bl-bg: #fff;
    --bl-fg: #111;
    --bl-hover-bg: rgba(0, 0, 0, 0.03);
    --bl-gap: 10px;
    --bl-pad-h: 12px;
    --bl-media-w: 120px;
    --bl-icon-size: 24px;
    --bl-height: 60px;

    display: grid;
    grid-template-columns: 1fr auto;
    gap: var(--bl-gap);
    align-items: center;

    padding: 0 var(--bl-pad-h);
    min-height: var(--bl-height);

    background: var(--bl-bg);
    color: var(--bl-fg);
    text-decoration: none;

    transition: background-color 150ms ease, border-color 150ms ease, transform 150ms ease;
}

body.ui-renew .c-boxLink:hover {
    background: var(--bl-hover-bg);
    box-shadow: none;
}

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

/* ---- トーン ---- */
body.ui-renew .c-boxLink--white {
    --bl-bg: #fff;
    --bl-fg: #333;
    --bl-icon: #8b8b8b;
    --bl-hover-bg: #f2f2f2;
}

body.ui-renew .c-boxLink--gray {
    --bl-bg: #f4f4f4;
    --bl-fg: #333;
    --bl-icon: #8b8b8b;
    --bl-hover-bg: #f2f2f2;
}

body.ui-renew .c-boxLink--blue {
    --bl-bg: #4C97AE;
    --bl-fg: #fff;
    --bl-icon: #fff;
    --bl-hover-bg: #91C0CE;
}

/* ---- メディアレイアウト ---- */
body.ui-renew .c-boxLink--media {
    --bl-bg: #fff;
    --bl-fg: #333;
    grid-template-columns: 2fr 3fr;
    gap: 0;
    padding: 0;
    min-height: var(--bl-height);
}

body.ui-renew .c-boxLink--media .c-boxLink__media {
    width: 100%;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    background: #fff;
}

body.ui-renew .c-boxLink--media .c-boxLink__img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

body.ui-renew .c-boxLink--media .c-boxLink__body {
    padding: 0 max(10px, 2.5vw);
    display: flex;
    align-items: center;
    min-width: 0;
}

body.ui-renew .c-boxLink--media .c-boxLink__title {
    position: relative;
    top: -1px;

    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;

    overflow: hidden;
    line-height: 1.35;
    max-height: none;
}

body.ui-renew .c-boxLink--media .c-boxLink__icon {
    display: none;
}

/* ---- ナンバー付き ---- */
body.ui-renew .c-boxLink--numbered .c-boxLink__body {
    display: block;
}

body.ui-renew .c-boxLink--numbered .c-boxLink__title {
    display: flex;
    white-space: normal;
    font-family: "Yu Mincho", "YuMincho", "Noto Serif JP", serif;
    font-weight: 500;
}

body.ui-renew .c-boxLink__number {
    font-family: "Yu Mincho", "YuMincho", "Noto Serif JP", serif;
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    line-height: 1.2;
}

/* ---- テキスト ---- */
body.ui-renew .c-boxLink__body {
    min-width: 0;
    display: flex;
    align-items: center;
}

body.ui-renew .c-boxLink__title {
    display: block;
    font-size: 1.6rem;
    line-height: 1.5;
    font-weight: 400;
    font-family: "Noto Sans JP", sans-serif;
    letter-spacing: 0;
    margin: 0;
    position: relative;
    top: -1px;
    white-space: pre-line;
    max-height: var(--bl-height);
}

/* ---- 矢印アイコン（装飾） ---- */
body.ui-renew .c-boxLink__icon {
    color: var(--bl-icon);
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: var(--bl-icon-size);
    height: var(--bl-icon-size);

    font-size: var(--bl-icon-size);
    line-height: 1;

    opacity: 0.95;

    text-transform: none;
    letter-spacing: normal;
    white-space: nowrap;
}

/* ---- レスポンシブ調整 ---- */
@media (max-width: 799px) {
    body.ui-renew .c-boxLink:not(.c-boxLink--media) {
        width: 300px;
        max-width: 100%;
        margin-right: auto;
        margin-left: 0;
    }
}

@media (min-width: 800px) {
    body.ui-renew .c-boxLink {
        --bl-pad-h: 16px;
        --bl-gap: 14px;
        --bl-media-w: 140px;
    }

    body.ui-renew .c-boxLink__title {
        font-size: 17px;
    }

    body.ui-renew .c-boxLink--media {
        grid-template-columns: var(--bl-media-w) 1fr;
    }

    body.ui-renew .c-boxLink:not(.c-boxLink--media) {
        width: 340px;
        max-width: 100%;
        margin-right: auto;
        margin-left: 0;
    }
}

@media (hover: none) {
    body.ui-renew .c-boxLink:hover {
        background: var(--bl-bg);
        box-shadow: none;
    }
}

/* ---- ボックスリンクリスト (タイルラッパー) ---- */
body.ui-renew .c-boxLinkList {
    --c-boxLink-tile-overlay: linear-gradient(transparent, rgba(0, 0, 0, 0.5));
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* SP中間（480px〜799px）: オーバーレイタイル共通 */
@media (min-width: 480px) and (max-width: 799px) {
    body.ui-renew .c-boxLinkList:has(.c-boxLink--media) {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    body.ui-renew .c-boxLinkList .c-boxLink--media {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr;
        min-height: 0;
    }
    body.ui-renew .c-boxLinkList .c-boxLink--media .c-boxLink__media {
        grid-area: 1 / 1;
        aspect-ratio: 4 / 3;
    }
    body.ui-renew .c-boxLinkList .c-boxLink--media .c-boxLink__body {
        grid-area: 1 / 1;
        align-self: end;
        z-index: 1;
        background: var(--c-boxLink-tile-overlay);
        padding: 24px 14px 12px;
    }
    body.ui-renew .c-boxLinkList .c-boxLink--media .c-boxLink__title {
        color: #fff;
        -webkit-line-clamp: 2;
    }
}

/* SP広め（600px〜799px）: 3列に切り替え */
@media (min-width: 600px) and (max-width: 799px) {
    body.ui-renew .c-boxLinkList:has(.c-boxLink--media) {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 800px) {
    /* 画像ありタイルのみグリッド化（arrow-link等は縦積みのまま） */
    body.ui-renew .c-boxLinkList:has(.c-boxLink--media) {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }

    /* タイル内メディアカード: テキストオーバーレイ */
    body.ui-renew .c-boxLinkList .c-boxLink--media {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr;
        min-height: 0;
    }

    body.ui-renew .c-boxLinkList .c-boxLink--media .c-boxLink__media {
        grid-area: 1 / 1;
        aspect-ratio: 4 / 3;
    }

    body.ui-renew .c-boxLinkList .c-boxLink--media .c-boxLink__img {
        transition: opacity 150ms ease;
    }

    body.ui-renew .c-boxLinkList .c-boxLink--media .c-boxLink__body {
        grid-area: 1 / 1;
        align-self: end;
        z-index: 1;
        background: var(--c-boxLink-tile-overlay);
        padding: 24px 14px 12px;
    }

    body.ui-renew .c-boxLinkList .c-boxLink--media .c-boxLink__title {
        color: #fff;
        -webkit-line-clamp: 2;
    }
}

@media (min-width: 800px) and (hover: hover) and (pointer: fine) {
    body.ui-renew .c-boxLinkList .c-boxLink--media:hover {
        box-shadow: none;
    }

    body.ui-renew .c-boxLinkList .c-boxLink--media:hover .c-boxLink__img {
        opacity: 0.82;
    }
}

@media (min-width: 800px) {
    body.ui-renew .c-boxLinkList .c-boxLink--media:focus-visible .c-boxLink__img {
        opacity: 0.82;
    }
}

/* ---- numbered-link: タイル列数に合わせた画像幅 ---- */

/* 480–599px: タイル2列 → 画像右端を左タイル右端に揃える */
@media (min-width: 480px) and (max-width: 599px) {
    body.ui-renew .c-boxLink--numbered {
        grid-template-columns: calc(50% - 4px) 1fr;
    }
}

/* 600px+: タイル3列 → 画像50% */
@media (min-width: 600px) {
    body.ui-renew .c-boxLink--numbered {
        grid-template-columns: 50% 1fr;
    }
}

/* ---- numbered-link バリアント B: タイル1枚幅 ---- */
/* 600–799px: 3列 gap 8px → (100% - 16px) / 3 */
@media (min-width: 600px) and (max-width: 799px) {
    body.ui-renew .c-boxLink--tileW {
        grid-template-columns: calc((100% - 16px) / 3) 1fr;
    }
}
/* 800px+: 3列 gap 16px → (100% - 32px) / 3 */
@media (min-width: 800px) {
    body.ui-renew .c-boxLink--tileW {
        grid-template-columns: calc((100% - 32px) / 3) 1fr;
    }
}

/* 800px+: 高さ・フォント等の追加スタイリング */
@media (min-width: 800px) {
    body.ui-renew .c-boxLink--numbered {
        min-height: 160px;
    }

    body.ui-renew .c-boxLink--numbered .c-boxLink__media {
        aspect-ratio: 4 / 3;
    }

    body.ui-renew .c-boxLink--numbered .c-boxLink__body {
        padding: 20px 24px;
    }

    body.ui-renew .c-boxLink--numbered .c-boxLink__title {
        font-size: 18px;
        line-height: 1.6;
    }

    body.ui-renew .c-boxLink--numbered .c-boxLink__number {
        font-size: 2.4rem;
    }
}


/* =========================================================
   SDGsアイコングリッド (c-sdgIconGrid)
   ========================================================= */

body.ui-renew .c-sdgIconGrid {
    --sdg-size: clamp(56px, 12vw, 120px);
    --sdg-gap: 8px;

    display: grid;
    grid-template-columns: repeat(auto-fit, var(--sdg-size));
    max-width: min(100%, calc(5 * var(--sdg-size) + 4 * var(--sdg-gap)));
    gap: var(--sdg-gap);
    justify-content: center;
    margin: 0 auto;
}

body.ui-renew .c-sdgIconGrid__item {
    width: var(--sdg-size);
    height: var(--sdg-size);
    display: block;
}

body.ui-renew .c-sdgIconGrid__img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

/* 横長アイコン（2枠幅） */
body.ui-renew .c-sdgIconGrid--double {
    --sdg-wide-size: calc(var(--sdg-size) * 2 + var(--sdg-gap));
    grid-template-columns: repeat(auto-fit, var(--sdg-wide-size));
}

body.ui-renew .c-sdgIconGrid--double .c-sdgIconGrid__item {
    width: var(--sdg-wide-size);
}

body.ui-renew #participating_schedule .c-sdgIconGrid {
    --sdg-size: clamp(64px, 14vw, 120px);
}


/* =========================================================
   統計テキスト (c-statText)
   title / row(opt1 + value + unit + opt2) / opt3 / opt5 / note
   ========================================================= */

body.ui-renew .c-statText {
    display: grid;
    margin: 8px 0 16px;
}

body.ui-renew .c-statText__sub {
    font-size: 0.7em;
    vertical-align: sub;
    line-height: 0;
}

body.ui-renew .c-statText__title {
    font-size: 1.4rem;
    line-height: 1.4;
    color: #5e99ae;
    font-weight: 400;
}

body.ui-renew .c-statText__row {
    display: flex;
    align-items: baseline;
    flex-wrap: nowrap;
    white-space: nowrap;
}

/* 数値 */
body.ui-renew .c-statText__value {
    font-size: 4rem;
    line-height: 1.0;
    font-weight: 700;
    color: #5e99ae;
}

/* 単位系（opt1 + unit 共通スタイル） */
body.ui-renew .c-statText__unitLike {
    font-size: 1.6rem;
    line-height: 1.2;
    font-weight: 700;
    color: #5e99ae;
}

/* opt2（注釈） */
body.ui-renew .c-statText__opt2 {
    margin-left: 0.45em;
    font-size: 1.2rem;
    line-height: 1.4;
    font-weight: 300;
    color: #5e99ae;
}

/* opt3 / opt5（メイン数値の下注釈） */
body.ui-renew :is(.c-statText__opt3, .c-statText__opt5) {
    margin-top: 8px;
    font-size: 1.2rem;
    line-height: 1.4;
    font-weight: 300;
    color: #5e99ae;
}

/* note（注記）: mark + body の2カラム */
body.ui-renew .c-statText__note {
    margin-top: 16px;
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 0.35em;
    align-items: start;
    font-size: 1.2rem;
    line-height: 1.4;
    font-weight: 300;
    color: #5e99ae;
}

body.ui-renew .c-statText__note--plain {
    grid-template-columns: 1fr;
}

body.ui-renew .c-statText__noteMark {
    white-space: nowrap;
}

body.ui-renew .c-statText__noteBody {
    min-width: 0;
}

/* =========================================================
   統計グリッド (c-statGrid)
   ========================================================= */

body.ui-renew .c-statGrid {
    --sg-gap: 16px;
    --sg-min: 160px;

    display: grid;
    align-content: start;
    gap: var(--sg-gap);
    grid-template-columns: 1fr;
    width: fit-content;
}

/* section 共通stackより、単体statGridの上余白は少し詰める */
body.ui-renew section > h2 + .c-statGrid,
body.ui-renew section > :not(h2) + .c-statGrid {
    margin-top: 8px;
}

@media (min-width: 800px) {
    body.ui-renew .c-statGrid {
        grid-template-columns: repeat(auto-fit, minmax(var(--sg-min), 1fr));
    }
}

/* =========================================================
   統計ペア (c-statPair)
   ========================================================= */
body.ui-renew .c-statPair {
    --sp-gap: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-gap);
    align-items: flex-start;
}

body.ui-renew .c-statPair>.c-statGrid {
    flex: 0 1 auto;
    width: fit-content;
    min-width: 100%;
}

body.ui-renew .c-statPair>.c-statGrid,
body.ui-renew .c-statText {
    min-width: 0;
}

/* 単独注記（footnote準拠） */
body.ui-renew .c-statPairFootnote {
    margin: 12px 0 0;
    font-size: 1.4rem;
    line-height: 1.5;
    color: #5e99ae;
}

body.ui-renew #recycling_results .c-statPair {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--sp-gap);
}

body.ui-renew #recycling_results .c-statPair>.c-statGrid {
    width: 100%;
    min-width: 0;
}

@media (min-width: 600px) {
    body.ui-renew #recycling_results .c-statPair {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: start;
    }
}

/* =========================================================
   統計 + 右画像 (c-statGridWithImage)
   ========================================================= */
body.ui-renew .c-statGridWithImage {
    --sgi-gap: 8px;
    --sgi-media-w: clamp(144px, 32vw, 268px);
    --sgi-max: 520px;
    --sgi-stat-w: 248px;
    display: grid;
    grid-template-columns:
        min(var(--sgi-stat-w), calc(100% - var(--sgi-media-w) - var(--sgi-gap)))
        var(--sgi-media-w);
    column-gap: var(--sgi-gap);
    align-items: stretch;
    justify-content: start;
    width: min(100%, var(--sgi-max));
    margin-inline: 0;
}

body.ui-renew #recycling_results .c-statGridWithImage + .c-statGridWithImage {
    margin-top: 32px;
}

body.ui-renew #recycling_results > p + .c-statGridWithImage {
    margin-top: 32px;
}

body.ui-renew .c-statGridWithImage > .c-statGrid {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
    width: 100%;
}

body.ui-renew .c-statGridWithImage--noMedia::after {
    content: "";
    grid-column: 2;
    grid-row: 1;
    display: block;
    width: var(--sgi-media-w);
    min-width: 0;
}

body.ui-renew .c-statGridWithImage .c-statText {
    margin-top: 0;
    margin-bottom: 0;
}

body.ui-renew .c-statGridWithImage__media {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    align-self: stretch;
    align-items: stretch;
    justify-content: center;
    width: var(--sgi-media-w);
    min-width: 0;
}

body.ui-renew .c-statGridWithImage__img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center top;
}

/* 統計注記リスト（下部一括 / 各項目直後の両対応） */
body.ui-renew .c-statGridFootnotes {
    width: min(100%, var(--statFootnotes-max, var(--sgi-max, 520px)));
    margin: 40px 0 0;
    box-sizing: border-box;
}

body.ui-renew .c-statGridFootnotes__item {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 0.35em;
    align-items: start;
    margin: 0;
    font-size: 1.2rem;
    line-height: 1.4;
    color: #5e99ae;
}

body.ui-renew .c-statGridFootnotes__item--plain {
    grid-template-columns: 1fr;
}

body.ui-renew .c-statGridFootnotes__mark {
    white-space: nowrap;
}

body.ui-renew .c-statGridFootnotes__body {
    min-width: 0;
}

body.ui-renew .c-statGridFootnotes__item + .c-statGridFootnotes__item {
    margin-top: 4px;
}

/* 各 stat の直後に置くインライン配置 */
body.ui-renew .c-statGridFootnotes--inline {
    margin: 8px 0 0;
}

body.ui-renew .c-statGridFootnotes--inline + .c-statGridWithImage {
    margin-top: 32px;
}

@media (max-width: 799px) {
    body.ui-renew .c-statGridWithImage {
        --sgi-stat-w: 150px;
    }
}

@media (max-width: 599px) {
    body.ui-renew .c-statGridWithImage {
        --sgi-gap: 8px;
        --sgi-media-w: clamp(132px, 44vw, 206px);
    }
}

@media (min-width: 340px) and (max-width: 420px) {
    body.ui-renew .c-statGridWithImage {
        --sgi-stat-w: 160px;
        --sgi-media-w: clamp(124px, 40vw, 178px);
    }
}


/* =========================================================
   テーブル (c-table)
   バリエーション: --ok / --ng / --areas
   ========================================================= */

body.ui-renew .c-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 1.6rem;
    line-height: 1.5;
    font-weight: 300;
}

/* セル */
body.ui-renew .c-table th {
    padding-left: 5px;
}

body.ui-renew .c-table td {
    padding: 0 5px 4px;
    vertical-align: top;
}

body.ui-renew .c-table--ok tbody tr:first-child td,
body.ui-renew .c-table--ng tbody tr:first-child td {
    padding-top: 10px;
}

body.ui-renew .c-table--ok tbody tr:last-child td,
body.ui-renew .c-table--ng tbody tr:last-child td {
    padding-bottom: 10px;
}


/* ---- OK表 ---- */
body.ui-renew .c-table--ok thead th {
    background: #1A7FE8;
    color: #fff;
    font-weight: 700;
}

body.ui-renew .c-table--ok tbody td {
    background: rgba(26, 127, 232, 0.12);
}

/* ---- NG表 ---- */
body.ui-renew .c-table--ng thead th {
    background: #D5756B;
    color: #fff;
    font-weight: 700;
}

body.ui-renew .c-table--ng tbody td {
    background: rgba(213, 117, 107, 0.30);
}

/* ---- エリア表（ヘッダなし、ゼブラ） ---- */
body.ui-renew .c-table--areas tbody tr td {
    padding: 8px 8px;
}

body.ui-renew .c-table--areas tbody tr:nth-child(odd) td {
    background: #f4f4f4;
}

body.ui-renew .c-table--areas tbody tr:nth-child(even) td {
    background: #fff;
}

/* エリア表: 1列目リンク */
body.ui-renew .c-table--areas tbody td:first-child {
    white-space: nowrap;
    font-weight: 700;
}

body.ui-renew .c-table__link {
    color: #333399;
    text-decoration: none;
    font-size: 1.5rem;
}

body.ui-renew .c-table--areas tbody td {
    font-size: 1.5rem;
    padding-left: 5px;
    padding-right: 5px;
}

body.ui-renew .c-table--areas tbody td:first-child {
    padding-right: 0;
}

body.ui-renew .c-table--areas tbody td:last-child {
    padding-left: 16px;
}

@media (min-width: 800px) {
    body.ui-renew .c-table--areas {
        width: fit-content;
        max-width: 100%;
        margin-right: auto;
    }

    body.ui-renew .c-table--areas tbody td {
        padding-left: 12px;
        padding-right: 12px;
    }

    body.ui-renew .c-table--areas tbody td:first-child {
        padding-left: 16px;
        padding-right: 14px;
        width: auto;
    }

    body.ui-renew .c-table--areas tbody td:last-child {
        padding-left: 14px;
        padding-right: 16px;
    }
}

/* ---- 開催店舗: 表 + 右カラム（fooddrive） ---- */
body.ui-renew .c-storeTableLayout {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

body.ui-renew .c-storeTableLayout__side {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 720px;
}

body.ui-renew .c-storeTableLayout__side .image-regular,
body.ui-renew .c-storeTableLayout__side .image-horizontal {
    margin: 0;
}

body.ui-renew .c-storeTableLayout__side .image-regular img,
body.ui-renew .c-storeTableLayout__side .image-horizontal img {
    width: 100%;
    max-width: 100%;
    margin: 0;
}

body.ui-renew .c-storeTableLayout__side p {
    margin: 0;
}

body.ui-renew .c-storeTableLayout .c-storeTable {
    width: auto;
    max-width: none;
}

@media (min-width: 900px) {
    body.ui-renew .c-storeTableLayout {
        display: grid;
        grid-template-columns: minmax(0, max-content) minmax(220px, 360px);
        align-items: start;
        column-gap: 24px;
        row-gap: 0;
    }

    body.ui-renew .c-storeTableLayout .c-storeTable {
        min-width: 0;
        margin-right: 0;
    }

}

@media (max-width: 899px) {
    body.ui-renew .c-storeTableLayout .c-storeTable {
        width: 100%;
        max-width: 720px;
    }

    body.ui-renew .c-storeTableLayout .c-storeTable.c-table--areas tbody td:first-child {
        padding-left: clamp(6px, 1.8vw, 14px);
        padding-right: clamp(4px, 1.2vw, 10px);
    }

    body.ui-renew .c-storeTableLayout .c-storeTable.c-table--areas tbody td:last-child {
        padding-left: clamp(6px, 1.6vw, 12px);
        padding-right: clamp(10px, 2.8vw, 20px);
    }
}

@media (max-width: 420px) {
    body.ui-renew .c-storeTableLayout .c-storeTable.c-table--areas tbody td:first-child {
        padding-left: 4px;
        padding-right: 2px;
    }

    body.ui-renew .c-storeTableLayout .c-storeTable.c-table--areas tbody td:last-child {
        padding-left: 4px;
        padding-right: 6px;
    }
}

body.ui-renew .c-table--areas td.c-storeHours {
    white-space: nowrap;
}

body.ui-renew .c-storeHours__range {
    --store-hours-gap: 0.33em;
    --store-hours-open-w: 6em;
    display: inline-grid;
    grid-template-columns: var(--store-hours-open-w) max-content max-content;
    align-items: baseline;
    column-gap: var(--store-hours-gap);
    padding-inline: clamp(2px, 0.7vw, 8px);
    font-variant-numeric: tabular-nums;
}

body.ui-renew .c-storeHours__open,
body.ui-renew .c-storeHours__close {
    display: block;
}

body.ui-renew .c-storeHours__open {
    text-align: left;
}

body.ui-renew .c-storeHours__sep {
    text-align: center;
}

/* =========================================================
   SDGs支援バナー (c-sdgsSupport)
   ========================================================= */

body.ui-renew .c-sdgsSupport {
    display: grid;
    gap: 16px;
    justify-items: center;
    padding: 14px 0;
}

body.ui-renew .c-sdgsSupport__logos {
    display: inline-flex;
    align-items: center;
    gap: 15px;
}

body.ui-renew .c-sdgsSupport__logo {
    display: block;
    object-fit: contain;
}

body.ui-renew .c-sdgsSupport__logo--left {
    width: 65px;
    height: 34px;
}

body.ui-renew .c-sdgsSupport__logo--right {
    width: 65px;
    height: 34px;
}

body.ui-renew .c-sdgsSupport__divider {
    width: 1px;
    height: 24px;
    background: rgba(0, 0, 0, 0.25);
}

body.ui-renew .c-sdgsSupport__text {
    font-size: 0.9rem;
    line-height: 1.5;
    font-weight: 300;
    color: #333;
    text-align: center;
}

@media (min-width: 500px) {
    body.ui-renew .c-sdgsSupport {
        gap: 24px;
    }

    body.ui-renew .c-sdgsSupport__logo--left {
        width: 120px;
        height: 60px;
    }

    body.ui-renew .c-sdgsSupport__logo--right {
        width: 100px;
        height: 54px;
    }

    body.ui-renew .c-sdgsSupport__divider {
        height: 100%;
    }

    body.ui-renew .c-sdgsSupport__text {
        font-size: 1.4rem;
    }
}

/* =========================================================
   レポート導線 (c-reportPromo)
   ========================================================= */

body.ui-renew .c-reportPromo {
    --rp-max-w: 480px;
    --rp-media-w-sp: 133px;
    --rp-media-min: 200px;
    --rp-media-max: 240px;
    --rp-media-fluid: 34vw;
    --rp-gap-x: 8px;
    --rp-gap-y: 12px;
    display: flex;
    align-items: flex-end;
    gap: var(--rp-gap-x);
    width: 100%;
    max-width: var(--rp-max-w);
}

@media (max-width: 599px) {
    body.ui-renew .c-reportPromo {
        --rp-gap-x: 12px;
    }
}

body.ui-renew .c-reportPromo__media {
    display: block;
    flex: 0 0 auto;
}

body.ui-renew .c-reportPromo__mediaLink {
    display: block;
    position: relative;
    overflow: hidden;
    width: var(--rp-media-w-sp);
    flex: 0 0 auto;
    box-sizing: border-box;
    border: 1px solid rgba(0, 0, 0, 0.4);
}

body.ui-renew  .c-reportPromo__mediaLink--2 {
    border: none;
}
body.ui-renew .c-reportPromo__mediaLink::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.22);
    opacity: 0;
    transition: opacity 150ms ease;
    pointer-events: none;
}

body.ui-renew .c-reportPromo__mediaLink--2 {
    display: none;
}

body.ui-renew .c-reportPromo__img {
    display: block;
    width: 100%;
    max-width: none;
    height: auto;
}

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

@media (hover: hover) and (pointer: fine) {
    body.ui-renew .c-reportPromo__mediaLink:hover::after {
        opacity: 1;
    }
}

body.ui-renew .c-reportPromo__mediaLink:focus-visible::after {
    opacity: 1;
}

@media (min-width: 500px) and (max-width: 599px) {
    body.ui-renew .c-reportPromo {
        --rp-media-w-sp: clamp(133px, calc(-202px + 67vw), 200px);
    }
}

@media (min-width: 600px) {
    body.ui-renew .c-reportPromo {
        display: flex;
        flex-wrap: wrap;
        column-gap: var(--rp-gap-x);
        row-gap: var(--rp-gap-y);
        align-items: end;
        width: min(100%, var(--rp-max-w));
        max-width: var(--rp-max-w);
    }

    body.ui-renew .c-reportPromo__media {
        --rp-media-w: clamp(var(--rp-media-min), var(--rp-media-fluid), var(--rp-media-max));
        flex: 0 0 var(--rp-media-w);
        width: var(--rp-media-w);
        min-width: 0;
    }

    body.ui-renew .c-reportPromo__mediaLink {
        width: 100%;
    }

    body.ui-renew .c-reportPromo__link {
        flex: 0 1 auto;
        min-width: max-content;
        margin-left: 0;
        justify-content: flex-start;
    }

    body.ui-renew .c-reportPromo__mediaLink--2 {
        display: block;
        flex: 0 0 100%;
        width: 100%;
        max-width: 100%;
    }
}

body.ui-renew .c-reportPromo__link {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    flex: 0 0 auto;
    min-width: max-content;
    gap: 6px;
    margin-left: 0;
    padding-left: 56px;
    padding-bottom: 8px;
    white-space: nowrap;
    color: #333;
    font-size: 1.5rem;
    text-decoration: none;
    transition: color 150ms ease;
}

body.ui-renew .c-reportPromo__link .material-icons {
    display: inline-block;
    flex: 0 0 24px;
    width: 24px;
    line-height: 1;
    text-align: center;
    color: #8b8b8b;
    font-size: 24px;
    transition: color 150ms ease;
}

body.ui-renew .c-reportPromo__link:hover {
    color: #666;
}

body.ui-renew .c-reportPromo__link:hover .material-icons {
    color: #aaa;
}

/* =========================================================
   アコーディオン (c-accordion)
   ========================================================= */


body.ui-renew .c-accordion {
    --ac-bg: #f4f4f4;
    --ac-fg: #333;
    --ac-hover-bg: #f2f2f2;
    --ac-gap: 15px;
    --ac-pad-v: 20px;
    --ac-pad-h: 30px;

    --ac-height: 46px;

    --ac-media: 46px;

    --ac-icon: 32px;

    background: var(--ac-bg);
    color: var(--ac-fg);
}

/* recycle_material: 画像付きアコーディオンのサムネイルを一回り拡大 */
body.ui-renew #recycle_material .c-accordion {
    --ac-media: clamp(52px, 6.5vw, 64px);
    --ac-height: var(--ac-media);
}

/* サマリー行（横並び1行固定） */
body.ui-renew .c-accordion__summary {
    list-style: none;
    cursor: pointer;

    display: grid;
    align-items: center;
    gap: var(--ac-gap);
    min-height: var(--ac-height);
    padding-right: 12px;
}

body.ui-renew .c-accordion__summary::-webkit-details-marker {
    display: none;
}

body.ui-renew .c-accordion__summary:hover {
    background: var(--ac-hover-bg);
}

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

/* 画像あり： [メディア][タイトル][Chevron] */
body.ui-renew .c-accordion--media .c-accordion__summary {
    grid-template-columns: var(--ac-media) 1fr auto;
}

/* 画像なし： [タイトル][Chevron] */
body.ui-renew .c-accordion--noMedia .c-accordion__summary {
    grid-template-columns: 1fr auto;
}

/* media（正方形で中央寄せ） */
body.ui-renew .c-accordion__media {
    width: var(--ac-media);
    height: var(--ac-media);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: inherit;
}

body.ui-renew .c-accordion__img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

/* title（基本1行、長い場合は省略） */
body.ui-renew .c-accordion__title {
    min-width: 0;
    font-size: 1.6rem;
    line-height: 1.5;
    font-weight: 300;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Chevron（開閉アイコン） */
body.ui-renew .c-accordion__chev {
    width: var(--ac-icon);
    height: var(--ac-icon);
    display: inline-flex;
    align-items: center;
    justify-content: center;

    font-size: var(--ac-icon);
    line-height: 1;
    color: #8b8b8b;
    padding-right: 0;
}

body.ui-renew .c-accordion[open] .c-accordion__chev {
    transform: rotate(180deg);
}

/* パネル（展開部分） */
body.ui-renew .c-accordion__panel {
    padding: var(--ac-pad-v) var(--ac-pad-h);
    display: flex;
    flex-direction: column;
    gap: var(--ac-gap);
    background: #fff;
    margin: 8px 10px 10px;
}

body.ui-renew :is(.c-accordion__panel, .c-accordionList__detailBody) ul {
    margin: 0 0 6px;
    padding-left: 0;
    list-style: none;
    display: grid;
    gap: 2px;
}

body.ui-renew :is(.c-accordion__panel, .c-accordionList__detailBody) li {
    position: relative;
    margin: 0;
    line-height: 1.4;
    padding-left: 1.2em;
    font-size: 1.6rem;
    font-weight: 300;
}

body.ui-renew :is(.c-accordion__panel, .c-accordionList__detailBody) li::before {
    content: "";
    width: 0.24em;
    height: 0.24em;
    border-radius: 1000px;
    background: #333;

    position: absolute;
    left: 0.4em;
    top: 0.75em;
    transform: translateY(-50%);
}

/* リスト内注記: マーカーなし / 本文位置は通常liに揃える */
body.ui-renew :is(.c-accordion__panel, .c-accordionList__detailBody) .c-accordion__noteItem {
    padding-left: 1.2em;
    font-size: 1.4rem;
    line-height: 1.5;
}

body.ui-renew :is(.c-accordion__panel, .c-accordionList__detailBody) .c-accordion__noteItem::before {
    content: none;
}

/* 段落内注記: p全体でも span部分でも適用可 */
body.ui-renew :is(.c-accordion__panel, .c-accordionList__detailBody) :is(p, span).c-accordion__noteText {
    font-size: 1.4rem;
    line-height: 1.5;
}

@media (max-width: 499px) {
    body.ui-renew :is(.c-accordion__panel, .c-accordionList__detailBody) p {
        font-size: 1.5rem;
        line-height: 1.55;
    }

    body.ui-renew :is(.c-accordion__panel, .c-accordionList__detailBody) li {
        font-size: 1.4rem;
        line-height: 1.45;
    }

    body.ui-renew :is(.c-accordion__panel, .c-accordionList__detailBody) .c-accordion__noteItem {
        font-size: 1.12rem;
    }

    body.ui-renew :is(.c-accordion__panel, .c-accordionList__detailBody) :is(p, span).c-accordion__noteText {
        font-size: 1.12rem;
    }

    body.ui-renew .c-accordion__panel :is(td, th) {
        font-size: 1.4rem;
    }
}


body.ui-renew .c-accordion__panel .c-table--ok td,
body.ui-renew .c-accordion__panel .c-table--ng td {
    padding: 10px;
}

body.ui-renew .c-accordion__panel .c-table--ok tbody tr:first-child td,
body.ui-renew .c-accordion__panel .c-table--ng tbody tr:first-child td {
    padding-top: 10px;
}

body.ui-renew .c-accordion__panel .c-table--ok tbody tr:last-child td,
body.ui-renew .c-accordion__panel .c-table--ng tbody tr:last-child td {
    padding-bottom: 10px;
}


/* モーション軽減 */
@media (prefers-reduced-motion: reduce) {
    body.ui-renew .c-accordion__chev {
        transition: none;
    }

    body.ui-renew .c-accordionList.is-pcAccordion .c-accordionList__detail {
        transition: none;
        opacity: 1;
    }
}

/* アコーディオンリスト */
body.ui-renew .c-accordionList {
    --ac-gap: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* アコーディオンリスト（PC: 2列グリッド＋タイルスタイル） */
@media (min-width: 500px) {
    body.ui-renew .c-accordionList {
        --ac-card-max: 320px;
        --ac-summary-w: 235px;
        --ac-row-gap: 12px;
        --ac-col-gap: 8px;
        display: grid;
        grid-template-columns: repeat(2, var(--ac-summary-w));
        gap: var(--ac-row-gap) var(--ac-col-gap);
        align-items: start;
        justify-content: center;
        justify-items: center;
        width: 100%;
        max-width: 100%;
    }

    body.ui-renew .c-accordionList.is-pcAccordion {
        gap: var(--ac-row-gap) var(--ac-col-gap);
    }

    body.ui-renew .c-accordionList.is-pcAccordion .c-accordion {
        position: relative;
        background: #fff;
        width: min(100%, var(--ac-summary-w));
        margin: 0 auto;
        z-index: 0;
        transition: transform 220ms ease, box-shadow 220ms ease;
    }

    body.ui-renew .c-accordionList.is-pcAccordion .c-accordion--media .c-accordion__summary {
        position: relative;
        display: grid;
        grid-template-columns: 1fr auto;
        grid-template-areas:
            "media media"
            "title chev";
        gap: 0;
        cursor: pointer;
        pointer-events: auto;
        background: #f0f0f0;
        min-height: 0;
        padding: 0;
        overflow: hidden;
        transition: transform 220ms ease, box-shadow 220ms ease;
    }

    body.ui-renew .c-accordionList.is-pcAccordion .c-accordion:hover,
    body.ui-renew .c-accordionList.is-pcAccordion .c-accordion.is-active {
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
        z-index: 1;
    }

    body.ui-renew .c-accordionList.is-pcAccordion .c-accordion__summary:focus-visible {
        outline-offset: 4px;
    }

    body.ui-renew .c-accordionList.is-pcAccordion .c-accordion__media {
        grid-area: media;
        display: block;
        width: 100%;
        margin: 0;
        height: auto;
        aspect-ratio: 4 / 3;
        box-sizing: border-box;
        overflow: hidden;
        background: inherit;
    }

    body.ui-renew .c-accordionList.is-pcAccordion .c-accordion__img {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
        object-position: center top;
    }

    body.ui-renew .c-accordionList.is-pcAccordion .c-accordion__title {
        grid-area: title;
        position: static;
        align-self: start;
        min-width: 0;
        color: #333;
        white-space: normal;
        font-size: 1.5rem;
        line-height: 1.35;
        padding: 9px 10px 9px 12px;
        background: none;
    }

    body.ui-renew .c-accordionList.is-pcAccordion .c-accordion__chev {
        grid-area: chev;
        position: static;
        align-self: end;
        justify-self: end;
        color: #8b8b8b;
        display: inline-flex;
        width: 28px;
        height: 28px;
        font-size: 24px;
        margin: 8px 10px 8px 0;
        transition: color 220ms ease;
    }

    body.ui-renew .c-accordionList.is-pcAccordion .c-accordion.is-active .c-accordion__chev {
        transform: rotate(180deg);
        color: #666;
    }

    body.ui-renew .c-accordionList.is-pcAccordion .c-accordion__panel {
        display: none;
    }

    body.ui-renew .c-accordionList.is-pcAccordion .c-accordionList__detail {
        --ac-detail-pointer-left: 50%;
        grid-column: 1 / -1;
        position: relative;
        z-index: 2;
        width: 100%;
        box-sizing: border-box;
        background: #fff;
        box-shadow:
            0 -3px 10px rgba(0, 0, 0, 0.06),
            0 10px 18px rgba(0, 0, 0, 0.10);
        padding: 24px 24px 28px;
        opacity: 0;
        transition: opacity 180ms ease;
        will-change: opacity;
    }

    body.ui-renew .c-accordionList.is-pcAccordion .c-accordionList__detail.is-visible {
        opacity: 1;
    }

    body.ui-renew .c-accordionList.is-pcAccordion .c-accordionList__detail[hidden] {
        display: none;
    }

    body.ui-renew .c-accordionList.is-pcAccordion .c-accordionList__detail::before {
        content: "";
        position: absolute;
        top: -11px;
        left: var(--ac-detail-pointer-left);
        width: 22px;
        height: 22px;
        transform: translateX(-50%) rotate(45deg);
        background: #fff;
        border-top: 1px solid rgba(0, 0, 0, 0.04);
        border-left: 1px solid rgba(0, 0, 0, 0.04);
    }

    body.ui-renew .c-accordionList.is-pcAccordion .c-accordionList__detailHeader {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 16px;
        margin-bottom: 12px;
    }

    body.ui-renew .c-accordionList.is-pcAccordion .c-accordionList__detailTitle {
        margin: 0;
        font-size: 2rem;
        line-height: 1.4;
        font-weight: 500;
        color: #333;
    }

    body.ui-renew .c-accordionList.is-pcAccordion .c-accordionList__detailClose {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        border: 0;
        background: transparent;
        color: #8b8b8b;
        line-height: 1;
        cursor: pointer;
        transition: color 180ms ease, opacity 180ms ease;
    }

    body.ui-renew .c-accordionList.is-pcAccordion .c-accordionList__detailClose:hover,
    body.ui-renew .c-accordionList.is-pcAccordion .c-accordionList__detailClose:focus-visible {
        color: #555;
        opacity: 0.9;
    }

    body.ui-renew .c-accordionList.is-pcAccordion .c-accordionList__detailClose .material-icons {
        font-size: 22px;
        line-height: 1;
    }

    body.ui-renew .c-accordionList.is-pcAccordion .c-accordionList__detailBody {
        display: flex;
        flex-direction: column;
        gap: var(--ac-gap);
    }
}

@media (min-width: 720px) {
    body.ui-renew .c-accordionList {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* =========================================================
   番号リスト (c-numList)
   ========================================================= */

/* メインリスト */
body.ui-renew ol.c-numList {
    margin: 0;
    padding-left: 1.8em;
    list-style: decimal;
    list-style-position: outside;
}

/* メインリスト項目 */
body.ui-renew ol.c-numList>li {
    display: list-item;
    margin: 0;
    font-size: 1.6rem;
    line-height: 1.6;
    font-weight: 300;
    margin-top: 15px;
}

body.ui-renew ol.c-numList>li:first-child {
    margin-top: 0;
}

/* サブリスト: (1)(2)... */
body.ui-renew ol.c-numList--paren {
    margin-top: 15px;
    padding-left: 0;
    list-style: none;
    counter-reset: paren;
}

/* サブリスト項目 */
body.ui-renew ol.c-numList--paren>li {
    display: block;
    position: relative;
    margin: 0;
    margin-top: 15px;
    padding-left: 1.6em;
    font-size: 1.6rem;
    line-height: 1.5;
    font-weight: 300;
}

/* (1) マーカー */
body.ui-renew ol.c-numList--paren>li::before {
    counter-increment: paren;
    content: "("counter(paren) ") ";
    position: absolute;
    left: 0;
    top: 0;
}

/* =========================================================
   バナーリンク (c-bannerLink)
   ========================================================= */

body.ui-renew .c-bannerLink {
    --bn-max-w: 640px;
    width: 100%;
    max-width: var(--bn-max-w);
    margin: 16px auto;
}

body.ui-renew .c-bannerLink--narrow {
    --bn-max-w: 320px;
}

body.ui-renew .c-bannerLink__anchor {
    display: block;
    text-decoration: none;
}

body.ui-renew .c-bannerLink__img {
    display: block;
    width: 100%;
    max-width: none;
    height: auto;
}

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

@media (hover: hover) and (pointer: fine) {
    body.ui-renew .c-bannerLink__anchor:hover .c-bannerLink__img {
        opacity: 0.9;
    }
}

@media (min-width: 800px) {
    body.ui-renew .c-bannerLink {
        margin: 24px auto;
    }
}

/* =========================================================
   ページトップボタン (c-pageTop)
   ========================================================= */

body.ui-renew .c-pageTop {
    position: fixed;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%) translateY(120px);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.42);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.4s ease, opacity 0.4s ease, visibility 0.4s ease, background-color 0.2s ease;
    cursor: pointer;
    text-decoration: none;
}

body.ui-renew .c-pageTop.is-visible {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    visibility: visible;
}

body.ui-renew .c-pageTop:hover {
    background-color: rgba(0, 0, 0, 0.6);
}

/* アイコン */
body.ui-renew .c-pageTop .material-icons {
    color: #fff;
    font-size: 32px;
    line-height: 1;
}

@media (min-width: 800px) {
    body.ui-renew .c-pageTop {
        left: auto;
        right: 32px;
        transform: translateY(120px);
    }
    body.ui-renew .c-pageTop.is-visible {
        transform: translateY(0);
    }
}
