@charset "utf-8";

/* ==================================================
   [Sub Common] 서브 페이지 공통 스타일
   ================================================== */
.sub-hero {
    height: 400px;
    margin-top: 80px; 
    position: relative;
    background: url('img/slide3.jpg') no-repeat center / cover;  
    background-color: #0a2b5e;
    display: flex; align-items: center; justify-content: center; 
    text-align: center; color: #fff;
}
.sub-hero-overlay {
    position: absolute; top:0; left:0; width:100%; height:100%;
    background: rgba(2, 10, 21, 0.691);
}
.sub-hero-content { position: relative; z-index: 10; padding: 0 20px; }
.sub-slogan { font-size: 18px; color: #c9a46c; font-weight: 450; margin-bottom: 15px; letter-spacing: 2px; text-transform: uppercase; }
.sub-hero h2 { font-size: 48px; font-weight: 700; margin-bottom: 20px; }
.sub-desc { font-size: 18px; line-height: 1.5; opacity: 0.9; font-weight: 400; }


/* ==================================================
   [Page 1] 회사소개 (About Us)
   ================================================== */

/* 1. Intro (개요) */
.about-intro { text-align: center; }
.intro-desc { margin-top: 40px; }
.intro-desc p { font-size: 18px; line-height: 1.8; color: #444; word-break: keep-all; }
.intro-desc strong { color: #0a2b5e; font-weight: 700; }

/* 2. Value (핵심가치) */
.value-tit { text-align: center; margin-bottom: 50px; }
.value-tit h3 { font-size: 32px; color: #0a2b5e; margin-bottom: 10px; font-weight: 800; }
.value-tit p { font-size: 18px; color: #666; }

.value-grid { display: flex; gap: 30px; }
.value-item { 
    flex: 1; background: #fff; padding: 50px 40px; border-radius: 16px; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.05); text-align: center; 
    border: 1px solid transparent; transition: 0.3s;
}
.value-item:hover { border-color: #c9a46c; transform: translateY(-10px); box-shadow: 0 15px 40px rgba(0,0,0,0.1); }
.value-item .icon { font-size: 50px; color: #0a2b5e; margin-bottom: 25px; }
.value-item .text h4 { font-size: 22px; line-height: 1.4; color: #333; font-weight: 700; word-break: keep-all; }

/* 3. History (연혁 - 다크 테마) */
.about-history {
    background: #051a3a; /* 딥 네이비 배경 */
    color: #fff;
}
.text-white { color: #fff !important; }
.text-gray-light { color: rgba(255, 255, 255, 0.6) !important; }

.history-list { 
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; 
    margin-top: 60px;
}
.hist-item { 
    background: rgba(255, 255, 255, 0.03); border-radius: 20px; 
    padding: 40px 30px; transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex; flex-direction: column; align-items: flex-start;
}
.hist-item:hover { 
    background: linear-gradient(135deg, #c9a46c 0%, #b08d55 100%);
    transform: translateY(-10px); border-color: transparent;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}
.hist-icon { font-size: 32px; color: #fff; margin-bottom: 25px; opacity: 0.8; }
.hist-year { 
    font-size: 32px; font-weight: 800; color: #c9a46c; margin-bottom: 20px; 
    letter-spacing: -1px;
}
.hist-item:hover .hist-year { color: #fff; }
.hist-content h4 { font-size: 20px; margin-bottom: 10px; font-weight: 700; color: #fff; }
.hist-content p { font-size: 15px; color: rgba(255, 255, 255, 0.6); line-height: 1.6; margin: 0; word-break: keep-all; }
.hist-item:hover .hist-content p { color: rgba(255, 255, 255, 0.9); }

/* 4. CEO Message */
.ceo-container { 
    display: flex; align-items: stretch; justify-content: center; gap: 60px; 
}
.ceo-img { 
    flex: 0 0 250px; border-radius: 12px; overflow: hidden; height: 400px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08); background: #f4f6f9;
}
.ceo-img img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.ceo-txt { 
    flex: 1; display: flex; flex-direction: column; justify-content: space-between; 
}
.ceo-txt h3 { font-size: 32px; color: #0a2b5e; margin-bottom: 25px; font-weight: 800; }
.ceo-txt p { font-size: 16px; line-height: 1.7; color: #555; margin-bottom: 15px; text-align: justify; word-break: keep-all; }
.ceo-txt .sign { 
    margin-top: 30px; text-align: right; font-size: 16px; color: #333; 
    border-top: 1px solid #ddd; padding-top: 20px;
}
.ceo-txt .sign strong { font-size: 24px; color: #0a2b5e; margin-left: 10px; font-weight: 800; }

/* 5. YouTube */
.about-youtube { background: #fff; text-align: center; }
.youtube-container { max-width: 900px; margin: 0 auto; }
.video-box {
    position: relative; width: 100%; padding-bottom: 56.25%; height: 0;
    border-radius: 20px; overflow: hidden; box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15); background: #000;
}
.video-box iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }

/* 6. Admin Intro (소속 행정사) */
.admin-container {
    display: flex; align-items: center; justify-content: center; 
    gap: 80px; max-width: 1000px; margin: 0 auto;
}
.admin-txt { text-align: right; flex: 1; }
.admin-txt .quote { font-size: 28px; font-weight: 800; color: #333; line-height: 1.4; margin-bottom: 40px; word-break: keep-all; }
.career-list p { font-size: 16px; color: #555; margin-bottom: 15px; line-height: 1.6; }
.career-list .badge { display: inline-block; font-weight: 700; color: #0a2b5e; margin-right: 5px; font-size: 18px; }
.career-list .sub-txt { display: block; font-size: 13px; color: #888; margin-top: 5px; }
.admin-sign { margin-top: 40px; }
.admin-sign p { font-size: 15px; color: #666; margin-bottom: 5px; }
.admin-sign strong { font-size: 24px; color: #0a2b5e; font-weight: 800; }
.admin-img {
    flex: 0 0 300px; height: 380px; border-radius: 4px; overflow: hidden;
    box-shadow: 10px 10px 30px rgba(0,0,0,0.15); background: #fff; border: 5px solid #fff;
}
.admin-img img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }

/* 7. Certificates (인허가 및 보증보험) */
.cert-section { background: #fff; text-align: center; }
.cert-grid {
    display: grid; grid-template-columns: repeat(5, 1fr);
    gap: 20px; margin-top: 40px;
}
.cert-item { width: 100%; }
.cert-img-box {
    width: 100%; border: 1px solid #eee; margin-bottom: 15px; 
    overflow: hidden; transition: 0.3s; background: #fff;
}
.cert-item:hover .cert-img-box {
    transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.1); border-color: #0a2b5e;
}
.cert-img-box img { width: 100%; display: block; object-fit: contain; }
.cert-item p { font-size: 16px; color: #333; font-weight: 700; }


/* ==================================================
   [Page 2] 해외 인재 채용 (Service - Talent)
   ================================================== */

/* 1. 주요 국가 (Flags) */
.nation-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 50px;
}

.nation-item {
    width: calc(25% - 15px); /* 4열 */
    background: #fff;
    border-radius: 16px;
    padding: 20px; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.03);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.nation-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(10, 43, 94, 0.15);
    border-color: var(--navy);
}

.nation-item .flag-img {
    width: 100%; /* 카드 너비에 맞춤 */
    aspect-ratio: 3 / 2; /* 직사각형 비율 유지 */
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 15px; 
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    border: 1px solid #eee;
    background: #fff;
}

.nation-item .flag-img img {
    width: 100%; height: 100%; object-fit: contain;
}

.nation-item h4 {
    font-size: 18px; font-weight: 700; color: #333; margin: 0;
}

/* 2. 산업별 갤러리 (Industries) */
.ind-group {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 50px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.02);
}

.ind-header {
    background: none;
    padding: 0;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ind-header h4 {
    color: var(--navy);
    font-size: 24px;
    font-weight: 800;
    position: relative;
    padding-left: 15px;
}

.ind-header h4::before {
    content: '';
    position: absolute; left: 0; top: 50%; transform: translateY(-50%);
    width: 6px; height: 24px;
    background: var(--navy);
    border-radius: 3px;
}

.ind-gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.ind-img {
    width: calc(33.333% - 14px); /* 3열 */
    aspect-ratio: 4 / 3;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    background: #eee;
}

.ind-img img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.5s ease;
}

.ind-img:hover img {
    transform: scale(1.1);
}


/* ==================================================
   [Page 3] 채용 절차 (Process)
   ================================================== */

/* 1. 절차 흐름 (Step Process) */
.step-container {
    display: flex;
    align-items: flex-start; /* 상단 정렬 */
    justify-content: space-between;
    margin-top: 50px;
    position: relative;
    align-items: stretch;
}


.step-item {
    flex: 1;
    text-align: center;
    background: #fff;
    padding: 20px 10px;
    border-radius: 12px;
    z-index: 2;
}

.step-icon {
    width: 80px; height: 80px;
    background: #f4f6f9;
    color: var(--navy);
    font-size: 32px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px;
    transition: 0.3s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.step-item:hover .step-icon {
    background: var(--navy); color: var(--gold); transform: translateY(-5px);
}

.step-txt .step-num {
    display: block; font-size: 13px; font-weight: 800; color: var(--gold); letter-spacing: 1px; margin-bottom: 5px;
}
.step-txt h4 { font-size: 18px; color: #333; margin-bottom: 10px; font-weight: 700; }
.step-txt p { font-size: 14px; color: #666; line-height: 1.5; word-break: keep-all; }

/* 화살표 */
.step-arrow {
    display: flex; align-items: center; justify-content: center;
    height: 80px; /* 아이콘 높이와 맞춤 */
    color: #ddd; font-size: 20px;
    padding: 0 10px;
}

/* 2. 기업 체크리스트 (Requirements) */
.req-grid {
    display: flex; flex-wrap: wrap; gap: 30px; margin-top: 40px;
}

.req-box {
    background: #fff;
    border-radius: 16px;
    padding: 40px 30px;
    flex: 1; /* 균등 분배 */
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
    border-top: 4px solid var(--navy);
}

.req-box.full-width {
    flex: 0 0 100%; /* 한 줄 차지 */
    border-top-color: var(--gold);
}

.req-box h4 { font-size: 20px; color: var(--navy); margin-bottom: 20px; font-weight: 700; }

.check-list li {
    position: relative; padding-left: 20px; margin-bottom: 10px; color: #555; font-size: 16px;
}
.check-list li::before {
    content: '✔'; position: absolute; left: 0; top: 0; color: var(--gold); font-weight: 700;
}
.sub-note { font-size: 14px; color: #888; margin-top: 5px; }

/* 3. 임금 요건 테이블 */
.wage-table-wrap { margin-top: 20px; overflow-x: auto; }
.wage-table {
    width: 100%; border-collapse: collapse; text-align: center;
    border-top: 2px solid #333;
}
.wage-table th { background: #f9f9f9; padding: 15px; font-weight: 700; border-bottom: 1px solid #ddd; color: #333; }
.wage-table td { padding: 15px; border-bottom: 1px solid #eee; color: #555; font-size: 15px; }
.table-note { font-size: 13px; color: #888; margin-top: 10px; text-align: right; }
/* [임금요건 테이블 디자인 수정] */
.info-box-light {
    background: #f9f9f9; border: 1px solid #eee; border-radius: 8px; padding: 15px; margin-bottom: 20px;
}
.wage-table .ref-row td {
    background: #f0f4f8; color: #666; font-size: 14px; /* 기준행은 회색 배경으로 구분 */
}
.check-list-wrap h5 {
    font-size: 18px; color: var(--navy); margin-bottom: 15px; font-weight: 700;
}
/* [임금요건 텍스트 리스트 스타일] */
.wage-guide-list {
    margin-bottom: 20px;
}
.wage-guide-list li {
    margin-bottom: 20px;
    padding-left: 0;
}
/* 파란색 제목 (Blue Title) */
.wage-guide-list .blue-title {
    display: flex; 
    align-items: center;
    font-size: 16px; 
    color: #333; 
    font-weight: 700;
    margin-bottom: 8px;
}
/* 파란색 점 아이콘 */
.wage-guide-list .blue-title::before {
    content: '';
    display: inline-block;
    width: 10px; height: 10px;
    background-color: #2b70c9; /* 파란색 */
    border-radius: 50%;
    margin-right: 10px;
}
/* 설명 텍스트 */
.arrow-desc {
    padding-left: 20px; /* 들여쓰기 */
    font-size: 15px; 
    color: #555; 
    line-height: 1.5;
    word-break: keep-all;
}

/* 실무 기준 박스 */
.practical-standard {
    background: #f8f9fa;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 15px 20px;
    margin-top: 10px;
    margin-left: 20px; /* 들여쓰기 */
}
.ps-item {
    margin-bottom: 10px;
    font-size: 15px;
    color: #444;
}
.ps-item:last-child { margin-bottom: 0; }
.ps-item strong {
    display: block;
    color: var(--navy);
    margin-bottom: 3px;
}

/* 4. 지원자 자격 요건 (Cards) */
.card-list-container {
    display: flex; justify-content: center; gap: 30px; margin-top: 40px;
}
.card-req {
    flex: 1; background: #fff; border: 1px solid #eee; border-radius: 16px;
    padding: 40px 20px; text-align: center; transition: 0.3s;
}
.card-req:hover { box-shadow: 0 10px 30px rgba(0,0,0,0.1); border-color: var(--navy); }
.card-req .icon { font-size: 40px; color: var(--navy); margin-bottom: 20px; }
.card-req h4 { font-size: 20px; font-weight: 700; margin-bottom: 15px; color: #333; }
.card-req p { font-size: 15px; color: #666; line-height: 1.6; }

/* [특별 자격 요건] - Info Box 내부 리스트 스타일 */
.special-list-simple li {
    margin-bottom: 15px; /* 항목 간 간격 */
    font-size: 15px;
    color: #555;
    line-height: 1.6;
    word-break: keep-all;
}
.special-list-simple li:last-child {
    margin-bottom: 0;
}
.special-list-simple li strong {
    display: block; /* 제목을 윗줄로 분리 */
    color: var(--navy);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 5px;
}

/* 5. 필요 서류 (Documents) */
.bg-navy { background: var(--navy); color: #fff; }
.docs-container { display: flex; gap: 40px; margin-top: 40px; }
.doc-card {
    flex: 1; background: rgba(255,255,255,0.1); padding: 40px; border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.2);
}
.doc-header { display: flex; align-items: center; gap: 15px; margin-bottom: 25px; border-bottom: 1px solid rgba(255,255,255,0.2); padding-bottom: 20px; }
.doc-header i { font-size: 28px; color: var(--gold); }
.doc-header h4 { font-size: 22px; font-weight: 700; color: #fff; margin: 0; }

.doc-list li {
    position: relative; padding-left: 20px; margin-bottom: 12px; font-size: 16px; color: rgba(255,255,255,0.8);
}
.doc-list li::before {
    content: '•'; position: absolute; left: 0; color: var(--gold); font-size: 20px; line-height: 18px;
}

/* 6. Page 3 추가 스타일 (상세 텍스트, 정보 박스) */
.text-content .main-desc { font-size: 16px; color: #333; margin-bottom: 20px; padding-bottom: 15px; border-bottom: 1px solid #eee; }
.detail-list dt { font-weight: 700; color: var(--navy); margin-top: 15px; font-size: 16px; }
.detail-list dd { color: #555; font-size: 15px; margin-left: 0; margin-bottom: 10px; line-height: 1.6; }

.info-box { background: #f0f4f8; padding: 20px; border-radius: 8px; margin-top: 20px; border-left: 4px solid var(--navy); }
.info-box h5 { font-size: 16px; color: var(--navy); margin-bottom: 10px; font-weight: 700; }
.info-box p { font-size: 14px; color: #555; margin: 0; }
.info-box .small-text { font-size: 13px; color: #888; margin-top: 5px; }

/* 7. 특별 요건 리스트 */
.sub-tit-bar { margin-bottom: 20px; border-left: 5px solid var(--gold); padding-left: 15px; }
.sub-tit-bar.mt-60 { margin-top: 60px; }
.sub-tit-bar h4 { font-size: 20px; font-weight: 700; color: #333; display: flex; align-items: center; gap: 10px; }
.sub-tit-bar p { font-size: 14px; color: #666; margin-top: 5px; }

.special-req-list { background: #fff; border: 1px solid #eee; border-radius: 16px; padding: 30px; box-shadow: 0 5px 20px rgba(0,0,0,0.03); }
.special-req-list ul li { display: flex; align-items: flex-start; margin-bottom: 15px; font-size: 15px; line-height: 1.6; color: #444; }
.special-req-list ul li:last-child { margin-bottom: 0; }

.special-req-list .badge { 
    display: inline-block; background: var(--navy); color: #fff; 
    font-size: 12px; font-weight: 700; padding: 4px 8px; border-radius: 4px; 
    margin-right: 12px; min-width: 100px; text-align: center; flex-shrink: 0;
}

/* ==================================================
   [Page 4] 기업 채용 문의 (Contact) - 수정본
   ================================================== */

/* 1. 인증 배너 (간격 축소 수정) */
.cert-banner {
    display: flex;
    align-items: center;
    justify-content: center; /* 내부 내용물 중앙 정렬 */
    gap: 15px; 
    
    background: #fff;
    border: 3px solid #eee;
    border-radius: 20px;
    padding: 40px 20px;
    
    /* ▼ 핵심 수정: 너비를 100%로 줘서 아래 폼과 폭을 똑같이 맞춤 */
    width: 100%; 
    max-width: 900px; 
    
    margin: 0 auto 50px auto; /* 중앙 정렬 */
}

.cert-img {
    flex: 0 0 200px;
    border: 1px solid #ddd;
    padding: 5px;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.cert-img img { width: 100%; display: block; }

.cert-text { text-align: center; flex: 1; }

/* [수정] 텍스트가 이미지를 너무 밀어내지 않게 최대 너비 설정 */
.cert-text h4 {
    font-size: 24px; color: #333; line-height: 1.4; margin-bottom: 20px; font-weight: 500;
    word-break: keep-all; 
}
.cert-text h4 strong { color: var(--navy); font-weight: 800; }

.reg-num { 
    display: inline-block; font-size: 14px; color: #666; 
    background: #f4f6f9; padding: 5px 10px; border-radius: 4px;
    margin-bottom: 15px; font-family: monospace;
}

.cert-check { display: flex; justify-content: center; gap: 20px; }
.cert-check li { font-size: 18px; font-weight: 700; color: #333; display: flex; align-items: center; gap: 8px; }
.cert-check li i { color: var(--navy); font-size: 20px; }

/* 2. 폼 스타일 */
.form-intro { text-align: center; margin-bottom: 40px; }
.form-intro p { font-size: 18px; color: #555; line-height: 1.6; }

.inquiry-form-wrap { max-width: 900px; margin: 0 auto; background: #fff; padding: 0 20px; }

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; 
    gap: 20px 30px;
}
.form-group { display: flex; flex-direction: column; }
.form-group.full { grid-column: span 2; } /* 꽉 차는 칸 */

.form-group label { font-size: 15px; font-weight: 700; color: #333; margin-bottom: 8px; }
.form-group label .req { color: #e74c3c; margin-left: 3px; }
.form-group input, .form-group textarea {
    width: 100%; padding: 15px; border: 1px solid #ddd; border-radius: 8px;
    font-size: 15px; transition: 0.3s; background: #f9f9f9;
}
.form-group input:focus, .form-group textarea:focus {
    border-color: var(--navy); background: #fff; outline: none; box-shadow: 0 0 0 3px rgba(10, 43, 94, 0.1);
}
.form-group textarea { height: 150px; resize: none; }

.form-btn { margin-top: 40px; text-align: center; }
.form-btn button {
    width: 100%; max-width: 400px; background: #2b70c9; color: #fff;
    font-size: 18px; font-weight: 700; padding: 18px 0; border: none; border-radius: 50px;
    cursor: pointer; transition: 0.3s; box-shadow: 0 10px 20px rgba(43, 112, 201, 0.3);
}
.form-btn button:hover { background: var(--navy); transform: translateY(-3px); }

/* ==================================================
   [Page 5] E7 비자 인사이트 & FAQ (Accordion Style)
   ================================================== */

/* 1. 탭 메뉴 & 검색창 */
.board-tab { display: flex; justify-content: center; gap: 10px; margin-bottom: 40px; }
.tab-btn { background: #fff; border: 1px solid #ddd; padding: 12px 30px; font-size: 16px; font-weight: 500; color: #666; border-radius: 50px; cursor: pointer; transition: 0.3s; }
.tab-btn:hover { background: #f9f9f9; color: var(--navy); }
.tab-btn.active { background: var(--navy); color: #fff; border-color: var(--navy); font-weight: 700; }
.tab-content { display: none; }
.tab-content.active { display: block; animation: fadeIn 0.5s; }

.board-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; border-bottom: 2px solid #333; padding-bottom: 15px; }
.total-count { font-size: 15px; color: #555; }
.search-box { position: relative; width: 250px; }
.search-box input { width: 100%; padding: 8px 45px 8px 10px; border: 1px solid #ddd; border-radius: 4px; outline: none; }
.search-box button { position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 44px; 
    height: 44px; display: flex;
    align-items: center;
    justify-content: center; background: none; border: none; font-size: 14px; color: #888; cursor: pointer; }

/* 2. 아코디언 리스트 (본문 스타일 개선) */
.accord-list-wrap, .faq-container { border-top: 2px solid #333; } 

.accord-item, .faq-item { 
    border-bottom: 1px solid #eee; 
    background: #fff; 
}

/* 헤더 (제목 + 날짜 + 화살표) */
.accord-head, .faq-q {
    padding: 25px 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: 0.3s;
}
.accord-head:hover, .faq-q:hover { background: #fcfcfc; }

/* 제목 텍스트 */
.accord-head .title, .faq-q h4 {
    font-size: 16px; font-weight: 500; color: #333; margin: 0;
    flex: 1; padding-right: 20px; line-height: 1.4; word-break: keep-all;
}
.faq-q .q-mark { color: var(--navy); font-weight: 800; font-size: 20px; margin-right: 15px; }

/* 우측 메타 정보 */
.accord-head .meta { display: flex; align-items: center; gap: 20px; flex-shrink: 0; }
.accord-head .date { font-size: 14px; color: #888; font-family: 'Pretendard', sans-serif; }
.toggle-icon { color: #ccc; transition: 0.3s; font-size: 14px; }

/* ▼▼▼ 본문 디자인 (핵심 수정) ▼▼▼ */
.accord-body, .faq-a {
    max-height: 0;
    overflow: hidden;
    background: #f9f9f9; /* 배경색 살짝 밝게 수정 */
    transition: max-height 0.5s ease-in-out; /* 부드럽게 열리도록 시간 조정 */
}

/* [수정 1] p 태그 없이도 글자 스타일 유지되도록 .content 자체에 스타일 적용 */
.accord-body .content, .faq-a p {
    padding: 40px 30px; /* 여백 넉넉하게 */
    font-size: 16px;    /* 글자 크기 키움 */
    line-height: 1.8;   /* 줄간격 시원하게 */
    color: #444;        /* 글자색 */
    border-top: 1px dashed #ddd; 
    word-break: keep-all; /* 단어 단위 줄바꿈 */
}


/* 첫 번째 제목은 위쪽 여백 제거 */
.accord-body .content h2:first-child { margin-top: 0; }

/* [수정 3] 본문 내 강조 박스 스타일 (전화번호 등) */
.accord-body .content strong { color: #333; font-weight: 800; }

/* 활성화(Open) 상태 */
.accord-item.active .accord-head, .faq-item.active .faq-q { background: #f9f9f9; }
.accord-item.active .title, .faq-item.active h4 { font-weight: 700; color: var(--navy); }
.accord-item.active .toggle-icon, .faq-item.active .toggle-icon { transform: rotate(180deg); color: var(--navy); }

/* [수정 4] 최대 높이 제한 해제 (내용 잘림 방지) */
.accord-item.active .accord-body, 
.faq-item.active .faq-a {
    max-height: 10000px; /* 아주 넉넉하게 설정 */
}

/* New 뱃지 */
.badge-new { display: inline-block; background: #e74c3c; color: #fff; font-size: 10px; padding: 1px 5px; border-radius: 3px; vertical-align: middle; margin-left: 5px; }

/* 페이지네이션 */
.board-bottom { margin-top: 30px; display: flex; justify-content: center; }
.pagination { display: flex; gap: 5px; }
.pagination a { width: 35px; height: 35px; display: flex; align-items: center; justify-content: center; border: 1px solid #eee; color: #666; border-radius: 4px; font-size: 14px; transition: 0.3s; }
.pagination a:hover, .pagination a.active { background: var(--navy); color: #fff; border-color: var(--navy); }

/* [카테고리 필터 버튼 스타일] */
.category-filter {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 30px;
}

.cat-btn {
    padding: 10px 20px;
    border: 1px solid #ddd;
    background: #fff;
    color: #666;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: 0.3s;
}

.cat-btn:hover {
    background: #f5f5f5;
    color: #333;
}

.cat-btn.active {
    background: #333; /* 활성화 시 검정색 (또는 파란색) */
    color: #fff;
    border-color: #333;
    font-weight: 700;
}

/* [리스트 내 뱃지 스타일] */
.cat-badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    margin-right: 8px;
    vertical-align: middle;
    position: relative;
    top: -1px;
}

.cat-badge.insight {
    background: #e8f0fe; /* 연한 파랑 */
    color: var(--navy);
}

.cat-badge.news {
    background: #fff0f0; /* 연한 빨강 */
    color: #e74c3c;
}

/* 모바일 대응 */
@media screen and (max-width: 768px) {
    .category-filter { gap: 5px; }
    .cat-btn { padding: 8px 12px; font-size: 13px; }
}


/* ==================================================
   [Mobile] 반응형 통합 (Max-width: 768px)
   ================================================== */
   @media screen and (max-width: 768px) {
    
    /* [Common] Sub Hero */
    .sub-hero { height: 280px; margin-top: 60px; }
    .sub-hero h2 { font-size: 32px; margin-bottom: 10px; }
    .sub-desc { font-size: 15px; } .sub-desc br { display: none; }
    .sub-hero .sub-slogan{font-size: 14px; font-weight: 600;}
    
    /* [Page 1] 회사소개 */
    .intro-desc p { font-size: 14px; padding: 0 10px; }
    .sec-tit h3 {font-size: 29px; padding-bottom:20px; }
    
    /* Value: 가로 배치 */
    .value-grid { flex-direction: row; gap: 5px; } /* 간격 좁힘 */
    .value-item { padding: 20px 10px; }
    .value-item .icon { font-size: 30px; margin-bottom: 15px; }
    .value-item .text h4 { font-size: 13px; word-break: keep-all; } /* 글자 축소 */
    .value-tit p{font-size: 15px;}

    /* History: 3열 */
    .history-list { grid-template-columns: repeat(3, 1fr); gap: 5px; }
    .hist-item { padding: 15px 5px; align-items: center; text-align: center; border-radius: 10px; }
    .hist-icon { font-size: 20px; margin-bottom: 10px; }
    .hist-year { font-size: 14px; margin-bottom: 5px; }
    .hist-content h4 { font-size: 11px; margin-bottom: 5px; height: 30px; overflow: hidden; }
    .hist-content p { display: none; }

    /* CEO, Admin Intro, Certificates 등 기존 유지 */
    .ceo-container { flex-direction: row; align-items: flex-start; gap: 15px; }
    .ceo-img { width: 110px; height: 140px; flex: none; }
    .ceo-txt { text-align: left; display: block; }
    .ceo-txt h3 { text-align: left; font-size: 20px; margin-bottom: 10px; }
    .ceo-txt p { font-size: 13px; line-height: 1.5; text-align: left; margin-bottom: 10px; }
    .ceo-txt .sign { text-align: left; margin-top: 10px; padding-top: 0; border-top: none; font-size: 13px; }
    .ceo-txt .sign strong { font-size: 16px; margin-left: 5px; }

    .admin-container { flex-direction: column-reverse; gap: 30px; text-align: center; }
    .admin-txt { text-align: center; }
    .admin-txt .quote { font-size: 22px; margin-bottom: 30px; }
    .admin-img { width: 130px; height: 160px; flex: none; }
    .cert-grid { grid-template-columns: repeat(3, 1fr); gap: 15px; align-items: center;}
    .cert-item p { font-size: 13px; word-break: keep-all; }


    /* [Page 2] 해외 인재 채용 */
    .nation-grid { gap: 10px; }
    .nation-item { width: calc(50% - 5px); padding: 15px; }
    .nation-item .flag-img { margin-bottom: 12px; width: 90px; height: 60px; }
    .nation-item h4 { font-size: 15px; }
    .ind-group { padding: 25px 20px; margin-bottom: 30px; }
    .ind-header h4 { font-size: 18px; }
    .ind-img { width: 100%; }


    /* ▼▼▼ [Page 3] 채용 절차 (수정: 3개/2개 줄바꿈 배치) ▼▼▼ */
    
    /* 1. 채용 절차 컨테이너 */
    .step-container { 
        flex-direction: row; /* 가로 배치 */
        flex-wrap: wrap; /* 줄바꿈 허용 */
        gap: 5px; /* 간격 최소화 */
        justify-content: center; /* 하단 2개는 중앙 정렬 */
        padding-bottom: 0;
        overflow-x: visible; /* 스크롤 제거 */
    }
    
    /* 각 단계 박스 (한 줄에 3개 들어가도록 계산) */
    .step-item { 
        width: calc(33.33% - 4px); /* 3등분 */
        min-width: auto; 
        padding: 15px 5px; 
        box-shadow: 0 3px 10px rgba(0,0,0,0.05); 
        border: 1px solid #eee;
        border-radius: 8px;
        flex: none; /* 크기 강제 고정 */
        margin-bottom: 5px; /* 위아래 간격 */
    }
    
    /* 공간 확보를 위해 화살표는 숨김 (순서는 번호로 확인 가능) */
    .step-arrow { display: none; }
    
    /* 내용 크기 축소 */
    .step-icon { width: 35px; height: 35px; font-size: 16px; margin-bottom: 8px; }
    .step-txt .step-num { font-size: 10px; margin-bottom: 3px; letter-spacing: 0; }
    .step-txt h4 { font-size: 11px; margin-bottom: 3px; letter-spacing: -1px; word-break: keep-all; }
    .step-txt p { font-size: 10px; line-height: 1.2; letter-spacing: -0.5px; display: block; }
    
    /* 2. 기업 요건 체크리스트 & 임금 테이블 */
    .req-grid { flex-direction: column; gap: 20px; } /* 여긴 내용이 많아 세로 유지 */
    .req-box { padding: 30px 15px; }
    .wage-table th, .wage-table td { font-size: 11px; padding: 8px 4px; letter-spacing: -0.5px; }
    
    /* 3. 지원자 요건 카드 (3개 가로 배치) */
    .card-list-container { 
        flex-direction: row; /* 가로 배치 */
        gap: 5px; /* 간격 최소화 */
    }
    
    .card-req { 
        padding: 20px 5px; /* 내부 여백 축소 */
        flex: 1; /* 균등 분배 */
        border-radius: 10px;
    }
    
    .card-req .icon { font-size: 24px; margin-bottom: 10px; } /* 아이콘 축소 */
    .card-req h4 { font-size: 13px; margin-bottom: 5px; height: 32px; display: flex; align-items: center; justify-content: center; line-height: 1.2; } /* 제목 축소 */
    .card-req p { font-size: 11px; line-height: 1.4; letter-spacing: -0.5px; } /* 본문 축소 */
    
    /* 4. 필요 서류 목록 (2개 가로 배치) */
    .docs-container { 
        flex-direction: row; /* 가로 배치 */
        gap: 8px; 
    }
    .doc-card { 
        padding: 20px 10px; 
        flex: 1; /* 50:50 분배 */
    }
    .doc-header { gap: 8px; margin-bottom: 15px; padding-bottom: 10px; justify-content: center; }
    .doc-header i { font-size: 20px; }
    .doc-header h4 { font-size: 14px; }
    
    .doc-list li { 
        font-size: 11px; /* 글자 크기 축소 */
        padding-left: 12px; 
        margin-bottom: 5px;
        line-height: 1.4;
    }
    .doc-list li::before { font-size: 12px; line-height: 14px; }

    /* 특별 요건 리스트 (텍스트 줄임) */
    .special-req-list ul li { flex-direction: column; gap: 5px; font-size: 13px; }
    .special-req-list .badge { width: fit-content; margin-bottom: 5px; font-size: 11px; }
    /* [모바일] 기업 채용 문의 (Contact) */
    
   /* 인증 배너: 이미지 2개를 위로 올리고 나란히 배치 */
   .cert-banner { 
    flex-direction: row; /* 가로 배치 유지하되 줄바꿈 허용 */
    flex-wrap: wrap; 
    padding: 30px 15px; 
    gap: 15px;
}

/* 이미지 스타일 */
.cert-img { 
    order: 1; /* [핵심] 순서를 1번으로 당김 */
    width: calc(50% - 8px); /* 한 줄에 2개 (반반) */
    flex: none; /* 크기 고정 */
}

/* 텍스트 스타일 */
.cert-text { 
    order: 2; /* [핵심] 순서를 2번으로 밀어냄 */
    width: 100%; /* 한 줄 꽉 차게 */
    margin-top: 10px;
}

.cert-text h4 { font-size: 16px; margin-bottom: 15px; }
.cert-check { flex-direction: column; gap: 8px; }
.cert-check li { font-size: 14px; justify-content: center; }
.reg-num { font-size: 12px; }

/* 폼 관련 모바일 */
.form-intro p { font-size: 14px; padding: 0 10px; word-break: keep-all; }
.inquiry-form-wrap { padding: 0; }
.form-grid { grid-template-columns: 1fr; gap: 15px; } 
.form-group.full { grid-column: span 1; }
.form-group input, .form-group textarea { padding: 12px; font-size: 14px; }
.form-btn button { width: 60%; max-width: none; border-radius: 50px; margin-top: -24px;}


/* [Page 5] E7 비자 인사이트 (모바일) */
    .board-tab { gap: 5px; }
    .tab-btn { padding: 10px 10px; font-size: 13px; flex: 1; text-align: center; }
    
    .accord-head, .faq-q { padding: 20px 15px; }
    .accord-head .title, .faq-q h4 { font-size: 15px; padding-right: 10px; }
    .accord-head .date { font-size: 12px; }
    .accord-head .meta { gap: 10px; }
    
    /* 모바일 본문 스타일 */
    .accord-body .content, .faq-a p { 
        padding: 25px 20px; 
        font-size: 14px; /* 글자 크기 살짝 줄임 */
        line-height: 1.6;
    }

    /* ▼▼▼ [핵심 수정] 본문 내 이미지 반응형 처리 ▼▼▼ */
    .accord-body .content img, 
    .faq-a p img {
        max-width: 100%; /* 너비가 화면을 넘지 않도록 제한 */
        height: auto;    /* 비율 유지하며 높이 자동 조절 */
        display: block;  /* 블록 요소로 변경 (가운데 정렬 등 용이) */
        margin: 20px auto; /* 위아래 여백 + 가운데 정렬 */
    }
}

/* 이미지 비율 유지 (찌그러짐 방지) */
img {
    object-fit: cover;
}

/* 혹시 특정 클래스(img-cover)만 적용하고 싶다면 아래 주석을 풀고 쓰세요 */
/* .img-cover { object-fit: cover; } */

/* 본문 글자 진하게 만들기 (가독성 확보) */
p, span, li, dd {
    
    /* 줄 간격을 넉넉하게 줘서 읽기 편하게 만듭니다 */
    line-height: 1.6; 
}

/* 클릭 가능한 모든 요소에 손가락 커서 표시 */
button, 
.btn, 
a {
    cursor: pointer;
}