main{
    width: 100%;
    background-color: #000;
    position: relative;
}
/*banner*/
.banner-box{
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: table;
    position: relative;
}
.banner-bg{
    width: 100%;
    height: 120%;
    display: block;
    position: absolute;
    top: 0;
    background-image: url('../img/banner.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    transition: all .4s linear;
}
.banner-info-box{
    display: table-cell;
    vertical-align: middle;
    position: relative;
}

.banner-info{
    width: 900px;
    max-width: 100%;
    display: block;
    margin: 0 auto;
    position: relative;
}

.banner-logo{
    width: 400px;
    max-width: 100%;
    display: block;
    float: left;
    position: relative;
}
.banner-logo-img-title{
    position: absolute;
    width: 100%;
    left: 0;
    bottom: 0;
    animation: fade 1s ease 2s 1 both;
}
.banner-p{
    font-family: "Noto Sans TC";
    font-weight: 600;
    display: block;
    font-size: 50px;
    color: #FFF;
    position: absolute;
    top: calc(50% - 40px);
    right: 0;
}

.banner-p span{
    font-family: "Noto Sans TC";
    font-weight: 600;
    padding-left: 60px;
    display: block;
}

.next-page{
    width: 50px;
    display: block;
    max-width: 100%;
    margin: 0 auto;
    font-size: 50px;
    font-weight: 800;
    color: #d60050;
    position: absolute;
    bottom: 30px;
    left: calc(50% - 25px);
    transform: rotate(90deg);
    cursor: pointer;
}
/*about*/
.about-top-bg{
    width: 100%;
    height: 300px;
    max-width: 100%;
    display: block;
    position: relative;
    background-image: url('../img/about-bg.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.about-info-box{
    width: 900px;
    font-size: 0;
    display: block;
    margin: 0 auto;
    position: absolute;
    bottom: -400px;
    left: calc(50% - 450px);
    z-index: 3;
}
.about-info-box li{
    width: 300px;
    height: 400px;
    max-width: 100%;
    display: inline-block;
    position: relative;
}
.about-info-box li:nth-child(1){
    background-image: url('../img/about-bg1.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    bottom: -100px;
}
.about-info-box li:nth-child(2){
    background-image: url('../img/about-bg2.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    bottom: -155px;
}
.about-info-box li:nth-child(3){
    background-image: url('../img/about-bg3.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    bottom: 0;
}

.about1-img{
    width: 182px;
    display: block;
    position: absolute;
    top: -116px;
}
.about2-img{
    width: 128px;
    display: block;
    position: absolute;
    top: -38px;
    right: 0;
}
.about3-img{
    width: 66px;
    display: block;
    position: absolute;
    top: -41px;
    right: 0;
}
.about-title{
    font-size: 24px;
    padding: 20px 0;
    text-align: center;
    color: #FFF;
    letter-spacing: 2px;
}
.about-p{
    font-size: 16px;
    padding: 0 15px;
    line-height: 3;
    color: #FFF;
    text-align: justify;
    letter-spacing: 4px;
}
.about-p2{
    font-size: 16px;
    color: #FFF;
    line-height: 1.6;
    padding: 0 10px;
    padding-bottom: 25px;
    color: #FFF;
    text-align: justify;
    letter-spacing: 4px;
}


.about-p2 span {
    font-size: 16px;
    width: 15px;
    display: block;
    vertical-align: top;
    float: left;
}
.about-p2 p{
    width: calc(100% - 15px);
    display: block;
    float: right;

}

/*work*/
.work-box{
    width: 100%;
    display: block;
    position: relative;
    height: auto;
    overflow: hidden;
}

.work-bg{
    width: 100%;
    display: block;
    position: absolute;
    top: 0;
    height: 120%;
    background-image: url('../img/products-bg.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top;
    transition: all .4s linear;
}

.work-top-mask{
    width: 100%;
    height: 350px;
    max-width: 100%;
    display: block;
    position: relative;
    top: 0;
    z-index: 2;
    background-color: #000;
    clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 65%);
}

.work-info-box{
    width: 100%;
    margin-top: 150px;
    display: block;
    position: relative;
    z-index: 1;
}
.title-icon{
    width: 5px;
    height: 50px;
    display: block;
    margin: 0 auto;
    background-color: #d70050;
    margin-bottom: 30px;
    position: relative;
    opacity: 0;
}

.work-info-box .title, .news-info-box .title, .contact-box .title{
    font-size: 50px;
    text-align: center;
    letter-spacing: 5px;
    color: #FFF;
    padding-bottom: 50px;
    position: relative;
    opacity: 1;
}
.work-info-box .title{
    padding-bottom: 0;
}
/*work-分類*/
.work-info{
    width: 1000px;
    max-width: 100%;
    display: block;
    margin: 0 auto;
    font-size: 0;
    padding-top: 50px;
}
/*work-內頁*/
.work-list{
    width:1300px;
    max-width: 100%;
    margin: 0 auto;
    font-size: 0; 
}
.work-info li{
    width: 300px;
    height: 300px;
    max-width: 100%;
    display: inline-block;
    margin: 0 16.6px;
    position: relative;
    margin-bottom: 33px;
}
.work-img{
    width: 100%;
    height: 100%;
    display: block;
    position: relative;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.work-title{
    position: absolute;
    bottom: 0;
    color: #FFF;
    font-size: 16px; 
    z-index: 1;
    letter-spacing: 3px;
    left: 5px;
    transition: all .4s linear;     
}
.work-mask{
    width: 100%;
    height: 100%;
    display: block;
    position: relative;
    background: -moz-linear-gradient(top, rgba(0,0,0,0) 77%, rgba(0,0,0,0.65) 95%, rgba(0,0,0,0.65) 98%, rgba(0,0,0,0.65) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, rgba(0,0,0,0) 77%,rgba(0,0,0,0.65) 95%,rgba(0,0,0,0.65) 98%,rgba(0,0,0,0.65) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, rgba(0,0,0,0) 77%,rgba(0,0,0,0.65) 95%,rgba(0,0,0,0.65) 98%,rgba(0,0,0,0.65) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#a6000000',GradientType=0 ); /* IE6-9 */
}

.work-bottom-mask{
    width: 100%;
    height: 100px;
    display: block;
    position: absolute;
    background-color: #000;
    bottom: 0;
    clip-path: polygon(0% 0%, 100% 55%, 100% 100%, 0% 103%);
}
.work-info li a{
    width: 100%;
    height: 100%;
    display: block;
    overflow: hidden;
    position: relative;
}
.work-mask2{
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    background-color: rgba(0,0,0,0.6);
    background-image: url('../img/about-icon-a.png');
    background-size: 30%;
    background-position: center;
    background-repeat: no-repeat;
}


.work-list-box li{
    width: 300px;
    height: 300px;
    display: inline-block;
    max-width: 100%;
    margin: 0 12.5px;
    margin-bottom: 25px;
    position: relative;
    overflow: hidden;
}

.work-list-page{
    display: none;
}
.work-page-box{
    position: relative;
}
.work-list-menu{
    font-size: 0;
    padding: 20px 0;
    text-align: center;
}
.work-list-menu li{
    display:inline-block;
    margin: 10px 0;
    padding: 0 10px;
    box-sizing: border-box;
    border-right: 1px solid #FFF;
}
.work-list-menu li:last-child{
    border-right: 0;
}
.work-list-menu li a{
    color: #FFF;
    font-size: 16px;
    letter-spacing: 3px;
}
.work-list-menu li.active a{
     color:  #d70050;
}
.work-page-img{
    width: 500px;
    height: 500px;
    max-width: 100%;
    display: block;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.work-page-title{
    color: #d70050;
    font-size: 24px;
}
.work-page-p{
    color: #FFF;
}
.work-page-box .list-button-prev{
    left: 30%;
}
.work-page-box .list-button-next{
    right: 30%;
}

/*new*/
.news-box{
    width: 100%;
    height: auto;
    display: block;
    position: relative;
    z-index: 0;
    overflow: hidden;
}
.news-top-mask{
    width: 100%;
    height: 100px;
    display: block;
    clip-path: polygon(0% 0%, 100% 25%, 100% 65%, 0% 100%);
    background-color: #000;
    top: -29px;
    position: relative;

}
.news-bg{
    width: 100%;
    height: 120%;
    display: block;
    position: absolute;
    top: 0;
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
    background-image: url('../img/news-bg.jpg');
    z-index: -1;
    transition: all .4s linear;
}

.news-info-box{
    width: 1200px;
    max-width: 100%;
    margin: 0 auto;
    display: block;
    position: relative;
}

.news-info{
    width: 800px;
    display: block;
    max-width: 100%;
}

.news-info li{
    width: 100%;
    display: block;
    height: auto;
    position: relative;
    margin-bottom: 20px;
    transition: all .4s linear;
}
.news-info li a{
    width: 100%;
    height: 100%;
    display: block;
}

.news-img{
    width: 200px;
    height: 200px;
    display: inline-block;
    vertical-align: middle;
    max-width: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.news-info-text{
    width: calc(100% - 220px);
    padding-left: 20px;
    box-sizing: border-box;
    display: inline-block;
    vertical-align: middle;
    position: relative;
    height: 100%;
}

.news-info-title{
    font-size: 20px;
    letter-spacing: 3px;
    display: block;
    color: #FFF;
    height: 32px;
    overflow: hidden;
}

.news-time{
    font-size: 14px;
    color: #d70050;
    letter-spacing: 3px;
    height: 22px;
    overflow: hidden;
}

.news-p{
    font-size: 16px;
    letter-spacing: 3px;
    text-align: justify;
    line-height: 1.6;
    color: #FFF;
    overflow: hidden;
    max-height: 100px;
}
.more{
    font-size: 13px;
    letter-spacing: 2px;
    width: 50px;
    background-color: #d70050;
    color: #FFF;
    display: none;
    position: absolute;
    bottom: 0;
    right: 0;
    text-align: center;
    border-radius: 2px;
}
.news-bottom-mask{
    width: 100%;
    height: 100px;
    display: block;
    clip-path: polygon(0% 70%, 100% 15%, 100% 100%, 0% 100%);
    position: relative;
    background-color: #000;
}
.news-list-page{
    display: none;
}
.news-page-box{
    width: 1000px;
    max-width: 100%;
    display: block;
    margin: 0 auto;
    position: relative;
}
.news-page-img{

    max-width: 100%;
    height: 500px;
    display: block;

    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}
.news-page-info{

    display: block;

    padding-left: 20px;
    box-sizing: border-box;
}
.news-page-title{
    font-size: 24px;
    text-align: justify;
    letter-spacing: 3px;
    color: #000;
}
.news-page-time{
    font-size: 20px;
    color: #d70050;
    letter-spacing: 3px;
}
.news-page-p{
    font-size: 20px;
    color: #000;
    letter-spacing: 3px;
}
.list-button-prev{
    width: 50px;
    height: 50px;
    display: block;
    position: fixed;
    background-color: #000;
    background-image: url('../img/left-arrow.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
    top: calc(50% - 25px);
    
}
.list-button-next{
    width: 50px;
    height: 50px;
    display: block;
    position: fixed;
    background-color: #000;
    background-image: url('../img/right-arrow.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
    top: calc(50% - 25px);
   
}
.news-page-box .list-button-prev{
    left: 20%;
}
.news-page-box .list-button-next{
     right: 20%;
}

/* contact */
.contact-box{
    width: 495px;
    max-width: 100%;
    display: block;
    margin: 0 auto;
}

.contact-p{
    width: 100%;
    font-size: 16px;
    letter-spacing: 3px;
    text-align: justify;
    display: block;
    color: #FFF;
    padding-bottom: 20px;
}

.contact-list-box{
    width: 100%;
    font-size: 0;
    display: block;
}
.contact-list{
    width: 400px;
    max-width: 100%;
    display: block;
    float: left;
}

.contact-list li{
    width: 100%;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}
.contact-list li input{
    width: 100%;
    height: 50px;
    padding-left: 10px;
    letter-spacing: 3px;
    font-size: 20px;
    box-sizing: border-box;

}

.contact-list-label{
    position: absolute;
    top: 2px;
    left: 10px;
    font-size: 20px;
    letter-spacing: 2px;
    top: calc(50% - 16px);
}
.contact-list-label span {
    color: #d70050;
}
.contact-list-box li input:focus + .contact-list-label, .contact-list-box li textarea:focus + .contact-list-label {
    display: none;
}
.contact-textarea textarea{
    height: 150px;
    width: 100%;
    box-sizing: border-box;
    resize: none;
    font-size: 20px;
    padding-left: 5px;
    padding-top: 10px;
}

.contact-textarea .contact-list-label{
    top: 6px;
    left: 10px;
}
.contact-button{
    position: relative;
    width: 50px;
    max-width: 100%;
    height: 360px;
    float: right;
    writing-mode: vertical-lr ;
    letter-spacing: 5px;
    text-align: center;
}
.button{
    width: 100%;
    height: 100%;
    display: block;
    font-size: 20px;
    color: #FFF;
    background-color: #d70050;
    padding-left: 10px;
    box-sizing: border-box;
    color: #FFF;
    text-align: center;
    border: 0;
    cursor: pointer;

    font-family: "微軟正黑體", "Arial","Verdana", "Microsoft JhengHei", "Geneva", "sans-serif";
}
.contact-text{
    font-size: 20px;
    color: #fff;
    writing-mode: vertical-lr;
    position: relative;
    left: -40px;
    cursor: pointer;
}

.contact-info-box{
    width: 100%;
    display: block;
    margin: 30px 0;
}
.contact-info-logo{
    width: 355px;
    max-width: 100%;
    display: block;
    margin: 0 auto;
    margin-bottom: 30px;
}

.contact-info{
    text-align: center;
    font-size: 20px;
    letter-spacing: 3px;
    color: #FFF;
}

.map{
    width: 100%;
    height: 400px;
    display: block;
    position: relative;
}



/*fancybox*/
.fancybox-slide>*{
    background-color: rgba(0,0,0,0.4);
}
.news-page-title{
    color: #FFF;
}
.news-page-p{
    color: #FFF;
}

.page{
    width: 800px;
    text-align: center;
}
.page a.select{
    color: #d70050;
    width: 15px;
    height: 15px;
    max-width: 100%;
    margin: 0 5px;
    border-radius: 50%;
    background-color: #d70050;
    display: inline-block;
    vertical-align: middle;
}
.page a{
    color: #fff;
    width: 15px;
    height: 15px;
    max-width: 100%;
    margin: 0 5px;
    border-radius: 50%;
    background-color: #fff;
    display: inline-block;
    vertical-align: middle;
}

@keyframes fade {
 from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}