/*━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

    공통

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━*/

.bullet_list { position: relative; padding-left: 15px; }
.bullet_list::before { content: ''; display: inline-block; position: absolute; left: 0; top: 11.5px; width: 5px; aspect-ratio: 1; background: var(--black-color06); border-radius: 100%; }




/*━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

    회사연혁

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━*/


.history_cont { font-size: var(--title-20); }
.history_cont h4 { font-size: 300%; font-weight: 700; letter-spacing: -0.03em; color: var(--black-color01); text-align: center; }
.history_cont h4 + p { font-size: 100%; font-weight: 400; letter-spacing: -0.04em; color: var(--black-color06); text-align: center; margin-top: 6px; }

.history_cont .history_wrap { position: relative; display: flex; flex-wrap: wrap; align-items: flex-start; box-sizing: border-box; margin-top: 60px; }

.history_cont .img_box { position: sticky; left: 0; top: 180px; width: 50%; padding-right: 140px; margin-top: 20px; box-sizing: border-box; border-radius: 20px; }
.history_cont .img_box .img { position: relative; width: 100%; padding-bottom: 120%; overflow: hidden; border-radius: inherit; }
.history_cont .img_box .history_img { position: absolute; left: 0; top: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 0.5s ease, transform 0.5s ease; border-radius: inherit; }

.history_cont .img_box .history_img.active { opacity: 1; transform: translateY(0); }
.history_cont .img_box .history_img.inactive { opacity: 0; transform: translateY(100%); }

.history_cont .history_box { position: relative; width: 50%; padding-left: 81px; box-sizing: border-box; }
.history_cont .history_box strong { display: block; color: var(--black-color03); font-family: var(--font-type05); font-size: 250%; font-weight: 700; letter-spacing: -0.03em; margin-bottom: 12px; transition: all 0.4s; }
.history_cont .history_box .bullet_list { color: var(--black-color06); font-family: var(--font-type04); font-size: 90%; font-weight: 400; line-height: 1.44; letter-spacing: -0.03em; }

.history_cont .history_box .bullet_list + li { margin-top: 5px; }


.history_cont .history_box ol { padding-top: 8px; }
.history_cont .history_box ol > li + li { margin-top: 71px; }
.history_cont .history_box ol ul { padding-left: 10px; }

.history_cont .history_box ol > li.on strong { color: var(--point-color03); }

.history_cont .history_box::before { content: ''; display: block; position: absolute; left: 0; top: 0; width: 2px; height: 100%; transform: translate(calc(-50% + 1px)); background: var(--border-color01); }

.history_cont .history_box .history_line { display: block; position: absolute; left: 0; top: 0; width: 2px; height: 0; transform: translateX(calc(-50% + 1px)); background: var(--point-color03); }


@media screen and (max-width: 1023px){

    .bullet_list::before { top: 10.5px; }

    .history_cont .history_wrap { margin-top: clamp(20px, 4vw, 40px); }

    .history_cont .img_box { padding-right: 45px; }
    .history_cont .history_box { padding-left: 45px; }
    .history_cont .history_box ol > li + li { margin-top: 60px; }

    
}

@media screen and (max-width: 860px){

    .history_cont h4 { font-size: 270%; }

    .history_cont .history_box strong { margin-bottom: 0px; font-size: 230%; }

    .bullet_list { padding-left: 10px; }
    .bullet_list::before { top: 10.5px; width: 4px; }
}

@media screen and (max-width: 640px){

    .history_cont h4 { font-size: 240%; }
    .history_cont h4 + p { margin-top: 0; }

    .history_cont .history_wrap { gap: 40px; }
    .history_cont .img_box { width: 70%; padding: 0; margin: 0; border-radius: 10px; position: relative; top: 0; }

    .history_cont .img_box .history_img.inactive { opacity: 0; transform: none; }
    .history_cont .img_box .history_img.active { opacity: 0; transform: none; }
    .history_cont .img_box .history_img:nth-of-type(1) { opacity: 1; }


    .history_cont .history_box { width: 100%; padding-left: 20px; }
    .history_cont .history_box ol { padding-top: 0; }
    .history_cont .history_box ol ul { padding-left: 5px; }
    .history_cont .history_box ol > li + li { margin-top: 40px; }
}

@media screen and (max-width: 479px){

    .history_cont h4 { font-size: 210%; }

    .history_cont .history_wrap { gap: 30px; }
    .history_cont .img_box { width: 100%; }

    .history_cont .history_box strong { line-height: 1.3; font-size: 200%; }
    .history_cont .history_box ol ul { padding-left: 0; }
    .history_cont .history_box ol > li + li { margin-top: 30px; }

    .bullet_list::before { width: 3px; top: 9.5px; }
    .bullet_list { padding-left: 8px; }
    
}

@media screen and (max-width: 360px){
    .history_cont .history_box strong { font-size: 180%; }
    
}