﻿.products-box{
    width: 100%;
    display: block;
    position: relative;
    box-sizing: border-box;
    margin-top: 180px;
    min-height: calc(100vh - 180px);
    padding: 60px 0;
}
.products-all-box{
    width: 1280px;
    max-width: 100%;
    display: block;
    margin: 0 auto;
    font-size: 0;
    position: relative;
}
.news-categroy-box{
    width: 100%;
    display: block;
    margin-top: 80px;
}
.products-info-box{
    margin-top: 160px;
}

.news-categroy{
    width: 180px;
    line-height: 58px;
    box-sizing: border-box;
    border: 1px solid #d1d1d1;
    display: inline-block;
    vertical-align: middle;
    font-family: 'Noto Sans TC';
    font-size: 18px;
    letter-spacing: 0.06em;
    color: #888;
    text-align: center;
    position: relative;
    margin-right: 40px;
    transition: all .3s linear;
}
.news-categroy:nth-child(6n){
    margin-right: 0;
}
.news-categroy:nth-child(n + 7){
    margin-top: 40px;
}
.news-categroy p{
    transition: all .3s linear;
}
.news-categroy span{
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: all .3s linear;
}

/* pages */
.products-pages-box{
    width: 100%;
    display: block;
    position: relative;
    box-sizing: border-box;
    margin-top: 180px;
    overflow: hidden;
}
.products-pages-info-box{
    width: 1280px;
    max-width: 100%;
    display: block;
    margin: 0 auto;
    font-size: 0;
    position: relative;
}
.products-pages-img-box{
    width: 400px;
    max-width: 100%;
    display: inline-block;
    vertical-align: top;
    background-color: #fbfafa;
    box-sizing: border-box;
    padding: 50px 0;
}
.products-pages-bimg-box{
    width: 360px;
    max-width: 100%;
    margin: 0 auto;
    display: block;
}
.products-pages-bimg{
    width: 100%;
    height: 480px;
    display: block;
}
.products-pages-simg-box{
    width: calc(100px * 3 + 30px * 2);
    max-width: 100%;
    margin: 0 auto;
    margin-top: 50px;
}
.products-pages-simg-list{
    width: 100px;
    display: block;
    /* background-color:rgba(0, 0, 0, 0.05); */
    margin-right: 25px;
    transition: all .3s linear;
}
.products-pages-simg{
    width: 100%;
    height: calc((48 / 36) * 100px);
    display: block;
}
.products-pages-simg-list.slick-current {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}
.products-pages-info{
    width: calc(100% - 400px);
    display: inline-block;
    vertical-align: top;
    box-sizing: border-box;
    padding: 30px 60px;
}
.products-pages-info-name{
    font-size: 36px;
    font-family: "Roboto";
    font-weight: 700;
    letter-spacing: 0.06em;
    color: #000;
    line-height: 40px;
}
.products-pages-info-p{
    font-size: 16px;
    font-family: 'Noto Sans TC';
    letter-spacing: 0.06em;
    color: #666;
    line-height: 2;
}
.products-pages-info-price{
    font-size: 20px;
    font-family: "Roboto";
    font-weight: 700;
    letter-spacing: 0.06em;
    color: #7b2532;
    line-height: 40px;
    margin-top: 10px;
    margin-bottom: 30px;
}
.products-pages-info-diagram{
    width: 400px;
    max-width: 95%;
    display: block;
    margin: 0 auto;
}
.products-pages-info-text-box{
    margin-top: 30px;
}
.products-pages-info-text-box p{
    font-size: 20px;
    font-family: 'Noto Sans TC';
    font-weight: 700;
    color: #000;
    display: block;
    letter-spacing: 0.06em;
    line-height: 30px;
}
.products-pages-info-text{
    font-size: 18px;
    font-family: 'Noto Sans TC';
    font-weight: 300;
    color: #666;
    display: block;
    letter-spacing: 0.06em;
    line-height: 30px;
    margin-top: 20px;
}
.products-pages-resume-box{
    width: 1280px;
    max-width: 100%;
    display: block;
    margin: 0 auto;
    font-size: 0;
    box-sizing: border-box;
    padding: 55px 0;
}
.products-pages-resume-title-box{
    font-size: 36px;
    font-family: 'Noto Sans TC';
    font-weight: 700;
    color: #000;
    display: block;
    letter-spacing: 0.06em;
}
.products-pages-resume-info-box{
    margin-top: 70px;
}
.products-pages-resume-info{
    width: 50%;
    display: inline-block;
    vertical-align: middle;
}
.products-pages-resume-info:nth-child(n + 3){
    margin-top: 30px;
}
.products-pages-resume-info span{
    width: 60px;
    display: inline-block;
    vertical-align: middle;
    text-align: center;
    box-sizing: border-box;
    padding: 0 3px;
}
.products-pages-resume-info p{
    width: calc(100% - 60px);
    display: inline-block;
    vertical-align: middle;
    font-size: 18px;
    font-family: 'Noto Sans TC';
    color: #000;
    letter-spacing: 0.06em;
    line-height: 24px;
    box-sizing: border-box;
    padding-left: 20px;
}
.products-pages-other-box{
    width: 100%;
    display: block;
    position: relative;
    background-color: #fbfafa;
    box-sizing: border-box;
    padding: 85px 0;
}
.products-pages-other{
    width: 1280px;
    max-width: 100%;
    display:         flex;
    display: -webkit-flex;
    align-items: center;
    -webkit-align-items: center;
    justify-content: center;
    -webkit-justify-content: center;
    flex-direction: row;
    margin: 0 auto;
    font-size: 0;
    box-sizing: border-box;
}
.products-pages-other-text-box{
    width: 50%;
    display: inline-block;
    vertical-align: middle;
}
.products-pages-other-title{
    width: 100%;
    display: block;
    font-size: 36px;
    font-family: 'Noto Sans TC';
    color: #000;
    letter-spacing: 0.06em;
}
.products-pages-other-img-box{
    width: 50%;
    height: 800px;
    display: inline-block;
    vertical-align: middle;
}
.products-pages-other-text{
    width: 100%;
    display: block;
    font-size: 18px;
    line-height: 2;
    font-family: 'Noto Sans TC';
    color: #666;
    letter-spacing: 0.06em;
    margin-top: 30px;
    text-align: justify;
}
.products-pages-other-text *{
    font-weight: 300;
}
.products-pages-winemaker-box.products-pages-other{
    flex-direction: row-reverse;
    margin-top: 125px;
}
.products-pages-winery-box .products-pages-other-text-box{
    box-sizing: border-box;
    padding-right: 175px;
}
.products-pages-winemaker-box .products-pages-other-text-box{
    box-sizing: border-box;
    padding: 0 85px;
}


@media only screen and (max-width: 1800px){
    .products-pages-info-price{
        margin-bottom: 20px;
    }
    .products-pages-info-text-box{
        margin-top: 20px;
    }
    .products-pages-info-text{
        margin-top: 15px;
    }
}
@media only screen and (max-width: 1400px){
    .products-all-box{
        width: 1180px;
    }
    .news-categroy{
        margin-right: 20px;
    }
}
@media only screen and (max-width: 1300px){

    .products-pages-info-box{
        width: 1180px;
    }
    .products-pages-resume-box,
    .products-pages-other{
        width: 1180px;
    }
    .products-pages-other-img-box{
        height: calc((800 / 650) * 600px);
    }
}
@media only screen and (max-width: 1200px){
    .products-all-box{
        width: 980px;
    }
    .news-categroy-box{
        margin-top: 60px;
    }
    .news-categroy{
        width: 155px;
        margin-right: 10px;
    }
    .products-info-box{
        margin-top: 100px;
    }


    .products-pages-info-box{
        width: 980px;
    }
    .products-pages-img-box{
        width: calc(100% - 600px);
    }
    .products-pages-info{
        width: 600px;
        padding: 30px 40px;
    }
    .products-pages-info-name{
        line-height: 36px;
    }
    .products-pages-info-price{
        margin-bottom: 10px;
        line-height: 30px;
    }
    .products-pages-info-text-box{
        margin-top: 10px;
    }
    .products-pages-info-text{
        font-size: 16px;
        line-height: 26px;
        margin-top: 5px;
    }
    .products-pages-resume-box,
    .products-pages-other{
        width: 980px;
    }
    .products-pages-other-img-box{
        height: calc((800 / 650) * 500px);
    }
    .products-pages-winery-box .products-pages-other-text-box{
        padding-right: 75px;
    }
    .products-pages-winemaker-box .products-pages-other-text-box{
        padding: 0 35px;
    }
}
@media only screen and (max-width: 1000px){
    .products-box{
        margin-top: 93px;
        min-height: calc(100vh - 93px);
    }
    .products-all-box{
        width: 740px;
    }
    .rwd-news-categroy{
        width: 100%;
        border: 1px solid #d1d1d1;
        font-size: 18px;
        letter-spacing: 0.06em;
        text-align: center;
        display: block;
        color: #666;
        line-height: 48px;
        position: relative;
        box-sizing: border-box;
    }
    .rwd-news-categroy:after {
        content: '';
        width: 0px;
        height: 0px;
        margin: 0 auto;
        border-right: 8px solid transparent;
        border-top: 10px solid #888;
        border-left: 8px solid transparent;
        display: block;
        position: absolute;
        bottom: calc(50% - 5px);
        right: 5%;
        box-sizing: border-box;
    }
    .news-categroy-all-box{
        width: 100%;
        display: block;
        position: absolute;
        border: 1px solid #d1d1d1;
        box-sizing: border-box;
        background-color: #fff;
        box-shadow: 0 5px 10px rgba( 0, 0, 0, 0.35);
        z-index: 2;
        display: none;
    }
    .news-categroy:nth-child(n){
        width: 100%;
        display: block;
        line-height: 48px;
        border: none;
        margin-top: 0;
    }

    .products-pages-info-box{
        width: 100%;
    }
    .products-pages-img-box{
        width: 100%
    }
    .products-pages-info{
        width: 740px;
        max-width: 100%;
        display: block;
        margin: 0 auto;
        padding: 15px 0px;
    }
    .products-pages-info-name{
        font-size: 26px;
        line-height: 26px;
    }
    .products-pages-box{
        margin-top: 93px;
    }
    .products-pages-resume-box,
    .products-pages-other{
        width: 740px;
    }
    .products-pages-other-img-box{
        height: calc((800 / 650) * 375px);
    }
    .products-pages-resume-title-box{
        font-size: 26px;
    }
    .products-pages-resume-info-box{
        margin-top: 40px;
    }
    .products-pages-other-box{
        padding: 60px 0;
    }
    .products-pages-winery-box .products-pages-other-text-box{
        padding-right: 30px;
    }
    .products-pages-other-text{
        font-size: 16px;
        margin-top: 20px;
        line-height: 1.6;
    }
    .products-pages-winemaker-box .products-pages-other-text-box {
        padding: 0 20px;
    }
    .products-pages-other-title{
        font-size: 26px;
        line-height: 1.4;
    }
}
@media only screen and (max-width: 768px){
    .products-box{
        padding: 40px 0;
    }
    .products-all-box{
        width: 540px;
    }
    .news-categroy-box {
        margin-top: 30px;
    }
    .products-info-box{
        margin-top: 40px;
    }

    .products-pages-info{
        width: 540px;
        padding: 15px 0px;
    }
    .products-pages-other-box{
        padding: 40px 0;
    }
    .products-pages-resume-box,
    .products-pages-other{
        width: 540px;
        display: block;
    }
    .products-pages-winemaker-box.products-pages-other{
        margin-top: 40px;
    }
    .products-pages-other-text-box{
        width: 100%;
    }
    .products-pages-other-img-box{
        width: 100%;
        height: calc((800 / 650) * 540px);
        margin-top: 20px;
    }
    .products-pages-winery-box .products-pages-other-text-box,
    .products-pages-winemaker-box .products-pages-other-text-box{
        padding: 0;
    }
}
@media only screen and (max-width: 550px){
    .products-box{
        margin-top: 65px;
        min-height: calc(100vh - 65px);
        padding: 20px 0;
    }
    .products-all-box{
        width: calc(95vw - 10px);
    }
    .rwd-news-categroy{
        font-size: 16px;
        line-height: 38px;
    }
    .news-categroy{
        font-size: 16px;
        line-height: 38px;
    }
    .news-categroy-box{
        margin-top: 15px;
    }
    .products-info-box{
        margin-top: 20px;
    }


    .products-pages-bimg-box{
        width: 270px;
    }
    .products-pages-bimg{
        height: calc((480 / 360) * 270px);
    }
    .products-pages-simg-box{
        width: calc(80px * 3 + 15px * 2);
        margin-top: 20px;
    }
    .products-pages-simg-list{
        width: 80px;
        margin-right: 15px;
    }
    .products-pages-simg{
        height: calc((48 / 36) * 80px);
    }
    .products-pages-info{
        width: calc(95vw - 10px);
    }
    .products-pages-info-name{
        font-size: 20px;
        line-height: 30px;
    }
    .products-pages-info-price{
        font-size: 16px;
        line-height: 20px;
        margin-bottom: 5px;
    }
    .products-pages-info-diagram{
        width: 200px;
        display: block;
        margin: 0 auto;
    }
    .products-pages-info-text-box{
        margin-top: 5px;
    }
    .products-pages-info-text-box p{
        font-size: 16px;
        line-height: 24px;
    }
    .products-pages-info-text{
        font-size: 14px;
        line-height: 20px;
        margin-top: 0;
    }
    .products-pages-box{
        margin-top: 65px;
    }
    .products-pages-other-box{
        padding: 20px 0;
    }
    .products-pages-resume-box,
    .products-pages-other{
        width: calc(95vw - 10px);
    }
    .products-pages-resume-box{
        padding: 20px 0;
    }
    .products-pages-resume-title-box{
        font-size: 20px;
    }
    .products-pages-resume-info-box{
        margin-top: 20px;
    }
    .products-pages-resume-info:nth-child(n){
        width: 100%;
        display: block;
        margin-top: 20px;
    }
    .products-pages-resume-info:first-child{
        margin-top: 0px;
    }
    .products-pages-resume-info span{
        width: 40px;
    }
    .products-pages-resume-info p{
        width: calc(100% - 40px);
        font-size: 16px;
        padding-left: 10px;
    }
    .products-pages-other-title{
        font-size: 20px;
    }
    .products-pages-other-text{
        font-size: 14px;
        margin-top: 10px;
        line-height: 1.4;
    }
    .products-pages-other-img-box{
        height: calc((800 / 650) * (95vw - 10px));
        margin-top: 10px;
    }
    .products-pages-winemaker-box.products-pages-other{
        margin-top: 20px;
    }

    .products-pages-info-p{
        font-size: 14px;
    }
}


.news-categroy:hover{
    color: #fff;
    background-color: #7b2532;
}
.news-categroy.active{
    color: #fff;
    background-color: #7b2532;
}
.news-categroy:hover p,
.news-categroy.active p{
    opacity: 0;
}
.news-categroy.active p,
.news-categroy:hover span{
    opacity: 1;
}


@media only screen and (min-width: 1001px){
    .news-categroy-box,
    .main-pages-box,
    .products-pages-img-box,
    .products-pages-info-name,
    .products-pages-info-p,
    .products-pages-info-price,
    .products-pages-info-diagram-box,
    .products-pages-info-text-box,
    .products-pages-resume-title-box,
    .products-pages-resume-info-box,
    .products-pages-other-text-box,
    .products-pages-other-img-box{
        opacity: 0;
    }
    .news-categroy-box.anima{
        animation: fade 1s ease 0s 1 both;
        z-index: 1;
        position: relative;
    }
    .main-pages-box.anima{
        animation: fadeInUp 1s ease 0s 1 both;
    }

    .products-pages-info-box.anima .products-pages-img-box{
        animation: fade 1s ease 0s 1 both;
    }
    .products-pages-info-box.anima .products-pages-info-name{
        animation: fadeInRight 1s ease 0s 1 both;
    }
    .products-pages-info-box.anima .products-pages-info-p{
        animation: fadeInRight 1s ease 0.1s 1 both;
    }
    .products-pages-info-box.anima .products-pages-info-price{
        animation: fadeInRight 1s ease .2s 1 both;
    }
    .products-pages-info-box.anima .products-pages-info-diagram-box{
        animation: fade 1s ease .3s 1 both;
    }
    .products-pages-info-box.anima .products-pages-info-text-box{
        animation: fadeInUp 1s ease .4s 1 both;
    }
    .products-pages-resume-box.anima .products-pages-resume-title-box{
        animation: fadeInDown 1s ease 0s 1 both;
    }
    .products-pages-resume-box.anima .products-pages-resume-info-box{
        animation: fade 1s ease .4s 1 both;
    }
    .products-pages-other.anima .products-pages-other-text-box{
        animation: fadeInLeft 1s ease 0s 1 both;
    }
    .products-pages-other.anima .products-pages-other-img-box{
        animation: fadeInRight 1s ease 0s 1 both;
    }
    
}