@charset "utf-8";

/**
FOOTER
**/
#footer {
    .copyright {
        position: fixed;
        color:#FFFFFF;
        font-size: 1.2rem;
        z-index: 10;
        right: 30px;
        bottom:10px;
    }
}

#footer_sub {
    .footer {
        background-color:#909090;
        padding:50px 0;
        .footer_inner {
            max-width:1100px;
            width:calc(100% - 60px);
            margin:0 auto;
            display:grid;
            grid-template-columns:80px 1fr;
            align-items:center;
            .menu-fmenu-container,.menu-fmenu-en-container {
                .menu {
                    display:flex;
                    flex-wrap:wrap;
                    font-size:1.5rem;
                    align-items:center;
                    column-gap:2em;
                    row-gap:.5em;
                    justify-content:flex-end;
                    li {
                        a {
                            color:#FFFFFF;
                        }
                    }
                }
            }
            &.footer_inner2 {
                grid-template-columns:repeat(2,auto);
                justify-content:space-between;
                font-size:1.2rem;
                margin-top:50px;
                .menu-fmenu2-container,.menu-fmenu2-en-container {
                    .menu {
                        display:flex;
                        align-items:center;
                        li {
                            position:relative;
                            a {
                                color:#FFFFFF;
                            }
                            &:first-child {
                                &::after {
                                    content:'|';
                                    color:#FFFFFF;
                                    margin:0 1em;
                                }
                            }
                        }
                    }
                }
                .copyright {
                    line-height:1;
                    color:#FFFFFF;
                }
            }
        }
    }
}

@media (hover:hover) {
}

@media screen and (max-width:1200px) {

}

@media screen and (max-width:1024px) {

    #footer_sub {
        .footer {
            .footer_inner {
                width:calc(100% - 50px);
                .menu-fmenu-container {
                    .menu {
                        font-size:1.4rem;
                        column-gap:min(2.5vw,2em);
                    }
                }
            }
        }
    }
    
}

@media screen and (max-width:768px) {

    #footer_sub {
        .footer {
            padding:30px 0;
            .footer_inner {
                width:calc(100% - 40px);
                grid-template-columns:1fr;
                justify-items:center;
                grid-row-gap:20px;
                .logo {
                    width:100%;
                    max-width:80px;
                }
                .menu-fmenu-container,.menu-fmenu-en-container {
                    .menu {
                        font-size:1.3rem;
                        column-gap:1.5em;
                        row-gap:1em;
                        justify-content:center;
                    }
                }
                &.footer_inner2 {
                    grid-template-columns:1fr;
                    justify-items:center;
                    margin-top:30px;
                }
            }
        }
    }

}