@charset "utf-8";
/*
|---------------------------------------------------------------
| バイヤーおすすめ季節のグルメ
|---------------------------------------------------------------
*/
:root {
    --ep-color-foreground: #333333;
    --ep-color-primary: #825414;
    --ep-color-emphasis: #14823C;
    --ep-color-buy-foreground: #ffffff;
    --ep-color-buy-background: #C81E28;
}

.contents_ > .free_space5,
.wrapper_:not(:has(.mainframe_)) > .free_space5 {
    display: none;
}

.mainframe_ .e-buyerpu { /* PC */
    --ep-container-padding-x: 0px;
    --ep-section-padding-y: 40px;
    --ep-section-padding-x: 8px;
    --ep-section-gap: 30px;
}
.wrapper_:not(:has(.mainframe_)) .e-buyerpu { /* SP */
    --ep-container-padding-x: min(15px, 3%);
    --ep-section-padding-y: 25px;
    --ep-section-padding-x: 15px;
    --ep-section-gap: 20px;
}

.e-buyerpu {
    container-type: inline-size;
    display: block;
    width: 840px;
    max-width: 100%;
}
.e-buyerpu__content {
    display: block;
    width: 100%;
    padding: 0 var(--ep-container-padding-x);
}

.e-buyerpu-mv {
    display: block;
    width: 100%;
    margin: 0 0 clamp(20px, 4.8cqw, 40px);
}
.e-buyerpu-mv img {
    display: block;
    width: 100%;
    height: auto;
}

.e-buyerpu-title {
    display: block;
    width: 100%;
    margin: 0 0 0.5em;
    color: var(--ep-color-foreground);
    font-size: clamp(18px, 2.86cqw, 26px);
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
}

.e-buyerpu-lead {
    display: block;
    width: 100%;
    margin: 0 0 clamp(25px, 5.95cqw, 50px);
    color: var(--ep-color-foreground);
    font-size: clamp(14px, 2.15cqw, 18px);
    line-height: 1.78;
    text-align: center;
}

/*
 * Nav
------------------------------------------------*/
.e-buyerpu-nav {
    --ep-btn-padding-y: 0.75em;
    display: block;
    width: 100%;
    margin: 0 0 clamp(15px, 3.58cqw, 30px);
}
.e-buyerpu-nav > ul {
    --ep-gap: clamp(5px, 1.2cqw, 10px);
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--ep-gap);
}
.e-buyerpu-nav > ul > li {
    container-type: inline-size;
    width: auto;
    flex: 0 1 calc((100% - var(--ep-gap) * 2) / 3);
}
.e-buyerpu-nav > ul > li > a {
    --ep-btn-arrow-size: 0.62em;
    --ep-btn-arrow-offset: 0.5em;
    display: block;
    width: 100%;
    padding: var(--ep-btn-padding-y) 0.5em calc(var(--ep-btn-arrow-size) * 1.5 + var(--ep-btn-arrow-offset));
    position: relative;
    font-size: clamp(14px , 6.8cqw, 18px);
    font-weight: 700;
    line-height: 1.5;
    text-align: center;
    color: var(--ep-nav-btn-color-foreground, var(--ep-color-primary)) !important;
    background-color: var(--ep-nav-btn-color-background, #ffffff) !important;
    text-decoration: none !important;
    border: 1px solid var(--ep-nav-btn-border-color, var(--ep-color-primary));
    border-radius: 0.28em;
    overflow: hidden;
}
.e-buyerpu-nav > ul > li > a[href]::after {
    content: "";
    display: block;
    width: var(--ep-btn-arrow-size);
    height: var(--ep-btn-arrow-size);
    border-style: solid;
    border-width: 0 1px 1px 0;
    border-color: currentColor;
    transform: rotate(45deg);
    position: absolute;
    left: 0;
    right: 0;
    bottom: var(--ep-btn-arrow-offset);
    margin: auto;
}

/*
 * Section
------------------------------------------------*/
.e-buyerpu-section {
    display: block;
    width: 100%;
    margin: 0 0 var(--ep-section-gap) 0;
    padding: var(--ep-section-padding-y) var(--ep-section-padding-x);
    color: var(--ep-section-color-foreground, var(--ep-color-foreground));
    background-color: var(--ep-section-color-background, #FDFBF4);
}

.e-buyerpu-section-title {
    display: block;
    width: 100%;
    margin: 0 0 0.5em;
    color: var(--ep-color-foreground);
    font-size: clamp(18px, 3.35cqw, 28px);
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
}

.e-buyerpu-section-lead {
    display: block;
    width: 100%;
    margin: 1.5em 0;
    font-size: clamp(13px, 1.85cqw, 15px);
    font-weight: 400;
    line-height: 1.6;
    text-align: center;
}

.e-buyerpu-section-nav {
    width: 100%;
    margin: clamp(15px, 3.58cqw, 30px) 0;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}
.e-buyerpu-section-nav-btn {
    --ep-btn-arrow-size: 0.62em;
    --ep-btn-arrow-offset: 1.01em;
    display: block;
    width: 21.11em;
    max-width: 100%;
    margin: 0 auto;
    padding: 0.875em calc(var(--ep-btn-arrow-size) * 1.5 + var(--ep-btn-arrow-offset));
    position: relative;
    font-size: clamp(13px, 2.15cqw, 18px);
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
    color: var(--ep-section-btn-color-foreground, #ffffff) !important;
    background-color: var(--ep-section-btn-color-background, var(--ep-color-primary)) !important;
    border-color: var(--ep-section-btn-color-background, var(--ep-color-primary));
    border-width: 2px;
    border-style: solid;
    text-decoration: none !important;
    border-radius: 3.35em;
    overflow: hidden;
}
.e-buyerpu-section-nav-btn > small {
    display: block;
    font-size: 0.778em;
    font-weight: 400;
}
.e-buyerpu-section-nav-btn > b {
    display: block;
    font-size: 1em;
    font-weight: 700;
}
.e-buyerpu-section-nav-btn > span {
    display: block;
    font-size: 1em;
}
.e-buyerpu-section-nav-btn[href]::after {
    content: "";
    display: block;
    width: var(--ep-btn-arrow-size);
    height: var(--ep-btn-arrow-size);
    border-style: solid;
    border-width: 1px 1px 0 0;
    border-color: currentColor;
    transform: rotate(45deg);
    position: absolute;
    top: 0;
    right: var(--ep-btn-arrow-offset);
    bottom: 0;
    margin: auto;
}
.e-buyerpu-section-nav-btn[href]:hover {
    opacity: 1;
    color: var(--ep-section-btn-hover-color-foreground, var(--ep-color-foreground)) !important;
    background-color: var(--ep-section-btn-hover-color-background, #ffffff) !important;
}

/*
 * 商品
------------------------------------------------*/
.e-buyerpu-products {
    --ep-column-count: 3;
    width: 100%;
}
.e-buyerpu-products > ul {
    --ep-gap: 10px;
    list-style: none;
    padding: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--ep-gap);
}
.e-buyerpu-products > ul > li {
    width: auto;
    flex: 0 1 calc((100% - var(--ep-gap) * (var(--ep-column-count) - 1)) / var(--ep-column-count));
}

.e-buyerpu-product {
    --ep-gap: 5px;
    container-type: inline-size;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: min(12px, 4.5%) min(12px, 4.5%);
    font-size: clamp(11px, 5.6cqw, 15px);
    color: var(--ep-product-color-foreground, #282828) !important;
    background: var(--ep-product-color-background, #ffffff) !important;
    border: 2px solid var(--ep-product-border-color, #E1E1E1);
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none !important;
}

.e-buyerpu-product-image {
    grid-area: image;
    display: block;
    width: 100%;
    margin: 0 0 calc(var(--ep-gap) * 3);
    background-color: #E1E1E1;
}
.e-buyerpu-product-image img {
    display: block;
    width: 100%;
    height: auto;
}

.e-buyerpu-product-catch {
    grid-area: caption;
    display: block;
    width: 100%;
    margin: 0 0 calc(var(--ep-gap) * 1);
    font-size: 0.8em;
    font-weight: 700;
    color: var(--ep-product-caption-color-foreground, var(--ep-color-emphasis));
    background: var(--ep-product-caption-color-background, none);
}

.e-buyerpu-product-title {
    grid-area: name;
    display: block;
    flex-grow: 1;
    width: 100%;
    margin: 0 0 calc(var(--ep-gap) * 3);
    font-size: 1em;
    font-weight: 700;
}

.e-buyerpu-product-price {
    grid-area: price;
    display: block;
    width: 100%;
    margin: 0 0 calc(var(--ep-gap) * 3);
    font-size: 1.14em;
    font-weight: 700;
}

.e-buyerpu-product-btn,
.e-buyerpu-product:not(:has(.e-buyerpu-product-btn))::after {
    grid-area: btn;
    box-sizing: border-box;
    display: block;
    width: 100%;
    height: auto;
    padding: 0.72em 0.5em;
    font-size: 0.932em;
    font-weight: 700;
    text-align: center;
    color: var(--ep-color-buy-foreground);
    background-color: var(--ep-color-buy-background);
    border-radius: 1.5em;
    overflow: hidden;
}

.e-buyerpu-product:not(:has(.e-buyerpu-product-btn))::after {
    content: "購入はこちらから";
}

@container (width <= 750px) {
    .e-buyerpu-products {
        --ep-column-count: 1;
    }
    .e-buyerpu-product {
        width: 100%;
        display: grid;
        grid-template-areas: "image caption caption" "image name name" "image price btn";
        grid-template-columns: 2fr 3fr 2fr;
        grid-template-rows: auto 1fr auto;
        gap: 0 12px;
        font-size: 12px;
    }
    .e-buyerpu-product:not(:has(.e-buyerpu-product-btn))::after {
        content: "購入はこちら";
    }
}

/*
 * 下層
------------------------------------------------*/
.mainframe_ .e-buyerpuCategory { /* PC */
    --ep-comment-font-size: 13px;
    --ep-comment-head-font-size: 1em;
    --ep-comment-body-font-size: 0.92em;
    --ep-title-align: left;
    --ep-lead-align: left;
    --ep-section-padding-x: 0px;
}
.wrapper_:not(:has(.mainframe_)) .e-buyerpu { /* SP */
    --ep-comment-font-size: 12px;
    --ep-comment-head-font-size: 0.83em;
    --ep-comment-body-font-size: 1em;
    --ep-title-align: center;
    --ep-lead-align: center;
    --ep-section-padding-x: 12px;
}

.e-buyerpuCategory {
    width: 100%;
}
.e-buyerpuCategory-head {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 290px;
    gap: clamp(10px, 3.6cqw, 30px);
    margin: 0 0 clamp(20px, 4.8cqw, 40px);
    padding: 0 var(--ep-section-padding-x);
}
.e-buyerpuCategory-head__content {
    width: 100%;
}
.e-buyerpuCategory-head__aside {
    width: 100%;
}
@container (width <= 750px) {
    .e-buyerpuCategory-head {
        grid-template-columns: minmax(0, 1fr);
    }
}

.e-buyerpuCategory-title {
    display: block;
    width: 100%;
    margin: 0 0 0.5em;
    color: var(--ep-color-foreground);
    font-size: clamp(16px, 2.86cqw, 24px);
    font-weight: 700;
    line-height: 1.2;
    text-align: var(--ep-title-align, center);
}

.e-buyerpuCategory-lead {
    display: block;
    width: 100%;
    margin: 0 0 1.5em;
    color: var(--ep-lead-color-foreground, #646464);
    font-size: clamp(12px, 1.79cqw, 15px);
    line-height: 1.6;
    text-align: var(--ep-lead-align, center);
}

.e-buyerpuCategory-comment {
    display: block;
    width: 100%;
    padding: 1em 1.5em;
    font-size: var(--ep-comment-font-size, 1em);
    border-radius: 10px;
    overflow: hidden;
    background-color: color-mix(in srgb, var(--ep-comment-title-color-foreground, var(--ep-color-emphasis)), #ffffff 93.82%)
}
.e-buyerpuCategory-comment > dt {
    width: 100%;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 0 1em;
    margin: 0 0 0.5em;
    color: var(--ep-comment-title-color-foreground, var(--ep-color-emphasis));
    background: var(--ep-comment-title-color-background, none);
    font-size: var(--ep-comment-head-font-size);
    font-weight: 700;
}
.e-buyerpuCategory-comment > dt span {
    font-size: 1em;
    font-weight: inherit;
}
.e-buyerpuCategory-comment > dt small {
    font-size: 1em;
    font-weight: inherit;
}
@container (width <= 750px) {
    .e-buyerpuCategory-comment > dt {
        flex-direction: row;
    }
}
.e-buyerpuCategory-comment > dd {
    display: block;
    width: 100%;
    font-size: var(--ep-comment-body-font-size);
}

.e-buyerpuCategory-section {
    display: block;
    width: 100%;
    margin: 0 0 clamp(20px, 4.8cqw, 40px);
    padding: 0 var(--ep-section-padding-x);
}
.e-buyerpuCategory-section-title {
    display: block;
    width: 100%;
    margin: 0 0 1em;
    color: var(--ep-color-foreground);
    font-size: clamp(18px, 2.86cqw, 24px);
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
}
.e-buyerpuCategory-section-title > small {
    display: block;
    width: 100%;
    margin: 0.5em 0;
    font-size: 0.6em;
    font-weight: inherit;
    color: var(--ep-color-emphasis);
}

.e-buyerpuCategory-section-products {
    display: block;
    width: 100%;
}
