   :root {
            --primary-blue: #0d2f6b;
            --secondary-blue: #2a75e0;
            --accent-red: #d94a64;
            --light-gray: #f4f6f9;
            --text-dark: #333;
            --text-light: #555;
            --grey-bar: #b0b8c1;
        }

        body {
            margin: 0;
            font-family: 'Pretendard Variable', Pretendard, sans-serif;
            color: var(--text-dark);
            background-color: #fff;
        }

        .checkup-container {
            max-width: 960px;
            margin: 40px auto;
            padding: 0 20px;
        }

        /* --- 상단 헤더 --- */
        .checkup-header {
            /* Flexbox 레이아웃으로 변경합니다. */
            display: flex;
            justify-content: space-between; /* 양쪽 끝으로 요소를 정렬합니다. */
            align-items: flex-end;         /* 아래쪽을 기준으로 정렬합니다. */
            border-bottom: 2px solid var(--primary-blue);
            padding-bottom: 10px;
            margin-bottom: 40px;
        }
        .checkup-header .logo-area {
            display: contents;
            align-items: end;
            gap: 15px;
            margin-bottom: 10px;
        }
        .checkup-header .logo {
            font-size: 24px;
            font-weight: 800;
            color: var(--primary-blue);
        }
        .checkup-header .slogan {
            font-size: 14px;
            color: var(--text-light);
        }
        .checkup-header h1 {
            font-size: 42px;
            font-weight: 900;
            color: var(--primary-blue);
            margin: 0;
        }
        .checkup-header h1 span {
            font-weight: 500;
            font-size: 32px;
        }

        /* --- 검진 능력 섹션 --- */
        .stats-section {
            background-color: var(--light-gray);
            padding: 1 30 30 30;
            border-radius: 12px;
            margin-bottom: 50px;
        }
        .stats-header {
            font-size: 22px;
            font-weight: 700;
            color: var(--primary-blue);
            padding-bottom: 20px;
            margin-bottom: 25px;
            border-bottom: 1px solid #ddd;
        }
        .stats-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 40px;
            align-items: flex-start;
        }

        /* 차트 공통 */
        .chart-title {
            font-size: 18px;
            font-weight: 700;
            text-align: center;
            margin-bottom: 30px;
            color: var(--primary-blue);
        }
        .chart-notes {
            font-size: 12px;
            color: #777;
            margin-top: 20px;
            line-height: 1.5;
        }

        /* === 왼쪽 막대 차트 (수정됨) === */
.bar-chart-vertical {
    display: flex;
    justify-content: center; /* 수평 중앙 정렬 */
    align-items: center;     /* 수직 중앙 정렬 */
    gap: 20px;
    margin: 0 auto; /* 블록 자체를 중앙으로 정렬 */
    width: 100%;    /* 너비를 100%로 설정하여 부모 요소 내에서 중앙 정렬되도록 함 */
}


/* 차트 그룹 스타일 추가 */
.chart-group {
    text-align: center;
    /* 각 그룹이 컨테이너 너비의 절반을 넘지 않도록 설정합니다. */
    max-width: 50%; 
}

/* 차트 그룹 안의 이미지 스타일 추가 */
.chart-group img {
    /* 이미지가 부모 요소의 너비에 맞게 자동으로 조절됩니다. */
    width: 100%; 
    height: auto;
}
        
        .bars-container {
            display: flex;
            align-items: flex-end;
            gap: 15px;
            height: 100%;
        }

        .bar-wrapper {
            position: relative;
        }

        .bar {
            width: 35px;
            border-radius: 4px 4px 0 0;
            box-shadow: 2px -2px 4px rgba(0,0,0,0.1) inset;
        }
        
        .value {
            font-weight: 700;
            font-size: 14px;
            margin-bottom: 5px;
            color: #555;
        }

        .label {
            margin-top: 8px;
            font-size: 13px;
            font-weight: 500;
        }

        .group-label {
            margin-top: 8px;
            margin-bottom: 8px;
            font-weight: 600;
            font-size: 14px;
        }
        
        /* === 오른쪽 막대 차트 === */
        .bar-chart-horizontal .bar-row {
            display: flex;
            align-items: center;
            margin-bottom: 15px;
        }
        .bar-chart-horizontal .label {
            width: 80px;
            font-size: 14px;
            font-weight: 600;
        }
        .bar-container {
            flex-grow: 1;
            background-color: #e0e0e0;
            border-radius: 4px;
            height: 22px;
        }
        .bar-container .fill {
            height: 100%;
            border-radius: 4px;
            text-align: right;
            color: white;
            font-weight: 700;
            font-size: 13px;
            padding-right: 8px;
            line-height: 22px;
            box-sizing: border-box;
        }
        .horizontal-chart-title strong {
            color: var(--secondary-blue);
        }
        
        /* --- 전문의 검진 섹션 --- */
        .specialist-section h2 {
            font-size: 22px;
            font-weight: 700;
            color: var(--primary-blue);
            border-left: 5px solid var(--primary-blue);
            padding-left: 15px;
            margin-bottom: 30px;
        }
        .specialist-item {
            display: flex;
            gap: 25px;
            align-items: flex-start;
            margin-bottom: 30px;
        }
        .specialist-item:not(:last-child) {
            border-bottom: 1px solid #eee;
            padding-bottom: 30px;
        }
        .specialist-item img {
            width: 200px;
            height: auto;
            object-fit: cover;
            border-radius: 8px;
        }
        .specialist-text .category {
            font-size: 16px;
            font-weight: 500;
            color: var(--text-light);
            margin: 0 0 5px 0;
        }
        .specialist-text h3 {
            font-size: 20px;
            margin: 0 0 10px 0;
        }
        .specialist-text p {
            font-size: 15px;
            line-height: 1.7;
            color: var(--text-light);
            margin: 0;
        }
        
        /* 반응형 디자인 */
        @media (max-width: 768px) {
            .stats-content {
                grid-template-columns: 1fr;
            }
            .specialist-item {
                flex-direction: column;
            }
            .specialist-item img {
                width: 100%;
                height: auto;
            }
             .chart-notes {
            font-size: 10px;
            color: #777;
            margin-top: 20px;
            line-height: 1.5;
        }
            .safety-item img.main-img {
            width: 100%;
            height: auto;
            border-radius: 12px;
            margin-bottom: 20px;
        }
        }
         :root {
            --primary-blue: #0d2f6b;
            --secondary-blue: #2a75e0;
            --light-gray: #f4f6f9;
            --border-color: #e9e9e9;
            --text-dark: #333;
            --text-light: #555;
        }

        body {
            margin: 0;
            font-family: 'Pretendard Variable', Pretendard, sans-serif;
            color: var(--text-dark);
            background-color: #fff;
        }

        .checkup-container {
            max-width: 1100px;
            margin: 40px auto;
            padding: 0 20px;
        }

        /* --- 상단 헤더 (동일한 스타일 유지) --- */
        .checkup-header {
            text-align: left;
            border-bottom: 2px solid var(--primary-blue);
            padding-bottom: 20px;
            margin-bottom: 50px;
        }
        .checkup-header .slogan {
            font-size: 14px;
            color: var(--text-light);
            margin-bottom: 10px;
        }
        .checkup-header h1 {
            font-size: 42px;
            font-weight: 900;
            color: var(--primary-blue);
            margin: 0;
        }
        .checkup-header h1 span {
            font-weight: 500;
            font-size: 32px;
        }

        /* --- 섹션 공통 타이틀 --- */
        .section-title {
            font-size: 22px;
            font-weight: 700;
            color: #fff;
            background-color: var(--primary-blue);
            padding: 12px 20px;
            border-radius: 8px;
            margin-bottom: 30px;
            display: inline-block;
        }

        /* --- 고성능 장비 섹션 --- */
        .equipment-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 30px;
            margin-bottom: 60px;
        }

        .equipment-card {
            background-color: #fff;
            border: 1px solid var(--border-color);
            border-radius: 12px;
            padding: 20px;
            text-align: center;
        }
        
        .equipment-card .tag {
            font-size: 13px;
            font-weight: 700;
            color: var(--secondary-blue);
            background-color: #eaf2ff;
            padding: 5px 10px;
            border-radius: 20px;
            display: inline-block;
            margin-bottom: 15px;
        }

        .equipment-card img {
            width: 100%;
            max-width: 250px;
            height: auto;
            margin: 0 auto 15px;
        }

        .equipment-card h3 {
            font-size: 18px;
            margin: 0 0 5px 0;
            color: var(--primary-blue);
        }

        .equipment-card .model-name {
            font-size: 14px;
            font-weight: 600;
            color: var(--text-light);
            margin: 0 0 15px 0;
            border-top: 1px solid var(--border-color);
            padding-top: 10px;
        }

        .equipment-card ul {
            list-style: none;
            padding: 0;
            margin: 0;
            text-align: left;
            font-size: 14px;
            color: var(--text-light);
            line-height: 1.8;
        }

        .equipment-card ul li {
            padding-left: 15px;
            position: relative;
        }

        .equipment-card ul li::before {
            content: '-';
            position: absolute;
            left: 0;
            color: var(--secondary-blue);
            font-weight: 900;
            font-size: 1.2em;
        }

        /* --- 안전 시스템 섹션 --- */
        .safety-system-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 30px;
        }

        .safety-item {
            text-align: left;
        }

        .safety-item img.main-img {
            width: 100%;
            border-radius: 12px;
            margin-bottom: 20px;
        }
        
        .safety-item .logos {
            display: flex;
            gap: 15px;
            align-items: center;
            margin-bottom: 20px;
        }

        .safety-item .logos img {
            height: 411px;
            width: auto;
        }

        .safety-item h3 {
            font-size: 20px;
            color: var(--primary-blue);
            margin: 0 0 15px 0;
        }

        .safety-item ul {
            list-style: none;
            padding: 0;
            margin: 0;
            font-size: 15px;
            color: var(--text-light);
            line-height: 1.8;
        }

        .safety-item ul li {
            padding-left: 18px;
            position: relative;
            margin-bottom: 8px;
        }

        .safety-item ul li::before {
            content: '-';
            position: absolute;
            left: 0;
            color: var(--secondary-blue);
            font-weight: 700;
        }

        /* --- 반응형 디자인 --- */
        @media (max-width: 992px) {
            .equipment-grid, .safety-system-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (max-width: 768px) {
            .equipment-grid, .safety-system-grid {
                grid-template-columns: 1fr;
            }
            .checkup-header h1 {
                font-size: 32px;
            }
            .checkup-header h1 span {
                font-size: 26px;
            }
            .safety-item img.main-img {
            width: 100%;
            border-radius: 12px;
            margin-bottom: 20px;
            }
            
        }
        
  :root {
            --primary-blue: #0d2f6b;
            --secondary-blue: #2a75e0;
            --light-gray: #f4f6f9;
            --border-color: #d0dae9;
            --text-dark: #333;
            --text-light: #555;
        }

        body {
            margin: 0;
            font-family: 'Pretendard Variable', Pretendard, sans-serif;
            color: var(--text-dark);
            background-color: #fff;
        }

        .page-container {
            max-width: 900px;
            margin: 40px auto;
            padding: 0 20px;
        }
        
        /* 섹션 공통 타이틀 */
        .section-title {
            font-size: 22px;
            font-weight: 700;
            color: #fff;
            background-color: var(--primary-blue);
            padding: 12px 20px;
            border-radius: 8px;
            margin-bottom: 30px;
            display: inline-block;
        }
        
        .intro-text {
            font-size: 16px;
            padding: 25px;
            background-color: var(--light-gray);
            border-radius: 8px;
            margin-bottom: 40px;
        }

        /* --- 트리뷰 스타일 --- */
        .tree-view ul {
            list-style: none;
            margin: 0;
            padding-left: 40px; /* 자식 노드 들여쓰기 */
            position: relative;
        }

        .tree-view > ul {
            padding-left: 0; /* 최상위 ul은 들여쓰기 없음 */
        }
        
        /* 세로 연결선 */
        .tree-view ul::before {
            content: '';
            position: absolute;
            top: 0;
            left: 10px;
            width: 2px;
            height: 100%;
            background-color: var(--border-color);
        }
        .tree-view > ul::before {
             display: none; /* 최상위 ul에는 세로선 없음 */
        }

        .tree-view li {
            position: relative;
            padding: 15px 0;
        }
        
        /* 가로 연결선 */
        .tree-view li::before {
            position: absolute;
            top: 50%;
            left: 10px;
            width: 30px;
            height: 2px;
            background-color: var(--border-color);
            transform: translateY(-50%);
        }
        
        .tree-view > ul > li::before {
             display: none; /* 최상위 li에는 가로선 없음 */
        }

        .node-content {
            display: flex;
            align-items: flex-start;
            gap: 20px;
            background-color: #fff;
        }

        .node-title {
            background-color: var(--light-gray);
            border: 1px solid var(--border-color);
            border-radius: 8px;
            padding: 15px 20px;
            flex-shrink: 0;
            width: 220px;
        }
        
        .node-title h3 { margin: 0 0 5px 0; font-size: 18px; color: var(--primary-blue); }
        .node-title p { margin: 0; font-size: 14px; color: var(--text-light); }

        .root-node {
            background-color: var(--primary-blue);
            color: #fff;
            border-color: var(--primary-blue);
        }
        .root-node h3 { color: #fff; }

        .node-description {
            font-size: 15px;
            line-height: 1.7;
            padding-top: 5px;
        }

        /* 반응형 */
        @media (max-width: 768px) {
            .tree-view ul { padding-left: 20px; }
            .tree-view li::before, .tree-view ul::before { left: 0; }
            .node-content { flex-direction: column; gap: 15px; }
            .node-title { width: 100%; box-sizing: border-box; }
        }
  .connection-section .intro-text {
            font-size: 16px;
            padding: 20px;
            background-color: var(--light-gray);
            border-radius: 8px;
            margin-bottom: 40px;
        }
        .connection-grid {
            display: grid;
            grid-template-columns: 1fr 450px 1fr;
            grid-template-rows: repeat(4, auto);
            gap: 20px 30px;
            align-items: center;
        }
        .diagram-container {
            grid-column: 2;
            grid-row: 1 / span 4;
            position: relative;
            height: 450px;
        }
        .node {
            position: absolute;
            padding: 12px 20px;
            border: 2px solid var(--border-color);
            background-color: #fff;
            text-align: center;
            z-index: 2;
            min-width: 150px;
        }
        .node.rect { border-radius: 8px; }
        .node.oval { border-radius: 50px; }
        .node h3 { margin: 0; font-size: 16px; color: var(--primary-blue); }
        .node p { margin: 0; font-size: 13px; color: var(--text-light); }
        
        .node-center { border:none; font-size: 24px; font-weight: 800; color: var(--primary-blue); top: 50%; left: 50%; transform: translate(-50%, -50%); }
        .node-hernia { top: 0; left: 50%; transform: translateX(-50%); }
        .node-gall { top: 45%; left: 0; transform: translateX(-60%); }
        .node-thyroid { top: 45%; right: 0; transform: translateX(60%); }
        .node-internal { bottom: 10%; left: 15%; }
        .node-gyno { bottom: 10%; right: 15%; }

        .desc-text { font-size: 15px; line-height: 1.7; color: var(--text-light); }
        .desc-gall { grid-column: 1; grid-row: 1; align-self: end; }
        .desc-internal { grid-column: 1; grid-row: 2; align-self: start; }
        .desc-thyroid { grid-column: 3; grid-row: 1; align-self: end; }
        .desc-gyno { grid-column: 3; grid-row: 2; align-self: start; }
        
       .polypectomy-wrapper {
    margin-top: 40px;
}

.polypectomy-images {
    display: flex;
    justify-content: center; /* 가운데 정렬 (선택 사항) */
    gap: 20px; /* 이미지 사이 간격 조절 */
    margin-bottom: 30px;
}

.polypectomy-images img {
    max-width: 48%; /* 이미지 너비 조절 */
    height: auto;
    border-radius: 8px; /* 이미지 둥글게 (선택 사항) */
    box-shadow: 0 2px 5px rgba(0,0,0,0.1); /* 그림자 효과 (선택 사항) */
}

.polypectomy-stats-card {
    background-color: var(--light-gray);
    padding: 30px;
    border-radius: 12px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* 최소 너비 300px, 자동 개수 맞춤 */
    gap: 30px;
}

.polypectomy-stats-card .stat-item {
    text-align: center;
}

.polypectomy-stats-card .stat-bubble {
    background-color: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    margin-bottom: 15px;
}

.polypectomy-stats-card .stat-bubble .title {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 8px;
}

.polypectomy-stats-card .stat-bubble .count {
    font-size: 28px;
    font-weight: 900;
    color: var(--text-dark);
    line-height: 1;
}

.polypectomy-stats-card .stat-bubble .count small {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-light);
}

.polypectomy-stats-card .stat-bubble .date {
    font-size: 13px;
    color: var(--text-light);
    margin-top: 5px;
}

.polypectomy-stats-card .stat-desc {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
    margin-top: 10px;
}

/* 필요하다면 반응형 스타일 추가 */
@media (max-width: 768px) {
    .polypectomy-images {
        flex-direction: column;
        align-items: center;
    }
    .polypectomy-images img {
        max-width: 80%;
        margin-bottom: 15px;
    }
    .polypectomy-stats-card {
        grid-template-columns: 1fr;
    }
}
