@charset "UTF-8";
.top_bt{
    width: 60px;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    bottom: 1rem;
    right: 0;
    z-index: 1;
}

.top_bt a{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
}

.top_bt__arrow{
    width: 7px;
    height: 28px;
    display: flex;
    position: relative;
    align-items: center;
}

.top_bt__arrow::before {
    content: '';
    width: 2px;
    height: 28px;
    border-radius: 3px;
    background-color: var(--black);
    position: absolute;
    left: 2px;
}

.top_bt__arrow::after {
    content: '';
    width: 7px;
    height: 2px;
    border-radius: 20px;
    background-color: var(--black);
    transform: rotate(45deg);
    position: absolute;
    top: 3px;
    left: 2px;
}

footer{
    padding-top: 4.5em;
    width: 100%;
    height: auto;
    background-color: var(--gray_clear);
    backdrop-filter: var(--blur);
}

.footer_content{
    display: flex;
    justify-content: space-between;
    border-radius: 100px 100px 0 0;
    background-color: var(--white);
}
/*========================
　フッター　左側
======================== */
.footer_left{
    display: flex;
    flex-wrap: wrap;
    align-content: space-between;
    gap: 1.5em;
}

.footer_left .logo{
    width: 280px;
}

address{
    width: 100%;
    font-style: normal;
    font-weight: 500;
    line-height: 1.5;
}

small{
    font-weight: 500;
}

.sns_area{
    width: 100%;
    display: flex;
    flex-wrap: nowrap;
    justify-content: left;
    align-items: center;
    gap: 30px;
}

.sns_area a{
    width: 30px;
    height: 30px;
}

.sns_area img{
    width: 100%;
    height: auto;
    object-fit: contain;
}

/*========================
　フッター　右側
======================== */

.line_area,
.banner_area{
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: solid 1px var(--black);
    display: flex;
    align-items: center;
    gap: 2em;
}

p.line_area_tx{
    margin: 0rem;
    flex: 1;
    line-height: 1.5;
}

.line_area_tx span{
    width: 100%;
    display: block;
    font-weight: 500;
}

.banner_area a{
    display: flex;
    border: solid 1px var(--gray);
}

.line_friend{
    height: 50px;
    display: flex;
    justify-content: flex-start;
}

.banner_area{
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 1.5rem;
}

/* フッターメニュー */
 .footer_menu{
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
 }

 .footer_menu .footer_menu__li{
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
}

.footer_menu .footer_menu__li a{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    font-size: 0.75em;
    font-weight: 500;
    position: relative;
}

.footer_menu__li .footer_menu__icon{
    margin-bottom: 0.5rem;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    width: 100%;
    height: 33px;
    display: block;
}

.footer_menu__li:first-child .footer_menu__icon{
    background-image: url(../img/icon/home.svg);
}

.footer_menu__li:nth-child(2) .footer_menu__icon{
    background-image: url(../img/icon/site.svg);
}

.footer_menu__li:nth-child(3) .footer_menu__icon{
    background-image: url(../img/icon/sitemap.svg);
}

.footer_menu__li:nth-child(4) .footer_menu__icon{
    background-image: url(../img/icon/kojinjoho.svg);
}

.footer_menu__li:nth-child(5) .footer_menu__icon{
    background-image: url(../img/icon/mail.svg);
    height: 25px;
}

.footer_menu .footer_menu__li a::after {
    content: '';
    width: 100%;
    height: 1px;
    border-radius: 5px;
    background-color: var(--black);
    position: absolute;
    left: 0;
    bottom: -1px;
    transform-origin: right top;
    transform: scale(0, 1);
    transition: transform .3s;
}

.footer_menu .footer_menu__li a:hover::after {
    transform-origin: left top;
    transform: scale(1, 1);
}

@media screen and (min-width: 0px) {
    .footer_content{
        margin: 0em;
        padding: 5em 1.5em 1.5em 1.5em;
        flex-wrap: wrap;
        flex-direction: column-reverse;
        gap: 3em;
    }

    .footer_left, .footer_right {
        width: 100%;
    }

    .footer_left .logo{
        width: 280px;
    }

    .logo h2{
        margin-bottom: 0;
    }

    .line_area{
        gap: 1em 0em;
        flex-wrap: wrap;
    }
    
    .line_friend{
        width: 100%;
    }

    .banner_area{
        flex-wrap: wrap;   
    }

    .banner_area a{
        width: 100%;
    }

    .footer_menu{
        flex-wrap: wrap;
        justify-content: flex-start;
        align-items: flex-start;
        gap: 0.5em;
    }

    .footer_menu .footer_menu__li{
        width: calc(33.33% - 0.5em);
    }
}

@media screen and (min-width: 768px) {
    .footer_content{
        padding: 3em;
    }

    .line_area{
        align-items: end;
    }

    .banner_area{
        flex-wrap: nowrap;   
    }

    .banner_area a{
        width: auto;
    }

    .footer_menu{
        flex-wrap: nowrap;
        justify-content: space-between;
        align-items: flex-end;
    }

    .footer_menu .footer_menu__li{
        width: auto;
    }
}

@media screen and (min-width: 1024px) {
    .footer_content{
        margin: 0 2.25em;
        padding: 4em 4em 3em 4em;
        flex-wrap: nowrap;
        gap: 0em;
        flex-direction: unset;
    }

    .footer_left, .footer_right {
        width: calc(50% - 2em);
    }

}

@media screen and (min-width: 1440px) {
    .line_area{
        flex-wrap: nowrap;
        gap: 2em;
    }

    .line_friend{
        width: auto;
    }
}