.sub__mv--container {
    white-space: nowrap;
}

.flower__title {
    display: flex;
    justify-content: center;
    align-items: center;
    color: #77917B;
    gap: 8px;
    margin-bottom: 17px;
}

.flower__title h2 {
    font-size: 28px;
    padding-bottom: 2px;
}

.flower__title .en {
    font-size: 22px;
}

.flower__text {
    text-align: center;
    margin-bottom: 65px;
    line-height: 1.8;
}

@media screen and (max-width: 768px) {

    .flower__title h2 {
        font-size: 16px;
        padding-bottom: 2px;
    }

    .flower__title .en {
        font-size: 12px;
    }

    .flower__text {
        margin-bottom: 45px;
    }
}

.event__info--text {
    font-size: 12px;
    line-height: 1.8;
    text-align: center;
    margin-bottom: 80px;
}

.event__btn {
    margin: 60px auto 30px;
    max-width: 1440px;
}

.event__btn .inner--medium {
    width: 79%;
}

.event__sub--btn {
    display: flex;
    flex-wrap: wrap;
    /* 折り返し */
    gap: 10px 16px;
    justify-content: space-between;
    padding: 0;
    list-style: none;
}


.event__sub--btn li {
    flex: 1 1 calc(16% - 16px);
    color: #77917B;
    line-height: 1.8;
    font-weight: 700;
    padding: 2px 10px;
    border: 1px solid #77917B;
    border-radius: 50px;
    position: relative;
    display: inline-block;
    text-align: center;
    transition: all 0.3s ease-in-out;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    min-width: 130px;
}

.event__sub--btn li[data-tag="バレンタイン／ホワイトデー"] {
    flex: 1 1 280px;
}

.event__sub--btn li:hover {
    background-color: #77917B;
    color: #fff;
}

.event__sub--btn li.active {
    background-color: #77917B;
    color: #fff;
}

.scrollbar {
    display: none;
}

@media (max-width: 768px) {
    .event__sub--btn {
        flex-wrap: nowrap;
        gap: 0 8px;
        padding-bottom: 16px;
    }

    .event__sub--btn li {
        font-size: 13px;
        min-width: 100px;
    }

    .event__btn .inner--medium {
        width: 91%;
    }

    .event__sub--btn li[data-tag="バレンタイン／ホワイトデー"] {
        min-width: 228px;
    }

    .event__sub--btn li[data-tag="クリスマス"],
    .event__sub--btn li[data-tag="お正月／迎春"],
    .event__sub--btn li[data-tag="ハロウィン"] {
        min-width: 126px;
    }

    .scroll-container {
        position: relative;
        overflow-x: auto;
        overflow-y: hidden;
        scrollbar-width: none;
    }

    .scroll-container::-webkit-scrollbar {
        display: none;
        /* Chrome, Safari */
    }

    .scrollbar {
        display: block;
        position: relative;
        width: 100%;
        height: 2px;
        background-color: #E2E8DE;
        border-radius: 4px;
        overflow: hidden;
    }

    .scrollbar-thumb {
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        background-color: #77917B;
        /* 現在位置 */
        border-radius: 4px;
        width: 16%;
        /* JSで動的に更新 */
    }

    .event__info--text {
        margin-bottom: 60px;
    }

}

.items-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 60px 70px;
    max-width: 1000px;
    margin: 0 auto;
}

.items-grid img {
    border-radius: 4px;
}

.card {
    text-align: center;
}

.card p {
    color: #77917B;
    margin-top: 10px;
    font-weight: 700;
}

.pagination {
    list-style: none;
    display: flex;
    justify-content: center;
    position: relative;
    gap: 30px;
    margin-top: 60px;
    font-size: 20px;
    margin-bottom: 100px;
}

.pagination .btn__arrow {
    background-color: #77917B;
    padding: 14px 6px;
    border-radius: 2px;
}

.pagination li {
    cursor: pointer;
    padding: 0px 6px;
}

.pagination li.active {
    color: #4B6550;
    border-bottom: 1px solid #4B6550;
}

.pagination li.disabled {
    opacity: 0.3;
    cursor: default;
}

.left {
    transform: rotate(-180deg);
    top: 0;
    right: 67%;
}

.right {
    left: 67%;
    top: 50%;
    right: inherit;
}

@media (max-width: 1200px) {

    .items-grid {
        gap: 40px 30px;
    }

    .right {
        left: 70%;
    }

    .left {
        right: 70%;
    }
}

@media (max-width: 910px) {
    .right {
        left: 74%;
    }

    .left {
        right: 74%;
    }
}

@media (max-width: 768px) {
    .items-grid {
        gap: 50px 16px;
        grid-template-columns: repeat(2, 1fr);
    }

    .right {
        left: 80%;
    }

    .left {
        right: 80%;
    }

    .pagination li {
        padding: 0;
    }
}

@media (max-width: 480px) {
    .right {
        left: 89%;
    }

    .left {
        right: 89%;
    }
}

.flower-cta {
    position: relative;
    overflow: hidden;
    height: 207px;
    z-index: 1;
}

.flower-cta::before {
    position: absolute;
    content: "";
    background-image: linear-gradient(0deg, #e2e8de, #f5f3f1);
    width: 100%;
    height: 120px;
    top: 0;
    left: 0;
    z-index: -1;
}

.flower-cta::after {
    content: "OHANAYA HIIRAGI OHANAYA HIIRAGI OHANAYA HIIRAGI OHANAYA HIIRAGI OHANAYA HIIRAGI OHANAYA HIIRAGI OHANAYA HIIRAGI OHANAYA HIIRAGI OHANAYA HIIRAGI OHANAYA HIIRAGI";
    position: absolute;
    top: 48%;
    left: 0;
    font-family: "Marcellus", serif;
    display: inline-block;
    font-size: 55px;
    font-weight: 700;
    color: rgba(0, 0, 0, 0.02);
    white-space: nowrap;
    transform: translateY(-50%);
    animation: marquee 100s linear infinite;
    z-index: -1;
}

@keyframes marquee {
    0% {
        transform: translateX(0) translateY(-50%);
    }

    100% {
        transform: translateX(-50%) translateY(-50%);
    }
}

.flower-cta__container {
    display: flex;
    justify-content: center;
    gap: 20px;
    align-items: center;
    background-color: #fff;
    color: #745C4C;
    line-height: 1.8;
    margin: 50px auto 0;
    width: 93%;
    padding: 22px 20px;
    border-radius: 4px;
    max-width: 900px;
}

.flower-cta__img {
    background-color: #E2E8DE;
    width: 115px;
    height: 90px;
    position: relative;
    z-index: 1;
    border-radius: 4px;
}


.flower-cta__img::after {
    background-image: url(/image/smp-img.png);
    position: absolute;
    content: "";
    height: 89px;
    width: 115px;
    z-index: 2;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.flower-cta__img::before {
    background-image: url(/image/smp-img-sub.png);
    position: absolute;
    content: "";
    z-index: 3;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    width: 143px;
    height: 97.2px;
    left: -16px;
    top: -8px;
}

.flower-cta__text--wrap {
    padding-left: 30px;
    width: 70%;
}

@media screen and (max-width: 1200px) {
    .flower-cta__container {
        font-size: 14px;
        width: 100%;
        gap: 10px;
    }

    .flower-cta__text--wrap {
        padding-left: 20px;
    }
}

@media screen and (max-width: 768px) {
    .flower-cta__container {
        font-size: 12px;
    }

    .category__main--wrap {
        margin-bottom: 30px;
    }

    .flower-cta::after {
        font-size: 35px;
    }

}

@media screen and (max-width: 480px) {
    .flower-cta__img::after {
        width: 80px;
    }

    .flower-cta__img::before {
        width: 100px;
    }

    .flower-cta__text--wrap {
        padding-left: 10px;
    }

    .flower-cta__img {
        width: 75px;
        height: 90px;
    }

    .flower-cta__container {
        padding: 18px 10px;
    }
}

.content-nav {
    margin: 100px auto 130px;
}

@media screen and (max-width: 768px) {
    .content-nav {
        margin: 80px auto 110px;
    }
}