@charset "utf-8";

/* =============== sub common =============== */

/* 본문 영역 지연 애니메이션 */
.main-page .section {
    animation-name: content-fade-in;
    animation-duration: 1s;
    animation-delay: 0.8s;
    animation-fill-mode: both;
}

@keyframes content-fade-in {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
/* sub-title */
.sub-title{
    position: relative;
    width: 100%;
    margin-bottom: 12.5rem; /* PC 기본값: 200px */
}
.sub-title .title-container {
    position: relative;
    width: 100%;
    padding: 12.44rem 3.75rem 4.375rem;/* PC 기본: 60px */
    overflow-x: hidden;
}
.sub-title .title-container .title-container__main {
    font-size: var(--font-display-01);
    line-height: var(--lineHeight-display-01);
    font-weight: 700;
    letter-spacing: -4px;
}


.sub-title .title-container .title-container__main .title-container__subtitle{
    color: var(--grayscale-color-bg-05, #f7f7f7);
    animation-name: subtitle-animation;
    animation-duration: 1.5s;
    animation-iteration-count: 1;
    margin-left: -60px;
}
/* PC: 큰 배경 글자(COMPANION SYSTEM)는 한 줄 고정.
   상자 폭과 글자 폭이 1440px 화면에서 거의 같아서(1365px), 폰트 렌더링이 0.4px만 달라도 두 줄로 넘어가던 문제 방지.
   모바일(767px 이하)은 원래 두 줄 디자인이라 그대로 둠. */
@media screen and (min-width: 768px) {
    .sub-title .title-container .title-container__main .title-container__subtitle{
        white-space: nowrap;
    }
}
@keyframes subtitle-animation {
    0%{
        transform: translateX(200px);
        opacity: 0;
    }
    20%{
        transform: translateX(200px);
        opacity: 0;
    }
    100%{
        transform: translateX(0);
        opacity: 1;
    }
}



/* 기본 PC 스타일을 세로 배치로 변경 */
.sub-title .title-container .title-container__main .title-container__title{
    display: flex;
    align-items: flex-start; /* flex-end → flex-start */
    flex-direction: column; /* 추가: 기본을 세로로 */
    gap: 1rem; /* 4vw → 1rem */
    margin-top: -2rem; /* -3.625rem → -2rem */
    width: 100%; /* 전체 너비 사용 */
}
.sub-title .title-container .title-container__main .title-container__title>div{
    animation-name: title-animation;
    animation-duration: 1.5s;
    animation-iteration-count: 1;
}

/* Business Area 페이지만 세로 배치 */
@media screen and (min-width: 1024px) and (max-width: 1919px) {
    /* Business Area 페이지에서만 세로 배치 */
    .main-page .sub-title .title-container .title-container__main .title-container__title{
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 1rem !important;
        margin-top: -2rem !important;
        width: 100% !important;
    }

    /* Contact 페이지 예외 처리 - 위 CSS를 덮어쓰기 */
    body.contact-page .main-page .sub-title .title-container .title-container__main .title-container__title,
    body:has(.contact-location) .main-page .sub-title .title-container .title-container__main .title-container__title {
        flex-direction: row !important;
        align-items: baseline !important;
        gap: 2rem !important;
        margin-top: -3.625rem !important;
        width: auto !important;
    }
}

/* 1920px 이상은 모든 페이지 가로 배치 (기본 유지) */

@keyframes title-animation {
    0%{
        transform: translateX(-50px);
        opacity: 0;
    }
    30%{
        transform: translateX(-50px);
        opacity: 0;
    }
    100%{
        transform: translateX(0);
        opacity: 1;
    }
}
.sub-title .title-container .title-container__main .title-container__title .title-container__desc{
    font-size: var(--font-h3);
    line-height: var(--lineHeight-h5);
    font-weight: 600;
    letter-spacing: -1px;
    animation-name: title-desc-animation;
    animation-duration: 2s;
    animation-iteration-count: 1;
    line-height: 1.5;
}
@keyframes title-desc-animation {
    0%{
        opacity: 0;
    }
    20%{
        opacity: 0;
    }
    100%{
        opacity: 1;
    }
}

.sub-title .page-nav{
    position: relative;
    padding: 0 3.75rem; /* PC 기본: 60px */
    margin-bottom: 12.5rem; /* 200px */
    height: 3.5rem;
    z-index: 1; /* 본문보다 낮은 z-index */
}
.sub-title .page-nav .page-nav__content{
    display: flex;
    align-items: center;
    gap: 0 1.25rem; 
    border-bottom: 1px solid var(--grayscale-color-bg-03, #cccccc);
    width: fit-content;
}
.sub-title .page-nav .page-nav__home a{
    width: 1.5rem;
}
.sub-title .page-nav .page-nav__home a img{
    width: 100%;
}
.sub-title .page-nav .page-nav__arrow{
    width: 1rem;
    height: 1rem;
    background: url(/v3/image/icon/icon-arrow-gray.f71073fbd4.svg) no-repeat center;
    background-size: 100%;
}
.sub-title .page-nav .page-nav__dropdown{
    position: relative;
}
.sub-title .page-nav .page-nav__dropdown .page-nav__dropdown-label{
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    line-height: var(--lineHeight-b2);
    width: 182px;
    height: 3.5rem;
    cursor: pointer;
}
.sub-title .page-nav .page-nav__dropdown .page-nav__dropdown-label img{
    width: 1.5rem;
    transform: rotate(-90deg);
}
.sub-title .page-nav .page-nav__dropdown .page-nav__dropdown-list{
    position: absolute;
    left: 0;
    top: 3.5rem;
    width: 100%;
    border-radius: 2px;
    z-index: 10;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}
.sub-title .page-nav .page-nav__dropdown:hover .page-nav__dropdown-list{
    max-height: 250px;
    transform: translateY(0);
    pointer-events: auto;
    background-color: var(--grayscale-color-line-02, #ffffff);
    border: 1px solid var(--grayscale-color-bg-03, #cccccc);
}
.sub-title .page-nav .page-nav__dropdown .page-nav__dropdown-list ul{
    padding: 20px;
}
.sub-title .page-nav .page-nav__dropdown .page-nav__dropdown-list ul li a{
    font-size: var(--font-b2);
    color: var(--grayscale-color-text-01);
    line-height: var(--lineHeight-b2);
    transition: all 0.4s;
    padding: 0.5rem 0;
}
.sub-title .page-nav .page-nav__dropdown .page-nav__dropdown-list ul li a:hover{
    color: var(--primary-color-01, #9F121F);
}
.sub-title .page-nav .page-nav__tabs{
    display: flex;
    align-items: center;
    list-style: none;
}
.sub-title .page-nav .page-nav__tabs li a{
    padding: 0 1.75rem;
    color: var(--grayscale-color-text-01, #222222);
    font-weight: 600;
    transition: all 0.4s ease-in-out;
    height: 3.5rem;
    line-height: 3.5rem;
}
.sub-title .page-nav .page-nav__tabs li a::after{
    display: block;
    content: '';
    border-bottom: solid 1px var(--primary-color-01);
    transform: scaleX(0);
    transition: transform 0.4s ease-in-out;
}
.sub-title .page-nav .page-nav__tabs li:hover a::after{
    transform: scaleX(1);
}
.sub-title .page-nav .page-nav__tabs li a.is-active::after{
    transform: scaleX(1);
}

/* =============== about us - who we are =============== */
/* who we are */
.main-page .who{
    position: relative;
    width: 100%;
    margin: 0 auto;
}
.section.who .main-container .container-header{
    /* 공통 스타일 사용 - common.css에서 padding 적용됨 */
}
.main-page .who .main-container .about__content{
    display: flex;
    align-items: flex-start; 
    padding-bottom: 15.625rem;/* 250px */
}
.main-page .who .main-container .about__content--01{
    margin-top: -4.75rem; /* 76px */
}
.main-page .who .main-container .about__content > div{
    width: 50%;
}
.main-page .who .main-container .about__content .u-padding{
    padding-left: 3.75rem;
}
.main-page .who .main-container .about__content--01 .about__text{
    padding: 8.5rem var(--font-h1) 0 3.75rem; /* 136px 48px 0 60px */
}
.main-page .who .main-container .about__content .about__title{
    font-size: var(--font-h1);
    line-height: var(--lineHeight-h1);
    margin-bottom: var(--font-h4);
}
.main-page .who .main-container .about__content .about__title span{
    font-weight: 600;
}
.main-page .who .main-container .about__content .about__description{
    line-height: var(--lineHeight-b2);
    word-break: keep-all;
}
.main-page .who .main-container .about__content .about__image img{
    width: 100%;
}
.main-page .who .main-container .about__content--02 .about__image img{
    width: 88%;
}


/* strengths */
.main-page .strengths{
    position: relative;
    width: 100%;
    margin: 0 auto;
    background-color: var(--grayscale-color-bg-05, #f7f7f7);
    overflow: hidden;
}
.main-page .strengths .strengths__bg{
    position: absolute;
    background: url(/v3/image/sub/about-strengths-bg.90382663cd.svg) no-repeat ;
    width: 13.813rem; /* 221px */
    height: 100%;
    background-size: 100%;
    left: 30%;
}
.main-page .strengths .main-container{
    position: relative;
    width: 100%;
    padding: 12.5rem 3.75rem; /* 200px 60px */
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}
.strengths .main-container .container-header{
    padding: 0 0 1.25rem; /* 60px 20px */
}

.strengths .main-container .strengths__content{
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 10rem; /* 160px */
}
.strengths .main-container .strengths__content .strengths__inner .strengths__title{
    font-size: var(--font-display-02);
    line-height: var(--lineHeight-display-02);
    font-weight: 700;
    padding-bottom: var(--lineHeight-h4);
}
.strengths .main-container .strengths__content .strengths__inner .list-non li{
    line-height: var(--lineHeight-b2);
    word-break: keep-all;
}
.strengths .main-container .strengths__content .strengths__inner .strengths__highlight{
    font-weight: 600;
    font-size: var(--font-h5);
    line-height: var(--lineHeight-h5);
    padding-bottom: 0.5rem; /* 8px */
}


/* overview */
.main-page .overview{
    position: relative;
    width: 100%;
    margin: 0 auto;
    background-color: var(--grayscale-color-line-02, #ffffff);
}
.main-page .overview .main-container{
    position: relative;
    width: 100%;
    padding: 12.5rem 18.125rem 0; /* 200px 290px */
}
.main-page .overview .main-container .overview__counters{
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    border-bottom: 1px solid var(----grayscale-color-text-01, #222222);
    padding-bottom: 4.375rem;
}
.overview .main-container .overview__counter {
    font-variant-numeric: tabular-nums;
    text-align: right;
    display: inline-block;
}
.overview .main-container .overview__counter:nth-child(1){
    width: 10.5rem;
}
.overview .main-container .overview__counter:nth-child(2){
    width: 15.5rem;
}
.overview .main-container .overview__counter:nth-child(3){
    width: 14.188rem;
}
.overview .main-container .overview__counter:nth-child(4){
    width: 15.563rem;
}
.overview .main-container .overview__counter .counter-list{
    text-align: center;
    margin: 0 auto;
}
.overview .main-container .overview__counter .counter-list li{
    padding-bottom: 1.25rem; /* 20px */
}
.overview .main-container .overview__counter .counter-list li:last-child{
    padding-bottom: 0;
}
.overview .main-container .overview__counter .counter-list__icon{
    max-width: 6.25rem; /* 100px */
    height: auto;
    position: relative;
    margin: 0 auto;
}
.overview .main-container .overview__counter .counter-list__icon img{
    width: 100%;
}
.overview .main-container .overview__counter .counter-list__number{
    font-weight: 800;
    font-size: var(--font-display-03);
    line-height: var(--lineHeight-display-03);
}
.overview .main-container .overview__counter .counter-list__label{
    font-weight: 600;
    font-size: var(--font-b1);
    line-height: var(--lineHeight-b1);
}
.overview .main-container .overview__counter .counter-list__desc{
    font-size: var(--font-b3);
    line-height: var(--lineHeight-b3);
}

.main-page .overview .main-container .overview__description{
    padding-top: 4.375rem;
}
.main-page .overview .main-container .overview__description ul li{
    line-height: var(--lineHeight-b2);
    margin-bottom: 0.5rem;
}
.main-page .overview .main-container .overview__description ul li:nth-child(4){
    white-space: nowrap;
}

/* description_tel  -  sub page 전화  */
section .main-container .contact-item a.description_tel,
section .main-container .contact-item a.description_tel[href^="tel"]{
    color: var(--grayscale-color-text-01, #222222);
    text-decoration: none;
    display: inline; 
    white-space: nowrap;
}


/* =============== about us - history =============== */
/* history */
.main-page .history{
    position: relative;
    width: 100%;
    margin: 0 auto;
}
.section.history .main-container .container-header{
    padding-bottom: 0; /* 하단 패딩 제거 - sub-title margin-bottom으로 통일 */
}
.history .history__content{
    padding: 0 3.75rem; /* 200px */
    display: flex;
    align-items: flex-start;
}
.history .history__content > div{
    width: 50%;
    position: relative;
    word-break: keep-all;
}
.history .history__content .history__desc{
    line-height: var(--lineHeight-b2);
    width: 68%;
}
.history .history__content .history__bg{
    position: absolute;
    width: 48.875rem; /* 782px */
    left: -20%;
    top: calc(8.5rem + 8.5rem); /* 136px + 136px = 272px (history__intro 아래로) */
    z-index: -1; /* 텍스트 뒤에 표시 */
}
.history .history__content .history__bg img{
    width: 100%;
}
.history .history__content .history__timeline{
    display: flex;
}
.history .history__content .history__axis{
    position: relative;
}
.history .history__content .history__axis .history__rhombus{
    width: 2.625rem; /* 42px */
    height: 2.625rem; /* 42px */
    background-color: var(--primary-color-01, #9F121F);
    transform: rotate(136deg);
}
.history .history__content .history__axis .history__line{
    width: 1px;
    height: 1600px;
    border-left: 1px solid var(--grayscale-color-bg-03, #cccccc);
    margin: 0 auto;
}
.history .history__content .history__list{
    width: 100%;
    margin-top: 3.75rem; /* 60px */
    margin-left: -1.313rem; /* 21px */
}
.history .history__content .history__list .history__year-block{
    margin-bottom: 2.5rem; /* 40px */
    display: flex;
    gap: 21px;
    width: 100%;
}
.history .history__content .history__list .history__year-block .history__line-fill{
    width: 2.25rem; /* 36px */
    height: 1px;
    margin-top: 2.3%;
    background-color: var(--grayscale-color-bg-03, #cccccc);
}
.history .history__content .history__list .history__year-block .history__year-group{
    flex-grow: 1;
}
.history .history__content .history__list .history__year-block .history__year-group .history__year{
    font-weight: 800;
    font-size: var(--font-h3);
    line-height: var(--lineHeight-h3);
}
.history .history__content .history__list .history__year-block .history__year-group .history__event-list{
    padding: 8px 0 0 2.5%;
    line-height: var(--lineHeight-b2);
    letter-spacing: 0.01875rem;
}
.history .history__content .history__list .history__year-block .history__year-group .history__event-list li::marker{
    font-size: 0.75rem; /* 12px */
}



/* =============== about us - header title  =============== */
/* about-container-header 스타일 삭제 - common.css의 공통 container-header 스타일 사용 */
/* about-certi-title이 있는 페이지의 container-header 하단 패딩 제거 */
.section.about-sec .main-container .container-header {
    padding-bottom: 0 !important;
}

.about-sec .about-certi-title{
    font-size: var(--font-b2);
    line-height: var(--lineHeight-b2);
    margin-top: 8px;
}


/*Certifications*/
.about-sec{
    position: relative;
    width: 100%;
    margin: 0 auto;
    background-color: var(--grayscale-color-line-02, #ffffff);
}

.main-page .about-certi-list{
    width: 100%;
    margin: 0 auto;
}
.main-page .about-certi{
    list-style: none;
    padding: 3.75rem 3.75rem 12.5rem;
    display: flex;
    flex-wrap: wrap;
    margin: 0 auto;
    width: 100%;
    justify-content: flex-start;
    box-sizing: border-box;
    gap: 3.125rem 1.5625rem;
}
.main-page .about-certi-title{
    padding: 0 3.75rem;
}
.main-page .about-certi-src{
    flex: 0 0 calc((100% - (1.5625rem * 4)) / 5);
    box-sizing: border-box;
    width: auto;    
    margin-bottom: 0.625rem;
}
.about-certi-thumb{
    display: flex;
    justify-content: center;
    background-color: #f7f7f7;
    height: 25rem;
    align-items: center;
}
.main-page .about-certi-img{
    height: 16.25rem;
}
.main-page .about-awards-img{
    height: 13.125rem;
}
.main-page .about-certii-text{
    font-size: var(--font-b2);
    line-height: var(--lineHeight-b2);
    margin-top: 1rem;
    text-align: center;
}
.main-page .about-certii-text >span{
    font-size: var(--font-b1);
    line-height: var(--font-b1);
    margin-bottom: 0.5rem;
    font-weight: 600;
}
.main-page .about-awards{
    list-style: none;
    padding: 3.75rem 3.75rem;
    display: flex;
    flex-wrap: wrap;
    margin: 0 auto;
    width: 100%;
    justify-content: flex-start;
    box-sizing: border-box;
    gap: 3.125rem 1.5625rem;
}


/* =============== about us - clients =============== */
/* clients */
.section.sub-clients {
    position: relative;
    width: 100%;
    overflow: hidden;
}
.sub-clients .clients__content{
    position: relative;
    width: 100%;
    margin: 0 auto;
    padding: 3.75rem 3.75rem 0; /* PC 기본: 60px */
}
.sub-clients .clients__content .clients__list{
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
}
.sub-clients .clients__content .clients__list .clients__item{
    background-color: var(--grayscale-color-line-02, #ffffff);
    border: 1px solid var(--grayscale-color-line-01, #e6e6e6);
    border-radius: 2px;
    width: calc((100% - 25px * 4) / 5);
    height: 150px;
    box-sizing: border-box;
    padding: 58px 74px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.sub-clients .clients__content .clients__list .clients__item img{
    max-width: 100%;
    height: auto;
    display: block;
    min-width: 120px;
    flex-shrink: 0;   
    width: auto;
    max-height: 33px;
    /* SVG 이미지 렌더링 품질 개선 */
    object-fit: contain;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
}
.sub-clients .clients__content .clients__bottom{
    display: flex;
    align-items: center;
    padding: 12.5rem 0 0; /* 200px */
    gap: 3.125rem; /* 50px */
}
.sub-clients .clients__content .clients__bottom .clients__bottom-bg{
    width: 30%;
}
.sub-clients .clients__content .clients__bottom .clients__bottom-bg img{
    width: 100%;
}
.sub-clients .clients__content .clients__bottom .clients__bottom-text .title{
    font-weight: 800;
    font-size: var(--font-display-03);
    line-height: var(--lineHeight-display-03);
    padding-bottom: 1rem;
}
.sub-clients .clients__content .clients__bottom .clients__bottom-text p{
    font-size: var(--font-b1);
    line-height: var(--lineHeight-b1);
    word-break: keep-all;
}
.sub-clients .clients__content .clients__list .clients__item:nth-child(1) img{
    min-width: 145px;
}
.sub-clients .clients__content .clients__list .clients__item:nth-child(3) img{
    height: 28px;
}
.sub-clients .clients__content .clients__list .clients__item:nth-child(4) img{
    max-height: 49px;
}
.sub-clients .clients__content .clients__list .clients__item:nth-child(5) img{
    min-width: 135px;
}
.sub-clients .clients__content .clients__list .clients__item:nth-child(10) img{
    max-height: 40px;
}
.sub-clients .clients__content .clients__list .clients__item:nth-child(13) img{
    max-height: 40px;
}
.sub-clients .clients__content .clients__list .clients__item:nth-child(16) img{
    max-height: 48px;
    min-width: 120px;
}
.sub-clients .clients__content .clients__list .clients__item:nth-child(17) img{
    max-height: 26px;
}
.sub-clients .clients__content .clients__list .clients__item:nth-child(18) img{
    max-height: 22px;
}
.sub-clients .clients__content .clients__list .clients__item:nth-child(19) img{
    max-height: 46px;
}
.sub-clients .clients__content .clients__list .clients__item:nth-child(20) img{
    max-height: 18px;
}
.sub-clients .clients__content .clients__list .clients__item:nth-child(21) img{
    max-height: 25px;
}
.sub-clients .clients__content .clients__list .clients__item:nth-child(22) img{
    max-height: 50px;
}
.sub-clients .clients__content .clients__list .clients__item:nth-child(25) img{
    max-height: 50px;
    min-width: 130px;
}
.sub-clients .clients__content .clients__list .clients__item:nth-child(27) img{
    max-height: 50px;
}

/* =============== Business Area =============== */
.section.business-area {
    position: relative;
    width: 100%;
    padding: 0 3.75rem; /* PC 기본: 60px */
    overflow: hidden;
}

 /* Case Studies와 Contact Inquiry 페이지에서 page-nav 하단 여백 감소 */
  body.contact-page .sub-title .page-nav {
      margin-bottom: calc(12.5rem - 4.1rem); /* contact-inquiry 적용 */
  }
  
  /* case-studies용 - 페이지 구조로 타겟팅 */
  .main-page:has(.section.business-area) .sub-title .page-nav {
      margin-bottom: calc(12.5rem - 3.1rem); /* case-studies 적용 */
  }
  
  /* 타이틀 컨테이너 높이 통일 - business-area와 contact-inquiry */
  .section.business-area .container-header--case-studies,
  .section.contact-inquiry .container-header--case-studies {
      min-height: 215px; /* 높이 좀 더 늘려서 텍스트 차이 보정 */
      margin-top: -1rem; /* 이미지 덜 짤리게 조정 */
      position: relative;
      z-index: 10; /* 브레드크럼보다 높은 z-index */
      align-items: flex-start; /* 텍스트를 위쪽 정렬로 통일 */
  }



/* Tablet 여백 (768px~1023px): 40px */
@media screen and (min-width: 768px) and (max-width: 1023px) {
    .section.business-area {
        padding: 0 2.5rem; /* 40px */
        margin-top: 4rem; /* 64px - 태블릿 간격 */
    }
}

/* Mobile 여백 (767px 이하): 20px */
@media screen and (max-width: 767px) {
    .section.business-area {
        padding: 0 1.25rem !important; /* 20px */
        margin-top: 3rem !important; /* 48px - 모바일 간격 */
    }
}

/* Contact Location 섹션만 margin 제거 */
.main-page .section.contact-location {
    margin-bottom: 0 !important;
}

.business-area .main-container .container-header {
    padding: 0 0 0rem;    
}


/* PC에서 footer와 본문섹션 사이 200px 간격 (what-we-do.html 제외) */
@media screen and (min-width: 1024px) {
    /* Case Studies 페이지 */
    body:has(.container-header--case-studies) .section.business-area {
        margin-bottom: 12.5rem !important; /* 200px */
    }

    /* Contact Location 섹션만 margin 제거 */
    .main-page .section.contact-location {
        margin-bottom: 0 !important;
    }

    /* 기타 모든 섹션 (what-we-do, about-clients, 메인페이지 제외) */
    body:not(:has(.home-solutions)):not(:has(.section.solutions)):not(:has(.section.clients)):not(:has(.business-area__bottom-bg)):not(:has(.clients__bottom-bg)) .main-page .section:last-child {
        margin-bottom: 12.5rem !important; /* 200px */
    }

    /* About 페이지들은 이미 충분한 하단 패딩을 가지므로 section margin 제거 */
    /* body:has(.about-sec) .main-page .section:last-child {
        margin-bottom: 0 !important;
    } */
    
    /* About - Clients 페이지는 margin-bottom 필요 */
    body:has(.sub-clients) .main-page .section:last-child {
        margin-bottom: 8rem !important; /* 128px - 모든 구간 통일 */
    }

    /* solutions_petaso, Solution_ips, Solution_icon 페이지들은 200px 하단 여백 필요 */
    body:has(.section.petaso) .main-page .section:last-child,
    body:has(.section.ips) .main-page .section:last-child,
    body:has(.section.icon) .main-page .section:last-child {
        margin-bottom: 12.5rem !important; /* 200px */
    }
    /* sub-clients는 위에서 별도로 처리 */

    /* what-we-do.html만 제외 */
    body:has(.business-area__services) .main-page .section:last-child {
        margin-bottom: 0 !important;
    }

    /* ImageShop 페이지에서는 .solution-imageShop에서 padding-bottom을 관리하므로 section margin 제거 */
    body:has(.solution-imageShop) .main-page .section:last-child {
        margin-bottom: 0 !important;
    }
    
    /* Contact-inquiry 페이지도 section margin 제거 */
    body:has(.section.contact-inquiry) .main-page .section:last-child {
        margin-bottom: 12.5rem !important; /* 200px 하단 여백 유지 */
    }
}

/* Contact Location 섹션은 하단 마진 제거 - 가장 높은 우선순위 */
body:has(.contact-location) .main-page .section:last-child {
    margin-bottom: 0 !important;
}

/* 태블릿에서 footer와 본문섹션 사이 200px 간격 (what-we-do.html 제외) */
@media screen and (min-width: 768px) and (max-width: 1023px) {
    /* Case Studies 페이지 */
    body:has(.container-header--case-studies) .section.business-area {
        margin-bottom: 12.5rem !important; /* 200px */
    }

    /* 기타 모든 섹션 (what-we-do, about-clients, 메인페이지 제외) */
    body:not(:has(.section.solutions)):not(:has(.section.clients)):not(:has(.business-area__bottom-bg)):not(:has(.clients__bottom-bg)) .main-page .section:last-child {
        margin-bottom: 12.5rem !important; /* 200px */
    }

    /* solutions_petaso, Solution_ips, Solution_icon 페이지들은 200px 하단 여백 필요 - 태블릿 */
    body:has(.section.petaso) .main-page .section:last-child,
    body:has(.section.ips) .main-page .section:last-child,
    body:has(.section.icon) .main-page .section:last-child {
        margin-bottom: 12.5rem !important; /* 200px */
    }
    /* sub-clients는 별도 처리로 8rem 유지 */

    /* what-we-do.html만 제외 */
    body:has(.business-area__services) .main-page .section:last-child {
        margin-bottom: 0 !important;
    }

    /* ImageShop 페이지에서는 .solution-imageShop에서 padding-bottom을 관리하므로 section margin 제거 */
    body:has(.solution-imageShop) .main-page .section:last-child {
        margin-bottom: 0 !important;
    }

    /* About 페이지들은 이미 충분한 하단 패딩을 가지므로 section margin 제거 */
    /* body:has(.about-sec) .main-page .section:last-child {
        margin-bottom: 0 !important;
    } */
    
    /* About - Clients 페이지는 margin-bottom 필요 */
    body:has(.sub-clients) .main-page .section:last-child {
        margin-bottom: 8rem !important; /* 128px - 모든 구간 통일 */
    }
    
    /* Contact-inquiry 페이지도 section margin 제거 */
    body:has(.section.contact-inquiry) .main-page .section:last-child {
        margin-bottom: 12.5rem !important; /* 200px 하단 여백 유지 */
    }
}

/* 모바일에서 footer와 본문섹션 사이 80px 간격 (what-we-do.html 제외) */
@media screen and (max-width: 767px) {
    /* Case Studies 페이지 */
    body:has(.container-header--case-studies) .section.business-area {
        margin-bottom: 5rem !important; /* 80px - 모바일 표준 간격 */
    }

    /* 기타 모든 섹션 (what-we-do, about-clients, 메인페이지 제외) */
    body:not(:has(.section.solutions)):not(:has(.section.clients)):not(:has(.business-area__bottom-bg)):not(:has(.clients__bottom-bg)) .main-page .section:last-child {
        margin-bottom: 5rem !important; /* 80px */
    }

    /* solutions_petaso, Solution_ips, Solution_icon, about_clients 페이지들은 80px 하단 여백 필요 - 모바일 */
    body:has(.section.petaso) .main-page .section:last-child,
    body:has(.section.ips) .main-page .section:last-child,
    body:has(.section.icon) .main-page .section:last-child,
    body:has(.sub-clients) .main-page .section:last-child {
        margin-bottom: 5rem !important; /* 80px */
    }

    /* what-we-do.html만 제외 */
    body:has(.business-area__services) .main-page .section:last-child {
        margin-bottom: 0 !important;
    }

    /* ImageShop 페이지에서는 .solution-imageShop에서 padding-bottom을 관리하므로 section margin 제거 */
    body:has(.solution-imageShop) .main-page .section:last-child {
        margin-bottom: 0 !important;
    }

    /* About 페이지들은 이미 충분한 하단 패딩을 가지므로 section margin 제거 */
    /* body:has(.about-sec) .main-page .section:last-child {
        margin-bottom: 0 !important;
    } */
    
    /* About - Clients 페이지는 margin-bottom 필요 */
    body:has(.sub-clients) .main-page .section:last-child {
        margin-bottom: 8rem !important; /* 128px - 모든 구간 통일 */
    }
    
    /* Contact-inquiry 페이지도 section margin 제거 */
    body:has(.section.contact-inquiry) .main-page .section:last-child {
        margin-bottom: 12.5rem !important; /* 200px 하단 여백 유지 */
    }
}




.container-header p, .container-header h1 {
    font-size: 2.625rem;
    font-style: normal;
    font-weight: 800;
    line-height: 3.5rem; /* 133.333% */
    letter-spacing: -0.07875rem;
    color: var(--grayscale-color-subtitle);
    margin-bottom: 0.5rem;
}

.rhombus {
    width: 12px;
    height: 12px;
    background-color: #9f121f;
    transform: rotate(45deg);
    margin-bottom: 2rem;
}

/* ===== 데스크톱 레이아웃 (기본) ===== */
.business-area__content {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
    position: relative;
    min-height: 320px;
}

.business-area__text {
    flex: none;
    width: 770px; 
    height: 320px;
    position: relative;
    z-index: 10;
    background-color: white;
    padding-right: 2rem;
    margin-left: -90px;
    padding-left: 90px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.business-area__title {
    font-size: 4rem;
    font-weight: 800;
    color: var(--grayscale-color-title, #111);
    margin-bottom: 1rem;
}

.business-area__desc {
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--grayscale-color-subtitle, #222);
    margin-bottom: 1rem;
}

/* 데스크톱 이미지 (슬라이드 효과용) - 1281px 이상에서만 */
@media screen and (min-width: 1281px) {
    .business-area__images {
        display: flex;
        gap: 0.25rem;
        flex-shrink: 0;
        align-items: center;
        position: absolute !important;
        right: 0;
        top: 50% !important;
        /* transform은 JavaScript에서 제어 */
        cursor: grab;
        user-select: none;
        z-index: 1;
        margin-top: 0 !important;
        order: auto !important;
    }
}

/* 1025px~1280px: PC 가로형 구조 유지 - Business Area 전용 */
@media screen and (min-width: 1025px) and (max-width: 1280px) {
    .business-area__content {
        display: flex !important;
        justify-content: flex-start !important;
        align-items: center !important;
        gap: 3rem !important;
        flex-wrap: wrap !important;
        position: relative !important;
        min-height: 320px !important;
    }

    .business-area__text {
        flex: none !important;
        width: 550px !important; 
        height: 320px !important;
        position: relative !important;
        z-index: 10 !important;
        background-color: white !important;
        padding-right: 2rem !important;
        margin-left: -90px !important;
        padding-left: 90px !important;
        flex-shrink: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        order: 1 !important;
    }

    /* 1025px~1280px에서 타이틀 텍스트 크기 줄이기 */
    .business-area__title {
        font-size: 2.5rem !important; /* 4rem → 2.5rem */
        font-weight: 800 !important;
        color: var(--grayscale-color-title, #111) !important;
        margin-bottom: 1rem !important;
        line-height: 2.8rem !important;
    }

    .business-area__desc {
        font-size: 1rem !important; /* 1.25rem → 1rem */
        font-weight: 400 !important;
        color: var(--grayscale-color-subtitle, #222) !important;
        margin-bottom: 1rem !important;
    }

    .business-area__images {
        display: flex !important;
        gap: 0.25rem !important;
        flex-shrink: 0 !important;
        align-items: center !important;
        position: absolute !important;
        right: 0 !important;
        top: 50% !important;
        /* transform은 JavaScript에서 제어 */
        cursor: grab !important;
        user-select: none !important;
        z-index: 1 !important;
        margin-top: 0 !important;
        order: auto !important;
    }

    .business-area__images img {
        width: 240px !important;
        height: 240px !important;
        flex-shrink: 0 !important;
    }
}

/* 1024px-1280px: 3열 레이아웃 통일 */
@media screen and (min-width: 1024px) and (max-width: 1280px) {
    /* References SI Projects - 3열 */
    .main-page .refs-si {
        gap: 1.75rem;
    }
    .main-page .ref-si-src {
        flex: 0 0 calc((100% - (1.75rem * 2)) / 3);
    }
    
    /* Business Area 스타일 유지 */
    .business-area__content {
        display: flex !important;
        justify-content: flex-start !important;
        align-items: center !important;
        gap: 3rem !important;
        flex-wrap: wrap !important;
        position: relative !important;
        min-height: 320px !important;
    }

    .business-area__text {
        flex: none !important;
        width: 550px !important; 
        height: 320px !important;
        position: relative !important;
        z-index: 10 !important;
        background-color: white !important;
        padding-right: 2rem !important;
        margin-left: -90px !important;
        padding-left: 90px !important;
        flex-shrink: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        order: 1 !important;
    }

    /* 타이틀 텍스트 크기 줄이기 */
    .business-area__title {
        font-size: 2.5rem !important;
        font-weight: 800 !important;
        color: var(--grayscale-color-title, #111) !important;
        margin-bottom: 1rem !important;
        line-height: 2.8rem !important;
    }

    .business-area__desc {
        font-size: 1rem !important;
        font-weight: 400 !important;
        color: var(--grayscale-color-subtitle, #666) !important;
        margin-bottom: 1rem !important;
    }

    .business-area__images {
        display: flex !important;
        gap: 0.25rem !important;
        flex-shrink: 0 !important;
        align-items: center !important;
        position: absolute !important;
        right: 0 !important;
        top: 50% !important;
        cursor: grab !important;
        user-select: none !important;
        z-index: 1 !important;
        margin-top: 0 !important;
        order: auto !important;
    }

    .business-area__images img {
        width: 200px !important;
        height: 200px !important;
        flex-shrink: 0 !important;
    }
}

/* 1023px 이하에서는 세로 정렬 */
@media screen and (max-width: 1023px) {
    .business-area__content {
        flex-direction: column !important;
        align-items: flex-start !important;
        min-height: auto !important;
    }

    .business-area__text {
        position: relative !important;
        width: 100% !important;
        height: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        z-index: auto !important;
        background: transparent !important;
        order: 2 !important; /* 텍스트가 이미지 아래 오도록 */
    }

    .business-area__images {
        position: relative !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: 2rem !important;
        right: auto !important;
        top: auto !important;
        transform: none !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;
        transition: opacity 0.3s ease;
        width: 100% !important;
    }

    .business-area__images::-webkit-scrollbar {
        display: none !important;
    }

    .business-area__images img {
        width: calc((100vw - 120px - 4px) / 1.5) !important;
        height: calc((100vw - 120px - 4px) / 1.5) !important;
        max-width: 320px !important;
        max-height: 320px !important;
        flex-shrink: 0 !important;
    }
}

.business-area__images:active {
    cursor: grabbing;
}

.business-area__images img {
    width: 320px;
    height: 320px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
}

/* 480px 이하에서 1.5개씩 보이게 */
@media screen and (max-width: 480px) {
    .business-area__content {
        padding: 0 20px !important;
    }

    .business-area__images {
        width: calc(100vw - 40px) !important;
        overflow-x: auto !important;
        scrollbar-width: none !important;
        -ms-overflow-style: none !important;
    }

    .business-area__images::-webkit-scrollbar {
        display: none !important;
    }

    .business-area__images img {
        width: calc((100vw - 40px - 4px) / 1.5) !important;
        height: calc((100vw - 40px - 4px) / 1.5) !important;
        flex-shrink: 0 !important;
    }
}

/* 웹킷 브라우저 스크롤바 숨김 */
.business-area__images::-webkit-scrollbar {
    display: none;
}

/* Services Section */
.business-area__services-wrapper {
    width: 100%;
    border-top: 1px solid #ddd;
    margin-top: 5rem;
    padding-top: 4rem;
}

.business-area__services {
    display: flex;
    justify-content: center;
    width: 120rem;
    margin: 0 auto;
    position: relative;
    padding: 4.125rem 24.3125rem;
    align-items: center;
    gap: 17.4375rem;
}

.service-box {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
}

.service-box .dot-icon {
    position: absolute;
    top: -4.4rem;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 12px;
    height: 12px;
    background-color: #9f121f;
}

.service-title {
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 2.25rem;
    margin: 0;
    text-align: left;
}

.service-box ul {
    list-style-type: disc;
    list-style-position: outside;
    padding-left: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.service-box ul li {
    font-size: 1rem;
    line-height: 1.625rem;
}

.service-box ul li::marker {
    color: #222;
    font-size: 0.75rem;
}

/* Bottom Text Section */
.business-area__bottom-text-wrapper {
    position: relative;
    overflow: hidden;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
}

.business-area__bottom-text {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 6.25rem 0 13rem;
}

.business-area__bottom-text h2 {
    font-size: 4rem;
    font-style: normal;
    font-weight: 800;
    line-height: 3.75rem;
    letter-spacing: -0.12rem;
}

.business-area__bottom-text p {
    font-size: 1.125rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.75rem;
    padding-top: 1.5rem;
}

.business-area__bottom-bg {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%; 
    height: 13.1995rem;
    background: url('/v3/image/sub/busi_pattern-bg.8c4632629d.svg') no-repeat center bottom;
    background-size: 100% auto;
    z-index: 1;
    pointer-events: none;
}

/* what-we-do 페이지와 about-clients 페이지에서만 하단 여백 제거 (full-width 배경 이미지가 있는 페이지만) */
body:has(.business-area__bottom-bg) .section.business-area,
body:has(.clients__bottom-bg) .section.sub-clients {
    margin-bottom: 0 !important;
}

.business-area__full-line {
    position: relative;
    left: -3.75rem;
    width: calc(100% + 7.5rem);
    height: 1px;
    background-color: #D9D9D9;
    margin-top: 6.25rem;
}

/* Case Studies 전용 헤더 스타일 */
.container-header--case-studies {
    display: flex;
    justify-content: space-between; 
    align-items: center !important; /* 중앙 정렬로 변경 - !important 추가 */
    gap: 2rem;
}

/* Contact Inquiry 페이지에서만 중앙 정렬 필요한 경우 - 더 구체적인 선택자로 변경 */
.section.contact-inquiry .main-container .container-header--case-studies {
    align-items: center !important;
}

.container-header--case-studies .container-header__text {
    flex: 0 1 auto;
}

.container-header__title {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.container-header--case-studies .container-header__title {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.container-header--case-studies .container-header__title p, .container-header--case-studies .container-header__title h1 {
    /* 일반 container-header p의 기본 margin을 상속받음 */
}

.container-header--case-studies .container-header__title .rhombus {
    margin-bottom: 20px;
    flex-shrink: 0;
}

.container-header--case-studies .container-header__desc {
    font-size: 1rem;
    font-style: normal;
    font-weight: 300;
    line-height: 1.625rem;
    margin: 0;
    color: #222;
}

.container-header--case-studies .container-header__image {
    flex-shrink: 0;
    max-width: 340px;
}

.container-header--case-studies .container-header__image img {
    width: 100%;
    height: auto;
    display: block;

}

/* Contact Inquiry Form */
.inquiry-form {
    margin-top: 3.75rem; /* 60px */
    padding: 0 3.75rem; /* PC 기본: 좌우 60px */
}

.form-column {
    display: flex;
    flex-direction: column;
    gap: 2rem; /* 32px */
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem; /* 12px */
}

.form-label {
    font-size: 1rem; /* 16px */
    font-weight: 600;
    color: #222;
    margin: 0;
}

.required {
    color: #CE0101;
    margin-left: 0.25rem; /* 4px */
}

.form-input {
    width: 32.875rem; /* 526px - 이름, 회사명, 연락처, 이메일 */
    padding: 0.62rem 0 0.62rem; 
    border-bottom: 1px solid #222;    
    font-size: 1rem; /* 16px */
    font-family: inherit;
    box-sizing: border-box;
}

.form-textarea {
    width: 100%;
    padding: 0.62rem 0 0.62rem; 
    border-bottom: 1px solid #222;    
    font-size: 1rem; /* 16px */
    font-family: inherit;
    box-sizing: border-box;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: #9F121F;
}

.form-input::placeholder,
.form-textarea::placeholder,
.form-input-wide::placeholder {
    color: #999;
}

.form-input-wide {
    width: 100%; /* textarea와 동일한 전체 너비 */
    padding: 0.62rem 0 0.62rem; 
    border-bottom: 1px solid #222;    
    font-size: 1rem; /* 16px */
    font-family: inherit;
    box-sizing: border-box;
}

.form-input-wide:focus {
    outline: none;
    border-color: #9F121F;
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

/* 태블릿에서 inquiry-form 패딩 */
@media screen and (min-width: 768px) and (max-width: 1023px) {
    .inquiry-form {
        padding: 0 var(--lineHeight-h3) 0; /* 태블릿: 좌우 40px */
    }
}

/* 모바일에서 inquiry-form 패딩 */
@media screen and (max-width: 767px) {
    .inquiry-form {
        padding: 0 var(--padding-20) 0; /* 모바일: 좌우 20px */
    }
}

/* Contact Inquiry Submit Button */
.form-submit {
    display: flex;
    justify-content: center;
    margin-top: 2rem; /* 32px */
}

.inquiry-submit-btn {
    width: 25rem; /* 400px - location 페이지 버튼과 동일 */
    height: 3.5rem; /* 56px */
    background-color: #222; /* 배경색 #222 */
    color: white;
    font-size: 1rem; /* 16px */
    padding: 1rem 1.875rem;
    border: 1px solid #222;
    border-radius: 0.25rem;
    cursor: pointer;
    font-family: inherit;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.inquiry-submit-btn:hover {
    background-color: #333;
    border-color: #333;
}

/* Contact Inquiry - 전화 문의 안내 (메일 폼 대체) */
.inquiry-phone {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
}

.inquiry-phone__label {
    font-size: 1rem; /* 16px */
    font-weight: 600;
    color: #222;
    margin: 0;
}

.inquiry-phone__number {
    font-size: 3rem; /* 48px */
    font-weight: 700;
    color: #9F121F;
    text-decoration: none;
    letter-spacing: -0.02em;
    white-space: nowrap;
}

.inquiry-phone__desc {
    font-size: 1rem; /* 16px */
    color: #555;
    margin: 0;
    word-break: keep-all;
}

.inquiry-phone .inquiry-submit-btn {
    text-decoration: none;
}

@media screen and (max-width: 767px) {
    .inquiry-phone__number {
        font-size: 2rem; /* 32px */
    }
    .inquiry-phone__desc {
        font-size: 0.875rem; /* 14px */
    }
}

/* 모바일에서 문의하기 버튼 스타일 */
@media screen and (max-width: 768px) {
    .inquiry-submit-btn {
        width: 20rem; /* 320px */
        height: 2.5rem; /* 40px */
        font-size: 0.875rem; /* 14px */
        padding: 0.625rem 0.75rem;
    }
}

/* 390px 모바일에서는 이미지 표시 (주석 처리)
@media screen and (max-width: 390px) {
    .container-header--case-studies .container-header__image {
        display: none;
    }
}
*/

/* Case Studies 리스트 */
.case-studies-list {
    margin-top: 4rem;
}

.case-study-item {
    display: flex;
    align-items: center;
    padding: 3.75rem 0; /* 60px → 3.75rem */
    border-top: 1px solid #e5e5e5;    
    gap: 7.4375rem;
}

/* 마지막 case-study-item에 하단 테두리 추가 */
.case-study-item:last-child {
    border-bottom: 1px solid #e5e5e5;
}

.case-study__number {
    flex-shrink: 0;
    width: 120px;
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 2.5rem; 
}

.case-study__content {
    flex: 1;
    padding: 0 2rem;
}

.case-study__title {
    font-size: 1.75rem;    
    font-weight: 600;
    line-height: 2.5rem;
    padding: 0.75rem 0;
}

.case-study__description {
    margin-bottom: 1.5rem;
    padding-left: 0;
    list-style: none;
}

.case-study__description li {
    position: relative;
    padding-left: 1rem;
    line-height: 1.625rem;
    word-break: keep-all;
}

.case-study__description li:last-child {
    margin-bottom: 0;
}

.case-study__description li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #333;
}

.case-study__client {
    color: #222;
    background-color: #f7f7f7;
    padding: 0.225rem 0;
    border-radius: 4px;
    display: inline-block;
    max-width: 100%;
    word-break: keep-all;
}

.case-study__year {
    color: #555;
    flex-shrink: 0;
    width: 80px;
    text-align: right;
    font-size: 1rem;    
    font-weight: 400;
    line-height: 1.625rem;
}

/* PC에서 case-study-item 패딩 60px 적용 */
@media screen and (min-width: 1024px) {
    .case-study-item {
        padding: 3.75rem 0 !important; /* PC: 60px */
    }
}

/* ===============  Solutions Area =============== */
/* Solution - 공통 */
.main-page .solutions{
    position: relative;
    width: 100%;
    margin: 0 auto;
    background-color: var(--grayscale-color-line-02, #ffffff);
}
.main-page .solution_sub_title {
    position: relative;
    width: 100%;
    padding: 2.5rem 3.75rem 1.5rem ;
    font-weight: 400;
    font-size: var(--font-h1);
}
.main-page .solution_sub_text {
    position: relative;
    width: 100%;
    padding: 0 3.75rem 3.75rem ; 
    font-weight: 400;
    font-size: var(--font-b2);
    line-height: var(--lineHeight-b2);
    word-break: keep-all;
}
.main-page .only-pc-solution{
    display: block;
    width: 100%;
    margin: 0 auto 12.5rem auto;
}
.main-page .only-mo-solution{
    display: none;
}
.main-page .solution-list-container{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    padding: 2.5rem 3.75rem 0;
    justify-items: start;
    max-width: fit-content;
    margin: 0 auto; 
}
.main-page .solution_body2{
    max-width: 25%;
    min-width: 200px;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    padding: 0 3.125rem 5rem;
}
.main-page .solution_list{
    width: 24rem;
    text-align: center;
    position: relative;
    list-style: none;
}
.main-page .solution_list__icon{
    display: flex;
    justify-content: center;
}
.main-page .solution_label{
    font-size: var(--font-h5);
    line-height: var(--lineHeight-h5);
    font-weight: 600;
    margin-top: 0.5rem;
}
.main-page .solution_desc{
    margin-top: 0.5rem;
    font-size: var(--font-b2);
    line-height: var(--lineHeight-b2);
    font-weight: 400;
    padding: 0 1.7rem;
    word-break: keep-all;
}
.solution_list::after{
    content: "";
    position: absolute;
    top: 50%;
    left: 114%;
    transform: translate(-50%, -50%);
    width: 0.0625rem;  
    height: 50%;    
    background-color: #cccccc;
}
.solution_body2:last-child .solution_list::after{
    display: none;
}

/* Solution - ImageShop */
.section.imageshop {
    position: relative;
}
.section.imageshop .container-header { 
padding-bottom: 3.75rem; /* 하단 패딩만 별도 설정 */
}
.solution-imageShop {
    padding: 0 3.75rem 16.25rem
}
.solution-imageshop-list{
    border-top: solid 1px #e6e6e6;
}
.solution-imageshop-list .solution-imageshop-item{
    padding: 3.75rem 0;
    border-bottom: 1px solid #e6e6e6;
    list-style: none;
}
.solution-imageshop-item p:first-child{ 
padding-bottom: 0.75rem;
font-size: var(--font-h1);
line-height: var(--lineHeight-h1);
font-weight: 400;
}
.solution-imageshop-item p:last-child{
    font-size: var(--font-b2);
    line-height: var(--lineHeight-b2);
    word-break: keep-all;
}

/* =============== ImageShop Background - 모든 반응형 정리 =============== */
#container {
    position: relative;
    overflow-x: hidden;
}

.imageshop-bg-wrapper {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 0;
    pointer-events: none;
    z-index: -1;
}

.imageshop-bg {
    position: absolute;
    background-image: url(/v3/image/sub/solutions-imageShop_bg.e305079a3a.webp);
    background-repeat: no-repeat;
    background-size: 1695px auto;
    width: 1220px;
    height: 1207px;
    bottom: 0;
    right: -20.5rem;
}

/* PC 중간 (1024px ~ 1280px) */
@media screen and (min-width: 1024px) and (max-width: 1280px) {
    .imageshop-bg-wrapper {
        height: calc(1207px * 0.85);
    }

    .imageshop-bg {
        background-size: calc(1695px * 0.85) auto;
        width: calc(1220px * 0.85);
        height: calc(1207px * 0.85);
        right: -18rem;
    }
    /*About - Clients*/
    .sub-clients .clients__content .clients__list .clients__item{
        width: calc((100% - 25px * 3) / 4);
    }
    /*About - Certifications */
    .main-page .about-certi-src{
        flex: 0 0 calc((100% - (1.5625rem * 2)) / 3);
    }
}

/* 태블릿 (768px ~ 1023px) - 2열 레이아웃 */
@media screen and (min-width: 768px) and (max-width: 1023px) {
    /* References 페이지 본문 태블릿 패딩 */
    .section.references .references-solutions-list,
    .section.references .references-si-list {
        padding: 0 2.5rem; /* 40px */
    }
    
    /* References 두 번째 텍스트 태블릿에서 16px */
    .main-page .ref-list-tex p:last-of-type {
        font-size: 1rem; /* 16px */
    }
    
    /* 솔루션 페이지 solution-list-container 태블릿 패딩 */
    .main-page .solution-list-container {
        grid-template-columns: repeat(2, 1fr); /* 태블릿에서 2열 */
        padding: 2.5rem 2.5rem 0; /* 태블릿 40px */
    }
    
    /* 솔루션 페이지 solution_body2 태블릿 패딩 조정 */
    .main-page .solution_body2 {
        max-width: 100%; /* 태블릿에서 그리드 셀 전체 사용 */
        padding: 0 1rem 5rem; /* 태블릿에서 좌우 패딩 줄임 */
    }
    .imageshop-bg-wrapper {
        height: calc(1207px * 0.7);
    }

    .imageshop-bg {
        background-size: calc(1695px * 0.7) auto;
        width: calc(1220px * 0.7);
        height: calc(1207px * 0.9);
        right: -15rem;
    }
    /*About - Clients*/
    .sub-clients .clients__content .clients__list .clients__item{
        width: calc((100% - 25px * 2) / 3);
    }
    /*About - Certifications */
    .main-page .about-certi-src{
        flex: 0 0 calc((100% - (1.5625rem * 2)) / 3);
    }
}

/* 모바일 큰 화면 (481px ~ 767px) */
@media screen and (min-width: 481px) and (max-width: 767px) {
    .imageshop-bg-wrapper {
        height: calc(1207px * 0.3);
    }

    .imageshop-bg {
        background-size: calc(1695px * 0.3) auto;
        width: calc(1220px * 0.3);
        height: calc(1207px * 0.5);
        right: -8rem;
    }
}

/* 모바일 작은 화면 (480px 이하) */
@media screen and (max-width: 480px) {
    .imageshop-bg-wrapper {
        height: calc(1207px * 0.3);
    }

    .imageshop-bg {
        background-size: calc(1695px * 0.3) auto;
        width: calc(1220px * 0.3);
        height: calc(1207px * 0.5);
        right: -6rem;
    }

}

/* =============== References =============== */
/* References */
.main-page .references{
    position: relative;
    width: 100%;
    margin: 0 auto;
    background-color: var(--grayscale-color-line-02, #ffffff);
}
/* References - Solutions */ 
/* 전체보기 버튼 */
.main-page .container-header .btn-view-all{
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid #cccccc;
    width: 10rem;                 
    height: 2.875rem;            
    font-size: var(--font-b2);
    padding: 0 0.5rem 0 0.875rem; 
    background-color: #ffffff;
    margin-left: auto;
}
.main-page .container-header .btn-view-all .btn-down{
    width: 1.5rem;
    height: 1.5rem;
    transform: rotate(-90deg);
}
/* more - 더보기 버튼 */

.main-page .btn-more{
    display: flex;
    justify-content: center;
    border: 1px solid #222222;
    width: 25rem; /* 400px */
    height: 3.5rem;
    font-size: var(--font-b2);
    font-weight: 600;
    margin: 0 auto;
    align-items: center;
    border-radius: 0.125rem;
    background-color: #ffffff;
}

.main-page .btn-more.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background-color: #FFF;
    color: #E6E6E6;
    border-color: #E6E6E6;
}

.main-page .btn-view-more{
    padding-top: 6.25rem;
}

/* 본문 */
.main-page .references-solutions-list{
    position: relative;
    width: 100%;
    margin: 0 auto;
}

.main-page .ref-list-src{
    border-top: 1px solid #e6e6e6;
    padding: 2.5rem 0;
    display: flex;
    justify-content: space-between;
}
.main-page .ref-list-src >div:nth-child(1) {
    width: 50rem; 
    display: flex;
    align-items: center;   
}
.main-page .ref-list-src >div:nth-child(2) {
    display: flex;
    align-items: center;    
}
.main-page .ref-list-src:last-child{
    border-bottom: 1px solid #e6e6e6;
}
.main-page .ref-list-img{
    width: 15.625rem;
}
.main-page .ref-list-tex{
    padding-left: 7.4375rem; 
    line-height: var(--lineHeight-h4);
}
.main-page .ref-list-tex p>strong{
    font-size: var(--font-h4);
}
.main-page .ref-list-tex p:last-of-type{
    font-size: var(--font-b2);
}
/* References - SI Projecs */
.main-page .references-si-list{
    width: 100%;
    margin: 0 auto;
}
.main-page .refs-si{
    padding: 2.5rem 0 0; /* 좌우 패딩 제거, main-container에서 처리 */
    display: flex;
    flex-wrap: wrap;
    margin: 0 auto;
    width: 100%;
    justify-content: flex-start;
    box-sizing: border-box;
    gap: 2.5rem;;

}
.main-page .ref-si-src{
    flex: 0 0 calc((100% - (2.5rem * 3)) / 4);
    box-sizing: border-box;
    width: auto;    
    margin-bottom: 0.625rem;
}
.main-page .ref-si-thumb{
    display: flex;
    justify-content: center;
    background-color: #cccccc;
    height: 26.25rem;
    align-items: flex-end;
}
.main-page .ref-si-thumb img{
    max-width: 90% !important;
    max-height: 90% !important;
    object-fit: contain !important;
    width: auto !important;
    height: auto !important;
}
.main-page .ref-si-thumb--oncare-bg{
    background-color: #EDF1F8;
}
.main-page .ref-si-thumb--picoling-bg{
    background-color: #fff8f6;
}
.main-page .ref-si-thumb--welstory-bg{
    background-color: #fff8f6;
    align-items: center !important; 
}
.main-page .ref-si-thumb--maeil-bg{
    background-color: var(--grayscale-color-bg-05, #f7f7f7);
}
.main-page .ref-si-thumb--kakao-bg{
    background-color: #f3f3f3;
    align-items: center !important;
}
.main-page .ref-si-thumb--s1-bg{
    background-color: #D7DEE5;
}
.main-page .ref-si-thumb--bnk-bg{
    background-color: #F9F6F2;
    align-items: center !important;
}
.main-page .ref-si-thumb--lx-bg{
    background-color: #fef9f8;
    align-items: center !important;
}
.main-page .ref-si-thumb--yg-bg{
    background-color: #f3f3f3;
    align-items: center !important;
}
.main-page .ref-si-thumb--lgcns-bg{
    background-color: #fef9f8;
    align-items: center !important;
}
/* 서브페이지 전용 - swiper-card 안의 img는 제외 */
.main-page .ref-projects-img:not(.swiper-card img){
    height: 22.5rem;
}
/* swiper-card 안의 img는 auto */
.main-page .swiper-card img.ref-projects-img {
    height: auto !important;
}
.main-page .ref-text-area{
    font-size: var(--font-b2);
    line-height: var(--lineHeight-b2);
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
}
.main-page .ref-project-title{
    font-size: var(--font-h5);
    line-height: 1.3; /* 줄 간격 적당히 조정 */
    font-weight: 600;
    margin-top: 0.5rem;
    word-break: keep-all;
}



/* =============== 740~1000px: padding-top 조정 =============== */
@media screen and (min-width: 740px) and (max-width: 1000px) {
    .sub-title .title-container {
        padding-top: 8rem !important;
    }
}

/* =============== 750px~989px: 1024px와 동일한 타이틀 크기 =============== */
@media screen and (min-width: 750px) and (max-width: 989px) {
    .sub-title .title-container .title-container__main {
        font-size: calc(100vw * 0.084) !important;   /* 86px - 1024px와 동일 */
        line-height: calc(100vw * 0.0879) !important; /* 90px - 1024px와 동일 */
        letter-spacing: -3px !important;
    }
}

/* =============== 990px~1023px: 1024px 고정 크기 =============== */
@media screen and (min-width: 990px) and (max-width: 1023px) {
    .sub-title .title-container .title-container__main {
        font-size: calc(1024px * 0.084) !important;   /* 86px - 1024px 고정값 */
        line-height: calc(1024px * 0.0879) !important; /* 90px - 1024px 고정값 */
        letter-spacing: -3px !important;
    }
    .sub-title .title-container .title-container__main .title-container__title{
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 1rem !important;
        margin-top: -2rem !important;
        width: 100% !important;
    }

    /* Contact 페이지 예외 처리 - 위 CSS를 덮어쓰기 */
    body.contact-page .main-page .sub-title .title-container .title-container__main .title-container__title,
    body:has(.contact-location) .main-page .sub-title .title-container .title-container__main .title-container__title {
        flex-direction: row !important;
        align-items: baseline !important;
        gap: 2rem !important;
        margin-top: -3.625rem !important;
        width: auto !important;
    }

    .sub-title .title-container .title-container__main .title-container__title .title-container__desc{
        padding-top: calc(1024px * 0.0215) !important; /* 22px - 1024px 고정값 */
        font-size: calc(1024px * 0.01953) !important; /* 20px - 1024px 고정값 */
    }
}

/* =============== 750px~989px 나머지 스타일 =============== */
@media screen and (min-width: 750px) and (max-width: 989px) {
    .sub-title .title-container .title-container__main .title-container__title{
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 1rem !important;
        margin-top: -2rem !important;
        width: 100% !important;
    }

    /* Contact 페이지 예외 처리 - 위 CSS를 덮어쓰기 */
    body.contact-page .main-page .sub-title .title-container .title-container__main .title-container__title,
    body:has(.contact-location) .main-page .sub-title .title-container .title-container__main .title-container__title {
        flex-direction: row !important;
        align-items: baseline !important;
        gap: 2rem !important;
        margin-top: -3.625rem !important;
        width: auto !important;
    }

    .sub-title .title-container .title-container__main .title-container__title .title-container__desc{
        padding-top: calc(100vw * 0.0215) !important; /* 22px */
        font-size: calc(100vw * 0.01953) !important; /* 20px */
    }
}

/* =============== PC 압축 (1024px ~ 1279px) =============== */
@media screen and (min-width: 1024px) and (max-width: 1279px) {
    :root{
        --padding-60: 3.75rem;
        --padding-40: 2.5rem;

        /* font size */
        --font-display-01: calc(100vw * 0.13477); /* 138px */
        --font-display-02: calc(100vw * 0.09375); /* 96px */
        --font-display-03: calc(100vw * 0.06250); /* 64px */

        --font-h1: calc(100vw * 0.04688); /* 48px */
        --font-h2: calc(100vw * 0.04102); /* 42px */
        --font-h3: calc(100vw * 0.02734); /* 28px */
        --font-h4: calc(100vw * 0.02344); /* 24px */
        --font-h5: calc(100vw * 0.01953); /* 20px */

        --font-b1: calc(100vw * 0.01758); /* 18px */
        --font-b2: calc(100vw * 0.01563); /* 16px */
        --font-b3: calc(100vw * 0.01367); /* 14px */
        --font-b4: calc(100vw * 0.01465); /* 15px */

        --font-caption: calc(100vw * 0.01172); /* 12px */

        /* line height */
        --lineHeight-display-01: calc(100vw * 0.12695); /* 130px */
        --lineHeight-display-02:   calc(100vw * 0.11328); /* 116px */
        --lineHeight-display-03: calc(100vw * 0.05859); /* 60px */

        --lineHeight-h1: calc(100vw * 0.06250); /* 64px */
        --lineHeight-h2: calc(100vw * 0.05469); /* 56px */
        --lineHeight-h3: calc(100vw * 0.03906); /* 40px */
        --lineHeight-h4: calc(100vw * 0.03516); /* 36px */
        --lineHeight-h5: calc(100vw * 0.02930); /* 30px */

        --lineHeight-b1: calc(100vw * 0.02734); /* 28px */
        --lineHeight-b2: calc(100vw * 0.02539); /* 26px */
        --lineHeight-b3: calc(100vw * 0.02344); /* 24px */

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

        --calc-size-10: calc(100vw * (10 / 1024)); /* 10px */
        --calc-size-20: calc(100vw * (20 / 1024)); /* 20px */
        --calc-size-44: calc(100vw * (44 / 1024)); /* 44px */
        --calc-size-100: calc(100vw * (100 / 1024)); /* 100px */
        --calc-size-120: calc(100vw * (120 / 1024)); /* 120px */
        --calc-size-140: calc(100vw * (140 / 1024)); /* 140px */
    }

    /* sub-title */
    .sub-title .title-container{
        padding: calc(100vw * (160 / 1024)) var(--padding-60) var(--padding-60);
    }
    .sub-title .title-container .title-container__main {
        font-size: calc(100vw * 0.084);   /* 86px */
        line-height: calc(100vw * 0.0879); /* 90px */
        letter-spacing: -3px;
    }
    .sub-title .title-container .title-container__main .title-container__title{
        flex-direction: column; /* 추가 */
        align-items: flex-start; /* 추가 */
        gap: 1rem; /* 0 2rem → 1rem으로 변경 */
        margin-top: -2rem; /* -2.875rem → -2rem으로 변경 */
        width: 100%;
    }
    .sub-title .title-container .title-container__main .title-container__title .title-container__desc{
        padding-top: calc(100vw * 0.0215); /* 22px */
        font-size: calc(100vw * 0.01953); /* 20px */
    }
    .sub-title .page-nav {
        margin-bottom: calc(100vw * (160 / 1024));
    }

    /* =============== about us - who we are =============== */
    /* who we are */
    .main-page .who .main-container .about__content{
        padding-bottom: 12.5rem;
    }
    .main-page .who .main-container .about__content .about__title{
        font-size: var(--font-h2);
        line-height: var(--lineHeight-h2);
        margin-bottom: 0.75rem; /* 12px */
    }
    .main-page .who .main-container .about__content--01 .about__text {
        padding: 7rem var(--font-h1) 0 3.75rem;
    }
    .main-page .who .main-container .about__content--02 .about__text{
        padding: 0 var(--padding-60) 0 0; /*  0 60px */
    }
    /* strengths */
    .strengths .main-container .strengths__content{
        gap: 8rem;
    }
    .main-page .strengths .strengths__bg{
        width: calc(100% * (160 / 1024)); 
        left: 35%;
    }
    .strengths .main-container .strengths__content .strengths__inner .strengths__title{
        font-size: var(--font-display-03);
        line-height: var(--lineHeight-display-03);
    }
    /* overview */
    .main-page .overview .main-container{
        padding: 12.5rem var(--padding-60) 0;
    }
    .overview .main-container .overview__counter .counter-list__number{
        font-size: var(--font-h1);
        line-height: var(--lineHeight-h1);
    }

    /* =============== about us - history =============== */
    /* history */
    .history .history__content .history__desc{
        width: 90%;
    }
    .history .history__content .history__bg{
        width: calc(100vw * (500 / 1024));
        left: -29vw;
        top: auto;
        bottom: -10%; /* 간단하게 하단에 배치 */
        height: auto; /* 이미지 전체 보이도록 */
        overflow: visible; /* 이미지 잘림 방지 */
    }
    .history .history__content .history__axis .history__rhombus{
        width: var(--lineHeight-h5); 
        height: var(--lineHeight-h5); 
    }
    .history .history__content .history__axis .history__line{
        height: clamp(1660px, 160vw, 2010px);
    }
    .history .history__content .history__list{
        margin-top: var(--calc-size-120); 
        margin-left: calc(-1 * var(--font-b4));
    }
    .history .history__content .history__list .history__year-block{
        margin-bottom: var(--lineHeight-h3);
    }
    .history .history__content .history__list .history__year-block .history__line-fill{
        margin-top: 4.3%;
    }
    .history .history__content .history__list .history__year-block .history__year-group .history__event-list{
        padding-left: 3.8%
    }

    /*Business - What we do*/
    .business-area__services {
        gap: 10rem;
    }
    /*References - SI Projects*/
    .main-page .ref-si-thumb{
        height: 18.125rem;
    }
    /* 서브페이지 전용 - swiper-card 안의 img는 제외 */
    .main-page .ref-projects-img:not(.swiper-card img){
        height: 15rem;
    }
    /* swiper-card 안의 img는 auto */
    .main-page .swiper-card img.ref-projects-img {
        height: auto !important;
    }
    .main-page .refs-si {
        gap: 1.5rem;
    }
    .main-page .ref-si-src{
        flex: 0 0 calc((100% - 1.5rem) / 2); /* 2열로 변경 */
    }

}

/* =============== PC 중간 (1281px ~ 1600px) =============== */
@media screen and (min-width: 1281px) and (max-width: 1600px) {
    .sub-title .title-container .title-container__main {
        font-size: var(--font-display-01) !important; /* 138px - PC와 동일 */
        line-height: var(--lineHeight-display-01) !important; /* 130px - PC와 동일 */
        font-weight: 700 !important;
        letter-spacing: -4px !important; /* PC와 동일 */
    }

    .sub-title .title-container .title-container__main .title-container__title{
        flex-direction: column; /* 추가 */
        align-items: flex-start; /* 추가 */
        gap: 1rem; /* 0 1.5rem → 1rem으로 변경 */
        margin-top: -2rem; /* -2.5rem → -2rem으로 변경 */
        width: 100%;
    }
    .sub-title .title-container .title-container__main .title-container__title .title-container__desc{
        font-size: var(--font-h3) !important; /* PC와 동일 */
        line-height: var(--lineHeight-h5) !important; /* PC와 동일 */
        font-weight: 600 !important;
        letter-spacing: -1px !important;
        padding-top: 0.5rem;
    }

    /*About - Certifications */
    .main-page .about-certi-src{
        flex: 0 0 calc((100% - (1.5625rem * 3)) / 4);
        box-sizing: border-box;
        width: auto;    
        margin-bottom: 0.625rem;
    }
    /*References - SI Projects*/
    .main-page .ref-si-thumb{
        height: 21.25rem;
    }
    .main-page .ref-projects-img{
        height: 18.125rem;
    }
    .main-page .refs-si {
        gap: 2.1875rem;
    }
    .main-page .ref-si-src{
        flex: 0 0 calc((100% - (2.1875rem * 3)) / 4);
    }
}

/* =============== 1024px-1280px 구간 - 3열 레이아웃 및 이미지 스타일 =============== */
@media screen and (min-width: 1024px) and (max-width: 1280px) {
    .main-page .ref-projects-img:not(.swiper-card img){
        max-height: 20rem; /* 320px로 제한 */
        max-width: 90%;
        object-fit: contain;
    }
    .main-page .ref-si-thumb{
        max-height: 24rem; /* 384px로 제한 */
    }
    .main-page .ref-si-thumb img{
        max-width: 80% !important; /* 중간 화면에서 제한 */
        max-height: 85% !important;
        object-fit: contain !important;
        width: auto !important;
        height: auto !important;
    }
}

/* =============== 1280px 이상에서 이미지 크기 제한 =============== */
@media screen and (min-width: 1280px) {
    .main-page .ref-projects-img:not(.swiper-card img){
        max-height: 22.5rem; /* 360px로 제한 */
        max-width: 100%;
        object-fit: contain;
    }
    .main-page .ref-si-thumb{
        max-height: 26.25rem; /* 420px로 제한 */
    }
    .main-page .ref-si-thumb img{
        max-width: 75% !important; /* 큰 화면에서 더 제한적으로 */
        max-height: 80% !important;
        object-fit: contain !important;
        width: auto !important;
        height: auto !important;
    }
    /* 2025.08.20 ----  3, 5, 7번째 이미지 하단 정렬 
    .main-page .ref-si-src:nth-child(3) .ref-si-thumb,
    .main-page .ref-si-src:nth-child(5) .ref-si-thumb,
    .main-page .ref-si-src:nth-child(7) .ref-si-thumb {
        align-items: flex-end !important;
    }
    .main-page .ref-si-src:nth-child(3) .ref-si-thumb img,
    .main-page .ref-si-src:nth-child(5) .ref-si-thumb img,
    .main-page .ref-si-src:nth-child(7) .ref-si-thumb img {
        align-self: flex-end !important;
        margin-top: auto !important;
    }*/
}

/* =============== 1280px에서 1024px와 동일한 타이틀 크기 =============== */
@media screen and (min-width: 1280px) and (max-width: 1280px) {
    .sub-title .title-container .title-container__main {
        font-size: calc(100vw * 0.084);   /* 86px - 1024px와 동일 */
        line-height: calc(100vw * 0.0879); /* 90px - 1024px와 동일 */
        letter-spacing: -3px;
    }
    .sub-title .title-container .title-container__main .title-container__title{
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        margin-top: -2rem;
        width: 100%;
    }
    .sub-title .title-container .title-container__main .title-container__title .title-container__desc{
        padding-top: calc(100vw * 0.0215); /* 22px */
        font-size: calc(100vw * 0.01953); /* 20px */
    }
}



/* Solutions - PC 압축 */
.main-page .solution_label{
    font-size: var(--font-b1);
    line-height: var(--lineHeight-b1);
}
.main-page .solution_body2{
    max-width: 100%;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    padding: 0 1rem 5rem 1rem;
}
.solution_list::after{
    left: 107%;
}
.main-page .solution_desc{
    font-size: var(--font-b4);
    line-height: var(--lineHeight-b4);
}
.main-page .only-pc-solution{
    margin-bottom: 10rem;
}


/*References - Solutions*/
.main-page .ref-list-tex p>strong{
    font-size: var(--font-h5);
}


/* =============== Tablet (768px ~ 1023px) =============== */
/* Case Studies - PC 압축 */
.container-header--case-studies {
    gap: 1.8rem;
}

.container-header--case-studies .container-header__image {
    max-width: 374px;
}

.case-study-item {
    gap: 6rem;

}

.case-study__content {
    padding: 0 1.5rem;
}

/* Business Area - PC 압축 */


.business-area__images img {
    width: 280px;
    height: 280px;
}
.business-area__content {
    min-height: 300px;
}
.business-area__services {
    width: 100%;
    padding: 4rem 2rem;
}
@media screen and (min-width: 768px) and (max-width: 1023px) {
    .only-pc { display: none; }
    .only-mo { display: block; }

    /* Tablet 공통 여백: 40px */
    .sub-title .title-container,
    .sub-title .page-nav {
        padding-left: 2.5rem !important;
        padding-right: 2.5rem !important;
    }

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

    /* About 섹션 태블릿 패딩 */
    .main-page .about-certi {
        padding: 2.5rem 2.5rem 12.5rem;
    }
    .main-page .about-certi-title {
        padding: 0 2.5rem;
    }

    :root{
        --padding-40: 2.5rem;

        /* font size */
        --font-display-01: calc(100vw * 0.17969); /* 138px */
        --font-display-02: calc(100vw * 0.12500); /* 96px */
        --font-display-03: calc(100vw * 0.08333); /* 64px */

        --font-h1: calc(100vw * 0.06250); /* 48px */
        --font-h2: calc(100vw * 0.05469); /* 42px */
        --font-h3: calc(100vw * 0.03646); /* 28px */
        --font-h4: calc(100vw * 0.03125); /* 24px */
        --font-h5: calc(100vw * 0.02604); /* 20px */

        --font-b1: calc(18px + 6 * ((100vw - 768px) / 255)); /* 18px */
        --font-b2: calc(100vw * 0.02083); /* 16px */
        --font-b3: calc(14px + 10 * ((100vw - 768px) / 255)); /* 14px */
        --font-b4: calc(100vw * 0.01953); /* 15px */

        --font-caption: calc(100vw * 0.01563); /* 12px */

        /* line height */
        --lineHeight-display-01: calc(100vw * 0.16927); /* 130px */
        --lineHeight-display-02: calc(100vw * 0.15104); /* 116px */
        --lineHeight-display-03: calc(100vw * 0.07813); /* 60px */

        --lineHeight-h1: 4rem; /* 64px */
        --lineHeight-h2: calc(56px + (18 * ((100vw - 768px) / 255))); /* 56px */
        --lineHeight-h3: calc(100vw * 0.05208); /* 40px */
        --lineHeight-h4: calc(100vw * 0.04688); /* 36px */
        --lineHeight-h5: calc(100vw * 0.03906); /* 30px */

        --lineHeight-b1: calc(100vw * 0.03646); /* 28px */
        --lineHeight-b2: calc(100vw * 0.03385); /* 26px */
        --lineHeight-b3: calc(100vw * 0.03125); /* 24px */

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

        --calc-size-10: calc(100vw * (10 / 768)); /* 10px */
        --calc-size-20: calc(100vw * (20 / 768)); /* 20px */
        --calc-size-44: calc(100vw * (44 / 768)); /* 44px */
        --calc-size-100: calc(100vw * 0.13021); /* 100px */
        --calc-size-120: calc(100vw * 0.15625); /* 120px */
        --calc-size-140: calc(100vw * (140 / 768)); /* 140px */
    }

    /* sub-title */
    .sub-title .title-container{
        padding: var(--calc-size-140) var(--padding-40) 2.5rem;
    }
    .sub-title .title-container .title-container__main {
        font-size: calc(52px + (18 * ((100vw - 768px) / 255)));
        line-height: var(--lineHeight-h2);
        letter-spacing: -3px;
    }
    .sub-title .title-container .title-container__main .title-container__subtitle{
        margin-left: -40px;
    }
    .sub-title .title-container .title-container__main .title-container__title{
        flex-wrap: wrap;
        gap: 0 0;
        margin-top: -1rem; 
        line-height: var(--lineHeight-h2);
    }
    .sub-title .title-container .title-container__main .title-container__title .title-container__desc{
        font-size: var(--font-b1);
        line-height: var(--lineHeight-b1);
        width: 100%;
    }
    .sub-title .page-nav{
        display: none;
    }

    /* About Who - overview counters */
    .overview .main-container .overview__counter .counter-list__number{
        font-size: var(--font-h1) !important; 
        line-height: var(--lineHeight-h1) !important;
    }

    /* Business Area - Tablet overrides */
    section.business-area .business-area__images {
        position: static;
        transform: none;
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 0.25rem;
        margin-top: 2rem;
        order: 2;
        cursor: grab;
        user-select: none;
        scrollbar-width: none;
        -ms-overflow-style: none;
        touch-action: pan-x;
        -webkit-user-drag: none;
    }

    .section.business-area .business-area__images:active {
        cursor: grabbing;
    }

    .section.business-area .business-area__images::-webkit-scrollbar {
        display: none;
    }

    .business-area__images img {
        width: 280px;
        height: 280px;
        flex-shrink: 0;
    }


    /* =============== about us - who we are =============== */
    /* who we are */
    .main-page .who{
        margin-top: var(--calc-size-100);
    }
    .main-page .who .main-container .about__content{
        flex-wrap: wrap;
        padding-bottom: calc(100% * (80 / 768)); /* 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-40) var(--lineHeight-display-03);
    }
    .main-page .who .main-container .about__content .about__title{
        font-size: var(--font-h4);
        line-height: var(--lineHeight-h4);
        margin-bottom: 0.75rem; /* 12px */
    }
    .main-page .who .main-container .about__content .about__title span{
        font-size: var(--font-h4);
        line-height: var(--lineHeight-h4);
    }
    .main-page .who .main-container .about__content .about__description{
        line-height: var(--lineHeight-b3);
        font-size: var(--font-b4);
    }
    .main-page .who .main-container .about__content--02{
        padding: 0 var(--padding-40) calc(100% * (160 / 768));
    }
    .main-page .who .main-container .about__content--02 .about__image{
        padding-bottom: var(--padding-40);
    }
    .main-page .who .main-container .about__content--02 .about__image img{
        width: 100%;
    }
    /* strengths */
    .main-page .strengths .main-container{
        padding: calc(100% * (160 / 768)) var(--padding-40);
    }
    .main-page .strengths .strengths__bg{
        width: calc(100% * (160 / 768)); 
        left: calc(100% - 10rem);
        top: -72%;
        height: 100%;
    }
    .main-page .strengths .main-container{
        flex-wrap: wrap;
    }
    .strengths .main-container .container-header{
        padding: 0 0 var(--calc-size-120); 
    }
    .strengths .main-container .strengths__content{
        gap: var(--calc-size-120);
    }
    .strengths .main-container .strengths__content .strengths__inner .strengths__title{
        font-size: var(--font-h1);
        line-height: calc(100vw * (64 / 768));
        padding-bottom: 1rem; 
    }
    .strengths .main-container .strengths__content .strengths__inner .list-non li{
        font-size: var(--font-b4);
        line-height: var(--lineHeight-b3);
    }
    .strengths .main-container .strengths__content .strengths__inner .list-non li.strengths__highlight{
        font-size: var(--font-b1);
        line-height: var(--lineHeight-b1);
        padding-bottom: 0.625rem; /* 8px */
    }
    /* overview */
    .main-page .overview .main-container{
        padding: calc(100% * (160 / 768)) var(--padding-40) 0;
    }
    .main-page .overview .main-container .overview__counters{
        flex-wrap: wrap;
        align-items: flex-start;
        gap: var(--lineHeight-h3);
    }
    .main-page .overview .main-container .overview__counter{
        width: 47%;
        flex-basis: 47%;
    }
    .overview .main-container .overview__counter .counter-list__icon{
        width: var(--font-display-02);
    }
    .overview .main-container .overview__counter .counter-list__number{
        font-size: var(--lineHeight-h2);
        line-height: var(--lineHeight-h1);
    }
    .overview .main-container .overview__counter .counter-list li.counter-list__desc.only-pc{
        display: block;
    }
    .overview .main-container .overview__counter .counter-list li.counter-list__desc.only-mo{
        display: none;
    }
    .main-page .overview .main-container .overview__description ul li{
        font-size: var(--font-b4);
    }


    /* =============== about us - history =============== */
    /* history */
    .section.strengths .main-container .container-header{
        padding: 0 0 calc(var(--calc-size-100) - var(--calc-size-20));
    }
    .history .history__content{
        flex-wrap: wrap;
        padding: 0 var(--padding-40) 10rem; /* 160px */
        gap: calc(100vw * (80 / 768)); 
        position: relative;
        overflow: visible; /* 배경 이미지가 잘리지 않도록 */
    }
    .history .history__content > div{
        width: 100%;
    }
    .history .history__content .history__desc{
        width: 100%;
        font-size: var(--font-b4);
        line-height: var(--lineHeight-b2);
    }
    .history .history__content .history__bg{
        width: calc(100vw * (460 / 768));
        height: auto; /* 이미지 전체 보이도록 */
        overflow: visible; /* 이미지 잘림 방지 */
        top: auto;
        bottom: -15%; /* 간단하게 하단에 배치 */
        left: -29vw;
    }
    .history .history__content .history__axis .history__rhombus{
        width: var(--font-h4);
        height: var(--font-h4);
    }
    .history .history__content .history__axis .history__line{
        height: clamp(1610px, 208vw, 2110px);
    }
    .history .history__content .history__list{
        margin-top: calc(100vw * 0.14323); /* 110px */
        margin-left: calc(-1 * var(--font-caption));
    }
    .history .history__content .history__list .history__year-block{
        gap: var(--font-h5);
        margin-bottom: var(--lineHeight-h3);
    }
    .history .history__content .history__list .history__year-block .history__year-group .history__year{
        font-size: var(--font-h4);
        line-height: var(--lineHeight-h4);
    }
    .history .history__content .history__list .history__year-block .history__year-group .history__event-list{
        font-size: var(--font-b4);
        line-height: var(--lineHeight-b3);
        padding-left: 2.8%;
    }
    .history .history__content .history__list .history__year-block .history__year-group .history__event-list li{
        font-size: var(--font-b4);
    }
    .history .history__content .history__list .history__year-block .history__year-group .history__event-list li::marker{
        font-size: var(--calc-size-10); 
    }

    /* Case Studies - Tablet */
    .container-header--case-studies {
        gap: 1.5rem;
        justify-content: space-between;
    }

    .container-header--case-studies .container-header__image {
        max-width: 250px;
    }

    .case-studies-list {
        margin-top: 3rem;
    }

    .case-study-item {
        gap: 4rem;
        padding: 2rem 0;
    }

    .case-study__number {
        width: 90px;
        font-size: 1.5rem;
        line-height: 2.2rem;
    }

    .case-study__content {
        padding: 0 1rem;
    }

    .case-study__title {
        font-size: 1.5rem;
        line-height: 2.2rem;
        padding: 0.5rem 0;
    }

    .case-study__year {
        width: 70px;
        font-size: 0.9rem;
    }

    /* Business Area - Tablet */
    .business-area__content {
        flex-direction: column;
        align-items: flex-start;
        min-height: auto;
    }

    .business-area__text {
        position: relative;
        width: 100%;
        height: auto;
        margin: 0;
        padding: 0;
        z-index: auto;
        background: transparent;
        order: 1;
    }


    .business-area__images img {
        width: 280px;
        height: 280px;
        flex-shrink: 0;
    }

    .business-area__full-line {
        left: -2rem;
        width: calc(100% + 4rem);
    }

    .section.business-area {
        padding: 0 2rem;
    }
    .business-area__title {
        font-size: 3rem;
    }
    .business-area__services {                
    gap: 5rem;
    padding: 3rem 1rem;
}
/* Business Area - Tablet */

.service-box .dot-icon {
    position: absolute;
    top: -3.4rem;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 12px;
    height: 12px;
    background-color: #9f121f;
    display: block;
    z-index: 10;
}
.business-area__bottom-text h2 {
    font-size: 3rem;
    line-height: 3rem;
}

/* Solutions - Tablet */
.main-page .solution_label{
    font-size: var(--font-b2);
    line-height: var(--lineHeight-b2);
}
.main-page .solution_sub_title {
    padding: 0 var(--lineHeight-h3) var(--font-b1);
    font-size: var(--font-h3);
}
.main-page .solution_sub_text {
    padding: 0 var(--lineHeight-h3) 3.75rem;
}
.main-page .solution_desc{
    font-size: var(--font-b4);
    line-height: var(--lineHeight-b4);
}
.main-page .solution_body2{
    padding: 0 1rem 5rem 1rem;
    max-width: 100%;
}     
.solution_list::after{
    left: 108%;
}
.main-page .only-pc-solution{
    margin-bottom: 7.5rem;
}

/*Solutions - ImageShop*/
.solution-imageshop-item p:first-child{ 
padding-bottom: 0.75rem;
font-size: var(--font-h1) !important;
line-height: var(--lineHeight-h1) !important;
font-weight: 400 !important;
}
.solution-imageshop-item p:last-child{
    font-size: var(--font-b2) !important;
    line-height: var(--lineHeight-b2) !important;
}

}

/* =============== Contact Location 기본 스타일 =============== */
.section.contact-location {
    position: relative;
    width: 100%;
    overflow: visible; /* overflow를 visible로 변경하여 내용이 잘리지 않도록 */
    margin-bottom: -2rem; /* 음수 마진으로 map과 가까이 */
    padding-bottom: 0;
}

.section.contact-location .container-header {
    padding: 0 3.75rem 1.875rem;
}

.location-content {
    padding: 0 3.75rem 2rem; /* 하단 패딩 추가하여 텍스트 보호 */
    position: relative;
    z-index: 1; /* 텍스트가 위에 오도록 */
    margin-bottom: -10rem;
}

/* 태블릿에서 contact 패딩 조정 */
@media screen and (max-width: 1024px) {
    .section.contact-location {
        margin-bottom: -2rem; /* PC와 동일한 음수 마진 유지 */
    }
    
    .section.contact-location .container-header {
        padding: 0 2.5rem 1.875rem;
    }

    .location-content {
        padding: 0 2.5rem 2rem; /* 하단 패딩 유지 */
        margin-bottom: -10rem; /* 768-1024px 구간도 -10rem으로 조정 */
    }

    .location-content .location-info p {
        font-size: 0.9375rem; /* 15px */
    }
}

/* 모바일에서 contact 패딩 조정 */
@media screen and (max-width: 768px) {
    .section.contact-location {
        margin-bottom: -2rem; /* PC와 동일한 음수 마진 유지 */
    }
    
    .section.contact-location .container-header {
        padding: 0 1.25rem 1.875rem;
    }

    .location-content {
        padding: 0 1.25rem 2rem; /* 하단 패딩 통일 */
        margin-bottom: -10rem; /* 768px도 -10rem 유지 */
    }
}

/* 391-767px 구간 추가 */
@media screen and (min-width: 391px) and (max-width: 767px) {
    .location-content {
        margin-bottom: 2rem; /* 391-767px 구간에 적절한 여백 설정 */
    }
}

/* 작은 모바일 (390px 이하) */
@media screen and (max-width: 390px) {
    .location-content {
        margin-bottom: 8rem; /* 360-390px 구간 8rem */
    }
}

/* 모바일에서 contact 패딩 조정 계속 */
@media screen and (max-width: 768px) {
    /* About 섹션 모바일 패딩 */
    .main-page .about-certi {
        padding: 1.25rem 1.25rem 12.5rem;
    }
    .main-page .about-certi-title {
        padding: 0 1.25rem;
    }
}

.contact-location .location-info {
    font-size: var(--font-b2); 
    line-height: var(--lineHeight-b2); 
    margin-bottom: 0; /* 여백 제거 - location-content에서 처리 */
}

.contact-location .location-info p {
    margin-bottom: 0.5rem;
}

.contact-location .contact-group {
    margin-bottom: 1.625rem;
    line-height: 1.625rem; /* 그룹 전체 하단 간격 */
}

.contact-location .contact-group p {
    margin-bottom: -0.2rem;
}

.contact-location .contact-group p:last-child {
    margin-bottom: 0; /* 마지막 요소는 간격 없음 */
}

.contact-map-button {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);

    /* PC 기본 */
    display: flex;
    width: 25rem;
    height: 3.5rem;
    padding: 1rem 1.875rem;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;

    background-color: white;
    color: #222;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

@media screen and (max-width: 768px) {
    .contact-map-button {
        width: 20rem;
        height: 2.5rem;
        padding: 0.625rem 0.75rem;
        gap: 0.375rem;
        font-size: 0.875rem;
    }
}


/* =============== Contact Location 배경 이미지 =============== */
/* PC 기본 (고정값) */
.contact-location-bg-wrapper {
    position: absolute;
    top: -34.375rem; /* 배경 높이만큼 위로 올려서 Map과 연결 */
    right: 0;
    width: 39.125rem; /* 626px - PC 고정 */
    height: 34.375rem; /* 550px - PC 고정 */
    pointer-events: none;
    z-index: 0; /* Map 이미지보다 아래 */
}

.contact-location-bg {
    position: absolute;
    bottom: 0; /* 하단에 고정 */
    right: 0;
    width: 100%;
    height: 100%;
    background-image: url('/v3/image/sub/contact-location_bg.eecfea7897.webp');
    background-repeat: no-repeat;
    background-position: right bottom; /* 하단 기준 정렬 */
    background-size: contain;
}

/* 1280px 이하 - 동적 계산으로 부드러운 전환 */
@media screen and (max-width: 1280px) {
    .contact-location-bg-wrapper {
        /* 화면 크기에 따라 자동으로 크기 조절 */
        width: calc(25rem + 10vw);
        height: calc(20rem + 8vw);
        top: calc(-20rem - 8vw); /* 배경 높이만큼 위로 */
    }
}

/* 태블릿 (1024px 이하) */
@media screen and (max-width: 1024px) {
    .contact-location-bg-wrapper {
        width: calc(20rem + 8vw);
        height: calc(16rem + 6vw);
        top: calc(-16rem - 6vw); /* 배경 높이만큼 위로 */
    }
}

/* 작은 태블릿 (900px 이하) */
@media screen and (max-width: 900px) {
    .contact-location-bg-wrapper {
        width: calc(18rem + 5vw);
        height: calc(15rem + 4vw);
        top: calc(-15rem - 4vw); /* 배경 높이만큼 위로 */
    }
}

/* 작은 모바일 (360px~390px) - 배경 이미지 표시 */
@media screen and (min-width: 360px) and (max-width: 390px) {
    .container-header--case-studies {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 1rem !important;
        min-height: 250px !important;
        overflow: visible !important;
    }
    
    .container-header--case-studies .container-header__image {
        display: block !important;
        max-width: 180px !important;
        width: 100% !important;
        order: 1 !important;
        align-self: flex-start !important;
        margin-bottom: 0.5rem !important;
    }
    
    .container-header--case-studies .container-header__text {
        width: 100% !important;
        order: 2 !important;
        margin-top: 0 !important;
    }
}

/* 모바일 (360px~768px) */
@media screen and (min-width: 360px) and (max-width: 768px) {
    /* Contact Inquiry 페이지에서 title-container__title 세로 정렬 */
    body.contact-page .main-page .sub-title .title-container .title-container__main .title-container__title {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 1rem !important;
        margin-top: -2rem !important;
    }

    /* Container Header Case Studies - PC처럼 이미지 오른쪽 정렬 */
    .container-header--case-studies {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important; /* 중앙 정렬로 변경 */
        flex-direction: row !important;
        gap: 1.5rem !important;
    }

    .container-header--case-studies .container-header__text {
        flex: 0 1 auto !important;
        order: 1 !important;
    }

    .container-header--case-studies .container-header__image {
        max-width: 200px !important;
        order: 2 !important;
        align-self: center !important;
    }

    .contact-location-bg {
        background-image: url('/v3/image/sub/contact-location_bg.eecfea7897.webp');
    }

    .contact-location-bg-wrapper {
        width: calc(10rem + 5vw);
        height: calc(8rem + 4vw);
        top: calc(-8rem - 4vw); /* 배경 높이만큼 위로 */
        opacity: 0.8;
    }
}
/* Contact 전체화면 이미지 섹션 */
.section.contact-map-section {
    width: 100%;
    min-height: auto; /* 자동 높이 */
    overflow: visible; /* 배경 이미지가 위로 나가도 보이도록 */
    position: relative;
    margin: 0;
    margin-bottom: 0; /* 하단 여백 제거 - 버튼 섹션이 따로 있으므로 */
    padding: 0;
    background-color: #555; /* 1920px 이상에서 양쪽에 보일 배경색 */
}

.contact-map-full {
    width: 100%;
    max-width: 120rem; /* 1920px 최대 너비 */
    height: auto; /* 자동 높이로 설정 */
    margin: 0 auto;
    position: relative;
    z-index: 1; /* 배경보다 위에 */
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: transparent; /* 이미지 영역은 투명하게 */
}

/* 버튼 섹션 스타일 */
.map-button-section {
    width: 100%;
    padding: 100px 0 0 0; /* 위에서 100px 간격 */
    margin-bottom: 12.5rem; /* 200px 하단 여백 */
    display: flex;
    justify-content: center;
    align-items: center;
}

/*  버튼 기본 스타일 (PC) */
.map-direction-btn {
    width: 25rem; /* 400px */
    height: 3.5rem; /* 56px */
    background-color: white;
    color: #222;
    font-size: 1rem; /* 16px */
    padding: 1rem 1.875rem;
    border: 1px solid #222;
    border-radius: 0.125rem;
    cursor: pointer;
    font-family: inherit;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

/*  .map-direction-btn:hover {
    background-color: #f5f5f5;
}*/

.contact-map-full img {
    width: 100%;
    height: auto; /* 자동 높이로 설정 */
    max-width: 100%;
    display: block;
    position: relative;
    z-index: 1;
}

/* PC에서는 모바일 이미지 숨김 */
.contact-map-full .map-mobile {
    display: none;
}
/* 지도 img를 감싼 <picture>(PC·모바일 중 보이는 쪽 이미지만 받게 하는 용도)는 레이아웃에 끼지 않게 함
   → img가 예전처럼 .contact-map-full(flex)의 직접 자식으로 배치됨 */
.contact-map-full picture,
.solution-body1_img picture {
    display: contents;
}

/* 태블릿 (768px 이하) */
@media screen and (max-width: 1024px) {
    .map-direction-btn {
        width: 25rem; /* 400px - 태블릿도 PC와 동일 */
        height: 3.5rem; /* 56px */
        font-size: 1rem; /* 16px */
        padding: 0.625rem 0.75rem;
    }
}

/* 모바일에서 이미지 전환 및 버튼 스타일 */
@media screen and (max-width: 768px) {
    .section.contact-map-section {
        min-height: auto; /* 모바일에서도 자동 높이 */
        padding: 0; /* 패딩 제거 */
    }
    
    .map-button-section {
        padding: 100px 20px 0 20px; /* 모바일에서 좌우 패딩 추가 */
        margin-bottom: 5rem; /* 모바일에서 80px 하단 여백 */
    }
    
    .contact-map-full {
        height: auto; /* 모바일에서는 자동 높이 */
    }
    
    .contact-map-full img {
        height: auto; /* 모바일에서는 자동 높이 */
    }
    
    .contact-map-full .map-pc {
        display: none;
    }

    .contact-map-full .map-mobile {
        display: block;
    }

    /* 모바일 버튼 스타일 */
    .map-direction-btn {
        width: 20rem; /* 320px */
        height: 2.5rem; /* 40px */
        font-size: 0.875rem; /* 14px */
        padding: 0.625rem 0.75rem;
        border: 1px solid #222;
        color: #222;
    }
}

/* Contact Map 섹션은 하단 여백 없음 - 버튼 섹션이 별도로 여백 관리 */
.main-page .section.contact-map-section:last-child {
    margin-bottom: 0 !important;
}

/* 메인페이지 clients 섹션 하단 여백 제거 (모든 화면 크기) */
.main-page .section.clients {
    margin-bottom: 0 !important;
}

/* =============== PC 대형 (1920px 이상만 가로 배치) =============== */
@media screen and (min-width: 1920px) {
    .sub-title .title-container .title-container__main .title-container__title{
        flex-direction: row; /* 가로 배치 */
        align-items: baseline; /* 기본값 */
        gap: 2vw; /* 기본값 */
        margin-top: -3.625rem; /* 기본값 */
    }

    .sub-title .title-container .title-container__main .title-container__title.two-lines {
        align-items: flex-end;

    }

    /* Contact 페이지에서만 모든 구간에서 한 줄 표시 (기존 공통 CSS 덮어쓰기) */
    body.contact-page .main-page .sub-title .title-container .title-container__main .title-container__title,
    body:has(.contact-location) .main-page .sub-title .title-container .title-container__main .title-container__title {
        flex-direction: row !important;
        align-items: baseline !important;
        gap: 2rem !important; /* 사용자가 확인한 값으로 변경 */
        margin-top: -3.625rem !important;
        width: auto !important;
    }

    /* Contact 페이지 390px 이하에서만 세로 배치 */
    @media screen and (max-width: 390px) {
        body.contact-page .main-page .sub-title .title-container .title-container__main .title-container__title,
        body:has(.contact-location) .main-page .sub-title .title-container .title-container__main .title-container__title {
            flex-direction: column !important;
            align-items: flex-start !important;
            gap: 1rem !important;
        }

        /* sub-title 하단 패딩 제거 및 contact-inquiry 섹션 사이 공통 마진 설정 */
        .sub-title .title-container {
            padding-bottom: 0 !important;
        }
        
        /* Contact inquiry 페이지만 sub-title 하단 패딩 추가 */
        body:has(.section.contact-inquiry) .sub-title .title-container {
            padding-bottom: 0 !important;
            margin-bottom: 0 !important;
        }

        .sub-title + .section.contact-inquiry {
            margin-top: 0 !important; /* 다른 페이지와 동일하게 */
        }
        
        /* 혹시 모를 추가 오버라이드 방지 */
        .main-page .sub-title + .section.contact-inquiry {
            margin-top: 0 !important;
        }
        
        /* 더 강력한 오버라이드 */
        body .main-page .sub-title + .section.contact-inquiry {
            margin-top: 0 !important;
        }


        /* 390px 모바일에서 배경 이미지 사이즈 조정 */
        .contact-location-bg-wrapper {
            width: 15.9375rem !important; /* 255px */
            height: 14rem !important; /* 224px */
            top: -14rem !important; /* 높이만큼 위로 */
        }

        /* 390px 모바일에서 배경 이미지 스타일 조정 */
        .contact-location-bg {
            background-size: contain !important;
            background-position: right bottom !important;
            background-repeat: no-repeat !important;
        }

        /* 390px에서 location-content가 배경 이미지 위로 올라오도록 */
        .section.contact-location {
            position: relative;
            z-index: 2;
        }

        .location-content {
            position: relative;
            z-index: 3;
            background-color: rgba(255, 255, 255, 0.95);
            padding: 1.25rem;
            border-radius: 0.5rem;
        }

        /* 390px 모바일에서 map 섹션과 버튼 좌우 여백 */
        .contact-map-full {
            padding: 0 1.25rem; /* 좌우 20px */
        }

        .contact-map-full img {
            width: 100%;
            max-width: calc(100% - 2.5rem); /* 좌우 패딩 고려 */
        }
    }

    /*Business - What we do*/
    .business-area__services {                
        gap: 26rem;
    }

    /* =============== References =============== */
    /* References - Solutions*/

    .main-page .ref-list-tex p>strong{
        font-size: var(--font-h5);
    }
    .main-page .ref-list-tex p:last-of-type{
        font-size: var(--font-b4);
    }
    .main-page .ref-list-tex{
        padding-left: 4.375rem;
        line-height: var(--lineHeight-h5);
    }
    .main-page .ref-list-img{
        width: 12.5rem;
    }
    .main-page .ref-logo{
        max-width: 13.75rem;
    }
    .main-page .btn-more{
        width: 15.625rem;
        font-size: var(--font-b4);

    }
}
