footer {
    width: 100%;
    background-color: #293359;
}
.footer-wrap {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 43px 0px 32px;
}
.footer-upper {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}
.footer-map {
    width: 270px;
    height: 166px;
}
.footer-map > img {
    width: 100%;
    height: auto;
}
.footer-text {
    display: flex;
    flex-direction: column;
}
.footer-text > p {
    font-weight: 700;
    font-size: 24px;
    line-height: 31px;
    letter-spacing: -0.012em;
    color: #FFFFFF;
    margin-bottom: 23px;
}
.footer-text > a {
    font-weight: 700;
    font-size: 18px;
    line-height: 31px;
    letter-spacing: -0.012em;
    color: #FFFFFF;
}
.footer-text > a:last-of-type {
       font-weight: 600; 
}
.footer-middle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px 0px;
    border-bottom: 1px solid #A4A4C7;
    border-top: 1px solid #A4A4C7;
    margin-top: 36px;
}
.footer-middle > a {
    font-weight: 600;
    font-size: 18px;
    line-height: 25px;
    color: #FFFFFF;
}
.footer-middle > a:not(:last-of-type) {
    margin-right: 51px;
}
.footer-media {
    width: 100%;
    display: flex;
    align-items: center;
    margin-top: 40px;
    justify-content: center;
}
.footer-media > a {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #3939DC;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    transition: all 400ms ease;
}
.footer-media > a:hover {
    background-color: #5353e0;
}
.footer-media > a:active {
    background-color: #25259e;
}
.footer-media > a:not(:last-of-type) {
    margin-right: 24px;
}
.footer-media > a > img {
    width: auto;
    height: auto;
}

@media screen and (max-width: 550px) {
    .footer-upper {
        display: flex;
        flex-direction: column;
    }
    .footer-middle > a:not(:last-of-type) {
        margin-right: 30px;
    }
}