:root {
    --card-bg: #f2f2f2;
    --header-blue: #2f6cc0;
    --text-color: #333;
    --border-color: #ccc;
}

.content{
    margin: 50px 0;
    padding-top: 50px;
    border-top: 1px solid #e5e7eb;
}
.content_first{
    padding:0;
    border:0;
}
.flex_wrap{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    text-align: center;
    gap:10px;
}
.flex_con{
    width:calc(20% - 10px);
    position: relative;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(18, 34, 78, .08);
    padding: 22px 22px 20px 22px;
    transition: transform .18s ease, box-shadow .18s ease;
    border: 2px solid #953ceb;
    border-right: 20px solid #953ceb;
}
.flex_con .flex_sub_title{
    font-size:1.8rem;
    font-weight:600;
    color:#953ceb
}
@media (max-width: 1340px) {
    .flex_con{
        width:calc(25% - 10px);
    }
}
@media (max-width: 820px) {
    .flex_con{
        width:calc(33% - 10px);
    }
}
@media (max-width: 640px) {
    .flex_con{
        width:calc(50% - 10px);
    }
}
@media (max-width: 420px) {
    .flex_con{
        width:calc(100%);
    }
}

.ksservice_content {
    display: flex;
    align-items: stretch; /* 높이 맞춤 */
    gap: 20px;
    max-width: 1000px;
    width: 100%;
}

/* 1. 좌측 로고 영역 */
.logo-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-right: 30px;
}

/* KS 로고 원형 (CSS로 구현) */
.ks-circle {
    width: 100px;
    height: 100px;
    border: 5px solid #6fa8dc;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 40px;
    font-weight: 900;
    color: #2f6cc0;
    margin-bottom: 10px;
    background-color: white;
    position: relative;
}

.logo-text {
    font-weight: bold;
    color: #2f6cc0;
    font-size: 1.8rem;
}

/* 화살표 (삼각형) */
.arrow-right {
    position: absolute;
    right: -30px;
    top: 50%;
    transform: translateY(-50%);
    width: 0; 
    height: 0; 
    border-top: 20px solid transparent;
    border-bottom: 20px solid transparent;
    border-left: 20px solid #d9d9d9;
}
/* 화살표 내부 흰색 처리 (라인만 보이게 하려면 이중 겹침 필요하나 심플하게 회색으로 처리) */


/* 2. 우측 카드 영역 */
.card-container {
    display: flex;
    gap: 15px;
    flex: 1;
}

.card {
    flex: 1;
    background-color: var(--card-bg);
    border-radius: 10px;
    overflow: hidden; /* 헤더 둥글게 */
    box-shadow: 0 3px 6px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
}

.card-header {
    background-color: var(--header-blue);
    color: white;
    padding: 15px;
    text-align: center;
    font-weight: bold;
    font-size: 1.6rem;
    margin: 15px 15px 0 15px; /* 내부 여백 */
    border-radius: 5px !important;
}

.card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    flex: 1;
}

.list-item {
    padding: 12px 0;
    border-bottom: 1px dotted #999; /* 점선 구분선 */
    font-size: 1.6rem;
    line-height: 1.5;
    color: #333;
    word-break: keep-all;
}

.list-item:last-child {
    border-bottom: none;
}
.ks-process{
    padding-top:15px;
}
/* 반응형: 모바일에서 세로 배치 */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
        align-items: center;
    }
    .logo-section {
        margin-right: 0;
        margin-bottom: 30px;
        flex-direction: row;
        gap: 10px;
    }
    .arrow-right {
        right: auto;
        left: 50%;
        top: auto;
        bottom: -30px;
        transform: translateX(-50%) rotate(90deg); /* 아래로 회전 */
        display: none; /* 모바일엔 화살표 숨김 추천 */
    }
    .card-container {
        flex-direction: column;
        width: 100%;
    }
    .ksservice_content{flex-direction: column;}
}
.table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid #e6e6e6;
    border-radius:8px;
    font-size: 1.6rem;
    margin-bottom:50px;
  }
  .people-table {
    width: 100%;
    min-width: 500px;
    border-collapse: collapse;
    table-layout: fixed;
  }
  .people-table caption { position: absolute; left: -9999px; }
  .people-table thead th {
    position: sticky; top: 0; z-index: 1;
    background: #f7f7f8; color: #111; text-align: center;
    font-weight: 700; padding: 14px 16px; border-bottom: 1px solid #e6e6e6;
    border-left: 1px solid #e6e6e6;
  }
  .people-table thead th:first-child {  
    border-left: 0;}
  .people-table td {
    vertical-align: top;
    padding: 14px 16px;
    border-bottom: 1px solid #e6e6e6;
    word-break: keep-all;
    border-left: 1px solid #e6e6e6;
    text-align: center;
  }
  .people-table thead tr:last-child th:first-child{
    border-left: 1px solid #e6e6e6;
  }
  .people-table tbody tr:nth-child(even) { background: var(--rowAlt); }
  .people-table tbody tr:hover { background: #f2f7ff; }
  .people-table td:first-child {  font-weight: 600;    text-align: center;
      vertical-align: middle;
      border-left: 0; color: #111;}
  .people-table td:nth-child(2) { text-align: center;
      vertical-align: middle;color: #111; }
  .bio { margin: 0; padding: 0 0 0 18px; }
  .bio li { margin: 2px 0; list-style: none; }
  .people-table tr:last-child td { border-bottom: 0; }
  @media (max-width: 480px) {
 
    .people-table thead th, .people-table td { padding: 16px 14px; }
  }