#history-section {
    width: 100%;
    box-sizing: border-box;
    padding: 100px 0;
    background: #FFF;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 72px;
    overflow: hidden;
}

.history-container {
    width: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 50px;
}

.history-wrap {
    width: 100%;
    box-sizing: border-box;
    padding: 100px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 100px;
    position: relative;
}

.history-hr {
    width: 2px;
    height: 100%;
    border: none;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(to bottom,transparent,#234EEA 15%,#234EEA 85%,transparent);

}

.history-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    position: relative;
}

.history-item.left {
    flex-direction: row-reverse;
}

.history-year {
    width: 60px;
    color: #505050;
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: 130%; /* 26px */
    letter-spacing: -0.5px;
    white-space: nowrap;
    flex-shrink: 0;
}

.history-content {
    width: 600px;
    position: absolute;
}

.history-content div {
    color: #505050;
    font-size: 18px;
    font-weight: 400;
    line-height: 130%; /* 23.4px */
    letter-spacing: -0.45px;
    word-break: keep-all;
}

.history-item.right {
    padding-left: 77px;
}

.history-item.right .history-content {
    left: -539px;
    text-align: right;
}

.history-item.left {
    padding-right: 77px;
}

.history-item.left .history-content {
    right: -539px;
}

.logo-div {
    width: 600px;
    position: absolute;
    top: -130px;
    display: flex;
}

.history-item.left .logo-div {
    right: -539px;
    justify-content: flex-start;
}

.history-item.right .logo-div {
    left: -539px;
    justify-content: flex-end;
}

.initial-logo {
    height: 100px;
}

.history-item:last-child {
    margin-top: 100px;
}

.tab-wrap {
    width: 90%;
    flex-wrap: wrap;
}

@media(max-width: 1280px) {
    #history-section {
        padding: 90px 0;
        gap: 60px;
    }
    .history-container {
        gap: 40px;
    }
    .history-wrap {
        padding: 80px 0;
        gap: 80px;
    }
    .history-content, .logo-div {
        width: 500px;
    }
    .history-item.right .history-content, .history-item.right .logo-div {
        left: -439px;
    }
    .history-item.left .history-content, .history-item.left .logo-div {
        right: -439px;
    }
}

@media(max-width: 1024px) {
    .history-content, .logo-div {
        width: 400px;
    }
    .history-item.right .history-content, .history-item.right .logo-div {
        left: -339px;
    }
    .history-item.left {
        padding-right: 77px;
    }
    .history-item.left .history-content, .history-item.left .logo-div {
        right: -339px;
    }
    .initial-logo {
        height: 80px;
    }
}

@media(max-width: 900px) {
    #history-section {
        padding: 80px 0;
        gap: 50px;
    }
    .history-wrap {
        padding: 70px 0;
        gap: 50px;
        align-items: flex-start;
    }
    .history-content {
        width: fit-content;
        position: static;
        order: 3;
        text-align: left !important;
    }
    .history-item {
        gap: 8px;
        padding: 0 !important;
        justify-content: flex-start !important;
        flex-direction: row !important;
    }
    .history-item>img {
        order: 2;
    }
    .history-year {
        order: 1;
    }
    .logo-div {
        right: unset !important;
        left: 95px !important;
    }
    .history-hr {
        left: 76px;
        transform: none;
    }
    .history-item:last-child {
        margin-top: 51px;
    }
    .logo-div {
        top: -65px;
    }
    .initial-logo {
        height: 60px;
    }
}

@media(max-width: 768px) {
    #history-section {
        padding: 70px 16px;
        gap: 40px;
    }
    .history-container {
        width: 100%;
    }
}

@media(max-width: 650px) {
    .history-item {
        gap: 4px;
    }
    .history-year {
        width: 55px;
        font-size: 18px;
        letter-spacing: -0.45px;
    }
    .history-content div {
        font-size: 16px;
        letter-spacing: -0.4px;
    }
    .history-hr {
        left: 67px;
    }
    .logo-div {
        left: 83px !important;
    }
}

@media(max-width: 480px) {
    .history-year {
        width: 48px;
        font-size: 16px;
        letter-spacing: -0.4px;
    }
    .history-hr {
        left: 60px;
    }
    .logo-div {
        left: 76px !important;
        top: -55px;
    }
    .initial-logo {
        height: 50px;
    }
    .st-tit {
        font-size: 24px;
        letter-spacing: -0.6px;
    }
    .tab-wrap {
        width: 100%;
    }
    .b-tab {
        width: calc(50% - 4px);
        word-break: keep-all;
    }
}

@media(max-width: 400px) {
    .st-tit {
        font-size: 20px;
        letter-spacing: -0.5px;
    }
}

@media(max-width: 370px) {
    .history-wrap { 
        padding: 60px 0;
        gap: 40px;
    }
    .history-year {
        width: 43px;
        font-size: 14px;
        letter-spacing: -0.35px;
    }
    .history-content div {
        font-size: 14px;
        letter-spacing: -0.35px;
    }
    .history-item>img {
        width: 16px;
        height: 16px;
    }
    .history-hr {
        left: 54.4px;
    }
    .logo-div {
        left: 70px !important;
        top: -50px;
    }
    .initial-logo {
        height: 45px;
    }
}

