/* =========================================================
   Footer Styles (footer.css)
========================================================= */
.g-footer {
    background-color: #f5f5f5;
    color: #222;
    width: 100%;
    box-sizing: border-box;
    padding: 6em 4vw 4em;
    overflow: hidden;
    position: relative;
    z-index: 10;
}

.g-footer__inner {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.g-footer__main {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4em;
    margin-bottom: 8em;
}

.g-footer__nav {
    width: 100%;
}

.g-footer__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.8em;
    /* メニューの間隔を広く持たせエレガントに */
}

.g-footer__list li a {
    color: #222;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 300;
    letter-spacing: 0.15em;
    transition: opacity 0.4s ease;
    text-transform: uppercase;
}

.g-footer__list li a:hover {
    opacity: 0.4;
}

/* サブメニュー（階層）のインデント調整 */
.g-footer__list .sub-menu {
    list-style: none;
    padding: 0.5em 0 0 0.5em;
    /* 1.5em = 凡そ1文字強のインデント */
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5em;

    a {
        font-size: 0.7em;
    }
}


.g-footer__bottom {
    text-align: center;
    /* コピーライトのみ中央 */
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: 4em;
}

.g-footer__copyright {
    margin: 0;
    font-size: 0.75rem;
    color: #888;
    letter-spacing: 0.25em;
    font-weight: 300;
}

@media screen and (max-width: 690px) {
    .g-footer {
        padding: 6em 6vw 4em;
    }

    .g-footer__list {
        gap: 1.5em;
    }

    .g-footer__main {
        gap: 3em;
        margin-bottom: 6em;
    }
}