@charset "utf-8";

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

/* 연혁 헤더 섹션 */
.background-header-section {
    width: 100%;
    background-color: #ffffff;
    /* box-shadow: 0px 2px 20px 0px rgba(0, 0, 0, 0.08); */
    display: flex;
    justify-content: center;
    padding: 120px 0;
    box-sizing: border-box;
}

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

.background-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;
}

.background-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;
}

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

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

.background-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;
}

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

.background-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-card-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 140px 0;
    box-sizing: border-box;
}

.background-card-container {
    width: 1420px;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: flex-start;
    padding: 80px 0 0 0;
    box-sizing: border-box;
}

.background-card {
    width: 1420px;
    height: 281px;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-sizing: border-box;
}

.background-card-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 1420px;
    height: 281px;
    min-width: 1420px;
    min-height: 281px;
    z-index: 0;
    overflow: hidden;
}

.background-card-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.background-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1;
    border-radius: 20px;
}

.background-card-content {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
    justify-content: center;
    padding: 60px;
    box-sizing: border-box;
}

.background-card-text {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
    line-height: 0;
    font-style: normal;
}

.background-card-title {
    font-family: 'Paperlogy', sans-serif;
    font-weight: 700;
    font-size: 0;
    line-height: 1.3;
    color: #ffffff;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.background-card-title-line1 {
    font-family: 'Paperlogy', sans-serif;
    font-weight: 300;
    font-size: 48px;
    line-height: 1.1;
    color: #ffffff;
    margin: 0;
    padding: 0;
}

.background-card-title-line2 {
    font-family: 'Paperlogy', sans-serif;
    font-weight: 700;
    font-size: 48px;
    line-height: 1.3;
    color: #ffffff;
    margin: 0;
    padding: 0;
}

.background-card-subtitle {
    font-family: 'Paperlogy', sans-serif;
    font-weight: 300;
    font-size: 24px;
    line-height: 1.5;
    color: #ffffff;
    margin: 0;
    padding: 0;
}

.background-card-button {
    background-color: #ffffff;
    border-radius: 1000px;
    padding: 6px 16px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
}

.background-card-button span {
    font-family: 'Pretendard', sans-serif;
    font-weight: 800;
    font-size: 16px;
    line-height: 1.5;
    color: #003179;
    margin: 0;
    padding: 0;
}

/* 타임라인 섹션 */
.background-timeline-section {
    width: 100%;
    min-height: 1800px;
    display: flex;
    justify-content: center;
    padding: 180px 0;
    box-sizing: border-box;
    position: relative;
}

.background-timeline-container {
    width: 1420px;
    max-width: 100%;
    position: relative;
    box-sizing: border-box;
    padding: 0;
    margin: 0 auto;
}

.background-timeline-bg {
    position: absolute;
    right: 0;
    bottom: 100px;
    z-index: 0;
    pointer-events: none;
    height: 1400px;
    overflow: hidden;
}

.background-timeline-bg-image {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    display: block;
}

.background-timeline-header {
    width: 100%;
    display: flex;
    gap: 40px;
    align-items: flex-start;
    padding: 0;
    margin-bottom: 80px;
    box-sizing: border-box;
    position: relative;
    z-index: 1;
}

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

.background-timeline-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;
}

.background-timeline-title-highlight {
    color: #0046ac;
}

.background-timeline-line {
    position: absolute;
    left: 0px;
    top: 267px;
    width: 1px;
    min-width: 1px;
    background-color: #DDD;
    z-index: 1;
    height: calc(100% - 380px);
}

.background-timeline-items {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
    box-sizing: border-box;
    z-index: 1;
}

.background-timeline-item {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 90px;
    padding: 0;
    margin: 0;
    margin-bottom: 86px;
    box-sizing: border-box;
}

.background-timeline-dot {
    position: absolute;
    left: -7px;
    top: 22px;
    width: 14px;
    height: 14px;
    min-width: 14px;
    min-height: 14px;
    background-color: #D9D9D9;
    border-radius: 50%;
    border: 1px solid #ffffff;
    z-index: 2;
    flex-shrink: 0;
}

.background-timeline-item:first-child .background-timeline-dot {
    background-color: #0046ac;
}



.background-timeline-year {
    font-family: 'Paperlogy', sans-serif;
    font-weight: 700;
    font-size: 48px;
    line-height: 1.3;
    color: #000000;
    margin: 0;
    padding: 0;
    width: 240px;
    text-align: right;
    flex-shrink: 0;
}

.background-timeline-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex: 1;
    box-sizing: border-box;
    font-family: 'Pretendard', sans-serif;
    font-size: 20px;
    line-height: 0;
    font-style: normal;
    color: #000000;
}

.background-timeline-event {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 40px;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.background-timeline-event:not(:last-child) {
    margin-bottom: 0;
}

.background-timeline-date {
    font-weight: 800;
    font-size: 20px;
    line-height: 1.5;
    color: #000000;
    width: 100px;
    flex-shrink: 0;
    margin: 0;
    padding: 0;
}

.background-timeline-text {
    font-weight: 400;
    font-size: 20px;
    line-height: 1.8;
    color: #000000;
    margin: 0;
    padding: 0;
    flex: 1;
}

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

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

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

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

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

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

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

    .background-card-section {
        border-bottom-left-radius: 30px;
        border-bottom-right-radius: 30px;
        padding: 0 0 60px 0;
    }

    .background-card-container {
        width: 100%;
        padding: 40px 20px 0 20px;
        gap: 20px;
        box-sizing: border-box;
    }

    .background-card {
        width: 100%;
        max-width: 100%;
        height: auto;
        min-height: 200px;
    }

    .background-card-image {
        width: 100%;
        min-width: 100%;
        height: 100%;
        min-height: 100%;
    }

    .background-card-content {
        padding: 40px 24px;
        gap: 12px;
    }

    .background-card-title-line1 {
        font-size: 24px;
    }

    .background-card-title-line2 {
        font-size: 24px;
    }

    .background-card-subtitle {
        font-size: 18px;
    }

    .background-card-button {
        padding: 6px 12px;
    }

    .background-card-button span {
        font-size: 14px;
    }

    .background-timeline-section {
        padding: 60px 0 40px;
        min-height: auto;
    }

    .background-timeline-container {
        width: 100%;
        padding: 0 20px;
        box-sizing: border-box;
    }

    .background-timeline-bg {
        display: none;
    }

    .background-timeline-header {
        gap: 16px;
        margin-bottom: 40px;
    }

    .background-timeline-title-icon {
        width: 6px;
        height: 60px;
        min-width: 6px;
        min-height: 80px;
    }

    .background-timeline-title {
        font-size: 30px;
    }

    .background-timeline-line {
        display: none;
        left: 20px;
        top: 150px;
        height: calc(100% - 200px);
    }

    .background-timeline-items {
        padding-left: 0;
    }

    .background-timeline-item {
        gap: 20px;
        margin-bottom: 40px;
        flex-direction: column;
        align-items: flex-start;
    }

    .background-timeline-dot {
        left: 0;
        top: 10px;
    }

    .background-timeline-year {
        width: 100%;
        font-size: 24px;
        text-align: left;
        padding-left: 20px;
        margin-bottom: 12px;
    }

    .background-timeline-content {
        width: 100%;
        padding-left: 20px;
        gap: 16px;
        font-size: 18px;
    }

    .background-timeline-event {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .background-timeline-date {
        font-size: 18px;
        width: auto;
    }

    .background-timeline-text {
        font-size: 18px;
    }
}

