footer {
    padding: 100px 0;
    background-color: #E8373D;
}

#footer-container {
    display: flex;
    flex-direction: column;
    row-gap: 100px;
}

/* ---------- 査定の流れ ---------- */

.flow-wrapper {
    display: flex;
    flex-direction: column;
    row-gap: 80px;
}

.flow-wrapper .heading3,
.flow-wrapper .heading3 span {
    color: #fff;
}

/* ---------- /査定の流れ ---------- */

/* ---------- お問い合わせ ---------- */
#footer-container .contact-wrapper {
    display: flex;
    flex-direction: column;
    row-gap: 80px;
    padding: 50px;
    background-color: #fff;
}

#footer-container .contact-wrapper .contact-list {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    row-gap: 50px;
    font-weight: 700;
}

#footer-container .contact-wrapper .contact-list li a {
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: 20px;
    position: relative;
    transition: transform 0.3s ease-in-out;
}

#footer-container .contact-wrapper .contact-list li a:hover {
    transform: scale(1.1);
}

#footer-container .contact-wrapper .contact-list li a .img-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: 10px;
}

#footer-container .contact-wrapper .contact-list li a .img-area img {
    width: 30px;
    height: 30px;
}

#footer-container .contact-wrapper .contact-list li a .img-area .ttl {
    font-size: clamp(1rem, 0.943rem + 0.29vw, 1.4rem);
    font-weight: bold;
    color: #E8373D;
}

#footer-container .contact-wrapper .contact-list li a .text span {
    display: block;
    text-align: center;
}

#footer-container .contact-wrapper .contact-list li a .text .tel {
    font-size: 22px;
}

@media screen and (min-width: 1024px) {
    #footer-container .contact-wrapper .contact-list {
        flex-direction: row;
    }

    #footer-container .contact-wrapper .contact-list li {
        flex: 0 1 calc(25% - 30px);
    }

    #footer-container .contact-wrapper .contact-list li a .img-area img {
        width: 50px;
        height: 50px;
    }
}

@media screen and (max-width: 1023px) {
    #footer-container .contact-wrapper .contact-list li {
        flex: 0 1 calc(50% - 20px);
    }
}

@media screen and (max-width: 767px) {
    #footer-container .contact-wrapper .contact-list li {
        flex: 0 1 100%;
    }
}

/* ---------- /お問い合わせ ---------- */

/* ---------- フッター下 ---------- */
#footer-container .bottom-wrapper {
    display: flex;
    flex-direction: column;
    row-gap: 50px;
    color: #fff;
}

#footer-container .bottom-wrapper .nav-area .nav {
    display: flex;
    flex-direction: column;
    row-gap: 20px;
    font-size: clamp(0.9rem, 0.857rem + 0.21vw, 1.2rem);
    font-weight: bold;
}

#footer-container .bottom-wrapper .logo-area {
    width: clamp(9.375rem, 7.138rem + 11.19vw, 12.5rem);
}


@media screen and (min-width: 768px) {
    #footer-container .bottom-wrapper {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    #footer-container .bottom-wrapper .nav-area {
        width: 70%;
    }

    #footer-container .bottom-wrapper .nav-area .nav {
        flex-direction: row;
        gap: 30px;
        flex-wrap: wrap;
    }

    #footer-container .bottom-wrapper .nav-area .nav li a {
        position: relative;
        display: inline-block;
        transition: 0.3s ease-in-out;
    }

    #footer-container .bottom-wrapper .nav-area .nav li a::after {
        content: '';
        position: absolute;
        left: 0;
        bottom: -5px;
        width: 0;
        height: 2px;
        background-color: #fff;
        transition: width 0.3s ease-in-out;
    }

    #footer-container .bottom-wrapper .nav-area .nav li a:hover::after {
        width: 100%;
    }

    #footer-container .bottom-wrapper .logo-area {
        width: 20%;
    }
}

/* ---------- /フッター下 ---------- */

/* ---------- コピーライト ---------- */

#footer-container #copyright {
    font-size: 0.875rem;
    color: #fff;
}

/* ---------- /コピーライト ---------- */