
:root {
    --white_color: #FFFFFF;
    --black_color: #34333C;
    --pink_color: #B60081;
    --lightpink_color: #F4EBF0;
    --gray1_color: #CDCCD4;
    --gray2_color: #706F7D;
    --gray3_color: #9E9DA6;
    --gray4_color: #EEEEEE;
    --shadow_color_12: #0000001F;
    --shadow_color_04: #0000000A;
    --background_color: #00000066;
}

html{
    font-size: 62.5%;
    font-family: -apple-system,BlinkMacSystemFont,GeneralFonts,Hiragino Kaku Gothic ProN,Yu Gothic Medium,YuGothic-Medium,游ゴシック Medium,YuGothic,游ゴシック,Meiryo,Helvetica Neue,Segoe UI,sans-serif;
    font-weight: 300;
    box-sizing: border-box;
    overflow-y: scroll;
}

/* 
-----------------
フッター
----------------- 
*/

.footer_content{
    padding-bottom: 0;
    position: relative;
    z-index: 100;
    border: none;
}

.footer_main_content{
    background-color: var(--lightpink_color);
}

.footer_common{
    max-width: 1300px;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}

.footer_top_content{
    padding: 40px 0px;
}

.footer_top_content > h2,
#contents .footer_top_content > h2{
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 30px;
    margin: 0;
    letter-spacing: 0.05em;
    color: var(--black_color);
    margin-bottom: 24px;
    padding: 0;
    background: none;
    text-align: left;
    height: auto;
}

.footer_top_content .distributor_content{
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.footer_top_content .distributor_img{
    display: flex;
    align-items: start;
    gap: 24px;
}

.footer_top_content .distributor_img a:hover{
    opacity: 0.6;
    transition: 0.8s;
}

.footer_top_content .distributor_img .privacy_mark{
    width: 72px;
    height: 72px;
}

.footer_top_content .distributor_img .secom_mark{
    width: 56px !important;
    height: 88px !important;
    transition: 0.5s;
    cursor: pointer;
    display: block;
    padding: 0 !important;
    background: none !important;
    
}

.footer_top_content .distributor_img .secom_mark:hover{
    opacity: 0.7;
}


.footer_top_content .distributor_txt > h3{
    font-size: 1.8rem !important;
    font-weight: 700 !important;
    line-height: 22.5px;
    letter-spacing: 0.05em;
    color: var(--black_color);
    margin: 0;
    margin-bottom: 8px;
    text-indent: initial;
    padding: 0;
    text-align: left;
    border: none;
    background-color: unset;
}

.footer_top_content .distributor_txt > h3::before{
    content: unset;
}

.footer_top_content .distributor_txt > p{
    font-size: 1.6rem;
    font-weight: 300;
    line-height: 24px;
    letter-spacing: 0.05em;
    color: var(--black_color);
    text-align: left;
}

.footer_top_content > p{
    font-size: 1.4rem;
    font-weight: 300;
    line-height: 21px;
    letter-spacing: 0.05em;
    color: var(--black_color);  
    text-align: left;
}

.footer_middle_content {
    padding: 0px 0px 40px;
}


.footer_middle_content .footer_menu{
    display: flex;
}

.footer_middle_content .footer_menu > .menu_section{
    padding: 0 24px;
    position: relative;
    width: 20%;
    box-sizing: border-box;
    text-align: left;
}

.footer_middle_content .footer_menu > .group_company_introduction{
    width: 40%;
}

.footer_middle_content .footer_menu > .menu_section::after{
    content: "";
    height: 100%;
    width: 2px;
    background-image: url(/top/img/common/footer_line_vertical.svg);
    background-size: contain;
    position: absolute;
    display: inline-block;
    right: 0;
    top: 0;
}

.footer_middle_content .footer_menu > .menu_section:last-of-type::after{
    content: unset;
}


.footer_middle_content .footer_menu > .menu_section:first-of-type{
    padding-left: 0;
}

.footer_middle_content .footer_menu > .menu_section:last-of-type{
    padding-right: 0;
}


.footer_menu > .menu_section > h4{
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 20px;
    letter-spacing: 0.05em;
    color: var(--black_color);  
    margin: 0;
    margin-bottom: 16px;
    border: none;
    padding: 0;
}

.footer_menu .footer_menu_list{
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: space-between;
    padding: 0;
    list-style: none;
    margin-bottom: 0;
}

.footer_menu .footer_menu_list .footer_link{
    width: 100%;
}

.group_company_introduction .footer_menu_list .footer_link{
    width: calc(50% - 12px);
}


.footer_menu .footer_menu_list .footer_link > a{
    font-size: 1.4rem;
    font-weight: 300;
    line-height: 21px;
    letter-spacing: 0.05em;
    color: var(--black_color); 
    display: block;
    width: 100%;
    transition: none;
    text-decoration: none;
}

.footer_menu .footer_menu_list .footer_link > a:hover{
    text-decoration: underline;
    opacity: 1;
}

.footer_bottom_content{
    background-color: var(--white_color);
    padding: 16px 0;
}

.fotter_bottom_wrap{
    display: flex;
    justify-content: space-between;
    margin-bottom: 24px;
}

.footer_logo img{
    width: 132px;
}

.foot_wood img{
    width: 113px;
}

.footer_bottom_content .copy_right{
    text-align: center;
}

.footer_bottom_content .copy_right small{
    font-size: 1.1rem;
    font-weight: 300;
    line-height: 13.75px;
    color: var(--black_color);
}

.footer_content .tb_br{
    display: none;
}

@media screen and (max-width: 1380px) {
    .footer_top_content{
        padding: 40px;
    }

    .footer_middle_content{
        padding: 0 40px 40px;
    }

    .footer_bottom_content{
        padding: 16px 40px;
    }
}

@media screen and (max-width: 1023px) {
    .footer_content .tb_br{
        display: block;
    }

    .footer_middle_content .footer_menu{
        flex-wrap: wrap;
    }

    .footer_middle_content .footer_menu > .menu_section:nth-child(1),
    .footer_middle_content .footer_menu > .menu_section:nth-child(2){
        margin-bottom: 40px;
    }

    .footer_middle_content .footer_menu > .menu_section:nth-child(odd){
        width: 35%;
        padding-left: 0;
    }

    .footer_middle_content .footer_menu > .menu_section:nth-child(even){
        width: 65%;
    }

    .footer_middle_content .footer_menu > .menu_section:nth-child(even)::after{
        content: none;
    }

    .footer_bottom_content{
        padding: 16px 40px;
    }
}

@media screen and (max-width: 767px) {
    .footer_top_content{
        padding: 40px 16px 24px;
    }

    .footer_top_content > h2,
    #contents .footer_top_content > h2{
        font-size: 2.1rem;
        font-weight: 700;
        line-height: 26.25px;
    }

    .distributor_content{
        flex-wrap: wrap;
    }

    .footer_top_content .distributor_txt > h3{
        font-size: 1.4rem !important;
        font-weight: 700 !important;
        line-height: 17.5px;
        letter-spacing: 0.05em;
    }

    .footer_top_content .distributor_txt > p{
        font-size: 1.2rem !important;
        font-weight: 300;
        line-height: 18px;
        letter-spacing: 0.05em;
    }

    .footer_top_content .distributor_txt,.footer_top_content .distributor_img{
        margin-bottom: 16px;
    }

    .footer_top_content > p{
        font-size: 1.4rem;
        font-weight: 300;
        line-height: 21px;
        letter-spacing: 0.05em;
    }

    .footer_content .footer_middle_content .footer_menu > .menu_section{
        width: 100%;
        padding: 0;
        margin-bottom: 0;
    }

    .footer_middle_content .footer_menu > .menu_section.about_service .footer_menu_list_wrap{
        display: block;
    }

    .footer_middle_content{
        padding: 0 16px 40px;
    }

    .footer_menu > .menu_section > h4{
        padding: 16px 0;
        margin-bottom: 0;
        position: relative;
    }
    
    
    .footer_menu > .menu_section > h4::before{
        position: absolute;
        content: '';
        top: 50%;
        right: 16px;
        width: 18px;
        height: 2px;
        background-color: var(--pink_color);
        transform: rotate(90deg);
        transition: all .3s ease-in-out;
    }
    
    .footer_menu > .menu_section > h4::after{
        position: absolute;
        content: '';
        top: 50%;
        right: 16px;
        width: 18px;
        height: 2px;
        background-color: var(--pink_color);
        transition: all .3s ease-in-out;
        transform: unset;
        border: none;
    }
    
    .footer_menu > .menu_section > h4.open::before {
        transform: rotate(180deg);
    }
    
    .footer_menu > .menu_section > h4.open::after {
        opacity:0;
        transform: unset;
        border: none;
        top: 50%;
    }

    .footer_content .footer_middle_content .footer_menu > .menu_section::after{
        content: '';
        background-image: url(/top/img/common/footer_line_horizontal.svg);
        width: 100%;
        height: 2px;
        bottom: 0;
        left: 0;
        background-size: contain;
        background-repeat: repeat;
        right: unset;
        top: unset;
    }

    .footer_middle_content .footer_menu > .menu_section:first-of-type:before{
        content: '';
        background-image: url(/top/img/common/footer_line_horizontal.svg);
        width: 100%;
        height: 2px;
        left: 0;
        background-size: contain;
        background-repeat: repeat;
        right: unset;
        top: 0;
        position: absolute;
    }

    .footer_menu .footer_menu_list{
        padding: 16px 0;
        gap: 12px;
    }

    .terms_and_policies.menu_section .footer_menu_list{
        display: grid;
        grid-template-rows: repeat(5, auto);
        grid-auto-flow: column;
        gap: 12px 24px;
    }

    .footer_menu .footer_menu_list_wrap{
        display: none;
    }

    .terms_and_policies.menu_section .footer_menu_list .footer_link{
        width: 100%;
    }

    .footer_menu .footer_menu_list .footer_link{
        width: calc(50% - 12px);
    }

    .footer_bottom_content{
        padding: 16px;
    }

}