/*module*/
#Commonfooter *{
    webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    font-size: 87.5%;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 400;
    line-height: 1.5;
    text-size-adjust: 100%;
}

#Commonfooter .flex {
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

/*end of module*/
#Commonfooter {
    background: #F6F5F4 !important;    
    color: #30261D;
    position: relative;
    width: 100%;
    height: auto !important;
    display: block;
    text-decoration: none;
}

#Commonfooter .com_footer_inner {
    width: 100%; 
    padding: 0 64px;  
    margin: 0 auto;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 87.5%;
    font-weight: 400;
    text-size-adjust: 100%;
    line-height: 1.5;
}

@media only screen and (min-width: 320px) {
    #Commonfooter .com_footer_inner{
        max-width: 100%;
        padding: 0 16px;
        margin: 0 auto;
    }   
}

@media only screen and (min-width: 576px) {
    #Commonfooter .com_footer_inner{
        max-width: 540px;
        padding: 0 16px;
        margin: 0 70px;
    }   
}

@media only screen and (min-width: 768px) {
    #Commonfooter .com_footer_inner{
        max-width: 960px;
        margin: 0 auto;
        padding: 0 16px;
    }   
}

@media only screen and (min-width: 992px) {
    #Commonfooter .com_footer_inner{
        max-width:1024px;
        margin: 0 auto;
        padding: 0 64px;        
    }   
}

@media only screen and (min-width: 1200px) {
    #Commonfooter .com_footer_inner{
        max-width: 1440px;
        margin: 0 auto;
        padding: 0 64px;
    }   
}


@media only screen and (min-width: 1400px) {
    #Commonfooter .com_footer_inner{
        max-width: 1600px;
        margin: 0 auto;
        padding: 0 64px;
    }   
}

#Commonfooter .com_footer_inner .site_footer_top{
    align-items: center;
    padding: 25px 0 20px 10px;
    -webkit-justify-content: center;
                justify-content: center;    
}

#Commonfooter .com_footer_inner .site_footer_top img{
    max-width: 90px;
    height: auto;
}

@media screen and (min-width: 1024px) {
    #Commonfooter .com_footer_inner .site_footer_top{
        -webkit-box-ordinal-group:unset;
        -webkit-order: unset;
        -ms-flex-order: unset;
        order: unset;
        -webkit-flex-basis: 50%;
        -ms-flex-preferred-size: 50%;
        flex-basis: 50%;
        padding: 40px 10px; 
        justify-content: space-between;
    }

    #Commonfooter .com_footer_inner .site_footer_top img{
        max-width:115px;
    }
}

#Commonfooter .com_footer_inner .site_footer_bottom{
    border-top: 1px solid #30261D;
    margin: 15px 0 0;
    padding: 30px 20px;
    font-size: 12px;
    flex-direction: column-reverse;
}

#Commonfooter .com_footer_inner .site_footer_bottom .copyright_block{
    font-size: 12px;
    color: #30261D;
    width: 100%;
    padding: 10px 0 5px;
    text-align: initial;
}

@media screen and (min-width: 1024px) {
    #Commonfooter .com_footer_inner .site_footer_bottom{
        flex-direction: unset;
        margin: 15px 0 0;
        padding: 30px 0;
    }

    #Commonfooter .com_footer_inner .site_footer_bottom .copyright_block{
        padding: 0;
        width: 40%;
    }
}

#Commonfooter .com_footer_inner .site_footer_menu{
    width: 100%;
    padding: 0 0 5px;
}

@media screen and (min-width: 1024px) {
    #Commonfooter .com_footer_inner .site_footer_menu{
        padding: 0 20px 0 0;
        width: 60%;
        justify-content: flex-end;
    }
}

#Commonfooter .com_footer_inner .site_footer_menu ul{
    width: 100%;
    justify-content: flex-start;
    flex-direction: row;
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;
}

@media screen and (min-width: 1024px) {
    #Commonfooter .com_footer_inner .site_footer_menu ul{
        justify-content: flex-end;
    }
}


#Commonfooter .com_footer_inner .site_footer_menu ul li{
    padding: 0;    
}

@media screen and (min-width: 1024px) {
    #Commonfooter .com_footer_inner .site_footer_menu ul li{
        padding: 0 0 0 20px;    
    }
}

#Commonfooter .com_footer_inner .site_footer_menu ul li a{
    font-size: 12px;
    -webkit-text-size-adjust: 100%;
    padding: 0 20px 10px 0;
    display: inline-block;
    color: #30261D;
    text-decoration: none;
}

@media screen and (min-width: 1024px) {
    #Commonfooter .com_footer_inner .site_footer_menu ul li a{
        padding: 0px;
        color: #30261D;
    }
}

#Commonfooter .com_footer_inner .site_footer_menu ul li a:hover{
    color: #CA123F;
    text-decoration: none;
}


