html, body {
    overflow-x: hidden;
}

/* Header */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
    padding: 30px 30px;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
}

#header.scrolled {
    background: #fff;
    color: #000;
    padding: 15px 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

#header .logo-color {
    display: none;
}

#header.scrolled .logo-white {
    display: none;
}

#header.scrolled .logo-color {
    display: block;
}

#header.scrolled .logo img {
    height: 50px;
}

.logo a {
    color: inherit;
    display: flex;
    align-items: center;
}

.logo img {
    height: 60px;
    width: auto;
    transition: all 0.3s ease;
}

/* GNB - Mobile Default */
.gnb { 
    display: none; 
    position: absolute; 
    top: 100%; 
    left: 0; 
    width: 100%; 
    background: #fff; 
    color: #333; 
    padding: 20px; 
    box-shadow: 0 5px 10px rgba(0,0,0,0.1); 
    box-sizing: border-box;
}

.gnb.open { display: block; }

.gnb > ul { 
    display: flex;
    flex-direction: column; 
    gap: 0; 
}

.gnb > ul > li { 
    position: relative;
    border-bottom: 1px solid #eee; 
    box-sizing: border-box;
}
.gnb > ul > li:last-child { border-bottom: none; }

.gnb a { 
    display: block;
    padding: 15px 0; 
    color: #333; 
    font-size: 1.25rem; 
    font-weight: 600;
    transition: all 0.3s ease;
}

.gnb a:hover { background-color: transparent; }

/* Submenu */
.sub-menu {
    box-sizing: border-box;
    /* Mobile Default */
    position: static;
    transform: none;
    box-shadow: none;
    padding: 0 30px;
    background: #f9f9f9;
    display: none;
}

.sub-menu li {
    display: block;
}

.sub-menu a {
    padding: 13px 0px;
    color: #333;
    font-size: var(--text-md);
    white-space: nowrap;
    border-bottom: 1px solid transparent;
    border-radius: 0;
}

.sub-menu a:hover {
    background: none;
    color: #000;
    border-bottom-color: #000;
}

.has-sub.active .sub-menu {
    display: block;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: block;
    background: none;
    border: none;
    font-size: 24px;
    color: inherit;
    cursor: pointer;
}
.mobile-menu-btn i { font-size: 2rem; }

/* Main Slider */
.main-slider {
    width: 100%;
    height: 70vh; /* Mobile Default */
    box-sizing: border-box;
    position: relative
}
.main-slider .swiper-pagination {
    bottom: 10%;
}

.main-slider .swiper-slide {
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* 슬라이드 텍스트 애니메이션 */
.swiper-slide h1,
.swiper-slide h2 {    
    color: #fff;
    position: relative;
    z-index: 10;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
    box-sizing: border-box;
}

.swiper-slide h1 {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
}

.swiper-slide h2 {
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.4;
    text-align: center;
    padding: 0 30px;
}
.swiper-slide-active h1 {
    opacity: 1;
    transform: translateY(0px);
    transition-delay: 0.2s;
}

.swiper-slide-active h2 {
    opacity: 1;
    transform: translateY(0px);
    transition-delay: 0.5s;
}

.swiper-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3);
}

.swiper-pagination-bullet {
    background: #fff;
    opacity: 0.5;
    margin: 0 7px !important;
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    background: #fff;
}

/* --- 메인 타이틀 섹션 --- */
.main-container {
    margin: 0 auto;
    padding: 50px 25px;
    box-sizing: border-box;
}
.main-header {
    margin-bottom: 30px;
    text-align: center;
}

.main-header h1 {
    font-size: 2rem; /* xs, sm 기본 크기 */
    line-height: 1.3;
    margin-bottom: 20px;
    font-weight: 700;
}

.main-header .description {
    font-size: 1.025rem;
    color: var(--text-color);
    line-height: 1.4;
    font-weight: 500;
    color: var(--title-color);
}



/* --- 통계 및 지도 섹션 --- */
.section-header {
    padding: 25px 0;
}

.section-header .sub-title {
    font-size: var(--text-lg);
    color: var(--sub-main);
    font-weight: 500;
}

.section-header h2 {
    font-size: var(--text-huge);
    line-height: 1.3;
    font-weight: 700;
}
/* --- 통계 및 지도 섹션 --- */
.stats-map-section {
    margin-bottom: 30px;
}

/* 1. 전체 그리드 컨테이너: 지도의 기준점이 됨 */
.stats-map-grid {
    position: relative; /* absolute 자식 요소의 기준 */
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    z-index: 10;
    box-sizing: border-box;
}

/* 2. 카드들을 감싸는 영역 */
.stats-cards-container {
    display: grid;
    grid-template-columns: 1fr; /* 모바일 기본 1열 */
    gap: 15px;
    width: 100%;
    padding-bottom: 60px;
    position: relative;
    z-index: 2; /* 지도보다 위에 보이도록 */
}

.stats-cards-container::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: url('../images/korea-map-with-pins.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0.3;
    z-index: -1;
}

/* 3. 개별 카드 스타일: 투명도를 살짝 주면 배경 지도가 은은하게 보임 */
.stat-card {
    background-color: rgba(255, 255, 255, 0.9); /* 살짝 투명하게 */
    border: 1px solid #E0E0E0;
    padding: 3rem 0rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
    box-sizing: border-box;
}

.stat-value {
    font-size: 3.5rem; /* Mobile Default: 폰트 크기 축소 */
    color: var(--main);
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.3;
    letter-spacing: -0.05em;
}

.stat-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    word-break: keep-all;
}

.stat-detail {
    font-size: 1rem;
    color: var(--text-color);
    line-height: 1.4;
    font-weight: 500;
}

.main-footer {
    display: block;
    position: relative;
    text-align: center;
    z-index: 10;
    padding: 25px 0;
}

/* 기본 레이아웃 */
.gallery-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 50px;
}

.gallery-item {
    cursor: pointer;
    background: #3b51a4;    
    border-radius: 8px;
    overflow: hidden;
}

.gallery-item .thumb {
    overflow: hidden;
}

.gallery-item .thumb img {
    transition: all 0.3s ease;
}

.gallery-item:hover .thumb img {
    transform: scale(1.2);
    filter: brightness(1.1);
}

.gallery-item .info {
    padding: 12px 12px;
    text-align: left;
    color: #fff;
    font-size: var(--text-xs);
    font-weight: 500;
    position: relative;
    padding-right: 40px;
}

.gallery-item .info .subject {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.gallery-item .info small {
    display: block;
    margin-top: 4px;
}
.v-divider {
    display: inline-block;
    width: 1px;
    height: 14px;
    background-color: #e0e0e0;
    margin: 0 3px;
    vertical-align: middle;
}
.gallery-item .info .v-divider {
    display: none;
}

.link-arrow {
    display: block;
    position: absolute;
    right: 12px;
    bottom: 10px;
    font-size: 1rem;
    transition: transform 0.3s ease;
}

/* 모달 스타일 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal.active {
    display: flex;
}

.modal-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
}

.modal-content {
    position: relative;
    width: 95%; /* Mobile Default */
    max-width: 800px;
    background: #fff;
    padding: 10px; /* Mobile Default */
    border-radius: 4px;
    z-index: 1001;
    box-sizing: border-box;
}

.modal-header {
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.5;
    margin-bottom: 10px;
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    color: #000;
    font-size: 30px;
    border: none;
    background: none;
    cursor: pointer;
    z-index: 10;
}

/* Swiper 크기 조절 */
.gallery-swiper {
    width: 100%;
    height: auto;
}

.gallery-swiper img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.swiper-button-next,
.swiper-button-prev {
    color: #fff;
    --swiper-navigation-size: 40px;
}

.swiper-button-next {
    right: 30px;
}

.swiper-button-prev {
    left: 30px;
}

/* Section Footer Button */
a.section-footer-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 50px;
    margin: 0px auto 50px;
    padding: 0;
    background-color: var(--main);
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

a.section-footer-btn:hover {
    background-color: var(--sub-main);
}

a.section-footer-btn i {
    margin-left: 8px;
}

.partner-section {
    padding: 0px 0px;
    margin: 0 auto;
    text-align: center;
}

/* 3*2 레이아웃 핵심 */
.partner-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 무조건 3열 유지 */
    gap: 10px; /* 로고 사이 간격 */
    margin: 0 0 50px;
}

.partner-item {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    overflow: hidden;    
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0px; /* Mobile Default */
    transition: all 0.3s ease;
}

.partner-item:hover {
    border-color: #aaa;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.logo-box img {
    max-width: 100%;
    /* max-height: 100%; */
    object-fit: contain; /* 로고가 잘리지 않고 박스 안에 쏙 들어감 */
    filter: grayscale(100%); /* 로고 무채색 처리 (선택사항) */
    opacity: 0.6;
    border-radius: 4px;
}

.partner-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* 하단 버튼 */
.btn-wrap {
    margin-top: 40px;
}

/* --- 정적 푸터 스타일 --- */
.main-footer {
    background: #f4f7fb;
    padding: 0px 0px 0px; /* 견적 버튼 높이만큼 하단 여백 확보 */
    font-size: 14px;
    line-height: 1.6;
}
.footer-links {
    display: block;    
    padding: 15px 0;    
    background-color: var(--main);
    text-align: left;
}

.footer-links a {
    color: #fff;
    font-size: 0.975rem;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0 10px;
}

.footer-links a:hover {
    color: rgba(255, 255, 255, 0.6);
}
.footer-inner {
    position: relative;
    background-color: #333; /* 이미지의 브라운 톤 배경 */
    padding: 40px 0 100px;    
    color: #fff;
}

.footer-inner .container {
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 20px;
    padding: 0 20px 0px;
}

/* 로고 영역 */
.footer-logo {
    flex-shrink: 0;
}
.footer-logo img {
    height: 50px; /* 로고 크기에 맞게 조절 */
    filter: brightness(0) invert(1); /* 로고가 검정색일 경우 흰색으로 반전 */
}

/* 회사 정보 영역 */
.footer-info {
    flex-grow: 1; /* 남은 공간 차지 */    
    opacity: 0.8;
    text-align: left; /* Mobile Default */
}

.company-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff; /* 배경에 따라 흰색으로 변경 */
    margin-bottom: 5px;
}

.info-details p {
    margin: 0;
    font-size: var(--text-xs);
    font-weight: 500;
    line-height: 1.6;
}

/* 플로팅 버튼 컨테이너 (필요 시 위치 조정) */
.footer-contact {
    position: absolute;
    bottom: 40px;
    right: 20px;
}

/* 플로팅 원형 버튼 스타일 */
a.contact-number {       
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;  /* 버튼 크기 */
    height: 60px; /* 버튼 크기 */
    background-color: #007bff; /* 포인트 컬러 (자유롭게 변경 가능) */
    border-radius: 50%; /* 원형으로 만들기 */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); /* 그림자 효과 */
    transition: all 0.3s ease;
    text-decoration: none;
    color: #fff !important;
}

/* 아이콘 스타일 */
a.contact-number i {
    font-size: 1.8rem; /* 아이콘 크기 적정화 */
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 텍스트는 보이지 않게 처리 */
a.contact-number span, 
.contact-label {
    display: none !important;
}

/* 호버 및 터치 시 피드백 */
a.contact-number:hover,
a.contact-number:active {
    transform: scale(1.1); /* 살짝 커지는 효과 */
    background-color: #0056b3; /* 조금 더 진한 색상 */
}

/* --- 견적 레이어 (Fixed) --- */
.estimate-layer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    transition: transform 0.5s ease-in-out;
    /* 기본적으로 폼 높이만큼 내려가 있음 (헤더 버튼만 보이게) */
    transform: translateY(calc(100% - 60px)); 
    filter: drop-shadow(0 -5px 15px rgba(0,0,0,0.15));
}
.estimate-layer.open {
    transform: translateY(0);
}

.estimate-header {
    text-align: center;
}

.estimate-header button {
    background: #253981;
    color: #fff;
    border: none;
    padding: 0 40px;
    height: 60px;
    border-radius: 8px 8px 0 0;
    cursor: pointer;
    font-size: 20px;  
    font-weight: 600;
    transition: background-color 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.estimate-layer.open .estimate-header button {
    box-shadow: none;
}

.estimate-header button i {
    margin-left: 8px;
    font-size: 1.25rem;
}

.estimate-body {
    background: #253981;
    padding: 30px 20px;
}

/* --- 반응형 폼 레이아웃 --- */
.form-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.input-row {
    display: flex;
    flex-direction: column; /* Mobile Default */
    gap: 10px;
    margin-bottom: 10px;
}
.input-row .iptText {
    padding: 10px;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    box-sizing: border-box;
}

.input-row .iptText,
.input-row .sltBox,
.form-wrapper .textarea {
    flex: 1;
}

.form-wrapper .textarea {
    width: 100%;
    height: 100px;
    margin-top: 10px;
    padding: 10px;
}

/* Sub Header */
.sub-header {
    width: 100%;
    height: 250px; /* Mobile Default */
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}
.sub-header::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: inherit;
    background-size: cover;
    background-position: center;
    filter: blur(3px) brightness(0.7);
    transform: scale(1.1);
    z-index: 0;
    animation: sub-header-zoom 3s ease-out forwards;
}
.sub-header h2 {
    position: relative;
    z-index: 1;
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 50px;
}

.company-intro-container {
    margin: 0 auto;
    padding: 30px 0px;
}

.section-title {
    color: #3b51a4;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

/* 회사개요 테이블 스타일 */
.info-table {
    border: 1px solid #e0e6ed;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 60px;
}

.info-row {
    display: flex;
    flex-direction: column; /* Mobile Default */
    border-bottom: 1px solid #e0e6ed;
}

.info-row:last-child {
    border-bottom: none;
}

.info-item {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 20px 15px;
    /* Mobile Default: first-child border reset */
    border-right: none;
    border-bottom: 1px solid #e0e6ed;
}

.info-item .label {
    width: 100px; /* Mobile Default */
    color: var(--text-color);
    font-weight: 600;
    font-size: var(--text-sm);
    background-color: #fff;
}

.value {
    color: #333;
    font-size: 1rem;
    line-height: 1.4;
    font-weight: 500;
}

/* 이미지 플레이스홀더 영역 */
.sales-graph-area, .org-chart-area {
    margin-bottom: 60px;
}

.placeholder-img {
    width: 100%;
    aspect-ratio: 16 / 9; /* 이미지 비율에 맞춰 조정 가능 */
    background-color: #f8f9fa;
    border: 1px dashed #ced4da;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #adb5bd;
    font-size: 1.1rem;
    border-radius: 12px;
}

:root {
    --chart-bg: #0a1128;
    --bar-blue: #4a90e2;
    --line-yellow: #ffeb3b;
    --text-white: #ffffff;
}

.sales-chart-container {
    background: var(--chart-bg);
    padding: 40px 20px;
    border-radius: 12px;
    color: var(--text-white);
}

.chart-inner {
    position: relative;
    margin: 0 auto;
    height: 300px; /* Mobile Default */
}

/* 배경 가이드라인 */
.chart-bg-lines {
  position: absolute;
  width: 100%;
  height: 80%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.chart-bg-lines span {
    display: block;
    width: 100%;
    font-size: 10px; /* Mobile Default */
    color: rgba(255,255,255,0.3);
    border-bottom: 1px dashed rgba(255,255,255,0.1);
    padding-bottom: 5px;
}

/* 메인 차트 및 SVG 꺾은선 */
.chart-main {
    position: relative;
    height: 80%;
    margin-left: 35px; /* Mobile Default */
}
.line-graph {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}
/* SVG 라인 애니메이션 */
.line-graph polyline {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    transition: stroke-dashoffset 2s ease-out 1.5s;
}
.sales-chart-container.active .line-graph polyline {
    stroke-dashoffset: 0;
}

.chart-dot {
    position: absolute;
    width: 12px;
    height: 12px;
    background: #fff;
    border: 3px solid #ffeb3b;
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 3;
}
.sales-chart-container.active .chart-dot {
    transform: translate(-50%, -50%) scale(1);
}
.sales-chart-container.active .chart-dot:nth-child(2) { transition-delay: 1.5s; }
.sales-chart-container.active .chart-dot:nth-child(3) { transition-delay: 2.5s; }
.sales-chart-container.active .chart-dot:nth-child(4) { transition-delay: 3.5s; }

/* 바 그래프 디자인 */
.bar-group {
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    height: 100%;
    position: relative;
    z-index: 1;
}
.bar-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    height: 100%;
    position: relative;
    width: 25%; /* Mobile Default */
}
.bar {
    width: 100%;
    background: linear-gradient(to top, #3563a3, var(--bar-blue));
    position: relative;
    transition: height 1.5s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    height: 0;
}
.sales-chart-container.active .item-2023 .bar {
    height: 35.7%;
}
.sales-chart-container.active .item-2024 .bar {
    height: 50%;
}
.sales-chart-container.active .item-2025 .bar {
    height: 92.8%;
}

.value-text {
    font-size: 1rem; /* Mobile Default */
    font-weight: 700;
    margin-bottom: 15px; /* Mobile Default */
}
.year-text {
    position: absolute;
    bottom: -30px;
    width: 100%;
    text-align: center;
    font-weight: 600;
    font-size: 12px; /* Mobile Default */
}
.growth {
    font-size: var(--text-xs); /* Mobile Default */
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
}

/* 하단 뱃지 */
.chart-badge {
    position: absolute;
    bottom: -90px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0px; /* Mobile Default */
    border-radius: 0px;
    font-size: 12px; /* Mobile Default */
    white-space: nowrap;
    text-align: center;
    font-weight: 600;
}
.chart-badge.blue {
    color: var(--sub-main);
    /* border: 1px solid #3563a3; */
}
.chart-badge.red {
    color: var(--danger);
    /* border: 1px solid #ff4d4d;
    color: #ff4d4d; */
}

.sub-content-wrapper {
    margin: 0 auto;
    padding: 30px 0px 60px;
}

/* ==========================================================================
   MEDIA QUERIES (Unified: 768px, 1024px)
   ========================================================================== */

/* Tablet & Small Desktop (>= 768px) */
@media (min-width: 768px) {
    /* Header */
    #header.scrolled {
        padding: 15px 40px;
    }
    
    #header.scrolled .gnb li a {
        color: var(--title-color);
    }
    /* Slider */
    .main-slider {
        height: 100vh;
    }

    .main-header h1 {
        margin-top: 50px;
        font-size: 2.5rem; /* Tablet 이상에서 원래 크기로 복구 */
    }

    .main-header .description {
        font-size: 1.5rem; /* Tablet 이상에서 원래 크기로 복구 */
    }


    /* Stats & Map */
    .stats-cards-container {
        grid-template-columns: repeat(2, 1fr);
    }
    .stats-cards-container::before {
        background-position: right center;
        opacity: 0.8;
    }
    .stat-value {
        font-size: 3.8rem; /* Tablet 이상에서 원래 크기로 복구 */
    }

    /* Section Footer Button */
    a.section-footer-btn {
        width: 50%;
        height: 60px;
        font-size: 1.25rem;
    }

    /* Estimate Layer */
    .input-row {
        flex-direction: row;
    }
    .estimate-layer {
        transform: translateY(calc(100% - 75px));
    }

    /* Sub Header */
    .sub-header {
        height: 400px;
    }
    .sub-header h2 {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 20px;
    }

    /* Info Table */
    .info-row {
        flex-direction: row;
    }
    .info-item {
        border-bottom: none;
    }
    .info-item:first-child {
        border-right: 1px solid #e0e6ed;
    }
    .info-item .label {
        width: 100px;
        font-size: var(--text-md);
    }

    /* Chart */
    .chart-inner {
        height: 350px;
    }
    .value-text {
        font-size: 1.1rem;
    }

    .footer-inner {
        padding: 40px 0 80px;

    }
    .footer-logo img {
        height: 100px;
    }   

    .footer-contact {
        position: static;      /* fixed 해제 (중요: relative보다 static이 확실함) */
        display: flex;         /* label과 number를 가로로 배치하기 위해 flex 권장 */
        align-items: center;
        width: auto;           /* 크기 제한 해제 */
        height: auto;
        border: none;          /* 불필요한 테두리가 있다면 제거 */
        opacity: 1;
        visibility: visible;
    }

    .contact-label {
        display: inline-block !important; /* 강제로 보이게 설정 */
        margin-right: 10px;
        color: #fff;           /* 배경이 어두운 경우 */
    }

    a.contact-number {
        display: inline-flex !important; /* 모바일의 flex-center 해제 */
        width: auto !important;
        height: auto !important;
        background-color: transparent !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        font-size: var(--text-xl);
        font-weight: 600;
        color: #f4f7fb !important; /* 글자색이 배경과 겹치는지 확인 필수 */
        letter-spacing: -1px;
        transform: none !important;
        pointer-events: auto;     /* 터치/클릭 가능하게 유지 */
    }

    /* 아이콘을 다시 보고 싶다면 inline-block으로, 숨기려면 none 유지 */
    a.contact-number i {
        display: none; 
        font-size: 1.5rem; 
        margin-right: 8px;
    }

    /* 숫자 부분 */
    a.contact-number span {
        display: inline !important; /* 모바일의 none을 확실히 덮어씀 */
    }

    .sub-content-wrapper {
        padding: 60px 0px 80px;
    }
}

/* Desktop (>= 1024px) */
@media (min-width: 1024px) {
    /* Header */
    #header {
        padding: 50px 50px;
    }
    .logo img {
        height: 80px;
    }
    #header.scrolled .logo img {
        height: 60px;
    }
    .mobile-menu-btn { display: none; }
    .gnb { 
        display: block; 
        position: static; 
        width: auto; 
        background: transparent; 
        color: inherit; 
        padding: 0; 
        box-shadow: none; 
    }
    .gnb > ul { flex-direction: row; gap: 10px; }
    .gnb > ul > li { border-bottom: none; }
    .gnb a { padding: 10px 25px; border-radius: 25px; color: #fff; }
    .gnb a:hover { background-color: #f5f5f5; color: var(--main); }

    /* Submenu */
    .sub-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%);
        background: #fff;
        min-width: 80px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        padding: 15px 20px;
    }
    .sub-menu a { 
        padding: 10px 10px; 
        border-radius: 0px;
        font-size: var(--text-md);
        color: var(--text-color);
    }

    .sub-menu a:hover {
        background: none;
        color: #000;
    }

    /* Slider */
    .swiper-slide h1 { font-size: 8rem; }
    .swiper-slide h2 { font-size: 2.5rem; }

    /* Main Header */
    .main-container { padding: 0px; }
    .main-header h1 { font-size: 3.2rem; margin-bottom: 15px; }
    .section-header h2 { font-size: 2.5rem; }

    /* Stats & Map */
    .stats-cards-container { width: 100%; }
    .stats-cards-container::before { background-size: 100% auto; }

    /* Gallery */
    .gallery-container { gap: 20px; }
    .gallery-item .info { font-size: 1.25rem; padding: 18px 22px; padding-right: 60px; }
    .gallery-item .info .subject {
        display: inline;
    }
    .gallery-item .info small {
        display: inline;
        margin-top: 0;
    }
    .gallery-item .info .v-divider {
        display: inline-block;
    }
    .link-arrow { 
        font-size: 1.5rem; 
        right: 22px;
        top: 50%;
        bottom: auto;
        transform: translateY(-50%);
    }

    /* Modal */
    .modal-content { width: 90%; padding: 20px; }
    .modal-close { top: 15px; right: 15px; }

    /* Partner */
    .partner-grid { gap: 15px; }
    .partner-item { padding: 0px; }

    /* Footer */
    .footer-inner .container {
        flex-direction: row;
        align-items: center;
        text-align: left;
        gap: 40px;
    }
    .footer-info { text-align: left; }
    .footer-contact { text-align: right; width: auto; align-self: auto; }
    a.contact-number { font-size: 2rem; }

    /* Chart */
    .chart-inner { height: 600px; max-width: 100%; }
    .chart-main { margin-left: 50px; }
    .chart-bg-lines span { font-size: 12px; }
    .value-text { font-size: 1.5rem; margin-bottom: 10px; }
    .year-text { font-size: 16px; }
    .bar-item { width: 20%; }
    .growth { font-size: 1.8rem; }
    .chart-badge { padding: 10px 20px; font-size: 1.125rem; }
}

.org-chart-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    width: 100%;    
    margin: 0 auto;
    background-color: #f5f9fd;
    box-sizing: border-box;
    padding: 40px 20px;
    border-radius: 12px;
}

/* 기본 노드 스타일 */
.org-node {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    box-sizing: border-box;
    position: relative;
}

.node-content {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: inherit;
}

/* 최상위 노드 (TOMOT 로고) */
.root-node {
    width: 120px;
    height: 120px;
    background-color: var(--main);
    border-radius: 50%; /* 원형 */
    margin-bottom: 0;
    z-index: 2;
}
.root-node .node-content img {
    max-width: 50%;
    max-height: 50%;
    object-fit: contain;
}

/* 메인 세로 연결선 */
.main-vline {
    display: block;
    width: 1px;
    height: 20px;
    background-color: var(--border);
}

/* 부서 레벨 그룹 (Flex 컨테이너) */
.dept-level-group {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 10px;
    width: 100%;
    justify-items: center;
}

/* 부서 노드 공통 */
.dept-node {
    width: 140px;
    height: 55px;
    background-color: var(--sub-main);
    color: #fff;
    font-size: var(--text-sm);
    font-weight: 600;
    border-radius: 10px; /* 둥근 사각형 */
    flex-shrink: 0;
}

/* 부서 + 팀 세트 컨테이너 */
.dept-team-set {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

/* 팀 그룹 래퍼 (세로선 포함) */
.team-group-wrapper {
    display: flex;
    position: relative;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding-top: 15px;
}
.team-group-wrapper .line-v {
    display: block;
    width: 1px;
    height: 15px; /* 부서와 팀 사이 선 높이 */
    background-color: var(--border);
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

/* 팀 노드 그룹 */
.team-group {
    display: flex;
    flex-direction: column;
    gap: 8px; /* 팀 노드 간 간격 */
}

/* 팀 노드 스타일 (화살표 형태) */
.team-node {
    width: 140px;
    height: 45px;
    background-color: var(--muted);
    color: #fff;
    font-size: var(--text-xs);
    font-weight: 500;
    /* clip-path: polygon(0% 0%, 90% 0%, 100% 50%, 90% 100%, 0% 100%, 10% 50%); 화살표 모양 */
    border-radius: 10px;
}

/* 가로/세로 연결선 태그 초기화 */
.org-node .line-h,
.team-group-wrapper .line-v {
    position: absolute;
    z-index: 1;
}

/* ==========================================================================
   반응형 중단점 (Breakpoints) 디테일 설정
   ========================================================================== */

/* 1. MD (Tablet): 768px 이상 */
@media (min-width: 768px) {
    .root-node {
        width: 140px;
        height: 140px;
        margin-bottom: 0;
        min-width: 140px;
        flex-shrink: 0;
    }
    .main-vline {
        height: 50px;
    }
    .dept-level-group {
        display: flex;
        flex-direction: row; /* 가로 나열 시작 */
        justify-content: center;
        align-items: flex-start; /* 상단 정렬 */
        gap: 15px; /* 간격 축소 (화면에 맞추기 위해) */
        position: relative;
        padding-top: 20px; /* 연결선을 위한 공간 */
    }

    .dept-team-set {
        width: auto;
        flex-shrink: 0;
    }

    /* 부서 노드 가로 연결선 (T자형) */
    .dept-level-group::before {
        content: '';
        position: absolute;
        top: 0;
        left: 15%; /* 관리비 노드 중심 */
        right: 15%; /* 품질관리부 노드 중심 */
        height: 1px;
        background-color: var(--border);
    }

    /* 개별 부서 노드 상단 세로선 */
    .dept-node::before {
        content: '';
        position: absolute;
        top: -20px;
        left: 50%;
        transform: translateX(-50%);
        width: 1px;
        height: 20px;
        background-color: var(--border);
    }

    .dept-node {
        width: 110px; /* 너비 축소 */
        font-size: var(--text-sm);
    }

    /* 관리비, 디자인부, 품질관리부 노드는 팀 세트가 없으므로 정렬 보정 */
    .item-management,
    .item-design-office,
    .item-qc {
        margin-top: 0;
    }

    .team-node {
        width: 90px;
        font-size: var(--text-sm);
    }
}

/* 2. LG (Laptop): 1024px 이상 */
@media (min-width: 1024px) {
    .dept-level-group {
        gap: 40px; /* 노드 간 간격 확대 */
    }
    .dept-node {
        width: 130px; /* 너비 원래대로 확대 */
        font-size: var(--text-md);
    }
    .team-node {
        width: 110px;
        font-size: var(--text-md);
    }
    /* 가로선 범위 확대 */
    .dept-level-group::before {
        left: calc(130px / 2 + 0px); /* 1번째 노드 중심 */
        right: calc(130px / 2 + 0px); /* 5번째 노드 중심 */
    }
}

/* 3. XL (Desktop): 1280px 이상 */
@media (min-width: 1280px) {
    .dept-level-group {
        gap: 60px; /* 노드 간 간격 최대화 */
    }
    .dept-node {
        width: 150px; /* 너비 최대화 */
    }
    .team-node {
        width: 150px;
    }
    /* 가로선 범위 최대화 */
    .dept-level-group::before {
        left: calc(150px / 2 + 0px); /* 1번째 노드 중심 */
        right: calc(150px / 2 + 0px); /* 5번째 노드 중심 */
    }

}

 /* License List Section */
 .license-list {
    padding: 30px 20px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.license-list::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/sub-header-slide01.jpg') no-repeat center/cover;
    filter: blur(5px) brightness(0.5);
    transform: scale(1.1); /* 블러로 인한 외곽 흰색 번짐 방지 */
    z-index: -1;
    animation: sub-header-zoom 10s ease-out forwards;
}


@keyframes sub-header-zoom {
    from {
        transform: scale(1.1);
    }
    to {
        transform: scale(1.2);
    }
}

.license-list h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #fff;
}

.license-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.license-item {
    width: 60%;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.license-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}


.license-item:hover img {
    transform: scale(1.1);
}

@media (min-width: 768px) {
    .license-list {
        padding: 50px 60px 80px;
    }
    .license-list h3 {
        font-size: 2.5rem;
        margin-bottom: 60px;
    }
    .license-grid {
        flex-direction: row;
        gap: 50px;
    }
    .license-item {
        width: 28%;
        max-width: 300px;
    }
}

@media (min-width: 1024px) {
    .license-list h3 {
        font-size: 3rem;
    }
    .license-grid {
        gap: 70px;
    }
}

/* --- [1] 모바일 기본 (Mobile First) --- */
.greeting-wrapper {
    width: 100%;
    overflow: hidden;
}

.greeting-visual {
    width: 100%;
    margin-bottom: 40px;
}

.greeting-visual img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.greeting-content {
    padding: 0 20px 60px;
    display: flex;
    flex-direction: column; /* 세로 나열 */
    align-items: flex-start;
    gap: 0px;
}

.content-title h1 {
    font-size: 1.8rem;
    line-height: 1.3;
    word-break: keep-all;
    margin: 0 0 20px;
}

.content-body {
    color: #555;
    line-height: 1.7;
    font-size: var(--text-md);
    word-break: keep-all;
}

.content-body p {
    margin-bottom: 20px;
}

.promise-text {
    font-weight: 600;
    color: #333;
    margin-top: 30px;
}

.ceo-signature {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    text-align: right;
}

.ceo-signature span {
    font-size: 1.5rem;
    margin-right: 5px;
    color: #222;
}

/* --- [2] 태블릿 (min-width: 768px) --- */
@media (min-width: 768px) {
    .greeting-content {
        padding: 0 40px 80px;
    }
    .content-title h1 {
        font-size: 2.2rem;
    }
    .content-body {
        font-size: 1.2rem;
    }
}

/* --- [3] 노트북/데스크탑 (min-width: 1024px) --- */
@media (min-width: 1024px) {
    .greeting-content {
        flex-direction: row; /* 가로 분할 레이아웃 시작 */
        justify-content: space-between;
        margin: 0 auto;
        gap: 40px;
        padding-bottom: 120px;
    }

    .content-title {
        flex: 1;
        text-align: left;
    }

    .content-body {
        flex: 1.2;
    }

    .content-title h1 {
        font-size: 2.4rem;
        position: sticky;
        top: 0px; /* 스크롤 시 타이틀 고정 효과 */
    }
}

/* --- [4] 대화면 (min-width: 1280px) --- */
@media (min-width: 1280px) {
    .content-title h1 {
        font-size: 3.2rem;
        line-height: 1.5;
        margin-top: 30px;
    }
    .greeting-content {
        gap: 60px;
    }
}

/* Portfolio Tabs */
.portfolio-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 40px;
    gap: 8px;
    margin-bottom: 30px;
    padding: 0;
    list-style: none;
}

.portfolio-tabs li {
    position: relative;
    padding: 10px 24px;
    padding: 8px 16px;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 50px;
    font-size: 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
}

.portfolio-tabs li:hover,
.portfolio-tabs li.active {
    background-color: var(--main);
    border-color: var(--main);
    color: #fff;
}

.portfolio-tabs li .badge {
    position: absolute;
    top: -8px;
    right: -10px;
    font-size: 0.65rem;
    padding: 3px 6px;
    top: -6px;
    right: -5px;
    font-size: 0.6rem;
    padding: 2px 4px;
    border-radius: 4px;
    line-height: 1;
    font-weight: 700;
    color: #fff;
    display: inline-block;
    vertical-align: top;
}

.portfolio-tabs li .badge.hot {
    background-color: #ff4d4d;
}

.portfolio-tabs li .badge.best {
    background-color: #f5a623;
}

@media (min-width: 768px) {
    .portfolio-tabs {
        gap: 12px;
        margin-bottom: 40px;
    }
    .portfolio-tabs li {
        padding: 10px 24px;
        font-size: 1rem;
    }
    .portfolio-tabs li .badge {
        top: -8px;
        right: -10px;
        font-size: 0.65rem;
        padding: 3px 6px;
    }
}

/* --- [1] 모바일 기본 --- */
.infra-item {
    display: flex;
    flex-direction: column;
    margin-bottom: 50px;
}
.connect-line { display: none; } /* 모바일에서는 숨김 */

.infra-item {
    display: flex;
    flex-direction: column; /* 모바일은 세로 나열 */
    margin-bottom: 40px;
}

.text-area {
    padding: 20px 20px;
    order: 2; /* 모바일에서 텍스트가 이미지 아래로 */
}

.visual-area {
    padding: 0;
    order: 1; /* 모바일에서 이미지가 위로 */
}

.infra-title {
    font-size: 1.8rem;
    color: var(--main);
    font-weight: 700;
    margin-bottom: 10px;
    word-break: keep-all;
}

.infra-title small {
    font-size: 45%;
    line-height: 1;
    padding: 6px 13px;
    background-color: var(--sub-main);
    color: #fff;
    font-weight: 500;
    border-radius: 20px;
    letter-spacing: 0;
}

.infra-desc {
    font-size: 1.25rem;
    line-height: 1.5;
    color: var(--text-black);
}

/* 이미지 박스 설정 */
.img-box {
    width: 100%;
    aspect-ratio: 16 / 9; /* 이미지 비율 유지 */
    overflow: hidden;
    border-radius: 12px; /* 깔끔한 라운드 처리 */
}

.img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 영역에 맞게 이미지 채움 */
    display: block;
}

/* --- [2] 데스크탑 (min-width: 1024px) --- */
@media (min-width: 1024px) {
    .infra-item {
        flex-direction: row;
        align-items: center;
        position: relative; /* 라인 배치를 위한 기준점 */
        margin-bottom: 100px;
        gap: 40px;
    }

    .infra-item.reverse {
        flex-direction: row-reverse;
    }

    .infra-item.reverse {
        flex-direction: row-reverse;
    }

    .text-area {
        order: 2;
        padding: 0px 30px 30px;
    }

    .visual-area {
        order: 1;
    }

    .infra-title {
        font-size: 2rem;
    }

    .text-area, .visual-area {
        flex: 1;
        position: relative;
    }

    /* --- 커넥팅 라인 디자인 --- */
    .connect-line {
        display: block;
        position: absolute;
        bottom: -5%; /* 타이틀/설명글 하단 즈음 */
        width: 760px; /* 라인 길이 */
        height: 1px;
        background: var(--sub-main);
        z-index: 1;
    }

    /* 정방향일 때: 텍스트 오른쪽에서 이미지로 */
    .infra-item:not(.reverse) .connect-line {
        left: -100px; /* 텍스트 영역 밖으로 돌출 */
    }

    /* 반대 방향일 때: 텍스트 왼쪽에서 이미지로 */
    .infra-item.reverse .connect-line {
        right: -100px;
        text-align: right;
    }
    /* 이미지 박스에 호버 효과 주어 연결감 강조 */
    .img-box {
        aspect-ratio: 6 / 4;
        transition: transform 0.4s ease, box-shadow 0.4s ease;
    }
    .infra-item:hover .img-box {
        transform: translateY(-10px);
        box-shadow: 0 20px 40px rgba(59, 81, 164, 0.1);
    }

    .infra-title {
        font-size: 2.5rem;
    }

    .infra-desc {
        font-size: 1.5rem;
    }
}


:root {
    --process-blue: #0096da; /* 토머트 포인트 컬러 */
    --line-color: #e0e6ed;
    --text-gray: #666;
}

/* --- [1] 모바일 기본 (Mobile First) --- */
.process-section {
    padding: 40px 0px;
    background: #fff;
}

.process-item {
    display: flex;
    gap: 20px;
    position: relative;
}

/* 아이콘 및 수직 연결선 */
.icon-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
}

.icon-circle {
    width: 50px;
    height: 50px;
    background: #fff;
    border: 2px solid var(--process-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--process-blue);
    z-index: 2;
}

.step-line {
    width: 2px;
    flex-grow: 1;
    background-color: var(--process-blue);
    margin: 8px 0;
}

/* 마지막 단계 선 제거 */
.process-item:last-child .step-line {
    display: none;
}

/* 텍스트 영역 */
.process-text-area {
    padding-bottom: 40px;
}

.step-badge {
    display: inline-block;
    background: var(--process-blue);
    color: #fff;
    padding: 3px 10px;
    border-radius: 15px;
    font-size: var(--text-xs);
    font-weight: 700;
    margin-bottom: 8px;
}

.process-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #222;
    word-break: keep-all;
}

.process-details {
    list-style: none;
    padding: 0;
}

.process-details li {
    position: relative;
    padding-left: 12px;
    margin-bottom: 6px;
    color: var(--text-gray);
    font-size: var(--text-sm);
    line-height: 1.5;
}

.process-details li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--process-blue);
}

/* --- [2] 태블릿 및 데스크탑 (min-width: 1024px) --- */
@media (min-width: 1024px) {
    .process-section {
        display: grid;
        grid-template-columns: repeat(3, 1fr); /* 3열 나열 */
        gap: 30px;
        margin: 0 auto;
        padding: 40px 0px;
    }

    .process-item {
        flex-direction: column; /* 세로 카드 형태로 변경 */
        align-items: flex-start;
        padding: 35px;
        border: 1px solid var(--border);
        border-radius: 15px;
        background: #fff;
        transition: all 0.3s ease;
        gap: 0;
    }

    .process-item:hover {
        border-color: var(--process-blue);
        box-shadow: 0 10px 25px rgba(0, 150, 218, 0.1);
        transform: translateY(-5px);
    }

    /* PC에서 수직선 숨기기 */
    .icon-area {
        margin-left: auto;
        margin-bottom: 0px;
    }
    
    .step-line {
        display: none !important;
    }

    .icon-circle {
        width: 70px;
        height: 70px;
        font-size: 30px;
    }

    .process-text-area {
        padding-bottom: 0; /* 카드 형태이므로 하단 패딩 제거 */
        width: 100%;
    }

    .process-title {
        font-size: 1.6rem;
        height: 3.4rem; /* 제목 높이 고정으로 카드 균형 유지 */
        display: flex;
        align-items: center;
    }

    .process-details {
        margin-top: 15px;
        border-top: 1px solid #f0f0f0;
        padding-top: 20px;
    }

    .process-details li {
        font-size: 1.125rem;
        margin-bottom: 8px;
    }
}
:root {
    --box-bg: #f9f9f9;
    --arrow-blue: #3b51a4;
    --text-main: #333;
    --text-sub: #666;
    --border-radius: 15px;
}

/* --- [1] 모바일 기본 (Mobile First) --- */
.cs-system-section {
    padding: 30px 0;
}
.cs-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px 0px;
}

.cs-box {
    width: 100%;
    background-color: var(--box-bg);
    padding: 20px 25px;
    border-radius: var(--border-radius);
    position: relative;
    box-sizing: border-box;
    margin-bottom: 0;
}


.cs-title {
    font-size: 1.48rem;
    font-weight: 700;
    color: var(--text-black);
    margin-bottom: 15px;
    word-break: keep-all;
}

.cs-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: inline-block; /* 내용 길이에 맞춰 중앙 정렬 보조 */
    text-align: left; /* 리스트 내용은 왼쪽 정렬 */
}

.cs-list li {
    font-size: 1rem;
    color: var(--text-color);
    margin-bottom: 8px;
    position: relative;
    padding-left: 15px;
    line-height: 1.6;
}

.cs-list li::before {
    content: '·';
    position: absolute;
    left: 0;
    font-weight: bold;
    color: var(--main);
}

.cs-num {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: rgba(0,0,0,0.1);
    margin-bottom: 10px;
    text-align: right;
}

/* 모바일 화살표: 아래로 향함 */
.cs-arrow {
    padding: 0px 0 15px;
    color: var(--main-blue);
    font-size: 24px;
}
.final-item {
    text-align: center;
    padding: 10px 0px;
    border-radius: var(--border-radius);
    align-items: center;
    justify-content: center;
}

.final-item p {
    font-size: var(--text-lg);
    font-weight: 600;
    margin: 10px 0 0;
    color: var(--main);
}

.final-item .final-visual img {
    height: auto;
    opacity: 0.8;
    margin: auto;
}

/* --- [2] PC 레이아웃 (min-width: 1024px) --- */
@media (min-width: 1024px) {
    .cs-system-section {
        display: grid;
        grid-template-columns: repeat(3, 1fr); /* 1행 3개 나열 */
        gap: 40px 30px;
        margin: 0 auto;
        padding: 60px 0;
    }
    .cs-item {
        height: 100%;
    }
    .cs-title {
        font-size: 1.6rem;
    }
    .cs-list li {
        font-size: 1.125rem;
        padding-left: 10px
    }
    .cs-box {
        height: 100%; /* 박스 높이 통일 */
        display: flex;
        flex: 1;
        flex-direction: column;
        justify-content: center;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        padding: 35px 25px;
    }
    /* PC에서는 아래 방향 화살표 숨김 */
    .cs-arrow {
        display: none;
    }
    .cs-num {
        font-size: 2rem;
    }
    /* 가로 화살표 (1, 2, 4번 박스 우측에 배치) */
    .cs-item:nth-child(1) .cs-box::after,
    .cs-item:nth-child(2) .cs-box::after,
    .cs-item:nth-child(4) .cs-box::after {
        /* 유니코드를 활용한 아이콘 삽입 */
        content: "\e528"; 
        /* Phosphor Icons 폰트 패밀리 지정 (필수) */
        font-family: "Phosphor" !important;
        position: absolute;
        right: -28px;
        top: 50%;
        transform: translateY(-50%);
        color: var(--main);
        font-size: 24px;
        z-index: 2;
        text-shadow: 0 0 2px rgba(0, 0, 0, 0.31);
    }
    
    .cs-box:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 30px rgba(0,0,0,0.05);
        background-color: #fff;
        border: 1px solid var(--main);
    }
}

:root {
    --point-gold: #b38d4f; /* National Vision 포인트 컬러 */
    --text-black: #000;
    --text-gray: #444;
    --line-color: #333;
}

.vision-goal-container {
    padding: 60px 0px;
    margin: 0 auto;
    display: flex;
    flex-direction: column; /* 모바일: 세로 배치 */
    gap: 40px;
}

/* --- [1] 좌측 타이틀 영역 --- */
.vg-header .sub-title {
    display: block;
    color: var(--sub-main);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.vg-header .main-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-black);
    margin: 0;
}

/* --- [2] 우측 콘텐츠 영역 --- */
.vg-body {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.vg-item {
    display: flex;
    flex-direction: row; /* Mobile Default */
    align-items: stretch;
    text-align: left;
    gap: 20px;
}

.vg-icon-area {
    position: relative;
    margin-bottom: 0;
    flex-shrink: 0;
}

.circle-icon {
    width: 80px;
    height: 80px;
    border: 1px solid var(--line-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    background: #fff;
    z-index: 2;
    position: relative;
}

.vg-connect-line {
    display: block;
    position: absolute;
    top: 80px;
    bottom: -40px;
    left: 50%;
    width: 1px;
    background-color: var(--line-color);
    transform: translateX(-50%);
}

.vg-item-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-black);
    word-break: keep-all;
}

.vg-item-desc {
    font-size: 1rem;
    line-height: 1.4;
    color: var(--text-gray);
    word-break: keep-all;
    margin: 0 0 5px;
}

.pc-only { display: none; }

/* 마지막 아이템 선 제거 */
.vg-item:last-child .connect-line {
    display: none;
}

/* --- [3] 데스크탑 스타일 (min-width: 1024px) --- */
@media (min-width: 1024px) {
    .vision-goal-container {
        flex-direction: row; /* 좌(제목) - 우(내용) 가로 배치 */
        align-items: flex-start;
        gap: 50px;
        padding: 100px 0px;
    }

    .vg-header {
        flex: 0 0 300px; /* 제목 영역 너비 고정 */
        position: sticky;
        top: 100px;
    }
    .vg-header .main-title {
        font-size: 2.8rem;
    }
    .vg-body {
        flex: 1;
        gap: 0; /* 아이템 간 간격은 패딩으로 조절 */
    }

    .vg-item {
        gap: 60px;
    }

    .vg-icon-area {
        margin-bottom: 0;
        padding-bottom: 100px; /* 연결선 길이를 위한 패딩 */
    }

    .circle-icon {
        width: 130px;
        height: 130px;
        font-size: 24px;
    }

    .vg-connect-line {
        display: block;
        position: absolute;
        top: 110px;
        left: 50%;
        transform: translateX(-50%);
        width: 1px;
        height: 120px; /* 원과 원을 잇는 선 */
        background-color: var(--line-color);
        bottom: auto;
    }

    .vg-text-area {
        padding-top: 0px; /* 아이콘 중앙 높이 정렬 */
    }

    .vg-item-title { font-size: 2rem; }
    .vg-item-desc { font-size: 1.25rem; }
    .pc-only { display: block; }

    .vg-item:last-child .vg-icon-area {
        padding-bottom: 0;
    }
}

/* --- [4] 대화면 보정 (min-width: 1400px) --- */
@media (min-width: 1400px) {
    .vision-goal-container { gap: 180px; }
}

:root {
    --primary-blue: #3b51a4;
    --active-blue: #4a69d4;
    --border-gray: #e0e6ed;
}

/* --- [1] 모바일 기본 --- */
.inquiry-section {
    padding: 0px 0px;
    display: flex;
    flex-direction: column; /* 텍스트가 위, 폼이 아래 */
    gap: 40px;
}

/* 텍스트 메시지 영역 */
.inquiry-message {
    line-height: 1.7;
}

.msg-highlight {
    font-size: 1.25rem;
    margin-bottom: 0px;
    font-weight: 600;
    color: var(--text-black);
}

.msg-highlight strong {
    color: var(--text-black);
    font-weight: 700;
}

.msg-sub {
    font-size: 1rem;
    color: var(--text-gray);
    font-weight: 500;
    margin-bottom: 0px;
}

.msg-action {
    font-size: 1rem;
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: 10px;
}

.msg-footer {
    font-size: var(--text-sm);
    text-align: right;
    border-top: 1px solid var(--border);
    margin: 20px 0 0;
    padding: 20px 0 0;
}

/* 라디오 버튼 -> 실제 버튼형 디자인 */
.label-main {
    display: block;
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-bottom: 10px;
}
.label-main span { color: #e74c3c; }

.type-selector {
    display: flex;
    gap: 8px;
    margin-bottom: 25px;
}
.type-selector input[type="radio"] { display: none; }
.type-selector label {
    flex: 1;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-gray);
    border-radius: 8px;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s ease;
}
.type-selector input[type="radio"]:checked + label {
    background-color: var(--primary-blue);
    color: #fff;
    border-color: var(--primary-blue);
}

/* 입력 필드 공통 */
.input-list { display: flex; flex-direction: column; gap: 12px; }
.input-list input, .input-list textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-gray);
    border-radius: 8px;
    font-size: 1rem;
    outline: none;
}
.input-list textarea { height: 150px; resize: none; }

/* 하단 버튼 및 체크박스 */
.privacy-check { margin-top: 20px; font-size: 0.9rem; color: var(--text-gray); }
.submit-btn {
    width: 100%;
    height: 54px;
    background-color: var(--primary-blue);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 20px;
    cursor: pointer;
}

/* --- [2] 데스크탑 (min-width: 1024px) --- */
@media (min-width: 1024px) {
    .inquiry-section {
        flex-direction: row-reverse; /* 폼이 왼쪽, 텍스트가 오른쪽 */
        justify-content: center;
        align-items: flex-start;
        margin: 0 auto;
        gap: 80px;
        padding: 0px 0;
    }

    .inquiry-form { flex: 1.2; }
    .inquiry-message { flex: 1; padding-top: 50px; }

    .type-selector label {
        max-width: 120px; /* PC에서는 너무 넓어지지 않게 고정 */
    }

    .submit-btn:hover {
        background-color: var(--active-blue);
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(59, 81, 164, 0.2);
    }
    .msg-highlight {
        font-size: 1.65rem;
        line-height: 1.3;
        margin-top: 45px;
        margin-bottom: 25px;
    }
    .msg-sub {
        font-size: 1.35rem;
        line-height: 1.4;
        margin-bottom: 25px;
    }
    .msg-action {
        font-size: 1.5rem;
    }
    .msg-footer {
        font-size: 1.2rem;
    
    }
}

:root {
    --primary-blue: #5b8ae4;
    --line-gray: #eee;
    
    /* 지하철 노선 색상 */
    --line5-color: #a05eb5;
    --line6-color: #cd7c2f;
    --gonghang-color: #0090d2;
    --gyeongui-color: #77c4a3;
}

/* --- [1] 모바일 기본 (Mobile First) --- */
.location-section {
    padding: 0px;
    display: flex;
    flex-direction: column; /* 모바일: 세로 배치 */
    gap: 30px;
}

/* 지도 박스 */
.map-container {
    width: 100%;
    aspect-ratio: 1 / 1; /* 모바일 정사각 비율 */
    background-color: #f9f9f9;
    border: 1px solid var(--line-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #bbb;
}

/* 정보 텍스트 영역 */
.info-group {
    display: flex;
    margin-bottom: 25px;
    gap: 20px;
}

.info-label {
    width: 70px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-black);
    flex-shrink: 0;
}

.info-content {
    font-size: 1rem;
    color: var(--text-black);
    line-height: 1.5;
}

/* 지하철 배지 디자인 */
.subway-info {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}

.line-badge {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #fff;
    font-weight: 700;
}
.line5 { background-color: var(--line5-color); }
.line6 { background-color: var(--line6-color); }
.gonghang { background-color: var(--gonghang-color); }
.gyeongui { background-color: var(--gyeongui-color); }

/* 버튼 디자인 */
.map-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 30px;
}

.map-buttons a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    background-color: var(--primary-blue);
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: opacity 0.2s;
}

/* --- [2] 데스크탑 스타일 (min-width: 1024px) --- */
@media (min-width: 1024px) {
    .location-section {
        flex-direction: row; /* 가로 배치 */
        margin: 0 auto;
        padding: 0px 0;
        gap: 80px;
        align-items: stretch;
    }

    .map-container {
        flex: 1.2;
        aspect-ratio: unset; /* 고정 비율 해제 */
        height: auto;
    }

    .location-info {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .info-label {
        width: 100px;
        font-size: 1.1rem;
    }

    .info-content {
        font-size: 1.1rem;
    }

    .map-buttons a:hover {
        opacity: 0.85;
    }
}

/* --- [1] 모바일 기본 (Mobile First) --- */
.privacy-container {
    padding: 40px 20px;
    line-height: 1.7;
    color: var(--text-color);
    word-break: keep-all;
    background: #f9f9f9;
}

.privacy-header h1 {
    font-size: 1.75rem;
    color: var(--text-black);
    margin-bottom: 15px;
    border-bottom: 2px solid var(--black);
    padding-bottom: 15px;
}

.privacy-header p {
    font-size: 0.95rem;
    margin-bottom: 30px;
}

/* 리스트 구조 정렬 */
.privacy-content dt {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-black);
    margin-top: 40px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.privacy-content dt span {
    font-size: 0.85rem;
    color: var(--main);
    border: 1px solid var(--main);
    padding: 2px 6px;
    border-radius: 4px;
}

.privacy-content dd {
    margin-left: 0;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

/* 상세 항목 스타일 */
.info-list, .bullet-list {
    list-style: none;
    padding: 0;
}

.info-list li {
    background: var(--light);
    padding: 6px 10px;
    border-radius: 6px;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.bullet-list li::before {
    content: "•";
    color: var(--main);
    margin-right: 8px;
    font-weight: bold;
}

.law-box, .contact-card {
    background: #fff;
    border: 1px dashed #ccc;
    padding: 15px;
    border-radius: 8px;
    margin-top: 10px;
}

.privacy-footer {
    margin-top: 50px;
    text-align: center;
    font-size: var(--text-md);
    color: var(--muted)
}

/* --- [2] 데스크탑 및 태블릿 (min-width: 1024px) --- */
@media (min-width: 1024px) {
    .privacy-container {
        margin: 0 auto;
        padding: 30px 30px;
    }

    .privacy-header h1 {
        font-size: 2.5rem;
    }

    .privacy-content dt {
        font-size: 1.4rem;
    }

    .privacy-content dd {
        padding-left: 40px; /* 제목과 내용 간격 확보 */
    }

}

/* 메인 슬라이더 어두운 오버레이 제거 */
.swiper-slide::before {
    display: none;
}

/* --- 모바일 (기본) --- */
.main-slider {
    height: auto;
}
.main-slider .swiper-slide {
    height: auto; /* 이미지 높이에 맞춰 자동 조절 */
}
.main-slider .swiper-slide > img {
    display: block; /* 모바일 이미지 보이기 */
    width: 100%;
    height: auto;
}

/* --- 데스크탑 (768px 이상) --- */
@media (min-width: 768px) {
    .main-slider {
        height: 100vh; /* 데스크탑에서는 전체 화면 높이 */
    }
    .main-slider .swiper-slide {
        height: 100%;
    }
    .main-slider .swiper-slide > img {
        display: none; /* 모바일 이미지 숨기기 */
    }
}

:root {
    --card-bg: #f8f9fa;
    --icon-blue: #1e4b8d;
    --border-radius: 20px;
}

/* --- [1] 모바일 기본 (1컬럼) --- */
.company-info-section {
    padding: 0px 0px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 0 auto 60px;
}

.info-card {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 35px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease;
}

.card-icon {
    font-size: 35px;
    color: var(--icon-blue);
    margin-bottom: 0px;
}
.card-icon svg {
    width: 1.45em;
    height: 1.45em;
}

.card-type {
    display: block;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--icon-blue);
    text-transform: uppercase;
    margin-bottom: 5px;
    letter-spacing: 0px;
}

.card-text {
    font-size: 1rem;
    color: var(--text-color);
    line-height: 1.6;
    word-break: keep-all;
}

/* --- [2] 데스크탑 (min-width: 1024px) --- */
@media (min-width: 1024px) {
    .company-info-section {
        display: grid;
        grid-template-columns: repeat(3, 1fr); /* 3컬럼 나열 */
        grid-template-rows: repeat(2, auto);    /* 2줄 구성 */
        gap: 25px;
        margin: 0 auto 70px;
        padding: 0px 0;
    }

    .info-card {
        padding: 50px 30px;
        justify-content: center;
    }

    .info-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 30px rgba(0,0,0,0.05);
    }

    .card-icon {
        font-size: 45px;
        margin: 0 0 10px;
    }

    .card-type {
        font-size: 1.35rem;
    }

    .card-text {
        font-size: 1.125rem;
    }
}