#footer{
    width: calc(100% - 40px);
    padding: 20px;
    background: #333;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    position: relative;
}
.f_text{
    color: #aaa;
}
.f_box{
    width: 200px;
    margin: auto;
    margin-left: 0;
}
.f_box a{
    text-decoration: none;
}
.f_box_2{
    width: 100%;
    display: grid;
}
.map_frame{
    width: 97%;
    height: 100%;
}
.f_box_2_sub a{
    text-decoration: none;
}
.f_logo{
    width: 130px;
    margin-top: 20px;
}
.f_copyrgiht{
    position: absolute;
    left: 0;
    background: #333;
    width: 100%;
    height: 23px;
    bottom: -34px;
    text-align: center;
}


@media screen and (max-width: 1000px) {
    #footer{
        grid-template-columns: auto 1fr 1fr;
    }
}
@media screen and (max-width: 860px) {
    #footer{
        display: flex;
        flex-wrap: wrap;
    }
    .f_box_2{
        height: 250px;
    }
    .f_box_2_sub{
        margin: auto;
    }
}
@media screen and (max-width: 560px) {
    .f_box{
        width: 100px;
    }
    .f_box_2_sub{
        width: 200px;
    }
    .f_text{
        font-size: 17px;
    }
    .f_copyrgiht{
        text-align: start;
        padding-left: 19px;
        font-size: 11px;
        height: 20px;
        width: calc(100% - 19px) !important;
    }
}