﻿footer{
    width: 100%;
    display: block;
    position: relative;
    background-color: #f9f9f9;
    border-top: 10px solid #e98d87;
    box-sizing: border-box;
}
.footer-box{
    width: 1360px;
    max-width: 100%;
    display: block;
    margin: 0 auto;
    font-size: 0;
    position: relative;
    box-sizing: border-box;
    padding: 20px 0;
}
.footer-logo-box{
    width: 125px;
    display: inline-block;
    vertical-align: top;
}
.footer-info-box{
    width: calc(100% - 125px);
    display: inline-block;
    vertical-align: top;
    box-sizing: border-box;
    padding-left: 90px;
}
.footer-title{
    font-size: 20px;
    color: #000;
    font-family: 'Noto Sans TC';
    letter-spacing: 0.06em;
    line-height: 20px;
}
.footer-address-box{
    margin: 20px 0;
}
.footer-address{
    display: inline-block;
    vertical-align: middle;
    margin-right: 90px;
}
.footer-address:nth-child(3){
    margin-right: 0;
}
.footer-address-name{
    font-size: 16px;
    color: #000;
    font-family: 'Noto Sans TC';
    letter-spacing: 0.06em;
    line-height: 30px;
}
.footer-info-a{
    display: inline-block;
    margin-right: 20px;
}
.footer-info-a:last-child{
    margin-right: 0;
}
.footer-info-a i{
    font-size: 14px;
    color: #e98d87;
    line-height: 30px;
    width: 17px;
}
.footer-info-a span{
    font-size: 14px;
    color: #666;
    line-height: 30px;
    font-family: 'Noto Sans TC';
    letter-spacing: 0.06em;
    font-weight: 300;
    transition: all .3s linear;
}
.footer-info i{
    width: 20px;
}
.footer-info-btn-box{
    display: inline-block;
    vertical-align: middle;
    width: 175px;
    text-align: right;
}
.footer-info-btn{
    font-size: 14px;
    color: #666;
    line-height: 30px;
    font-family: 'Noto Sans TC';
    letter-spacing: 0.06em;
    font-weight: 300;
    display: inline-block;
    vertical-align: middle;
    margin-right: 40px;
    transition: all .3s linear;
}
.footer-info-btn:last-child{
    margin-right: 0;
}
.footer-web{
    width: calc(100% - 175px);
    font-size: 12px;
    color: #666;
    line-height: 30px;
    font-family: 'Noto Sans TC';
    letter-spacing: 0.06em;
    font-weight: 300;
    display: inline-block;
    vertical-align: middle;
}
.footer-top-box{
    position: fixed;
    z-index: 99;
    bottom: 55px;
    right: 20px;
    cursor: pointer;
    width: 50px;
    height: 50px;
    background-color: #fff;
    border-radius: 50%;
    border: 4px solid #e98d87;
    box-sizing: border-box;
    transition: all .3s linear;
}
.footer-top-box p {
    display: block;
    font-size: 28px;
    text-align: center;
    font-family: 'Noto Sans TC';
    color: #e98d87;
    letter-spacing: 0.06em;
    line-height: 42px;
    box-sizing: border-box;
    padding-left: 0.06em;
    transition: all .3s linear;
}
.footer-top-box span {
    width: 1px;
    height: 30px;
    display: none;
    background-color: #e98d87;
    margin: 0 auto;
    position: relative;
    transform-origin: top;
    transition: all .3s linear;
}
.footer-top-box span::before {
    content: '';
    width: 1px;
    height: 14px;
    background-color: #e98d87;
    position: absolute;
    top: 0;
    left: 0;
    transform-origin: top;
    transform: translateY(0) rotateZ(35deg) scaleX(1.5);
    opacity: 1;
    transition: all .3s linear;
}
.footer-top-box span::after {
    content: '';
    width: 1px;
    height: 14px;
    background-color: #e98d87;
    position: absolute;
    top: 0;
    left: 0;
    transform-origin: top;
    transform: translateY(0) rotateZ(-35deg) scaleX(1.5);
    opacity: 1;
    transition: all .3s linear;
}


@media only screen and (max-width: 1440px){
    .footer-box{
        width: 1200px;
    }
    .footer-info-box{
        padding-left: 50px;
    }
    .footer-address{
        margin-right: 30px;
    }
    .footer-top-box{
        right: calc((100vw - 1200px) / 4 - 15px);
    }
}
@media only screen and (max-width: 1280px){
    .footer-box{
        width: 1000px;
    }
    .footer-logo-box {
        width: 70px;
    }
    .footer-info-box{
        width: calc(100% - 100px);
        padding-left: 20px;
    }
    .footer-address{
        margin-right: 0;
        margin-bottom: 20px;
        display: block;
    }
    .footer-address:last-child{
        margin-bottom: 0;
    }
    .footer-top-box{
        right: calc((100vw - 920px) / 4 - 15px);
    }
}
@media only screen and (max-width: 1000px){
    .footer-box{
        width: 95vw;
    }
    .footer-top-box{
        display: none;
    }
}
@media only screen and (max-width: 768px){
    .footer-web-box{
        display: flex;
        flex-direction: column-reverse;
    }
    .footer-web{
        width: 100%;
    }
}
@media only screen and (max-width: 550px){
    .footer-box{
        width: 310px;
        padding: 20px 0;
    }
    .footer-logo-box{
        width: 80px;
        margin: 0 auto;
        display: block;
    }
    .footer-info-box{
        width: 100%;
        display: block;
        padding-left: 0;
        margin-top: 20px;
    }
    .footer-title{
        font-size: 18px;
        text-align: center;
    }
    .footer-address-box{
        margin: 20px 0;
    }
    .footer-address{
        margin-bottom: 10px;
    }
    .footer-address-name{
        font-size: 14px;
        line-height: 1.4;
    }
    .footer-info-a{
        margin-top: 5px;
        display: block;
    }
    .footer-info-a i{
        font-size: 12px;
        line-height: 1.4;
        width: 15px;
    }
    .footer-info-a span{
        font-size: 12px;
        line-height: 1.4;
    }
    .footer-info-btn-box{
        width: 100%;
        text-align: left;
    }
    .footer-info-btn{
        font-size: 12px;
        margin-right: 20px;
    }
    .footer-web{
        line-height: 1.4;
    }
}


.footer-info-a:hover span,
.footer-info-btn:hover{
    color: #e98d87;
}
.footer-top-box:hover{
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}