﻿footer{
    width: 100%;
    display: block;
    position: relative;
    overflow: hidden;
    background-color: #fafafa;
}
.footer-box{
    width: 1200px;
    max-width: 100%;
    margin: 0 auto;
    display: block;
    font-size: 0;
    position: relative;
    box-sizing: border-box;
    padding: 60px 0;
}
.footer-menu-box{
    width: 100%;
    display: block;
}
.footer-logo-box{
    width: 160px;
    display: inline-block;
    vertical-align: bottom;
}
.footer-logo-box p{
    font-family: "Noto Sans TC";
    font-size: 20px;
    color: #000;
    line-height: 36px;
    letter-spacing: 0.3em;
}
.footer-menu{
    width: calc(100% - 160px);
    display: inline-block;
    vertical-align: bottom;
    box-sizing: border-box;
    padding-left: 20px;
}
.footer-menu li{
    display: inline-block;
    vertical-align: bottom;
    margin: 0 20px;
}
.footer-menu-title{
    font-family: "Noto Sans TC";
    font-size: 14px;
    color: #000;
    line-height: 1;
    letter-spacing: 0.06em;
    cursor: pointer;
    position: relative;
    transition: all .3s linear;
}
.footer-info-box{
    margin-top: 50px;
    margin-bottom: 35px;
}
.footer-info-box li{
    display: block;
}
.footer-info{
    font-family: "Noto Sans TC";
    font-size: 14px;
    color: #000;
    line-height: 36px;
    letter-spacing: 0.06em;
    transition: all .3s linear;
}
.footer-info span{
    color: #df222a;
    font-family: "Roboto";
    margin-left: 8px;
}
.footer-info span>i{
    margin-right: 8px;
}
.footer-web{
    font-family: "Noto Sans TC";
    font-size: 12px;
    color: #666;
    line-height: 36px;
    letter-spacing: 0.06em;
    font-weight: 300;
}
.footer-web span{
    font-weight: 300;
}

.footer-top-box {
    width: 50px;
    height: 50px;
    display: block;
    box-sizing: border-box;
    padding: 6px 0;
    padding-left: 0.2em;
    text-align: center;
    border: 1px solid #d1d1d1;
    border-radius: 5px;
    background-color: #f5f5f5;
    position: fixed;
    bottom: calc(20vh - 70px);
    right: 50px;
    z-index: 2;
    transition: all .3s linear;
}
.footer-top-box p {
    font-size: 14px;
    font-family: 'Roboto';
    font-weight: 300;
    color: #000;
    line-height: 38px;
    letter-spacing: 0.06em;
    transition: all .3s linear;
}



@media only screen and (max-width: 1800px){
    .footer-top-box{
        right: 20px;
    }
}
@media only screen and (max-width: 1200px){
    .footer-box{
        width: 1000px;
    }
}
@media only screen and (max-width: 1000px){
    .footer-box{
        width: 750px;
    }
    .footer-top-box{
        display: none;
    }
}
@media only screen and (max-width: 768px){
    .footer-box{
        width: 95vw;
        padding: 40px 0;
    }
    .footer-menu{
        display: none;
    }
    .footer-top-box{
        display: none;
    }
}
@media only screen and (max-width: 550px){
    .footer-box{
        padding: 20px 0;
    }
    .footer-logo-box{
        width: 106px;
    }
    .footer-logo-box p{
        font-size: 16px;
        letter-spacing: 0.1em;
    }
    .footer-info-box{
        margin-top: 20px;
        margin-bottom: 10px;
    }
    .footer-info{
        font-size: 12px;
        line-height: 26px;
    }
}
@media only screen and (max-width: 400px){
    .footer-info span>i {
        margin-right: 2px;
    }
    .footer-web{
        line-height: initial;
    }
    .footer-web span{
        display: block;
    }
}

@media only screen and (min-width: 1001px){
    .footer-menu-title:after{
        content: '';
        width: 0%;
        height: 1px;
        background-color: #df222a;
        position: absolute;
        bottom: 0;
        left: 0;
        transition: all .3s linear;
    }
    .footer-menu-title:hover{
        color: #000;
    }
    .footer-menu-title:hover:after{
        width: 100%;
    }
    .footer-info:hover{
        color: #888;
    }
    .footer-top-box:hover{
        box-shadow: 0 0 5px rgba(0, 0, 0, 0.35);
    }
    .footer-top-box {
        opacity: 0;
        pointer-events: none;
        transition: all .3s linear;
    }
    .footer-top-box.topOn{
        opacity: 1;
        pointer-events: all;
    }
}