.bg__left.company-history{
    width: 100%;
    height: 100%;
    padding: 5em 0;
    overflow-x: hidden;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
    filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.05));
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    overflow: hidden;
}
.company-history .bg-title {
    background: var(--bg-highlight);
}
.company-history .bg-title h2{
    font-size: 3.2em;
}
.history__line{
    height: 200px;
    display: flex;
    align-content: center;
    align-items: center;
    position: relative;
    width: 100%;
}
.history__line .hr{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: 6px;
    background: var(--main-color);
    margin: auto;
}
.history__up{
    display: flex;
    width: 100%;
    height: 15em;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 2em;
    align-items: flex-end;
    position: relative;
    right: 12%;
}
.history__down{
    display: flex;
    width: 100%;
    height: 15em;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 2em;
    align-items: flex-start;
}
.about-us__company-history{
    left: 6%;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100%;
    margin-top: 5em;
    padding-bottom: 10em;
    /* top: 40%;
    left: 50%;
    transform: translate(-50%, 50%);
    opacity: 0;
    transition: all 0.65s ease-out; */
}
.section.active .about-us__company-history{
    opacity: 1;
    transform: translate(-50%, -50%);
}
.history__up .history-box__front{
    width: 100%;
    position: absolute;
    bottom: 0;
}
.history__down .history-box__front{
    width: 100%;
}
.history-box__front .img-area{
    display: inline-block;
    position: relative;
    padding: 0.5em 1em;
    background: var(--white2);
    border: 4px solid var(--main-color);
    border-radius: 2em;
    width: 100%;
    text-align: center;
}
.history__up .history-box::after{
    content: "";
    width: 105px;
    height: 4px;
    position: absolute;
    bottom: -55px;
    left: 0;
    right: 0;
    margin: auto;
    transform: rotate(90deg);
    background: var(--main-color);
}
.history__up .history-box{
    width: 25%;
    height: 100%;
}
.history__down .history-box{
    width: 25%;
    height: 100%;
}
.history-box{
    position: relative;
}
.history__up .history-box::before{
    content: "";
    width: 40px;
    height: 40px;
    position: absolute;
    bottom: -123px;
    left: 39%;
    right: 39%;
    background: var(--bg-highlight);
    margin: auto;
    border-radius: 50%;
    z-index: 999;
}
.history-box__front .img-area img{
    padding: 0.5em 0;
    height: 8em;
}
.history__up .year-area{
    position: absolute;
    left: 0;
    right: 0;
    bottom: -150px;
    width: fit-content;
    margin: auto;
}
.year-area h2{
    color: var(--main-color);
    font-weight: 700;
    font-size: 2.2em;
}
.history__down .history-box::before{
    content: "";
    width: 40px;
    height: 40px;
    position: absolute;
    top: -117px;
    left: 40%;
    right: 39%;
    background: var(--bg-highlight);
    z-index: 2;
    margin: auto;
    border-radius: 50%;
}
.history__down .history-box::after{
    content: "";
    width: 105px;
    height: 4px;
    position: absolute;
    top: -55px;
    left: 0;
    right: 0;
    margin: auto;
    transform: rotate(90deg);
    background: var(--main-color);
    z-index: 1;
}
.history__down .year-area{
    position: absolute;
    left: 0;
    right: 0;
    top: -150px;
    width: fit-content;
    margin: auto;
}
.history__down .history-box__front{
    position: relative;
}
.history-box__after h4{
    padding: 0.9em;
    font-weight: 400;
    font-size: 1.8em;
    line-height: 1.5em;
    letter-spacing: 0.028em;
    color: var(--third-color);
    text-align: center;
}
.history__up .history-box__after {
    background: linear-gradient(360deg, #8FD2EE 0%, rgba(129, 230, 201, 0.56) 67.38%, rgba(143, 210, 238, 0) 116.16%);
    border-radius: 25px;
    border: 0px solid transparent;
    display: none;
    width: 100%;
    position: absolute;
    bottom: 0;
}
.history__down .history-box__after {
    background: linear-gradient(360deg, #8FD2EE 0%, rgba(129, 230, 201, 0.56) 67.38%, rgba(143, 210, 238, 0) 116.16%);
    border-radius: 25px;
    border: 0px solid transparent;
    display: none;
    width: 100%;
}
.history-box:hover .history-box__front{
    display: none;
}
.history-box:hover .history-box__after{
    display: flex;
}