/* 키즈텐042 공통 푸터: /include/footer_common.php 전용 */
/* 모든 규칙을 .site-footer 아래로 제한하여 헤더/퀵배너/상담폼에 영향 없음 */
footer.site-footer,
footer.site-footer *,
footer.site-footer *::before,
footer.site-footer *::after { box-sizing: border-box; }

footer.site-footer {
    display: block;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
    background: #414141;
    color: rgba(255,255,255,.5);
    text-align: center;
    font: 400 16px/1.5 'Pretendard','Noto Sans KR',sans-serif;
    letter-spacing: -1px;
}

.site-footer p, .site-footer ul, .site-footer address { margin: 0; padding: 0; }
.site-footer ul { list-style: none; }

/* 인증마크는 메인페이지에서만 PHP 조건부 출력 */
.site-footer .site-footer__certificates { padding: 100px 0 0; }
.site-footer .site-footer__certificates ul {
    display: flex;
    width: 100%;
    max-width: 1020px;
    margin: 0 auto;
    padding: 40px 0;
    background: #363636;
    border-radius: 200px;
}
.site-footer .site-footer__certificates li {
    flex: 0 0 33.333%;
    min-width: 0;
    color: #999;
    font-size: 22px;
    letter-spacing: 0;
}
.site-footer .site-footer__certificates li:nth-child(2) {
    border-left: 1px solid #282828;
    border-right: 1px solid #282828;
}
.site-footer .site-footer__certificates li p {
    padding-top: 95px;
    line-height: 1.3;
}
.site-footer .site-footer__certificates li:nth-child(1) p {
    background: url('/img/042_new/gmp.png') no-repeat center top / auto 80px;
}
.site-footer .site-footer__certificates li:nth-child(2) p {
    background: url('/img/042_new/haccp.png') no-repeat center top / auto 80px;
}
.site-footer .site-footer__certificates li:nth-child(3) p {
    background: url('/img/042_new/iso.png') no-repeat center top / auto 80px;
}

.site-footer .site-footer__company {
    width: 100%;
    max-width: 1056px;
    margin: 0 auto;
    padding: 50px 18px;
}
.site-footer .site-footer__manufacturers {
    line-height: 1.5;
}
.site-footer .site-footer__manufacturers span {
    display: inline;
    color: #777;
    font: 400 18px/1.5 'Pretendard','Noto Sans KR',sans-serif;
}
.site-footer .site-footer__manufacturers span::after { content: none; }
.site-footer .site-footer__manufacturers span + span::before {
    display: inline;
    margin: 0 8px;
    color: #777;
    content: '/';
}
.site-footer .site-footer__information {
    display: block;
    margin: 0;
    padding: 22px 0 0;
    color: rgba(255,255,255,.5);
    font: 400 17px/1.5 'Pretendard','Noto Sans KR',sans-serif;
    font-style: normal;
    letter-spacing: -1px;
    overflow-wrap: anywhere;
}
.site-footer .site-footer__information p { margin: 0; line-height: inherit; }
.site-footer .site-footer__information span {
    display: inline;
    color: inherit;
    font: inherit;
}
.site-footer .site-footer__information span::after {
    display: inline;
    margin: 0 5px;
    color: inherit;
    content: '|';
}
.site-footer .site-footer__information span:last-child::after { content: none; }
.site-footer .site-footer__information .site-footer__privacy {
    margin: 25px 0 0;
    color: inherit;
    font-size: 17px;
    line-height: 1.5;
}
.site-footer .site-footer__privacy a {
    color: inherit;
    font: inherit;
    text-decoration: none;
}
.site-footer .site-footer__privacy a:hover { text-decoration: underline; }
.site-footer .site-footer__copyright {
    margin-top: 24px;
    color: #777;
    font: 400 14px/1.5 'Pretendard','Noto Sans KR',sans-serif;
}
.site-footer .site-footer__notice {
    margin-bottom: 28px;
    color: #999;
    font-size: 13px;
    line-height: 1.6;
}
.site-footer .site-footer__notice strong { display: block; font-size: 16px; }

@media (max-width: 991px) {
    footer.site-footer { font-size: 12px; letter-spacing: -.5px; }
    .site-footer .site-footer__certificates {
        height: 150px;
        padding: 0;
        background: #333;
    }
    .site-footer .site-footer__certificates ul {
        height: 100%;
        max-width: none;
        padding: 15px 0;
        border-radius: 0;
        background: transparent;
    }
    .site-footer .site-footer__certificates li {
        height: 110px;
        font-size: 14px;
        letter-spacing: 0;
    }
    .site-footer .site-footer__certificates li:nth-child(2) {
        border-left: 1px solid #555;
        border-right: 1px solid #555;
    }
    .site-footer .site-footer__certificates li p { padding-top: 82px; font-size: 14px; }
    .site-footer .site-footer__certificates li:nth-child(1) p,
    .site-footer .site-footer__certificates li:nth-child(2) p { background-size: auto 70px; }
    .site-footer .site-footer__certificates li:nth-child(3) p {
        background-position: center 7px;
        background-size: auto 58px;
    }
    .site-footer .site-footer__company { padding: 32px 18px 95px; }
    .site-footer .site-footer__manufacturers span {
        display: block;
        color: #888;
        font-size: 12px;
        line-height: 1.5;
    }
    .site-footer .site-footer__manufacturers span + span::before { content: none; }
    .site-footer .site-footer__information {
        padding-top: 15px;
        color: #aaa;
        font-size: 11px;
        line-height: 1.5;
        letter-spacing: -.5px;
        word-break: keep-all;
    }
    .site-footer .site-footer__information span::after { margin: 0 3px; }
    .site-footer .site-footer__information .site-footer__privacy {
        margin-top: 10px;
        font-size: 13px;
    }
    .site-footer .site-footer__copyright { margin-top: 22px; font-size: 12px; }
}
