/* sub2.css - 회사소개 및 추가 서브 페이지 스타일 */

/* 회사소개 공통 */
#sub.greeting .con01,
#sub.management .con01,
#sub.history .con01,
#sub.social .con01,
#sub.recruit .con01 {
    padding: 80px 0;
}

/* 텍스트 스타일 */
#sub .tit_box {
    text-align: center;
    margin-bottom: 60px;
}

#sub .tit_box h3 {
    font-size: 40px;
    font-weight: 700;
    color: #222222;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}

#sub .tit_box p {
    font-size: 20px;
    line-height: 1.6em;
    color: #6B6B6B;
}

/* 컨텐츠 박스 */
#sub .content_box {
    padding: 60px;
    background-color: #F8FAFB;
    border-radius: 20px;
    margin-bottom: 40px;
}

#sub .content_box h4 {
    font-size: 28px;
    font-weight: 700;
    color: #222222;
    margin-bottom: 30px;
}

#sub .content_box p {
    font-size: 18px;
    line-height: 1.8em;
    color: #5A5A5A;
}

/* 카드 리스트 */
#sub .card_list {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 40px;
}

#sub .card_list .card_item {
    width: calc(33.333% - 20px);
    padding: 40px 30px;
    background-color: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
}

#sub .card_list .card_item:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

#sub .card_list .card_item .icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
}

#sub .card_list .card_item h5 {
    font-size: 22px;
    font-weight: 700;
    color: #222222;
    margin-bottom: 15px;
}

#sub .card_list .card_item p {
    font-size: 16px;
    line-height: 1.6em;
    color: #6B6B6B;
}

/* 타임라인 스타일 (연혁) */
#sub.history .timeline {
    position: relative;
    padding-left: 60px;
}

#sub.history .timeline:before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: #E1E8EF;
}

#sub.history .timeline_item {
    position: relative;
    margin-bottom: 40px;
}

#sub.history .timeline_item:before {
    content: '';
    position: absolute;
    left: -52px;
    top: 5px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #1E6FC9;
    border: 3px solid #fff;
    box-shadow: 0 0 0 2px #1E6FC9;
}

#sub.history .timeline_item .year {
    font-size: 24px;
    font-weight: 700;
    color: #1E6FC9;
    margin-bottom: 15px;
}

#sub.history .timeline_item .content {
    padding: 20px;
    background-color: #F8FAFB;
    border-radius: 12px;
}

#sub.history .timeline_item .content p {
    font-size: 16px;
    line-height: 1.8em;
    color: #5A5A5A;
    margin-bottom: 8px;
}

/* 이미지 갤러리 */
#sub .img_gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

#sub .img_gallery .img_item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    aspect-ratio: 4/3;
}

#sub .img_gallery .img_item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

#sub .img_gallery .img_item:hover img {
    transform: scale(1.1);
}

/* 통계 박스 */
#sub .stats_box {
    display: flex;
    gap: 30px;
    margin-top: 60px;
}

#sub .stats_box .stat_item {
    flex: 1;
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #1E6FC9 0%, #2D9DFF 100%);
    border-radius: 16px;
}

#sub .stats_box .stat_item .number {
    font-size: 48px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}

#sub .stats_box .stat_item .label {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
}

/* 테이블 스타일 */
#sub .info_table {
    width: 100%;
    margin-top: 40px;
    border-collapse: collapse;
}

#sub .info_table th,
#sub .info_table td {
    padding: 20px;
    text-align: left;
    border-bottom: 1px solid #E1E8EF;
}

#sub .info_table th {
    font-size: 16px;
    font-weight: 600;
    color: #222222;
    background-color: #F8FAFB;
    width: 200px;
}

#sub .info_table td {
    font-size: 16px;
    color: #5A5A5A;
}

/* 버튼 스타일 */
#sub .btn_wrap {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 60px;
}

#sub .btn_wrap .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 56px;
    padding: 0 40px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s;
    cursor: pointer;
}

#sub .btn_wrap .btn.btn_primary {
    background-color: #1E6FC9;
    color: #fff;
    border: none;
}

#sub .btn_wrap .btn.btn_primary:hover {
    background-color: #1659A8;
}

#sub .btn_wrap .btn.btn_outline {
    background-color: transparent;
    color: #1E6FC9;
    border: 1px solid #1E6FC9;
}

#sub .btn_wrap .btn.btn_outline:hover {
    background-color: #1E6FC9;
    color: #fff;
}

/* 채용 페이지 */
#sub.recruit .job_list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 40px;
}

#sub.recruit .job_item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px;
    background-color: #fff;
    border: 1px solid #E1E8EF;
    border-radius: 12px;
    transition: all 0.3s;
}

#sub.recruit .job_item:hover {
    border-color: #1E6FC9;
    box-shadow: 0 4px 20px rgba(30, 111, 201, 0.1);
}

#sub.recruit .job_item .job_info h5 {
    font-size: 20px;
    font-weight: 700;
    color: #222222;
    margin-bottom: 10px;
}

#sub.recruit .job_item .job_info p {
    font-size: 16px;
    color: #6B6B6B;
}

#sub.recruit .job_item .apply_btn {
    padding: 12px 30px;
    background-color: #1E6FC9;
    color: #fff;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s;
}

#sub.recruit .job_item .apply_btn:hover {
    background-color: #1659A8;
}

/* 반응형 */
@media (max-width: 1024px) {
    #sub .card_list .card_item {
        width: calc(50% - 15px);
    }

    #sub .img_gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    #sub .card_list .card_item {
        width: 100%;
    }

    #sub .img_gallery {
        grid-template-columns: 1fr;
    }

    #sub .stats_box {
        flex-direction: column;
    }

    #sub .tit_box h3 {
        font-size: 32px;
    }

    #sub .content_box {
        padding: 40px 30px;
    }
}
