@charset "utf-8";

#footer {
    width: 100%;
    padding: 70px 0 0 0;
    text-align: center;
    background: #000000;
}

#footer h2 {
    width: 810px;
    margin: 0 auto;
    font-family: "Roboto", sans-serif;
    font-size: 2.42em;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
    font-variation-settings: "wdth" 100;
    letter-spacing: 0.02em;
    line-height: 130%;
    text-align: left;
    color: #FFFFFF;
    border-bottom: 1px solid #FFFFFF;
}

#footer h2 span {
    margin: 0 0 0 37px;
    display: inline-block;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 0.47em;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
}

#footer ul {
    width: 810px;
    margin: 36px auto 85px auto;
    /**padding: 0 0 50px 0;**/
    display: flex;
    justify-content: space-between;
}

#footer > ul > li:nth-child(1) {
    width: 205px;
}

#footer > ul > li:nth-child(2) {
    width: 460px;
}

#footer ul li ul {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 100%;
    margin: 0;
    padding: 0;
}

#footer ul li ul li {
    text-align: left;
    color: #FFFFFF;
}

#footer > ul > li > ul > li:nth-child(odd) {
    width: 75px;
    text-align-last: justify;
}

#footer > ul > li > ul > li:nth-child(even) {
    width: 115px;
}

#footer > ul > li:nth-child(2) > ul > li:nth-child(even) {
    width: 370px;
}

#footer div {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75em;
    letter-spacing: 0.1em;
    line-height: 100%;
    height: 40px;
    background: #00285B;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 0.85em;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
}




@media (max-width: 750px) {
    #footer {
        /**width: 100%;
        padding: 50px 0 0 0;
        text-align: center;
        background: #231815;**/
        margin-bottom: 45px;
    }

    #footer h2 {
        width: 90%;
        /**margin: 0 auto;
        font-family: "Roboto", sans-serif;
        font-size: 2.12em;
        font-optical-sizing: auto;
        font-weight: 700;
        font-style: normal;
        font-variation-settings: "wdth" 100;
        letter-spacing: 0.02em;
        line-height: 130%;
        text-align: left;
        color: #FFFFFF;
        border-bottom: 1px solid #FFFFFF;**/
    }

    /**#footer h2 span {
        margin: 0 0 0 37px;
        display: inline-block;
        font-family: "Noto Sans JP", sans-serif;
        font-size: 0.47em;
        font-optical-sizing: auto;
        font-weight: 500;
        font-style: normal;
    }**/

    #footer ul {
        width: 90%;
        flex-direction: column;
        /**margin: 30px auto 0 auto;
        padding: 0 0 50px 0;
        display: flex;
        justify-content: space-between;**/
    }

    #footer ul li:nth-child(1) {
        width: 100%;
    }

    #footer ul li:nth-child(2) {
        width: 100%;
    }

    #footer ul li ul {
        /**display: flex;
        align-items: flex-start;
        justify-content: space-between;
        flex-wrap: wrap;
        width: 100%;
        margin: 0;
        padding: 0;**/
        flex-direction: row;
    }

    /**#footer ul li ul li {
        letter-spacing: 0.1em;
        text-align: left;
        color: #FFFFFF;
    }**/

    #footer ul li ul li:nth-child(odd) {
        width: 19%;
        /**text-align-last: justify;**/
    }

    #footer ul li ul li:nth-child(even) {
        width: 78%;
    }

    #footer > ul > li:nth-child(2) > ul > li:nth-child(even) {
        width: 78%;
    }

    /**#footer div {
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0.75em;
        letter-spacing: 0.1em;
        line-height: 100%;
        height: 40px;
        background: #FFF000;
    }**/
}