/*ーーーーー
　　共通スタイル
ーーーーー*/
a {
    transition: all .5s;
}

/*ーーーーー KV（下層ページ） ーーーーー*/

.p-kv {
    position: relative;

    .reference-caption {
        img {
            padding: 0;
        }
    }

    .p-kv_inner--center {
        width: 100%;
        padding-inline: 10px;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        -webkit-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);

        p {
            font-size: 26px;
            text-align: center;
            color: #fff;
        }

        h1 {
            font-size: 30px;
            text-align: center;
            color: #fff;
        }
    }

    .p-kv_inner--left_bottom {
        padding-inline: 10px;
        position: absolute;
        bottom: 100px;
        left: 50px;

        .c-title_primary {
            h1 {
                color: #fff;
                font-size: 30px;
                letter-spacing: 2px;

                span {
                    font-size: 18px;
                    display: block;
                }
            }
        }
    }
}

@media screen and (max-width: 750px) {
    .p-kv {
        .p-kv_inner--left_bottom {
            bottom: 70px;
            left: 20px;

            .c-title_primary {
                h1 {
                    font-size: 26px;
                }
            }
        }

        .p-kv_inner--center {
            .c-title_primary {

                h1 {
                    font-size: 26px;
                }
            }
        }
    }
}

/*ーーーーー コンテンツ基礎 ーーーーー*/
.c-content-wrapper {
    margin-top: 128px;
    padding: 0;

    h1 {
        font-size: 30px;
        margin-bottom: 36px;
    }

    .t-center {
        text-align: center;
    }

    h2 {
        font-size: 28px;
    }

    .square {
        color: #fff;
        padding: 10px 40px;
        position: relative;
    }

    .square.--red {
        background-color: #AB0218;
    }

    .square.--blue {
        background-color: #004575;
    }

    .square.--green {
        background-color: #00552E;
    }

    .square.--gold {
        background-color: #897654;
    }

    .square::after {
        content: '';
        background-image: url('../images/takeout/h2-icon-square.png');
        background-size: 100%;
        background-repeat: none;
        display: block;
        width: 25px;
        height: 25px;
        position: absolute;
        bottom: 8px;
        right: 8px;
    }
}

.c-content-wrapper:first-of-type {
    padding-top: 128px;
    margin-top: 0;
}

@media screen and (max-width: 750px) {
    .c-content-wrapper {
        h1 {
            font-size: 26px;
        }

        h2 {
            font-size: 22px;

            span {
                display: none;
            }
        }

        .square {
            padding: 10px 20px;
        }
    }
}

/*ーーーーー 見出し装飾（アイコン系） ーーーーー*/
.icon-gunkan {
    max-width: 460px;
    margin: 0 auto 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;

    img {
        width: 20px;
    }

}

.icon-gunkan::before,
.icon-gunkan::after {
    content: '';
    width: 40%;
    height: 1px;
    background-color: #AB0218;
}

.vertical-line {
    height: 80px;
    width: 1px;
    background: #897654;
    margin-inline: auto;
    margin-block: 80px 30px;
}

/*ーーーーー ボタン装飾 ーーーーー*/

.bt-link a {
    color: #fff !important;
    text-align: center;
    max-width: 300px;
    width: 100%;
    display: block;
    padding-block: 15px;
    margin-inline: auto;

    :hover {
        opacity: .6;
    }
}

.collar-gold a {
    background-color: #897654;
}

.bt-order {
    margin-top: 74px;
}


/* カート以降の下部ボタン部分 */
.takeout-flow_bt_inner {
    margin-top: 40px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;

    @media screen and (max-width: 750px) {
        justify-content: center;
    }
}

.takeout-flow_bt_box {
    width: 240px;
    position: relative;
    transition: all .5s;

    &:hover {
        opacity: .7;
    }

    &.--return {
        &::before {
            content: "";
            left: 20px;
            transform: rotate(90deg);
        }

        input {
            padding: 10px 20px 10px 40px;
        }
    }

    &.--next {
        &::after {
            content: "";
            right: 20px;
            transform: rotate(-90deg);
        }

        input {
            padding: 10px 40px 10px 20px;
        }
    }

    &::before,
    &::after {
        position: absolute;
        top: 40%;
        transform: translateY(-40%);

        /* 三角形の本体 */
        width: 0;
        height: 0;
        border-left: 6px solid transparent;
        border-right: 6px solid transparent;
        border-top: 8px solid #fff;
    }

    input {
        font-size: 16px !important;
        color: #fff;
        background: #897654 !important;
        border: none !important;
        border-radius: 0 !important;
    }
}

/*ーーーーー
　　お持ち帰り・おしながきページ
ーーーーー*/
.p-takeout .container {
    padding-top: 128px;
}

.error-message-inner {
    margin: 2rem;
    text-align: center;
}

/*ーーーーー お持ち帰り注文に関するお知らせ ーーーーー*/
.ehoumaki-content {
    max-width: 980px;
    margin-block: 40px;
    margin-inline: auto;

    >div {
        background: #ffffff;
        border: 3px solid #ba0000;

        h3 {
            font-size: 1.8rem;
            color: #ba0000;
            text-align: center;
            padding: 10px;
            margin: 0 30px;
            border-bottom: 3px solid #ba0000;
        }

        p {
            padding: 30px;
            letter-spacing: 2;
            line-height: 1.8;

            span {
                font-weight: bold;
                color: #ba0000;
            }
        }
    }
}

@media screen and (max-width: 750px) {
    .ehoumaki-content {
        >div {

            h3 {
                font-size: 1.5rem;
            }
        }
    }
}

/*ーーーーー お持ち帰り注文についての注意事項 ーーーーー*/
.order-notebox {
    padding-block: 40px 0;
    display: flex;
    justify-content: space-between;
    gap: 60px;
    border-bottom: 1px solid #707070;

    .attention-mig {
        position: relative;
        top: -60px;
        right: 30px;
    }

    .note-ttl {
        font-size: 22px;
        font-weight: bold;
    }

    .note-ttl-collar1 {
        color: #FF0000;
    }

    .note-ttl-collar2 {
        color: #00552E;
    }

    .order-note-content {

        p {
            margin-bottom: 1rem;
        }

        p:last-of-type {
            margin-bottom: 0;
        }
    }

    .note-hosoku {
        font-size: 16px;
    }
}

.order-notebox:last-of-type {
    border-bottom: none;
}

.plate-price {
    width: 300px;
    text-align: center;

    td {
        padding: 10px;
    }

    tr td:nth-of-type(1) {
        color: #00552E;
        font-weight: bold;
    }

    tr:nth-of-type(1) td {
        color: #fff;
        background-color: #00552E;
    }

    tr:nth-of-type(n+2) td {
        background-color: #fff;
    }

    tr:nth-of-type(3) td {
        color: initial;
        font-weight: initial;
    }
}

.plate-price,
.plate-price td,
.plate-price th {
    border: 1px solid #595959;
    border-collapse: collapse;
}

@media screen and (max-width: 750px) {
    .order-notebox {
        display: block;
        position: relative;

        .note-ttl {
            font-size: 20px;
        }

        .note-hosoku {
            font-size: 14px;
            max-width: 70%;
        }

        .attention-mig {
            max-width: 100px;
            position: absolute;
            top: auto;
            bottom: 20px;
            right: -10px;
        }
    }

    .order-notebox:first-of-type {
        padding-bottom: 40px;
    }

    .order-notebox:nth-of-type(2) {
        .note-hosoku {
            max-width: 100%;
        }

        .onc-l {
            margin-bottom: 40px;
        }

        .plate-price {
            width: 100%;
        }
    }
}

/*ーーーーー ネットでのお持ち帰りご注文方法 ーーーーー*/
.p-takeout-step {
    margin-top: 30px;

    ul {
        list-style: none;
        display: flex;
        flex-wrap: nowrap;
        gap: 10px;
        padding: 0;
        margin: 0;
    }

    li {
        width: calc(100% / 5);
        background-color: #fff;

        h3 {
            color: #fff;
            font-weight: bold;
            width: 115px;
            padding: 5px 10px;
            background-color: #00552E;
            clip-path: polygon(0 0, 100% 0%, 75% 100%, 0% 100%);
        }

        >span {
            max-width: 160px;
            aspect-ratio: 5 / 3;
            display: block;
            margin-inline: auto;

            img {
                -o-object-fit: cover;
                object-fit: cover;
                width: 100%;
                height: 100%;
            }
        }

        p {
            font-size: 14px;
            padding: 20px 10px;
        }
    }
}

@media screen and (max-width: 750px) {
    .p-takeout-step {

        ul {
            flex-direction: column;
            gap: 50px;

            li {
                width: 100%;
                padding: 50px 20px 20px;
                position: relative;
                display: flex;
                align-items: center;
                gap: 10px;

                h3 {
                    position: absolute;
                    top: 0;
                    left: 0;
                }

                p {
                    padding: 0;
                    width: 100%;
                }
            }

            li::after {
                content: '';
                width: 0;
                height: 0;
                border-style: solid;
                border-width: 12px 0 12px 15px;
                border-color: transparent transparent transparent #A3A3A3;
                position: absolute;
                bottom: -40px;
                left: 50%;
                transform: translateX(-50%);
                -webkit-transform: translateX(-50%);
                -ms-transform: translateX(-50%);
                transform: rotate(90deg);
            }

            li:last-of-type::after {
                display: none;
            }
        }
    }
}

/*ーーーーー お持ち帰り注文 ーーーーー*/

/* 店舗選択 START */
.ttl-order-content {
    font-size: 28px;
    color: #897654;
    text-align: center;
}

.flex-takeout-shoplist {
    margin-top: 70px;
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 60px;

    >div {
        width: calc(100% / 3);
    }

    h4 {
        font-size: 22px;
    }

    /* 共通 */
    button {
        width: -webkit-fill-available;
        text-align: left;
        padding: 0;

        span {
            display: block;
            padding: 6.5px 10px;
        }

        .bt-shop_name {
            font-weight: bold;
        }

        .bt-shop_address {
            font-size: 14px;
            background-color: #fff;
            border-top: 1px solid;
        }
    }

    button.is-active .bt-shop_name {
        color: #fff !important;
    }

    button.is-active .bt-shop_address {
        color: initial;
    }

    /* 札幌 */
    .shop-select_sapporo {
        h4 {
            color: #034575;
        }

        button {
            border: 1px solid #034575;

            .bt-shop_name {
                color: #034575;
            }

            .bt-shop_address {
                border-color: #034575;
            }
        }

        button.is-active {
            background-color: #034575;
        }
    }

    /* 十勝 */
    .shop-select_tokachi {
        h4 {
            color: #00552F;
        }

        button {
            border: 1px solid #00552F;

            .bt-shop_name {
                color: #00552F;
            }

            .bt-shop_address {
                border-color: #00552F;
            }
        }

        button.is-active {
            background-color: #00552F;
        }
    }

    /* 釧路 */
    .shop-select_kushiro {
        h4 {
            color: #AA0218;
        }

        button {
            border: 1px solid #AA0218;

            .bt-shop_name {
                color: #AA0218;
            }

            .bt-shop_address {
                border-color: #AA0218;
            }
        }

        button.is-active {
            background-color: #AA0218;
        }
    }
}

.select-shop-view_inner {
    display: none;

    .select-shop-view_box {
        display: flex;
        margin-block: 40px;
        margin-inline: auto;
        width: fit-content;

        div {
            padding: 20px 40px;
        }

        #select-shop-view-text {
            color: #fff;
            background-color: #333333;
        }

        #select-shop-view {
            border: 1px solid #333;
            background-color: #fff;
        }
    }

    @media screen and (max-width: 750px) {
        .select-shop-view_box {
            div {
                padding: 10px 20px;
            }
        }
    }
}

@media screen and (max-width: 750px) {
    .ttl-order-content {
        font-size: 20px;
    }

    .flex-takeout-shoplist {
        flex-direction: column;
        gap: 24px;

        >div {
            width: 100%;
        }

        .js-shop-accordion {
            font-size: 20px;
            position: relative;
            padding: 8px 20px;
            cursor: pointer;

            &::after {
                content: "";
                position: absolute;
                top: 40%;
                right: 30px;
                width: 12px;
                height: 12px;
                /* ▼ 斜めの線2本でV字を作る */
                border-right: 2px solid currentColor;
                border-bottom: 2px solid currentColor;
                transform: translateY(-60%) rotate(45deg);
                transition: transform 0.2s ease;
            }
        }

        /* 開いているときは ∧ になるように回転 */
        .is-open .js-shop-accordion::after {
            top: 50%;
            transform: translateY(-40%) rotate(-135deg);
        }

        .shop-select_body {
            display: none;
            padding: 0 15px 15px;
        }
    }

    /* ここから下は色設定（既にあるならそのままでOK） */

    .shop-select_sapporo .js-shop-accordion {
        color: #034575;
    }

    .shop-select_tokachi .js-shop-accordion {
        color: #00552F;
    }

    .shop-select_kushiro .js-shop-accordion {
        color: #AA0218;
    }

    .shop-select_sapporo {
        background-image: url(../images/takeout/bg-shop-select_sapporo.png);
    }

    .shop-select_tokachi {
        background-image: url(../images/takeout/bg-shop-select_tokachi.png);
    }

    .shop-select_kushiro {
        background-image: url(../images/takeout/bg-shop-select_kushiro.png);
    }

    .shop-select_sapporo,
    .shop-select_tokachi,
    .shop-select_kushiro {
        background-size: 100%;
    }
}



/* 店舗選択 END */

/* 日時選択 START */
.date_time_ {
    margin-top: 70px;

    h4 {
        font-size: 18px;
        color: #897654;
    }

    .date_time_selection_inner {
        justify-content: center;

        >div {
            max-width: 280px;

            input {
                height: 40px;
                padding: 10px;
                border: none;
                box-shadow: none;
            }
        }
    }
}

@media screen and (max-width: 750px) {
    .date_time_ {

        h4 {
            font-size: 16px;
        }

        .date_time_selection_inner {

            >div {
                max-width: 100%;
            }
        }
    }
}

/* 日時選択 END */

/* 商品選択 START */
/* 共通 */
.takeout-main-content {

    .takeout-category,
    .takeout-item-list {
        max-height: 600px;
        overflow-y: auto;
        scrollbar-color: #818181 #e0e0e0;
        scrollbar-width: thin;

        @media screen and (max-width: 750px) {
            max-height: 365px;
        }
    }
}

.container-takeout-item {
    padding: 0 0 128px;
    background-image: url(../images/bg_container.png);
    background-repeat: repeat-y;
    background-size: 100% auto;
    background-position: right top;

    .vertical-line {
        margin-top: 0;
    }

    .flex-3column {
        max-width: 1200px;
        margin-inline: auto;
        display: flex;
        flex-wrap: nowrap;
        justify-content: space-between;
        gap: 10px;

        >div {
            width: calc(100% / 3);
        }
    }

    @media screen and (max-width: 750px) {
        .flex-3column {
            gap: 0;

            >div {
                width: calc(100% / 2);
            }
        }
    }

    /* 1 takeout-category STSRT */
    .takeout-category {
        max-width: 150px;

        ul {
            list-style: none;
            padding: 0;
            margin: 0;

            li {
                font-size: 14px;
                text-align: center;
                padding: 10px 0;
                border-top: 1px solid #707070;
                transition: all .5s;
            }

            li:last-of-type {
                border-bottom: 1px solid #707070;
            }

            li:hover {
                background-color: #c7b595;
            }

            li.is-active-child0,
            li.is-active-child1,
            li.is-active-child2,
            li.is-active-child3,
            li.is-active-child4,
            li.is-active-child5,
            li.is-active-child6,
            li.is-active-child7,
            li.is-active-child8,
            li.is-active-child9,
            li.is-active-child10 {
                color: #fff;
                background-color: #897654;
            }
        }
    }


    /* 2 takeout-item-list STSRT */
    .takeout-item-list {
        width: 100% !important;
        padding-inline: 20px;

        .takeout-item-lists {
            display: flex;
            flex-wrap: wrap;
            justify-content: flex-start;
            gap: 10px;

            /* .p-take-out-item_inner {
                width: calc((100% - 24px * 2) / 3);
            } */

            #itempage {
                >form {
                    overflow: hidden;
                }

                .itemimg {
                    margin-bottom: 5px;

                    img {
                        padding: 0;
                    }
                }

                .itemimg,
                .skuform {
                    width: 100%;
                }

                .item_page_title {
                    font-size: 16px;
                    font-weight: bold;
                    line-height: 1.4;
                }

                .itemprice {
                    font-size: 16px;
                }

                .skuform {
                    margin-top: 5px;

                    .skudisp.subborder {
                        font-size: 12px;
                        width: 100%;
                        text-align: center;
                        margin-block: 10px 0;
                    }

                    .skumulti {
                        overflow: hidden;

                        p {
                            font-weight: bold;
                        }
                    }

                    p.skudisp.subborder[date="わさび有"],
                    p.skudisp.subborder[date="わさび有り"],
                    p.skudisp.subborder[date="わさびあり"],
                    p.skudisp.subborder[date="わさびアリ"],
                    p.skudisp.subborder[date="ワサビあり"],
                    p.skudisp.subborder[date="ワサビアリ"] {
                        color: #82ae46;
                    }
                }

                .spinner_area {
                    width: 100%;
                    padding-block: 5px;
                    justify-content: center;
                }

                .spinner_area input {
                    padding: 0 2px;
                    border: none;
                    background: #fff;
                    border-radius: 0;
                }

                .spinner_area input.btnspinner-minus {
                    border-top: 1px solid #707070;
                    border-bottom: 1px solid #707070;
                    border-left: 1px solid #707070;
                }

                .spinner_area input.btnspinner-plus {
                    border-top: 1px solid #707070;
                    border-bottom: 1px solid #707070;
                    border-right: 1px solid #707070;
                }

                .skuform .quant .skuquantity {
                    text-align: center;
                    color: #897654;
                    width: 40px;
                    margin: 0;
                    background: lab(50.79 3.85 21.63 / 0.3);
                    border: none;
                    border-top: 1px solid #707070;
                    border-bottom: 1px solid #707070;
                    box-shadow: none;
                }
            }
        }

        @media screen and (max-width: 750px) {
            padding-inline: 10px;

            #itempage {
                .item_page_title {
                    font-size: 14px !important;
                    text-align: left;
                }

                .skuform {
                    margin-top: 0 !important;

                    .skudisp.subborder {
                        margin-block: 10px 0 !important;
                    }
                }
            }
        }
    }

    /* 3 takeout-price STSRT */
    .takeout-price {
        max-width: 220px;

        >section {
            padding: 0;
        }

        .takeout-price-content {
            display: none;
        }

        .takeout-shop-inner {
            margin-bottom: 20px;
        }

        .takeout-price-data {
            margin-bottom: 20px;
        }

        .takeout-price-data:last-of-type {
            margin-bottom: 0;
        }

        .takeout-price-data span {
            display: block;
        }

        .takeout-price-data span .pc-only {
            display: inline-block;
        }

        .takeout-price-data span:first-of-type {
            font-size: 14px;
            font-weight: bold;
            color: #897654;
            margin-bottom: 5px;
        }

        .takeout-price-data .shop-cart-text,
        .takeout-price-data .date-and-time {
            font-size: 16px;
            padding: 10px;
            background-color: #fff;
        }

        .p-takeout-price-detail {
            padding: 20px;
            background-color: #fff;

            .price-detail-quantity {
                font-size: 14px;
                display: flex;
                justify-content: space-between;
                padding: 0 10px 10px;
                margin-bottom: 20px;
                border-bottom: 1px solid #707070;
            }

            .price-detail-quantity:last-of-type {
                margin-bottom: none;
            }

            .price-detail-total_price {
                font-weight: bold;
                color: #aa0218;
                margin-top: 25px;
                display: flex;
                flex-direction: column;
                align-items: center;

                .goukei {
                    font-size: 16px;
                }

                .price-all {
                    font-size: 28px;

                    span {
                        font-size: 16px;
                        margin-left: 5px;
                    }
                }
            }
        }

        #cart-next {
            margin-top: 20px;

            a {
                font-size: 17px;
                color: #fff;
                width: 100%;
                padding: 10px;
                background: #897654;
                display: flex;
                flex-wrap: wrap;
                align-items: center;
                justify-content: center;

                img {
                    width: 20px;
                    padding: 0;
                    margin-right: 8px;
                }
            }

            a:hover {
                text-decoration: none;
            }
        }
    }

    @media screen and (max-width: 750px) {
        .takeout-price {
            max-width: 100%;
            width: 100% !important;
            position: fixed;
            bottom: 0;
            z-index: 100000;

            section {
                min-height: 125px;
                padding: 10px;
                background-color: #fff;
                border: 1px solid #707070;

                .takeout-shop-inner {
                    display: flex;
                    justify-content: space-between;

                    .takeout-price-data {
                        margin-bottom: 0;
                        display: flex;
                        align-items: center;

                        span {
                            font-size: 14px;
                            padding: 0;
                            margin: 0;

                            .pc-only {
                                display: none;
                            }
                        }

                        span:first-of-type::after {
                            content: "：";
                        }
                    }
                }

                .p-takeout-price-inner {
                    .wgct_row-inner {
                        display: flex;
                        justify-content: space-between;
                        align-items: center;
                        gap: 20px;

                        >div {
                            width: calc(100% / 2);
                        }

                        .p-takeout-price-detail {
                            padding: 0;
                            display: flex;
                            flex-wrap: wrap;
                            justify-content: space-between;

                            .price-detail-quantity {
                                width: calc(100% / 2 - 10px);
                                padding: 0;
                                margin: 0;
                                border-bottom: none;
                            }

                            .price-detail-quantity:first-of-type {
                                padding-right: 10px;
                                border-right: 1px solid #707070;
                            }

                            .price-detail-total_price {
                                margin: 0;
                                flex-direction: row;
                                gap: 10px;

                                .price-all {
                                    font-size: 22px;
                                }
                            }
                        }

                        #cart-next {
                            margin-top: 0;

                            a {
                                font-size: 16px;
                                border-radius: 100px;
                            }
                        }
                    }
                }
            }
        }
    }

    /* 下部コンテンツ */
    .takeouto-bottom-content {
        padding-top: 128px !important;

        .takeouto-bottom-text {
            color: #fff;
            padding: 40px;
            background-color: #AA0218;

            p:nth-of-type(1) {
                font-size: 18px;
                margin-bottom: 30px;
            }

            p:nth-of-type(2) {
                font-size: 16px;
            }
        }

        .bt-takeout-banner {
            display: flex;
            flex-direction: column;
            align-items: center;

            p {
                text-align: center;
                margin-block: 40px 20px;
            }

            div {
                max-width: 460px;
            }
        }
    }

    @media screen and (max-width: 750px) {
        .takeouto-bottom-content {
            .takeouto-bottom-text {
                padding: 20px;

                p:nth-of-type(1) {
                    font-size: 16px;
                }

                p:nth-of-type(2) {
                    font-size: 14px;
                }
            }
        }
    }
}

/***** 
商品の並び 
*****/
/* お持ち帰りページ */
.category-takeout {
    .takeout-item-list {
        .takeout-item-lists {
            .p-take-out-item_inner {
                width: calc((100% - 10px * 2) / 3);
            }
        }
    }

    @media screen and (max-width: 750px) {
        .takeout-item-list {
            .takeout-item-lists {
                .p-take-out-item_inner {
                    width: calc((100% - 10px * 1) / 2);
                }
            }
        }
    }
}

/* おしながきページ */
.category-item {
    .takeout-item-list {
        .takeout-item-lists {
            .p-take-out-item_inner {
                width: calc((100% - 10px * 3) / 4);

                @media screen and (max-width: 750px) {
                    width: calc((100% - 10px * 1) / 2);
                }
            }
        }
    }
}

/* 商品選択 END */

/*ーーーーー
　　買い物カゴページ
ーーーーー*/
.c-kago-step_wrapper {
    .c-kako-step_inner {
        display: flex;
        justify-content: space-between;
        gap: 10px;
        max-width: 700px;
        margin-inline: auto;

        .c-kako-step_list {
            width: calc(100% / 4 - 10px);
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 10px;
            position: relative;

            .c-kako-step-icon {
                max-width: 83px;
                aspect-ratio: 1 / 1;
                z-index: 5;

                img {
                    padding: 0;
                }
            }

            p {
                font-size: 16px;
                color: #897654;
                font-weight: bold;
                line-height: 1.5;
                text-align: center;
            }
        }

        .c-kako-step_list::after {
            content: "";
            width: 100%;
            height: 3px;
            background-color: #897654;
            position: absolute;
            top: 45px;
            left: 50px;
            z-index: 1;
        }

        .c-kako-step_list:last-of-type::after {
            display: none;
        }
    }
}

@media screen and (max-width: 750px) {
    .c-kago-step_wrapper {
        .c-kako-step_inner {
            .c-kako-step_list {
                &::after {
                    top: 30px;
                    left: 50%;
                }

                .c-kako-step-icon {
                    max-width: 60px;
                }
            }
        }
    }
}

main.p-takeout {
    .container {

        /* メインセクション部分　START */
        .p-kago {

            .p-takeout-hosoku {
                margin-block: 40px;
            }

            /* 2カラム　START */
            .kago-takeout-list {
                display: flex;
                justify-content: space-between;
                gap: 40px;

                /* 商品部分　START */
                .takeout-item-list {
                    width: 100%;

                    .kago-onlist_inner {
                        padding: 20px;
                        background-color: #fff;
                        border: 1px solid #707070;

                        .kago-onlist_item {
                            padding-bottom: 20px;
                            margin-bottom: 20px;
                            border-bottom: 1px dashed #cccccc;
                            display: flex;
                            flex-flow: nowrap;
                            justify-content: space-between;
                            align-items: center;
                            gap: 10px;

                            &:last-of-type {
                                padding-bottom: 0;
                                margin-bottom: 0;
                                border-bottom: none;
                            }

                            .kago-item-thumbnail {
                                max-width: 140px;

                                img {
                                    width: 100%;
                                    max-width: 100%;
                                }
                            }

                            .kago-item-detail {
                                width: 100%;

                                .kago-item-detail_price {

                                    span:nth-of-type(1)::after {
                                        content: '/';
                                        margin-inline: 5px;
                                    }
                                }
                            }

                            .kago-item-quantity {
                                display: flex;
                                flex-direction: column;
                                align-items: center;
                                gap: 5px;

                                .c-qty {
                                    display: flex;
                                    flex-wrap: nowrap;
                                    border: 1px solid #707070;

                                    button,
                                    input {
                                        border: none;
                                        box-shadow: none;
                                    }

                                    button {
                                        width: 30px;
                                    }

                                    input {
                                        color: #897654;
                                        text-align: center !important;
                                        width: 50px;
                                        background: lab(50.79 3.85 21.63 / 0.3);
                                    }
                                }

                                .kago-item-delete {
                                    max-width: 50px;

                                    input {
                                        font-size: 14px;
                                        border: none;
                                        border-radius: 0;
                                        background-color: #EDEDED;
                                    }
                                }
                            }
                        }
                    }
                }

                /* 商品部分　END */

                /* 合計部分 START */
                .takeout-price {
                    min-width: 220px;

                    .takeout-shop-inner {
                        margin-bottom: 20px;

                        .takeout-price-data {
                            margin-bottom: 20px;

                            span {
                                display: block;

                                &:first-of-type {
                                    font-size: 14px;
                                    font-weight: bold;
                                    color: #897654;
                                    margin-bottom: 5px;

                                    .pc-only {
                                        display: inline-block;
                                    }
                                }
                            }

                            .shop-cart-text,
                            .date-and-time {
                                font-size: 16px;
                                padding: 10px;
                                background-color: #fff;
                            }
                        }
                    }

                    .update-bt-inner {
                        margin-bottom: 20px;

                        p {
                            font-size: 14px;
                            margin-top: 5px;
                        }

                        input {
                            font-size: 16px;
                            color: #fff;
                            padding: 10px;
                            background: #897654;
                            border: none;
                            border-radius: 0;
                            transition: all .5s
                        }

                        input:hover {
                            opacity: .7;
                        }

                    }

                    .p-takeout-price-inner {

                        .p-takeout-price-detail {
                            padding: 20px;
                            background-color: #fff;

                            .price-detail-quantity {
                                font-size: 14px;
                                display: flex;
                                justify-content: space-between;
                                padding: 0 10px 10px;
                                margin-bottom: 20px;
                                border-bottom: 1px solid #707070;
                            }

                            .price-detail-total_price {
                                font-weight: bold;
                                color: #aa0218;
                                margin-top: 25px;
                                display: flex;
                                flex-direction: column;
                                align-items: center;

                                .goukei {
                                    font-size: 16px;
                                }

                                .date-quantity {
                                    font-size: 28px;

                                    span {
                                        font-size: 16px;
                                        margin-left: 5px;
                                    }
                                }
                            }
                        }
                    }
                }

                /* 合計部分 END */
            }

            /* 2カラム　END */
            @media screen and (max-width: 900px) {
                .kago-takeout-list {
                    flex-direction: column;

                    .takeout-price {
                        .update-bt-inner {
                            input {
                                max-width: 240px;
                            }
                        }
                    }
                }
            }

            @media screen and (max-width: 500px) {
                .kago-takeout-list {
                    .kago-onlist_inner {
                        .kago-onlist_item {
                            flex-wrap: wrap !important;

                            .kago-item-thumbnail {
                                max-width: 170px;
                                order: 1;
                            }

                            .kago-item-detail {
                                order: 3;
                            }

                            .kago-item-quantity {
                                order: 2;
                            }
                        }

                    }

                }

            }
        }

        /* p-kago メインセクション部分　END */
    }
}


/*ーーーーー
　　お客様情報入力ページ
ーーーーー*/
.p-delivery-info {
    padding-bottom: 128px;

    .customer_form_inner {
        margin-top: 60px;

        .input-field-inner {
            margin-bottom: 60px;

            &:last-of-type {
                margin-bottom: 0;
            }

            p {
                margin-bottom: 10px;
                display: flex;
                flex-wrap: wrap;
                align-items: center;

                span {
                    font-size: 14px;
                    display: inline-block;
                }

                .required {
                    padding: 0 8px;
                    margin-inline: 5px;
                    background-color: #b8b8b8;
                }
            }

            div {
                input {
                    padding: 10px;
                    border: none;
                    box-shadow: none;
                }

                p {
                    margin-top: 10px;
                }
            }
        }
    }

    .send {
        position: relative;

        .--next {
            position: absolute;
            top: 36px;
            right: 0;
        }

        @media screen and (max-width: 750px) {
            .--next {
                top: 100px;
                left: 50%;
                right: auto;
                transform: translateX(-50%);
                -webkit-transform: translateX(-50%);
                -ms-transform: translateX(-50%);
            }
        }
    }

    .--return {
        top: 40px;

        &.--return::before {
            top: -60px;
            z-index: 1;
        }
    }

    @media screen and (max-width: 750px) {
        .--return {
            left: 50%;
            transform: translateX(-50%);
            -webkit-transform: translateX(-50%);
            -ms-transform: translateX(-50%);
        }
    }
}


/*ーーーーー
　　注文内容の確認ページ
ーーーーー*/
.confirmation-wrapper {
    margin-bottom: 75px;

    .confirmation-content {
        .c-confirm {
            background-color: #fff;

            .c-confirm__row {
                padding: 0 10px 10px;
                margin-bottom: 40px;
                border-bottom: 1px solid #707070;

                &:last-of-type {
                    margin-bottom: 0;
                    border-bottom: none;
                }

                .quantity {
                    display: flex;

                    &::after {
                        content: "点";
                    }
                }

                &.items {
                    display: flex;
                    flex-wrap: nowrap;
                    align-items: center;
                    gap: 40px;

                    .name-price_inner {
                        width: 100%;
                        display: flex;
                        justify-content: space-between;
                    }
                }
            }

            .c-confirm__label {
                font-size: 16px;

                span {
                    font-size: 14px;
                    display: inline-block;
                    margin-left: 10px;
                }
            }

            .c-confirm__value {
                font-size: 18px;
                font-weight: bold;
            }

            &.--p40 {
                padding: 40px;
            }

            &.--p20 {
                padding: 20px;
            }

            .total-item {
                display: flex;
                justify-content: space-between;
                padding-inline: 10px;

                div>span:nth-of-type(1) {
                    margin-right: 10px;
                }
            }
        }

        .total-price-finish {
            margin-top: 75px;

            .c-confirm {
                display: flex;
                justify-content: space-between;

                >div {
                    font-size: 28px;
                    font-weight: bold;
                    color: #AA0218;
                }
            }
        }
    }
}

@media screen and (max-width: 750px) {
    .confirmation-wrapper {

        .confirmation-content {
            .c-confirm {

                .c-confirm__row {
                    margin-bottom: 20px;

                    &.items {

                        .name-price_inner {
                            flex-direction: column;
                        }
                    }
                }

                &.--p40 {
                    padding: 20px;
                }
            }

            .total-price-finish {

                .c-confirm {

                    >div {
                        font-size: 20px;
                    }
                }
            }
        }
    }
}

.max750 {
    max-width: 750px;
    margin-inline: auto;
}

.confirmation-wrapper_2column {
    display: flex;
    justify-content: space-between;
    gap: 40px;

    >div {
        width: calc(100% / 2);
    }
}

@media screen and (max-width: 750px) {
    .confirmation-wrapper_2column {
        flex-direction: column;

        >div {
            width: 100%;
        }

        div:nth-of-type(1) {
            margin-bottom: 0;
        }
    }
}

/*ーーーーー
　　注文完了ページ
ーーーーー*/
.p-order_complete {
    .t-center {
        text-align: center;
    }

    .container {
        padding-block: 128px 200px;
    }

    .header_explanation {
        margin-top: 40px;
    }

    .order-complete-bottom {
        margin-top: 80px;
        position: relative;

        .top-send {
            display: flex;
            justify-content: center;

            a {
                color: #fff;
                text-align: center;
                width: 100%;
                max-width: 300px;
                padding: 15px 15px;
                background-color: #897654;
            }
        }

        .thanks_img {
            position: absolute;
            top: -100px;
            right: 10%;
            max-width: 160px;
        }
    }
}

@media screen and (max-width: 750px) {
    .p-order_complete {

        .order-complete-bottom {
            margin-top: 40px;

            .thanks_img {
                position: initial;
                margin: 0 auto 40px;
            }
        }
    }
}

/*ーーーーー
　　注文エラーページ
ーーーーー*/
.icon-error_img {
    margin-block: 100px 40px;

    img {
        max-width: 150px;

        @media screen and (max-width: 750px) {
            max-width: 130px;
        }
    }
}

.fax-error-send {
    margin-top: 80px;
    display: flex;
    justify-content: center;
    transition: all .5s;

    input.back_to_top_button {
        color: #fff;
        text-align: center;
        width: 100%;
        max-width: 300px;
        padding: 15px 15px;
        background: #897654;
        border: none;
        border-radius: 0;
        box-shadow: none;
    }

    input.back_to_top_button:hover {
        opacity: .7;
    }
}


/*ーーーーー
　　店舗案内ページ
ーーーーー*/
.p-shop-guide {
    background-image: url(../images/bg_container.png);
    background-repeat: repeat-y;
    background-size: 100% auto;
    background-position: right top;
    position: relative;

    .map-content {
        padding-block: 128px !important;
        position: relative;

        .icon-shop-guide {
            max-width: 120px;
            position: absolute;
            bottom: 100px;
            left: 10%;
        }
    }

    .p-container {
        padding: 0 40px 128px;
    }

    .p-belt-content {
        max-width: 960px;
        padding: 50px !important;
        margin-inline: auto;

        .p-belt-inner {
            display: flex;
            flex-wrap: nowrap;
            align-items: center;
            gap: 40px;

            .p-belt-content_ttl {
                position: relative;

                h2 {
                    font-size: clamp(28px, 4vw, 45px);
                    line-height: 1.3;
                    color: #012F40;
                }

                span {
                    font-size: clamp(14px, 1.2vw, 16px);
                    font-weight: bold;
                    color: #fff;
                    position: absolute;
                    top: 0;
                    right: 0;
                    padding: 10px;
                    background-color: #AB0218;
                }
            }

            .belt-center-line {
                border-right: 5px solid #AB0218;
                height: -webkit-fill-available;
            }

            .p-belt-content_text {
                font-size: 16px;
                font-weight: bold;
                color: #012F40;
                line-height: 2;
            }
        }
    }
}

@media screen and (max-width: 950px) {
    .p-shop-guide {

        .p-belt-content {
            padding: 0 !important;

            .p-belt-inner {
                flex-direction: column;
                gap: 20px;

                .p-belt-content_ttl {

                    h2 {
                        font-size: clamp(28px, 7vw, 55px);
                    }

                    span {
                        font-size: clamp(14px, 2.2vw, 22px);
                    }
                }

                .belt-center-line {
                    border-bottom: 5px solid #AB0218;
                    width: -webkit-fill-available;
                    height: auto;
                }
            }
        }
    }
}

@media screen and (max-width: 750px) {
    .p-shop-guide {

        .map-content {

            .icon-shop-guide {
                max-width: 100px;
                left: 50px;
                bottom: -50px;
            }
        }

        .p-container {
            padding-top: 60px;
        }

        .p-belt-content {

            .p-belt-inner {

                .p-belt-content_ttl {

                    h2 {
                        font-size: clamp(45px, 13vw, 90px);
                    }

                    span {
                        font-size: clamp(16px, 4.5vw, 30px);
                        top: 2.5%;
                    }
                }
            }
        }
    }
}

/* マップ関連 START */
.map-wrapper {
    position: relative;
    max-width: 2048px;
    /* 元画像の横幅。お好みでmax-width小さくしてもOK */
    margin: 0 auto;
}

.map-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

/* 共通：リンクの当たり判定だけを乗せる */
.map-link {
    position: absolute;
    display: block;

    /* デバッグ用：位置確認したいときはコメントアウト外す */
    /* outline: 1px solid rgba(255, 0, 0, 0.6); */

    /* 文字は画像側に描かれているので、ここでは隠してOK */
    font-size: 0;
}

/* ------- 札幌エリア側（左上） ------- */

/* エリア見出し 札幌エリア SAPPORO AREA */
.map-link--sapporo-area {
    top: 7%;
    left: 7%;
    width: 30%;
    height: 5%;
}

/* 新琴似店 SHINKOTONI */
.map-link--shinkotoni {
    top: 17.5%;
    left: 7%;
    width: 28%;
    height: 5%;
}

/* 山鼻店 YAMAHANA */
.map-link--yamahana {
    top: 24%;
    left: 7%;
    width: 28%;
    height: 5%;
}

/* 菊水元町店 KIKUSUIMOTOMACHI */
.map-link--kikusui-motomachi {
    top: 33.5%;
    left: 7%;
    width: 28%;
    height: 5%;
}

/* 清田店 KIYOTA */
.map-link--kiyota {
    top: 40.5%;
    left: 7%;
    width: 28%;
    height: 5%;
}

/* ------- 釧路エリア側（右上） ------- */

/* 釧路エリア KUSHIRO AREA */
.map-link--kushiro-area {
    top: 1%;
    left: 65%;
    width: 30%;
    height: 5%;
}

/* 新橋店 SHINBASHI */
.map-link--shinbashi {
    top: 11%;
    left: 66%;
    width: 28%;
    height: 5%;
}

/* 春採店 HARUTORI */
.map-link--harutori {
    top: 18%;
    left: 66%;
    width: 28%;
    height: 5%;
}

/* 木場店 KIBA */
.map-link--kiba {
    top: 24.8%;
    left: 66%;
    width: 28%;
    height: 5%;
}

/* ------- 十勝エリア側（右下） ------- */

/* 十勝エリア TOKACHI AREA */
.map-link--tokachi-area {
    top: 70%;
    left: 64%;
    width: 30%;
    height: 5%;
}

/* 音更店 otofuke */
.map-link--otofuke {
    top: 80.5%;
    left: 65.5%;
    width: 28%;
    height: 5%;
}

/* 札内店 SATSUNAI */
.map-link--satsunai {
    top: 87.5%;
    left: 65.5%;
    width: 28%;
    height: 5%;
}

/* 帯広西店 OBIHIRONISHI */
.map-link--obihironishi {
    top: 94%;
    left: 65.5%;
    width: 28%;
    height: 5%;
}

/* スマホで当たり判定ちょい広めにするなら */
@media (max-width: 750px) {
    .map-link {
        height: 5%;
    }

    /* 札幌エリア SAPPORO AREA */
    .map-link--sapporo-area {
        top: 8%;
        left: 6%;
        width: 40%;
        height: 18%;
    }

    /* 釧路エリア KUSHIRO AREA */
    .map-link--kushiro-area {
        top: 11%;
        left: 54%;
        width: 40%;
        height: 18%;
    }

    /* 十勝エリア TOKACHI AREA */
    .map-link--tokachi-area {
        top: 72%;
        left: 55%;
        width: 40%;
        height: 18%;
    }

    .map-link--shinkotoni,
    .map-link--yamahana,
    .map-link--kikusui-motomachi,
    .map-link--kiyota,
    .map-link--shinbashi,
    .map-link--harutori,
    .map-link--kiba,
    .map-link--otofuke,
    .map-link--satsunai,
    .map-link--obihironishi {
        display: none;
    }
}

/* マップ関連 END */


.p-shop-guide {
    .area-wrapper {
        .area-ttl {
            font-size: 28px;
            margin-bottom: 12px;
            display: flex;
            justify-content: space-between;
            align-items: center;

            &::after {
                content: "";
                height: 1px;
                width: 100%;
            }

            &.--sapporo_collar::after {
                background-color: #004575;
            }

            &.--sapporo_collar {
                color: #004575;
            }

            &.--tokachi_collar::after {
                background-color: #00552E;
            }

            &.--tokachi_collar {
                color: #00552E;
            }

            &.--kushiro_collar::after {
                background-color: #AB0218;
            }

            &.--kushiro_collar {
                color: #AB0218;
            }

            &.--sister-store_collar::after {
                background-color: #897654;
            }

            &.--sister-store_collar {
                color: #897654;
            }

            >span {
                width: 200px;
            }
        }

        #sister-store {
            span {
                width: 120px;
            }
        }

        #group-companies-area {
            >span {
                width: 400px;
            }
        }

        .sister-store_collar {
            color: #897654;
        }

        .area-inner {
            margin-bottom: 180px;

            .shop-content {
                display: flex;
                justify-content: space-between;
                gap: 20px;
                margin-top: 20px;

                >div {
                    width: calc(100% / 2 - 20px);
                }

                .shop-content_img {
                    >div {
                        margin-bottom: 20px;

                        &:last-of-type {
                            margin-bottom: 0;
                        }

                        img {
                            padding: 0;
                        }
                    }

                    .in-store-view iframe {
                        width: 100%;
                        height: 300px;
                        border: none;
                    }
                }

                .shop-content_detail {
                    display: flex;
                    flex-direction: column;
                    justify-content: space-between;

                    .shop-content_bt_inner {
                        display: flex;
                        justify-content: space-between;
                        gap: 10px;

                        a {
                            font-size: clamp(14px, 1.2vw, 16px);
                            color: #fff;
                            width: calc(100% / 2 - 10px);
                            padding: 10px;
                            display: flex;
                            align-items: center;
                            justify-content: center;
                            gap: 5px;

                            &.shop-bt_line {
                                background-color: #03C755;
                            }

                            &.shop-bt_order {
                                background-color: #AB0218;
                            }

                            img {
                                padding: 0;
                            }

                            img.icon-line {
                                width: 21px;
                            }

                            img.icon-order {
                                width: 26px;
                            }

                            img.icon-sankaku {
                                width: 10px;
                            }
                        }
                    }


                    .shop-content_syousai {
                        dl {
                            padding-bottom: 20px;
                            margin-block: 20px;
                            display: flex;
                            border-bottom: 1px solid #707070;
                            gap: 20px;

                            dt {
                                width: 80px;
                            }

                            dd {
                                margin: 0;
                            }

                            &:last-of-type {
                                margin-bottom: 0;
                            }
                        }

                    }
                }
            }

            .shop-content_map {
                margin-top: 40px;

                iframe {
                    width: 100%;
                    height: 320px;
                    border: none;
                }
            }
        }

        #hagoromotei-satuuti {
            margin-bottom: 40px;
        }
    }
}

@media screen and (max-width: 1000px) {
    .p-shop-guide {
        .area-wrapper {

            .area-inner {

                .shop-content {

                    .shop-content_detail {

                        .shop-content_bt_inner {
                            flex-direction: column;

                            a {
                                width: 100%;
                                gap: 15px;
                            }
                        }
                    }
                }
            }
        }
    }
}


@media screen and (max-width: 750px) {
    .p-shop-guide {
        .area-wrapper {
            .area-ttl {

                >span {
                    font-size: 26px;
                    width: 250px;
                }
            }

            #sister-store {
                span {
                    width: 150px;
                }
            }

            #group-companies-area {
                >span {
                    width: 300px;

                    .sp-text_small {
                        display: block;
                        font-size: 18px;
                    }
                }
            }

            .area-inner {

                .shop-content {
                    flex-direction: column;

                    >div {
                        width: 100%;
                    }
                }
            }
        }
    }
}

/* サイドのエリア選択 */
.p-shop-guide {

    .side-shopguide-area {
        padding: 12px;
        background-color: lab(100 0 0 / 0.8);
        position: fixed;
        bottom: 90px;
        right: 0;

        .side-shopguide-area-inner {
            text-align: center;

            >img {
                max-width: 44px;
                padding: 0;
                margin: 0;
            }

            ul {
                list-style: none;
                padding: 0;
                margin: 10px 0 0;

                li {
                    margin-bottom: 3px;

                    &:last-of-type {
                        margin-bottom: 0;
                    }

                    a {
                        color: #004575;
                        font-size: 16px;
                    }
                }
            }
        }
    }
}

@media screen and (min-width: 751px) {
    .p-shop-guide {
        .side-shopguide-area {
            #side-shopguide-area {
                display: none !important;
            }
        }
    }
}

@media screen and (max-width: 750px) {
    .p-shop-guide {
        .side-shopguide-area-inner {
            display: none;

            li {
                margin-bottom: 5px;

                a {
                    font-size: 14px;
                }
            }
        }

        .side-shopguide-area-inner.active {
            display: block;
        }

        #side-shopguide-area {
            font-size: 14px;
            cursor: pointer;
        }
    }
}



/*ーーーーー
　　SDG'Sページ
ーーーーー*/
.p-sdgs {

    .c-content-wrapper {

        h2 {
            color: #C80100;
            margin-bottom: 35px;
        }
    }

}

/* SDGsパララックスセクション */
.sdgs-explanation {
    position: relative;
    padding-block: 128px;
    /* padding-inline: 20px;
    background-image: url('../images/sdgs/bg_sdgs.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed; */

    .sdgs-key-visual {
        position: fixed;
        /* ★ 画面に固定（スクロールしても動かない） */
        width: 100vw;
        /* 画面幅いっぱい */
        top: 0;
        height: 100vh;
        /* 画面高さいっぱい */
        background-image: url(../images/sdgs/bg_sdgs.png);
        background-size: cover;
    }

    /* SDGsアイコン配置 */
    .sdgs-explanation-content {
        margin-bottom: 80px;
        position: relative;
        z-index: 2;

        .sdgs-explanation_ttl {
            max-width: 460px;
            margin-inline: auto;
            margin-bottom: 20px;

            img {
                max-width: 100%;
                height: auto;
            }
        }

        .sdgs-explanation_child {
            max-width: 800px;
            margin-inline: auto;

            ul {
                display: flex;
                flex-wrap: wrap;
                gap: 10px;
                list-style: none;
                padding: 0;
                margin: 0;
                justify-content: center;

                li {
                    flex: 0 0 calc((100% - 80px) / 9);
                    max-width: 80px;

                    img {
                        width: 100%;
                        height: auto;
                        display: block;
                        padding: 0;
                    }
                }
            }
        }
    }

    .sdgs-explanation_text {
        padding: 40px;
        background-color: lab(100 0 0 / 0.8);
        position: relative;
        z-index: 3;
    }
}

/* レスポンシブ対応 */
@media screen and (max-width: 750px) {
    .sdgs-explanation {
        .sdgs-explanation-content {
            margin-inline: 20px;
            margin-bottom: 40px;

            .sdgs-explanation_child {

                ul {
                    gap: 8px;

                    li {
                        flex: 0 0 calc((100% - 80px) / 6);
                        max-width: 60px;
                    }
                }
            }
        }

        .sdgs-explanation_text {
            padding: 20px;
            margin-inline: 20px;
        }
    }
}

.c-sdgs_content {
    .c-sdgs_content_ttl {
        display: flex;
        justify-content: space-between;
        align-items: center;

        >div {
            /* width: calc(100% / 2); */
        }

        .c-sdgs_content_main_img {
            width: 100%;
            max-width: 568px;

            img {
                padding: 0;
            }
        }

        h3 {
            font-size: 22px;
            color: #00552E;
            letter-spacing: 2;
            margin-bottom: 20px;
        }

        &.--img_right {
            flex-direction: row-reverse;
        }
    }

    .c-sdgs_content_img {
        margin-block: 20px;

        ul {
            padding: 0;
            margin: 0;
            list-style: none;
            display: flex;
            justify-content: center;
            gap: 10px;

            li {
                max-width: 100px;
                line-height: 0;

                img {
                    padding: 0;
                }
            }
        }
    }

    .c-sdgs_content_text {
        padding: 40px;
        border: 1px solid #00552E;
        background-color: #fff;

        h4 {
            font-size: 18px;
            padding: 15px 120px 15px 70px;
            background-color: #00552E;
            color: #fff;
            position: relative;
            left: -90px;
            width: fit-content;
        }

        ul {
            padding: 0 0 0 10px;
            margin: 40px 0 0 0;
            display: flex;
            justify-content: center;
            gap: 20px;
            flex-wrap: wrap;

            li {
                width: calc(100% / 2 - 10px);
            }
        }
    }
}

/* h3.ttl_number 自動採番 */
body.page-template-sdgs {
    counter-reset: sdgs-section-counter;

    .c-sdgs_content {
        counter-increment: sdgs-section-counter;

        .ttl_number span {
            font-size: 32px;

            &::after {
                font-size: 44px;
                content: "" counter(sdgs-section-counter) " ";
            }
        }
    }
}

@media screen and (max-width: 750px) {
    .c-sdgs_content {
        .c-sdgs_content_ttl {
            flex-direction: column;

            >div {
                width: 100%;
            }

            .c-sdgs_content_ttl_box {
                margin-bottom: 20px;
            }

            .c-sdgs_content_main_img {
                max-width: 100%;
                order: 2;

                img {}
            }

            h3 {
                font-size: 20px;
                margin-bottom: 0;
            }

            &.--img_right {
                flex-direction: column;
            }
        }

        .c-sdgs_content_img {

            ul {
                flex-wrap: wrap;
                justify-content: flex-start;

                li {
                    width: calc(100% / 4 - 10px);
                    max-width: none;

                    img {}
                }
            }
        }

        .c-sdgs_content_text {
            padding: 20px 30px;

            h4 {
                left: -40px;
                padding: 15px 40px 15px 30px;
            }

            ul {
                flex-direction: column;
                gap: 10px;
                margin: 20px 0 0 0;

                li {
                    width: 100%;
                }
            }
        }
    }

    body.page-template-sdgs {

        .c-sdgs_content {

            .ttl_number span {
                font-size: 26px;

                &::after {
                    font-size: 38px;
                }
            }
        }
    }
}

/*ーーーーー
　　こだわりページ こだわり3
ーーーーー*/
.kamishibai {
    width: 100%;
    padding-top: 0;
    position: relative;
    overflow: hidden;
    background-repeat: repeat-y;
    background-size: 100% auto;
    background-position: right top;
}

/* Swiper本体 */
.kamishibai-swiper {
    width: 100%;
    height: 70vh;
}

/* スライド */
.kamishibai-swiper .swiper-slide {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 画像：スライド全体にフィット */
.kamishibai-swiper .frame {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

/* テキスト */
.kamishibai-text {
    position: relative;
    z-index: 2;
    color: white;
    padding: 20px;
}

.kamishibai-text.text_right {
    text-align: right;
    margin-left: auto;
    margin-right: 5%;
}

.kamishibai-text.text_left {
    text-align: left;
    margin-right: auto;
    margin-left: 5%;
}

.kamishibai-text h3 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.kamishibai-text p {
    font-size: 1.2rem;
    line-height: 1.8;
}

/* ページネーション */
.kamishibai-swiper .swiper-pagination {
    right: 20px;
    left: auto;
    width: auto;
}

.kamishibai-swiper .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
    width: 12px;
    height: 12px;
    margin: 8px 0 !important;
}

.kamishibai-swiper .swiper-pagination-bullet-active {
    background: #ffffff;
}