﻿footer{
    width: 100%;
    display: block;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
    padding-top: 90px;
    padding-bottom: 20px;
    background-color: #333;
    z-index: 10;
}
.footer-box{
    width: 1600px;
    max-width: 100%;
    display: block;
    margin: 0 auto;
    font-size: 0;
    box-sizing: border-box;
    position: relative;
}
.footer-logo-box{
    width: 260px;
    display: inline-block;
    vertical-align: top;
}
.footer-logo{
    font-size: 26px;
    letter-spacing: 0.1em;
    line-height: 30px;
    font-family: 'Bungee';
    color: #fff;
}
.footer-url-box{
    display: block;
    margin-top: 15px;
}
.footer-url{
    display: inline-block;
    vertical-align: middle;
    font-size: 36px;
    line-height: 1;
    color: #fff;
    margin-left: 20px;
    transition: all .3s linear;
}
.footer-url:first-child{
    margin-left: 0;
}
.footer-menu-box{
    display: inline-block;
    vertical-align: top;
    box-sizing: border-box;
    padding-right: 120px;
}
.footer-menu-name{
    font-size: 18px;
    color: #ffc90c;
    letter-spacing: 0.1em;
    font-family: 'Noto Sans TC';
    font-weight: 700;
    line-height: 30px;
}
.footer-menu{
    font-size: 14px;
    color: #ccc;
    letter-spacing: 0.1em;
    font-family: 'Noto Sans TC';
    font-weight: 300;
    line-height: 30px;
    position: relative;
}
.footer-menu>i{
    margin-right: 8px;
    color: #fff;
}
.footer-web{
    font-size: 14px;
    font-family: 'Roboto';
    font-weight: 300;
    color: #ccc;
    letter-spacing: 0.1em;
    line-height: 30px;
    margin-top: 160px;
}
.footer-web p{
    font-family: 'Noto Sans TC';
    font-weight: 300;
    display: inline-block;
    vertical-align: middle;
    margin-bottom: 4px;
}
.footer-web span{
    font-weight: 300;
}

.footer-top-box {
    width: 30px;
    display: block;
    text-align: center;
    cursor: pointer;
    position: absolute;
    bottom: -20px;
    right: 0;
}
.footer-top-box p {
    font-size: 14px;
    font-family: 'Noto Sans TC';
    font-weight: 300;
    color: #ccc;
    line-height: 30px;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
    transition: all .3s linear;
}
.footer-top-box span {
    width: 1px;
    height: 200px;
    display: inline-block;
    vertical-align: middle;
    position: relative;
    transition: all .3s linear;
    transform-origin: top;
    background-color: #d1d1d1;
}

.main-fixed-box{
    position: fixed;
    bottom: calc(10vh + 15px);
    right: 20px;
    z-index: 9;
}
.main-fixed{
    width: 90px;
    height: 90px;
    display:         flex;
    display: -webkit-flex;
    align-items: center;
    -webkit-align-items: center;
    justify-content: center;
    -webkit-justify-content: center;
    flex-direction: column;
    border-radius: 50%;
    background-color: #ffc90c;
    text-align: center;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.35);
    font-size: 0;
    transition: all .3s linear;
}
.main-fixed p{
    font-size: 14px;
    font-family: 'Noto Sans TC';
    color: #1b1b1b;
    letter-spacing: 0.06em;
    line-height: 30px;
    box-sizing: border-box;
    padding-left: 0.06em;
}


@media only screen and (min-width: 1001px){
    .footer-top-box span::before{
        content: '';
        width: 1px;
        height: 14px;
        background-color: #ffc90c;
        position: absolute;
        top: 0;
        left: 0;
        transform-origin: top;
        transform: translateY(20px) rotateZ(0);
        opacity: 0;
        transition: all .3s linear;
    }
    .footer-top-box span::after{
        content: '';
        width: 1px;
        height: 14px;
        background-color: #ffc90c;
        position: absolute;
        top: 0;
        left: 0;
        transform-origin: top;
        transform: translateY(20px) rotateZ(0);
        opacity: 0;
        transition: all .3s linear;
    }
    .footer-top-box:hover p{
        color: #ffc90c;
    }
    .footer-top-box:hover span{
        background-color: #ffc90c;
        transform: scaleY(0.6);
    }
    .footer-top-box:hover span::before {
        transform: translateY(0) rotateZ(35deg) scaleX(1.5);
        opacity: 1;
    }
    .footer-top-box:hover span::after {
        transform: translateY(0) rotateZ(-35deg) scaleX(1.5);
        opacity: 1;
    }
}




@media only screen and (max-width: 1620px){
    .footer-box{
        width: 1400px;
    }
    .footer-top-box{
        right: 10px;
    }
}
@media only screen and (max-width: 1400px){
    .footer-box{
        width: 1200px;
    }
}
@media only screen and (max-width: 1200px){
    .footer-box{
        width: 1000px;
    }
}
@media only screen and (max-width: 1000px){
    .footer-box{
        width: 750px;
    }
    .footer-logo-box{
        display: block;
    }
    .footer-menu-box{
        margin-top: 60px;
    }
}
@media only screen and (max-width: 768px){
    footer{
        padding-top: 40px;
        padding-bottom: 45px;
    }
    .footer-box{
        width: 95vw;
    }
    .footer-top-box{
        display: none;
    }
}
@media only screen and (max-width: 550px){
    footer{
        padding-top: 20px;
        padding-bottom: 45px;
    }
    .footer-info-box{
        text-align: center;
    }
    .footer-logo-box{
        width: 100%;
        text-align: center;
    }
    .footer-menu-box{
        width: 50%;
        display: inline-block;
        vertical-align: top;
        padding-right: 0;
        margin-top: 30px;
        text-align: center;
    }
    .footer-web{
        font-size: 12px;
        line-height: 14px;    
        letter-spacing: 0.03em;
        margin-top: 40px;
    }
    .footer-web span{
        display: block;
    }
    .footer-menu-name{
        font-size: 16px;
    }

    .main-fixed-box{
        right: 10px;
        bottom: calc(40px + 15px);
    }
    .main-fixed {
        width: 70px;
        height: 70px;
    }
    .main-fixed span{
        width: 20px;
    }
    .main-fixed p{
        font-size: 12px;
        letter-spacing: 0.03em;
        line-height: 20px;
    }
}
@media only screen and (max-width: 400px){
    .footer-menu-box{
        width: 100%;
    }
    .footer-menu-box{
        margin-top: 20px;
    }
    .footer-web{
        margin-top: 30px;
    }
}
@media only screen and (max-width: 300px){
    .footer-web span{
        display: inline;
    }
}




@media only screen and (min-width: 769px){
    .footer-menu::before{
        content: '';
        width: 0%;
        height: 1px;
        display: block;
        position: absolute;
        bottom: 0;
        left: 0;
        background-color: #fff;
        transition: all .3s linear;
    }
    .footer-menu:hover::before{
        width: 100%;
    }
    .footer-menu:hover{
        color: #ccc;
    }
    .footer-url:hover{
        color: #ffc90c;
    }

    .main-fixed:hover{
        transform: scale(1.1);
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
    }
}