﻿.fiber-box{
    width: 100%;
    display: block;
    position: relative;
    min-height: 100vh;
    box-sizing: border-box;
    padding: 120px 0;
}
.fiber-all-box{
    width: 1600px;
    max-width: 100%;
    display: block;
    margin: 0 auto;
    font-size: 0;
    position: relative;
    box-sizing: border-box;
    padding-top: 150px;
}
.fiber-category-box{
    width: 260px;
    display: inline-block;
    vertical-align: top;
}
.fiber-category-title-box{
    width: 100%;
    display: block;
    margin-bottom: 20px;
}
.fiber-category-title{
    font-family: "Oswald";
    font-size: 36px;
    letter-spacing: 0.06em;
    line-height: 1;
    color: #bd9b60;
    display: inline-block;
    vertical-align: bottom;
    margin-right: 30px;
    transition: all .3s linear;
}
.fiber-category-close{
    display: none;
}
.fiber-category-info{
    box-sizing: border-box;
    padding: 0 15px;
    padding-top: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #ccc;
    transition: all .3s linear;
}
.fiber-category-info-name{
    width: 100%;
    display: block;
    cursor: pointer;
}
.fiber-category-info-name p{
    font-family: "Noto Sans TC";
    font-size: 20px;
    letter-spacing: 0.06em;
    line-height: 1.4;
    display: inline-block;
    vertical-align: middle;
    width: calc(100% - 18px);
    margin-right: 10px;
    transition: all .3s linear;
}
.fiber-category-info-name span{
    width: 8px;
    height: 2px;
    display: inline-block;
    vertical-align: middle;
    background-color: #bd9b60;
    position: relative;
    transition: all .3s linear;
}
.fiber-category-info-name span::before{
    content: "";
    width: 2px;
    height: 8px;
    display: block;
    position: absolute;
    top: -3px;
    left: 3px;
    background-color: #bd9b60;
    transition: all .3s linear;
}
.fiber-category-info.active .fiber-category-info-name span::before{
    transform: scaleY(0);
}
.fiber-category-list-box{
    box-sizing: border-box;
    padding-top: 5px;
    display: none;
}
.fiber-category-list{
    font-family: "Noto Sans TC";
    font-weight: 300;
    font-size: 16px;
    color: #666;
    letter-spacing: 0.06em;
    line-height: 36px;
    transition: all .3s linear;
}
.fiber-right-box{
    width: calc(100% - 260px);
    display: inline-block;
    vertical-align: top;
    box-sizing: border-box;
    padding-left: 120px;
}
.fiber-info{
    width: 360px;
    display: inline-block;
    vertical-align: top;
    margin-right: 70px;
}
.fiber-info:nth-child(3n){
    margin-right: 0;
}
.fiber-info:nth-child(n + 4){
    margin-top: 70px;
}
.fiber-info-img{
    width: 100%;
    height: 360px;
    display: block;
    overflow: hidden;
    position: relative;
    transition: all .3s linear;
}
.fiber-info-text{
    font-family: 'Noto Sans TC';
    font-size: 18px;
    color: #333;
    letter-spacing: 0.01em;
    line-height: 1.4;
    overflow : hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    margin-top: 15px;
}
.fiber-page-box{
    margin-top: 100px;
}




.fiber-category-path-box{
    display: inline-block;
    vertical-align: middle;
    margin-top: 20px;
}
.fiber-category-path{
    font-family: 'Noto Sans TC';
    font-size: 14px;
    color: #666;
    letter-spacing: 0.01em;
    line-height: 14px;
    display: inline-block;
    vertical-align: middle;
    position: relative;
    transition: all .3s linear;
}
a.fiber-category-path{
    color: #333;
}
a.fiber-category-path::after{
    content: ">";
    display: inline-block;
    vertical-align: top;
    font-family: "Oswald";
    font-size: 14px;
    color: #333;
    line-height: 1;
    margin: 0 15px;
}
#fiber-pages .fiber-category-title-box,
#clothes-pages .fiber-category-title-box{
    margin-bottom: 80px;
}
.fiber-pages-info-left-box{
    width: 600px;
    display: inline-block;
    vertical-align: top;
}
.fiber-pages-info-img{
    width: 100%;
    height: 600px;
    display: block;
    background-color: #f2f2f2;
}
.fiber-pages-info-left-box.slick-dotted.slick-slider{
    margin-bottom: 0;
}
.fiber-pages-info-left-box .slick-dots{
    text-align: right;
    position: static;
    margin-top: 20px;
}
.fiber-pages-info-left-box .slick-dots li{
    margin: 0;
    margin-left: 15px;
}
.fiber-pages-info-left-box .slick-dots li button{
    background-color: #ddd;
}
.fiber-pages-info-left-box .slick-dots li.slick-active button{
    background-color: #bd9b60;
}
.fiber-pages-info-left-box .slick-dots li.slick-active button{
    background-color: #bd9b60;
}
.fiber-pages-info-left-box .slick-dots li button:before{
    display: none;
}
.fiber-pages-info-right-box{
    width: calc(100% - 600px);
    display: inline-block;
    vertical-align: top;
    box-sizing: border-box;
    padding-top: 50px;
    padding-left: 75px;
}
.fiber-pages-info-name{
    font-family: 'Noto Sans TC';
    font-size: 36px;
    letter-spacing: 0.1em;
    line-height: 1;
    color: #333;
}
.fiber-pages-info-text-title{
    font-family: 'Noto Sans TC';
    font-size: 18px;
    letter-spacing: 0.06em;
    line-height: 26px;
    color: #bd9b60;
}
.fiber-pages-info-text-box{
    margin: 50px 0;
}
.fiber-pages-info-text{
    font-family: 'Noto Sans TC';
    font-size: 18px;
    letter-spacing: 0.06em;
    line-height: 26px;
    color: #666;
    margin-top: 10px;
}
.fiber-pages-info-btn{
    width: 300px;
    font-family: 'Noto Sans TC';
    font-size: 20px;
    color: #fff;
    letter-spacing: 0.1em;
    display: block;
    background-color: #bd9b60;
    border-radius: 10px;
    line-height: 60px;
    text-align: center;
    transition: all .3s linear;
}
.fiber-pages-edit-box{
    font-family: 'Noto Sans TC';
    font-size: 18px;
    letter-spacing: 0.06em;
    line-height: 1.6;
    color: #666;
    width: 100%;
    display: block;
    box-sizing: border-box;
    margin-top: 60px;
    margin-bottom: 130px;
}
.fiber-pages-more-title{
    font-family: 'Noto Sans TC';
    font-size: 20px;
    line-height: 36px;
    color: #333;
    letter-spacing: 0.06em;
    margin-bottom: 40px;
}



@media only screen and (max-width: 1600px){
    .fiber-all-box{
        width: 1400px;
        padding-top: 120px;
    }
    .fiber-info{
        width: 300px;
        margin-right: 60px;
    }
    .fiber-info:nth-child(n + 4) {
        margin-top: 60px;
    }
    .fiber-info-img{
        height: 300px;
    }
}
@media only screen and (max-width: 1400px){
    .fiber-all-box{
        width: 1200px;
        padding-top: 100px;
    }
    .fiber-right-box{
        padding-left: 80px;
    }
    .fiber-info{
        width: 260px;
        margin-right: 40px;
    }
    .fiber-info:nth-child(n + 4) {
        margin-top: 40px;
    }
    .fiber-info-img{
        height: 260px;
    }

    .fiber-pages-info-left-box{
        width: 400px;
    }
    .fiber-pages-info-img{
        height: 400px;
    }
    .fiber-pages-info-right-box{
        width: calc(100% - 400px);
        padding-top: 30px;
        padding-left: 45px;
    }

}
@media only screen and (max-width: 1200px){
    .fiber-box{
        padding: 80px 0;
    }
    .fiber-all-box{
        width: 1000px;
        padding-top: 80px;
    }
    .fiber-right-box{
        padding-left: 60px;
    }
    .fiber-info{
        width: 200px;
        margin-right: 40px;
    }
    .fiber-info:nth-child(n + 4) {
        margin-top: 40px;
    }
    .fiber-info-img{
        height: 200px;
    }

    
    .fiber-pages-info-left-box{
        width: 300px;
    }
    .fiber-pages-info-img{
        height: 300px;
    }
    .fiber-pages-info-right-box{
        width: calc(100% - 300px);
        padding-top: 20px;
        padding-left: 25px;
    }
}
@media only screen and (max-width: 1000px){
    .fiber-box{
        padding: 60px 0;
    }
    .fiber-all-box{
        width: 750px;
        padding-top: 60px;
    }
    .fiber-category-title{
        font-size: 28px;
    }
    .fiber-category-box{
        width: 200px;
    }
    .fiber-category-info{
        padding: 10px;
    }
    .fiber-category-info-name p{
        font-size: 18px;
    }
    .fiber-right-box{
        width: calc(100% - 200px);
        padding-left: 40px;
    }
    .fiber-info:nth-child(n){
        width: 245px;
        margin-right: 20px;
        margin-top: 0px;
    }
    .fiber-info:nth-child(2n) {
        margin-right: 0px;
    }
    .fiber-info:nth-child(n + 3) {
        margin-top: 20px;
    }
    .fiber-info-img{
        height: 245px;
    }
    
    .fiber-pages-info-left-box{
        width: 100%;
    }
    .fiber-pages-info-img{
        height: 510px;
    }
    .fiber-pages-info-right-box{
        width: 100%;
        padding-left: 0;
    }
    .fiber-pages-edit-box{
        margin-top: 40px;
        margin-bottom: 60px;
    }
    #fiber-pages .fiber-info:nth-child(3){
        display: none;
    }
}
@media only screen and (max-width: 768px){
    .fiber-box{
        padding-bottom: 40px;
    }
    .fiber-all-box{
        width: 550px;
        padding-top: 40px;
    }
    .rwd-fiber-category{
        width: 100%;
        font-family: "Noto Sans TC";
        font-size: 16px;
        color: #333;
        letter-spacing: 0.06em;
        line-height: 36px;
        border: 1px solid #333;
        text-align: center;
        display: block;
        position: relative;
        box-sizing: border-box;
    }
    .rwd-fiber-category:after {
        content: '';
        width: 0px;
        height: 0px;
        margin: 0 auto;
        border-right: 6px solid transparent;
        border-top: 8px solid #333;
        border-left: 6px solid transparent;
        display: block;
        position: absolute;
        bottom: calc(50% - 4px);
        right: 10px;
        box-sizing: border-box;
    }
    .fiber-category-box{
        width: 100%;
        height: 100vh;
        display: none;
        align-items: center;
        -webkit-align-items: center;
        justify-content: center;
        -webkit-justify-content: center;
        flex-direction: row;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 999;
    }
    .fiber-category-box.active{
        display: inline-flex;
        display: -webkit-inline-flex;
    }
    .fiber-category-info-box{
        width: 550px;
        max-width: calc(100% - 40px);
        background-color: #fff;
        display: block;
        position: relative;
        z-index: 3;
        max-height: 80vh;
        overflow: auto;
    }
    .fiber-category-close{
        width: 40px;
        height: 40px;
        line-height: 40px;
        font-size: 20px;
        color: #000;
        font-family: "Noto Sans TC";
        text-align: center;
        display: block;
        position: absolute;
        top: 0px;
        right: 0;
        background-color: #ddd;
        cursor: pointer;
        z-index: 3;
    }
    .fiber-category-mask{
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0px;
        right: 0;
        background-color: rgba(0, 0, 0, .7);
        cursor: pointer;
        z-index: 2;
    }
    .fiber-right-box{
        width: 100%;
        display: block;
        padding-left: 0;
        margin-top: 40px;
    }
    .fiber-info:nth-child(n){
        width: 265px;
    }
    .fiber-info-img{
        height: 265px;
    }
    .fiber-page-box{
        margin-top: 60px;
    }

    .fiber-category-path-box{
        display: none;
    }
    #fiber-pages .fiber-category-title-box, 
    #clothes-pages .fiber-category-title-box{
        margin-bottom: 40px;
    }
    .fiber-pages-info-img{
        height: 550px;
    }
}
@media only screen and (max-width: 550px){
    .fiber-box{
        padding-bottom: 20px;
    }
    .fiber-all-box {
        width: calc(100% - 40px);
        padding-top: 20px;
    }
    .fiber-category-title-box{
        margin-bottom: 10px;
    }
    .fiber-category-title {
        font-size: 20px;
    }
    .rwd-fiber-category{
        line-height: 30px;
    }
    .fiber-right-box{
        margin-top: 20px;
    }
    .fiber-info:nth-child(n){
        width: calc((100vw - 40px - 10px) / 2);
        margin-right: 10px;
        margin-top: 0px;
    }
    .fiber-info:nth-child(2n) {
        margin-right: 0px;
    }
    .fiber-info:nth-child(n + 3) {
        margin-top: 10px;
    }
    .fiber-info-img{
        height: calc((100vw - 40px - 10px) / 2);
    }
    .fiber-info-text{
        font-size: 16px;
        margin-top: 5px;
    }
    .fiber-page-box{
        margin-top: 40px;
    }
    .page a{
        font-size: 16px;
        line-height: 20px;
        margin: 0 13px;
    }

    
    #fiber-pages .fiber-category-title-box, 
    #clothes-pages .fiber-category-title-box{
        margin-bottom: 20px;
    }
    .fiber-pages-info-left-box .slick-dots{
        margin-top: 10px;
    }
    .fiber-pages-info-img{
        height: calc(100vw - 40px);
    }
    .fiber-pages-info-name{
        font-size: 20px;
    }
    .fiber-pages-info-text-box{
        margin: 15px 0;
    }
    .fiber-pages-info-text-title{
        font-size: 16px;
        line-height: 20px;
    }
    .fiber-pages-info-text{
        font-size: 16px;
        line-height: 20px;
        margin-top: 5px;
    }
    .fiber-pages-info-btn{
        width: 180px;
        line-height: 50px;
        font-size: 18px;
    }
    .fiber-pages-edit-box {
        margin-top: 40px;
        margin-bottom: 40px;
        font-size: 16px;
        line-height: 1.4;
    }
    .fiber-pages-more-title{
        font-size: 16px;
        line-height: 22px;
        margin-bottom: 10px;
    }
}

@media only screen and (min-width: 769px){
    .fiber-category-info:hover .fiber-category-info-name span,
    .fiber-category-info:hover .fiber-category-info-name span::before{
        background-color: #333;
    }
    .fiber-category-info-name p>a{
        transition: all .3s linear;
    }
    .fiber-info:hover .main-bg{
        transform: scale(1.1);
    }

    a.fiber-category-path:hover{
        color: #bd9b60;
    }
    .fiber-pages-info-btn:hover{
        background-color: #333;
        color: #fff;
    }
    .fiber-pages-info-left-box .slick-dots li button{
        transition: all .3s linear;
    }
    .fiber-pages-info-left-box .slick-dots li button:hover{
        background-color: #333;
    }

    .fiber-category-title-box,
    .fiber-category-box,
    .fiber-info,
    .fiber-page-box,
    .fiber-pages-info-box,
    .fiber-pages-edit-box,
    .fiber-pages-more-title{
        opacity: 0;
    }
    .fiber-category-title-box.anima{
        animation: fadeInDown 1s ease 0s 1 both;
    }
    .fiber-category-box.anima{
        animation: fade 1s ease 0.4s 1 both;
    }
    .fiber-info.anima,
    .fiber-page-box.anima{
        animation: fadeInUp 1s ease 0s 1 both;
    }
    .fiber-pages-info-box.anima{
        animation: fadeInUp 1s ease 0s 1 both;
    }
    .fiber-pages-edit-box.anima{
        animation: fade 1s ease 0s 1 both;
    }
    .fiber-pages-more-title.anima{
        animation: fade 1s ease 0s 1 both;
    }

}
.fiber-category-info-name p>a:hover,
.fiber-category-list:hover{
    color: #bd9b60;
}