/* 언어설정 */
@charset 'utf-8';

@font-face {
    font-family: 'SUIT-Regular';
    src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_suit@1.0/SUIT-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'KCCHyerim-Regular';
    src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/2411-3@1.0/KCCHyerim-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

/* 전체설정 */
* {
    margin: 0;
    padding: 0;
    font-family: 'SUIT-Regular';
}

ul,
ol {
    list-style: none;
}

a {
    text-decoration: none;
    color: var(--main-text);
}

img {
    vertical-align: bottom;
}

html,
body {
    overflow-x: hidden;
    scroll-behavior: smooth;

}

.body {
    max-width: 100%;
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
    /* 스크롤 막기 */
    touch-action: none;
    /* 터치 시 흔들림 방지 (모바일 UX 향상) */
}

/* 색상설정 */
:root {
    --main-navi: #204B62;
    --main-text: #333;
    --main-white: #fff;
}

/* 상세설정 ---------------------------------------------------------------------------- */

main {
    margin-top: 60px;
}

.txt {
    background-image: url(/img/success_bg2.png);
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    width: 100%;
    height: 400px;
    /* 또는 원하는 높이 */
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
}

.txt h1 {
    font-size: 60px;
    margin-top: 50px;
    font-weight: bold;
    display: inline-block;
    color: var(--main-white);
}

.intro-image {
    text-align:center;
    margin: 50px 0px 0px 0px;
}

.intro-image img {
    max-width:100%;
    height:auto;
}

/* 연혁 설정 */

/* 타임라인 기본 구조 */

.timeline {
    position: relative;
    padding: 50px 0;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: #ccc;
    transform: translateX(-50%);
    z-index: 1;
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 20px 40px;
    box-sizing: border-box;
}

.timeline-item.left {
    left: 0;
    text-align: left;
    /* 👈 왼쪽 콘텐츠 정렬 */
}

.timeline-item.right {
    left: 50%;
    text-align: left;
}

.timeline-item .content {
    background: #fff;
    padding: 20px 20px;
    border-radius: 8px;
    position: relative;
    z-index: 2;
}

.timeline-item h2 {
    margin-top: 0;
    font-size: 40px;
    color: #0a5678;
}

.timeline-item ul {
    padding-left: 20px;
    margin: 10px 0 0;
    list-style: circle;
}

.timeline-item ul li {
    margin-bottom: 5px;
    font-size: 18px;
    line-height: 1.8;
    color: #333;
}

.timeline-item ul li img {
    vertical-align: middle;
    margin-left: 5px;
    /* 아이콘과 텍스트 사이 간격 */
    margin-top: -5px;
    height: 20px;
    /* 텍스트 크기에 맞게 조절하고 싶다면 */
}

.timeline-item .con2012 ul {
    margin-bottom: 20px;
}

.timeline-item .con2018 ul {
    margin-bottom: 20px;
}

.timeline-item .con2020 ul {
    margin-bottom: 20px;
}

.timeline-item .con2021 ul {
    margin-bottom: 20px;
}

.timeline-item .con2022 ul {
    margin-bottom: 20px;
}

/* 원형 포인트 */
.timeline-item::before {
    content: "";
    position: absolute;
    top: 20px;
    width: 16px;
    height: 16px;
    background-color: #0a5678;
    border-radius: 50%;
    z-index: 3;
}

.timeline-item.left::before {
    right: -8px;
}

.timeline-item.right::before {
    left: -8px;
}





/* 미디어 쿼리 구간------------------------------------------------------------------------------------- */


/* PC 전용 */
@media screen and (min-width: 1440px) {}

/* 노트북 전용 */
@media screen and (min-width: 1025px) and (max-width: 1439px) {
    .txt h1 {
        font-size: 45px;
        margin-top: 50px;
        font-weight: bold;
        display: inline-block;
        color: var(--main-white);
    }
}

/* 태블릿 전용 */
@media screen and (min-width: 768px) and (max-width: 1024px) {

    .banner1 img {
        margin-top: 40px;  
        width: 800px; 
    }

    .txt h1 {
        font-size: 45px;
        margin-top: 50px;
        font-weight: bold;
        display: inline-block;
        color: var(--main-white);
    }

    .timeline-line {
        left: 20px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 40px;
        padding-right: 20px;
    }

    .timeline-item.left,
    .timeline-item.right {
        left: 0;
    }

    .timeline-item::before {
        left: 0;
        right: auto;
    }

    .timeline-item.left::before {
        margin-left: 12px;
    }
    
    .timeline-item.right::before {
        margin-left: 19px;
    }
    
}

/* 모바일 전용 */
@media screen and (min-width: 481px) and (max-width: 767px) {

    .banner1 img {
        margin-top: 40px;  
        width: 600px; 
    }

    .txt h1 {
        font-size: 40px;
        margin-top: 50px;
        font-weight: bold;
        display: inline-block;
        color: var(--main-white);
    }

    .timeline-item ul li {
        margin-bottom: 5px;
        font-size: 16px;
        line-height: 1.8;
        color: #333;
    }

    .timeline-line {
        left: 20px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 40px;
        padding-right: 20px;
    }

    .timeline-item.left,
    .timeline-item.right {
        left: 0;
    }

    .timeline-item::before {
        left: 0;
        right: auto;
    }

    .timeline-item.left::before {
        margin-left: 12px;
    }
    
    .timeline-item.right::before {
        margin-left: 19px;
    }
}

@media screen and (max-width: 480px) and (orientation: portrait) {

    .txt {
        height: 250px;          /* 배경 영역 축소 */
    }

    .txt h1 {
        font-size: 35px;
        margin-top: 50px;
        font-weight: bold;
        display: inline-block;
        color: var(--main-white);
    }

    .timeline-item ul li {
        margin-bottom: 5px;
        font-size: 12px;
        line-height: 1.8;
        color: #333;
    }

    .profile-img {
        width: 250px;
    }

    .timeline-line {
        left: 10px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 40px;
        padding-right: 0px;
    }

    .timeline-item.left,
    .timeline-item.right {
        left: 0;
    }

    .timeline-item::before {
        left: 0;
        right: auto;
    }

    .timeline-item.left::before {
        margin-left: 2px;
    }
    
    .timeline-item.right::before {
        margin-left: 10px;
    }

    .content {
        margin-left: -20px;
    }
    
}