/*====================================================*/
/* 共通 */
/*====================================================*/
.ec-page {
    background-color: #faf9eb;
}
.ec-page:has(.cta) {
    padding-bottom: 5rem;
}

.page_wrap {
    width: 92%;
    margin: auto;
}
@media print,screen and (min-width: 1025px){
    .page_wrap {
        width: 86%;
        max-width: 1300px;
    }
}

/* 下層ページMV */
.mv_under {
    position: relative;
    overflow: hidden;
    padding-bottom: 2rem;
}
.mv_pic {
    display: block;
    padding-right: calc( 30 * 100% / 750 );
    padding-left: calc( 30 * 100% / 750 );
}
.mv_title {
    display: block;
    width: 90%;
    position: absolute;
    left: 0;
    bottom: 1.9rem;
}
.mv_parts {
    position: absolute;
}
.mv_maru {
    width: 20%;
    top: 10%;
    right: 0;
}
.mv_fusen {
    width: 30%;
    bottom: 0;
    transform: rotate(340deg);
}

@media print,screen and (min-width: 1025px){
    .mv_pic {
        padding-right: calc( 100 * 100% / 1500 );
        padding-left: calc( 100 * 100% / 1500 );
    }
    .mv_title {
        width: 60%;
    }
    .mv_maru {
        width: 16%;
    }
    .mv_fusen {
        width: 30%;
        max-width: 254px;
        width: 18%;
        bottom: 0%;
    }
}


/*====================================================*/
/* 商品一覧 */
/*====================================================*/
.ec-page h2 {
    display: block;
    width: 40%;
    max-width: 220px;
    margin: 3rem auto 0;
}
.ec-page .underline-title {
    margin-top: 4rem;
}
.ec-page .underline-title-container:after {
    background-position: left;
}
/* ページ推移対策用 */
.ec-page .underline-title::before {
    content: "";
    display: block;
    height: 5rem;
    margin-top: -5rem;
}
.ec-page .ec-category_list {
    width: 89%;
    margin: 3.5rem auto 4rem;
}
.ec-page .ec-category_list ul {
    display: flex;
    align-items: center;
    justify-content: center;
}
.ec-page .ec-category_list li {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    letter-spacing: 0.05em;
    font-weight: 500;
}
.ec-page .ec-category_list li:not(:last-of-type) {
    margin-right: 1em;
}
.ec-page .ec-category_list li:not(:last-of-type):after {
    content: "";
    display: inline-block;
    width: 1em;
    height: 1em;
    border-right: 1px solid #9D6746;
}
.ec-page .ec-category_list li a {
    transition: var(--hover-transition);
}
.ec-page .ec-category_list li a:hover {
    opacity: 0.6;
}
.ec-page .ec-category_list li.active {
    color: #E59D9D;
}

.ec_list {
    width: 89%;
    margin: 4rem auto 0;
    padding-bottom: 7rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-column-gap: 1.9rem;
    grid-row-gap: 3.2rem;
}
.ec_product {
    transition: var(--hover-transition);
}
.ec_product:hover {
    opacity: 0.6;
}
.ec_product figure {
    aspect-ratio: 1/1;
    overflow: hidden;
    border-radius: 1.6rem;
}
.ec_product figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.ec_product_title {
    margin: 8px 0 1.2rem;
    font-size: 1.4rem;
    letter-spacing: 0.03em;
}
.price {
    font-size: 2rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    line-height: 160%;
}
.price::before {
    content: "￥";
    font-size: 1.4rem;
}
.price span {
    font-size: 1.1rem;
}

/* お問い合わせ CTA */
.ec-page .cta {
    width: 100%;
    margin: 7.2rem auto 0;
    padding: 1rem 3rem;
    background-color: #008293;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    line-height: 1.75;
}
.ec-page .cta li {
    display: block;
    cursor: pointer;
}
.ec-page .cta li:first-of-type {
    border-bottom: 0.5px solid #fff;
}
.ec-page .cta a {
    transition: var(--hover-transition);
}
.ec-page .cta a:hover {
    opacity: 0.7;
}
.ec-page .cta-title {
    font-size: 1.6rem;
    font-weight: bold;
    line-height: 1;
}
.ec-page .cta-link {
    display: flex;
    align-items: center;
    margin: 2rem 0 1.5rem;
    font-weight: bold;
    line-height: 1;
}
.ec-page .cta-link img {
    display: block;
    width: 2rem;
    height: 2rem;
    margin-right: 0.5em;
}
.ec-page .cta_tel {
    margin-bottom: 1rem;
    padding: 1rem 1rem;
}
.ec-page .cta_tel .cta-link {
    font-size: clamp(26px, 8.1vw, 30px);
}
.ec-page .cta_tel p:last-of-type {
    margin-left: 3.5rem;
}
.ec-page .cta_maile {
    margin-top: 1rem;
    padding: 1rem 1rem;
}
.ec-page .cta_maile .cta-link {
    font-size: clamp(18px, 5.6vw, 22px);
    white-space: nowrap;
}
.ec-page .cta_maile .cta-link img {
    filter: var(--filter-White);
}
.ec-page .cta_maile p:last-of-type {
    margin-left: 3.1rem;
}


@media print,screen and (min-width: 1025px){
    .ec-page .underline-title {
        margin-top: 6rem;
    }
    /* ページ推移対策用 */
    .ec-page .underline-title::before {
        height: 8rem;
        margin-top: -8rem;
    }
    .ec-page .ec-category_list {
        width: 89%;
        margin: 6.4rem auto;
    }
    .ec-page .ec-category_list li {
        font-size: 1.8rem;
    }
    .ec-page .ec-category_list li:not(:last-of-type) {
        margin-right: 2em;
    }
    .ec-page .ec-category_list li:not(:last-of-type):after {
        width: 2em;
        height: 1em;
    }
    .ec_list {
        width: 82%;
        max-width: 1180px;
        margin: 6.4rem auto 0;
        grid-template-columns: repeat(4, 1fr);
        grid-column-gap: 3rem;
        grid-row-gap: 4.8rem;
    }
    .ec_product_title {
        margin: 1.6rem 0;
        font-size: 1.6rem;
    }
    .price {
        font-size: 2.5rem;
    }
    .price::before {
        font-size: 1.6rem;
    }
    .price span {
        font-size: 1.3rem;
    }
    .ec-page .cta {
        width: 86%;
        margin-top: 14rem;
        padding: 2rem;
        font-size: 1.4rem;
    }
    .ec-page .cta ul {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
    .ec-page .cta li:first-of-type {
        border-bottom: 0;
        border-right: 0.5px solid #fff;
    }
    .ec-page .cta-title {
        font-size: 1.8rem;
    }
    .ec-page .cta-link {
        margin: 2rem 0;
    }
    .ec-page .cta-link img {
        width: 2.2rem;
        height: 2.2rem;
        margin-top: 0.2em;
    }
    .ec-page .cta_tel {
        margin-bottom: 0;
        padding: 2rem 2rem 2rem 3rem;
    }
    .ec-page .cta_tel .cta-link {
        font-size: 3.5rem;
    }
    .ec-page .cta_tel p:last-of-type {
        margin-left: 3.95rem;
    }
    .ec-page .cta_maile {
        margin-top: 0;
        padding: 2rem 0 2rem 4rem;
    }
    .ec-page .cta_maile .cta-link {
        font-size: 2.5rem;
    }
    .ec-page .cta_maile p:last-of-type {
        margin-left: 3.45rem;
    }
}

@media print,screen and (min-width: 1300px){
    .ec-page .cta {
        width: 69%;
        max-width: 840px;
        padding: 2rem 3rem;
    }
    .ec-page .cta_tel {
        padding: 2rem 6rem 2rem 3rem;
    }
    .ec-page .cta_maile {
        padding: 2rem 1rem 2rem 6rem;
    }
}


/*====================================================*/
/* 商品詳細 */
/*====================================================*/
.ec-single {
    width: 92%;
    margin: 3rem auto 0;
    padding-bottom: 7rem;
}
.slider-thumbnail_wrap {
    margin-top: 1rem;
}
.swiper-slide {
    aspect-ratio: 1/1;
    overflow: hidden;
}
.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.slider .swiper-slide {
    border-radius: 16px;
}
.slider-thumbnail .swiper-slide {
    border-radius: 8px;
}
.ec-product_info {
    font-size: 1.4rem;
    font-weight: 500;
    letter-spacing: 0.05em;
}
.ec-product_info h1 {
    margin: 2.5rem 0 2rem;
    font-size: 2rem;
}
.ec-product_info p:first-of-type {
    color: #8E8E8E;
}
.ec-product_info .price {
    margin-top: 2rem;
    font-size: 2.3rem;
    line-height: 1;
}
.product-note {
    margin: 1.5rem 0 3.5rem;
    font-size: 1.4rem;
    line-height: 1.75;
}

.cartjs_box {
    padding: 0 !important;
}
.cartjs_product_table {
    display: none;
}
.cartjs_cart_in {
    max-width: 270px;
    position: relative;
    transition: var(--hover-transition);
}
.cartjs_cart_in input[type="submit"] {
    margin-bottom: 0 !important;
    background-color: #64C091 !important;
    border-radius: 30vh !important;
    width: 100% !important;
    height: 50px !important;
    box-shadow: 4px 4px 0px 0px rgba(204,204,204,0.5);
    font-size: 18px !important;
    padding-left: 2rem;
    font-weight: 500;
}
.cartjs_cart_in::before {
    content: "";
    display: block;
    width: 2rem;
    height: 2rem;
    background-image: url(../img/common/cart.svg);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    filter: var(--filter-White);
    position: absolute;
    top: 51%;
    left: 20%;
    transform: translateY(-51%);
    -webkit-transform: translateY(-51%);
}
.cartjs_cart_in:hover {
    opacity: 0.6;
}

.back_btn {
    margin: 4.5rem auto 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 500;
    transition: var(--hover-transition);
}
.back_btn img {
    display: block;
    width: 1rem;
    height: 1rem;
    margin-right: 1em;
}
.back_btn:hover {
    opacity: 0.6;
}


@media print,screen and (min-width: 1025px){
    .ec-single {
        width: 87%;
        max-width: 1000px;
        margin: 5.5rem auto 0;
        padding-bottom: 0;
    }
    .ec-single {
        display: flex;
        align-items: flex-start;
        flex-wrap: wrap;
    }
    .product-slider {
        width: 47%;
        max-width: 580px;
    }
    .ec-product_info {
        padding-left: 7rem;
        font-size: 1.6rem;
    }

    .slider-thumbnail_wrap {
        margin-top: 2rem;
    }

    .ec-product_info h1 {
        margin: 0 0 2rem;
        font-size: 3rem;
    }
    .ec-product_info .price {
        margin-top: 3rem;
        font-size: 2.5rem;
    }
    .product-note {
        margin: 5.5rem 0 4.5rem;
        font-size: 1.6rem;
    }
    .cartjs_cart_in {
        max-width: 382px;
        margin: 0 !important;
    }
    .cartjs_cart_in input[type="submit"] {
        width: 100% !important;
        height: 60px !important;
        font-size: 20px !important;
        padding-left: 2rem;
    }
    .cartjs_cart_in::before {
        width: 2.4rem;
        height: 2.4rem;
        top: 53%;
        left: 22%;
        transform: translateY(-53%);
        -webkit-transform: translateY(-53%);
    }

    .back_btn {
        width: 100%;
        margin: 8rem auto 0;
        font-size: 1.6rem;
    }
}


