@charset "UTF-8";

/* 헤더 */
body {
    position: relative;
}
.header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 90;
    width: 100%;
    height: var(--header-height);
    background-color: #fff;
    border-bottom: 1px solid #d8d8d8;
    -webkit-transition: color 0s, background-color 0.4s;
    transition: color 0s, background-color 0.4s;
}
.header__inner {
    position: relative;
    height: 100%;
}
.header__logo {
    position: absolute;
    left: 50px;
    top: 50%;
    transform: translateY(-50%);
}
/* 서브 헤더 */
.sub-header {
    margin-top: var(--header-height);
    padding: var(--px60) 20px;
    background: url(../img/bg_sub1.jpg) no-repeat center/cover;
}
.sub-header.bg2 {
    background-image: url(../img/bg_sub2.jpg);
}
.sub-header.bg3 {
    background-image: url(../img/bg_sub3.jpg);
}
.sub-header.bg4 {
    background-image: url(../img/bg_sub4.jpg);
}
.breadcrumbs {
    column-gap: 1rem;
}
/* 컨테이너 */
.container {
    width: 100%;
    margin: var(--px150) 0 var(--px200);
}
.container__inner {
    width: calc(100% - 3.2rem); /* 모바일에서 양 20px 여백 */
    max-width: var(--max-width);
    margin: 0 auto;
}
div,
input,
li,
main,
ol,
section,
ul {
    -webkit-transition: all 0.4s;
    transition: all 0.4s;
}
/* 푸터 */
.footer {
    padding: var(--px60) 0;
    background-color: #424242;
}
.footer__links span {
    margin: 0 10px;
    color: #7b7b7b;
}
.footer__hotline {
    display: block;
    padding-bottom: 1.4286rem;
}
.footer__right {
    align-items: flex-end;
}
.footer__hotline .fz35 {
    padding: 0 1.214rem;
}
.footer__sites {
    min-width: 220px;
}
.sites__label {
    padding: 1.214rem 1.5rem;
    color: #a9a9a9;
}
.sites__ul {
    bottom: 100%;
    left: 0;
    z-index: 2;
    display: none;
    border-bottom: 1px solid #888;
    background-color: #666;
}
.sites__item a {
    display: block;
    padding: 1.214rem 1.5rem;
    border-top: 1px solid #888;
}
.footer__sites:hover .sites__label > img {
    transform: rotate(180deg);
}
.footer__sites:hover .sites__ul {
    display: block;
}
/* 반응형 */
@media screen and (max-width: 1200px) {
    .footer .container__inner {
        flex-direction: column;
    }
    .footer .footer__left {
        margin-bottom: 30px;
    }
    .footer__hotline p {
        display: inline-block;
        margin-bottom: 0;
        column-gap: 10px;
    }
    .footer__hotline p .colaccent {
        margin-right: 5px;
    }
}
@media screen and (min-width: 993px) {
    .header.index .header__logo {
        display: none;
    }
    .header.index {
        background-color: transparent;
        color: #fff;
        border-color: transparent;
    }
}
@media screen and (max-width: 992px) {
    .header__logo {
        left: 20px;
        max-width: 218px;
    }
}
@media screen and (max-width: 768px) {
    .footer__hotline .hidden {
        display: none;
    }
    .footer__right .fz30 {
        font-size: calc(2.143rem - 0.75rem);
    }
    .footer__hotline img.mr15 {
        max-width: 24px;
        margin-top: -3px;
        margin-right: 10px;
    }
}
@media screen and (max-width: 576px) {
    .footer__right {
        row-gap: 20px;
        flex-direction: column;
    }
    .footer__sites {
        margin-right: 0;
    }
    .sites__label {
        justify-content: center;
        column-gap: 10px;
    }
    .footer__hotline,
    .footer__sites {
        width: 100%;
        text-align: center;
    }
    .footer__hotline .hidden {
        display: none;
    }
}
@media screen and (max-width: 414px) {
    .footer__links {
        font-size: 13px;
        span {
            margin: 0 5px;
        }
    }
    /* .footer__hotline p {
        display: block;
        padding-bottom: 10px;
    } */
}
