#section5 {
    width: 100%;
    height: auto !important;
    padding: 45px 0;
    background-color: #111;
}

#section5 .center {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.f1 {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
}

.f_logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.f1 ul {
    display: flex;
    margin-top: 40px;
}

.f1 ul li {
    font-size: 14px;
    color: #fff;
    font-family: 'Pretendard-Light', sans-serif;
    cursor: pointer;
    margin-right: 40px;
}

.f1 ul li:last-child {
    margin-right: 0;
}

.f1 address {
    font-size: 15px;
    color: #aaa;
    line-height: 25px;
    font-style: normal;
    font-family: 'Pretendard-ExtraLight', sans-serif;
    margin-top: 30px;
}

.f1 address span {
    margin: 0 7px;
}

.copyright {
    font-size: 14px;
    color: #aaa;
    font-family: 'Pretendard-Light', sans-serif;
}

.popup {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    display: none;
}

.popbox {
    width: 800px;
    background-color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 30px;
    box-sizing: border-box;
}

.popbox > p {
    text-align: center;
    font-size: 20px;
    color: #111;
    font-family: 'Pretendard-Bold', sans-serif;
}

.pop_inner {
    width: 100%;
    margin-top: 30px;
    max-height: 50vh;
    overflow: auto;
    padding: 15px;
    box-sizing: border-box;
    font-size: 14px;
    font-family: 'Pretendard-Light', sans-serif;
    color: #111;
    line-height: 20px;
    white-space: pre-line;
    background-color: #ddd;
}

.popbox > i {
    font-size: 24px;
    color: #111;
    position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;
}




































/* mobile */
@media screen and (max-width: 767px) {

    #section5 {
        padding: 30px 0;
    }

    #section5 .center {
        display: block;
    }

    .f_logo {
        width: 100%;
    }

    .f_logo img {
        width: 80px;
    }

    .f1 ul {
        width: 100%;
        justify-content: center;
        margin-top: 30px;
    }

    .f1 ul li {
        font-size: 10px;
        cursor: inherit;
        margin-right: 20px;
    }

    .f1 address {
        width: 100%;
        font-size: 12px;
        line-height: 20px;
        margin-top: 20px;
        text-align: center;
        word-break: keep-all;
    }

    .f1 address span {
        font-size: 0;
        display: block;
        line-height: 0;
    }

    .copyright {
        font-size: 10px;
        margin-top: 20px;
        text-align: center;
    }

    .popbox {
        width: 85%;
        padding: 20px 15px;
    }

    .popbox > p {
        font-size: 16px;
    }

    .pop_inner {
        margin-top: 20px;
        max-height: 40vh;
        padding: 10px;
        font-size: 12px;
        line-height: 18px;
    }

    .popbox > i {
        font-size: 20px;
        top: 10px;
        right: 10px;
        cursor: inherit;
    }

}








































/* tablet */
@media screen and (min-width: 768px) and (max-width: 1024px) {

    #section5 {
        padding: 30px 0;
    }

    #section5 .center {
        display: block;
    }

    .f_logo {
        width: 100%;
    }

    .f_logo img {
        width: 80px;
    }

    .f1 ul {
        width: 100%;
        justify-content: center;
        margin-top: 30px;
    }

    .f1 ul li {
        font-size: 10px;
        cursor: inherit;
        margin-right: 20px;
    }

    .f1 address {
        width: 100%;
        font-size: 12px;
        line-height: 20px;
        margin-top: 20px;
        text-align: center;
        word-break: keep-all;
    }

    .f1 address span {
        font-size: 0;
        display: block;
        line-height: 0;
    }

    .copyright {
        font-size: 10px;
        margin-top: 20px;
        text-align: center;
    }

    .popbox {
        width: 60%;
        padding: 20px 15px;
    }

    .popbox > p {
        font-size: 16px;
    }

    .pop_inner {
        margin-top: 20px;
        max-height: 20vh;
        padding: 10px;
        font-size: 12px;
        line-height: 18px;
    }

    .popbox > i {
        font-size: 20px;
        top: 10px;
        right: 10px;
        cursor: inherit;
    }

}
