.fs-c-quantity__message {
    top: 3px;
    margin-top: -60px;
    left: 105%;
}

#fs_ProductDetails .fs-c-quantity {
    position: relative;
}

#fs_MyPageTop .tit_check {
    background-image: url(https://kojimaya.itembox.design/item/common/img/bg_nav_mypage.png), url(https://kojimaya.itembox.design/item/common/img/tit_check.svg);
    background-size: 100vw auto, 8px 8px;
    background-position: right 0px center, left 0px center;
    background-repeat: no-repeat, repeat;
    background-blend-mode: multiply;
}

.logout.my-false {
    display: none;
}

/*add*/

.dr_btn:hover {
    color: #fff !important;
}

.fs-body-category-kowake .fs-c-productList__list {
    display: flex;
    gap: 50px 3%;
    flex-wrap: wrap;
}

.fs-body-category-kowake .fs-c-productList__list__item {
    margin-bottom: 0;
    width: 22.75%;
}

.fs-body-category-kowake .fs-c-productListItem form {
    display: block;
}

.fs-body-category-kowake .fs-c-productListItem__imageContainer {
    width: 100%;
}

.fs-body-category-kowake .fs-c-productListItem__imageContainer img {
    width: 100%;
    height: auto;
    display: block;
}

.fs-body-category-kowake .fs-c-productList__list__item .fs-c-button--plain {
    width: 100%;
}

@media (max-width: 767px) {
    .fs-body-category-kowake .fs-c-productList__list {
        display: grid;
        gap: 50px 4%;
        grid-template-columns: repeat(2, 48%);
    }

    .fs-body-category-kowake .fs-c-productList__list__item {
        width: 100%;
    }

    .fs-body-category-kowake .fs-c-productListItem__image {
        min-width: 100% !important;
        width: 100%;
        min-height: auto !important;
        height: 100%;
    }
}

/*　AIレコメンド見出し整形*/
.detail__recom {
    max-width: 1120px;
    margin: 0 auto;
}

/*　AIレコメンド見出し非表示*/
.fs-p-heading--lv2 {
    display: none;
}

/*　AIレコメンド商品名下線*/
.fr3-item__link {
    text-decoration: underline;
}

/*　AIレコメンドランキング数字非表示*/
.fr3-item__rankContainer {
    display: none !important;
}

/* 星レビューcssここから */
.productRating {
    display: flex;
    align-items: flex-end;
    flex-wrap: wrap;
}

.ratingcount-0 {
    display: none;
}

.fs-c-rating {
    display: flex;
}

.fs-c-rating__value-number p {
    text-decoration: underline;
}

.fs-c-rating__value-number p:hover {
    text-decoration: none;
}

.fs-c-rating__value-number {
    display: flex;
}

.fs-c-rating__value-number a {
    padding: 0 4px;
}

/* 星レビューcssここまで */

@media screen and (min-width: 960px) {
    .-mbp {
        margin: 0 auto 60px;
    }
}

@media screen and (max-width: 959px) {
    #fs_ProductCategory .cp_qa-tit--box {
        width: 90%;
        margin-inline: auto;
    }
}

.flex {
    display: flex;
}

.grid {
    display: grid;
}

.grid-cols-2 {
    grid-template-columns: repeat(2, 1fr);
}

.align-center {
    align-items: center;
}

.gap-1 {
    gap: .4rem;
}

.gap-2 {
    gap: .8rem;
}

.gap-3 {
    gap: 1.2rem;
}

.gap-4 {
    gap: 1.6rem;
}

.gap-5 {
    gap: 2rem;
}

.gap-6 {
    gap: 2.4rem;
}

.gap-7 {
    gap: 2.8rem;
}

.gap-8 {
    gap: 3.2rem;
}

.gap-9 {
    gap: 3.6rem;
}

.gap-10 {
    gap: 4rem;
}

.w-9 {
    width: 90%;
}

.underline {
    text-decoration: underline;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.grow {
    flex-grow: 1;
}

.w-full {
    width: 100%;
}

.py-4 {
    padding-block: 4rem;
}

.flex-row {
    flex-direction: row;
}

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

.flex-col {
    flex-direction: column;
}

.flex-col-reverse {
    flex-direction: column-reverse;
}

.block {
    display: block;
}

.text-bold {
    font-weight: bold;
}

.text-lg {
    font-size: 125%;
}

.text-md {
    font-size: 110%;
}

.text-sm {
    font-size: 90%;
}

.text-xs {
    font-size: 80%;
}

@media screen and (min-width: 768px) {
    .md\:flex {
        display: flex;
    }

    .md\:grid {
        display: grid;
    }

    .md\:grid-cols-2 {
        grid-template-columns: repeat(2, 1fr);
    }

    .md\:w-full {
        width: 100%;
    }

    .md\:flex-row {
        flex-direction: row;
    }

    .md\:flex-row-reverse {
        flex-direction: row-reverse;
    }

    .md\:flex-col {
        flex-direction: column;
    }

    .md\:flex-col-reverse {
        flex-direction: column-reverse;
    }

    .md\:text-lg {
        font-size: 125%;
    }
}


@media screen and (min-width: 960px) {
    lg:\.w-full {
        width: 100%;
    }
}

.fs-c-subgroupList.cat_nuts-introduction {
    @media screen and (max-width: 767px) {

        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 16px;

        .fs-c-subgroupList__link,
        .fs-c-subgroupList__link_new {
            grid-template-columns: 100%;
            gap: 16px;
            padding: 5%;
            background: #f7ede1;
        }

        .fs-c-subgroupList__fgr_new {
            grid-template-columns: 100%;
            gap: 16px;
        }

        .fs-c-subgroupList__image {
            grid-column: unset;
            grid-row: unset;
            margin-right: 0;
        }

        .fs-c-subgroupList__label,
        .fs-c-subgroupList__fct_new {
            grid-column: unset;
            grid-row: unset;
            text-align: center;
        }

        .fs-c-subgroupList__comment,
        .fs-c-subgroupList__comment_new {
            display: none;
        }
    }
}

.flywheel-recommend__frame.cat_nuts-recommend {
    .scroll-hint-icon-wrap {
        z-index: 1000000;
    }
    .fs-c-productListCarousel {
        margin-bottom: 0;
    }

    .fs-c-productListCarousel__list__item {
        display: inline-flex !important;
        flex-direction: column;
        margin: 0;
        max-width: 208px;

        @media screen and (max-width: 767px) {
            max-width: 240px;
        }
    }

    .fs-c-productListItem__imageContainer {
        width: 100%;
        order: 1;
        margin-bottom: 8px;
    }

    .fs-c-productListItem__image {
        min-width: 240px;
        min-height: 240px;

        @media screen and (min-width: 960px) {
            min-width: unset;
            min-height: unset;
        }
    }

    .fs-c-productMarks {
        order: 2;
        zoom: 0.75;
    }

    .fs-c-productListItem__productName {
        order: 3;
        margin: 0;
    }

    .fs-c-productListItem__prices {
        order: 4;
    }

    .fs-c-productName__copy {
        font-size: 12px;
        line-height: 1.4;
    }

    .fs-c-productName__name {
        font-size: 16px;
        line-height: 1.3;
    }

    .fs-c-productPrice {
        font-size: 14px;
    }

    .fs-c-productListItem__control {
        display: none;
    }

    .slick-track {
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        gap: 16px;
        overflow: inherit !important;
        width: max-content !important;
        transform: none !important;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;

        &::before,
        &::after {
            content: none;
        }
    }

    .slick-list {
        overflow-x: scroll !important;
    }

    @media screen and (min-width: 960px) {}
}

.flywheel-recommend__frame.nuts_rank {
    overflow-x: scroll;

    .fr3-productListStatic {
        width: max-content !important;
        grid-template-columns: repeat(10, 220px);
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
    }

}

.fs-c-productListItem form {
    flex-direction: column;
}

.icon-arrow-down {
    position: relative;

    &.f_guide-btn--act {
        padding-right: 50px;
    }

    &::after {
        position: absolute;
        right: 1em;
        top: 50%;
        transform: translateY(-50%);
        content: '';
        width: 1em;
        height: .5em;
        background: white;
        clip-path: polygon(0 0, 2px 0, 50% calc(100% - 2px), calc(100% - 2px) 0, 100% 0, 50% 100%);
    }
}

.cate_introtxt--or .cate_dry--link-con {
    width: auto;
}

.mt-1:not(:root) {
    margin-top: .4rem;
}

.mt-2:not(:root) {
    margin-top: .8rem;
}

.mt-3:not(:root) {
    margin-top: 1.2rem;
}

.mt-4:not(:root) {
    margin-top: 1.6rem;
}

.mt-5:not(:root) {
    margin-top: 2rem;
}

.mt-6:not(:root) {
    margin-top: 2.4rem;
}

.mt-7:not(:root) {
    margin-top: 2.8rem;
}

.mt-8:not(:root) {
    margin-top: 3.2rem;
}

.mt-9:not(:root) {
    margin-top: 3.6rem;
}

.mt-10:not(:root) {
    margin-top: 4rem;
}

.mt-15:not(:root) {
    margin-top: 6rem;
}

.mt-_4:not(:root) {
    margin-top: -1.6rem;
}

.mb-1:not(:root) {
    margin-bottom: 0.4rem;
}

.mb-2:not(:root) {
    margin-bottom: 0.8rem;
}

.mb-3:not(:root) {
    margin-bottom: 1.2rem;
}

.mb-4:not(:root) {
    margin-bottom: 1.6rem;
}

.mb-5:not(:root) {
    margin-bottom: 2rem;
}

.mb-6:not(:root) {
    margin-bottom: 2.4rem;
}

.mb-7:not(:root) {
    margin-bottom: 2.8rem;
}

.mb-8:not(:root) {
    margin-bottom: 3.2rem;
}

.mb-9:not(:root) {
    margin-bottom: 3.6rem;
}

.mb-10:not(:root) {
    margin-bottom: 4rem;
}

.mb-15:not(:root) {
    margin-bottom: 6rem;
}

.mb-0:not(:root) {
    margin-bottom: 0;
}

.justify-center {
    justify-content: center;
}

.flex-1 {
    flex: 1;
}

.text-black {
    color: #000;

    &.icon-arrow-down::after {
        background: #000;
    }
}

.category-guide-button {
    display: flex;
    align-items: center;
    gap: 26px;
    padding: 9px 40px 9px 28px;
    border-radius: 10px;
    background: #F3F4D7;
    text-align: center;
    font-weight: bold;
    color: #000;

    &.has-large-font {
        gap: 12px;
        padding: 9px 40px 9px 12px;

        @media (min-width: 1024px) {
            justify-content: space-between;
            padding: 9px 40px 9px 12%;

            &::before {
                content: '';
                display: inline-block;
                width: 1px;
                order: 1;
            }
        }
    }

    &.icon-arrow-down::after {
        background: #000;
    }

    >img {
        flex-shrink: 0;
    }
}

.f_guide-btn--actgray:not(:root) {
    color: #000 !important;
    background-color: #eeeeee;

    &.icon-arrow-down::after {
        background: #000;
    }
}

.fs-body-category-dried-fruit .fs-c-productList__list__item .fs-c-button--plain {
    width: 100%;
    flex-grow: 1;
}