@charset "UTF-8";
/*====================================
  トップに戻る
=====================================*/
.top_bt{
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--gray);
    position: fixed;
    z-index: 3;
}

.top_bt a{
    width: 100%;
    height: 100%;
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
    font-family: "Zen Maru Gothic", sans-serif;
    font-size: 0.85em;
    font-weight: 600;
    color: var(--blue);
    text-align: center;
    line-height: 1;
    position: relative;
}

.top_bt__arrow{
    width: 40px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.top_bt__arrow::before{
    content: '';
    width: 22px;
    height: 3px;
    display: block;
    border-radius: 10px;
    background-color: var(--blue);
    transform: rotate(330deg);
    position: absolute;
    left: 0;
}

.top_bt__arrow::after{
    content: '';
    width: 22px;
    height: 3px;
    display: block;
    border-radius: 10px;
    background-color: var(--blue);
    transform: rotate(30deg);
    position: absolute;
    right: 0;
}

@media screen and (min-width: 0px) {
    .top_bt a{
        font-size: 1em;
    }
}

@media screen and (min-width: 768x) {
    .top_bt a{
        font-size: 0.85em;
    }
}

/*====================================
  フッター レイアウト
=====================================*/
footer{
    padding: 4em 1.5em;
    margin-right: calc(61px + 1em);
    max-width: 100%;
    border-radius: 100px 100px 0 0;
    background-color: var(--white);
    box-shadow: var(--shadow);
}

.footer_area{
    width: 100%;
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: flex-end;
    gap: 2em;
}

.footer_left{
    display: flex;
    flex-wrap: wrap;
    gap: 1.25em;
}

.footer_left address{
    width: 100%;
    font-weight: 600;
    line-height: 1.5;
}

.tel_bt{
    padding: 1em 2em;
    display: inline-flex;
    align-items: center;
    border-radius: 30px;
    background-color: var(--blue);
    color: var(--white);
    gap: 0.5em;
}

.tel_bt .tel_icon{
    width: 1em;
    height: 1em;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--white);
    mask-image: url('../img/icon/tel.svg');
    mask-size: contain;
    mask-repeat: no-repeat;
}

.footer_right{
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 1.5em;
}

/*/////// フッターメニュー ////////*/
.footer_menu{
    display: grid;
    grid-template-rows: 1fr;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 1em;
}

.footer_menu a{
    width: 100%;
    height: 100%;
    display: flex;
    flex-wrap: wrap;
    align-content: flex-end;
    gap: 0.75em;
    font-size: 0.85em;
    font-weight: 600;
    transition: var(--transition);
}

.footer_menu a:hover{
    color: var(--blue);
}

.footer_menu__icon{
    width: 100%;
    mask-repeat: no-repeat;
    mask-size: contain;
    mask-position: center;
    background-color: var(--black);
    transition: var(--transition);
}

.footer_menu a:hover .footer_menu__icon{
    background-color: var(--blue);
}

.footer_menu li:first-child a .footer_menu__icon{
    height: 28px;
    mask-image: url(../img/icon/contact.svg);
}

.footer_menu li:nth-child(2) a .footer_menu__icon{
    height: 35px;
    mask-image: url(../img/icon/map.svg);
}

.footer_menu li:nth-child(3) a .footer_menu__icon{
    height: 35px;
    mask-image: url(../img/icon/kozinzyoho.svg);
}

.footer_menu li:nth-child(4) a .footer_menu__icon{
    height: 35px;
    mask-image: url(../img/icon/sitemap.svg);
}

small{
    margin-top: 2em;
    width: 100%;
    display: block;
    text-align: start;
}

@media screen and (min-width: 0px) {
    .top_bt{
        right: 0.5em;
        bottom: 0.5em;
    }

    footer{
        margin-right: 0;
    }

    .footer_area{
        flex-wrap: wrap;
    }

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

    .footer_right{
        justify-content: flex-start;
    }

    .footer_menu{
        width: 100%;
        grid-template-rows: 1fr 1fr;
        grid-template-columns: 1fr 1fr;
        gap: 1em 1.5em;
    }

    .footer_menu a{
        flex-wrap: nowrap;
        justify-content: left;
        align-items: center;
    }

    .footer_menu__icon{
        width: 35px;
    }

    small{
        text-align: center;
    }
}

@media screen and (min-width: 768px) {
    .top_bt{
        right: 100px;
    }

    footer{
        margin-right: calc(61px + 1em);
    }

    .footer_menu{
        width: auto;
        grid-template-rows: 1fr;
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }

    .footer_menu a{
        width: 100%;
        flex-wrap: wrap;
        justify-content: center;
        align-items: unset;
    }

    .footer_menu__icon{
        width: 100%;
    }

}

@media screen and (min-width: 1024px) {
    .footer_area{
        flex-wrap: nowrap;
    }

    .footer_left{
        width: calc(33.33% - 1em);
    }

    .footer_right{
        width: calc(66.66% - 1em);
        justify-content: flex-end;
    }

    small{
        text-align: start;
    }
}

/*/////// 興生会リンクバナー ////////*/
.koseikai_banner{
    width: 300px;
    display: flex;
    justify-content: end;
    align-items: center;
    background-image: url(../img/back/banner_back.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-color: rgb(255 255 255 / 70%);
    background-blend-mode: lighten;
    border-radius: 10px;
    overflow: hidden;
}

.koseikai_banner a{
    width: 100%;
}

.koseikai_banner a[target="_blank"]::after{
  display: none;
}

.koseikai_banner img{
    padding: 1em 1.75em;
}