.footer {
    padding: 0;
}

.footer--top {
    background-color: var(--black);
    padding: 32px;
    text-align: center;
}

.footer--title {
    font-size: 4rem;
}

.footer--bottom {
    display: grid;
    place-items: center;
    padding: 32px;
}

.footer--bottom .media {
    column-gap: 40px;
    align-items: center;
}

.footer--bottom .media--imgBox {
    width: 300px;
}

.footer--bottom .media--img {
    width: 100%;
}

.footer--bottom .media--title {
    font-size: 2.4rem;
    line-height: 1.5;
}

.footer--bottom .media--text {
    font-size: 2.4rem;
    line-height: 1.5;
}

.footer--bottom .media--tel {
    font-size: 3.2rem;
    line-height: 1.5;
    position: relative;
    padding-left: 28px;
}

.footer--bottom .media--tel::before {
    position: absolute;
    content: "";
    left: 4px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 2.8rem;
    background-image: url(/img/icon_phone_black.png);
    background-size: contain;
    background-repeat: no-repeat;
}

.footer--copyright {
    text-align: center;
    background-color: var(--bg-color-lightgrey);
    padding: 16px;
}

@media screen and (max-width: 1024px) {
    /* 1024pxまでの幅の場合に適応される */
    .footer--bottom .media {
        column-gap: 24px;
    }

    .footer--bottom .media--text {
        font-size: 2rem;
        line-height: 1.5;
    }

    .footer--bottom .media--tel {
        font-size: 3.2rem;
        line-height: 1.5;
        position: relative;
        padding-left: 28px;
    }
}

@media screen and (max-width: 599px) {
    /* 599pxまでの幅の場合に適応される */

    .footer--title {
        font-size: 2.8rem;
    }
    .footer--bottom .media {
        flex-direction: column;
    }

    .footer--bottom .media--imgBox {
        width: 100%;
    }

    .footer--bottom .media--body {
        margin-top: 16px;
    }

    .footer--bottom .media--text {
        font-size: 1.6rem;
        line-height: 1.5;
    }

    .footer--bottom .media--tel {
        font-size: 2.8rem;
    }
}