#footer {
    background: #20293a;
    z-index: 2;
}
#footer .inner {
    padding: 10rem 0 5rem 0;
    position: relative;
    display: flex;
    flex-direction: column;
}
#footer .inner > div:first-child {
    display: flex;
    font-size: 1.4rem;
    color: #fff;
}
#footer .inner > div:first-child .wrapper {
    display: flex;
    flex-direction: column;
}
#footer .inner > div:first-child .wrapper ~ .wrapper {
    margin-left: 10rem;
    border-left: solid 1px #2a415a;
    padding-left: 2.4rem;
}
#footer .inner > div:first-child .wrapper em {
    font-family: "Poppins";
    font-weight: 700;
    font-size: 1.6rem;
    margin-bottom: 2.4rem;
}
#footer .inner > div:first-child .wrapper strong {
    font-size: 2.8rem;
    margin-bottom: 2rem;
}
#footer .inner > div:first-child .wrapper p {
    font-size: 1.5rem;
    line-height: 1.5;
    letter-spacing: -0.03em;
}
#footer .inner > div:first-child .wrapper dl {
    display: flex;
    flex-direction: column;
}
#footer .inner > div:first-child .wrapper dt {
    font-weight: 700;
    color: #90a5b9;
    letter-spacing: -0.03em;
    margin-bottom: 0.5rem;
}
#footer .inner > div:first-child .wrapper dt ~ dt {
    margin-top: 1.5rem;
}
#footer .inner > div:first-child .wrapper dd {
    margin-top: 0.3rem;
    padding-left: 2rem;
    background: url("/images/_layouts/footer/ic_mail.svg") left no-repeat;
}
#footer .inner > div:first-child .wrapper dd:nth-child(3n+2) {
    font-weight: 700;
    background-image: url("/images/_layouts/footer/ic_tel.svg");
}
#footer .inner > div:first-child .wrapper a {
    align-self: flex-start;
    padding-right: 1.6rem;
    background: url("/images/_layouts/footer/ic_link.svg") right center no-repeat;
}
#footer .inner > div:first-child .wrapper a ~ a {
    margin-top: 1.8rem;
}
#footer .inner > div:nth-child(2) {
    margin-top: 8rem;
    border-top: solid 1px #2a415a;
    padding-top: 4.5rem;
    display: grid;
    grid-template-areas: "info mark" "copyright mark";
}
#footer .inner > div:nth-child(2) #corp {
    grid-area: info;
    font-weight: 500;
    font-size: 1.2rem;
    color: #737c8e;
    letter-spacing: -0.02em;
    line-height: 1.6;
}
#footer .inner > div:nth-child(2) #corp div, #footer .inner > div:nth-child(2) #corp dl, #footer .inner > div:nth-child(2) #corp dt, #footer .inner > div:nth-child(2) #corp dd, #footer .inner > div:nth-child(2) #corp address {
    display: inline;
}
#footer .inner > div:nth-child(2) #corp dd {
    margin-left: 2px;
}
#footer .inner > div:nth-child(2) #corp dd:not(.address > :last-child)::after, #footer .inner > div:nth-child(2) #corp > div > b::after {
    content: "";
    margin-right: 5px;
}
#footer .inner > div:nth-child(2) #corp .mail {
    letter-spacing: normal;
}
#footer .inner > div:nth-child(2) #corp .address dt {
    color: #96a1b5;
}
#footer .inner > div:nth-child(2) #copyright {
    grid-area: copyright;
    margin-top: 2rem;
    font-family: "NotoSansKR";
    font-weight: 500;
    font-size: 1.2rem;
    color: #737c8e;
}
#footer .inner > div:nth-child(2) #mark {
    margin-left: auto;
    grid-area: mark;
    display: flex;
    gap: 1.8rem;
}
#footer .inner .buttons {
    position: absolute;
    top: 10rem;
    right: 0;
    display: flex;
    align-self: flex-start;
    align-items: flex-start;
    gap: 1rem;
}
#footer .inner .buttons > a {
    margin-top: 0.5rem;
    padding: 0.6rem 1.5rem;
    height: 3rem;
    border-radius: 1.5rem;
    font-weight: 500;
    font-size: 1.4rem;
    letter-spacing: -0.03em;
    color: #fff;
    background: #243853;
}
#footer .inner .buttons > a.blog {
    display: block;
    width: 3rem;
    height: 3rem;
    background: url("/images/_layouts/footer/ic_blog.svg") no-repeat;
    font-size: 0;
}
#footer .inner .buttons #family-site {
    margin-left: 1.4rem;
    display: flex;
    flex-direction: column;
    width: 19rem;
    border: solid 1px #3f5876;
    cursor: pointer;
    border-collapse: collapse;
    position: relative;
}
#footer .inner .buttons #family-site span {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex: 0 0 3.8rem;
    padding: 0 2rem;
    font-family: "Poppins";
    font-size: 1.4rem;
    color: #fff;
    border-bottom: solid 1px transparent;
}
#footer .inner .buttons #family-site.UP span {
    order: 2;
    border-top: solid 1px transparent;
    border-bottom: 0;
}
#footer .inner .buttons #family-site span::after {
    content: "";
    display: block;
    width: 1.2rem;
    height: 0.8rem;
    background: url("/images/_layouts/footer/ic_arrow-down.svg") no-repeat;
    transition: transform 0.2s;
}
#footer .inner .buttons #family-site .link-wrap {
    display: grid;
    grid-template-rows: 0fr;
    transition: all 0.2s;
    position: absolute;
    width: calc(100% + 2px);
    border: solid 1px #3f5876;
    border-top: 0;
    left: -1px;
    top: 3.8rem;
    bottom: auto;
    z-index: 2;
}
#footer .inner .buttons #family-site.UP .link-wrap {
    order: 1;
    bottom: 3.8rem;
    top: auto;
    border-top: solid 1px #3f5876;
    border-bottom: 0;
}
#footer .inner .buttons #family-site ul {
    width: 100%;
    overflow: hidden;
    background: #20293a;
}
#footer .inner .buttons #family-site li {
    width: 100%;
    padding: 0 2rem;
    margin-top: 1rem;
}
#footer .inner .buttons #family-site li:last-child {
    margin-bottom: 1rem;
}
#footer .inner .buttons #family-site a {
    display: block;
    font-size: 1.4rem;
    color: #90a5b9;
}
#footer .inner .buttons #family-site a:hover {
    color: #fff;
}
#footer .inner .buttons #family-site.active .link-wrap {
    grid-template-rows: 1fr;
}
#footer .inner .buttons #family-site.active span {
    border-bottom-color: #3f5876;
}
#footer .inner .buttons #family-site.active span::after {
    transform: scaleY(-1);
}
#footer .inner .buttons #family-site.active.UP span {
    border-top-color: #3f5876;
}
#footer .inner .buttons #family-site.active.UP span::after {
    transform: scaleY(1);
}

@media (max-width: 1140px) {
    #footer .desktop-br {
        display: none;
    }
    #footer .inner {
        padding: 4rem 0 5rem;
    }
    #footer .inner > div:first-child {
        display: grid;
        grid-template-columns: 0.9fr 1.1fr;
    }
    #footer .inner > div:first-child .wrapper em {
        font-size: 1.4rem;
        margin-bottom: 1.5rem;
    }
    #footer .inner > div:first-child .wrapper strong {
        font-size: 3rem;
        margin-bottom: 1rem;
    }
    #footer .inner > div:first-child .wrapper ~ .wrapper {
        margin-left: 0;
    }
    #footer .inner > div:first-child .wrapper dl {
        display: grid;
        grid-template-rows: repeat(3, auto);
        -moz-column-gap: 0.5rem;
        column-gap: 0.5rem;
        grid-auto-flow: column;
    }
    #footer .inner > div:first-child .wrapper dt ~ dt {
        margin-top: 0;
    }
    #footer .inner > div:first-child .wrapper dd {
        background: none;
        padding-left: 0;
        margin-top: 0.6rem;
    }
    #footer .inner > div:first-child .wrapper dd:nth-child(3n+1), #footer .inner > div:first-child .wrapper dd:nth-child(3n+2) {
        background-image: unset;
    }
    #footer .inner > div:first-child .wrapper:last-child {
        grid-column: 1/3;
        border-left: 0;
        padding-left: 0;
        margin-top: 4rem;
        border-top: solid 1px #2a415a;
        padding-top: 2rem;
        flex-direction: row;
        gap: 2.5rem;
    }
    #footer .inner > div:first-child .wrapper:last-child em {
        display: none;
    }
    #footer .inner > div:first-child .wrapper:last-child a {
        color: #737c8e;
        padding-right: 0;
        background: none;
    }
    #footer .inner > div:first-child .wrapper:last-child a ~ a {
        margin-top: 0;
    }
    #footer .inner > div:nth-child(2) {
        margin-top: 2rem;
        border-top: 0;
        padding-top: 0;
        grid-template-areas: "info" "copyright" "mark";
    }
    #footer .inner > div:nth-child(2) #corp > div:last-child {
        flex-direction: column;
        align-items: flex-start;
    }
    #footer .inner > div:nth-child(2) #copyright {
        margin-top: 3rem;
    }
    #footer .inner > div:nth-child(2) #mark {
        margin-left: 0;
        margin-top: 5rem;
    }
    #footer .inner .buttons {
        top: auto;
        bottom: 6rem;
        align-items: flex-end;
    }
    #footer .inner .buttons > a {
        margin-top: 0;
        margin-bottom: 0.5rem;
    }
    #footer .inner .buttons > a.remote {
        display: none;
    }
}
@media (max-width: 690px) {
    #footer .laptop-br {
        display: none;
    }
    #footer .inner > div:first-child {
        font-size: 1.3rem;
        color: #a0a8b7;
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    #footer .inner > div:first-child .wrapper strong {
        font-weight: 400;
        font-size: 1.3rem;
        margin-bottom: 0.5rem;
    }
    #footer .inner > div:first-child .wrapper p {
        font-size: 1.3rem;
    }
    #footer .inner > div:first-child .wrapper dd:nth-child(3n+2) {
        font-weight: 400;
    }
    #footer .inner > div:first-child .wrapper ~ .wrapper {
        border-left: 0;
        padding-left: 0;
    }
    #footer .inner > div:first-child .wrapper:last-child {
        grid-column: 1/2;
        margin-top: 0;
        gap: 1rem;
        flex-wrap: wrap;
    }
    #footer .inner > div:nth-child(2) {
        margin-top: 3rem;
    }
    #footer .inner > div:nth-child(2) #corp .nowrap {
        white-space: nowrap;
    }
    #footer .inner > div:nth-child(2) #mark {
        margin-top: 3rem;
    }
    #footer .inner .buttons {
        width: 100%;
        margin-top: 3rem;
        position: static;
    }
    #footer .inner .buttons > a.blog {
        display: none;
    }
    #footer .inner .buttons #family-site {
        margin-left: 0;
        width: auto;
        flex-grow: 1;
    }
    #footer .inner .buttons #family-site a {
        font-size: 1.3rem;
    }
}