﻿#index main{
    background-color: #f5f5f5;
}
.index-products-block{
    width: 1200px;
    max-width: 100%;
    display: block;
    margin: 0 auto;
    padding: 50px 0;
}
.index-products-title-box {
    width: 900px;
    max-width: 100%;
    padding: 40px 0;
    text-align: center;
    margin: 0 auto;
}
.index-products-title-box img:nth-child(1){
    margin-bottom: 20px;
}
.index-products-list-class{
    font-family: "Noto Sans TC";
    font-size: 24px;
    color: #FFF;
    background-color: #d0011b;
    display: inline-block;
    padding: 0px 20px;
    border-top-right-radius: 5px;
    border-top-left-radius: 5px;
    letter-spacing: 1px;
}
.index-products-list-line{
    width: 100%;
    height: 2px ;
    display: block;
    background-color:  #d0011b;
}

.index-products-list-box,
.index-products-list-box2{
    padding: 25px 0;
    font-size: 0;
    display: block;
    width: calc(100% + 30px);
    position: relative;
    left: -15px;
}


.index-products-list{
    display: inline-block;
    width: 220px;
    max-width: 100%;
    vertical-align: top;
    background-color: #FFF;
    text-align: center;
    padding-bottom: 20px;
    margin:0 25px;
}

.index-products-list-img{
    padding:20px 10px;
    box-sizing: border-box;
    height: 240px;
    width: 100%;
    text-align: center;
    overflow: hidden;
    display: block;
}
.index-products-list-img img{
    display: inline-block;
    max-height: 100%;
}

.index-products-list-title{
    font-size: 14px;
    color: #333333;
    letter-spacing: 1px;
    margin-top: 5px;
    margin-bottom: 10px;
    display: block;
}
.index-products-list-off-price{
    font-family: "Anton";
    font-size: 16px;
    color: #d0011b;
    letter-spacing: 1px;
    margin-bottom: 10px;
    padding: 0 10px;
    box-sizing: border-box;
}
.index-products-list-original-price{
    font-size: 14px;
    display: block;
    text-align: center;
    padding: 0 10px;
    color: #888888;
    letter-spacing: 1px;
    font-family: "Anton";
    text-decoration:line-through;
    height: 22px;
    overflow: hidden;
}

.index-products-list-many-box{
    width: 100px;
    max-width: 100%;
    margin: 0 auto;
    display: block;
    font-size: 0;
    border: 1px solid #d1d1d1;
    border-radius: 20px;
    margin-bottom: 15px;
    box-sizing: border-box;
}
.index-products-list-bth{
    display: inline-block;
    vertical-align: top;
    font-size: 14px;
    width: 20px;
    height: 20px;
    line-height: 20px;
    text-align: center;
    color: #555;
    box-sizing: border-box;
    cursor: pointer;
}

.index-products-press-input{
    display: inline-block;
    vertical-align: top;
    font-size: 12px;
    width: calc(100% - 40px);
    height: 20px;
    border: 0;
    box-sizing: border-box;
    text-align: center;
    border-right: 0;
    border-left: 0;
    color: #555555;
}
.index-products-down{
    border-right: 1px solid #d1d1d1;
}
.index-products-up{
    border-left: 1px solid #d1d1d1;
}
.index-products-list-buy-button{
    width: 100px;
    max-width: 100%;
    border-radius: 20px;
    height: 20px;
    line-height: 20px;
    background-color: #d0011b;
    font-size: 14px;
    color: #FFF;
    display: block;
    margin: 0 auto;
    border: 0;
    letter-spacing: 1px;
}
.index-products-box{
    margin-bottom: 80px;
}

.index-products-box .slick-prev:before, 
.index-products-box .slick-next:before{
    font-family: "Font Awesome 5 Free";
    font-size: 50px;
    font-weight: bold;
    color: #d0011b;
    opacity: 1;
}
.index-products-box .slick-prev, 
.index-products-box .slick-next{
    width: 19px;
    height: 52px;
}
.index-products-box .slick-prev{
    left: -30px;
}
.index-products-box .slick-next{
    right: -30px;
}
.index-products-box .slick-prev:before{
    content: "\f0d9";
}
.index-products-box .slick-next:before{
    content: "\f0da";
}
#index .products-info-list-outer{
    margin: 0 15px;
}

#index .products-info-list{
    height: inherit;
}

#index .products-info-list-img-box{
    height: 250px;
}
#index .products-info-list-taste-box, 
#index .products-info-list-weight-box{

    max-width: 100%;
    margin: 0 auto;
    margin-bottom: 10px;
}
#index .products-info-list-quantity-box,
#index .products-info-list-taste-box, 
#index .products-info-list-weight-box,
#index .products-info-list-joinbuycar{
    width: 170px;
}
#index .index-products-list-box .products-info-list-taste-box:after, 
#index .index-products-list-box .products-info-list-weight-box:after {
    right: 4%;
}
/*過場動畫*/

.dt-loading-2 {
    width: 100%;
    height: 100vh;
    display: table;
    position: fixed;
    top: 0;
    z-index: 99999;
    transition: all .4s linear;
    background-color: #FFF;
}

.laying-2 {
   display: table-cell;
   vertical-align: middle;
}

.loading-logo-box{
    width: 154px;
    display: block;
    position: relative;
    margin: 0 auto;
    overflow: hidden;
}
.loading-log{
    width: 100%;
    display: block;
    position: relative;
 
}
.loading-mask{
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    top: 0;
    background: #FFF;
    right: 0%;
    animation:  right2 2s linear 0s 1 forwards;

}

/*fancy-box*/

.fancybox-table{
    width: 100%;
    height: 100vh;
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
}
.fancybox-table.active{
    display: table;
}
.fancybox-table-mid{
    display: table-cell;
    vertical-align: middle;
}
.fancybox-box{
    width: 800px;
    max-width: 100%;
    display: block;
    margin: 0 auto;
    position: relative;
    z-index: 3;
}
.fancybox-img-box{
    width: 100%;
    height: 600px;
    display: block;
    margin-bottom: 10px;
    border: 1px solid rgba(255,255,255,0.2);
}
.fancybox-article{
    max-height: calc(100vh - 700px);
    overflow: auto;
}
.fancybox-article-title{
    font-size: 20px;
    color: #FFF;
    letter-spacing: 2px;
}
.fancybox-article-p{
    font-size: 16px;
    display: block;
    color: #FFF;
}

.fancybox-mask-box{
    width: 100%;
    height: 100%;
    display: block;
    background-color: rgba(0,0,0,0.6);
    position: fixed;
    top: 0;
    left: 0;
}
.fancybox-close{
    width: 40px;
    height: 40px;
    line-height: 40px;
    font-size: 20px;
    color: #000;
    text-align: center;
    position: absolute;
    top: 0;
    right: 0;
    background-color: #ddd;
    cursor: pointer;
    z-index: 3;
}
.body-close{
    overflow: hidden;

}
.body-close::-webkit-scrollbar{
    display:none;
}

.fancybox-link{
    position: fixed;
    text-align: center;
    top: calc(50% - 31px);
}
.news-prev{
    right: calc(50% + 427px);
}
.news-next{
    left: calc(50% + 427px);
}
.fancybox-link i{
    font-size: 24px;
    color: #FFF;
    display: block;
    margin-bottom: 10px;
}
.fancybox-link p{
    font-size: 18px;
    color: #FFF;
}
.fancybox-block{
    width: 100%;
    max-height: 100vh;
    overflow: auto;

}
.fancybox-block::-webkit-scrollbar{
    display:none;
}


/*----------------------------*/

.rwd-menu-class-list{
    width: 100%;
    height: 46px;
    border: 1px solid #888;
    font-size: 16px;
    letter-spacing: 1px;
    text-align: center;
    display: none;
    line-height: 46px;
    position: relative;
    box-sizing: border-box;
}
.rwd-menu-class-list:after {
    content: '';
    width: 0px;
    height: 0px;
    margin: 0 auto;
    border-right: 10px solid transparent;
    border-top: 10px solid #888;
    border-left: 10px solid transparent;
    display: block;
    position: absolute;
    bottom: calc(50% - 5px);
    right: 5%;
    box-sizing: border-box;
}
.index-products-block .slick-list {
    padding: 10px 0;
}


/*--------------------hover-----------------------*/
#index .products-info-list .products-info-list-img img{
    transition: all .5s ease;
}
#index .products-info-list:hover .products-info-list-img img{
    transform: scale(1.1);
}


/*--------------------動畫-----------------------*/
.index-products-box{
    opacity: 0;
}
.index-products-box.active{
    animation: fadeInUp .8s ease 0s 1 forwards;
}

/*-----------index-about-----------*/
.index-about-block{
    width: 100%;
    background-color: #eaf4f9;
    position: relative;
}

.index-about-box{
    width: 1720px;
    max-width: 100%;
    display: block;
    margin: 0 auto;
    font-size: 0;
    padding: 120px 0;
}
.index-about-left-box,
.index-about-right-box{
    display: inline-block;
    width: 50%;
    vertical-align: top;
}
.index-about-left-box{
    padding-right: 50px;
    box-sizing: border-box;
}
.index-about-en-title{
    font-size: 28px;
    color: #008ea6;
    font-family: 'Comfortaa';
    display: inline-block;
}
.index-about-ch-title{
    font-size: 16px;
    color: #000;
    display: inline-block;
    margin-left: 10px;
    letter-spacing: 1px;
}
.index-about-article-box p{
    font-size: 16px;
    color: #555555;
    line-height: 2;
    letter-spacing: 1px;
    margin-bottom: 30px;
}
.index-about-title-box{
    margin-bottom: 30px;
}

.index-about-link-box{
    width: 160px;
    max-width: 100%;
    display: block;
    height: 60px;
    line-height: 60px;
    text-align: center;
    color: #FFF;
    background-color: #535353;
    position: relative;
}
.index-about-link-title{
    font-size: 16px;
    color: #FFF;
    display: inline-block;
    vertical-align: middle;
    letter-spacing: 2px;
    position: relative;
    z-index: 1;
}

.index-about-link-box span{
    font-size: 16px;
    color: #FFF;
    display: inline-block;
    vertical-align: middle;
    margin-left: 3px;
    position: relative;
    z-index: 1;
}
.index-about-video-title{
    font-size: 24px;
    font-weight: bold;
    color: #000;
    margin-bottom: 20px;
    letter-spacing: 1px;
}
.index-about-video{
    width: 100%;
    height: 454px;
    display: block;

}

/*------------------hover--------------------*/
.index-about-link-box:after{
    content: 'none';
    font-size: 0;
    width: 100%;
    height: 100%;
    display: block;
    background-color: #008ea6;
    transform: scale(0,1);
    transition: all .5s ease;
    position: absolute;
    top: 0;
    left: 0;
}
.index-about-link-box:hover:after{
    transform: scale(1,1);
}
.index-about-link-box:hover span{
    animation: arrow-right 1s linear 0s infinite alternate;
}


/*-------------------rwd----------------------*/
@media only screen and (max-width: 1680px){
    .index-about-box{
        width: 95%;
    }
    .index-about-left-box{
        padding-right: 2.5%;
    }
    .index-about-article-box p{
        font-size: 15px;
        margin-bottom: 20px;
    }
    .index-about-video{
        height: 435px;
    }
    .index-about-title-box {
        margin-bottom: 20px;
    }
}

@media only screen and (max-width: 1300px){
    .index-products-block{
        width: 1000px;
    }
    .index-products-list-box, .index-products-list-box2{
        width: calc(100% + 20px);
        left: -10px;
    }
    #index .products-info-list-outer {
        margin: 0 10px;
    }
    #index .products-info-list-taste-block> div{
        width: 90%;
        display: block;

    } 

}
@media only screen and (max-width: 1200px){
    #index .products-info-list-img-box {
        height: 190px;
    }
}
@media only screen and (max-width: 1100px){
    .index-products-block{
        width: 900px;
    }
}
@media only screen and (max-width: 1000px){
    .index-products-box{
        opacity: 1;
    }
    .index-about-article-box p{
        font-size: 14px;
    }  
    .index-products-block{
        width: 750px;
    }
    .index-products-box .slick-prev, .index-products-box .slick-next{
        top: inherit;
        bottom: -70px;
    }
    .index-products-box .slick-prev{
        left: 20px;
    }
    .index-products-box .slick-next{
        right: 20px;
    }
    .index-about-box{
        padding: 60px 0;
    }
}
@media only screen and (max-width: 750px){
    .index-products-block{
        width: 550px;
    }
    #index .index-products-box{
        margin-bottom: 30px;
    }
    .index-about-left-box,
    .index-about-right-box{
        width: 100%;
        display: block;
        padding: 0;
    }
    .index-about-link-box{
        margin: 0 auto;
        margin-bottom: 20px;
    }
}

@media only screen and (max-width: 550px){
    .index-products-block{
        width: 95%;
    }
    .index-products-list-box, .index-products-list-box2{
        width: 100%;
        left: 0;
    }
    .index-products-box .products-info-list{
        width: 100%;
    }
    .index-products-box .products-info-list-img-box{
        padding: 10px;
    }
     .index-about-wave-box{
        height: 10px;
    }
    .index-about-wave-box .index-about-wave{
        height: 60px;
    }

    .index-about-video{
        height: 210px;
    }
     .index-about-right-box{
        padding-top: 30px;
    }
    .index-products-title-box{
        padding-top: 0;
    }
}