/* 以下商品説明 */
#products{
    padding-top: 50px;
    background-color: rgba(242, 242, 238, .7);
}
#products .section_title img{
    right: 28%;
}
#products .section_title p{
    color: #1a4472;
    font-weight: 800;
}
/* 商品カード */
.tea_set_wrapper{
    width: 50%;
    margin-left: auto;
    margin-right: auto;
    max-width: 960px;
}
.tea_set_list{
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 1rem;
    margin: 0 auto;
    padding: 0;
    max-width: 1200px;
}
.tea_set_item{
    position: relative;
    width: 48%;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    height: 450px;
    list-style: none;
    color: #1a4472;
    /* background-color: rgba(242, 242, 238, .7); */
    margin-bottom: 30px;
}
.tea_set_item .item_card_content{
    position: absolute;
    bottom: .2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
}
.item_img{
    width: 95%;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: .5rem;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    box-shadow: 0 4px 6px rgba(0, 0, 0, .2);
    cursor: pointer;
}
.tea_detail{
    all: unset;
    border-radius: 4px;
    height: 2rem;
    margin-top: auto;
    font-size: .9rem;
    font-weight: 500;
    color: #1a4472;
    text-decoration: none;
    text-underline-offset: 1px;
    background: none;
    cursor: pointer;
    /* display: block; */
    align-self: center;
}
.tea_detail::after{
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0%;
    height: 1px;
    background-color: #416591;
    transition: width .3s ease;
}
.tea_detail:hover::after{
    width: 100%;
}
.tea_detail .fa-solid{
    color: #416591;
    margin-left: .25rem;
}
.product-modal{
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw !important;
    height: 100vh;
    background: rgba(0, 0, 0, .5);
    z-index: 100;
    opacity: 0;
    transition: opacity .3s ease;
}
.product-modal.show{
    display: block;
    opacity: 1;
}
.modal-content{
    position: fixed;
    z-index: 101;
    background-color: #fff;
    margin: 10% auto;
    padding: 1rem;
    padding-bottom: 1.5rem;
    border-radius: 8px;
    width: 85%;
    max-width: 900px;
    max-height: 90%;
    overflow-y: auto;
    left: 15%;
    top: -10%;
    transition: transform .3s ease;
}
.product-modal.show .modal-content{
    transform: translateY(0);
}
.modal-flex{
    display: flex;
    gap: 2.5rem;
}
.modal-flex .item_img{
    width: 48%;
}
.modal-flex .modal-right{
    width: 48%;
    position: relative;
}
.close-modal-div{
    position: relative;
}
.close-modal-div .close-btn, .close-modal-div .btn{
    position: absolute;
    right: 0;
    z-index: 100;
}
/* @media(max-width: 600px){
    .tea_set_item{
        width: 100%;
    }
} */
.price{
    all: unset;
    padding: 0;
    margin: 0;
    font-weight: 700;
    font-size: 1.2rem;
    margin: 0;
    height: 2rem;
    line-height: 1;
    text-align: center;
}
.tea_set_item p, .tea_set_item h3, .modal-right p{
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}
.tea_set_item h3, .modal-right h3{
    font-size: 1.19rem;
    margin: 0;
    text-align: center;
    padding-left: 1.1rem;
    padding-top: 1.4rem;
}
.modal-right h3{
    font-size: 1.5rem;
    padding-bottom: 1rem;
}
.modal-right .price{
    padding-bottom: 1rem;
    display: block;
}
.tea_set_item p, .modal-flex p{
    line-height: 2;
    /* font-size: 1rem; */
    font-weight: 800;
    /* padding-left: .5rem; */
    height: 2.5em;
    margin-top: .5rem;
}
.tea_set_item .item_card_content, .item_price_cart div, .item_price_cart .cart_button{
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 10px;
    /* margin-top: 1rem; */
    justify-content: space-between;
    text-align: center;
}
/* カートボタン */
.item_price_cart div input, .tea_set_variety .tea_set_wrapper div input{
    height: 2rem;
    width: 70%;
    border: #7297c5 solid 1px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, .15);
}
.item_price_cart div button, .tea_set_variety .tea_set_wrapper div button{
    height: 2rem;
    width: 2rem;
    background-color: #416591;
    box-shadow: 0 4px 6px rgba(0, 0, 0, .15);
    color: #fff;
    border: none;
    border-radius: 4px;
}
.item_price_cart .cart_button, .tea_set_content .cart_button{
    width: 90%;
    display: inline-block;
    margin-left: auto;
    margin-right: auto;
    font-size: 1rem;
    height: 2.5rem;
    background-color: #1a4472;
    color: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, .25);
    cursor: pointer;
    overflow: hidden;
    position: relative;
    transition: background-color .3s ease;
    font-family: "ヒラギノ明朝 ProN", "Hiragino Mincho ProN", "游明朝", "Yu Mincho", serif;
}
.item_price_cart .cart_button::before,
.tea_set_content .cart_button::before{
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, .15);
    z-index: 1;
}
.item_price_cart .cart_button:hover::before,
.tea_set_content .cart_button:hover::before{
    left: 100%;
}
.item_price_cart .cart_button:hover{
    background-color: #245b99;
}
.item_price_cart .cart_button:active,
.tea_set_content .cart_button:active{
    box-shadow: 0 2px 3px rgba(0, 0, 0, .25);
    transform: translateY(2px);
}
.item_price_cart{
    margin-top: auto;
    position:absolute;
    bottom: 0;
    left: 0;
    left: 50%;
    width: 100%;
    transform: translateX(-50%);
}
.tea_set_content .cart_button{
    height: 3.5rem;
    font-size: 1.5rem;
    border-radius: 9999px;
    background: linear-gradient(to bottom, #1a4472, #16385f);
    box-shadow: inset 0 2px 4px rgba(255, 255, 255, .3),
        0 4px 6px rgba(0,0,0, .4);
}
.tea_set_content .cart_button:hover{
    background: linear-gradient(to bottom, #245b99, #1a4472);
}

/* セット売り枠 */
.tea_set_variety{
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    background-color: #e7e8e1;
    width: 100vw;
    height: 60vh;
    /* aspect-ratio: 30 / 7.5; */
    background-color: rgba(242, 242, 238, .7);
    color: #1a4472;
}
.tea_set_img{
    height: 100%;
    width: 50%;
    margin: 0;
    padding: 0;
}
.tea_set_img img{
    /* width: 100%; */
    height: 100%;
    cursor: pointer;
    /* position: absolute;
    left: 0;
    top: 0; */
}
.set_info{
    position: relative;
    z-index: 10;
    right: 3rem;
    bottom: 2rem;
    color: #1a4472;
    font-size: 1.5rem;
    font-weight: 700;
}
.set_info .upper, .set_info .lower{
    margin: 0!important;
    padding: 0!important;
    position: absolute;
    right: 1.7rem;
    /* -webkit-text-stroke: 1px #fff; */
}
.upper{
    bottom: .5rem;
}
.upper span{
    font-size: 2rem;
}
.set_info .lower{
    font-size: 1.15rem;
    bottom: -1rem;
}
.lower span{
    font-size: 1.32rem;
}
.tea_set_variety .tea_set_content{
    /* background-color: rgba(225, 232, 239, .7); */
    color: #1a4472;
}
#modal-7 .modal-content .modal-flex{
    gap: 2rem;
}
.tea_set_content p{
    font-weight: 800;
    font-size: 1.4rem;
}
.tea_set_content .tea_set_title{
    font-size: 2rem;
    padding-top: 2rem;
    position: relative;
    line-height: 1.3;
}
.tea_set_content span{
    font-size: 3rem;
}
.set_price span{
    font-size: 3rem;
}
.dots{
    position: absolute;
    top: 0;
    font-weight: 300;
}
.modal-right .modal7_title{
    font-size: 1.3rem;
}
@media(max-width: 992px){
    .tea_set_img, .tea_set_content{
        width: 48%;
    }
    .tea_set_img img{
        width: 100%;
    }
    .tea_set_wrapper{
        width: 90%;
        padding-left: 5%;
    }
    .tea_set_item{
        width: 45%;
    }
}
@media(max-width: 768px){
    .tea_set_item{
        width: 80%;
        height: 470px;
        margin-left: auto;
        margin-right: auto;
    }
    .product-modal{
        height: 100vh;
        width: 90vw;
        
    }
    .modal-content{
        left: 5.5%;
    }
    .modal-flex{
        display: flex;
        flex-direction: column;
        padding-top: 1.5rem;
        width: 100%;
        padding: 0;
    }
    .modal-flex .item_img{
        width: 90%;
    }
    .modal-flex .modal-right{
        width: 90%;
        position: relative;
    }
    .modal-right{
        display: flex;
        flex-direction: column;
        position: relative;
        padding-bottom: 100px;
    }
    .item_price_cart{
        position: absolute;
        bottom: -5rem;
        left: 50%;
        padding-bottom: 2rem;
    }
}
