@charset "utf-8";

/* ++商品紹介++ */
.recommend {
    position: relative;
}

.recommend::before {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    height: 200px;
    background: var(--secondary);
}

.recBx section,
.inRecBx section {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 35px 25px;
    place-items: center;
    align-items: start;
}

.recItem {
    width: 100%;
    max-width: 360px;
}

.inRecBx .recItem {
    max-width: 480px;
}

.recLink {
    width: 100%;
}

.recImg {
    position: relative;
    width: 100%;
    aspect-ratio: 9 /7;
    overflow: hidden;
    background: #F8F2EB;
}

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

.recImg>img+.noImg {
    display: none;
}

.recItem .recImg img {
    transition: all .3s;
}

.recLink:hover .recImg img {
    transform: scale(1.1);
}

.recTit {
    margin: 10px 0 0;
    font-size: 18px;
    line-height: 1.5em;
    letter-spacing: 0.05em;
    font-weight: bold;
    text-align: center;
    font-family: var(--fontB);
    color: var(--black);
}

.recPrice {
    margin: 5px 0 0;
    font-size: 16px;
    line-height: 1.5em;
    letter-spacing: 0.05em;
    font-weight: bold;
}

.recTxt {
    margin: 10px 0 0;
    font-size: 14px;
    letter-spacing: .05em;
    line-height: 2.25em;
}

.inRecBx .recTit {
    text-align: left;
}

.webgene-pagination {
    grid-column: 1/2 !important;
}

/* ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ */

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

    .recommend::before {
        height: 350px;
    }

    .recBx section {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .inRecBx section {
        grid-template-columns: repeat(2, 1fr);
        gap: 60px 20px;
    }

    .webgene-pagination {
        grid-column: 1/3 !important;
    }

}

/* min-width: 768px ここまで */
/* ☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆ */

/* ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ */

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

    .recTit {
        margin: 20px 0 0;
        font-size: 24px;
    }

    .recPrice {
        font-size: 18px;
    }

    .recTxt {
        font-size: 16px;
    }


    .inRecBx section {
        grid-template-columns: repeat(2, 1fr);
        gap: 80px 40px;
    }

}

/* min-width: 1024px ここまで */
/* ☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆ */

/* ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ */

@media screen and (min-width:1440px) {
    .recBx section {
        gap: 160px;
    }
}

/* min-width: 1440px ここまで */
/* ☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆ */