@import './common.css';

/*----footer----*/
footer {
    padding-top: 48px;
    padding-bottom: 100px;

    background-color: var(--main);
}

footer.js-hovered {
    background-color: var(--textBlack);
    /* フッターのホバー時の背景色 */
}

footer .container {
    padding-right: 128px;
    padding-left: 128px;
}

.cb_footer_underInner {
    display: flex;
    justify-content: space-between;

    margin-top: 22px;
}

.cb_footer_txtWrapper {
    align-items: center;
}

.cb_footer_txtWrapper p:not(.cb_footer_cap) {
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 2.4rem;

    letter-spacing: .02em;
}

.cb_footer_cap {
    font-size: 1.2rem;
    font-weight: 500;
    line-height: 2.4rem;

    margin-top: 8px;

    white-space: nowrap;
    letter-spacing: .02em;
}

.cb_footer_txtWrapper {
    display: flex;
}

.cb_footer_txtWrapper img {
    margin-right: 20px;
}

.cb_footer_address {
    margin-right: 24px;
}

.js_imgWrapper img {
    transition: fill 0.3s ease;
    /* SVGの色変更をスムーズに */
}

@media screen and (max-width: 1138px) {
    footer .pc_only {
        display: none;
    }

    footer .sp_only {
        display: block;
    }
}

@media screen and (max-width: 768px) {
    footer {
        padding-top: 22px;
        padding-bottom: 78px;
    }

    footer .container {
        margin-right: 0;
        margin-left: 0;
    }

    .cb_footer_underInner {
        align-items: center;
        flex-direction: column;

        margin-top: 8px;

        gap: 8px;
    }

    .cb_footer_txtWrapper {
        flex-direction: column;
    }

    .cb_footer_txtWrapper img {
        width: 76px;
        margin-right: 0;
    }
}