.main-spot {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.inner {
    padding: 0;
}

.spot-wrap {
    width: 100%;
    height: 100%;
    position: relative;
    background-color: #000;
}

/* 1. 배경 이미지 (가장 뒤) */
.bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.bg-img::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.1) 100%);
}

/* 2. 마스크 기차 컨테이너 (배경 위) */
.train-container {
    position: absolute;
    display: inline-flex;
    top: 0;
    left: -150vw;
    height: 100%;
    z-index: 10;
    font-size: 0;
    white-space: nowrap;
    font-size: 0;
}

.train-container.color-1 .mask-1 {
    background-image: url(../resource_new/img/main/mask_Img1.svg);
}

.train-container.color-1 .mask-2,
.train-container.color-1 .mask-3 {
    background-color: var(--primary-color);
}

.mask-1 {
    margin-right: -1px;
    width: 100vh;
    height: 100%;
    background-repeat: no-repeat;
    background-size: auto 100%;
    background-position: 100% 0;
}

.mask-2 {
    width: 100vw;
    height: 100%;
}

.mask-3 {
    margin-left: -1px;
    width: 50vw;
    height: 100%;
    border-top-right-radius: 50%;
    border-bottom-right-radius: 50%;
}

/* 3. 텍스트 박스 (가장 앞) */
.txt-box {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    color: #fff;
    z-index: 10;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.txt-box h2 {
    margin-top: 150px;
    line-height: 0.9;
}

.txt-box h2 .s-sub {
    display: block;
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 5px;
    opacity: 0.9;
}

.txt-box h2 .s-main {
    display: block;
    font-size: 5.2rem;
    font-weight: var(--fw-bold);
}

br.m-only {
    display: none;
}

.txt-box p {
    font-size: 1.5rem;
    font-weight: 300;
}

/* --------------------------------------------------
 * 1. 기본 레이아웃 (슬라이드 아이템)
 * -------------------------------------------------- */


figure.slide-item {
    position: relative;
    margin: 0;
    padding: 0;
    width: 100%;
    overflow: hidden;
}

/* 이미지 기본 스타일 */
figure.slide-item img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}


/* --------------------------------------------------
 * 2. 이미지 위 인용문(blockquote) 상자
 * -------------------------------------------------- */
.banner-quote {
    position: absolute;
    top: 50%;
    left: 8%;
    /* 배너 왼쪽 여백 (디자인에 따라 조절 가능) */
    transform: translateY(-50%);
    margin: 0;
    padding: 0 0 0 2.5rem;
    /* 좌측 예쁜 따옴표가 들어갈 공간 확보 */
    color: #ffffff;
    /* 이미지 위 흰색 텍스트 */
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    /* 이미지 배경에서도 잘 보이게 그림자 추가 */
    z-index: 2;
}

/* 특정 단어 전용 따옴표 스타일 */
.quote-text::before {
    content: "“";
    font-family: Georgia, "Times New Roman", serif;
    margin-right: 4px;
    opacity: 0.85;
}

.quote-text::after {
    content: "”";
    font-family: Georgia, "Times New Roman", serif;
    margin-left: 4px;
    opacity: 0.85;
}

/* --------------------------------------------------
 * 3. 텍스트 상세 스타일 (s-sub, s-main)
 * -------------------------------------------------- */
/* 서브 문구 (상단 작은 글씨) */
.txt-box .s-sub {
    display: inline-block;
    font-size: 2rem;
    font-weight: 400;
    letter-spacing: -0.02em;
    opacity: 0.9;
    margin-bottom: 0.5rem;
}

/* 메인 타이틀 (하단 큰 글씨) */
.txt-box .s-main {
    display: inline-block;
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -0.03em;
}



/* =========================================
   New Section Styles
   ========================================= */
.sec-title {
    font-size: 1.2rem;
    font-weight: 500;
}

/*
.banner-item .sub {
    font-size: 1.2rem;
    font-weight: 500;
}
*/

.sec-title {
    color: var(--primary-color);
}

.sec-desc {
    font-size: 3.5rem;
    font-weight: var(--fw-bold);
    line-height: 1.3;
    color: var(--black);
    letter-spacing: -1px;
    word-break: keep-all;
}


/* KD Business Intro */
.business-intro,
.kd-value,
.careers {
    padding: 80px 0;
}

/*
.business-banners {
    position: relative;
}

.pagination-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100;
    pointer-events: none;
}

.pagination-container .inner {
    position: relative;
    height: 100%;
}

.banner-pagination {
    position: absolute;
    right: 40px;
    top: 0;
    height: 100%;
    pointer-events: none;
}

.banner-pagination .p-wrap {
    position: sticky;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 50px;
    padding-right: 30px;
    pointer-events: auto;
}

/ * Vertical line * /
.banner-pagination .p-wrap::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    width: 1px;
    background: rgba(255, 255, 255, 0.2);
}

.banner-pagination .p-item {
    font-size: 1.1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.4);
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
    font-family: var(--font-en);
    pointer-events: auto;
}

.banner-pagination .p-item.active {
    color: #fff;
    transform: scale(1.1);
}

/ * Active dot on the line * /
.banner-pagination .p-item.active::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -28px;
    width: 7px;
    height: 7px;
    background: #fff;
    border-radius: 50%;
    transform: translateY(-50%);
    z-index: 2;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.banner-pagination .p-item:hover {
    color: #fff;
    opacity: 1;
}

.banner-item {
    position: sticky;
    top: 0;
    width: 100%;
    height: 80vh;
    overflow: hidden;
    display: flex;
    align-items: center;
}

/ * Stacking order (Accounts for pagination-container as 1st child) * /
.banner-item:nth-child(2) {
    z-index: 10;
}

.banner-item:nth-child(3) {
    z-index: 20;
}

.banner-item:nth-child(4) {
    z-index: 30;
}

.banner-item .bg-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.banner-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 70%);
    z-index: 2;
}

.banner-item .b-inner {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 40px;
    color: var(--white);
    text-align: left;
    / * 애니메이션 초기 상태 * /
    opacity: 0;
    transform: translateY(50px);
}

.banner-item .sub {
    color: var(--white);
    opacity: 0.8;
}

.banner-item h3 {
    font-size: 4rem;
    font-weight: var(--fw-bold);
    margin-bottom: 60px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.banner-item .btn-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 140px;
    padding: 10px 20px;
    border: 1px solid var(--white);
    border-radius: 40px;
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.banner-item .btn-more img {
    height: 12px;
    margin-left: 10px;
    transition: filter 0.3s ease;
}

.banner-item .btn-more:hover {
    background: var(--white);
    color: var(--black);
}

.banner-item .btn-more:hover img {
    filter: brightness(0);
}
*/

/* KD Value */

.kd-value .inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.value-header {
    width: 30%;
    position: sticky;
    top: 120px;
}

.btn-more-border {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 140px;
    padding: 10px 20px;
    background-color: var(--primary-color);
    border: 1px solid var(--primary-color);
    border-radius: 40px;
    color: var(--white);
    font-size: 1.1rem;
    margin-top: 40px;
    transition: all 0.3s ease;
    font-weight: 600;
}

.btn-more-border img {
    height: 10px;
    margin-left: 10px;
}

.btn-more-border:hover {
    background-color: #00366b;
    /* Slightly darker */
    border-color: #00366b;
}

.value-grid {
    width: 65%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0;
}

.v-item {
    width: 48%;
    display: flex;
    flex-direction: column;
    background-color: transparent;
    border: none;
    padding: 0;
}

.pt-150 {
    margin-top: 50%;
}

.v-img {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 1/1;
    margin-bottom: 30px;
    overflow: hidden;
}

.v-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    /* Animate.css trigger 전까지 숨김 */
}

/* Custom Masks 제거됨 */

.v-txt {
    width: 100%;
    max-width: 400px;
}

.v-txt .num {
    display: block;
    font-size: 3.5rem;
    color: var(--primary-color);
    font-weight: var(--fw-bold);
    margin-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
    font-family: var(--font-en);
    letter-spacing: -1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.v-txt .num:hover {
    color: #00366b;
    border-bottom-color: #00366b;
}

.v-title {
    display: flex;
    align-items: baseline;
    justify-content: flex-start;
    gap: 15px;
    margin-bottom: 15px;
}

.v-title h4 {
    margin: 0;
}

.v-title h4,
.v-txt p {
    letter-spacing: -1px;
}

.v-title h4 {
    font-size: 2.5rem;
    font-weight: var(--fw-bold);
    color: var(--black);
}

.v-title .en {
    font-size: 0.9rem;
    color: #999;
    font-weight: 500;
    font-family: var(--font-en);
}

.v-txt p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #666;
    word-break: keep-all;
    text-align: left;
}

/* Careers */
.careers .inner {
    opacity: 0;
}

.careers-banner {
    margin-top: 50px;
    position: relative;
    height: 350px;
    /* Increased height for better proportions */
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.careers-banner .bg-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.careers-banner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 2;
}

.banner-content {
    position: relative;
    z-index: 3;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 60px;
}

.banner-left {
    color: #fff;
}

.banner-left h4 {
    font-size: 2.5rem;
    font-weight: 700;
}

.banner-left p {
    font-size: 1.2rem;
    font-weight: 500;
    opacity: 0.8;
}

.c-links {
    display: flex;
    gap: 20px;
    flex: 1;
    max-width: 900px;
    justify-content: flex-end;
}

.c-card {
    position: relative;
    flex: 1 1 300px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transition: all 0.3s ease;
    color: #fff;
}

.c-card span {
    font-size: 1.5rem;
    font-weight: 600;
}

.c-card .icon-box {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    background: #fff;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease;
}

.c-card .icon-box img {
    width: 12px;
    filter: brightness(0);
    /* Make black */
}

.c-card:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.c-card:hover .icon-box {
    transform: scale(1.1);
}

/* 전체 컨테이너 설정 */
.business-accordion {
    display: flex;
    width: 100%;
    max-width: 1400px;
    height: 500px;
    /* 카드의 높이 */
    margin: 60px auto;
    gap: 16px;
    /* 카드 사이의 간격 */
}

/* 개별 카드 기본 설정 */
.accordion-item {
    position: relative;
    flex: 1;
    /* 기본적으로 3개가 동일한 비율을 가짐 */
    border-radius: 15px;
    /* 둥근 모서리 */
    overflow: hidden;
    transition: flex 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
    /* 부드럽고 텐션 있는 확장 효과 */
    cursor: pointer;
}

/* 마우스 Hover 시 해당 카드의 가로 비율을 3배로 확장 */
.accordion-item:hover {
    flex: 3;
}

/* 배경 이미지 영역 */
.item-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
    z-index: 1;
}

/* 어두운 그라데이션 오버레이 */
.item-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.2) 60%);
    transition: background 0.6s ease;
}

/* 콘텐츠 영역 */
.item-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px;
    box-sizing: border-box;
    color: #fff;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
}

.title-wrap h3 {
    font-size: 35px;
    font-weight: 700;
    margin: 0;
    white-space: nowrap;
    /* 글씨가 줄바꿈되지 않도록 설정 */
}

/* 숨겨진 콘텐츠 (기본 상태) */
.hidden-content {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.4s ease, max-height 0.4s ease, margin-top 0.4s ease;
    white-space: nowrap;
    /* 텍스트 깨짐 방지 */
}

.hidden-content p {
    font-size: 16px;
    color: #ddd;
    margin: 16px 0 24px 0;
}

/* 자세히 보기 버튼 */
.btn-more {
    display: inline-block;
    padding: 12px 28px;
    /* background-color: transparent; */
    border: 1px solid var(--white);
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    border-radius: 30px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.1s ease;
}

/* Hover 시 호버된 카드의 스타일 변화 */
.accordion-item:hover .item-bg {
    transform: scale(1.05);
    /* 배경 살짝 줌인 */
}

.accordion-item:hover .item-bg::after {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 100%);
}

.accordion-item:hover .hidden-content {
    opacity: 1;
    max-height: 150px;
    /* 내용이 보일 수 있도록 높이 확보 */
}

.accordion-item:hover .btn-more {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.2s;
    /* 확장 후 자연스럽게 버튼이 올라오도록 지연 */
}


/* =========================================
   Responsive Styles
   ========================================= */
@media screen and (max-width: 1200px) {
    .main-spot {
        height: 70vh;
    }

    .mask-1 {
        width: 70vh;
    }

    .txt-box {
        margin-top: -80px;
    }

    /*
    .banner-item {
        height: 25vh;
    }

    .banner-item h3 {
        font-size: 2.2rem;
        margin-bottom: 12px;
    }

    .banner-item .btn-more {
        padding: 6px 18px;
        font-size: 0.95rem;
    }
    */
}

@media screen and (max-width: 900px) {
    .inner {
        padding: 0 20px;
    }

    /*
    .banner-pagination {
        display: none;
    }
    */

    .txt-box .s-sub {
        font-size: 1.6rem;
    }

    .txt-box .s-main {
        font-size: 3rem;
    }

    .txt-box .quote-text {
        display: inline-block;
        transform: translateY(-10px);
    }

    .sec-desc {
        font-size: 2.5rem;
    }

    .txt-box h2 .s-sub {
        font-size: 1.5rem;
    }

    .txt-box h2 .s-main {
        font-size: 3rem;
    }

    /*
    .banner-item h3 {
        font-size: 2.5rem;
    }
    */

    .value-header,
    .value-grid {
        width: 100%;
        position: static;
    }

    .kd-value .inner {
        flex-direction: column;
        gap: 40px;
    }

    .v-item {
        width: 48%;
    }

    .v-title {
        gap: 5px;
    }

    .v-title h4 {
        font-size: 2.5rem;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .v-img,
    .v-txt {
        width: 100%;
        height: auto;
    }

    .v-img {
        aspect-ratio: 1/1;
    }

    .business-intro,
    .kd-value {
        padding: 80px 0;
    }

    .careers {
        padding: 0 0 80px 0;
    }

    .careers-banner {
        height: auto;
        padding: 60px 20px;
    }

    .banner-content {
        flex-direction: column;
        align-items: flex-start;
        padding: 0;
        gap: 40px;
    }

    .banner-left h4 {
        font-size: 2.2rem;
    }

    .c-links {
        width: 50%;
        flex-direction: column;
        gap: 15px;
    }

    .c-card {
        flex: none;
        width: 100%;
        max-width: none;
        height: 90px;
        padding: 0 30px;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .c-card span {
        font-size: 1.2rem;
    }

    .c-card .icon-box {
        position: static;
        width: 35px;
        height: 35px;
    }

    .business-accordion {
        padding: 0 20px;
        height: 45vh;
        margin: 0;
    }

    .title-wrap h3 {
        font-size: 1.5rem;
    }







}

/* =========================================
   Mobile Specific (480px and below)
   ========================================= */
@media screen and (max-width: 480px) {
    .txt-box {
        top: 45%;
        margin-top: 0;
    }

    .txt-box h2 {
        margin-top: 60px;
        line-height: 0.4;
    }

    .txt-box h2 .s-sub,
    .sec-title,
    .banner-left p,
    .c-card span {
        font-size: 1.1rem;
    }

    .txt-box h2 .s-main {
        font-size: 2.4rem;
        line-height: 1.3;
    }

    br.m-only {
        display: inline;
    }

    /*.banner-item .btn-more,*/
    .btn-more-border {
        padding: 7px 14px;
        font-size: 1rem;
        min-width: 110px;
        justify-content: center;
    }

    /*.banner-item .btn-more img,*/
    .btn-more-border img {
        height: 10px;
        margin-left: 6px;
    }

    .v-txt .num {
        font-size: 2.2rem;
    }

    .v-title {
        margin-bottom: 4px;
    }

    .v-title h4 {
        font-size: 1.5rem;
    }

    .v-title .en {
        font-size: 0.6rem;
    }

    .v-txt p {
        font-size: 0.85rem;
    }

    .business-intro {
        padding: 50px 0;
    }

    .sec-title {
        font-size: 1rem;
    }

    .sec-desc {
        font-size: 1.6rem;
    }

    /*
    .banner-item h3 {
        font-size: 1.4rem;
    }

    .banner-item .sub {
        font-size: 0.9rem;
    }

    .banner-item .btn-more {
        padding: 8px 12px;
        font-size: 0.9rem;
        font-weight: 800;
    }

    .banner-item .btn-more::after {
        content: '';
        position: absolute;
        inset: 0;
        z-index: 5;
    }
    */

    .c-links {
        width: 100%;
    }

    .txt-box .s-sub {
        font-size: 1rem;
    }

    .txt-box .s-main {
        font-size: 2.5rem;
    }

    .business-accordion {
        height: 30vh;
        gap: 8px;
    }

    .item-content {
        padding: 20px;
    }

    .title-wrap h3 {
        font-size: 1.2rem;
    }



}