@charset "utf-8";

/* =============== Mobile CSS (1023px 이하) =============== */


/* =============== 햄버거 메뉴 필수 스타일 =============== */
/* 헤더 토글 영역 위아래 마진 제거 - 60px 높이에서는 불필요 */
@media screen and (max-width: 767px) {
    .header__toggle {
        margin: 0 !important;
    }
}

/* 모바일 메뉴 헤더 영역 위아래 마진 */
.header__mobile-header {
    margin: 15px 0;
}

/* 모바일에서 headerActive_bg 높이 조정 (header__toggle margin 고려) */
@media screen and (max-width: 767px) {
    #header .headerActive_bg {
        height: 60px !important;
    }
}

/* 태블릿에서 headerActive_bg 높이 조정 */
@media screen and (min-width: 768px) and (max-width: 1023px) {
    #header .headerActive_bg {
        height: 80px !important; /* 태블릿 헤더 높이 80px */
    }
    
    /* 햄버거 아이콘과 로고 중앙 정렬 */
    #header .header__mobile .header__toggle {
        height: 80px;
        padding: 20px 2.5rem !important; /* 상하 20px로 조정, 좌우는 40px 유지 */
        display: flex;
        align-items: center;
    }
    
    #header .header__logo {
        display: flex;
        align-items: center;
        height: 80px;
    }
}

/* 햄버거 아이콘 애니메이션 */
#hamburger_btn {
    transition: transform 0.3s ease;
}

#hamburger_btn.active .header__toggle-bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

#hamburger_btn.active .header__toggle-bar:nth-child(2) {
    opacity: 0;
}

#hamburger_btn.active .header__toggle-bar:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.header__toggle-bar {
    transition: all 0.3s ease;
}

/* 메뉴 패널 기본 스타일 */
.header__mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s ease-in-out;
    z-index: 9999;
}

.header__mobile-menu.allMenu_active {
    visibility: visible;
    opacity: 1;
}

/* 배경 오버레이 */
.header__mobile-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.header__mobile-menu.allMenu_active .header__mobile-bg {
    opacity: 1;
}

/* 메뉴 패널 슬라이드 */
.header__mobile-inner {
    position: absolute;
    top: 0;
    right: -80%;
    width: 80%;
    height: 100%;
    background: white;
    transition: right 0.3s ease-in-out;
    overflow-y: auto;
    padding: 1.25rem;
}

.header__mobile-menu.allMenu_active .header__mobile-inner {
    right: 0;
}

/* 서브메뉴 초기 숨김 */
.header__mobile-sublist {
    display: none;
}



/* Mobile (~767px) */
@media screen and (max-width: 767px) {
    
    /* References container-header 모바일 패딩 */
    .section.references .main-container .container-header {
        padding: 0 var(--padding-20) 1.25rem;
    }
    
    /* What we do 페이지 container-header 패딩 제거 */
    .section.business-area .main-container .container-header {
        padding: 0 0 0.75rem;
    }

    :root{
        --padding-20: 1.25rem;

        /* font size */
        --font-display-01: 8.625rem; /* 138px */
        --font-display-02: 6rem; /* 96px */
        --font-display-03: 4rem; /* 64px */

        --font-h1: calc(48px + (4 * ((100vw - 360px) / 407))); /* 48px */
        --font-h2: calc(100vw * 0.1167); /* 42px */
        --font-h3: calc(100vw * 0.0778); /* 28px */
        --font-h4: calc(100vw * 0.0667); /* 24px */
        --font-h5: calc(100vw * 0.0556); /* 20px */

        --font-b1: 1.125rem; /* 18px */
        --font-b2: 0.875rem; /* 14px - 모바일 본문 고정 */
        --font-b3: 0.875rem; /* 14px - 고정 */

        --font-caption: 0.75rem; /* 12px */

        /* line height */
        --lineHeight-display-01: 8.125rem; /* 130px */
        --lineHeight-display-02: 7.25rem; /* 116px */
        --lineHeight-display-03: calc(100vw * 0.1667); /* 60px */

        --lineHeight-h1: 4rem; /* 64px */
        --lineHeight-h2: calc(100vw * 0.1556); /* 56px */
        --lineHeight-h3: calc(100vw * 0.1111); /* 40px */
        --lineHeight-h4: calc(100vw * 0.1);  /* 36px */
        --lineHeight-h5: calc(100vw * 0.0833); /* 30px */

        --lineHeight-b1: 1.75rem; /* 28px */
        --lineHeight-b2: calc(100vw * 0.0722); /* 26px */
        --lineHeight-b3: calc(100vw * 0.0667); /* 24px */

        --lineHeight-caption: 1.125rem; /* 18px */

        --calc-size-10 : calc(100vw * 0.0278); /* 10px */
        --calc-size-100 : calc(100vw * 0.2778); /* 100px */
    }

    /* Mobile */
    .only-pc {display: none;}
    .only-mo {display: block;}

    /* Contact Location 섹션 하단 마진 제거 */
    .section.contact-location {
        margin-bottom: 0 !important;
    }

    /* sub-title */
    .sub-title .title-container{
        padding: 4.5rem var(--padding-20) 2.5rem;
    }
    
    /* 390px 모바일에서 sub-title 하단 패딩 제거 */
    @media screen and (max-width: 390px) {
        .sub-title .title-container {
            padding-bottom: 0 !important;
        }
    }
    .sub-title .title-container .title-container__main {
        font-size: var(--font-h2);
        line-height: var(--lineHeight-h4);
        letter-spacing: -3px;
    }
    .sub-title .title-container .title-container__main .title-container__subtitle{
        margin-left: -20px;
    }

    /* 여기에 방금 자른 코드 추가! */
    .sub-title .title-container .title-container__main .title-container__title{
        flex-wrap: wrap;
        gap: 0 0;
        margin-top: -1rem; 
        line-height: var(--lineHeight-h2);
    }
    
    /* Contact 페이지에서 390px 초과 시 가로 배치 */
    @media screen and (min-width: 391px) {
        body.contact-page .sub-title .title-container .title-container__main .title-container__title,
        body:has(.contact-location) .sub-title .title-container .title-container__main .title-container__title {
            flex-direction: row !important;
            align-items: baseline !important;
            gap: 2rem !important;
            flex-wrap: nowrap !important;
            margin-top: -3.625rem !important;
        }
    }
    
    .sub-title .title-container .title-container__main .title-container__title .title-container__desc{
        font-size: var(--font-b1);
        line-height: var(--lineHeight-b1);
    }

    .sub-title .page-nav{
        display: none;
    }

    /* =============== about us - who we are =============== */
    /* who we are */
    .section.who .main-container .container-header{
        padding: 0 var(--padding-20) var(--font-caption);
    }
    .main-page .who .main-container .about__content{
        flex-wrap: wrap;
        padding-bottom: calc(100vw * 0.22222);/* 80px */
    }
    .main-page .who .main-container .about__content > div{
        width: 100%;
    }
    .main-page .who .main-container .about__content .u-padding{
        padding-left: 0;
    }
    .main-page .who .main-container .about__content--01 .about__text{
        padding: 5rem var(--padding-20) var(--lineHeight-h3); /* 80px 20px 40px */
    }
    .main-page .who .main-container .about__content .about__title{
        font-size: var(--font-h5);
        line-height: var(--lineHeight-h5);
        margin-bottom: 0.75rem; /* 12px */
    }
    .main-page .who .main-container .about__content .about__description{
        line-height: var(--lineHeight-b3);
        font-size: var(--font-b3);
    }
    .main-page .who .main-container .about__content--02{
        padding: 0 var(--padding-20) calc(100vw * 0.22222);
    }
    .main-page .who .main-container .about__content--02 .about__image{
        padding-bottom: var(--font-h3);
    }
    .main-page .who .main-container .about__content--02 .about__image img{
        width: 100%;
    }
    /* strengths */
    .main-page .strengths .main-container{
        padding: calc(100vw * 0.22222) var(--padding-20); /* 80px 26px */
    }
    .main-page .strengths .strengths__bg{
        width: 5rem; /* 80px */
        left: calc(100% - 5rem);
        top: -51%; /* -61% 에서 -51%로 수정 */
    }
    .main-page .strengths .main-container{
        flex-wrap: wrap;
    }
    .strengths .main-container .container-header{
        padding: 0 0 var(--lineHeight-display-03); /* 60px */
    }
    .strengths .main-container .strengths__content{
        gap: var(--lineHeight-display-03);
    }
    .strengths .main-container .strengths__content .strengths__inner .strengths__title{
        font-size: var(--font-h3);
        line-height: var(--lineHeight-h4);
        padding-bottom: 0.25rem; /* 4px */
    }
    .strengths .main-container .strengths__content .strengths__inner .list-non li{
        font-size: var(--font-b3);
        line-height: var(--lineHeight-b3);
    }
    .strengths .main-container .strengths__content .strengths__inner .strengths__highlight{
        padding-bottom: 0.75rem; /* 12px */
        font-size: var(--font-b2);
        line-height: var(--lineHeight-b2);
    }
    /* overview */
    /* .main-page .overview .main-container{
        padding: 5rem var(--padding-20) 5rem var(--padding-20); /* 상하좌우 동일하게 
    } */
    .main-page .overview .main-container{
        padding: 5rem var(--padding-20) 0rem var(--padding-20); /* 2025.09.01 padding bottom 수정정 */
    }
    .main-page .overview .main-container .overview__counters{
        flex-wrap: wrap;
        align-items: flex-start;
        gap: var(--lineHeight-h3);
        padding-bottom: var(--lineHeight-h3);
    }
    .main-page .overview .main-container .overview__counter{
        width: 43%;
        flex-basis: 43%;
    }
    .overview .main-container .overview__counter .counter-list li{
        padding-bottom: 0.5rem; /* 8px */
    }
    .overview .main-container .overview__counter .counter-list__icon{
        padding-bottom: 2.222vw; /* 8px */
        width: calc(100vw * 0.1944); /* 70px */
    }
    .overview .main-container .overview__counter .counter-list__number{
        font-size: var(--font-h3); /* 28px */
        line-height: var(--lineHeight-h3); /* 40px */
    }
    .overview .main-container .overview__counter .counter-list__label{
        font-size: var(--font-b2); /* 16px */
        line-height: var(--lineHeight-b2); /* 26px */
    }
    .overview .main-container .overview__counter .counter-list__desc{
        font-size: var(--font-b3); /* 14px */
        line-height: var(--font-h4); /* 24px */
    }
    .main-page .overview .main-container .overview__description{
        padding-top: var(--lineHeight-h3);
    }
    .main-page .overview .main-container .overview__description ul li{
        margin-bottom: 0.25rem;
    }

    

    /* =============== about us - history =============== */
    /* history */
    .section.history .main-container .container-header{
        padding: 0 var(--padding-20) 0; /* 하단 패딩 제거 - sub-title margin-bottom으로 통일 */
    }
    .history .history__content{
        flex-wrap: wrap;
        padding: 0 var(--padding-20) calc(100vw * 1.06944); /* 385px */
        gap: var(--lineHeight-h2); /* 56px */
    }
    .history .history__content > div{
        width: 100%;
    }
    .history .history__content .history__desc{
        width: 100%;
        font-size: var(--font-b3);
        line-height: var(--lineHeight-b3);
    }
    .history .history__content .history__bg{
        width: calc(100vw * (400 / 360));
        top: auto;
        bottom: -8%;
        left: -62vw;
    }
    .history .history__content .history__axis .history__rhombus{
        width: var(--font-h5);
        height: var(--font-h5);
    }
    .history .history__content .history__axis .history__line{
        height: clamp(1220px, 400vw, 2900px);
    }
    .history .history__content .history__list{
        margin-top: calc(100vw * 0.19444); /* 70px */
        margin-left: calc(-1 * var(--calc-size-10));
    }
    .history .history__content .history__list .history__year-block{
        gap: var(--font-b2);
        margin-bottom: var(--lineHeight-h3);
    }
    .history .history__content .history__list .history__year-block .history__line-fill{
        width: var(--lineHeight-b2); /* 26px */
        margin-top: 4.3%;
    }
    .history .history__content .history__list .history__year-block .history__year-group .history__year{
        font-size: var(--font-b1);
        line-height: var(--lineHeight-b1);
    }
    .history .history__content .history__list .history__year-block .history__year-group .history__event-list{
        font-size: var(--font-b3);
        line-height: var(--lineHeight-b3);
        padding-left: 5.5%;
    }
    .history .history__content .history__list .history__year-block .history__year-group .history__event-list li::marker{
        font-size: var(--calc-size-10); 
    }

    
     /* About - Certifications*/
    .about-sec .about-container-header{
        padding: 0 var(--padding-20) var(--font-b2); /* 일반 container-header와 동일 */
        font-size: var(--font-h4);
        line-height: var(--lineHeight-h4);
        gap: 1vw;
    }
    .main-page .about-certi-title{
        padding: 0 var(--padding-20);
        font-size: var(--font-b3);
        line-height: var(--lineHeight-b3);
        margin-top: 0;
    }
    .about-certi-thumb{
        display: flex;
        justify-content: center;
        margin: 0 auto;
        width: 100%;
        height: 23.5rem;
        max-width: 34.375rem;
    }
    .main-page .about-certi{
        justify-content: center;
        padding: 1rem var(--padding-20) 5rem var(--padding-20);
        gap: 2.5rem 1rem;
    }
    .main-page .about-certi-src{
        width: 100%;
        flex: 0 0 calc((100% - (1rem * 1)) / 2);
    }
    .main-page .about-certi-img{
        height: 15.1875rem;
    }
    .main-page .about-certii-text >span{
        font-size: var(--font-b2);
        line-height: var(--lineHeight-b2);
    }
    .main-page .about-certii-text{
        font-size: var(--font-b3);
        line-height: var(--lineHeight-b3);
    }
    .main-page .about-awards{
        justify-content: center;
        padding: 1rem var(--padding-20) 5rem var(--padding-20);
        gap: 2.5rem 1rem;
    }

    /* =============== about us - clients =============== */
    /* clients */
    .sub-clients .clients__content{
        padding: 1rem var(--padding-20) 0;
    }
    .sub-clients .clients__content .clients__list{
        gap: calc(100vw * 0.03333);
    }
    .sub-clients .clients__content .clients__list .clients__item{
        width: calc((100% - calc(100vw * 0.03333)) / 2);
        height: 66px;
        padding: 25px 24px;
    }
    .sub-clients .clients__content .clients__list .clients__item:nth-child(14) img{
        max-height: 20px;
    }
    .sub-clients .clients__content .clients__list .clients__item:nth-child(17) img{
        max-height: 22px;
    }
    .sub-clients .clients__content .clients__list .clients__item:nth-child(18) img{
        max-height: 16px;
    }
    .sub-clients .clients__content .clients__bottom{
        padding: 5rem 0 0;
        display: block;
    }
    .sub-clients .clients__content .clients__bottom .clients__bottom-text .title {
        line-height: var(--lineHeight-h3);
    }
    .sub-clients .clients__content .clients__list .clients__item img{
        max-width: 80%;
        min-width: 100px;
    }
    .sub-clients .clients__content .clients__bottom .clients__bottom-bg{
        width: 80%;
        padding-bottom: 1.5rem ;
    }

    /* Case Studies Header - Mobile (768px 이하) */
    .container-header--case-studies {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        padding: 0 0 0.75rem;
    }
    
    .container-header--case-studies .container-header__text {
        width: 100%;
        order: 2;
    }
    
    .container-header--case-studies .container-header__title {
        display: flex;
        align-items: baseline; /* 텍스트 기준선에 맞춰 정렬 */
        gap: 4px;
        margin-bottom: 0.5rem;
    }
    
    .container-header--case-studies .container-header__title p, .container-header--case-studies .container-header__title h1 {
        font-size: var(--font-h4);
        line-height: var(--lineHeight-h4);
        font-weight: 600;
    }
    
    .container-header--case-studies .container-header__image {
        max-width: 150px;
        width: 100%;
        order: 1;
        align-self: flex-start;
    }
    
    .container-header--case-studies .container-header__image img {
        width: 100%;
        height: auto;
    }
    
    .container-header--case-studies .container-header__desc {
        font-size: 14px !important;
        line-height: var(--lineHeight-b3) !important;
        text-align: left;
        margin: 0;
        color: #222 !important;
    }
    
    /* Case Studies List */
    .case-studies-list {
        margin-top: 2rem;
    }
    
    .case-study-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
        padding: 2.5rem 0; /* 40px → 2.5rem */
    }
    
    .case-study__number {
        width: auto;
        font-size: 1.5rem;
        line-height: 2rem;
    }
    
    .case-study__content {
        padding: 0 1rem !important;
        width: 100% !important;
        min-width: 0 !important;
        flex: 1 !important;
        box-sizing: border-box !important;
    }
    
    .case-study__title {
        font-size: 1.5rem;
        line-height: 2rem;
        padding: 0.5rem 0;
    }
    
    .case-study__description {
        margin-bottom: 1rem;
    }
    
    .case-study__description li {
        line-height: 1.5rem;
        margin-bottom: 0.75rem;
    }
    
    .case-study__client {
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
        line-height: 1.4rem;
    }
    
    .case-study__year {
        font-size: 1.25rem;
        line-height: 1.75rem;
        width: auto;
        text-align: left;
    }

    /* Business Area */
    .business-area__title {
        font-size: 2.5rem;
        line-height: 2.5rem;
    }
    
    .business-area__desc {
        font-size: 1rem;
    }
    
    .business-area__content {
        flex-direction: column;
        align-items: flex-start;
        min-height: auto;
    }
    
    .business-area__text {
        width: 100%;
        height: auto;
        position: relative;
        transform: none;
        order: 2;
    }
    
    .business-area__images {
        position: relative !important;
        transform: none !important;
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        scrollbar-width: none !important;
        -ms-overflow-style: none !important;
        gap: 0.25rem !important;
        margin-top: 2.5rem !important;
        right: auto !important;
        top: auto !important;
        order: 1 !important;
        cursor: grab !important;
        padding-right: 20px !important;
        margin-right: -20px !important;
        touch-action: pan-x !important;
        -webkit-overflow-scrolling: touch !important;
        opacity: 1 !important;
        visibility: visible !important;
        width: 100% !important;
    }
    
    .business-area__images:active {
        cursor: grabbing;
    }
    
    .business-area__images img {
        width: calc(50vw - 10px);
        height: calc(50vw - 10px);
        flex-shrink: 0;
        pointer-events: none;
        user-select: none;
        -webkit-user-drag: none;
    }

    .business-area__images::-webkit-scrollbar {
        display: none;
    }
    
    .business-area__bottom-text {
        padding: 4rem 1.5rem 8rem;
    }
    
    .business-area__bottom-bg {
        height: 6rem;
        background-size: cover;
    }
    
    .business-area__bottom-text h2 {
        font-size: 2.5rem;
        line-height: 2.5rem;
    }
    
    .footer__title {
        font-size: 1rem;
        font-style: normal;
        font-weight: 600;
        line-height: 1.625rem;
        letter-spacing: 0.02em;
    }
    
    .infor__text,
    .footer__copyright {
        font-size: 1rem;
        font-style: normal;
        font-weight: 400;
        line-height: 1.5rem;
        letter-spacing: 0.01em;
    }
    
    .business-area__services {
        gap: 3rem;
    }
}


/* 360-390px 작은 모바일에서 case-studies 이미지 크기 조정 */
@media screen and (min-width: 360px) and (max-width: 390px) {
    /* about us - who we are ~ strengths */
    .main-page .strengths .strengths__bg{
        top: -56%;
    }

    /* business-area 섹션 전체를 아래로 이동 */
    .section.business-area {
        margin-top: 4rem !important;
    }
    
    .container-header--case-studies {
        flex-direction: column !important;
        align-items: flex-start !important;
        min-height: 210px !important;
        padding-bottom: 1rem !important;
        gap: 0.5rem !important;
        position: relative !important;
        z-index: 20 !important;
    }
    
    .container-header--case-studies .container-header__image {
        max-width: 200px !important;
        width: 100% !important;
        order: 1 !important;
        align-self: flex-start !important;
        position: relative !important;
        z-index: 21 !important;
        margin-bottom: -0.5rem !important;
        transform: translateY(1rem) !important;
    }
    
    .container-header--case-studies .container-header__image img {
        width: 100% !important;
        height: auto !important;
    }
    
    .container-header--case-studies .container-header__text {
        width: 100% !important;
        order: 2 !important;
        position: relative !important;
        z-index: 22 !important;
        margin-top: -0.5rem !important;
    }
    
    /* case-studies-list도 세로 배치 */
    .case-study-item {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 1rem !important;
        padding: 1.5rem 0 !important;
    }
    
    .case-study__content {
        padding: 0 !important;
        width: 100% !important;
    }
    
    /* clients 페이지 title 폰트 크기 조정 */
    .sub-clients .clients__content .clients__bottom .clients__bottom-text .title {
        font-size: 1.75rem !important;
        line-height: 2.5rem !important;
    }
    
    /* clients 페이지 p 태그 폰트 크기 조정 */
    .sub-clients .clients__content .clients__bottom .clients__bottom-text p {
        font-size: 0.875rem !important;
        line-height: 1.5rem !important;
    }
}

/* Mobile (~767px) - 메인 모바일 미디어쿼리 */
@media screen and (max-width: 767px) {
    /* =============== sub-title 모바일 스타일 통합 =============== */
    .sub-title {
        margin-bottom: 2.5rem !important; /* 모바일: 40px */
    }
    
    .sub-title .title-container {
        padding-top: 6.5rem !important; /* 모바일: 90px 헤더 + 여백 */
    }
    
    /* Solutions */
    .main-page .solution_sub_title {
        padding: 0 var(--padding-20) var(--font-b2);
        font-size: var(--font-h5);
        line-height: var(--lineHeight-h5);
    }
    .main-page .solution_sub_text {
        padding: 0 var(--padding-20) 2.5rem;
        font-size: var(--font-b3);
        line-height: var(--lineHeight-b3);
    }
    
    /* 솔루션 페이지 기타 요소들 모바일 패딩 */
    .section.solutions .main-container > *:not(.container-header) {
        padding-left: var(--padding-20);
        padding-right: var(--padding-20);
    }
    .section.solutions .main-container .solution-body1_img{
        padding: 1.25rem 0 0 0;
    }
    .main-page .only-pc-solution{
        display: none;
    }
    .main-page .only-mo-solution{
        display: block;
        position: relative;
        width: 100%;
        margin: 0 auto;
        padding-bottom: 5rem;
    }
    .main-page .solution-list-container{
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 2.5rem var(--padding-20) 0; /* 모바일 패딩 복구 */
        max-width: none; /* fit-content 제거 */
        margin: 0; /* 중앙 정렬 제거 */
    }
    .main-page .solution_list{
        width: 24rem;
        text-align: center;
        position: relative;
    }
    
    /* 600px 이상에서 solution_list 전체 너비 사용 */
    @media (min-width: 600px) and (max-width: 767px) {
        .main-page .solution_list{
            width: 100%; /* 전체 너비 사용 */
        }
        
        /* 767px 구간에서 solution_desc br 숨기고 라인 높이 조정 */
        .main-page .solution_desc br {
            display: none;
        }
        
        .main-page .solution_desc {
            line-height: 1.4; /* 라인 높이 조정 */
        }
    }
    .main-page .solution_label{
        font-size: var(--font-b1);
        line-height: var(--lineHeight-b1);
    }
    .main-page .solution_desc{
        font-size: var(--font-b3);
        line-height: var(--lineHeight-b3);
    }
    /* 모바일에서 선 제거 */
    .solution_list::after{ 
        display: none;
    }
    .main-page .solution_list{
        padding-bottom: 2.5rem;
    }
    .main-page .solution_body2{
        max-width: 100%;
        padding: 1.5rem 0 1.5rem 0; /* 좌우 패딩 제거 */
        border-bottom: 1px solid #e6e6e6; /* 전체 박스에 보더 */
    }
    /* list 마지막 선 제거 */
    .main-page .solution_body2:last-child{
        border-bottom: none;
    }

    /*Solutions 페이지 첫번째 섹션 container-header 패딩*/
    .section.solutions .container-header {
        padding-bottom: 0.75rem; /* 모바일에서 sub-title 하단 패딩 증가 */
    }
    
    /*Solutions - ImageShop*/
    .section.imageshop .container-header { 
        padding-bottom: 1rem; /* 다른 solution 페이지와 동일한 패딩 */
    }
    .solution-imageShop {
        padding: 0 var(--padding-20);
        padding-bottom: 5rem;
    }
    .solution-imageshop-list{
        padding-top: 2.5rem;
    }
    .solution-imageshop-list .solution-imageshop-item{
        padding: 0 0 2.5rem;
        margin-bottom: 2.5rem;
    }
    .solution-imageshop-item p:first-child{ 
        font-size: var(--font-h5);
        line-height: var(--lineHeight-h5);
    }
    .solution-imageshop-item p:last-child{
        font-size: var(--font-b3);
        line-height: var(--lineHeight-b3);
    }
    /* =============== References =============== */
    /* References solution/si 페이지 본문 모바일 패딩 */
    .section.references .references-solutions-list,
    .section.references .references-si-list {
        padding: 0 var(--padding-20);
    }
        .main-page .ref-list-src{
            display: block;
        }
        .main-page .ref-list-src >div:nth-child(1) {
            display: block;
            width: 100% !important;
            margin-bottom: 1rem;
        }
        .main-page .ref-list-src >div:nth-child(2) {
            display: block;
            width: 100% !important;
        }
        .main-page .ref-list-tex p>strong{
            font-size: var(--font-b1);
        }
        .main-page .ref-list-tex p:last-of-type{
            font-size: var(--font-b3);
        }
        .main-page .ref-list-tex{
            padding: 1rem 0 0.625rem !important; /* 16px 0 10px */
            padding-left: 0 !important; /* PC의 7.4375rem 패딩 제거 */
            line-height: var(--lineHeight-b1);
        }
        .main-page .ref-list-img{
            width: 100% !important;
            max-width: 200px;
            margin-bottom: 0.5rem;
        }
        .main-page .ref-logo{
            max-width: 13.75rem;
        }
        .main-page .btn-more{
            font-size: var(--font-b3);
            width: 20rem;
            height: 2.5rem; 
        }
        .main-page .container-header .btn-view-all{
            width: 5.25rem;
            height: 2.5rem; 
            font-size: var(--font-b3);
            padding: 0 0.5rem 0 0.75rem;
        }
         /*References - SI Projects*/
        .main-page .refs-si{
            display:block;
            padding: 0 0 var(--font-b2); /* 좌우 패딩 제거, main-container에서 처리 */
        }
        .main-page .ref-projects-img{
            height: 18.75rem;;
            max-width: 65%; /* 메인과 동일한 비율 적용 */
            object-fit: contain;
        }
        .main-page .ref-si-thumb{
            height: 20rem;
        }
        .main-page .ref-si-thumb img{
            max-width: 65% !important;
            max-height: 85% !important;
            object-fit: contain !important;
            width: auto !important;
            height: auto !important;
        }
        .main-page .ref-si-src{
            padding-bottom: 2.5rem;
        }
        .main-page .ref-text-area{
            font-size: var(--font-b3);
            line-height: var(--lineHeight-b3);
            margin-top: 0.75rem;
        }
        .main-page .ref-project-title{
            font-size: var(--font-b1);
            line-height: 1.3; /* 모바일에서도 동일하게 1.3 적용 */
        }

}

/* =============== 400px 이상 625px 이하 =============== */
@media (min-width: 400px) and (max-width: 625px) {
    .service-box .dot-icon {
        top: -2.4rem;
    }
    /* About - Certifications*/
    .main-page .about-certi-src{
        width: 100%;
        flex: auto;
    }
    .business-area__services{
        gap: 1rem;
    }
}

/* =============== 640px 이하 =============== */
@media (max-width: 640px) {
    .business-area__images {
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 4px;
        align-items: center;
        cursor: grab;
        overflow-x: auto;
        overflow-y: hidden;
        scrollbar-width: none;
        -ms-overflow-style: none;
        padding-right: 20px;
        margin-right: -20px;
        padding-left: 0;
        margin-left: 0;
        justify-content: flex-start;
    }
    
    .business-area__images img {
        width: calc(50vw - 10px);
        height: calc(50vw - 10px);
        flex-shrink: 0;
        aspect-ratio: 1;
        pointer-events: none;
        margin-left: 0;
    }
    
    .business-area__title {
        font-size: 2rem;
        line-height: 2rem;
    }
    
    .business-area__full-line {
        left: -1rem;
        width: calc(100% + 2rem);
        background-color: var(--grayscale-color-line-01, #e6e6e6);
    }
    
    .business-area__services {
        padding: 2rem 0;
    }
    
    .service-title {
        font-size: 1.25rem;
        line-height: 1.5rem;
    }
    
    .business-area__bottom-text h2 {
        font-size: 2rem;
        line-height: 2rem;
    }
    
    .business-area__bottom-text p {
        font-size: 1rem;
    }
    
    .business-area__text {
        width: 100%;
        height: auto;
        max-width: 90vw;
    }
    .service-box .dot-icon {
        top: -2.4rem;
    }
    .sub-clients .clients__content .clients__bottom .clients__bottom-text .title {
        line-height: var(--lineHeight-h3);
    }
}

/* =============== 390px 이하 =============== */
@media (max-width: 390px) {
    /* 공통 좌우 패딩 (what-we-do 제외) */
    /* .section .main-container .container-header:not(.section.business-area .main-container .container-header) {
        padding-left: var(--padding-20) !important;
        padding-right: var(--padding-20) !important;
    } */
    /* 공통 좌우 패딩 (what-we-do, Who We Are ~ strengths 제외) 25.08.25 수정 */
    .section:not(.section.business-area):not(.strengths) .main-container .container-header {
        padding-left: var(--padding-20) !important;
        padding-right: var(--padding-20) !important;
    }
    
    /* what-we-do 페이지는 패딩 제거 */
    .section.business-area .main-container .container-header {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    
    /* Case Studies 페이지만 패딩 줄이기 */
    .section.business-area .main-container .container-header--case-studies {
        padding-bottom: 0.25rem !important;
    }
    
    .main-page .about-certi-title {
        padding: 0 var(--padding-20);
    }
    
    
    .sub-title .title-container {
        padding: 2rem var(--padding-20) 2rem; /* 하단 패딩 1rem → 2rem */
    }
    
    /* section과 sub-title 사이 간격 조정 */
    .section.about-sec {
        margin-top: 1rem; /* title-container와의 간격 단축 */
    }
}

/* =============== 390px 이하 =============== */
@media (max-width: 390px) {
    /* Case Studies 타이틀 18px */
    .case-study__title {
        font-size: 1.125rem !important; /* 18px */
    }
    
    /* Case Studies li 텍스트 14px */
    .case-study__description li {
        font-size: 0.875rem !important; /* 14px */
    }
    
    /* Case Studies client 텍스트 14px */
    .case-study__client {
        font-size: 0.875rem !important; /* 14px */
    }
    
    /* Case Studies year 텍스트 14px */
    .case-study__year {
        font-size: 0.875rem !important; /* 14px */
        line-height: 1.25rem !important; /* 20px */
    }
}

/* =============== 480px 이하 =============== */
@media (max-width: 480px) {
    .business-area__full-line {
        display: none;
    }
    .container-header {
        display: flex;
        align-items: baseline;
        gap: 0.5rem;
        padding: 0 0 1rem;
    }
    
    .container-header p, .container-header h1 {
        font-size: 1.5rem !important;
        margin: 0;
        line-height: 1.5;
    }
    
    .rhombus {
        margin-bottom: 0;
        margin-top: -4px;
        flex-shrink: 0;
    }
    /* About - Certifications*/
    .main-page .about-certi-src{
        width: 100%;
        flex: auto;
    }
    .service-box .dot-icon {
        display: none;
    }
        .sub-clients .clients__content .clients__bottom .clients__bottom-text .title {
        line-height: var(--lineHeight-display-03);
    }
    
    .business-area__services {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 2rem 0;
        width: 100%;
        position: relative;
    }
    
    .business-area__services::before {
        content: '';
        position: absolute;
        top: 2rem;
        left: 50%;
        transform: translateX(-50%);
        width: 100vw;
        height: 1px;
        background-color: #ddd;
        z-index: 1;
    }
    
    .business-area__services::after {
        content: '';
        position: absolute;
        top: 1.3rem;
        left: 50%;
        transform: translate(-50%, 50%) rotate(45deg);
        width: 12px;
        height: 12px;
        background-color: #9f121f;
        z-index: 2;
    }
    
    .service-box {
        width: 100%;
        text-align: center;
        padding: 3.5rem 1.25rem 3.75rem 1.25rem;
        position: relative;
    }
    
    .service-title-wrap {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    
    .service-title {
        text-align: center;
        margin-bottom: 1rem;
        font-size: 1.25rem;
        font-style: normal;
        font-weight: 600;
        display: flex;
        justify-content: center;
        width: 100%;
    }
    
    .service-box ul {
        text-align: left;
        list-style-type: disc;
        padding-left: 1rem;
        margin: 0 auto;
        display: inline-block;
    }
    
    .service-box li {
        text-align: left;
        margin-bottom: 0.5rem;
    }
    
    .service-box:nth-child(1)::after {
        content: '';
        position: absolute;
        bottom: -1rem;
        left: 50%;
        transform: translateX(-50%);
        width: 100vw;
        height: 1px;
        background-color: #ddd;
        z-index: 1;
    }
    
    .service-box:nth-child(2)::after {
        content: '';
        position: absolute;
        bottom: -1rem;
        left: 50%;
        transform: translateX(-50%);
        width: 100vw;
        height: 1px;
        background-color: #ddd;
        z-index: 1;
    }
    
    .service-box:nth-child(1)::before {
        content: '';
        position: absolute;
        bottom: -1rem;
        left: 50%;
        transform: translate(-50%, 50%) rotate(45deg);
        width: 12px;
        height: 12px;
        background-color: #9f121f;
        z-index: 2;
    }
    
    .service-box:nth-child(2)::before {
        content: '';
        position: absolute;
        bottom: -1rem;
        left: 50%;
        transform: translate(-50%, 50%) rotate(45deg);
        width: 12px;
        height: 12px;
        background-color: #9f121f;
        z-index: 2;
    }

    .business-area__bottom-text {
        padding: 3rem 1rem 6rem;
    }
    
    .business-area__bottom-text h2 {
        font-size: 2rem;
        line-height: 2.2rem;
    }
    
    .business-area__bottom-text p {
        font-size: 0.9rem;
        line-height: 1.4rem;
        padding-top: 1rem;
    }
    
    .business-area__bottom-bg {
        height: 4rem;
        background-size: cover;
    }

  
    /* Business Area Text 영역 넓히기 */
    .business-area__text {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }
    
    /* Business Area 전체 컨테이너도 넓히기 */
    .section.business-area {
        padding: 0 1.25rem !important; /* 좌우 여백 20px */
    }
    
    .business-area__content {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
    }
    
    /* 제목과 설명 텍스트 */
    .business-area__title {
        font-size: 1.75rem !important;
        line-height: 2rem !important;
        margin-bottom: 0.8rem !important;
    }
    
    .business-area__desc {
        font-size: 0.9rem !important;
        line-height: 1.4rem !important;
        margin-bottom: 1rem !important;
    }


    .footer__title {
        font-size: 0.875rem;
        font-style: normal;
        font-weight: 600;
        line-height: 1.5rem;
        letter-spacing: 0.02em;
    }
    
    .infor__text,
    .footer__copyright {
        font-size: 0.875rem;
        font-style: normal;
        font-weight: 400;
        line-height: 1.375rem;
        letter-spacing: 0.01em;
    }
}

/* =============== Tablet (768px ~ 1023px) =============== */
@media (min-width: 768px) and (max-width: 1023px) {
    /* =============== sub-title 태블릿 스타일 통합 =============== */
    .sub-title {
        margin-bottom: 6.5rem !important; /* 태블릿: 104px */
    }
    
    .sub-title .title-container {
        padding-top: 6.5rem !important; /* 태블릿: 80px 헤더 + 24px 여백 */
    }
    
    /* Tablet 전체 섹션 패딩: 40px */
    .section.business-area {
        padding: 0 2.5rem !important; /* 40px */
    }
    
    /* Tablet 본문 텍스트 15px 적용 */
    p, li, span, .description, .desc, 
    .case-study__description li,
    .case-study__client,
    .business-area__desc,
    .service-box li,
    .about__description,
    .overview__description li,
    .solution_desc,
    .ref-list-tex p:last-of-type,
    .ref-text-area,
    .footer__copyright,
    .infor__text {
        font-size: 15px !important;
    }
    
    /* container-header의 p태그 타이틀은 원래 크기로 복원 */
    .container-header p, .container-header h1,
    .container-header--case-studies .container-header__title p, .container-header--case-studies .container-header__title h1 {
        font-size: 2.625rem !important; /* 원래 크기로 복원 */
        font-weight: 800 !important;
        line-height: 3.5rem !important;
        margin-bottom: 0.5rem !important; /* 다른 페이지와 동일하게 margin-bottom 추가 */
    }
    
    /* Case Studies Header - Tablet */
    .container-header--case-studies {
        display: flex;
        justify-content: space-between; /* flex-start → space-between으로 변경 */
        align-items: center !important; /* 중앙 정렬로 변경 */
        gap: 1.5rem;
        flex-direction: row;
    }
    
    .container-header--case-studies .container-header__title .rhombus {
        margin-bottom: calc(100vw * (8 / 768)) !important; /* 태블릿에서도 다른 페이지와 동일한 margin 적용 */
    }
    
    .container-header--case-studies .container-header__text {
        flex: 0 1 auto;
    }
    
    .container-header--case-studies .container-header__image {
        max-width: 250px;
        order: 0;
    }
    
    .container-header--case-studies .container-header__desc {
        font-size: 16px !important; /* 0.95rem → 16px로 변경 */
        line-height: 1.5rem;
        color: #222;
        font-weight: 400 !important; /* font-weight 추가 */
    }
    
    /* Case Studies List - Tablet */
    .case-studies-list {
        margin-top: 3rem;
    }
    
    .case-study-item {
        display: flex;
        align-items: center;
        flex-direction: row;
        gap: 4rem;
        padding: 2.5rem 0; /* 태블릿: 40px */
    }
    
    .case-study__number {
        width: 90px;
        font-size: 1.5rem;
        line-height: 2.2rem;
    }
    
    .case-study__content {
        flex: 1;
        padding: 0 1rem;
    }
    
    .case-study__title {
        font-size: 1.5rem;
        line-height: 2.2rem;
        padding: 0.5rem 0;
    }
    
    .case-study__description {
        margin-bottom: 1.5rem;
    }
    
    .case-study__description li {
        line-height: 1.5rem;
        margin-bottom: 0.5rem;
    }
    
    .case-study__client {
        padding: 0.6rem 0.8rem;
        font-size: 0.9rem;
        line-height: 1.4rem;
    }
    
    .case-study__year {
        width: 70px;
        text-align: right;
        font-size: 0.9rem;
    }
    .sub-clients .clients__content .clients__bottom .clients__bottom-bg {
        width: 70%;
    }
    .sub-clients .clients__content .clients__bottom{
        padding: 7rem 0 0;
    }
    .sub-clients .clients__content{
        padding: 3.75rem 2.5rem 0;
    }

     /*References - SI Projects*/
    .main-page .ref-si-thumb{
        height: 17.5rem;
    }
    .main-page .ref-si-thumb img{
        max-width: 65% !important;
        max-height: 85% !important;
        object-fit: contain !important;
        width: auto !important;
        height: auto !important;
    }
    /* 서브페이지 전용 - swiper-card 안의 img는 제외 */
    .main-page .ref-projects-img:not(.swiper-card img){
        height: 15rem;
        max-width: 65%; /* 작은 화면에서도 비율 적용 */
        object-fit: contain;
    }
    /* swiper-card 안의 img는 auto */
    .main-page .swiper-card img.ref-projects-img {
        height: auto !important;
    }
    
    /* 메인페이지 swiper-card는 고정 크기 유지 - 더 강력한 선택자 */
    .main-page .references .main-container .swiper__wrapper .swiper-card .card__img {
        width: 420px !important;
        height: 420px !important;
    }
    .main-page .references .swiper-card:not(.ref-projects-img) .card__img {
        width: 420px !important;
        height: 420px !important;
    }
    .main-page .refs-si {
        gap: 1.25rem;
        padding: 1.25rem 0 var(--font-b1); /* 좌우 패딩 제거, main-container에서 처리 */
    }
    .main-page .ref-si-src{
        flex: 0 0 calc((100% - (1.25rem * 1)) / 2);
    }
    /*References - Solution*/
     .main-page .ref-list-img{
        width: 180px;
     }
     .main-page .ref-list-tex{
        padding-left: 4rem;
     }
}