@font-face {
    font-family: 'NanumSquareNeoBold';
    src: url(https://hangeul.pstatic.net/hangeul_static/webfont/NanumSquareNeo/NanumSquareNeoTTF-cBd.eot);
    src: url(https://hangeul.pstatic.net/hangeul_static/webfont/NanumSquareNeo/NanumSquareNeoTTF-cBd.eot?#iefix) format("embedded-opentype"), url(https://hangeul.pstatic.net/hangeul_static/webfont/NanumSquareNeo/NanumSquareNeoTTF-cBd.woff) format("woff"), url(https://hangeul.pstatic.net/hangeul_static/webfont/NanumSquareNeo/NanumSquareNeoTTF-cBd.ttf) format("truetype");
}

@font-face {
    font-family: 'NanumSquareNeo';
    src: url(https://hangeul.pstatic.net/hangeul_static/webfont/NanumSquareNeo/NanumSquareNeoTTF-bRg.eot);
    src: url(https://hangeul.pstatic.net/hangeul_static/webfont/NanumSquareNeo/NanumSquareNeoTTF-bRg.eot?#iefix) format("embedded-opentype"), url(https://hangeul.pstatic.net/hangeul_static/webfont/NanumSquareNeo/NanumSquareNeoTTF-bRg.woff) format("woff"), url(https://hangeul.pstatic.net/hangeul_static/webfont/NanumSquareNeo/NanumSquareNeoTTF-bRg.ttf) format("truetype");
}

		/* CSS Reset 및 기본 스타일 */

        a {
            text-decoration: none;
            color: inherit;
        }
        
        /* 유틸리티 변환: PC 반응형 컨테이너 */
        .pc-responsive-container {
            width: 100%;
            max-width: 1400px; /* PC에서 최대 1400px까지만 늘어남 */
            margin-left: auto;
            margin-right: auto;
            padding-left: 0px; 
            padding-right: 0px;
        }

   @media only screen and (max-width: 1200px) {
        .pc-responsive-container {
            padding-left: 10px; 
            padding-right: 10px;
		}
        .right-menu-area {
			margin-top: 5% !important;
        }
        } 

        /* PC용 고정 헤더 (스크롤 50px 이후 나타남) */
        .fixed-header {
            height: 130px;
            opacity: 0;
            pointer-events: none;
            z-index: 50;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            background-color: white;
            border-bottom: 1px solid #f2f2f2;
            display: none; 
        }

        .fixed-header.show {
            transform: translateY(0);
            opacity: 1;
            pointer-events: all;
        }
        
        /* PC 고정 헤더 내부 레이아웃 */
        .fixed-header-inner {
            height: 100%;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 0.5rem; 
        }
        
        /* PC 고정 헤더 네비게이션 간격 수정 (2.5rem으로 증가) */
        .fixed-header-nav {
            display: flex;
            justify-content: center;
            gap: 2.5rem; /* 메뉴 항목 간격 증가 */
        }


        /* PC 메인 메뉴 항목 */
        .nav-item {
            position: relative;
            display: flex; /* 드롭다운 배치를 위해 flex 사용 */
            flex-direction: column;
            align-items: center;
            padding: 0;
            cursor: pointer;
        }

        /* PC 고정 헤더 메뉴 항목 */
        .nav-link {
            position: relative;
            padding: 0 0 5px 0; 
            margin: 0; /* 좌우 마진 제거 - 밑줄 길이를 텍스트에 맞추기 위함 */
            display: inline-block; 
            color: #555;
			font-family:'NanumSquareNeoBold', sans-serif;
            font-size: 12.5px; 
            font-weight: 100 !important; 
            letter-spacing: 0.1em; /* 글자 간격 유지 */
            transition: color 0.3s ease;
        }

        .nav-link:hover {
            color: #000;
        }
        
        /* 활성 메뉴 텍스트 색상 진하게 */
        .nav-link.active-link {
            color: #000;
        }


        .nav-link::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            width: 0;
            height: 1px;
            background-color: #000;
            transition: width 0.3s ease-in-out, left 0.3s ease-in-out;
        }

        .nav-link:hover::after,
        .nav-link.active-link::after {
            width: calc(100% - 3px); 
            left: 1.5px; 
        }
        
        /* PC 서브 메뉴 컨테이너 */
        .sub-menu-container {
            position: absolute;
            top: 30px; /* 메인 메뉴 아래로 띄우기 */
            left: 50%;
            transform: translateX(-50%);
            z-index: 60;
            min-width: 120px;
            background-color: white;
            border: 1px solid #e5e7eb;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            border-radius: 0.25rem;
            padding: 0.5rem 0;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.2s ease, visibility 0.2s ease;
        }

        /* PC 서브 메뉴 표시 (마우스 오버) */
        .nav-item:hover .sub-menu-container {
            opacity: 1;
            visibility: visible;
        }

        /* PC 서브 메뉴 항목 */
        .sub-menu-link {
            display: block;
            padding: 0.7rem 0.8rem;
            font-size: 0.77rem;
            color: #4b5563;
            white-space: nowrap;
            text-align: center;
        }
        .sub-menu-link:hover {
            background-color: #f9fafb;
            color: #000;
        }


        /* PC 고정 헤더 메뉴 밑줄 */
        .nav-link::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            width: 0;
            height: 1px;
            background-color: #000;
            transition: width 0.3s ease-in-out, left 0.3s ease-in-out;
        }

        /* 마우스 오버 및 활성 상태 밑줄 미세 조정 (글씨 길이에 완벽히 맞춤) */
        .nav-link:hover::after,
        .nav-link.active-link::after {
            width: calc(100% - 3px); /* 너비를 3px 감소 (미세 조정) */
            left: 1.5px; /* 중앙 정렬을 위한 1.5px 이동 (미세 조정) */
        }

        /* 모바일용 고정 헤더 (1024px 미만) */
        .mobile-header {
            height: 70px;
            z-index: 99999;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            background-color: white;
            border-bottom: 1px solid #f2f2f2;
            display: none; 
            align-items: center;
            justify-content: space-between;
            padding: 0 1rem; 
        }

        /* 햄버거 버튼 컨테이너 (우측 15px 패딩) */
        .menu-button-container {
            padding-right: 15px; 
        }

        .menu-button {
            width: 1.5rem;
            height: 1.5rem;
            display: flex;
            flex-direction: column;
            justify-content: space-around;
            cursor: pointer;
            outline: none;
            border: none;
            background: none;
            padding: 0;
        }
        
        /* 햄버거 버튼 줄 */
        .menu-icon-span {
            display: block;
            height: 2px;
            width: 100%;
            background-color: black;
            border-radius: 9999px;
            transition: transform 0.3s ease, opacity 0.3s ease;
            transform-origin: center;
        }

        /* 햄버거 버튼 X자 애니메이션 수정 (8px로 조정) */
        .menu-icon-span-1.open {
            transform: translateY(8px) rotate(45deg);
        }
        .menu-icon-span-2.open {
            opacity: 0;
        }
        .menu-icon-span-3.open {
            transform: translateY(-8px) rotate(-45deg);
        }

        /* 모바일 메뉴 슬라이드 오버레이 (너비 축소) */
        .mobile-menu-overlay {
            position: fixed;
            top: 0;
            right: 0;
            width: 70%; 
            max-width: 250px; 
            height: 100vh;
            background-color: #fff;
            transform: translateX(100%);
            transition: transform 0.4s ease-out;
            z-index: 9999;
            padding-right: 0; 
        }

        .mobile-menu-overlay.open {
            transform: translateX(0);
        }
        
        /* 모바일 메뉴 내부 컨테이너 (SNAP 높이 조정 - 110px) */
        .mobile-menu-inner {
            padding: 110px 0 0 0; /* 80px에서 110px로 30px 증가 */
        }
        
        /* 모바일 메뉴 네비게이션 (오른쪽 패딩을 여기에 추가) */
        .mobile-menu-nav {
             display: flex; 
             flex-direction: column; 
             gap: 1.5rem; 
             text-align: right;
             padding-right: 30px; /* 메뉴 항목 우측 여백 */
        }


        /* 모바일 메인 메뉴 항목 */
        .mobile-menu-item {
            display: block;
            margin-bottom: 0.5rem; /* 각 메인 항목 아래 여백 */
        }
        
        /* 모바일 메인 메뉴 링크 스타일 */
        .mobile-menu-link {
            font-size: 14px; 
            font-weight: 500; 
			font-family:'NanumSquareNeo', sans-serif;
            transition: color 0.3s;
            position: relative; 
            display: inline-flex; /* 텍스트와 화살표를 한 줄에 정렬 */
            align-items: center; /* 세로 중앙 정렬 */
            letter-spacing: 0.1em; /* 글자 간격 유지 */
            color: #333;
            cursor: pointer;
        }
        
        /* 모바일 활성 메뉴 텍스트 색상 진하게 */
        .mobile-menu-link.active-link {
            color: #000;
        }

        /* --- 수정된 CSS: 모바일 서브 메뉴 화살표 아이콘 --- */
        .arrow-icon {
            margin-left: 0.5rem; /* 텍스트와 화살표 사이 간격 */
            width: 1rem; /* SVG 아이콘의 너비 */
            height: 1rem; /* SVG 아이콘의 높이 */
            color: #000; /* 화살표 색상 */
            transition: transform 0.3s ease-out;
            fill: currentColor; /* SVG 색상을 color 속성으로 제어 */
        }

        /* 서브 메뉴가 열릴 때 화살표 회전 */
        .mobile-menu-link[aria-expanded="true"] .arrow-icon {
            transform: rotate(180deg);
        }
        /* ------------------------------------------------ */

        /* 모바일 서브 메뉴 컨테이너 */
        .mobile-sub-menu {
            max-height: 0;
            overflow: hidden;
            /* **수정된 부분**: max-height와 padding-top 모두에 transition 적용 */
            transition: max-height 0.4s ease-out, padding-top 0.4s ease-out;
            padding-top: 0;
            /* 모바일에서 우측 정렬된 상태에서 왼쪽으로 패딩을 주어 서브 메뉴를 들여쓰기 */
            padding-right: 1.5rem; 
        }

        /* 모바일 서브 메뉴 열림 상태 */
        .mobile-sub-menu.open {
            max-height: 100px; /* 서브 메뉴 높이에 맞게 조정 (부드러운 닫힘 효과를 위해 200px에서 100px로 수정) */
            padding-top: 0.5rem;
        }

        /* 모바일 서브 메뉴 항목 */
        .mobile-sub-menu-link {
            display: block;
            font-size: 12px;
            font-weight: 400;
            padding: 0.5rem 0;
            color: #4b5563;
            letter-spacing: 0.1em; /* 글자 간격 유지 */
        }
        .mobile-sub-menu-link:hover {
            background-color: #f9fafb;
            color: #000;
        }



        /* YouTube 비디오 컨테이너 비율 유지 */
        .video-container {
            position: relative;
            padding-bottom: 56.25%; /* 16:9 비율 */
            height: 0;
            overflow: hidden;
            width: 100%;
            border-radius: 0rem; 
        }

        .video-container iframe {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
        }
        
        /* PC 초기 로고 영역 */
        .initial-logo-container {
            display: flex;
            justify-content: center;
            margin-bottom: 1rem; 
            height: 7rem; 
            align-items: center;
			margin-top: 10px;
        }
        
        /* PC Main Content Flex Container (반응형) */
        .main-content-flex {
            display: flex;
            min-width: 0; 
        }
        
        /* PC YouTube/Left Content (유동적 너비: 약 80%) */
        .youtube-area {
            flex-grow: 1;
            flex-basis: 77.9%; 
            padding-right: 2.5rem; 
            min-width: 0; 
        }

        /* PC Right Menu (유동적 너비: 약 20%) */
        .right-menu-area {
            flex-basis: 22.1%; 
            min-width: 200px; 
            flex-shrink: 0;
            display: flex;
            flex-direction: column;
            align-items: flex-end; 
            text-align: right;
            gap: 0rem; 
            color: #4b5563; 
            font-weight: 100; 
            font-size: 0.875rem; 
			margin-top: 10%;	
            padding-right: 3rem; 			
            line-height: 1.5;
			font-family:'NanumSquareNeoBold', sans-serif;
        }

        /* PC Right Menu - 크게 메뉴 버튼 */
        .right-menu-link {
            font-size: 1.5rem; 
            font-weight: 500; 
            letter-spacing: 0.05em;
            transition: color 0.3s;
        }
        .right-menu-link:hover {
            color: black;
        }
        
        /* 기타 유틸리티 클래스 */
        .h-8 { height: 2rem; }
        .h-5 { height: 2rem; }
        .h-10 { height: 2.5rem; }
        .h-8-logo { height: 2rem; }
        .mb-2 { margin-bottom: 0.8rem; }
        .mb-3 { margin-top: 0.8rem; }
        .mb-10 { margin-bottom: 2.5rem; }
        .w-full { width: 100%; }
        .h-auto { height: auto; }
        .rounded-lg { border-radius: 0.5rem; }
        .object-cover { object-fit: cover; }
        .mt-4 { margin-top: 1rem; }
        .text-sm { font-size: 0.875rem; }
        .text-gray-600 { color: #4b5563; }
        .text-xl { font-size: 1.25rem; }
        .font-semibold { font-weight: 600; }
        .mb-4 { margin-bottom: 1rem; }
        .border-b { border-bottom: 1px solid #e5e7eb; }
        .pb-2 { padding-bottom: 0.5rem; }
        .space-x-2 > * + * { margin-left: 0.5rem; }
        .w-5 { width: 1.25rem; }
        .h-5-social { height: 1.25rem; }
        .opacity-70 { opacity: 0.7; }
        .hover-opacity-100:hover { opacity: 1; }
        .transition-opacity { transition: opacity 0.3s; }

/* 미디어 쿼리: 1024px 이상 (PC/데스크톱) */
@media (min-width: 1024px) {
    /* PC 레이아웃 활성화 */
    .fixed-header { display: block; }
    .mobile-header { display: none; }
    /* .hero-section { display: block; } */
    /* .mobile-video-section { display: none; } <-- 이 줄 제거 */
    .main-content { padding-top: 0 !important; }
}
        
/* 미디어 쿼리: 1023px 이하 (모바일/태블릿) */
@media (max-width: 1023px) {
    /* 모바일 레이아웃 활성화 */
    .fixed-header { display: none; }
    .mobile-header { display: flex; }
    /* .hero-section { display: none; } <-- 이 줄은 제거된 상태를 유지하여 동영상은 보이게 함 */
    .main-content { padding-top: 110px; /* 모바일 헤더 높이만큼 패딩 */ }

    /* 1. PC 상단 로고 숨기기 (initial-logo-container) */
    .initial-logo-container {
        display: none; 
    }
    
    /* 2. PC 메인 콘텐츠 배열 변경 (동영상을 전체 너비로 사용) */
    .main-content-flex {
        flex-direction: column; /* 가로 배열 대신 세로 배열로 변경 */
    }

    /* 3. 동영상 영역의 우측 여백 제거 (전체 너비 확보) */
    .youtube-area {
        padding-right: 0rem; 
        flex-basis: auto;
    }
    
    /* 4. 우측 메뉴 영역 숨기기 (right-menu-area) */
    .right-menu-area {
        display: none; /* <-- 우측 메뉴 영역을 완전히 숨김 */
    }

    /* 모바일 반응형 컨테이너의 좌우 패딩 유지 */
    .pc-responsive-container {
        padding-left: 10px; 
        padding-right: 10px;
    }
}





        /* 전체 레이아웃 설정 */
        .wrapper4 { width: 100%; background-color: #fff; padding: 30px 0; }
        .container4 { max-width: 1400px; margin: 0 auto; background-color: #fff; }

		.price-header { margin-bottom: 60px; }
        .price-header h2 { font-size: 40px; font-weight: 800; margin-bottom: 15px; font-family:'NanumSquareNeo', sans-serif;}
        .price-header p { font-size: 17px; color: #666; line-height: 1.5; }

        /* --- 상단 가격표 디자인 --- */
        .price-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-bottom: 80px; }
        .service-column { display: flex; flex-direction: column; padding: 20px 45px; border-right: 1px solid #999; transition: 0.3s; }
        .service-column:last-child { border-right: none; }
        .service-title { font-size: 38px; font-weight: 400; text-align: center; margin-bottom: 40px; letter-spacing: 3px; }
        .box-container { display: flex; gap: 12px; margin-bottom: 30px; justify-content: center; }
        .price-box { width: 32%; padding: 15px 12px; min-height: 150px; display: flex; flex-direction: column; justify-content: space-between; }
        .box-top { display: flex; flex-direction: column; align-items: flex-end; }
        .box-label { font-size: 17px; font-weight: 500; align-self: flex-start; }
        .box-price { font-size: 28px; font-weight: 500; margin-top: 10px; }
        .box-desc { font-size: 11px; color: #222; margin-top: 0px; }
        .box-01 { background-color: #e8e7e6; } .box-02 { background-color: #f7e7db; } .box-03 { background-color: #f1ddd5; }
        .section-title { font-size: 19px; font-weight: 500; margin: 30px 0 10px; border-bottom: 2.5px solid #333; padding-bottom: 8px; }
        .item-row { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 12px; font-size: 16px; }
        .item-dots { flex: 1; border-bottom: 1px dotted #bbb; margin: 0 10px 5px; }

        /* 상단 견적 버튼 */
        .move-calc-btn { 
            background-color: #333; color: #fff; text-align: center; padding: 18px; 
            border-radius: 10px; text-decoration: none; font-size: 18px; 
            border: 2px solid #333; transition: 0.3s; margin-top: 30px; display: block; cursor: pointer;
        }
        .move-calc-btn:hover { background-color: #fff; color: #333; }

        /* --- 견적 계산기 스타일 --- */
        .calculator-wrapper {
            border: 2px solid #f8f8f8;
            border-radius: 20px;
            display: flex;
            margin-top: 100px;
            overflow: hidden;
            scroll-margin-top: 50px; /* 이동 시 여백 */
        }

        .calc-left { flex: 1; padding: 50px; border-right: 1px solid #f8f8f8; }
        .calc-right { width: 465px; padding: 50px; background-color: #f8f8f8; }

        .calc-main-title { font-size: 32px; font-weight: 700; margin-bottom: 10px; }
        .calc-sub-title { font-size: 16px; color: #666; margin-bottom: 40px; }
        .calc-group-title { font-size: 18px; font-weight: 500; margin-bottom: 15px; display: block; }

        /* 상품 선택 탭 */
        .product-selector { display: flex; gap: 15px; margin-bottom: 40px; }
        .p-box { 
            flex: 1; padding: 25px; border: 1px solid #eee; text-align: center; cursor: pointer; 
            border-radius: 10px; font-size: 18px; transition: 0.3s; color: #999;
        }
        .p-box.active { background-color: #333; color: #fff; border-color: #333; font-weight: 500; }

        /* 옵션 섹션 */
        .option-section { display: none; animation: fadeIn 0.4s; }
        .option-section.active { display: block; }
        
        .opt-item { 
            display: flex; justify-content: space-between; align-items: center;
            padding: 18px 25px; border: 1px solid #eee; border-radius: 8px; 
            margin-bottom: 10px; cursor: pointer; transition: 0.2s;
        }
        .opt-item:hover { background-color: #fafafa; }
        .opt-item.selected { border: 1px solid #333; background-color: #fcfcfc; font-weight: 500; }
        .opt-name { font-size: 16px; }
        .opt-price { font-size: 16px; }

        /* 우측 견적서 */
        .summary-row { display: flex; justify-content: space-between; margin-bottom: 20px; font-size: 16px; color: #888; }
        .summary-row.has-value { color: #333; font-weight: 500; }
        .summary-row span:last-child { color: #333; }
        .summary-line { border-bottom: 2px solid #333; margin: 30px 0; }
        .total-label { font-size: 14px; text-align: right; color: #666; margin-bottom: 5px; }
        .total-price { font-size: 36px; font-weight: 700; text-align: right; margin-bottom: 10px; letter-spacing: -1px; }
        .vat-notice { font-size: 12px; color: #999; text-align: right; margin-bottom: 40px; }

        .submit-btn {
            display: block; width: 100%; background-color: #333; color: #fff;
            text-align: center; padding: 22px; border-radius: 10px; text-decoration: none;
            font-size: 18px; font-weight: 500; transition: 0.3s; border: 1px solid #333;
        }
        .submit-btn:hover { background-color: #fff; color: #333; }

        @keyframes fadeIn { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }

        /* 반응형 */
        @media (max-width: 1300px) {
            .container4 { padding: 0 10px; }
            .price-grid { grid-template-columns: repeat(2, 1fr); }
            .service-column { border-right: none; padding: 0px 20px 60px 20px; }
        }

        @media (max-width: 900px) {
            .price-grid { grid-template-columns: 1fr; }
            .service-column { padding: 0px 10px 60px 10px; }
            .price-box { width: 31%; min-height: 130px; padding: 15px 8px;}
            .box-label { font-size: 15px; }
            .box-price { font-size: 24px; }			
            .section-title { font-size: 15px; }
            .item-row { font-size: 14px; }
            .calculator-wrapper { flex-direction: column; }
            .calc-right { width: 100%; }			
            .price-header p { font-size: 14px; }
            .calc-left {  padding: 20px; }
            .calc-right { padding: 20px; }
            .p-box { padding: 25px 15px 25px 15px; }
            .opt-name { font-size: 14px; }
            .opt-price { font-size: 14px; }
            .calc-sub-title { font-size: 15px; }
            .box-desc { font-size: 9.5px; }
        }
