@charset "utf-8";

.sub_con {
    margin-bottom: 0
}

.sub_con section+section {
    padding-top: var(--sub_pd)
}

/* 상단 로고 구도 */
.top {
    display: flex;
    gap: 7rem;
}

.top_le {
    width: 55%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.top_le strong {
    font-size: 30px;
}

.top_le p {
    margin-top: 1rem;
    color: #686868;
}

.top_le p span {
    color: var(--color-main);
}

.top_le .logo {
    width: 100%;
}

.top_le .logo img {
    width: 100%
}

.imgbox {
    width: 45%;
}

.imgbox img {
    width: 100%;
}

/* 미션/비전 3열 레이아웃 */
.mv-container {
    display: flex;
    justify-content: space-around;
    text-align: center;
    gap: 4rem;
}

.mv-item {
    flex: 1;
    padding: 0 20px;
}

.mv-item .icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.mv-item strong {
    font-size: 30px;
    color: #0088cc;
    margin-bottom: 15px;
    border-bottom: 4px solid #003D7D;
    display: inline-block;
    padding: 0 10px;
    font-weight: 800;
}

.mv-item p {
    color: #222;
    font-weight: 500
}

/* 히스토리 중앙 정렬 구도 */
.history-section {
    position: relative;
}

.history-title {
    text-align: center;
    font-size: 30px;
    margin-bottom: 60px;
    text-align: left;
}

.timeline-container {
    position: relative;
    width: 100%;
}

/* 중앙 수직 라인 */
.vertical-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: .5px;
    background-color: #686868;
    transform: translateX(-50%);
}

.vertical-line:after {
    content: "▼";
    position: absolute;
    bottom: 0;
    font-size: 50px;
    margin-bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    color: #686868
}

.timeline-row {
    width: 100%;
    margin-bottom: 50px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 5rem;
    gap: 20px;
}

.timeline-row:last-of-type .history-img {
    position: relative;
}

.timeline-row:after {
    content: "";
    position: absolute;
    border: 2px solid #686868;
    width: 20px;
    height: 20px;
    background-color: #fff;
    border-radius: 50%;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    margin-top: 20px;
}

.timeline-row:before {
    content: "";
    position: absolute;
    background-color: #000;
    width: 80px;
    height: 1px;
    right: 50%;
    top: 30px;
}

.timeline-row.right:before {
    right: unset;
    left: 50%
}


/* 왼쪽 아이템 구도 */
.timeline-row.left {
    padding-right: calc(50% + 100px);
    text-align: right;
    align-items: flex-end;
}

/* 오른쪽 아이템 구도 */
.timeline-row.right {
    padding-left: calc(50% + 100px);
    text-align: left;
}

/* 년도 마커 (라인 위의 점) */
.year-marker {
    /* position: absolute; */
    /* left: 50%; */
    /* transform: translateX(-50%); */
    /* padding: 5px 15px; */
    font-weight: bold;
    font-size: 35px;
    position: relative;
}

.timeline-row.left .year-marker {

    /* 라인 왼쪽에 배치 */
    text-align: right;
}

.timeline-row.right .year-marker {
    /* margin-left: 60px; */
    /* 라인 오른쪽에 배치 */
    /* padding-left: 100px; */
}

.year-marker:before {
    content: "";
    position: absolute;
    background-color: #000;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    left: -20px;
    top: 60%;
    transform: translateY(-50%);
}

.timeline-row.left .year-marker:before {
    left: calc(100% + 20px);
}

.history-content {
    /* padding: 20px 40px; */
    width: 100%;
    /* padding-left: 100px; */
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.timeline-row.left .history-content {
    padding-left: unset;
    display: flex;
    flex-direction: row-reverse;
}

.history-content span {
    width: 50px;
    color: #959595;
    padding: 5px 0;
    font-size: .95em;
}

.history-content ul {
    width: calc(100% - 50px);
}

.history-content ul li {
    color: #686868;
    font-size: 16px;
    padding: 5px 0;
    word-break: auto-phrase;
}

.history-img {
    width: 380px;
    position: absolute;
    top: 100%;
    margin-top: 20px;
}

.history-img img {
    width: 100%;
}

.timeline-row.left .history-img {
    border: 1px solid #e6e6e6;
}

.img-caption {
    text-align: center;
    background-color: #E6E6E6;
    padding: .5rem 2rem;
    width: 100%;
}

.img-caption p {
    text-align: center;
    word-break: keep-all;
}

/* PC */
@media only screen and (min-width:1280px) and (max-width: 1400px) {}

/* 테블릿 가로, 테블릿 세로 (해상도 768px ~ 1024px)*/
@media all and (max-width:1024px) {}

/* 모바일 가로, 모바일 세로 (해상도 480px ~ 767px)*/
@media all and (max-width:767px) {
    .top {
        flex-wrap: wrap;
        gap: 2rem;
    }

    .top_le strong {
        font-size: 24px
    }

    .top_le,
    .imgbox {
        width: 100%;
        gap: 2rem;
    }

    .top_le p br {
        display: none
    }

    .mv-container {
        flex-wrap: wrap;
        gap: 2rem;
    }

    .mv-item {
        padding: 0;
        flex: none;
    }

    .mv-item .icon {
        margin-bottom: 0
    }

    .mv-item .icon img {
        width: 50%
    }

    .vertical-line {
        /* display: none; */
        left: 3px;
    }

    .timeline-container {
        padding-bottom: 20px;
    }

    .timeline-row {
        margin-bottom: 2rem
    }

    .timeline-row.right {
        padding-left: 20px;
    }

    .timeline-row.left {
        padding: 0;
        text-align: left;
        align-items: flex-start;
        padding-left: 20px;
    }
    .timeline-row.left .history-content {
    flex-direction: row;
}
    .timeline-row.left .year-marker {}

    .history-img {
        position: relative;
        width: 100%
    }

    .history-img img {
        width: 100%
    }

    .timeline-row:before,
    .timeline-row:after {
        display: none;
    }

    .timeline-row.left .year-marker:before {
        left: -20px;
    }

    .history-content span {
        width: 45px;
    }

    .img-caption {
        padding: 10px
    }

    .img-caption p {
        font-size: .9em
    }
}