@charset "UTF-8";

/* =========================================
   1. CSS Reset & Base Styles
   ========================================= */
:root {
    --font-main: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, sans-serif;
    --color-primary: #FF5F00;
    --color-primary-dark: #e04e00;
    --color-text: #333333;
    --color-white: #ffffff;
    --color-bg-dark: #000000;
    --color-bg-gray: #333D4B;
    --header-height: 100px;
}

/* Pretendard Font Import */
@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css");

/* Reset */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend, table, caption,
tbody, tfoot, thead, tr, th, td, article, aside,
canvas, details, embed, figure, figcaption, footer,
header, hgroup, menu, nav, output, ruby, section,
summary, time, mark, audio, video {
    margin: 0; padding: 0; border: 0;
    font-size: 100%; font: inherit; vertical-align: baseline;
    font-family: var(--font-main);
    box-sizing: border-box;
}

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { display: block; }
body { line-height: 1; font-family: var(--font-main); color: var(--color-text); }
ol, ul { list-style: none; }
a { text-decoration: none; color: inherit; transition: all 0.3s ease; }
table { border-collapse: collapse; border-spacing: 0; }
img { max-width: 100%; display: block; }

/* =========================================
   2. Common Utilities & Components
   ========================================= */
.inner {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Buttons */
.btn {
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    display: inline-block;
    text-align: center;
}
.btn-warning { background: linear-gradient(45deg, var(--color-primary), #FF9353); color: #fff; }
.btn-orange { background: var(--color-primary); color: #fff; }
.btn-gray { background: var(--color-bg-gray); color: #fff; }

.flexcontainer { display: flex; flex-wrap: wrap; }

/* =========================================
   3. Header & Navigation (PC)
   ========================================= */
header#global-header {
    z-index: 1000 !important;
    width: 100%;
    height: var(--header-height);
    background-color: #000000;
    position: fixed;
    top: 0;
    left: 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

header#global-header .header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

/* Logo */
.logo a { display: block; }
.logo img { height: 40px; width: auto; }

/* Desktop Nav */
.gnb-pc { display: flex; height: 100%; align-items: center; gap: 40px; }
.gnb-pc > li { position: relative; height: 100%; display: flex; align-items: center; }
.gnb-pc > li > a {
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    padding: 0 10px;
    height: 100%;
    display: flex;
    align-items: center;
}
.gnb-pc > li:hover > a,
.gnb-pc > li > a.active { color: var(--color-primary); }

/* Submenu (Dropdown) */
.submenu {
    z-index: 1001 !important;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #000;
    border: 1px solid #ffffff;
    min-width: 220px;
    width: max-content;
    padding: 15px 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: none;
    border-radius: 0 0 8px 8px;
}

.gnb-pc > li:hover .submenu {
    opacity: 1;
    visibility: visible;
    margin-top: 1px;
}

.submenu li a {
    display: block;
    color: #fff;
    padding: 12px 20px;
    font-size: 15px;
    text-align: center;
    border-bottom: 1px solid #222;
    white-space: nowrap;
}

.submenu li:last-child a {
    border-bottom: none;
}

.submenu li a:hover {
    color: var(--color-primary);
    background-color: #111;
}

/* Mobile Trigger (Hidden on PC) */
.mobile-menu-btn { display: none; color: #fff; font-size: 28px; cursor: pointer; background: none; border: none; }

/* =========================================
   4. Footer
   ========================================= */
.footer {
    background: #111;
    color: #fff;
    padding: 60px 0;
}
.footer .inner { display: flex; flex-wrap: wrap; gap: 40px; }
.footer-col { flex: 1; min-width: 250px; }
.footer-col.brand { flex: 2; }
.footer h3 { margin-bottom: 20px; font-size: 18px; font-weight: 700; color: #fff; }
.footer p, .footer span, .footer a { font-size: 14px; color: #aaa; line-height: 1.6; display: block; margin-bottom: 5px; }
.footer a:hover { color: var(--color-primary); }

/* =========================================
   5. Responsive (Mobile/Tablet) - 개선된 버전
   ========================================= */
@media screen and (max-width: 1024px) {
    .inner { width: 100%; }
    
    /* PC Nav - 모바일 슬라이드 메뉴 */
    .gnb-pc {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 350px;
        height: 100vh;
        background: #000;
        border-left: 1px solid rgba(255,255,255,0.2);
        padding: 100px 25px 30px;
        overflow-y: auto;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
        flex-direction: column;
        gap: 0;
    }
    
    .gnb-pc.active {
        right: 0;
        box-shadow: -5px 0 15px rgba(0,0,0,0.5);
    }
    
    .gnb-pc > li {
        width: 100%;
        height: auto;
        display: block;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .gnb-pc > li > a {
        padding: 16px 15px;
        font-size: 16px;
        justify-content: space-between;
        display: flex;
        height: auto; /* 높이 자동 조정 */
    }
    
    /* Mobile Submenu - max-height 트릭 사용 */
    .submenu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        background: #111;
        border: none;
        border-top: 1px solid #333;
        width: 100%;
        box-sizing: border-box;
        border-radius: 0;
        box-shadow: none;
        padding: 0; /* 패딩 제거 */
        
        /* max-height 애니메이션 */
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
    }
    
    .submenu.open {
        max-height: 500px; /* 충분히 큰 값 */
        border-bottom: 1px solid #333;
        padding: 10px 0; /* open될 때만 패딩 추가 */
    }
    
    .submenu li a {
        text-align: left;
        padding: 10px 15px 10px 30px;
        font-size: 14px;
        white-space: normal;
        border-bottom: none;
    }

    /* Mobile Toggle Button */
    .mobile-menu-btn {
        display: block;
        z-index: 1001;
    }
}




/* =========================================
   Global Footer Style
   ========================================= */
#global-footer {
    background-color: #0D0D0D;
    padding: 80px 0 60px;
    color: #fff;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 15px;
}

#global-footer .inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 50px;
}

.footer-item.company-info {
    flex: 2;
    min-width: 300px;
}

.footer-logo img {
    height: 30px;
    margin-bottom: 25px;
    margin-left: 0px;
    opacity: 0.9;
}

.address-box .company-name {
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 15px;
    color: #fff;
}

.info-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
}

.info-list li {
    color: #888;
    font-size: 14px;
    line-height: 1.6;
}

.info-list li.w-100 {
    width: 100%;
}

.info-list span {
    color: #555;
    margin-right: 8px;
    font-weight: 500;
}

.sns-links {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.sns-links a img {
    width: 36px;
    height: 36px;
    transition: opacity 0.3s;
}

.sns-links a:hover img {
    opacity: 0.7;
}

.copyright {
    color: #444;
    font-size: 13px;
    margin-top: 20px;
}

.footer-item {
    flex: 1;
    min-width: 200px;
}

.footer-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #fff;
}

.footer-desc {
    color: #999;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 25px;
}

.tel-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 25px;
}

.tel-list a {
    color: #ccc;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s;
}

.tel-list a:hover {
    color: #FF5F00;
}

.btn-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 280px;
    height: 56px;
    padding: 0 20px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-orange {
    background-color: #FF5F00;
    color: #fff;
    border: 1px solid #FF5F00;
}

.btn-orange:hover {
    background-color: #e04e00;
    transform: translateY(-2px);
}

.btn-gray {
    background-color: transparent;
    color: #fff;
    border: 1px solid #444;
}

.btn-gray:hover {
    border-color: #fff;
    background-color: rgba(255,255,255,0.05);
}

@media screen and (max-width: 1024px) {
    #global-footer { padding: 60px 0; }
    .footer-container { gap: 40px; }
    
    .footer-item.company-info {
        flex: 100%;
        border-bottom: 1px solid rgba(255,255,255,0.05);
        padding-bottom: 40px;
        margin-bottom: 10px;
    }
}



.sns-links {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    padding-top: 10px;
}

.sns-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #aaa;
    font-size: 28px;
    transition: all 0.3s ease;
}

.sns-links a:hover {
    color: #FF5F00;
    transform: translateY(-3px);
}


/* =========================================
   Global Footer - 768px 이하 초슬림 스타일
   ========================================= */
   @media screen and (max-width: 768px) {
    #global-footer {
        padding: 50px 0 40px; /* 상하 여백 축소 */
        font-size: 13px; /* 전체적인 기본 폰트 축소 */
    }

    /* 1. 내부 컨테이너 여백 다이어트 */
    #global-footer .inner {
        padding: 0 15px; 
    }

    .footer-container {
        flex-direction: column;
        gap: 40px; /* 섹션 간 간격 최적화 */
    }

    /* 2. 로고 및 회사 이름 */
    .footer-logo img {
        height: 24px; /* 로고 크기 아기자기하게 */
        margin-bottom: 20px;
    }

    .address-box .company-name {
        font-size: 14px;
        margin-bottom: 12px;
    }

    /* 3. 정보 리스트 (사업자 번호, 주소 등) - 가로폭 확보 */
    .info-list {
        display: block; /* 세로 적층으로 가독성 확보 */
        margin-bottom: 25px;
    }

    .info-list li {
        font-size: 12px; /* 14px -> 12px 축소 */
        line-height: 1.8;
        margin-bottom: 4px;
        color: #777;
    }

    .info-list span {
        font-size: 11px;
        margin-right: 6px;
        color: #444;
    }

    /* 4. SNS 링크 및 저작권 */
    .sns-links {
        gap: 15px;
        margin-bottom: 15px;
        padding-top: 0;
    }

    .sns-links a {
        font-size: 22px; /* 아이콘 크기 살짝 축소 */
    }

    .copyright {
        font-size: 11px;
        margin-top: 15px;
        letter-spacing: 0;
    }

    /* 5. 푸터 서브 메뉴 및 연락처 */
    .footer-title {
        font-size: 15px; /* 제목 크기 축소 */
        margin-bottom: 15px;
    }

    .footer-desc {
        font-size: 13px;
        margin-bottom: 20px;
    }

    .tel-list a {
        font-size: 14px;
        gap: 6px;
    }

    /* 6. 푸터 버튼 - 컴팩트하게 */
    .btn-footer {
        height: 48px; /* 56px -> 48px로 아담하게 */
        padding: 0 15px;
        font-size: 14px;
        border-radius: 6px;
    }
}




/* =========================================
   Global Contact Section
   ========================================= */
.global-contact-section {
    background: linear-gradient(180deg, #111418 0%, #080a0d 100%);
    padding: 120px 0;
    color: #fff;
}
.global-contact-section .inner { max-width: 1300px; margin: 0 auto; padding: 0 20px; }

.contact-intro {
    text-align: center;
    margin-bottom: 80px;
}

.quote-box { margin-bottom: 30px; opacity: 0.8; }
.quote-box .eng { font-size: 18px; color: #8B95A1; margin-bottom: 10px; font-style: italic; font-family: 'Montserrat', sans-serif;}
.quote-box .kor { font-size: 16px; color: #6E6E73; }
.main-copy { font-size: 36px; font-weight: 800; color: #fff; margin-bottom: 30px; font-family: 'Paperlogy-8ExtraBold'; }
.main-copy .highlight { color: #FF5F00; font-style: normal; }

.friendly-guide {
    background: rgba(255, 255, 255, 0.05);
    display: inline-block;
    padding: 20px 40px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.friendly-guide p {
    font-size: 18px;
    color: #fff;
    margin-bottom: 8px;
    font-weight: 500;
}

.friendly-guide span {
    font-size: 16px;
    color: #D1D5DB;
    line-height: 1.6;
    display: block;
}

.friendly-guide em {
    color: #FF5F00;
    font-style: normal;
    font-weight: 700;
}

.contact-form {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 30px;
    padding: 60px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.form-layout { display: flex; gap: 80px; }
.form-col { flex: 1; }

.left-col h4,
.input-box label {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
    display: block;
    letter-spacing: -0.5px;
}

.req { color: #FF5F00; margin-left: 4px; font-size: 18px; }

.input-line, .input-underline {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding: 10px 0;
    color: #fff;
    font-size: 16px;
    height: 40px;
    transition: 0.3s;
}

.input-line:focus, .input-underline:focus {
    border-color: #FF5F00;
    outline: none;
}

.input-underline::placeholder { color: rgba(255,255,255,0.3); font-size: 15px; font-weight: 400; }

.checkbox-wrapper label, .check-item label, .radio-wrap label {
    cursor: pointer;
    font-size: 16px;
    color: #D1D5DB;
    font-weight: 400;
}

.custom-check, .radio-wrap input[type="radio"] {
    accent-color: #FF5F00;
    width: 18px; height: 18px;
    margin-right: 8px; vertical-align: middle; cursor: pointer;
}

.check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px 10px; }
.input-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 20px; }
.input-box { display: flex; flex-direction: column; }
.input-box.full-width { grid-column: span 2; }
.radio-wrap { display: flex; flex-wrap: wrap; gap: 20px; padding: 5px 0; }

.textarea-box {
    width: 100%;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    padding: 15px;
    color: #fff;
    font-size: 16px;
    min-height: 120px;
    resize: vertical;
}
.textarea-box:focus { border-color: #FF5F00; outline: none; }

.divider { height: 1px; background: rgba(255, 255, 255, 0.1); margin: 40px 0; }
.required-notice { text-align: right; color: #8B95A1; font-size: 14px; margin-bottom: 30px; }
.required-notice span { color: #FF5F00; }

.submit-area { margin-top: 60px; text-align: center; }
.btn-submit {
    background: #FF5F00;
    color: #fff;
    border: none;
    padding: 18px 60px;
    font-size: 20px;
    font-weight: 800;
    border-radius: 50px;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 10px 20px rgba(255, 95, 0, 0.3);
    display: inline-flex; align-items: center; gap: 10px;
}
.btn-submit:hover { background: #e04e00; transform: translateY(-3px); }

@media screen and (max-width: 1024px) {
    .form-layout { flex-direction: column; gap: 50px; }
    .input-grid { grid-template-columns: 1fr; }
    .input-box.full-width { grid-column: span 1; }
    .check-grid { grid-template-columns: 1fr; }
}

.agency-check {
    margin-bottom: 45px !important;
}

.detail-link-highlight {
    display: inline-block;
    color: #FF5F00 !important;
    font-size: 15px;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 5px;
    margin-bottom: 15px;
    transition: 0.3s;
}

.detail-link-highlight:hover {
    color: #fff !important;
    text-decoration: none;
}

.detail-link-highlight i {
    font-size: 13px;
    margin-left: 3px;
    vertical-align: middle;
}

.mt-2 {
    margin-top: 10px;
}






/* =========================================
   Global Contact - 768px 이하 최종 최적화
   ========================================= */
@media screen and (max-width: 768px) {
    .global-contact-section { 
        /* margin-left:-20px; */
        /* margin-right:-20px; */
        padding: 60px 0; }

    .global-contact-section .inner {
        padding: 0 10px; 
    }


        
    .checkbox-wrapper label, .check-item label, .radio-wrap label {
        cursor: pointer;
        font-size: 12px;
        color: #D1D5DB;
        font-weight: 400;
    }


    /* 1. 상단 안내 영역 축소 */
    .contact-intro { margin-bottom: 40px; }
    .quote-box .eng { font-size: 13px; line-height: 1.4; }
    .quote-box .kor { font-size: 11px; margin-top: 5px; opacity: 0.6; }
    .main-copy { font-size: 22px; margin: 20px 0; letter-spacing: -1px; }
    
    .friendly-guide { padding: 15px; border-radius: 12px; width: 100%; text-align: left; }
    .friendly-guide p { font-size: 14px; margin-bottom: 5px; }
    .friendly-guide span { font-size: 12px; line-height: 1.5; }

    /* 2. 폼 레이아웃 - 세로로 강제 정렬 */
    .contact-form { padding: 30px 15px; border-radius: 20px; }
    .form-layout { 
        flex-direction: column !important; /* 좌우 배치를 위아래로 */
        gap: 40px !important; 
    }

    /* 3. 체크박스 그리드 (관심분야) - 2열로 아기자기하게 */
    .check-grid { 
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important; 
        gap: 12px 8px !important; 
    }
    .check-item label { font-size: 12px; letter-spacing: -0.5px; }
    .custom-check { width: 16px; height: 16px; margin-right: 5px; }

    /* 4. 입력창 그리드 (성함, 연락처 등) - 1열로 변경 */
    .input-grid { 
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important; 
    }
    .input-box.full-width { grid-column: auto !important; }

    /* 5. 입력 요소 디테일 */
    .left-col h4, .input-box label { font-size: 14px; margin-bottom: 8px; }
    .req { font-size: 14px; }

    .meeting-box .desc {
        font-size: 11px !important;
        color: #8B95A1; /* 글자가 작아지니 색상을 살짝 연하게 하면 더 아기자기해요 */
        line-height: 1.4;
        margin-bottom: 5px;
        letter-spacing: -0.5px;
    }

    /* 링크와 체크박스 사이 간격도 아기자기하게 조절 */
    .meeting-box .detail-link-highlight {
        font-size: 12px;
        margin-bottom: 8px;
    }

    
    .input-line, .input-underline { 
        font-size: 14px !important; 
        height: 38px !important; 
        padding: 5px 0 !important;
    }
    
    /* 라디오 버튼 (진행 시점) - 아기자기하게 나열 */
    .radio-wrap { 
        display: flex; 
        flex-wrap: wrap; 
        gap: 10px 15px; 
    }
    .radio-wrap label { font-size: 13px; display: flex; align-items: center; }
    .radio-wrap input[type="radio"] { width: 15px; height: 15px; margin-right: 5px; }

    /* 6. 기타 텍스트 및 버튼 */
    .textarea-box { font-size: 13px; min-height: 100px; padding: 5px; }
    .divider { margin: 25px 0; }
    .required-notice { font-size: 11px; text-align: left; margin-bottom: 15px; }
    
    .detail-link-highlight { font-size: 12px; margin-bottom: 10px; }

    .submit-area { margin-top: 40px; }
    .btn-submit { 
        width: 100%; 
        padding: 16px 0; 
        font-size: 17px; 
        justify-content: center; 
    }
}

/* =========================================
   Pagination
   ========================================= */
.pagination-container {
    margin: 60px 0;
    display: flex;
    justify-content: center;
    width: 100%;
}

.pagination-list {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 8px;
    align-items: center;
}

.pagination-list li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: #191F28;
    color: #8B95A1;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.pagination-list li a:hover,
.pagination-list li a.active {
    background: #FF5F00;
    color: #ffffff;
    border-color: #FF5F00;
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(255, 95, 0, 0.25);
}

.pagination-list li a i {
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media screen and (max-width: 768px) {
    .pagination-container { margin: 40px 0; }
    .pagination-list { gap: 5px; }
    .pagination-list li a {
        width: 36px;
        height: 36px;
        font-size: 13px;
        border-radius: 8px;
    }
}