
header{
    position: fixed;
    z-index: 999;
    display: block;
    width: 100%;
    top: 0;
    background-color: #FFF;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.35);
}
.header-box{
    width: 95%;
    display: block;
    margin: 0 auto;
    font-size: 0;
    box-sizing: border-box;
    padding: 20px 0;
}
.header-logo{
    width: 300px;
    max-width: 100%;
    display: inline-block;
    position: relative;
    vertical-align: middle;
}
.header-menu-box{
    width: calc(100% - 300px);
    display: inline-block;
    vertical-align: middle;
    font-size: 0;
    text-align: right;
}
.header-menu> li{
    display: inline-block;
    vertical-align: middle;
    position: relative;
    margin-left: 45px;
}
.header-menu> li:first-child{
    margin-left: 0;
}

.header-menu-title{
    font-size: 16px;
    letter-spacing: 0.06em;
    color: #555;
    position: relative;
    font-family: 'Noto Sans TC';
    font-weight: 300;
    transition: all .3s linear;
}
.header-menu-title:hover{
    color: #bc121a;
}


.rwd-menu{
    width: 30px;
    max-width: 100%;
    position: absolute;
    right: 20px;
    z-index: 99999;
    display: none;
    top: calc(50% - 8px);
}
.rwd-menu span{
    width: 100%;
    display: block;
    margin: 0 auto;
    height: 3px;
    border-radius: 2px;
    background-color: #bc121a;
    position: relative;
}

.rwd-menu-style1> span:nth-child(even){
    margin: 4px auto;
    transition: all .4s linear;
}
.rwd-menu-style1> span:nth-child(1){
    transform: scale(1);
    transform-origin: left;
    transition: all .4s linear;
}
.rwd-menu-style1> span:nth-child(3){
    transform: scale(1);
    transform-origin: right;
    transition: all .4s linear;
}
.rwd-menu-style1> span:nth-child(4){
    top: -19px;
    transform:  scale(0,1) rotate(-45deg);
}
.rwd-menu-style1> span:nth-child(4){
    display: none;
}
.rwd-menu-style1 .rwd-menu-bth-line{
    transform: rotate(-45deg);
}
.rwd-menu-style1 .rwd-menu-bth-line2{
    transform: rotate(45deg);
}
.rwd-menu-style1 .rwd-menu-bth-line,
.rwd-menu-style1 .rwd-menu-bth-line2{
    position: absolute;
    top: 6px;
    left:0;
    width: 100%;
}
.rwd-menu-style1 .rwd-menu-bth-line span,
.rwd-menu-style1 .rwd-menu-bth-line2 span{
    transform:  scale(0,1);
    transition: all .5s ease;
    position: relative;
}
.rwd-menu-style1.active .rwd-menu-bth-line span,
.rwd-menu-style1.active .rwd-menu-bth-line2 span{
    transform:  scale(1,1) ;
    transition-delay: .1s;
}
.rwd-menu-style1.active> span:nth-child(1),
.rwd-menu-style1.active> span:nth-child(2),
.rwd-menu-style1.active> span:nth-child(3){
    transform: scale(0,1);
}
.rwd-menu-style1.active> span:nth-child(odd){
    transform: scale(0);
    transition: all .4s linear;
    transition-delay: 0s;
}



/* index-banner */
.index-banner-box{
    width: 100%;
    display: block;
    position: relative;
    overflow: hidden;
    margin-top: 81px;
}
.index-banner-box,
.index-banner-list{
    height: calc((540 / 1920) * 100vw);
}
.index-banner-list-box{
    width: 100%;
    display: block;
    position: relative;
}
.index-banner-list{
    width: 100%;
    display: block;
    position: relative;
}
.index-banner-list span{
    height: 100%;
    width: 100%;
    display: block;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
.index-banner{
    width: 100%;
    height: 100%;
    display: block;
    position: relative;
}
.index-banner-list-box.slick-dotted.slick-slider{
    margin-bottom: 0;
}
.index-banner-list-box .slick-dots{
    bottom: 15px;
}
.index-banner-list-box .slick-dots li{
    margin: 0 2px;
}
.index-banner-list-box .slick-dots li button:before {
    font-size: 20px;
    opacity: 0.5;
    color: #fff;
    transition: all .3s linear;
}
.index-banner-list-box .slick-dots li button:hover:before, 
.index-banner-list-box .slick-dots li button:focus:before ,
.index-banner-list-box .slick-dots li.slick-active button:before{
    opacity: 1;
}


/* services-page */
.services-page-box{
    width: 1920px;
    max-width: 100%;
    display: block;
    margin: 0 auto;
    position: relative;
}
.services-page-all-box{
    width: 1300px;
    max-width: 100%;
    display: block;
    margin: 50px auto;
    position: relative;
    font-size: 0;
    box-sizing: border-box;
    border-radius: 15px;
    overflow: hidden;
    border: 2px solid #bc121a;
}
.services-page-title{
    width: 100%;
    background-color: #bc121a;
    line-height: 46px;
    font-size: 24px;
    color: #FFF;
    text-align: center;
}
.services-page-text-box{
    width: 90%;
    display: block;
    margin: 0 auto;
    box-sizing: border-box;
    padding: 30px 0;
}
.services-page-text p{
    font-size: 20px;
    letter-spacing: 0.06em;
    color: #000;
    line-height: 36px;
    display: inline-block;
    vertical-align: middle;
}
.services-page-text span{
    font-size: 20px;
    letter-spacing: 0.06em;
    color: #000;
    line-height: 36px;
    display: inline-block;
    vertical-align: middle;
}
.services-page-info-box{
    width: 700px;
    margin: 0 auto;
    margin-bottom: 80px;
    box-sizing: border-box;
    border-radius: 20px;
    overflow: hidden;
    border: 2px solid #bc121a;
    padding: 10px 20px;
}
.services-page-info-name{
    font-size: 20px;
    letter-spacing: 0.06em;
    color: #000;
    font-weight: bold;
    line-height: 2;
}
.services-page-info{
    font-size: 16px;
    letter-spacing: 0.06em;
    color: #555;
    line-height: 2;
    box-sizing: border-box;
}
.services-page-img-box{
    width: 90%;
    margin: 0 auto;
    display: block;
    margin-bottom: 40px;
}
.services-page-img{
    height: 600px;
    margin: 0 20px;
}
.services-page-img img{
    height: 100%;
}
.services-page-img-all-box .slick-prev{
    left: 25px;
    z-index: 2;
}
.services-page-img-all-box .slick-next {
    right: 25px;
    z-index: 2;
}
.services-page-img-all-box .slick-prev:before, 
.services-page-img-all-box .slick-next:before{
    font-size: 26px;
}
.services-page-btn-box{
    width: 90%;
    display:         flex;
    display: -webkit-flex;
    align-items: center;
    -webkit-align-items: center;
    justify-content: space-evenly;
    -webkit-justify-content: space-evenly;
    flex-direction: row;
    margin: 0 auto;
    margin-bottom: 40px;
}
.services-page-btn{
    width: 300px;
    display: inline-block;
    vertical-align: middle;
    line-height: 40px;
    font-size: 16px;
    box-sizing: border-box;
    letter-spacing: 0.06em;
    border: 1px solid #c09b0f;
    box-sizing: border-box;
    text-align: center;
    color: #bc121a;
    border-radius: 20px;
    transition: all .3s linear;
}
.services-page-btn:hover{
    background-color: #c09b0f;
    color: #fff;
}
.services-page-back-box{
    text-align: center;
    margin-bottom: 60px;
}
.services-page-back{
    width: 300px;
    display: inline-block;
    vertical-align: middle;
    line-height: 40px;
    font-size: 16px;
    box-sizing: border-box;
    letter-spacing: 0.06em;
    border: 1px solid #c09b0f;
    box-sizing: border-box;
    text-align: center;
    color: #bc121a;
    border-radius: 20px;
    transition: all .3s linear;
}
.services-page-back:hover{
    background-color: #bc121a;
    color: #fff;
}



/* footer */
footer{
    width: 100%;
    display: block;
    position: relative;
    font-size: 0;
    background-color: #f2f2f2;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}
.footer-box{
    width: 1280px;
    max-width: 100%;
    display: block;
    margin: 0 auto;
    box-sizing: border-box;
    padding-top: 50px;
    padding-bottom: 40px;
}
.footer-logo-box{
    width: 100%;
    display: block;
    margin-bottom: 40px;
}
.footer-logo{
    width: 300px;
    display: inline-block;
    vertical-align: middle;
}
.footer-follow-box{
    display: inline-block;
    vertical-align: middle;
}
.footer-follow a{
    width: 40px;
    height: 40px;
    margin-left: 10px;
    display: inline-block;
    vertical-align: middle;
    transition: all .3s linear;
}
.footer-follow a:first-child{
    margin-left: 0;
}
.footer-follow i{
    margin-right: 15px;
}
.footer-follow a:hover{
    -webkit-filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.5));
    filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.5));
}

.footer-info-box{
    width: 40%;
    max-width: 100%;
    display: inline-block;
    vertical-align: top;
}
.footer-info{
    display: block;
    margin-bottom: 20px;
}
.footer-info>span{
    font-size: 12px;
    color: #fff;
    text-align: center;
    background-color: #bc121a;
    border-radius: 5px;
    width: 60px;
    line-height: 18px;
    display: inline-block;
    vertical-align: top;
    font-family: 'Anton';
    letter-spacing: 0.06em;
    padding-left: 0.06em;
    box-sizing: border-box;
}
.footer-info p{
    font-size: 14px;
    color: #555;
    letter-spacing: 1px;
    display: inline-block;
    vertical-align: top;
    width: calc(100% - 60px);
    box-sizing: border-box;
    padding-left: 10px;
    font-family: MyCustomFont;
    transition: all .3s linear;
}
a.footer-info:hover p{
    color: #bc121a;   
}

@font-face {
    font-family: MyCustomFont;
    src: local("微軟正黑體");
    unicode-range: U+4E00-9FFF;
}
@font-face {
    font-family: MyCustomFont;
    src: local(Roboto);
    unicode-range: U+00-024F;
}


.footer-center-box{
    width: 20%;
    display: inline-block;
    vertical-align: top;
}
.footer-center a{
    font-size: 16px;
    display: block;
    color: #888;
    line-height: 28px;
    margin-bottom: 10px;
    transition: all .3s linear;
}
.footer-center a:hover{
    color: #000;
}

.footer-web{
    font-size: 12px;
    font-family: 'Roboto';
    color: #888;
    font-weight: 300;
    line-height: 46px;
    border-top: 1px solid #d1d1d1;
    text-align: center;
    letter-spacing: 1px;
}

.fixed-box{
    position: fixed;
    bottom: 60px;
    right: 20px;
}
.fixed-all-box a{
    display: block;
    width: 40px;
    height: 40px;
    margin: 10px 0;
    text-align: center;
    transition: all .3s linear;
    -webkit-filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.5));
    filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.5));
}
.fixed-all-box a:last-child{
    line-height: 40px;
    color: #fff;
    font-family: 'Noto Serif TC';
    font-weight: 900;
    background-color: #bc121a;
    border-radius: 50%;
}

.fixed-all-box a:hover{
    -webkit-filter: drop-shadow(0 0 7px rgba(0, 0, 0, 0.7));
    filter: drop-shadow(0 0 7px rgba(0, 0, 0, 0.7));
}




@media only screen and (max-width: 1300px){
    .footer-box{
        width: 1200px;
    }
    .services-page-all-box{
        width: 1200px;
    }
    .services-page-img{
        height: calc((600 / 1200) * (1200px * 0.9));
    }
}
@media only screen and (max-width: 1200px){
    .header-logo{
        width: 200px;
    }
    .header-menu-box {
        width: calc(100% - 200px);
    }
    .header-menu> li{
        margin-left: 35px;
    }
    .index-banner-box{
        margin-top: 71px;
    }
    .footer-box{
        width: 1000px;
    }
    
    .services-page-all-box{
        width: 1000px;
    }
    .services-page-img{
        height: calc((600 / 1200) * (1000px * 0.9));
    }
}
@media only screen and (max-width: 1000px){
    .header-box{
        width: 95%;
    }
    .rwd-menu{
        display: block;
    }
    .header-menu{
        width: 100%;
        height: calc(100vh - 71px);
        position: fixed;
        top: 71px;
        right: 0;
        z-index: 3;
        display:         flex;
        display: -webkit-flex;
        align-items: center;
        -webkit-align-items: center;
        justify-content: center;
        -webkit-justify-content: center;
        flex-direction:column;
        background-color: rgba(255, 255, 255, 0.9);
        transition: all .3s linear;
        opacity: 0;
        pointer-events: none;
    }
    .header-menu.active{
        opacity: 1;
        pointer-events: all;
    }
    .header-menu> li{
        display: block;
        margin: 0;
        margin-bottom: 15px;
    }
    .header-menu> li:last-child{
        margin-bottom: 0;
    }
    
    .services-page-all-box{
        width: 95%;
    }
    .services-page-img{
        height: calc((600 / 1200) * (95vw * 0.9));
    }
    .services-page-info-box{
        width: 80%;
    }
    
    .footer-box{
        width: 95%;
    }
    .footer-info-box:nth-child(2){
        width: 35%;
    }
    .footer-info-box:nth-child(3){
        width: 45%;
    }
}
@media only screen and (max-width: 768px){
    .index-banner-list-box .slick-dots{
        bottom: 5px;
    }
    .index-banner-list-box .slick-dots li button:before {
        font-size: 16px;
    }
    
    .services-page-info-box{
        width: 90%;
    }
    .services-page-btn{
        width: 200px;
    }

    .footer-box {
        width: 550px;
        max-width: 95%;
    }
    .footer-info-box:nth-child(n),
    .footer-center-box{
        width: 100%;
        display: block;
    }
    .index-commodity-title-box{
        margin-top: 0;
    }
    .index-commodity-title-box h2{
        font-size: 26px;
    }
}
@media only screen and (max-width: 550px){
    .header-box{
        padding: 10px 0;
    }
    .header-logo {
        width: 150px;
    }
    .header-menu{
        height: calc(100vh - 43px);
        top: 43px;
    }
    .index-banner-box {
        margin-top: 43px;
    }
    .index-banner-list-box .slick-dots{
        bottom: 2px;
    }
    .index-banner-list-box .slick-dots li{
        width: 15px;
        height: 15px;
    }
    .index-banner-list-box .slick-dots li button{
        padding: 3px;
        width: 15px;
        height: 15px;
    }
    .index-banner-list-box .slick-dots li button:before {
        font-size: 14px;
    }

    .services-page-all-box{
        margin: 20px auto;
        border: 1px solid #bc121a;
        border-radius: 10px;
    }
    .services-page-title {
        line-height: 36px;
        font-size: 18px;
    }
    .services-page-text-box{
        width: 95%;
        padding: 10px 0;
    }
    .services-page-text p,
    .services-page-text span{
        font-size: 16px;
        line-height: 26px;
    }
    .services-page-info-box{
        width: 95%;
        border-width: 1px;
        border-radius: 15px;
        padding: 5px 10px;
        margin-bottom: 30px;
    }
    .services-page-info-name{
        font-size: 16px;
        line-height: 1.6;
    }
    .services-page-info{
        font-size: 12px;
        line-height: 1.6;
    }
    .services-page-img-box{
        width: 95%;
        margin-bottom: 30px;
    }
    .services-page-img{
        height: calc((600 / 1200) * (95vw * 0.95));
    }
    .services-page-btn-box{
        width: 95%;
        margin-bottom: 10px;
    }
    .services-page-btn{
        width: 45%;
        line-height: 30px;
        font-size: 14px;
    }
    .services-page-back-box{
        margin-bottom: 20px;
    }
    .services-page-back{
        width: 200px;
        line-height: 34px;
        font-size: 14px;
    }
    
    .footer-box{
        padding-top: 20px;
        padding-bottom: 10px;
    }
    .footer-logo{
        width: 200px;
    }
    .footer-follow-box{
        width: 100%;
        display: block;
        margin-top: 10px;
    }
    .footer-follow a{
        width: 30px;
        height: 30px;
    }
    .footer-logo-box{
        margin-bottom: 10px;
    }
    .footer-info{
        margin-bottom: 10px;
    }
    .footer-center a{
        line-height: 1.6;
        font-size: 14px;
        display: inline-block;
        vertical-align: top;
        width: 50%;
    }
    .footer-web{
        line-height: 36px;
    }
}


@media only screen and (max-width: 400px){
    .footer-web{
        padding: 5px 0;
        line-height: inherit;
    }
    .footer-web span{
        display: block;
    }
}




/*animation*/
/*<-------------動畫------------->*/
@media only screen and (min-width: 1001px){
    .services-page-title,
    .services-page-text,
    .services-page-info-box,
    .services-page-img-box,
    .services-page-btn-box,
    .services-page-back-box{
        opacity: 0;
    }
    .services-page-all-box.anima{
        animation: fade .8s ease 0s 1  both;
    }
    .services-page-all-box.anima .services-page-title{
        animation: fade 1s ease .5s 1  both;
    }
    .services-page-all-box.anima .services-page-text{
        animation: fadeInRight 1s ease .8s 1  both;
    }
    .services-page-info-box.anima{
        animation: fadeInUp 1s ease 0s 1  both;
    }
    .services-page-img-box.anima{
        animation: fadeInUp 1s ease 0s 1  both;
    }
    .services-page-btn-box.anima {
        animation: fadeInDown 1s ease 0s 1  both;
    }
    .services-page-back-box.anima{
        animation: fadeInDown 1s ease 0s 1  both;
    }
}