
footer{
    width: 100%;
    background-color: #d3d6b9;
    padding: 40px 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
footer h1 {
    max-width: 350px;
    margin-bottom: 15px;
}
.footer-box{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 1000px;
    margin: 0 auto;
}

.footer-box .box-left{
    max-width: 400px;
}
.footer-box .box-right{
    max-width: 400px;
    text-align: right;
}
.footer-box .box-right ul{
    display: flex;
    margin-bottom: 20px;
}
.footer-box .box-right ul li{
    display: inline-block;
    padding: 0 35px;
}
.footer-box .box-right ul li a{
    width: 50px;
    color: #000;
    font-size: 0.9em;
    line-height: 1.8em;
}
.footer-box .box-right ul li:first-child{
    border-right: 1px solid #000;
}
.footer-box .box-right ul li:last-child{
    padding-right: 0;
}
.footer-box .box-right .sns{
    width: 90px;
    margin-right: 0;
    margin-left: auto;
}
.footer-box .box-right .sns .item{
    width: 42px;
    margin: 0;
    display: inline-block;
}
.footer-box .box-right h4{
    width:90px;
    font-size: 16px;
    text-align: left;
    display: block;
    margin-left: auto;
    margin-right: 0;
    margin-bottom: 7px;
}
.mail{width: 190px!important;}

@media screen and (max-width: 990px) {
    footer{padding: 40px 30px;}
}

    
@media screen and (max-width: 480px) {
    .footer-box{padding: 0 20px;}
    .footer-box .box-left,
    .footer-box .box-right {
        width: 100%;
        margin: 0 auto;
    }
    .footer-box .box-left{
        margin-bottom: 20px;
    }
    .footer-box .box-right ul {
        display: block;
        text-align: left;
    }
    .footer-box .box-right ul li{
        display: block;
        padding: 0;
        margin: 12px 0;
        
    }
    .footer-box .box-right ul li:first-child{
        border-right: 0;
    }
    .footer-box .box-right h4 {
        margin-left: 0;
    }
    .footer-box .box-right .sns {
        margin-right: auto;
        margin-left: 0;
    }

}
