@charset "utf-8";



/* footer */

footer {
    width:100%;
	margin-top:100px;
    padding:100px 0;
	background:#eee;
}

.etcBanner {
    width:80%;
    margin:0 auto 80px;
    padding:30px 10%;
    display:flex; flex-flow:row wrap; justify-content:center; align-content:flex-start; align-items:flex-start;
}
.etcBanner a {
    width:18%;
    margin: 30px 1% 0;
    display:block;
}
.etcBanner a img {
    max-width:100%;
    margin: 0 auto 10px;
    display: block;
    border-radius:3px;
}
.etcBanner a p {
    font-size: 0.95rem;
    line-height: 1.3;
    letter-spacing:0;
}

footer .inquiry {
    width:90%;
    margin: 0 auto 50px;
    padding: 80px 5% 90px;
    display:flex; flex-flow:row wrap; justify-content:center; align-content:center; align-items:center;
    position:relative;
}
footer .inquiry:after {
    content: "";
    width:100%;
    height: 100%;
    position:absolute; top:0; bottom:0; left:0; right:0;
    background: url("../../mx/img/inquiry-pc.jpg") center no-repeat fixed;
    background-size: cover;
    opacity: .3;
    z-index: 1;
}
footer a.contact {
    margin: 0 0 0 1em;
    padding: 5px 1em 5px 3em;
    font-size: 1.2em;
    color: #fff;
    border-radius:5px;
    background:#231815;
    position:relative;
}
footer a.contact {
    padding: 15px 1.2em 15px 3.2em;
}
footer a.contact:after {
    content: "";
    width:1.6em;
    height:100%;
    margin:auto;
    position:absolute; top:0; bottom:0; left:1em;
    background: url("../../mx/img/icon-mail-footer.svg") center no-repeat;
    background-size:contain;
    transition: .2s;
}
footer a.contact:hover {
    background:#005989;
}
footer a.contact:hover:after {
    left:1.2em;
}
footer .inquiry p {
    width:100%;
    margin: 0 auto 30px;
    font-size:2rem;
    font-weight: 900;
    text-align: center;
	z-index: 10;
}
footer .inquiry a {
    margin: 0 10px;
	z-index: 11;
}
footer .inquiry a.contact {}
footer .inquiry a.tel {
    font-size: 1.1em;
    font-weight: 700;
    line-height: 1.3;
}
footer .inquiry a.tel span {
    font-size: 2.2em;
}

footer ul.sitemap {
    width:100%;
    margin: 0 auto;
    display:flex; flex-flow:row wrap; justify-content:center; align-content:center; align-items:center;
}
footer ul.sitemap li {
    margin:6px;
}
footer ul.sitemap li a {
    padding: 5px 1.2em;
    display: block;
    border:solid 2px #231815;
    border-radius: 5px;
    background: #fff;
}
footer ul.sitemap li a:hover {
    opacity:1;
    color: #fff;
    background: #005989;
}


footer ul.sns {
    width: 100%;
    margin: 50px 0 0;
    display:flex; flex-flow:row wrap; justify-content:center; align-content:center; align-items:center;
    z-index: 10;
}
footer ul.sns li {
    width: 33px;
    margin:15px;
}
footer ul.sns li a {
    display: block;
}
footer ul.sns li img {
    max-width:100%;
}
footer .access {
    width:100%;
    margin: 0;
    padding:0;
    display:flex; flex-flow:row wrap; justify-content:center; align-content:center; align-items:center;
}
footer .access dl {
    margin: 50px 0;
}
footer .access dl dt ,
footer .access dl dd {
    text-align: center;
}
footer .access dl dt {
    margin: 0 0 10px;
    font-size: 1.2rem;
}
footer .access dl dd {}
footer .access dl dd a {}
footer .access iframe {
    width: 100%;
    height:300px;
    border:none;
    display:block;
}
footer small {
    width:100%;
    margin: 100px auto 0;
    display:block;
    font-size: 1rem;
    text-align:center;
}

@media only screen and (max-width:640px){

    .etcBanner {
        width:90%;
        padding:20px 5%;
        display:flex; flex-flow:row wrap; justify-content:space-between; align-content:flex-start; align-items:flex-start;
        border-radius:0;
    }
    .etcBanner a {
        width:48%;
        margin:10px 0 0;
    }
	
	footer {
		padding:50px 0;
	}
    footer .inquiry {
        margin: 0 auto 50px;
		padding:40px 5% 50px;
    }
    footer .inquiry:after {
        background: url("../../mx/img/inquiry-sp.jpg") center no-repeat fixed;
        background-size: cover;
    }
    footer .inquiry p {
        margin: 0 auto 30px;
        font-size: 1.3em;
        font-weight: 900;
    }
    footer .inquiry a {
        margin: 0 10px;
    }
    footer .inquiry a.contact {}
    footer .inquiry a.tel {
        margin-bottom: 30px;
        font-size: 1.1em;
        text-align: center;
        line-height: 1.5;
    }
    footer .inquiry a.tel span {
        font-size: 1.8em;
    }
    
    footer ul.sitemap li {
        width:16em;
        margin:10px 0;
    }
    footer ul.sitemap li a {
        width:100%;
        padding: 5px 0;
        display: block;
        text-align: center;
        background: #fff;
    }
    footer ul.sitemap li a:hover {
        color: #fff;
        background: #005989;
    }

    footer ul.sns li {
        width: 30px;
        margin:10px;
    }
    footer .access p {
        margin-left: 5%;
    }
    footer .access iframe {
        width: 100%;
        height:450px;
        border-radius:0;
    }
    footer small {
        font-size:0.9em;
    }
}

