@charset "UTF-8";
/*====================================================*/
/* 商品一覧 */
/*====================================================*/
.ec-page {
    position: relative;
    overflow-x: clip;
}
.ec-contents {
    margin-top: 2.5rem;
    padding-bottom: 15rem;
}

.ec-search {
    margin: 2.5rem 0;
}
.ec-category_navi {
    position: relative;
}
.ec-category_navi .category-btn {
    display: block;
    width: 125px;
    padding: 0.5em 1em;
    background-color: #fff;
    border: 1px solid var(--main-color);
    font-size: 1.2rem;
    font-weight: 500;
    position: relative;
    cursor: pointer;
}
.ec-category_navi .category-btn::after {
    content: "";
    display: block;
    width: 1em;
    height: 1em;
    background-image: url(../img/page/arrow_bottom.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    filter: invert(20%) sepia(17%) saturate(3222%) hue-rotate(184deg) brightness(101%) contrast(91%);
    position: absolute;
    top: 0.62em;
    right: 0.5em;
}
#category-navi {
    width: 300px;
    padding: 1.5em 1em;
    background-color: #fff;
    border: 1px solid var(--main-color);
    border-radius: 8px;
    box-shadow: 3px 5px 5px 0px rgba(105, 105, 105, 0.3);
    font-size: 1.2rem;
    position: absolute;
    top: 1rem;
    left: 0;
    z-index: 10;
    display: none;
}
#category-navi.panelactive {
    display: block;
}
#category-navi > li:not(:first-of-type) {
    margin-top: 1em;
}
.sort {
    display: flex;
    align-items: center;
    margin-top: 1.5rem;
    font-size: 1.2rem;
    font-weight: 500;
}
.sort form {
    display: flex;
    align-items: center;
}
.sort form button {
    display: block;
    margin-left: 1em;
}

/* 商品リスト */
.ec-product-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-column-gap: 1rem;
    grid-row-gap: 3rem;
}
.ec-product-list li {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}
.ec-product_post figure {
    display: block;
    width: 100%;
    aspect-ratio: 19 / 11;
    border-radius: 8px;
    overflow: hidden;
}
.ec-product_post figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.ec_category {
    padding: 0.5em;
    background-color: #ef8ea9;
    border-radius: 8px;
    color: #fff;
    font-size: 1rem;
    font-weight: 500;
}
.ec-product_post .ec_category {
    position: absolute;
    top: 0;
    left: 0;
    text-align: center;
}
.product_post-text {
    padding: 1.5rem 0.5rem;
    font-size: 1.2rem;
    letter-spacing: -0.025em;
    line-height: 1.75;
}
.ec-product_title {
    font-size: 1.4rem;
    font-weight: 500;
    letter-spacing: -0.025em;
    text-align: center;
}
.product_post-text .price {
    margin: 0.25em 0 0.75em;
    font-size: 1.6rem;
    font-weight: 500;
    letter-spacing: -0.025em;
    text-align: center;
}
.product_post-text .price span {
    display: inline-block;
    margin-left: -0.25em;
    font-size: 1.2rem;
}
.product_note {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

/* ページネーション */
.nav-links {
    display: grid;
    grid-auto-flow: column;
    grid-column-gap: 2em;
    align-items: center;
    justify-content: center;
    margin-top: 4rem;
    font-size: 1.6rem;
    font-weight: 500;
}
.page-numbers.current {
    text-decoration: underline;
    text-underline-offset: 2px;
}
a.prev.page-numbers::before {
    content: "";
    display: block;
    width: 0.8em;
    height: 0.8em;
    background-image: url(../img/page/arrow-right.svg);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(-1, 1);
}
a.next.page-numbers::before {
    content: "";
    display: block;
    width: 0.8em;
    height: 0.8em;
    background-image: url(../img/page/arrow-right.svg);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.ec-page .bkg-parts {
    filter: invert(98%) sepia(56%) saturate(822%) hue-rotate(343deg) brightness(100%) contrast(95%);
    opacity: 0.4;
}
.ec-page .parts01 {
    width: min(45vw, 300px);
    top: 33rem;
    left: -8vw;
    transform: rotate(-29deg);
}
.ec-page .parts02 {
    width: min(55vw, 435px);
    bottom: 0rem;
    right: -6vw;
}

@media print,screen and (min-width: 1025px){
    .ec-contents {
        margin-top: 6rem;
        padding-bottom: 10rem;
    }
    .ec-search {
        margin: 5.5rem 0;
    }
    .ec-category_navi .category-btn {
        width: 269px;
        font-size: 2rem;
    }
    .ec-product-list {
        grid-column-gap: 6rem;
        grid-row-gap: 7rem;
    }
    #category-navi {
        width: 350px;
        font-size: 2rem;
    }
    .sort {
        font-size: 2rem;
    }
    .ec_category {
        padding: 1em 2em;
        font-size: 2rem;
    }
    .product_post-text {
        padding: 3rem 4rem 6rem;
        font-size: 1.6rem;
    }
    .ec-product_title {
        font-size: 2.4rem;
    }
    .product_post-text .price {
        margin: 0 0 0.5em;
        font-size: 2.8rem;
    }
    .product_post-text .price span {
        font-size: 2.4rem;
    }
    .product_note {
        -webkit-line-clamp: 6;
    }
    .nav-links {
        grid-column-gap: 3em;
        margin-top: 9rem;
        font-size: 2rem;
    }

    .ec-page .parts01 {
        top: 30%;
        left: -2%;
        transform: rotate(-29deg) translateY(-30%) translateX(2%);
        -webkit-transform: rotate(-29deg) translateY(-30%) translateX(2%);
    }
    .ec-page .parts02 {
        bottom: 0;
        right: -3%;
        transform: translateX(3%);
        -webkit-transform: translateX(3%);
    }
}
@media print,screen and (min-width: 1200px){
    .ec-search {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    .sort {
        margin-top: 0;
    }
}

/*====================================================*/
/* 商品詳細 */
/*====================================================*/
.single-ec {
    margin-top: 3rem;
    margin-bottom: 12rem;
}
.slider {
    margin-bottom: 1.5rem;
}
/* スライダー */
.slider li {
    border-radius: 8px;
    overflow: hidden;
}
.slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.slider-thumbnail .swiper-slide {
    aspect-ratio: 1/1;
    border-radius: 8px;
    overflow: hidden;
}
.slider-thumbnail .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.ec-product_info .ec_category {
    display: inline-block;
    padding: 0.5em 1.5em;
    font-size: 1.2rem;
}
.ec-product_info h1 {
    margin: 0.5em 0 1em;
    font-size: 2rem;
    font-weight: bold;
    line-height: 1.5;
}
.ec-product_info .price {
    font-size: 2.2rem;
    font-weight: 500;
}
.ec-product_info .price span {
    display: inline-block;
    margin-left: -0.25em;
    font-size: 1.4rem;
}
.ec-product_info .small {
    margin-top: 0.4em;
    font-size: 1.2rem;
}
.ec-product_info_text {
    margin: 2rem 0;
    font-size: 1.4rem;
    line-height: 1.75;
}
.ec-product_info_text dt {
    margin-bottom: 0.5em;
    font-weight: 500;
}
.cart-btn > p {
    margin-bottom: 1.2rem;
    font-size: 1.4rem;
    font-weight: 500;
}
.cartjs_box {
    padding: 0 !important;
}
.cartjs_product_table > table {
    width: 100% !important;
    margin: 0 !important;
}
tr.cartjs_product_num th {
    display: none;
}
tr.cartjs_product_num td {
    display: block;
    width: 100px;
    padding: 0.5em 1em !important;
    background: #fff;
    border: 0.5px solid #8e8e8e;
    border-radius: 8px;
    font-size: 1.6rem;
    font-weight: 500;
    text-align: center;
}
.cartjs_cart_in {
    margin-top: 2rem !important;
}
.cartjs_cart_in [type="submit"] {
    margin: 0 !important;
    width: 100% !important;
    height: 50px !important;
    background-color: #67bae0 !important;
    border-radius: 30vh !important;
    font-weight: 500;
}
.postage {
    margin-top: 2rem;
    font-size: 1.4rem;
    line-height: 1.75;
}
.postage dt {
    margin-bottom: 0.5em;
    font-weight: 500;
}
.postage dd a {
    display: inline;
    text-decoration: underline;
}

@media print,screen and (min-width: 1025px){
    .single-ec {
        display: flex;
        justify-content: space-between;
        margin-top: 6rem;
        margin-bottom: 6.5rem;
    }
    .slider {
        margin-bottom: 2.5rem;
    }
    .product-slider {
        width: 55%;
    }
    .ec-product_info {
        width: 40%;
    }
    .ec-product_info .ec_category {
        font-size: 2rem;
    }
    .ec-product_info h1 {
        margin: 0.25em 0 0.5em;
        font-size: 3.5rem;
    }
    .price {
        font-size: 3rem;
    }
    .price span {
        font-size: 1.6rem;
    }
    .ec-product_info .small {
        font-size: 1.4rem;
    }
    .ec-product_info_text {
        margin: 4.5rem 0 3.5rem;
        font-size: 1.6rem;
    }
    .cart-btn > p {
        margin-bottom: 1em;
        font-size: 1.6rem;
    }
    tr.cartjs_product_num td {
        width: 200px;
        font-size: 2rem;
    }
    .cartjs_cart_in {
        margin-top: 3rem !important;
    }
    .cartjs_cart_in [type="submit"] {
        height: 55px !important;
        font-size: 2rem !important;
    }
    .postage {
        margin-top: 5rem;
        font-size: 1.6rem;
    }
}