﻿/*
ヘッダー検索窓
------------------------------ */
body.scrolled {
    .header-nav-func-list__item.--v-search {
        position: relative;
        top: -4px;
    }
}
.func-search__input {
    background-color: #f2f2f2;
    color: #717171;
}
.func-search__btn {
    background-color: #f2f2f2;
    color: #028690;
}
@media screen and (max-width: 767px) {
    .header-nav-func-list__item.--v-search {
        display: none;
    }
}

/*
TOP コンテンツ検索窓 (SP用)
------------------------------ */
.func-search-wrap-content {
    display: none;
}
@media screen and (max-width: 767px) {
    .func-search-wrap-content {
        display: block;
        padding-left: 30px;
        padding-right: 30px;
        margin-top: 40px;
    }
    .tag-search-section {
        margin-top: 40px !important;
    }
}

/*
TOP ピックアップ
------------------------------ */
.idx_pickup {
    padding-top: 100px;
}
.idx_pickup__list {
    max-width: 1166px;
    margin: 0 auto;

    > ul {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 36px;

        li {
            a {
                display: block;

                img {
                    width: 100%;
                }
            }
        }
    }
}
@media screen and (max-width: 767px) {
    .idx_pickup {
        padding-top: 100px;
    }
    .idx_pickup__list {
        max-width: 1166px;
        margin: 0 auto;

        > ul {
            display: flex;
            gap: 0;

            > li {
                width: 264px;
            }
        }
    }
}

.idx_pickup__list.swiper-container {
    .swiper-wrapper {
    }
    .swiper-slide {
    }
    .idx_pickup__list__next {
        width: 64px;
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        z-index: 1;

        img {
            width: 100%;
        }
    }
    .idx_pickup__list__prev {
        width: 64px;
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        z-index: 1;

        img {
            width: 100%;
        }
    }
}
@media screen and (min-width: 768px) {
    .idx_pickup__list.swiper-container {
        overflow: inherit;

        .swiper-wrapper {
            transform: none !important;
        }
        .swiper-slide {
        }
        .idx_pickup__list__next {
            display: none;
        }
        .idx_pickup__list__prev {
            display: none;
        }
    }
}

/*
TOP 首里城最中
------------------------------ */
.idx_shurijomonaka {
    .e-mv-01 {
        img {
            width: 100%;
        }
    }
}
.idx_shurijomonaka__inner {
    position: relative;
    padding-bottom: 316px;

    .e-list-01 {
        max-width: 1012px;
        margin: 0 auto;

        > ul {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 44px;

            li {
                position: relative;
                padding-top: 10px;
                display: flex;
                flex-direction: column;
                justify-content: space-between;

                img {
                    max-width: 100%;
                }

                .m-heading-01 {
                    position: absolute;
                    left: 0;
                    top: 0;
                    font-size: 20px;
                    font-weight: 600;
                    line-height: 1;
                }

                p {
                    line-height: 1.5;
                    margin-top: 8px;
                }

                .m-btn-01 {
                    margin-top: 16px;

                    a {
                        display: flex;
                        justify-content: center;
                        align-items: center;
                        border: 1px solid #070707;
                        width: 100%;
                        height: 48px;
                    }
                }
            }
        }
    }

    .e-dl-01 {
        text-align: center;
        margin-top: 140px;
        position: relative;
        z-index: 1;

        dt {
            font-size: 22px;
            font-weight: 600;
        }

        dd {
            margin-top: 60px;

            a {
                display: flex;
                justify-content: center;
                align-items: center;
                border: 1px solid #070707;
                width: 360px;
                height: 56px;
                margin: 0 auto;
                background-color: #ffffff;
            }
        }
    }

    .e-img-01 {
        position: absolute;
        bottom: 234px;
        left: 0;
        width: 184px;
    }
    .e-img-02 {
        position: absolute;
        bottom: 46px;
        left: 310px;
        width: 290px;
    }
    .e-img-03 {
        position: absolute;
        bottom: 140px;
        right: 0;
        width: 518px;
    }
    .e-deco-01 {
        position: absolute;
        bottom: 380px;
        left: 114px;
        width: 428px;
    }
    .e-deco-02 {
        position: absolute;
        bottom: 74px;
        right: 296px;
        width: 652px;
    }
}
@media screen and (max-width: 1500px) {
    .idx_shurijomonaka__inner {
        .e-img-01 {
            width: 120px;
        }
        .e-img-02 {
            width: 200px;
        }
        .e-img-03 {
            width: 360px;
        }
        .e-deco-01 {
            width: 300px;
        }
        .e-deco-02 {
            right: 200px;
            width: 456px;
        }
    }
}
@media screen and (max-width: 1180px) {
    .idx_shurijomonaka__inner {
        .e-list-01 {
            padding: 0 15px;

            > ul {
                gap: 20px;
            }
        }

        .e-img-01 {
            width: 96px;
        }
        .e-img-02 {
            width: 160px;
        }
        .e-img-03 {
            width: 288px;
        }
    }
}
@media screen and (max-width: 767px) {
    .idx_shurijomonaka__inner {
        padding-bottom: 210px;
        overflow: hidden;

        .e-list-01 {
            > ul {
                grid-template-columns: repeat(2, 1fr);
                gap: 24px;

                li {
                    .m-heading-01 {
                        font-size: 18px;
                    }

                    p {
                        margin-top: 12px;
                    }

                    .m-btn-01 {
                        a {
                            width: 100%;
                            height: 36px;
                        }
                    }
                }
            }
        }

        .e-dl-01 {
            margin-top: 170px;

            dt {
                font-size: 15px;
            }

            dd {
                margin-top: 24px;

                a {
                    width: 250px;
                    height: 50px;
                }
            }
        }

        .e-img-01 {
            bottom: 330px;
            left: -18px;
            width: 70px;
        }
        .e-img-02 {
            bottom: 84px;
            left: 40px;
            width: 100px;
        }
        .e-img-03 {
            bottom: 40px;
            right: -70px;
            width: 205px;
        }
        .e-deco-01 {
            bottom: 386px;
            left: 44px;
            width: 163px;
        }
        .e-deco-02 {
            bottom: 60px;
            right: 28px;
            width: 222px;
        }
    }
}

/*
TOP 新着商品
------------------------------ */
.idx_new-item__wrapper {
    background-color: #e7f3e9;
}
.idx_new-item {
    padding: 100px 0;
}
.idx_new-item__list {
    > ul {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 40px;

        > li {
            > a {
                display: flex;
                flex-direction: column;
                justify-content: space-between;
                height: 100%;

                .e-item-01 {
                    .m-img-01 {
                        width: 100%;
                        aspect-ratio: 1;
                        object-fit: cover;
                    }

                    .m-title-01 {
                        font-size: 14px;
                        line-height: 1.4;
                        margin-top: 20px;
                    }
                }

                .e-price-01 {
                    text-align: right;
                    font-size: 13px;
                    margin-top: 12px;
                }
            }
        }
    }
}
@media screen and (max-width: 767px) {
    .idx_new-item {
        padding: 70px 30px;
    }
    .idx_new-item__list {
        > ul {
            grid-template-columns: repeat(2, 1fr);
            gap: 20px 10px;

            > li {
                > a {
                    .e-item-01 {
                        .m-img-01 {
                            max-width: 100%;
                        }
                        .m-title-01 {
                            margin-top: 12px;
                        }
                    }

                    .e-price-01 {
                        margin-top: 4px;
                    }
                }
            }
        }
    }
}

/*
TOP OKINAWA the RYUKYU
------------------------------ */
.idx_okinawa-ryukyu__wrapper {
    background-image: url(https://rakuenokinawa.itembox.design/item/top/add202509/idx_okinawa-ryukyu_bg-01.webp);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.idx_okinawa-ryukyu {
    padding: 100px 0;
    padding-left: 0 !important;
    padding-right: 0 !important;
}
.idx_okinawa-ryukyu__ttl {
    text-align: center;

    .e-text-01 {
        display: block;
        font-size: 18px;
        font-weight: 600;
        color: #fecc1f;
        line-height: 1.4;

        br {
            display: none;
        }
    }

    .e-text-02 {
        display: block;
        margin-top: 20px;
    }
}
.idx_okinawa-ryukyu__table {
    width: 1120px;
    margin: 0 auto;

    img {
        max-width: 100%;
    }

    table {
        width: calc(100% + 20px);
        border-collapse: separate;
        border-spacing: 10px;
        margin: -10px;
    }

    .e-td-01 {
        width: 300px;
    }
    .e-td-02 {
        width: 500px;
    }
    .e-td-03 {
        width: 300px;
    }
    .e-td-04 {
        width: 300px;
    }
    .e-td-05 {
        width: 430px;
    }
    .e-td-06 {
        width: 370px;
    }
}
.idx_okinawa-ryukyu__list {
    display: none;
}
@media screen and (max-width: 767px) {
    .idx_okinawa-ryukyu__ttl {
        text-align: center;

        .e-text-01 {
            font-size: 23px;

            br {
                display: block;
            }
        }

        .e-text-02 {
            width: 80%;
            margin: 20px auto 0;

            img {
                width: 100%;
            }
        }
    }

    .idx_okinawa-ryukyu__table {
        display: none;
    }

    .idx_okinawa-ryukyu__list {
        display: block;
        position: relative;

        > ul {
            > li {
                width: 264px;

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

.idx_okinawa-ryukyu__list.swiper-container {
    .swiper-wrapper {
    }
    .swiper-slide {
    }
    .idx_okinawa-ryukyu__list__next {
        width: 64px;
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        z-index: 1;

        img {
            width: 100%;
        }
    }
    .idx_okinawa-ryukyu__list__prev {
        width: 64px;
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        z-index: 1;

        img {
            width: 100%;
        }
    }
}
@media screen and (min-width: 768px) {
    .idx_okinawa-ryukyu__list.swiper-container {
        overflow: inherit;

        .swiper-wrapper {
            transform: none !important;
        }
        .swiper-slide {
        }
        .idx_okinawa-ryukyu__list__next {
            display: none;
        }
        .idx_okinawa-ryukyu__list__prev {
            display: none;
        }
    }
}
