.campaign {
    margin-top: 40px;
}

.cat-ttl::before {
    position: absolute;
    content: url(/search_top/202001_renewal/images/c60051070/ttl_lines_sp.png);
    left: -20px !important;
    top: 0;
}

.cat-ttl::after {
    position: absolute;
    content: url(/search_top/202001_renewal/images/c60051070/ttl_lines_sp.png);
    right: -20px !important;
    top: 0;
}

.service-list {
    display: flex;
    justify-content: space-between;
}

.service-box {
    width: 31%;
}

.special-list {
    display: flex;
    justify-content: space-between;
}

.special-box {
    width: 48%;
}

.intro-text {
    display: block;
    width: 100%;
    line-height: 1.6rem;
    font-size: 16px;
    margin: 0 auto 30px;
}

.cat-ttl {
    position: relative;
    font-size: 24px;
    color: #9C75CC;
    margin-bottom: 20px;
}

.tab-link.active {
    color: #fff;
    background: #004ea2;
}

.tab-content {
    display: none;
    margin: 30px 0px 0px;
}

.renking-carousel {
    .tab-link {
        display: block;
        padding: 7px 15px;
        border-radius: 30px;
        font-weight: bold;
        margin: 0 8px;
    }

    .slick-prev,
    .slick-next {
        font-size: 0;
        line-height: 0;
        position: absolute;
        top: 40%;
        margin-top: -30px;
        display: block;
        width: 90px;
        height: 90px;
        padding: 0;
        cursor: pointer;
        color: transparent;
        border: none;
        outline: 0;
        z-index: 900;
        transform: scale(0.6);
    }
}

@media screen and (min-width: 768px) {
    .renking-carousel {
        .slick-initialized .slick-slide {
            display: block;
            width: auto !important;
            padding: initial !important;
        }
    }
}

.image-modal {
    border: none;
    padding: 0;
    max-width: min(90vw, 1000px);
}

.image-modal img {
    display: block;
    width: 100%;
    height: auto;
}

.image-modal::backdrop {
    background: rgba(0, 0, 0, 0.6);
}

#imageModal {
    margin: auto;
}

.slick-list {
    width: 100%;
}

.mv {
    background-image: none;
    content: "";
    min-height: auto;
    margin-bottom: 20px;
    display: block;
    border: none;
    background-size: cover;
    background-repeat: no-repeat;
}

section#nav {
    background: #F4EBFF;
    margin-bottom: 40px;
}

.js-modal-open {
    color: #1a0dab;
    font-size: 16px;
    margin-top: -20px;
    margin-bottom: 20px;
}

.cr-logo {
    width: 60%;
    margin: 0 auto 10px;
}

.slick-slide {
    padding: 12px;
}

.buyer-comment-box {
    margin: 10px 0;
}

@media screen and (min-width: 768px) {
    .cat-ttl {
        position: relative;
        font-size: 24px;
        color: #9c75cc;
        margin-bottom: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 16px;
        white-space: nowrap;
        /* ★追加：テキストの折り返しを禁止 */
    }

    .cat-ttl::before,
    .cat-ttl::after {
        content: "";
        position: static;
        flex: 0 999 318px;
        min-width: 0;
        /* ★変更：60px → 0（装飾は消えるまで縮める） */
        height: 39px;
        background: url("/search_top/202001_renewal/images/c60051070/ttl_lines_pc.png") no-repeat center / contain;
    }

    .brand {
        .slick-prev {
            left: -3%;
            top: 65%;
        }

        .slick-next {
            right: -3%;
            top: 65%;
        }
    }

    .pickup-item {
        .slick-prev {
            left: -1%;
            top: 41%;
        }

        .slick-next {
            right: -1%;
            top: 41%;
        }
    }

}


/* @media screen and (max-width: 767px) {

    .cat-ttl {
        white-space: normal;
    }

    .cat-ttl::before,
    .cat-ttl::after {
        background-image: url("/search_top/202001_renewal/images/c60051070/ttl_lines_sp.png");
        height: 24px;
        flex-basis: 120px;
        transform: none;
    }
} */

@media screen and (max-width: 767px) {
    .intro-text {
        display: block;
        width: 95%;
        line-height: 1.6rem;
        font-size: 14px;
        margin: 0 auto 30px;
    }

    .renking-carousel {
        .tab-link {
            display: block;
            padding: 7px 15px;
            border-radius: 30px;
            font-weight: bold;
        }
    }

    .renking-carousel {
        .slick-initialized .slick-slide {
            display: block;
            padding: initial;
            width: 100%;
            width: auto !important;
        }
    }

    .pickup-item {
        .slick-prev {
            left: -1%;
            top: 41%;
        }

        .slick-next {
            right: -1%;
            top: 41%;
        }
    }

}

.item-name_pickup {
    margin-top: 10px;
}

@media screen and (max-width: 767px) {

    button.btn,
    a.btn {
        padding: 10px 0;
    }

    .renking-carousel {
        .slick-initialized .slick-slide {
            display: block;
            padding: initial;
            width: 100%;
            width: auto !important;
        }

        .slick-prev {
            background: url(/search_top/202001_renewal/images/chugen/slide_prev2.png) 0 0 no-repeat;
            left: -8%;
        }

        .slick-next {
            background: url(/search_top/202001_renewal/images/chugen/slide_next2.png) 0 0 no-repeat;
            right: -13%;
        }

        .slick-list.draggable {
            padding: 0% !important;
        }
    }

    .brand {
        .slick-prev {
            transform: scale(1);
            top: 60%;
            left: -2%;
        }

        .slick-next {
            transform: scale(1);
            top: 60%;
            right: -2%;
        }
    }

    .cat-ttl {
        position: relative;
        font-size: 18px;
        color: #9C75CC;
        margin-bottom: 30px;
    }

    .ttl-category-gift p::before {
        content: "";
        position: absolute;
        display: block;
        width: 10px;
        height: 10px;
        top: 70%;
        left: 0px;
        -webkit-transform: translateY(-25%) rotate(0deg);
        transform: translateY(-25%) rotate(90deg);
        border: 5px solid transparent;
        border-left: 7px solid #9C75CC;
    }

    .rank-ttl {
        font-size: 16px;
    }
}