.footer {
    margin-top: 120px;
    width: 100%;
    bottom: 0;
    left: 0;
    background-color: #fff;
    border-top: 1px solid #a9a9a9;
    /* box-shadow: 0 16px 70px -8px rgba(0, 0, 0, 0.25); */
    /* border-radius: 20px 20px 0 0; */
    transition: background 0.3s linear;
}

.footer__container {
    max-width: 1400px;
    padding: 40px 40px 20px 40px;
    margin: auto;
}

.footer__content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.profile .logo__area {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.logo__name {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 2rem;
    color: #333333;
}

.desc__area {
    display: flex;
    align-items: center;
    max-width: 200px;
}

.desc__text {
    color: #828282;
    font-weight: 400;
    font-size: 16px;
    white-space: nowrap;
}

.social__media a {
    margin-left: 5px;
    opacity: 0.7;
    transition: 0.3s;
}

.social__media a:hover {
    opacity: 1;
}

.service__area {
    display: flex;
}

.service__header {
    margin-right: 40px;
}

li.service__name {
    color: #333333;
    font-weight: 700;
    font-size: 20px;
}

.service__header li a {
    color: #828282;
    font-weight: 300;
    font-size: 17px;
}

.service__header li a:hover {
    color: #333333;
}

.service__header li {
    margin-bottom: 15px;
    max-width: 350px;
    line-height: 25px;
}

hr {
    height: 1px;
    border: none;
    background-color: #a9a9a9;
    margin-bottom: 1rem;
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    gap: 20px;
}

.copy__right {
    color: #828282;
    display: flex;
    align-items: center;
}

.copy__right span,
.tou span {
    margin-left: 8px;
    font-weight: 400;
    letter-spacing: 0.135rem;
}

.tou span {
    color: #828282;
}

@media screen and (max-width: 1920px) {
    .footer__container {
        max-width: 1350px;
    }
}

@media screen and (max-width: 1440px) {
    .footer__container {
        max-width: 1240px;
    }
}

@media screen and (max-width: 1210px) {
    .footer__content {
        flex-wrap: wrap;
        justify-content: left;
    }

    .footer__container {
        max-width: 930px;
    }

    .profile {
        margin: 0 auto;
    }

    .service__area {
        flex-wrap: wrap;
        justify-content: left;
        margin: 0 auto;
    }

    .service__header {
        margin-left: 0;
        margin-right: 40px;
    }

    .desc__area {
        float: right;
    }

    .copy__right {
        margin-bottom: 10px;
    }

    .desc__text {
        margin-top: 10px;
        line-height: 0px;
    }

    .copy__right span,
    .tou span {
        margin-left: 0;
    }

    .social__media {
        margin-top: -4px;
    }

    .tou span {
        margin-top: 5px;
    }

    .footer__bottom {
        display: block;
    }
}

@media screen and (max-width: 980px) {
    .footer__container {
        max-width: 720px;
    }
}

@media screen and (max-width: 768px) {
    .footer__content {
        flex-wrap: wrap;
        justify-content: left;
    }

    .footer__container {
        max-width: 600px;
    }

    .service__area {
        flex-wrap: wrap;
        justify-content: left;
    }

    .desc__text {
        margin-top: 1rem;
        margin-bottom: 1rem;
    }

    .desc__area {
        float: none;
        margin-top: 1rem;
        margin-bottom: 1rem;
    }

    .copy__right {
        margin-bottom: 0px;
    }

    .footer__bottom {
        flex-wrap: wrap;
        justify-content: center;
    }
}


@media screen and (max-width: 640px) {
    .footer__container {
        max-width: 400px;
    }

    .footer__container {
        padding: 40px 10px 90px 10px;
    }

    .service__header {
        padding-left: 0;
    }

    .tou span {
        line-height: 24px;
    }

}

@media screen and (max-width: 510px) {
    .service__header {
        margin-bottom: 8px;
    }

    .copy__right {
        margin-bottom: 8px;
    }
}

@media screen and (max-width: 450px) {
    .footer{
     margin-top: 90px;
    }

    .footer__container {
        max-width: 350px;
    }

    .copy__right span,
    .tou span{
        font-size: 12px;
    }

    .desc__text {
        font-size: 14px;
    }

    .service__header li a{
        font-size: 16px;
    }

    .desc__text {
        margin-top: 0.8rem;
        margin-bottom: 0.8rem;
    }

    .desc__area {
        margin-top: 0.8rem;
        margin-bottom: 0.8rem;
    }

    .profile .logo__area svg {
        width: 221px;
    }
}

@media screen and (max-width: 375px) {
    .footer__container {
        max-width: 300px;
    }
    .copy__right span, 
    .tou span{
        line-height: 20px;
    }
}