﻿footer{
    width: 100%;
    display: block;
    position: relative;
    overflow: hidden;
    background-color: #fafafa;
}
.footer-box{
    width: 1000px;
    max-width: 100%;
    display: block;
    margin: 0 auto;
    font-size: 0;
    position: relative;
    box-sizing: border-box;
    padding-top: 3.75rem;
    padding-bottom: 3.25rem;
    text-align: center;
}
.footer-info-box{
    box-sizing: border-box;
    padding: 2.5rem 0;
}
.footer-info{
    display: inline-block;
    vertical-align: middle;
    box-sizing: border-box;
    padding: 0 5px;
    border-bottom: 1px solid #eee;
    position: relative;
    margin-right: 30px;
}
.footer-info::after{
    /* content: "/"; */
    font-size: 1.25rem;
    color: #ddd;
    letter-spacing: 0.2em;
    position: absolute;
    left: calc(100% + 13px);
    bottom: 0;
    line-height: 3.125rem;
}
.footer-info:nth-child(3n){
    margin-right: 0;
}
.footer-info:nth-child(3n)::after{
    display: none;
}
.footer-info-name{
    font-family: "Noto Sans TC";
    font-size: 1rem;
    line-height: 3.125rem;
    color: #000000;
    letter-spacing: 0.2em;
    display: inline-block;
    vertical-align: middle;
}
.footer-info-url{
    font-size: 1rem;
    line-height: 2.25rem;
    color: #667ea8;
    display: inline-block;
    vertical-align: middle;
    margin-left: 30px;
    transition: all 0.3s linear;
}

.footer-text-name{
    font-size: 1rem;
    line-height: 1;
    color: #666;
    letter-spacing: 0.2em;
    box-sizing: border-box;
    padding-left: 0.2em;
}
.footer-time-box .footer-text-name{
    font-family: "Noto Sans TC";
}
.footer-follow-box .footer-text-name{
    font-family: "Roboto";
    letter-spacing: 0.06em;
    padding-left: 0.06em;
    margin-top: 1.875rem;
}
.footer-text{
    font-family: "Roboto";
    font-weight: 700;
    font-size: 1.125rem;
    line-height: 1;
    color: #000;
    letter-spacing: 0.06em;
    box-sizing: border-box;
    padding-left: 0.06em;
    margin-top: 1.875rem;
}
.footer-follow-box .footer-text{
    font-size: 1.5rem;
    letter-spacing: 0;
    padding-left: 0;
}
.footer-text>a{
    margin: 0 20px;
    transition: all 0.3s linear;
}
.footer-top-box{
    margin-top: 3rem;
}
.footer-top{
    display: inline-block;
    vertical-align: middle;
    height: 35px;
}
.footer-top>p{
    font-family: "Roboto";
    font-weight: 700;
    font-size: 0.875rem;
    letter-spacing: 0.06em;
    color: #003168;
    line-height: 1.25rem;
    margin-bottom: 2px;
    transition: all 0.3s linear;
}
.footer-top>span{
    border-bottom: 7px solid #003168;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    transition: all 0.3s linear;
    display: inline-block;
}
.footer-web{
    width: 100%;
    text-align: center;
    background-color: #00286e;
    font-family: 'Roboto';
    font-weight: 300;
    font-size: 0.75rem;
    color: #fff;
    line-height: 1.875rem;
    letter-spacing: 0.06em;
    box-sizing: border-box;
    padding: 5px 0;
    padding-left: 0.06em;
}
.footer-web *{
    font-weight: 300;
}

.footer-fixed{
    position: fixed;
    bottom: 200px;
    right: 50px;
    width: 60px;
    height: 60px;
    box-sizing: border-box;
    padding: 5px;
    background-color: #fff;
    box-shadow: 2px 3px 10px rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    display:         flex;
    display: -webkit-flex;
    align-items: center;
    -webkit-align-items: center;
    justify-content: center;
    -webkit-justify-content: center;
    flex-direction:column;
    z-index: 99;
    transition: all 0.3s linear;
}





@media only screen and (max-width: 768px){
    .footer-info-url{
        margin-left: 20px;
    }
}
@media only screen and (max-width: 550px){
    .footer-box{
        width: calc(100vw - 40px);
        padding-top: 1.75rem;
        padding-bottom: 1.25rem;
    }
    .footer-logo-box{
        width: 100px;
        display: block;
        margin: 0 auto;
    }
    .footer-info-box{
        padding: 1.25rem 0;
    }
    .footer-info:nth-child(n){
        width: 200px;
        max-width: 100%;
        display: block;
        text-align: center;
        margin: 0 auto;
        padding: 0;
    }
    .footer-info::after{
        display: none;
    }
    .footer-text{
        margin-top: 0.675rem;
    }
    .footer-follow-box .footer-text-name{
        margin-top: 1.25rem;
    }
    .footer-top-box {
        margin-top: 1.5rem;
    }
    .footer-fixed{
        right: 20px;
        bottom: 100px;
    }
}
@media only screen and (max-width: 340px){
    .footer-web span{
        display: block;
    }
}




@media only screen and (min-width: 769px){
    @-webkit-keyframes arrowInDown {
        from {
            -webkit-transform: translate3d(0, 0%, 0);
            transform: translate3d(0, 0%, 0);
        }
        to {
            -webkit-transform: translate3d(0, -50%, 0);
            transform: translate3d(0, -50%, 0);
        }
    }
    
    @keyframes arrowInDown {
        from {
            -webkit-transform: translate3d(0, 0%, 0);
            transform: translate3d(0, 0%, 0);
        }
        to {
            -webkit-transform: translate3d(0, -50%, 0);
            transform: translate3d(0, -50%, 0);
        }
    }
    .footer-info-url:hover,
    .footer-text>a:hover{
        color: #00286e;
    }
    .footer-top:hover p{
        color: #000;
    }
    .footer-top:hover span{
        border-bottom-color: #000;
        animation: arrowInDown 1s linear 0s alternate infinite;
    }
    .footer-fixed:hover{
        border-radius: 10px;
        box-shadow: 2px 3px 10px 5px rgba(0, 0, 0, 0.3);
    }
}