﻿.index-works-box{
    width: 100%;
    display: block;
    position: relative;
}
.index-works-all-box{
    width: 1300px;
    max-width: 100%;
    display: block;
    margin: 0 auto;
    position: relative;
    font-size: 0;
    box-sizing: border-box;
    padding: 80px 0;
}
.index-works-title-box{
    text-align: center;
}
.index-works-title-en{
    font-size: 48px;
    font-family: "Noto Sans TC";
    font-weight: 700;
    color: #000;
    letter-spacing: 2px;
    display: inline-block;
    vertical-align: bottom;
}
.index-works-title-ch{
    font-size: 16px;
    font-family: "Noto Sans TC";
    color: #888;
    letter-spacing: 2px;
    display: inline-block;
    vertical-align: bottom;
    line-height: 52px;
    margin-left: 5px;
}
.index-works-info-box{
    margin-top: 30px;
}
.index-works-info{
    width: 320px;
    display: inline-block;
    vertical-align: top;
    margin-right: 6px;
}
.index-works-info-img-box{
    overflow: hidden;
}
.index-works-info-img{
    width: 100%;
    height: 420px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    position: relative;
    transition: all .3s linear;
}
.index-works-info-text-box{
    box-sizing: border-box;
    padding: 5px 10px;
}
.index-works-info-text-t,
.index-works-info-text{
    font-size: 14px;
    color: #555;
    letter-spacing: 1px;
    line-height: 1.8;
    transition: all .3s linear;
}
.index-works-info-text{
    min-height: 50px;
    max-height: 50px;
    overflow : hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.index-works-info-box .slick-prev{
    left: -50px;
    top: 224px;
}
.index-works-info-box .slick-next{
    right: -50px;
    top: 224px;
}
.index-works-info-box .slick-prev:before{
    content: '';
    border-top: 12px solid transparent;
    border-right: 18px solid #905e27;
    border-bottom: 12px solid transparent;
    display: block;
    opacity: 1;
    color: #000;
}
.index-works-info-box .slick-next:before{
    content: '';
    border-top: 12px solid transparent;
    border-left: 18px solid #905e27;
    border-bottom: 12px solid transparent;
    display: block;
    opacity: 1;
    color: #000;
}
.index-works-info-box .slick-disabled:before, 
.index-works-info-box .slick-disabled:before{
    opacity: 0;
}



/*---------------------hover-----------------------*/

.index-works-info:hover .index-works-info-img{
    transform: scale(1.1);
}
.index-works-info:hover .index-works-info-text-t, 
.index-works-info:hover .index-works-info-text{
    color: #905e27;
}


@media only screen and (max-width: 1400px){
    .index-works-all-box{
        width: 1100px;
    }
    .index-works-info{
        width: 270px;
    }
    .index-works-info-img{
        height: 354.375px;
    }
}
@media only screen and (max-width: 1300px){
    .index-works-title-en {
        font-size: 44px;
    }
    .index-works-title-ch{
        line-height: 50px;
    }
}
@media only screen and (max-width: 1200px){
    .index-works-all-box{
        width: 900px;
    }
    .index-works-title-en {
        font-size: 40px;
    }
    .index-works-title-ch{
        line-height: 46px;
    }
    .index-works-info{
        width: 220px;
    }
    .index-works-info-img{
        height: 289px;
    }
    .index-works-info-box .slick-next,
    .index-works-info-box .slick-prev{
        top: 150px;
    }
}
@media only screen and (max-width: 1000px){
    .index-works-all-box{
        width: 700px;
        padding: 50px 0;
    }
    .index-works-title-en {
        font-size: 36px;
    }
    .index-works-title-ch{
        line-height: 40px;
    }
    .index-works-info{
        width: 229px;
    }
    .index-works-info-img{
        height: 300px;
    } 
    .index-works-info-text-t{
        font-size: 12px;
    }
    .index-works-info-text{
        font-size: 12px;
        min-height: 42px;
        max-height: 42px; 
    }
    .index-works-info-box .slick-next{
        right: -40px;
    }
    .index-works-info-box .slick-prev{
        left: -40px;
    }
}
@media only screen and (max-width: 800px){
    .index-works-all-box{
        width: 500px;
        padding: 40px 0;
    }
    .index-works-info{
        width: 247px;
    }
    .index-works-info-img{
        height: 325px;
    }
    .index-works-title-en {
        font-size: 32px;
    }
    .index-works-title-ch{
        line-height: 36px;
        font-size: 14px;
    }
    .index-works-info-box .slick-next,
    .index-works-info-box .slick-prev{
        top: 180px;
    }
}
@media only screen and (max-width: 575px){
    .index-works-all-box{
        width: 320px;
        padding: 30px 0;
    }
    .index-works-info{
        width: 320px;
    }
    .index-works-info-img{
        height: 420px;
    }
    .index-works-title-en {
        font-size: 28px;
    }
    .index-works-title-ch{
        line-height: 32px;
        font-size: 12px;
    }
    .index-works-info-box .slick-next,
    .index-works-info-box .slick-prev{
        top: 210px;
    }
    .index-works-info-box .slick-prev:before{
        border-top: 8px solid transparent;
        border-right: 12px solid #905e27;
        border-bottom: 8px solid transparent;
    }
    .index-works-info-box .slick-next:before{
        border-top: 8px solid transparent;
        border-left: 12px solid #905e27;
        border-bottom: 8px solid transparent;
    }
    .index-works-info-box .slick-next{
        right: -30px;
    }
    .index-works-info-box .slick-prev{
        left: -30px;
    }
}
@media only screen and (max-width: 400px){
    .index-works-all-box{
        width: 260px;
        padding: 20px 0;
    }
    .index-works-title-en {
        font-size: 24px;
    }
    .index-works-title-ch{
        line-height: 26px;
    }
    .index-works-info{
        width: 260px;
    }
    .index-works-info-img{
        height: 341.25px;
    }
    .index-works-info-box .slick-next,
    .index-works-info-box .slick-prev{
        top: 170px;
    }
    .index-works-info-box{
        margin-top: 10px;
    }
}


/*animation*/
/*<-------------動畫------------->*/

@media only screen and (min-width: 1001px){
    .index-works-title-box,
    .index-works-info-box{
        opacity: 0;
    }
    .index-works-title-box.anima{
        animation: fadeInDown 1s ease 0s both;
    }
    .index-works-info-box.anima{
        animation: fade 1s ease 0s both;
    }
}