@charset "utf-8";

/* =========================================================
   Footer
========================================================= */
#footer {
	margin-top:50px;
}

.site-footer {
    position:relative;
    background:#2f2e2a;
    color:#aaa79f;
}

.site-footer-inner {
    width:calc(100% - 80px);
    max-width:1440px;
    margin:0 auto;
}


/* =========================================================
   Footer Top
========================================================= */

.site-footer-top {
    min-height:86px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:30px;
    border-bottom:1px solid rgba(255,255,255,.1);
}


/* 정책 메뉴 */
.footer-policy {
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:0;
}

.footer-policy a {
    position:relative;
    padding:0 18px;
    color:#c7c4bc;
    font-size:16px;
    line-height:1.5;
    font-weight:500;
    text-decoration:none;
    transition:color .2s ease;
}

.footer-policy a:first-child {
    padding-left:0;
}

.footer-policy a:not(:last-child):after {
    position:absolute;
    top:50%;
    right:0;
    width:1px;
    height:12px;
    background:rgba(255,255,255,.16);
    content:"";
    transform:translateY(-50%);
}

.footer-policy a:hover,
.footer-policy a:focus {
    color:#fff;
}

.footer-policy a.privacy {
    color:#d6c28d;
    font-weight:700;
}


/* 기관명 */
.footer-name {
    flex:0 0 auto;
    color:#d8d5cd;
    font-size:18px;
    line-height:1.5;
    font-weight:700;
    letter-spacing:-.035em;
    text-decoration:none;
}

.footer-name:hover,
.footer-name:focus {
    color:#fff;
}


/* =========================================================
   Footer Bottom
========================================================= */

.site-footer-bottom {
    position:relative;
    min-height:170px;
    padding:34px 0 42px;
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:50px;
    box-sizing:border-box;
}

.footer-info {
    min-width:0;
}


/* 주소 / 연락처 */
.footer-info address {
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:9px 24px;
    margin:0;
    font-style:normal;
}

.footer-info address span {
    display:inline-flex;
    align-items:center;
    gap:7px;
    color:#aaa79f;
    font-size:15px;
    line-height:1.6;
    white-space:nowrap;
}

.footer-info address svg {
    flex:0 0 auto;
    width:15px;
    height:15px;
    color:#b39f6c;
    stroke-width:1.8;
}

.footer-info address a {
    color:inherit;
    text-decoration:none;
}

.footer-info address a:hover,
.footer-info address a:focus {
    color:#fff;
}


/* Copyright */
.footer-copyright {
    margin:18px 0 0;
    color:#77756f;
    font-size:13px;
    line-height:1.6;
    letter-spacing:.01em;
}

.footer-copyright strong {
    color:#96938b;
    font-weight:600;
}


/* =========================================================
   TOP Button
========================================================= */

.footer-top-btn {
    flex:0 0 auto;
    width:62px;
    height:62px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:2px;
    border:1px solid rgba(255,255,255,.15);
    border-radius:50%;
    background:transparent;
    color:#c8c4ba;
    cursor:pointer;
    transition:
        border-color .2s ease,
        background .2s ease,
        color .2s ease,
        transform .2s ease;
}

.footer-top-btn svg {
    width:18px;
    height:18px;
    stroke-width:1.8;
}

.footer-top-btn span {
    font-size:10px;
    line-height:1;
    font-weight:700;
    letter-spacing:.08em;
}

.footer-top-btn:hover,
.footer-top-btn:focus {
    border-color:#b39f6c;
    background:#b39f6c;
    color:#fff;
    transform:translateY(-3px);
}


/* =========================================================
   Tablet
========================================================= */

@media (max-width:1024px) {

    .site-footer-inner {
        width:calc(100% - 48px);
    }

    .site-footer-top {
        min-height:auto;
        padding:25px 0;
        align-items:flex-start;
    }

    .site-footer-bottom {
        min-height:auto;
        padding:30px 0 36px;
    }

    .footer-info address {
        display:grid;
        gap:7px;
    }

}


/* =========================================================
   Mobile
========================================================= */

@media (max-width:700px) {

    .site-footer-inner {
        width:calc(100% - 36px);
    }

    .site-footer-top {
        padding:23px 0;
        display:block;
    }

    .footer-policy {
        gap:9px 0;
    }

    .footer-policy a {
        padding:0 11px;
        font-size:14px;
    }

    .footer-policy a:first-child {
        padding-left:0;
    }

    .footer-name {
        display:block;
        margin-top:23px;
        font-size:17px;
    }

    .site-footer-bottom {
        padding:27px 0 34px;
        display:block;
    }

    .footer-info address {
        display:block;
    }

    .footer-info address span {
        display:flex;
        margin-top:7px;
        font-size:14px;
        white-space:normal;
    }

    .footer-info address span:first-child {
        margin-top:0;
    }

    .footer-copyright {
        padding-right:65px;
        margin-top:20px;
        font-size:12px;
    }

    .footer-top-btn {
        position:absolute;
        right:0;
        bottom:32px;
        width:52px;
        height:52px;
    }

}

.footer-siteby {
    position:relative;
    margin-left:14px;
    padding-left:15px;
    color:#77756f;
    font-size:12px;
    font-weight:500;
    letter-spacing:.04em;
}

.footer-siteby:before {
    position:absolute;
    top:50%;
    left:0;
    width:1px;
    height:11px;
    background:rgba(255,255,255,.15);
    content:"";
    transform:translateY(-50%);
}

.footer-siteby a {
    margin-left:4px;
    color:#b39f6c;
    font-weight:700;
    text-decoration:none;
}

.footer-siteby a:hover,
.footer-siteby a:focus {
    color:#d9c89a;
}

@media (max-width:700px) {
    .footer-siteby {
        display:block;
        margin:7px 0 0;
        padding-left:0;
    }

    .footer-siteby:before {
        display:none;
    }
}