@charset "utf-8";

@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css");
/******************************************************
'* common
'******************************************************/

:root {
    --bar-bg: #ffffff;
    --bar-border: #e3e6ea;
    --text-color: #222;
    --sep-color: #d6d9dd;
    --font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 
                 'Segoe UI', Roboto, 'Apple SD Gothic Neo',
                 'Noto Sans KR', 'Malgun Gothic', Arial, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-family);
}

body {
    background: #ffffff;
    color: #333;
}

.header {
    width: 100%;
    border-bottom: 1px solid #e5e5e5;
    background: #ffffff;
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    height: 80px;
    display: flex;
    align-items: center;
}

.logo {
    margin-right: 80px; /* 로고와 메뉴 사이 간격 */
}

.logo img {
    height: 35px;
    object-fit: contain;
}

.main-menu {
    flex: 1; /* 메뉴 영역을 가운데로 밀어줌 */
}

.main-menu ul {
    display: flex;
    list-style: none;
    gap: 40px;
}

.main-menu a {
    text-decoration: none;
    font-size: 18px;
    color: #222;
    font-weight: 500;
}

.main-menu a:hover {
    font-weight: 600;
}






.right-btns {
    display: flex;
    gap: 12px;
}

.btn {
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid #dcdcdc;
    background: #fff;
    color: #333;
    transition: 0.2s;
}

    .btn.small:hover {
       /* background: #f8f8f8;
        border-color: #b3b3b3;*/
        background-color: #1a1a1a;
        color: #fff;
    }

    .btn.primary {
        background: #5873fe;
        color: #fff;
        border-color: #5873fe;
        font-weight: 500;
    }

        .btn.primary:hover {
            filter: brightness(0.9);
        }




/*하단 문의하기*/
/* 섹션 전체 */
.inquiry-section {
    background: #3c3c3c; /* 어두운 배경 */
    padding: 50px 0;
    color: #fff;
    margin-top: 0px;
}

/* 1200px 중앙 정렬 */
.inquiry-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* 왼쪽 텍스트 */
.inquiry-text h3 {
    font-size: 25px;
    font-weight: 700;
    margin-bottom: 8px;
}

.inquiry-text p {
    font-size: 18px;
    opacity: 0.8;
}

/* 오른쪽 버튼 */
.inquiry-btn {
    display: inline-block;
    width: 150px;
    border: 2px solid #aaa;
    padding: 10px 28px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
    transition: 0.2s ease;
    text-align: center;
}

    .inquiry-btn:hover {
        background: #555;
        border-color: #ccc;
    }


/*푸터 footer*/

.footer {
    margin-top: 0px;
    width: 100%;
    background-color: #ffffff;
    padding: 50px 0;
    font-family: "Arial", sans-serif;
    color: #555;
}

.footer-inner {
    width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

/* 왼쪽 텍스트 섹션 */
.footer-left {
    line-height: 1.8;
    font-size: 14px;
}

.footer-menu a {
    color: #555;
    text-decoration: none;
    margin-right: 5px;
}

/* .footer-menu a:hover {
    text-decoration: underline;
    } */

/* 오른쪽 원형 이미지 */
.footer-icons {
    display: flex;
    gap: 25px;
}

.footer-icon {
    width: 70px;
    height: 70px;
    overflow: hidden; /* 이미지가 넘치지 않게 */
}

    .footer-icon img {
        width: 100%;
        height: 100%;
        object-fit: cover; /* 이미지 비율 유지하며 꽉 채움 */
        display: block;
    }

/******************************************************
'* 반응형 (태블릿 / 모바일) - 공통 헤더·푸터
'******************************************************/

/* 이미지가 화면 밖으로 넘치지 않도록 */
img {
    max-width: 100%;
}

/* 태블릿 (1240px 이하) : 1200px 고정폭 → 화면폭 + 좌우 여백 */
@media (max-width: 1240px) {
    .header-inner,
    .inquiry-container,
    .footer-inner {
        width: 100%;
        padding-left: 20px;
        padding-right: 20px;
    }

    .logo {
        margin-right: 40px;
    }

    .main-menu ul {
        gap: 24px;
    }

    .main-menu a {
        font-size: 16px;
        white-space: nowrap;
    }
}

/* 태블릿 세로 · 모바일 (1024px 이하) : 헤더 2줄 구성 */
@media (max-width: 1024px) {
    /* 헤더 : 로고/버튼 1줄, 메뉴는 아래 줄에서 가로 스크롤 */
    .header-inner {
        height: auto;
        flex-wrap: wrap;
        padding: 12px 16px 0;
        row-gap: 8px;
    }

    .logo {
        margin-right: auto;
    }

    .main-menu {
        order: 3;
        flex: 0 0 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .main-menu::-webkit-scrollbar {
        display: none;
    }

    .main-menu ul {
        gap: 28px;
        white-space: nowrap;
        padding: 6px 0 12px;
    }
}

/* 모바일 (768px 이하) */
@media (max-width: 768px) {
    html, body {
        overflow-x: hidden;
    }

    .logo img {
        height: 28px;
    }

    .right-btns {
        gap: 6px;
    }

    .btn {
        padding: 7px 12px;
        font-size: 13px;
    }

    .main-menu ul {
        gap: 20px;
    }

    .main-menu a {
        font-size: 15px;
    }

    /* 하단 문의하기 */
    .inquiry-section {
        padding: 36px 0;
    }

    .inquiry-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        padding: 0 16px;
    }

    .inquiry-text h3 {
        font-size: 20px;
    }

    .inquiry-text p {
        font-size: 15px;
    }

    /* 푸터 */
    .footer {
        padding: 36px 0;
    }

    .footer-inner {
        flex-direction: column;
        gap: 24px;
        padding: 0 16px;
    }

    .footer-left {
        font-size: 13px;
        word-break: keep-all;
    }

    .footer-icons {
        gap: 16px;
        flex-wrap: wrap;
    }

    .footer-icon {
        width: 52px;
        height: 52px;
    }
}


/******************************************************
'* 푸터 세부 (Inc_Footer.asp)
'******************************************************/

/* 구분선 "|" */
.footer .sep {
    margin: 0 5px 0 0;
    color: #999;
}

.footer-info .sep {
    margin: 0 5px;
}

/* 항목 하나가 중간에서 끊기지 않도록 */
.footer-info .fi {
    display: inline-block;
}

/* 태블릿 세로 · 모바일 (1024px 이하) */
@media (max-width: 1024px) {
    .footer-inner {
        gap: 24px;
    }

    /* 고객지원센터는 메뉴 아래 줄로 */
    .footer-cs-sep {
        display: none;
    }

    .footer-cs {
        display: block;
        margin-top: 4px;
    }

    /* 회사 정보 : 줄 끝에 "|" 가 남지 않도록 구분선 대신 간격으로 */
    .footer-info {
        display: flex;
        flex-wrap: wrap;
        column-gap: 14px;
    }

    .footer-info .sep {
        display: none;
    }

    .inquiry-text p {
        word-break: keep-all;
    }
}

/* 모바일 (768px 이하) */
@media (max-width: 768px) {
    .inquiry-btn {
        width: 100%;
        max-width: 240px;
    }

    .footer-menu {
        font-size: 14px;
    }

    .footer-cs strong {
        font-size: 15px;
    }

    .footer-cs-time {
        display: block;
        font-size: 12px;
        color: #777;
    }

    .footer-gap {
        display: none;
    }

    .footer-info {
        margin-top: 2px;
        font-size: 12px;
        line-height: 1.7;
        color: #666;
    }

    .footer-gap + .footer-info {
        margin-top: 14px;
    }

    .footer-copy {
        margin-top: 6px;
        font-size: 12px;
        color: #888;
    }

    .footer-icon img {
        width: 100% !important;
        height: 100% !important;
    }
}
