@charset "utf-8";

/* 모바일 전용 줄바꿈 */
.mobile-only {
    display: none;
}

@media (max-width: 1024px) {
    .mobile-only {
        display: block;
    }
}

/* 조직도 섹션 전체 */
.organization-section {
    width: 100%;
    background-color: #f9f9f9;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 헤더 섹션 */
.organization-header-section {
    width: 100%;
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    padding: 120px 0;
    box-sizing: border-box;
}

.organization-header-container {
    width: 817px;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
    padding: 0;
    box-sizing: border-box;
}

.organization-header-content {
    width: 100%;
    height: 303.519px;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.organization-header-icon {
    width: 91px;
    height: 129px;
    min-width: 91px;
    min-height: 129px;
    position: relative;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.organization-header-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.organization-header-text {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
    text-align: center;
    line-height: 0;
    font-style: normal;
}

.organization-title {
    font-family: 'Paperlogy', sans-serif;
    font-weight: 700;
    font-size: 64px;
    line-height: 1.3;
    color: #000000;
    margin: 0;
    padding: 0;
    width: 817px;
    text-align: center;
}

.organization-title-highlight {
    color: #003179;
}

.organization-subtitle {
    font-family: 'Paperlogy', sans-serif;
    font-weight: 300;
    font-size: 32px;
    line-height: 1.5;
    color: #000000;
    margin: 0;
    padding: 0;
    width: 817px;
    text-align: center;
}

/* 탭 메뉴 섹션 */
.background-tab-section {
    width: 100%;
    margin-top: -20px;
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    padding: 0;
    box-sizing: border-box;
}

.background-tab-container {
    width: 1420px;
    max-width: 100%;
    display: flex;
    justify-content: center;
    padding: 0;
    box-sizing: border-box;
}

.background-tabs {
    width: 1420px;
    max-width: 100%;
    display: flex;
    gap: 0;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    padding: 0;
    box-sizing: border-box;
    background-color: #ffffff;
    border: 1px solid #dddddd;
    border-radius: 12px;
    overflow: hidden;
}

.background-tab {
    font-family: 'Pretendard', sans-serif;
    font-weight: 400;
    font-size: 24px;
    line-height: 1.8;
    color: #000000;
    text-decoration: none;
    padding: 24px 0;
    margin: 0;
    flex: 1;
    text-align: center;
    position: relative;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
}

.background-tab:not(:last-child) {
    border-right: 1px solid #dddddd;
}

.background-tab.active {
    font-weight: 800;
    color: #ffffff;
    background: linear-gradient(169.117deg, rgb(0, 49, 121) 0%, rgb(0, 70, 172) 50%, rgb(2, 71, 172) 100%);
    border-radius: 12px;
}

.background-tab.active:not(:last-child) {
    border-right: none;
}

/* 이미지 섹션 */
.organization-image-section {
    width: 100%;
    background-color: #ffffff;
    border-bottom-left-radius: 60px;
    border-bottom-right-radius: 60px;
    box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.2);
    box-shadow: 0 25px 20px -25px rgba(0, 0, 0, 0.18);
    display: flex;
    justify-content: center;
    padding: 0 0 120px 0;
    box-sizing: border-box;
}

.organization-image-container {
    width: 1420px;
    max-width: 100%;
    display: flex;
    justify-content: center;
    padding: 80px 0 0 0;
    box-sizing: border-box;
}

.organization-image {
    width: 1420px;
    height: 400px;
    max-width: 100%;
    border-radius: 20px;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* 조직도 섹션 */
.organization-chart-section {
    width: 100%;
    background-color: #f9f9f9;
    display: flex;
    justify-content: center;
    padding: 120px 0;
    box-sizing: border-box;
}

.organization-chart-container {
    width: 1420px;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    gap: 180px;
    align-items: flex-start;
    padding: 0;
    box-sizing: border-box;
}

.organization-chart-item {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: flex-start;
    box-sizing: border-box;
}

.organization-chart-header {
    width: 100%;
    display: flex;
    gap: 40px;
    align-items: flex-start;
    padding: 0;
    box-sizing: border-box;
}

.organization-chart-title-icon {
    width: 10px;
    height: 166px;
    min-width: 10px;
    min-height: 166px;
    background-color: #0046ac;
    flex-shrink: 0;
}

.organization-chart-title {
    font-family: 'Paperlogy', sans-serif;
    font-weight: 700;
    font-size: 64px;
    line-height: 1.3;
    color: #000000;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    align-items: flex-start;
}

.organization-chart-title-highlight {
    color: #0046ac;
}

.organization-chart-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: flex-start;
    padding: 0;
    box-sizing: border-box;
}

.organization-chart-subtitle {
    font-family: 'Paperlogy', sans-serif;
    font-weight: 800;
    font-size: 32px;
    line-height: 1.5;
    color: #003179;
    margin: 0;
    padding: 0;
    margin-left: 28px;
}

.organization-chart-subtitle ul {
    margin: 0;
    padding: 0;
    list-style: none;
    margin-left: -1.5em;
}

.organization-chart-subtitle li {
    list-style: disc;
    margin-left: 48px;
}

.organization-chart-image {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    object-fit: contain;
}

/* 연락처 정보 섹션 */
.organization-contact-section {
    width: 100%;
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    padding: 120px 221px 200px 221px;
    box-sizing: border-box;
}

.organization-contact-container {
    width: 1420px;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    gap: 68px;
    align-items: flex-start;
    padding: 0;
    box-sizing: border-box;
}

.organization-contact-header {
    width: 100%;
    display: flex;
    gap: 40px;
    align-items: flex-start;
    padding: 0;
    box-sizing: border-box;
}

.organization-contact-table-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
    box-sizing: border-box;
}

.organization-contact-table-header {
    width: 100%;
    background-color: #ffffff;
    display: flex;
    gap: 1px;
    align-items: center;
    height: 86px;
    box-sizing: border-box;
}

.organization-contact-table-header-cell {
    flex: 1 1 0;
    background-color: #003179;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 0;
    box-sizing: border-box;
    min-width: 0;
    min-height: 86px;
}

.organization-contact-table-header-cell:first-child {
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
}

.organization-contact-table-header-cell:last-child {
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
}

.organization-contact-table-header-cell.role-header {
    flex: 0 0 468px;
    width: 468px;
}

.organization-contact-table-header-cell-text {
    font-family: 'Paperlogy', sans-serif;
    font-weight: 800;
    font-size: 24px;
    line-height: 1.5;
    color: #ffffff;
    text-align: center;
    margin: 0;
    padding: 0;
}

.organization-contact-table-header-cell.name-header .organization-contact-table-header-cell-text {
    color: #f9f9f9;
}

.organization-contact-table-rows {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
    box-sizing: border-box;
}

.organization-contact-table-row {
    width: 100%;
    background-color: #ddd;
    display: flex;
    gap: 1px;
    align-items: center;
    border-radius: 20px;
    box-sizing: border-box;
}

.organization-contact-table-row-cell {
    flex: 1 1 0;
    background-color: #f9f9f9;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 0;
    box-sizing: border-box;
    min-width: 0;
}

.organization-contact-table-row-cell:first-child {
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
}

.organization-contact-table-row-cell:last-child {
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
}

.organization-contact-table-row-cell.role-cell {
    flex: 0 0 468px;
    width: 468px;
    justify-content: flex-start;
    padding: 20px 40px;
}

.organization-contact-table-row-cell.position-cell {
    font-family: 'Pretendard', sans-serif;
    font-weight: 800;
    font-size: 16px;
    line-height: 1.5;
    color: #000000;
    text-align: center;
}

.organization-contact-table-row-cell-text {
    font-family: 'Pretendard', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
    color: #000000;
    text-align: center;
    margin: 0;
    padding: 0;
}

.organization-contact-table-row-cell-role {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
    justify-content: center;
    font-family: 'Pretendard', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
    color: #000000;
    text-align: left;
}

.organization-contact-table-row-cell-role ul {
    margin: 0;
    padding: 0;
    list-style: none;
    margin-left: -1.5em;
}

.organization-contact-table-row-cell-role ul li {
    list-style: disc;
    margin-left: 24px;
}

/* 모바일용 카드 (PC에서 숨김) */
.organization-contact-mobile-cards {
    display: none;
}

/* 모바일용 카드 스타일 */
.organization-contact-mobile-card {
    background-color: #f9f9f9;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 20px;
    box-sizing: border-box;
}

.organization-contact-mobile-card:last-child {
    margin-bottom: 0;
}

.organization-contact-mobile-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 16px;
    font-family: 'Pretendard', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
    color: #000000;
}

.organization-contact-mobile-item:last-of-type {
    margin-bottom: 20px;
}

.organization-contact-mobile-label {
    font-weight: 800;
    flex-shrink: 0;
}

.organization-contact-mobile-value {
    flex: 1;
    word-break: break-all;
}

.organization-contact-mobile-role {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #dddddd;
}

.organization-contact-mobile-role-title {
    font-family: 'Pretendard', sans-serif;
    font-weight: 800;
    font-size: 16px;
    line-height: 1.5;
    color: #000000;
    margin: 0 0 12px 0;
    padding: 0;
}

.organization-contact-mobile-role-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.organization-contact-mobile-role-list li {
    font-family: 'Pretendard', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
    color: #000000;
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.organization-contact-mobile-role-list li:before {
    content: '-';
    position: absolute;
    left: 0;
}

.organization-contact-mobile-role-list li:last-child {
    margin-bottom: 0;
}

/* 모바일 반응형 (1024px 이하) */
@media (max-width: 1024px) {
    .organization-section {
        overflow-x: hidden;
    }

    .organization-header-section {
        padding: 60px 0;
    }

    .organization-header-container {
        width: 100%;
        max-width: 100%;
        padding: 0 20px;
        box-sizing: border-box;
    }

    .organization-header-content {
        height: auto;
        min-height: auto;
        gap: 16px;
    }

    .organization-header-icon {
        width: 60px;
        height: 85px;
        min-width: 60px;
        min-height: 85px;
    }

    .organization-header-text {
        gap: 12px;
    }

    .organization-title {
        font-size: 30px;
        width: 100%;
    }

    .organization-subtitle {
        font-size: 20px;
        width: 100%;
    }

    .background-tab-section {
        padding: 0 20px;
        box-sizing: border-box;
    }

    .background-tab-container {
        width: 100%;
        max-width: 100%;
        padding: 0;
        box-sizing: border-box;
    }

    .background-tabs {
        width: 100%;
        max-width: 100%;
        flex-direction: row;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .background-tabs::-webkit-scrollbar {
        display: none;
    }

    .background-tab {
        font-size: 18px;
        padding: 16px 0;
        flex: 1;
        min-width: fit-content;
        white-space: nowrap;
        border-right: 1px solid #dddddd;
        border-bottom: none;
    }

    .background-tab:last-child {
        border-right: none;
    }

    .background-tab.active:not(:last-child) {
        border-right: none;
    }

    .organization-image-section {
        padding: 0 0 60px 0;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
    }

    .organization-image-container {
        width: 100%;
        max-width: 100%;
        padding: 40px 20px 0;
        box-sizing: border-box;
    }

    .organization-image {
        width: 100%;
        max-width: 100%;
        height: auto;
        min-height: 200px;
    }

    .organization-chart-section {
        padding: 60px 0;
    }

    .organization-chart-container {
        width: 100%;
        max-width: 100%;
        gap: 40px;
        padding: 0 20px;
        box-sizing: border-box;
    }

    .organization-chart-item {
        width: 100%;
        max-width: 100%;
    }

    .organization-chart-header {
        gap: 16px;
    }

    .organization-chart-title-icon {
        width: 6px;
        height: 80px;
        min-width: 6px;
        min-height: 80px;
    }

    .organization-chart-title {
        font-size: 30px;
    }

    .organization-chart-content {
        gap: 20px;
    }

    .organization-chart-subtitle {
        font-size: 20px;
        margin-left: 22px;
    }

    .organization-chart-subtitle li {
        margin-left: 24px;
    }

    .organization-contact-section {
        padding: 60px 20px 80px;
        box-sizing: border-box;
    }

    .organization-contact-container {
        width: 100%;
        max-width: 100%;
        gap: 40px;
        padding: 0;
        box-sizing: border-box;
    }

    .organization-contact-header {
        gap: 16px;
    }

    /* PC용 테이블 숨김 */
    .organization-contact-table-wrapper {
        display: none;
    }

    /* 모바일용 카드 표시 */
    .organization-contact-mobile-cards {
        display: flex;
        flex-direction: column;
        gap: 20px;
        width: 100%;
        box-sizing: border-box;
    }
}

