@charset "UTF-8";

                
*{
    margin: 0;
    padding: 0;
}
a{
    color: inherit;
    text-decoration: none;
}
footer{
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    font-weight: bold;
    background-color: #333333;
    padding: 20px;
    color: #fff;
    height: 200px;
    clear:both;
}
.footer_txt_box{
    width: 50%;
}
.footer_copyright{
    margin-top: 10px;
    font-size: 12px;
}
.footer_tit_box{
    text-align: right;
    width: 40%;
}
.footer_tit_box h2{
    margin-bottom: 20px;
}
.footer_tit_box{
    display: flex;
    flex-direction: column;
}
.footer_tit{
    order: 2;
}

/* 패밀리 사이트 시작 */
.footer_family_box{
    display: flex;
    align-items: center;
    justify-content: end;
    margin-bottom: 25px;
    order: 1;
}
.footer_wrap {
    position: relative;
}
.footer_wrap .footer_dep1 li{
    background-color: #fff;
}
.footer_wrap .footer_dep1 > li {
    float: left;
    vertical-align: top;
    text-align: center;
    position: relative;
    z-index: 1;
    color: #000;
}
.footer_wrap .footer_dep1 > li::after{
    content: "\f054";
    font-size: 12px;
    position: absolute;
    right: 10px;
    top: 10px;
    transition: all 0.2s;
    font-family: 'Font Awesome 6 Free';
    cursor: pointer;
    font-weight: bold;
}
.footer_wrap .footer_dep1 > li.active::after {
    transform: rotate(90deg);
}
.footer_dep2 {
    transition: all 0.5s;
    max-height: 0;
    overflow: hidden;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    z-index: 1;
}
.footer_dep2.active{
    display: block;
    max-height: 150px;
    overflow: hidden;
    z-index: 2;
    overflow-y: auto;
}
.footer_wrap .footer_dep1 li a{
    height: 30px;
    line-height: 30px;
    width: 300px;
    font-size: 12px;
    border: 1px solid #000;
    box-sizing: border-box;
    
}
.footer_wrap .footer_dep1 > li > a{
    display: block;
}
.footer_wrap .footer_dep1 > li a:hover{
    font-weight: bold;
}
.footer_wrap .footer_dep1 > li .footer_dep2 a{
    display: block;
}
.footer_wrap .footer_dep1 >li > a:hover ~ ul{
    display: block;
}
/* 패밀리 사이트 끝 */

.footer_login_button {
    background-color: #c0c0c0;
    color: #fff;
    padding: 5px 10px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 12px;
    display: inline-block;
}

.footer_login_button:hover {
    background-color: #b0b0b0;
}

@media only screen and (max-width: 900px) {
    footer {
        flex-direction: column;
        height: auto;
    }

    .footer_txt_box {
        width: 100%;
        order: 2;
        margin-top: 10px;
    }

    .footer_tit_box {
        width: 100%;
        order: 1;
        text-align: left;
    }
    
    .footer_tit_box h2{
        margin-bottom: 5px;
    }
    
    .footer_family_box{
        justify-content: start;
        margin-top: 10px;
        order: 2;
        margin-bottom: 0px;
    }
    .footer_tit{
        order: 1;
    }
}