/*=========================================

ヘッダー部分

=========================================*/

.sns_list-wrapper {
    flex-direction: column;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    padding-top: 10px;
    text-align: center;
    grid-row-end: -1;
    grid-column-end: -1;
    margin: 0 auto;
}

header .sns_list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
    max-width: 188px;
    margin: .5em 1em;
    margin-bottom: .5em;
}

header .sns_list li {
    display: flex;
    align-items: center;
    width: clamp(32px, 21%, 36px);
    aspect-ratio: 1/1;
}

header .sns_list li a {
    background: none;
}

header .sns_list-media {
    justify-content: center;
    font-size: 96%;
    display: flex;
    width: 100%;
}

header .sns_list-media a {
    font-size: 16px;
    font-weight: bold;
    justify-content: center;
    text-align: left;
    color: #333;
}

.header_link>li {
    flex-basis: auto;
}

.header_link .linkedin_link>a::after {
    display: none;
}


@media only screen and (max-width: 960px) {

    .header_link>li {
        flex-basis: calc(50% - 0.5px);
    }
}

@media only screen and (max-width: 1019px) {

    #mobile_menu_area .sns_list {
        order: 5;
    }

    header .sns_list {
        margin: .5em 1em;
    }

}



/*=========================================

フッター部分

=========================================*/

#footer {
    background-color: #F3F3F3;
    position: relative;
    border-top: #cecece solid 1px;
}

#footer img{
    max-width:100%;
}

#footer .copyright {
    font-size: 0.8em;
    padding: 2em 0;
}
.sns_list-wrapper_footer {
    flex-direction: column;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    padding-top: 10px;
    grid-row-end: -1;
    grid-column-end: -1;
    align-content: flex-start;
}

.nav_list-wrapper_footer {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
}

.sns_list_footer {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
    max-width: 220px;
    margin: .5em 1em;
    margin-bottom: .5em;
}

.sns_list_footer li {
    display: flex;
    align-items: center;
    width: clamp(32px, 21%, 36px);
    aspect-ratio: 1/1;
}

.sns_list_footer li a {
    background: none;
}

.nav_footer {
    background-color: #cecece;
    border-top: #cecece solid 1px;
    border-bottom: #cecece solid 1px;
    display: flex;
    justify-content: space-between;
}

.nav_footer>li {
    background-color: #F3F3F3;
    flex-basis: calc(50% - 0.5px);
}

.nav_footer>li>a {
    color: #333333;
    display: block;
    padding: 1em 0;
    position: relative;
}

.nav_footer>li>a:hover {
    text-decoration: none;
}

.nav_footer>li>a::after {
    content: "\e5cc";
    color: #e60012;
    display: inline-block;
    font-family: 'Material Icons';
    font-size: 24px;
    position: absolute;
    right: 0.5em;
    top: 50%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
}

.logo_footer {
    width: 200px;
    margin: 1em auto;
}


.sns_list {
    display: grid;
    grid-template-columns: repeat(auto-fit, 34px);
    justify-content: center;
    align-items: center;
    margin: 10px;
    grid-gap: 10px 20px;
    width: 100%;
    max-width: calc(100vw - 40px);
}


@media screen and (min-width:960px) {
    #footer {
        border-top: #898989 solid 4px;
    }
    

    .nav_footer {
        border: none;
        background: none;
    }

    .nav_footer>li>a::after {
        display: none;
    }

    .nav_footer>li>a {
        padding: 0;
    }

    #footer {
        border-top: #898989 solid 4px;
        padding-bottom: 2em;
    }

    .footer_inner {
        max-width: 960px;
        margin: 0 auto;
    }

    #footer .copyright {
        padding: 3em 0 0;
        text-align: left;
    }

    .footer_inner-bottom {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .nav_footer {
        border: none;
        background-color: transparent;
        justify-content: flex-start;
    }

    .nav_footer>li {
        flex-basis: auto;
        margin-right: 3em;
    }

    .nav_footer>li>a {
        font-weight: bold;
        padding: 0;
    }

    .nav_footer>li>a:hover {
        color: #3498db;
    }

    .nav_footer>li>a::after {
        display: none;
    }

    .logo_footer {
        margin: 0;
    }

    .sns_list {
        min-width: calc(54px * 5);
        margin: 10px 0;
        justify-content: flex-start;
    }

}