footer{
    width:100%;
    background-image: url("./f-bg.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    position:relative;
}

footer a{
    text-decoration: none;
}
.f-toi1{
    justify-content: center;
    display: inline-block;
    text-align: center;
}

.f-wrap a,.f-wrap p,.f-corp td{
    font-size: 14px;
    letter-spacing: 0ch;
}
.f-wrap{
    max-width:1000px;
    position:relative;
    background-color: transparent;
    justify-content: center;
    text-align: center;
    margin:0 auto;
    padding-top:30px;
}

/*ロゴ+SNS*/
.f-log{
    width:100%;
    justify-content: center;
    text-align: center;
    align-items: center;
    vertical-align: middle;
}
.f-log1 img{
    max-width:150px;
    margin:50px 0 10px;
} 
.f-log2 img{
    width:40px;
    margin:20px 10px;
    opacity:0.8;
}

/*問い合わせ*/
.f-toi{
    width:100%;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.toi-btn{
    margin:2px 0;
}
.toi-btn a{
    background: transparent;
    border-radius: 3px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: left;
    max-width: 200px;
    padding:12px 17px !important;
    color: #313131;
    transition: 0.3s ease-in-out;
    border: solid 1px #888;
    font-family: none;
    font-weight: bolder;
}
.phone a::before{
    font-family: 'Material Icons';
    content: '\e0b0';
    font-size: 25px;
}
.mail a{
    font-size: 14px;
}
.mail a::before{
    font-family: 'Material Icons';
    content: '\e0e1';
    font-size: 25px;
}
.phone a{
    font-size:17px;
}
.phone a:hover{
    background-color: #FFF;
}
.mail a:hover{
    background-color: #FFF;
}

/*えこひいき*/
.f-ekohiiki {
    width:100%;
    justify-content: center;
    text-align: center;
    margin-top:50px;
}
.f-ekohiiki img{
    width:50px;
}
.f-ekohiiki1{
    width:100%;
    justify-content: center;
    text-align: center;
    margin:20px auto;
}
.f-ekohiiki1 p{
    padding:0;
    margin:0;
    line-height:25px;
}

.f-ekohiiki2{
    width:80%;
    margin:0px auto;
    justify-content: center;
    text-align: center;
}
.f-ekohiiki22{
    width:50%;
    justify-content: center;
    text-align: center;
    display: inline-block;
    margin:0px auto;
}
.f-ekohiiki22 p{
    margin:0 auto;
}
.f-ekohiiki22 a{
    display: inline-block;
    margin:0;
}
.f-ekohiiki3{
    width:100%;
    margin:0px auto;
}
.f-ekohiiki33 a{
    display: inline-block;
    margin:0 10px;
}

span.blue-line{
    box-shadow:0px -6px 5px -5px #78c5e2 inset,0px 8px 4px -8px #78c5e2;
}

/*会社概要*/

.f-corp{
    width:100%;
    padding-top:20px;
}
.f-corp1{
    width:100%;
    margin:0 auto;
}
.f-corp table{
    margin:0 auto;
    padding:0 1%;
    table-layout: fixed;
}

footer td.info1{
    text-align-last: justify; /*均等*/
    width:30%;
}

/*著作*/
.f-copyright{
    width:100%;
    background-color: rgb(51, 48, 48);
    text-align: center;
    margin:0;
}
.f-copyright p{
    color:#fff;

    margin-bottom:0;
}
.corp{
    padding-bottom:50px;
  }
  .info1{
    width:30%;
  }
  
  td.info1{
    text-align-last: justify; /*均等*/
  }
    
@media screen and (min-width:670px){
    .f-ekohiiki {
        margin-top:30px;
    }

    /*問い合わせ*/
    .f-wrap{
        display: flex;
        width:100%;
        flex-wrap: wrap;
        align-items:center;
    }
    .f-toi,.resupo2,.f-corp,.f-log {
        width:50%;
    }

    .resupo-box{
        width:100%;
        display: flex;
    }

    .f-wrap :nth-child(1) { order: 2; }
    .f-wrap :nth-child(2) { order: 3; }
    .f-wrap :nth-child(3) { order: 1; }
}

    .mail a{
        font-size: 15px;
    }

@media screen and (min-width:750px){
    .toi-btn{
        margin:4px 0;
    }
    .toi-btn a{
        padding:14px 17px !important;
    }

    .phone a{
        pointer-events:none;
        border:none;
        font-size:19px;
    }
}

@media screen and (min-width:980px){
    .f-wrap{
        align-items:stretch;
        margin-top:0;
    }

    .f-toi,.resupo-box {
        width:40%;
    }
    
    .f-log{
        width:20%;
    }
    .f-log1 img{
        margin:20px;
    }

    .resupo-box{
        display: inline-block;
    }
    .f-corp,.resupo2{
        width:100%;
    }

    .f-wrap :nth-child(1) { order: 3; }
    .f-wrap :nth-child(2) { order: 2; }
    .f-wrap :nth-child(3) { order: 1; }

}