﻿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: 60px;
    display: inline-block;
    vertical-align: top;
    margin-right: 40px;
}


.footer-info-box{
    width: 460px;
    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: #6283a7;
    border-radius: 5px;
    width: 30px;
    line-height: 18px;
    display: inline-block;
    vertical-align: top;
}
.footer-info span.footer-info-fax{
    font-family: 'Anton';
    letter-spacing: 1px;
}
.footer-info p{
    font-size: 14px;
    color: #555;
    letter-spacing: 1px;
    display: inline-block;
    vertical-align: top;
    width: calc(100% - 30px);
    box-sizing: border-box;
    padding-left: 10px;
    font-family: MyCustomFont;
    transition: all .3s linear;
}

@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-follow-box{
    width: 110px;
    display: inline-block;
    vertical-align: middle;
}
.footer-follow-title{
    font-size: 14px;
    color: #000;
    font-weight: bold;
    letter-spacing: 1px;
    display: block;
    box-sizing: border-box;
    margin-bottom: 18px;
}
.footer-follow{
    font-size: 20px;
    display: block;
    color: #555;
    line-height: 26px;
}
.footer-follow a{
    transition: all .3s linear;
}
.footer-follow i{
    margin-right: 15px;
}
.footer-top-box{
    width: 45px;
    display: inline-block;
    vertical-align: top;
    text-align: center;
    opacity: 0;
    transform: scale(1.1);
    position: fixed;
    z-index: 998;
    bottom: 80px;
    right: 40px;
    transition: all .3s linear;
}
.footer-top-box.open{
    opacity: 1;
}
.footer-top-arrow-box{
    width: 100%;
    height: 45px;
    border-radius: 50%;
    border: 2px solid #555;
    display: inline-block;
    overflow: hidden;
    box-sizing: border-box;
    transition: all .3s linear;
    background-color: #f2f2f2;
}
.footer-top-arrow{
    width: 2px;
    height: 27px;
    display: inline-block;
    background-color: #555;
    margin-top: 18px;
    position: relative;
    transition: all .3s linear;
}
.footer-top-arrow:before{
    content: '';
    width: 7px;
    height: 2px;
    position: absolute;
    top: 0;
    right: 2px;
    background-color: #555;
    transform-origin: 100% 50%;
    transform: rotateZ(-45deg);
    transition: all .3s linear;
}
.footer-top-arrow:after{
    content: '';
    width: 7px;
    height: 2px;
    position: absolute;
    top: 0;
    left: 2px;
    background-color: #555;
    transform-origin: 0% 50%;
    transform: rotateZ(45deg);
    transition: all .3s linear;
}
.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;
}


@media only screen and (max-width: 1280px){
    .footer-box{
        width: 1200px;
    }
}
@media only screen and (max-width: 1200px){
    .footer-box{
        width: 1000px;
    }
    .footer-logo-box{
        margin-right: 20px;
    }
    .footer-info-box{
        width: 390px;
        box-sizing: border-box;
        padding-right: 20px;
    }
}
@media only screen and (max-width: 1000px){
    .footer-box{
        width: 750px;
        position: relative;
    }
    .footer-follow a>i{
        margin-right: 10px;
    }
    .footer-follow-box{
        width: initial;
    }
    .footer-top-box{
        display: none;
    }
}
@media only screen and (max-width: 750px){
    .footer-box{
        width: 550px;
        padding: 30px 0;
    }
    .footer-logo-box {
        margin-right: 10px;
    }
    .footer-info p>span{
        display: block;
    }
    .footer-info-box {
        width: 370px;
        padding-right: 10px;
    }
}
@media only screen and (max-width: 550px){
    .footer-box{
        width: 300px;
        padding: 15px 0;
    }
    .footer-web{
        line-height: inherit;
        padding: 5px 10px;
        box-sizing: border-box;
    }
    .footer-web span{
        display: block;
    }
    .footer-info span{
        vertical-align: top;
    }
    .footer-logo-box{
        width: 55px;
        margin-right: 5px;
        vertical-align: top;
    }
    .footer-info-box{
        width: 210px;
        margin-right: 0;
        padding-right: 0;
        vertical-align: middle;
    }
    .footer-follow-box{
        width: 25px;
        vertical-align: top;
    }
    .footer-follow{
        font-size: 26px;
        text-align: right;
    }
    .footer-follow-title{
        display: none;
    }
    .footer-follow a>i {
        margin-right: 0;
        margin-bottom: 5px;
    }
    .footer-info p{
        font-size: 12px;
        padding-left: 5px;
    }
    .footer-info{
        margin-bottom: 10px;
    }
    .footer-top-box{
        right: 20px;
        bottom: 60px;
    }
}






/*--------hover--------*/
.footer-info:hover p{
    color: #6283a7;
}
.footer-follow a:hover{
    color: #6283a7;
}
.footer-top-arrow-box:hover{
    border-color: #6283a7;
}
.footer-top-arrow-box:hover .footer-top-arrow{
    background-color: #6283a7;
    margin-top: 0;
}
.footer-top-arrow-box:hover .footer-top-arrow:before{
    background-color: #6283a7;
}
.footer-top-arrow-box:hover .footer-top-arrow:after{
    background-color: #6283a7;
}