 .content{
    margin: 50px 0;
 }
 .content .h4{
    color:#fe7b07;
    font-size:24px;
 }
 .wrap-level-row{
    padding-top: 41.237%;
    height: 0;
    position: relative;
    overflow: hidden;
    background: url(/img/cs_education.gif) no-repeat top center;
    background-size: 100%;
}
 /* 피라미드 레벨 행 (Row) */
 .level-row {
    display: flex;
    width: 100%;
    margin-bottom: 5px; /* 블록 간 간격 */
    position: relative;
}

/* 좌우 설명 텍스트 영역 */
.desc-area {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;

    color: #555;
    position: relative;
}

.desc-area.left {
}

.desc-area.right {
    text-align: left;
    
    align-items: flex-start;
}

.desc-area ul {
    list-style: none;
}

.desc-area li {
    margin-bottom: 4px;
    line-height: 1.4;
    position: relative;
    padding-left:8px;
}
.desc-area li:before{
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 2px;
    height: 2px;
    background: #505050;
    border-radius: 50%;
}
/* 점선 연결선 (가상 요소 사용) */
.desc-area.left::after {
    content: '';
    position: absolute;
    right: 5px;
    top: 50%;
    width: 25px;
    border-top: 1px dashed #f39c12;
}

.desc-area.right::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 50%;
    width: 25px;
    border-top: 1px dashed #f39c12;
}

/* 텍스트가 없는 빈 공간은 선 제거 */
.desc-area:empty::after {
    display: none;
}

/* 중앙 블록 (피라미드) 스타일 */
.block {
    display: flex;
    font-weight: bold;
    font-size: 24px;
    position: relative;
    /* 3D 입체 효과를 위한 그림자 및 그라데이션 */
 
   
    z-index: 2;
}

/* 블록 사이의 흰색 역삼각형 화살표 */
.block::after {
    content: '▼';
    position: absolute;
    bottom: -18px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 10px;
    z-index: 3;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

/* 마지막 블록은 화살표 제외 */
.level-row:last-child .block::after {
    display: none;
}

/* 각 레벨별 색상 및 너비 설정 */
/* Level 1 */
.l1 {
    width: 180px;
    background: linear-gradient(to bottom, #fbc02d, #f57f17);
    z-index: 5;
}
/* Level 2 */
.l2 {
    width: 240px;
    background: linear-gradient(to bottom, #ffa000, #ff6f00);
    z-index: 4;
}
/* Level 3 */
.l3 {
    width: 300px;
    background: linear-gradient(to bottom, #fb8c00, #e65100);
    z-index: 3;
}
/* Level 4 */
.l4 {
    width: 360px;
    background: linear-gradient(to bottom, #f4511e, #bf360c);
    z-index: 2;
}
/* Level 5 */
.l5 {
    width: 420px;
    background: linear-gradient(to bottom, #e64a19, #d84315); /* 더 붉은색 */
    z-index: 1;
}

/* 모바일 대응 */
@media (max-width: 768px) {
    .container {
        width: 100%;
    }
    .level-row {
        flex-direction: column;
        margin: 50px 0;
    }
    .level-row  .block{
        border-bottom:1px solid #d5d5d5;
        padding-bottom:15px;
        margin-bottom:15px;
    }
    .level-row:nth-child(2),
    .level-row:nth-child(4),
    .level-row:nth-child(6){
        flex-direction: column-reverse;
    }
    .desc-area {
        width: 100%;
    }
    .desc-area::after {
        display: none !important; /* 모바일에서 연결선 숨김 */
    }
    .block::after {
        display: none; /* 모바일에서 화살표 숨김 */
    }
    .wrap-level-row{
        height:auto;
        padding-top: 48%;
        margin-top:20px;

    }
    .wrap-level-row {
        padding-top: 110%;
        height: auto;
        background: url(/img/cs_education_m.png) no-repeat top center;
        background-size: 100%;
        margin:0 15px;
    }
    
    /* Level 1 */
.l1 {
    width: 100%;
    background:none;
    z-index: 5;
    color:#D99F00;
}
/* Level 2 */
.l2 {
    width: 100%;
    background:none;
    z-index: 4;
    color:#DA7700;
}
/* Level 3 */
.l3 {
    width: 100%;
    background:none;
    z-index: 3;
    color:#FF6E08;
}
/* Level 4 */
.l4 {
    width: 100%;
    background:none;
    z-index: 2;
    color:#C45100;
}
/* Level 5 */
.l5 {
    width: 100%;
    background:none;
    z-index: 1;
    color:#BC3900;
}
}