﻿footer{
    width: 100%;
    display: block;
    position: relative;
    box-sizing: border-box;
    padding-bottom: 74px;
}
.footer-box{
    width: 100%;
    display: block;
    position: relative;
    box-sizing: border-box;
    padding: 60px 0;
}
.footer-all-box{
    width: 1280px;
    max-width: 100%;
    display: block;
    margin: 0 auto;
    position: relative;
    font-size: 0;
    z-index: 1;
    text-align: center;
}
.footer-bg-box{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #f1eeee;
}
.footer-bg-box span{
    opacity: 0.1;
}
.footer-logo{
    width: 150px;
    margin: 0 auto;
}
.footer-info-box{
    margin-top: 20px;
}
.footer-info{
    font-size: 18px;
    color: #000;
    font-family: 'Noto Sans TC';
    letter-spacing: 0.06em;
    display: inline-block;
    vertical-align: middle;
    position: relative;
    margin: 0 25px;
    transition: all .3s linear;
}
.footer-info::after{
    content: '';
    width: 0%;
    height: 1px;
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: #7b2532;
    transition: all .3s linear;
}
.footer-text-box{
    margin-top: 50px;
}
.footer-text{
    position: relative;
    margin: 0 25px;
    color: #000;
    transition: all .3s linear;
}
.footer-text p{
    font-size: 18px;
    font-weight: 700;
    font-family: 'Noto Sans TC';
    letter-spacing: 0.06em;
}
a.footer-text{
    display: inline-block;
    vertical-align: middle;
    margin-top: 5px;
    color: #666;
}
a.footer-text span{
    display: inline-block;
    vertical-align: middle;
    font-size: 18px;
    line-height: 40px;
    font-family: 'Noto Sans TC';
    font-weight: 300;
    letter-spacing: 0.06em;
}
a.footer-text i{
    font-size: 22px;
    display: inline-block;
    vertical-align: middle;
    line-height: 40px;
    margin-right: 4px;
}
.footer-web{
    font-size: 14px;
    color: #666;
    font-family: 'Noto Sans TC';
    letter-spacing: 0.06em;
    display: block;
    opacity: 0.5;
    margin-top: 15px;
}
.footer-top-box{
    position: absolute;
    bottom: 0;
    right: 0;
}
.footer-top{
    width: 50px;
    height: 50px;
    display: block;
    border: 1px solid #7b2532;
    border-radius: 50%;
    text-align: center;
    box-sizing: border-box;
    transition: all .3s linear;
}
.footer-top span{
    font-size: 14px;
    line-height: 40px;
    display: inline-block;
    font-family: 'Noto Sans TC';
    color: #7b2532;
    transform: rotateZ(-90deg) translateY(-1px);
    transition: all .3s linear;
}

.footer-warning-box{
    width: 100%;
    display: block;
    font-size: 0;
    background-color: #511820;
    text-align: center;
    box-sizing: border-box;
    border-left: 10px solid #7B2532;
    border-right: 10px solid #7B2532;
    border-bottom: 10px solid #7B2532;
    padding: 12px 0;
    position: fixed;
    bottom: 0px;
    right: 0px;
    z-index: 1;
}
.footer-warning-box span{
    display: inline-block;
    vertical-align: middle;
    font-size: 24px;
    letter-spacing: 0.06em;
    line-height: 40px;
    color: #fff;
    font-family: 'Noto Sans TC';
}
.footer-warning-box span:nth-child(2){
    margin: 0 10px;
    line-height: initial;
    height: 32px;
    margin-top: -8px;
    width: 36px;
}

.footer-talk-box{
    position: fixed;
    bottom: 70px;
    right: 20px;
    display: block;
    z-index: 1000;
}
.footer-talk-box span{
    width: 85px;
    display: block;
}


@media only screen and (max-width: 1480px){
    .footer-top-box{
        bottom: 30px;
    } 
}
@media only screen and (max-width: 1360px){
    .footer-all-box{
        width: calc(100% - 70px);
    }
}
@media only screen and (max-width: 1000px){
    footer{
        padding-bottom: 65px;
    }
    .footer-top-box{
        display: none;
    }
    .footer-warning-box{
        border-width: 5px;
        padding: 10px 0;
    }
    .footer-talk-box{
        bottom: 40px;
    }
    .footer-talk-box span{
        width: 60px;
    }
    .footer-warning-box span{
        font-size: 20px;
    }
    .footer-warning-box span:nth-child(2){
        margin-top: 0;
    }
}
@media only screen and (max-width: 768px){
    .footer-talk-box{
        bottom: 70px;
    }
    a.footer-text i,
    a.footer-text span{
        line-height: 24px;
    }
}
@media only screen and (max-width: 550px){
    .footer-box{
        padding: 20px 0;
        padding-bottom: 40px;
    }
    .footer-all-box{
        width: calc(100% - 10px);
    }
    .footer-logo{
        width: 100px;
        margin: 0 auto;
    }
    .footer-text-box{
        margin-top: 20px;
    }
    .footer-info-box{
        margin-top: 10px;
    }
    .footer-info{
        font-size: 14px;
        margin: 0 10px;
    }
    .footer-web{
        font-size: 12px;
        margin-top: 10px;
    }
    .footer-warning-box span{
        font-size: 16px;
        display: block;
        line-height: 20px;
    
    }
    .footer-warning-box span:nth-child(2){
        position: absolute;
        top: calc(50% - 18px);
        left: calc(50% - 150px);
        margin: 0;
    }
    .footer-talk-box{
        bottom: 35px;
        right: 10px;
    }
    .footer-talk-box span {
        width: 60px;
    }
    a.footer-text i{
        font-size: 18px;
    }
    a.footer-text span{
        font-size: 14px;
    }
}
@media only screen and (max-width: 420px){
    .footer-web span{
        display: block;
    }
    .footer-warning-box span{
        font-size: 14px;
    }
}



@media only screen and (min-width: 1001px){
    .footer-info:hover,
    a.footer-text:hover{
        color: #7b2532;
    }
    .footer-info:hover::after{
        width: 100%;
    }
    .footer-top:hover{
        background-color: #7b2532;
    }
    .footer-top:hover span{
        color: #fff;
    }
}