#footer{
    width: 100%;
}

.agree_menu{
    width: 100%;
    padding: 10px 0;
    border-top: 1px solid #d2d2d2;
    border-bottom: 1px solid #d2d2d2;
}

.agree_menu ul{
    display: flex;
    align-items: center;
    justify-content: flex-end;
    color: #c3c3c3;
}

.agree_menu ul li{
    font-size: 18px;
    margin: 0 10px;
    color: #333;
    cursor: pointer;
}

.agree_menu ul li.bold{
    font-weight: bold;
}

.address{
    width: 100%;
    padding: 30px 0;
    display: flex;
    align-items: center;
}

.address address{
    font-size: 14px;
    color: #555;
    font-style: normal;
    line-height: 25px;
    margin-left: 5%;
}


/* 공유 popup */
.share_pop{
    width: 400px;
    padding: 30px;
    background-color: #fff;
    box-shadow: 1px 1px 15px rgba(0, 0, 0, 0.2);
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 999;
    display: none;
}

.s_p_title{
    width: 100%;
    display: flex;
    align-items: center;
    padding-bottom: 15px;
    border-bottom: 1px solid #ccc;
}

.s_p_title i{
    font-size: 18px;
    margin-right: 10px;
    color: #f83025;
}

.s_p_title p{
    font-size: 20px;
}

.share_pop ul{
    width: 100%;
    display: inline-block;
}

.share_pop ul li{
    width: 25%;
    float: left;
    text-align: center;
    padding-top: 20px;
    cursor: pointer;
}

.share_pop ul li i{
    font-size: 30px;
}

.share_pop ul li p{
    font-size: 14px;
    margin-top: 5px;
}

.share_pop>i{
    position: absolute;
    top: 35px;
    right: 35px;
    font-size: 20px;
    cursor: pointer;
}

















/* mobile */
@media screen and (max-width: 767px){
    #footer{
        background-color: #111;
        margin-top:auto;
    }

    .agree_menu{
        background-color: #eee;
        padding: 5px 0;
    }

    .agree_menu ul{
        justify-content: center;
    }

    .agree_menu ul li{
        font-size: 12px;
        margin: 0 10px;
    }

    .address{
        padding: 20px 0;
        justify-content: center;
    }

    .address img{
        display: none;
    }

    .address address{
        text-align: center;
        margin: 0;
        color: #fff;
        font-weight: lighter;
        font-size: 11px;
        line-height: 20px;
    }


    /* 공유 popup */
    .share_pop{
        width: 60%;
        padding: 20px;
    }

    .s_p_title{
        padding-bottom: 10px;
    }

    .s_p_title i{
        font-size: 16px;
        margin-right: 5px;
    }

    .s_p_title p{
        font-size: 16px;
    }

    .share_pop ul li{
        width: 33%;
    }

    .share_pop ul li i{
        font-size: 26px;
    }

    .share_pop ul li p{
        font-size: 12px;
        margin-top: 5px;
    }

    .share_pop>i{
        top: 20px;
        right: 20px;
        font-size: 16px;
    }
}























/* tablet */
@media screen and (min-width: 768px) and (max-width: 1024px){
    #footer{
        background-color: #111;
        margin-top:auto;
    }

    .agree_menu{
        background-color: #eee;
    }

    .agree_menu ul{
        justify-content: center;
    }

    .agree_menu ul li{
        font-size: 14px;
        margin: 0 10px;
    }

    .address{
        padding: 20px 0;
        justify-content: center;
    }

    .address img{
        display: none;
    }

    .address address{
        text-align: center;
        margin: 0;
        color: #fff;
        font-weight: lighter;
    }


    /* 공유 popup */
    .share_pop{
        width: 35%;
        padding: 20px;
    }

    .s_p_title{
        padding-bottom: 10px;
    }

    .s_p_title i{
        font-size: 16px;
        margin-right: 5px;
    }

    .s_p_title p{
        font-size: 16px;
    }

    .share_pop ul li{
        width: 33%;
    }

    .share_pop ul li i{
        font-size: 26px;
    }

    .share_pop ul li p{
        font-size: 12px;
        margin-top: 5px;
    }

    .share_pop>i{
        top: 20px;
        right: 20px;
        font-size: 16px;
    }
}
