@charset "utf-8";

.greeting .wid {
    max-width: 1200px;
    margin: 70px auto;
}

.greeting h2 {
    font-size: 2.2em;
    color: #222;
    font-weight: 600;
    text-align: center;
    position: relative;
    font-family: 'IBMPlexSansKR-Regular';
}

.greeting h2 b {
    color: #005cc3;
    font-weight: 600;
}

.greeting h2 br {
    display: none
}


.greeting img {
    display: block;
    width: 100%;
}

.greeting table {
    margin-top: 35px;
    border-collapse: collapse;
    width: 100%;
    border-top: 3px solid #005cc3;
}

.greeting table th {
    padding: 12px 0;
    text-align: center;
    font-size: 1.4em;
    font-weight: 500;
    color: #333;
    background: #e5f0fc;
    border: 1px solid #c9d7e7;
    width: 10%;
}

.greeting table td {
    padding: 12px 15px;
    text-align: left;
    font-weight: 300;
    color: #444;
    font-size: 1.3em;
    border: 1px solid #d3d3d3;
    width: 30%;
}

.greeting .con_flex {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    padding: 35px;
    border: 1px solid #e3e8ef;
    background: #f7f9fc;
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}

.greeting .con_image {
    flex: 3;
    min-height: 360px;
    position: relative;
    overflow: hidden;
}

.greeting .con_image img {
    border-radius: 16px;
    background: linear-gradient(135deg, #e8f1ff 0%, #f7fbff 55%, #ffffff 100%);
    border: 1px solid #d7e6fb;
}

/* .greeting .con_image::after {
        content: '';
        position: absolute;
        inset: 18px;
        border: 2px dashed #c7d7f2;
        border-radius: 12px;
        opacity: 0.6;
    } */

.greeting .con_txt {
    flex: 7;
    font-size: 1.25em;
    line-height: 1.9;
    color: #2a2f36;
    word-break: keep-all;
}

.greeting .con_txt p {
    word-break: keep-all;
}

.greeting .con_txt b {
    display: inline-block;
    color: #005cc3;
    font-weight: 700;
    /* margin-bottom: 8px; */
}

.greeting .con_txt strong {
    color: #0f2a55;
    font-weight: 700;
}

.greeting .con_txt h3 {
    font-size: 1.35em;
    font-weight: 700;
    color: #0f2a55;
    margin-top: 24px;
    margin-bottom: 14px;
    line-height: 1.5;
    padding-left: 14px;
    border-left: 4px solid #005cc3;
    letter-spacing: -0.01em;
}

.greeting .sign {
    margin-top: 8px;
    font-size: 16px;
    font-weight: 600;
    color: #000;
    text-align: right;
    letter-spacing: 0.02em;
    text-align: center;
}

@media screen and (max-width:1200px) {
    .greeting {
        padding: 0 15px;
    }

    .greeting img {
        width: 100%;
    }

    .greeting table th {
        min-width: 110px;
    }

    .greeting table {
        margin-top: 20px;
    }

    .greeting .con_flex {
        padding: 28px;
        gap: 24px;
    }

    .greeting .con_image {
        min-height: 300px;
    }
}

@media screen and (max-width:550px) {
    .greeting .wid {
        margin: 50px auto;
    }

    .greeting table th {
        font-size: 1.1em;
        min-width: 65px;
    }

    .greeting table td {
        font-size: 1em;
    }

    .greeting h2 {
        font-size: 1.6em;
        line-height: 1.4em;
    }

    .greeting h2 br {
        display: block;
    }


    .greeting .con_flex {
        flex-direction: column;
        padding: 22px;
        gap: 18px;
    }

    .greeting .con_image {
        min-height: 220px;
    }

    .greeting .con_txt {
        font-size: 1.1em;
        line-height: 1.8;
    }
}


.purpose .wid {
    max-width: 1200px;
    margin: 70px auto;
}

.purpose h2 {
    font-size: 2.2em;
    color: #222;
    font-weight: 600;
    text-align: center;
    position: relative;
    font-family: 'IBMPlexSansKR-Regular';
}

.purpose h2 b {
    color: #005cc3;
    font-weight: 600;
}

.purpose h2 br {
    display: none
}

br.mobile-only {
    display: none;
}

.purpose img {
    display: block;
    width: 100%;
}

.purpose table {
    margin-top: 35px;
    border-collapse: collapse;
    width: 100%;
    border-top: 3px solid #005cc3;
}

.purpose table th {
    padding: 12px 0;
    text-align: center;
    font-size: 1.4em;
    font-weight: 500;
    color: #333;
    background: #e5f0fc;
    border: 1px solid #c9d7e7;
    width: 10%;
}

.purpose table td {
    padding: 12px 15px;
    text-align: left;
    font-weight: 300;
    color: #444;
    font-size: 1.3em;
    border: 1px solid #d3d3d3;
    width: 30%;
}

.purpose .con_flex {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
    padding: 35px;
    border: 1px solid #e3e8ef;
    background: #f7f9fc;
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}

.purpose .con_image {
    flex: 3;
    min-height: auto;
    height: auto;
}

.purpose .con_image img {
    display: block;
    margin: 0 auto;
    width: 100%;
    height: auto;
    border-radius: 0;
    background: none;
    border: 0;
}

/* .purpose .con_image::after {
        content: '';
        position: absolute;
        inset: 18px;
        border: 2px dashed #c7d7f2;
        border-radius: 12px;
        opacity: 0.6;
    } */

.purpose .con_txt {
    flex: 7;
    font-size: 1.25em;
    line-height: 1.9;
    color: #2a2f36;
    word-break: keep-all;
    text-align: center;
}

.purpose .con_txt p {
    word-break: keep-all;
}

.purpose .con_txt b {
    display: inline-block;
    color: #005cc3;
    font-weight: 700;
    /* margin-bottom: 8px; */
}

.purpose .con_txt strong {
    color: #0f2a55;
    font-weight: 700;
}

.purpose .con_txt h3 {
    font-size: 1.35em;
    font-weight: 700;
    color: #0f2a55;
    margin-top: 24px;
    margin-bottom: 14px;
    line-height: 1.5;
    padding-left: 14px;
    /* border-left: 4px solid #005cc3; */
    letter-spacing: -0.01em;
}

.purpose .sign {
    margin-top: 8px;
    font-size: 16px;
    font-weight: 600;
    color: #000;
    text-align: right;
    letter-spacing: 0.02em;
    text-align: center;
}



.history .wid {
    max-width: 1200px;
    margin: 70px auto;
}

.history h2 {
    font-size: 2.2em;
    color: #222;
    font-weight: 600;
    text-align: center;
    position: relative;
    font-family: 'IBMPlexSansKR-Regular';
}

.history h2 b {
    color: #005cc3;
    font-weight: 600;
}

.history h2 br {
    display: none
}



.history img {
    display: block;
    width: 100%;
}

.history table {
    margin-top: 35px;
    border-collapse: collapse;
    width: 100%;
    border-top: 3px solid #005cc3;
}

.history table th {
    padding: 12px 0;
    text-align: center;
    font-size: 1.4em;
    font-weight: 500;
    color: #333;
    background: #e5f0fc;
    border: 1px solid #c9d7e7;
    width: 10%;
}

.history table td {
    padding: 12px 15px;
    text-align: left;
    font-weight: 300;
    color: #444;
    font-size: 1.3em;
    border: 1px solid #d3d3d3;
    width: 30%;
}

.history .con_flex {
    display: flex;
    flex-direction: column;
    gap: 30px;
    /* align-items: center; */
    padding: 35px;
    border: 1px solid #e3e8ef;
    background: #f7f9fc;
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}

.history .con_image {
    flex: 3;
    min-height: auto;
    height: auto;
}

.history .con_image img {
    display: block;
    margin: 0 auto;
    width: 100%;
    height: auto;
    border-radius: 0;
    background: none;
    border: 0;
}

/* .history .con_image::after {
        content: '';
        position: absolute;
        inset: 18px;
        border: 2px dashed #c7d7f2;
        border-radius: 12px;
        opacity: 0.6;
    } */

.history .con_txt {
    flex: 7;
    font-size: 1.25em;
    line-height: 1.9;
    color: #2a2f36;
    word-break: keep-all;
    text-align: center;
}

.history .con_txt p {
    word-break: keep-all;
}

.history .con_txt b {
    display: inline-block;
    color: #005cc3;
    font-weight: 700;
    /* margin-bottom: 8px; */
}

.history .con_txt strong {
    color: #0f2a55;
    font-weight: 700;
}

.history .con_txt h3 {
    font-size: 1.35em;
    font-weight: 700;
    color: #0f2a55;
    margin-top: 24px;
    margin-bottom: 14px;
    line-height: 1.5;
    padding-left: 14px;
    /* border-left: 4px solid #005cc3; */
    letter-spacing: -0.01em;
}

.history .sign {
    margin-top: 8px;
    font-size: 16px;
    font-weight: 600;
    color: #000;
    text-align: right;
    letter-spacing: 0.02em;
    text-align: center;
}

/* 타임라인 스타일 */
.history .table_area {
    margin-top: 40px;
    position: relative;
    padding: 40px 0;
}

.history .table_area::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, #005cc3, #e8f1ff);
    transform: translateX(-50%);
}

.history .timeline-item {
    margin-bottom: 50px;
    position: relative;
    display: flex;
    align-items: center;
}

.history .timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
}

.history .timeline-item::before {
    content: '';
    position: absolute;
    left: 50%;
    width: 18px;
    height: 18px;
    background: #fff;
    border: 4px solid #005cc3;
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.history .timeline-content {
    width: calc(50% - 40px);
    padding: 20px 25px;
    background: #f7f9fc;
    border: 1px solid #e3e8ef;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.history .timeline-item:nth-child(odd) .timeline-content {
    /* margin-right: 40px; */
    text-align: right;
}

.history .timeline-item:nth-child(even) .timeline-content {
    /* margin-left: 40px; */
    text-align: left;
}

.history .timeline-date {
    font-size: 1.4em;
    font-weight: 700;
    color: #005cc3;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.history .timeline-text {
    font-size: 1.1em;
    line-height: 1.6;
    color: #2a2f36;
    font-weight: 500;
}


@media screen and (max-width:1200px) {
    .greeting {
        padding: 0 15px;
    }

    .greeting img {
        width: 100%;
    }

    .greeting table th {
        min-width: 110px;
    }

    .greeting table {
        margin-top: 20px;
    }

    .greeting .con_flex {
        padding: 28px;
        gap: 24px;
    }

    .greeting .con_image {
        min-height: 300px;
    }

    .purpose {
        padding: 0 15px;
    }

    .purpose img {
        width: 100%;
    }

    .purpose table th {
        min-width: 110px;
    }

    .purpose table {
        margin-top: 20px;
    }

    .purpose .con_flex {
        padding: 28px;
        gap: 24px;
    }

    .history {
        padding: 0 15px;
    }

    .history img {
        width: 100%;
    }

    .history table th {
        min-width: 110px;
    }

    .history table {
        margin-top: 20px;
    }

    .history .con_flex {
        padding: 28px;
        gap: 24px;
    }

    .history .table_area::before {
        left: 25px;
    }

    .history .timeline-item {
        flex-direction: row !important;
    }

    .history .timeline-item::before {
        left: 25px;
    }

    .history .timeline-content {
        width: calc(100% - 75px);
        margin-left: 50px !important;
        text-align: left !important;
    }
}

@media screen and (max-width:550px) {
    .greeting .wid {
        margin: 50px auto;
    }

    .greeting table th {
        font-size: 1.1em;
        min-width: 65px;
    }

    .greeting table td {
        font-size: 1em;
    }

    .greeting h2 {
        font-size: 1.6em;
        line-height: 1.4em;
    }

    .greeting h2 br {
        display: block;
    }

    .greeting .con_flex {
        flex-direction: column;
        padding: 22px;
        gap: 18px;
    }

    .greeting .con_image {
        min-height: 220px;
    }

    .greeting .con_txt {
        font-size: 1.1em;
        line-height: 1.8;
    }

    .purpose .wid {
        margin: 50px auto;
    }

    .purpose table th {
        font-size: 1.1em;
        min-width: 65px;
    }

    .purpose table td {
        font-size: 1em;
    }

    .purpose h2 {
        font-size: 1.6em;
        line-height: 1.4em;
    }

    .purpose h2 br {
        display: block;
    }

    br.mobile-only {
        display: block;
    }

    .purpose .con_flex {
        flex-direction: column;
        padding: 22px;
        gap: 18px;
    }

    .purpose .con_txt {
        font-size: 1.1em;
        line-height: 1.8;
    }

    .purpose .con_txt h3 {
        text-align: left;
        padding-left: 0;
    }

    .purpose .con_txt p {
        text-align: left;
    }

    .history .wid {
        margin: 50px auto;
    }

    .history table th {
        font-size: 1.1em;
        min-width: 65px;
    }

    .history table td {
        font-size: 1em;
    }

    .history h2 {
        font-size: 1.6em;
        line-height: 1.4em;
    }

    .history h2 br {
        display: block;
    }



    .history .con_flex {
        flex-direction: column;
        padding: 22px;
        gap: 18px;
    }



    .history .con_txt {
        font-size: 1.1em;
        line-height: 1.8;
    }

    .history .con_txt h3 {
        text-align: left;
        padding-left: 0;
    }

    .history .con_txt p {
        text-align: left;
    }

    .history .table_area::before {
        left: 20px;
    }

    .history .timeline-item::before {
        left: 20px;
    }

    .history .timeline-date {
        font-size: 1.2em;
    }

    .history .timeline-text {
        font-size: 1em;
    }

    .history .timeline-content {
        padding: 16px 18px;
        font-size: 0.95em;
    }
}


.branch .wid {
    max-width: 1200px;
    margin: 70px auto;
}

.branch h2 {
    font-size: 2.2em;
    color: #222;
    font-weight: 600;
    text-align: center;
    position: relative;
    font-family: 'IBMPlexSansKR-Regular';
}

.branch h2 b {
    color: #005cc3;
    font-weight: 600;
}

.branch h2 br {
    display: none
}


.branch img {
    display: block;
    width: 100%;
}

.branch table {
    margin-top: 35px;
    border-collapse: collapse;
    width: 100%;
    border-top: 3px solid #005cc3;
}

.branch table th {
    padding: 12px 0;
    text-align: center;
    font-size: 1.4em;
    font-weight: 500;
    color: #333;
    background: #e5f0fc;
    border: 1px solid #c9d7e7;
    width: 10%;
}

.branch table td {
    padding: 12px 15px;
    text-align: left;
    font-weight: 300;
    color: #444;
    font-size: 1.3em;
    border: 1px solid #d3d3d3;
    width: 30%;
}

.branch .con_flex {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    padding: 35px;
    border: 1px solid #e3e8ef;
    background: #f7f9fc;
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}

.branch .con_image {
    flex: 3;
    min-height: 360px;
    position: relative;
    overflow: hidden;
}

.branch .con_image img {
    border-radius: 16px;
    background: linear-gradient(135deg, #e8f1ff 0%, #f7fbff 55%, #ffffff 100%);
    border: 1px solid #d7e6fb;
}

/* .branch .con_image::after {
        content: '';
        position: absolute;
        inset: 18px;
        border: 2px dashed #c7d7f2;
        border-radius: 12px;
        opacity: 0.6;
    } */

.branch .con_txt {
    flex: 7;
    font-size: 1.25em;
    line-height: 1.9;
    color: #2a2f36;
    word-break: keep-all;
}

.branch .con_txt p {
    word-break: keep-all;
}

.branch .con_txt b {
    display: inline-block;
    color: #005cc3;
    font-weight: 700;
    /* margin-bottom: 8px; */
}

.branch .con_txt strong {
    color: #0f2a55;
    font-weight: 700;
}

.branch .con_txt h3 {
    font-size: 1.35em;
    font-weight: 700;
    color: #0f2a55;
    margin-top: 24px;
    margin-bottom: 14px;
    line-height: 1.5;
    padding-left: 14px;
    border-left: 4px solid #005cc3;
    letter-spacing: -0.01em;
}

.branch .sign {
    margin-top: 8px;
    font-size: 16px;
    font-weight: 600;
    color: #000;
    text-align: right;
    letter-spacing: 0.02em;
    text-align: center;
}

/* 산하시설 및 지회 영역 스타일 */
.branch_area {
    margin-top: 50px;
}

.branch .branch_tabs {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    border-bottom: 2px solid #e3e8ef;
    padding-bottom: 0;
}

.branch .branch_tabs a {
    padding: 16px 28px;
    font-size: 1.1em;
    font-weight: 600;
    color: #666;
    background: transparent;
    border: 2px solid transparent;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    bottom: -2px;
    display: inline-block;
    text-decoration: none;
}

.branch .branch_tabs a:hover {
    color: #005cc3;
}

.branch .branch_tabs a.active {
    color: #005cc3;
    border-bottom-color: #005cc3;
}

.branch .branch_content {
    display: none;
}

.branch .branch_content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.branch .facility-title,
.branch .branch-title {
    font-size: 1.35em;
    font-weight: 700;
    color: #0f2a55;
    margin-bottom: 20px;
    padding-left: 14px;
    border-left: 4px solid #005cc3;
    letter-spacing: -0.01em;
}

.branch .items-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.branch .item-card {
    padding: 20px;
    background: #fff;
    border: 1px solid #e3e8ef;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.branch .item-card:hover {
    box-shadow: 0 8px 24px rgba(0, 87, 195, 0.15);
    transform: translateY(-2px);
    border-color: #005cc3;
}

.branch .item-name {
    font-size: 1.25em;
    font-weight: 700;
    color: #005cc3;
    line-height: 1.9;
    word-break: keep-all;
}

@media screen and (max-width:1200px) {
    .branch {
        padding: 0 15px;
    }

    .branch img {
        width: 100%;
    }

    .branch table th {
        min-width: 110px;
    }

    .branch table {
        margin-top: 20px;
    }

    .branch .con_flex {
        padding: 28px;
        gap: 24px;
    }

    .branch .con_image {
        min-height: 300px;
    }
}

@media screen and (max-width:550px) {
    .branch .wid {
        margin: 50px auto;
    }

    .branch table th {
        font-size: 1.1em;
        min-width: 65px;
    }

    .branch table td {
        font-size: 1em;
    }

    .branch h2 {
        font-size: 1.6em;
        line-height: 1.4em;
    }

    .branch h2 br {
        display: block;
    }



    .branch .con_flex {
        flex-direction: column;
        padding: 22px;
        gap: 18px;
    }

    .branch .con_image {
        min-height: 220px;
    }

    .branch .con_txt {
        font-size: 1.1em;
        line-height: 1.8;
    }

    .branch .branch_tabs {
        gap: 10px;
        margin-bottom: 20px;
    }

    .branch .branch_tabs a {
        padding: 12px 18px;
        font-size: 0.95em;
    }

    .branch .items-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-bottom: 30px;
    }

    .branch_content.bran .items-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .branch .item-card {
        padding: 16px;
    }

    .branch .item-name {
        font-size: 1.1em;
        line-height: 1.8;
    }

    .branch .facility-title,
    .branch .branch-title {
        font-size: 1.2em;
        margin-bottom: 15px;
        padding-left: 12px;
        border-left: 3px solid #005cc3;
    }
}