@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{
    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;
}

.footer_bt__area{
    display: flex;
    flex-wrap: wrap;
    gap: 1.5em;
}

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

.tel_bt .tel_icon{
    width: 25px;
    height: 25px;
    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;
}

.contact_bt.more_bt2{
    gap: 0.5em;
}

.contact_bt.more_bt2 .mail_icon{
    width: 25px;
    height: 22px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--blue);
    mask-image: url('../img/icon/contact.svg');
    mask-size: contain;
    mask-repeat: no-repeat;
    transition: var(--transition);
}

.contact_bt.more_bt2:hover .mail_icon{
    background-color: var(--white);
}

.footer_right{
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 1.25em;
}

.footer_right h2{
    margin-bottom: 0;
    width: 100%;
    font-size: 1.5em;
}
/*/////// フッターメニュー ////////*/

.footer_menu{
    display: grid;
    gap: 1em;
    justify-items: start;
    align-items: baseline;
    position: relative;
}

.footer_menu li{
    display: flex;
    align-items: center;
    align-content: center;
    justify-content: flex-start;
    position: relative;
}

.footer_menu li::before {
    content: '';
    width: 12px;
    height: 14px;
    display: flex;
    aspect-ratio: cos(30deg);
    clip-path: polygon(100% 50%, 0 100%, 0 0);
    background: var(--blue);
    position: absolute;
    left: 0;
    top: 4px;
}

.footer_menu a{
    padding-left: 1em;
    width: 100%;
    height: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-content: flex-end;
    font-size: 1em;
    font-weight: 500;
    align-items: center;
    transition: var(--transition);
}

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

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

/*/////// 興生会リンクバナー ////////*/
.koseikai_banner{
    width: 100%;
    display: flex;
    justify-content: end;
    align-items: center;
}

.koseikai_banner a{
    height: 100px;
    border-radius: 10px;
    background-color: var(--gray);
}

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;
        padding: 4em 2em 2em 2em;
    }

    .footer_area{
        flex-wrap: wrap;
    }

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

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

    small{
        text-align: center;
    }
}

@media screen and (min-width: 768px) {
    .footer_menu{
        grid-template-rows: 1fr;
        grid-template-columns: 1fr 1fr;
    }
}

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

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

    .footer_right{
        width: calc(50% - 1em);
    }

    small{
        text-align: start;
    }
}

@media screen and (min-width: 1440px) {
    footer {

    }
}