.footer {
    background-color: #F6AD3C;
}

.footer__inner {
    display: flex;
    padding: 6rem 10rem 12.2rem;
    justify-content: space-between;
    width: 100%;
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 4.1rem;
}

.footer__logo span {
    color: #000000;
    font-size: 1.5rem;
    font-weight: 500;
    font-family: "Noto Sans JP", sans-serif;
    line-height: calc(21 / 15);
}

.footer__logo p {
    color: #000000;
    font-size: 3.5rem;
    font-weight: 500;
    font-family: "Noto Sans JP", sans-serif;
    line-height: calc(51 / 35);
}

.footer__tel {
    display: flex;
    align-items: baseline;
    margin-bottom: 0.6rem;
    gap: 0.5rem;
}

.footer__tel span {
    color: #000000;
    font-size: 1.5rem;
    font-weight: 500;
    font-family: "Noto Sans JP", sans-serif;
    line-height: calc(21 / 15);
}

.footer__tel p {
    color: #000000;
    font-size: 3rem;
    font-weight: 700;
    font-family: "Noto Sans JP", sans-serif;
    line-height: calc(44 / 30);
}

.footer__time {
    color: #000000;
    font-size: 1.5rem;
    font-weight: 400;
    font-family: "Noto Sans JP", sans-serif;
    line-height: calc(21 / 15);
    margin-bottom: 2.1rem;
}

.footer__address {
    color: #000000;
    font-size: 1.5rem;
    font-weight: 400;
    font-family: "Noto Sans JP", sans-serif;
    line-height: calc(21 / 15);
}

.footer__nav {
    margin-top: 9.2rem;
}



.footer__nav ul {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    height: 13.5rem;
    row-gap: 2.8rem;
    column-gap: 12.9rem;
}

.footer__nav li {
    color: #000000;
    font-size: 1.8rem;
    font-weight: 400;
    font-family: "Noto Sans JP", sans-serif;
    line-height: calc(26 / 18);
    position: relative;
}

.footer__nav li:nth-child(1)::before {
    content: "";
    width: 1.8rem;
    height: 1.8rem;
    border-radius: 50%;
    background-color: #E53F30;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: -2rem;
}

.footer__nav li:nth-child(2)::before {
    content: "";
    width: 1.8rem;
    height: 1.8rem;
    border-radius: 50%;
    background-color: #FF7600;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: -2rem;
}

.footer__nav li:nth-child(3)::before {
    content: "";
    width: 1.8rem;
    height: 1.8rem;
    border-radius: 50%;
    background-color: #4D5E9C;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: -2rem;
}

.footer__nav li:nth-child(4)::before {
    content: "";
    width: 1.8rem;
    height: 1.8rem;
    border-radius: 50%;
    background-color: #DE6F80;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: -2rem;
}

.footer__nav li:nth-child(5)::before {
    content: "";
    width: 1.8rem;
    height: 1.8rem;
    border-radius: 50%;
    background-color: #84BC59;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: -2rem;
}

.footer__nav li:nth-child(6)::before {
    content: "";
    width: 1.8rem;
    height: 1.8rem;
    border-radius: 50%;
    background-color: #2381B6;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: -2rem;
}

.footer__nav li:nth-child(7)::before {
    content: "";
    width: 1.8rem;
    height: 1.8rem;
    border-radius: 50%;
    background-color: #4C2E30;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: -2rem;
}

.footer__nav li::after {
    content: "";
    display: block;
    width: 1.3rem;
    height: 1.3rem;
    background-image: url("../img/footer/footer_img_pic1.svg");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: -1.6rem;
}

@media screen and (max-width:699.98px) {
    .footer__inner {
        padding: 2rem 2rem 5rem;
        flex-direction: column;
        justify-content: normal;
        gap: 5.2rem;
    }

    .footer__logo {
        gap: 0.6rem;
        margin-bottom: 3.3rem;
    }

    .footer__logo span {
        font-size: 1.3rem;
        line-height: calc(19 / 13);
    }

    .footer__logo p {
        font-size: 2.8rem;
        line-height: calc(40 / 28);
    }

    .footer__tel span {
        font-size: 1.3rem;
        line-height: calc(19 / 13);
    }

    .footer__tel p {
        font-size: 2.5rem;
        line-height: calc(36 / 25);
    }

    .footer__nav {
        margin-top: 0rem;
    }

    .footer__nav ul {
        flex-direction: row;
        height: auto;
        width: 33.5rem;
        row-gap: 1.7rem;
        column-gap: 4.7rem;
        margin-left: 2rem;
    }

    .footer__nav li {
        font-size: 1.6rem;
        line-height: calc(24 / 16);
        position: relative;
        width: 8rem;
    }

    .footer__nav li:nth-child(6),
    .footer__nav li:nth-child(7) {
        width: 10rem;
    }

    .footer__nav li:nth-child(7) {
        margin-left: -2rem;
    }
}