﻿footer{
    background-color: #232a2c;
    width: 100%;
    display: block;
    position: relative;
    box-sizing: border-box;
}
.footer-box{
    width: 1200px;
    max-width: 100%;
    display: block;
    margin: 0 auto;
    font-size: 0;
    position: relative;
    box-sizing: border-box;
    padding-top: 100px;
}
.footer-logo-box{
    width: 220px;
    display: inline-block;
    vertical-align: top;
}
.footer-info-box{
    width: 410px;
    display: inline-block;
    vertical-align: top;
    box-sizing: border-box;
    padding: 0 40px;
    border-left: 1px solid #2a2f30;
}
.footer-info{
    display: block;
    font-size: 14px;
    color: #fff;
    letter-spacing: 2px;
    margin-bottom: 10px;
    font-weight: lighter;
}
.footer-info-list{
    display: flex;
    align-items: start;
    justify-content: start;
}
.footer-info-list > .flex > p{
    box-sizing: border-box;
    padding: 1.5px 0;
}
.footer-info a{
    transition: all .3s linear;
}
.footer-menu-box{
    width: 410px;
    display: inline-block;
    vertical-align: top;
    box-sizing: border-box;
    border-left: 1px solid #2a2f30;
    border-right: 1px solid #2a2f30;
}
.footer-menu{
    display: flex;
    flex-wrap:wrap;
    flex-direction:column;
    height: 160px;
}
.footer-menu li{
    width: 50%;
    margin-bottom: 10px;
    text-align: center;
}
.footer-menu-title{
    font-size: 14px;
    letter-spacing: 1px;
    color: #fff; 
    transition: all .3s linear;
}
.footer-link-box{
    width: calc(100% - 1040px);
    display: inline-block;
    vertical-align: top;
    text-align: right;
    box-sizing: border-box;
}
.footer-link{
    display: inline-block;
    vertical-align: top;
    color: #fff;
    font-size: 20px;
    transition: all .3s linear;
}
.footer-link:nth-child(2){
    margin: 0 20px;
}
.footer-web{
    text-align: center;
    font-size: 12px;
    color: #888;
    font-family: "roboto";
    font-weight: 300;
    letter-spacing: 1px;
    box-sizing: border-box;
    padding-top: 70px;
    padding-bottom: 30px;
}
.footer-top-box{
    position: absolute;
    right: 0;
    bottom: 0;
    display: block;
    cursor: pointer;
    text-align: center;
}
.footer-top-text{
    font-size: 12px;
    color: #888;
    font-family: "roboto";
    font-weight: 300;
    letter-spacing: 1px;
    margin-bottom: 2px;
    transition: all .3s linear;
}
.footer-top-line{
    display: inline-block;
    height: 80px;
    width: 1px;
    background-color: #5e696c;
    position: relative;
    transition: all .3s linear;
}
.footer-top-line:before{
    content: "";
    width: 10px;
    height: 1px;
    background-color: #5e696c;
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    transition: all .3s linear;
}
.footer-top-line:after{
    content: "";
    width: 10px;
    height: 1px;
    background-color: #5e696c;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    transition: all .3s linear;
}


/*-----hover-----*/
.footer-info a:hover{
    color: #ff6800;
}
.footer-menu-title:hover{
    color: #ff6800;
}
.footer-link:hover{
    color: #ff6800;
}
.footer-top-box:hover .footer-top-text{
    color: #ff6800;
}
.footer-top-box:hover .footer-top-line{
    background-color: #ff6800;
    transform-origin: 50% 0%;
    transform: scaleY(0.8);
}
.footer-top-box:hover .footer-top-line:before{
    background-color: #ff6800;
    transform: rotateZ(-45deg);
    top: 4px;
    z-index: 1;
}
.footer-top-box:hover .footer-top-line:after{
    background-color: #ff6800;
    transform: rotateZ(45deg);
    top: 4px;
    z-index: 1;
}



@media only screen and (max-width: 1200px){
    .footer-box{
        width: 1000px;
    }
    .footer-logo-box{
        width: 180px;
    }
    .footer-menu-box{
        width: 280px;
    }
    .footer-link-box{
        width: calc(100% - 870px);
    }
}
@media only screen and (max-width: 1000px){
    .footer-box{
        width: 95%;
        padding-top: 70px;
        margin: 0 auto;
    }
    .footer-logo-box{
        vertical-align: middle;
    }
    .footer-info-box{
        vertical-align: middle;
        text-align: left;
        width: calc(100% - 180px);
        padding-right: 0;
    }
    .footer-menu-box,
    .footer-top-box{
        display: none;
    }
    .footer-link-box{
        width: 140px;
        display: block;
        text-align: center;
        margin-top: 10px;
    }
    .footer-web{
        padding-top: 40px;
    }
}
@media only screen and (max-width: 600px){
    .footer-box{
        padding-top: 40px;
        width: 320px;
        max-width: 100%;
        margin: 0 auto;
    }
    .footer-logo-box{
        display: block;
        width: 140px;
        margin: 0 auto;
    }
    .footer-info-box{
        display: block;
        padding: 0 10px;
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        margin-top: 10px;
        border-left: none;
    }
    .footer-link-box{
        width: 100%;
        display: block;
        text-align: center;
    }
    .footer-web{
        padding: 20px;
    }
    .footer-info:first-child{
        text-align: center;
    }
}
@media only screen and (max-width: 400px){
    .footer-box{
        padding-top: 10px;
        width: 300px;
        max-width: 100%;
        margin: 0 auto;
    }
    .footer-logo-box{
        width: 80px;
    }
    .footer-info{
        font-size: 12px;
        letter-spacing: 1px;
        margin-bottom: 5px;
    }
    .footer-link-box{
        display: block;
        text-align: center;
    }
    .footer-web{
        padding: 10px;
    }
}