﻿footer{
    width: 100%;
    display: block;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
    padding: 90px 60px;
    background-color: #f5f5f5;
}
.footer-box{
    width: 100%;
    display: block;
    margin: 0 auto;
    font-size: 0;
    position: relative;
}
.footer-info-box{
    width: calc(50% - 115px);
    display: inline-block;
    vertical-align: top;
}
.footer-info-list-phone{
    display: inline-block;
    vertical-align: bottom;
}
.footer-info-list-phone>a{
    font-size: 18px;
    color: #000;
    font-family: 'Roboto';
    font-weight: 300;
    letter-spacing: 0.2em;
    line-height: 1;
    position: relative;
}
.footer-info-list-box>p{
    display: inline-block;
    vertical-align: bottom;
    font-size: 14px;
    line-height: 1;
    color: #000;
    font-family: 'Roboto';
    font-weight: 300;
    letter-spacing: 0.2em;
    margin: 0 10px;
}
.footer-info-list{
    display: inline-block;
    vertical-align: bottom;
}
.footer-info-list>a{
    font-size: 16px;
    color: #000;
    font-family: 'Roboto';
    font-weight: 300;
    letter-spacing: 0.06em;
    line-height: 1.2;
    position: relative;
}
.footer-info{
    margin-top: 52px;
    margin-bottom: 30px;
}
.footer-info p{
    font-size: 14px;
    color: #000;
    font-family: 'Noto Sans TC';
    font-weight: 300;
    letter-spacing: 0.1em;
    line-height: 24px;
}
.footer-info-a{
    display: block;
}
.footer-info-a>a>p{
    font-size: 14px;
    color: #000;
    font-family: 'Roboto','Noto Sans TC Light';
    letter-spacing: 0.1em;
    width: 40px;
    line-height: 24px;
    display: inline-block;
    vertical-align: middle;
}
.footer-info-a>a>span{
    font-size: 14px;
    color: #000;
    font-family: 'Roboto','Noto Sans TC Light';
    letter-spacing: 0.1em;
    line-height: 24px;
    display: inline-block;
    vertical-align: middle;
    position: relative;
}
.footer-web-box>p{
    font-size: 14px;
    color: #000;
    font-family: 'Noto Sans TC';
    letter-spacing: 0.1em;
    line-height: 24px;
}
.footer-web{
    font-size: 12px;
    color: #000;
    font-family: 'Roboto','Noto Sans TC';
    letter-spacing: 0.1em;
    line-height: 24px;
}


.footer-logo-box{
    width: 230px;
    display: inline-block;
    vertical-align: top;
}
.footer-goTop-box{
    width: 60px;
    height: 60px;
    display:         flex;
    display: -webkit-flex;
    align-items: center;
    -webkit-align-items: center;
    justify-content: center;
    -webkit-justify-content: center;
    flex-direction: column;
    position: fixed;
    z-index: 12;
    bottom: 90px;
    right: 60px;
    border: 1px solid #666;
    box-sizing: border-box;
    border-radius: 50%;
    background-color: #fff;
    opacity: 0;
    pointer-events: none;
    transition: all .3s linear;
}
.footer-goTop p{
    font-size: 14px;
    font-family: 'Noto Sans TC';
    font-weight: 300;
    color: #000;
    transition: all .3s linear;
}
.goTopOpen{
    opacity: 1;
    pointer-events: all;
}





@media only screen and (max-width: 1000px){
    footer{
        padding: 60px 30px;
    }
    .footer-info-list-box>p{
        display: block;
        font-size: 0;
    }
    .footer-info-box{
        width: calc(70% - 56px);
    }
    .footer-web{
        line-height: 1.2;
        margin-top: 5px;
    }
    .footer-web >span{
        display: block;
    }
    .footer-goTop-box{
        right: 20px;
        bottom: 20px;
    }
}
@media only screen and (max-width: 768px){
    footer{
        padding: 40px 30px;
    }
    .footer-info-box{
        width: calc(100% - 30vw);
        vertical-align: middle;
    }
    .footer-logo-box{
        width: 30vw;
        vertical-align: middle;
    }
    .footer-goTop-box{
        display: none;
    }
}
@media only screen and (max-width: 550px){
    footer{
        padding: 20px 10px;
    }
    .footer-box{
        display: flex;
        flex-direction: column-reverse;
    }
    .footer-info-list-phone>a{
        font-size: 16px;
        line-height: 1.2;
        letter-spacing: 0.06em;
    }
    .footer-info-list>a{
        font-size: 14px;
    }
    .footer-info {
        margin-top: 20px;
        margin-bottom: 10px;
    }
    .footer-info-a>a>p{
        width: 32px;
        letter-spacing: 0.06em;
        line-height: 20px;
    }
    .footer-info-a>a>span{
        letter-spacing: 0.06em;
        line-height: 20px;
    }
    .footer-info-box{
        width: 100%;
    }
    .footer-logo-box{
        width: 160px;
        margin-bottom: 20px;
    }
}




@media only screen and (min-width: 769px){
    .footer-info-list-phone>a::after{
        content: '';
        width: 0%;
        height: 1px;
        background-color: #000;
        position: absolute;
        bottom: 1px;
        left: 0;
        transition: all .3s linear;
    }
    .footer-info-list>a::after{
        content: '';
        width: 0%;
        height: 1px;
        background-color: #000;
        position: absolute;
        bottom: 0;
        left: 0;
        transition: all .3s linear;
    }
    .footer-info-a>a>span::after{
        content: '';
        width: 0%;
        height: 1px;
        background-color: #000;
        position: absolute;
        bottom: 2px;
        left: 0;
        transition: all .3s linear;
    }
    .footer-info-list-phone>a:hover::after,
    .footer-info-list>a:hover::after,
    .footer-info-a>a:hover>span::after{
        width: 100%;
    }

    .footer-web a:hover{
        color: #c30d23;
    }
    .footer-web a{
        transition: all .3s linear;
    }

    .footer-goTop-box:hover{
        background-color: #c30d23;
        border-color: #c30d23;
        box-shadow: 0 0 5px rgba(0,0,0,0.3);
    }
    .footer-goTop-box:hover .footer-goTop p{
        color: #fff;
    }
}