.footer {
    position: relative;
	background-color: #f6fafd;
	color: rgba(0,0,0, 1);
	font-weight: 300;
}

.footer .bg {
    position: relative;
    top: -2px;
}

.footer .bg img {
    top: -30px;
    left: 0;
    width: 100%;
    height: auto;
}

.footer .footer-top {
    text-align: left;
}

.footer .footer-top1 img {
    width: 100%;
    max-width: 300px;
    height: auto;
    padding: 20px 0;
}

.footer .footer-top1 span.strong {
    font-size: 24px;
    font-weight: bold;
}


.footer .footer-top1:after {
    content: "";
    margin-left: auto;
    margin-right: auto;
    display: block;
    height: 2px;
    width: 50px;
    margin-top: 20px;
    background-color:#33a8f1 ;
}

.footer .footer-top2 {
    margin-top: 20px;
}

.footer .footer-bottom {
	/* border-top: 1px solid rgba(255, 255, 255, 0.8); */
    border-top: 1px solid rgba(0,0,0, 0.4);
    padding: 20px 0;
}

.footer .footer-bottom .copyright{
    display: flex;
    flex-wrap: wrap;
    font-size: 12px;
    justify-content: center;
    align-items: center;
}

/* フッターのサイトマップ*/
.footer-sitemap {
    color: #000;
}
.footer-sitemap .logos {
    padding-left: 10px;
    display: flex;
    flex-wrap: wrap;
}

.footer-sitemap .logo {
    padding-top: 10px;
}

.footer-sitemap a:hover {
    opacity: 0.7;
}

.footer-sitemap .logo .img {
    height: 24px;
    margin: 0 auto;
}

.footer-sitemap .logo .img img {
    /* 比率を曲げてでも合わせる場合 */
    /* max-width: 200px; */
    width: auto;
    height: 100%;
}

.footer-sitemap .grids{
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    max-width: 870px;
    margin:  0 auto;
}

.footer-sitemap div.grid:nth-child(1){
    width: 50%;
    padding: 20px;
}
.footer-sitemap div.grid:nth-child(2){
    width: 50%;
    padding: 20px;
}

.footer-sitemap .about{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.footer-sitemap .about .img img{
    width: 200px;
}
.footer .about .tel {
    margin-top: 10px;
}
.footer .about .tel .strong {
    font-size: 24px;
    font-weight: bold;
}
.footer .about .tel:after {
    content: "";
    margin-left: auto;
    margin-right: auto;
    display: block;
    height: 2px;
    width: 50px;
    margin-top: 10px;
    margin-bottom: 10px;
    background-color: #33a8f1;
}

.footer-sitemap .grid .sitemaps {
    display: flex;
    flex-wrap: wrap;
}
.footer-sitemap .grid .sitemap1 {
    width: 50%;
    min-width: 180px;
}
.footer-sitemap .grid .sitemap1 li,
.footer-sitemap .grid .sitemap2 li{
    font-size: 14px;
}
.footer-sitemap .grid .sitemap1 li a:before
{
    content: "-";
}
.footer-sitemap .grid .sitemap2 {
    width: 50%;
}
.footer-sitemap .grid .sitemap2 .logo .img {
    height: auto;
    max-width: 200px;
    width: calc(100% - 20px);
    margin: 0;
    display: inline-block;
}
.footer-sitemap .grid .sitemap2 .logo img {
    width: 100%;
    height: auto;
}

.footer-sitemap .grid .sitemap2 .logo a::after{
    content: url(../img/icon/external_link.svg);
    width: 14px;
    height: 14px;
    display: inline-block;
}

.footer-sitemap .grid .sitemaps a{
    text-decoration: none;
    color: inherit;
    display: inline-block;
}

.footer-sitemap .grid .sitemaps h3{
    text-align: left;
    margin: 0;
    font-size: 16px;
}

.footer-sitemap div.grid ul{
    margin: 0;
}

.footer-sitemap .head_icon_check::before {
    position: relative;
    display: inline-block;
    content: url(check.svg);
    width: 18px;
    height: 18px;
    left: -0.5rem;
}
.footer-sitemap .grid ul {
    list-style: none;
    padding: 0;
}

.footer-sitemap .grid li a{
    text-decoration: none;
    color: inherit;
    padding: 0;
}

/* 500以上860以下 */
@media only screen and (min-width:500px) and (max-width: 860px){
    .footer-sitemap div.grids{
    }
    .footer-sitemap div.grid{
        flex-basis: 50%;
        width: 50%;
    }
}

/* 500以下 */
@media(max-width: 500px) {
    .footer-sitemap div.grids{
        flex-direction: column;
    }

    .footer-sitemap div.grid{
        width: 100%!important;
    }
}




/* ページの先頭に戻るボタン */
.footer .page_top_button {
    position: fixed;
    bottom: 100px;
    right: 40px;
    z-index: 1000;
    opacity: 0;
    transition: transform .25s ease-in-out, .25s ease-in-out;
}

.footer .page_top_button.scroll-stick{
    opacity: 1;
    transform: translateY(-20px);
}
.footer .page_top_button div{
    position: relative;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 1);
    color: #000;
    border: 3px solid #000;
    margin: 0 auto;
}

.footer .page_top_button div::after {
    content: '';
    display: block;
    width: 14px;
    height: 14px;
    border-top: 3px solid #000;
    border-right: 3px solid #000;
    -moz-transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
    margin: auto;
    position: absolute;
    top: 30px;
    right: 0;
    left: 0;
}

.footer .page_top_button span {
    color: black;
}

/* 700以下でボタンを表示しない */
@media only screen and (min-width:0px) and (max-width: 700px){
    .footer .page_top_button {
        display: none;
    }
}


