.content {
    margin: 50px 0;
    padding-top: 50px;
    border-top: 1px solid #e5e7eb;
}

.process-wrapper {
    width: 100%;
    max-width: 900px;
}

.process-list {
    list-style: none;
}

.process-item {
    display: flex;
    align-items: center;
    margin-bottom: 25px; /* 항목 간 간격 */
    position: relative;
}

/* 왼쪽 단계 박스 (Step Box) */
.step-box {
    width: 200px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    font-weight: bold;
    background-color: #f5f7fa; /* 연한 회색 배경 */
    border: 2px solid #ccc; /* 기본 테두리색 (나중에 덮어씌움) */
    border-radius: 8px;
    margin-right: 20px;
    flex-shrink: 0; /* 너비 줄어듦 방지 */
    position: relative;
    color:#fff !important;
}

/* 오른쪽 설명 박스 (Description Box) */
.desc-box {
    flex-grow: 1;
    height: 60px;
    display: flex;
    align-items: center;
    padding: 0 20px;
    font-size: 16px;
    background-color: #f5f7fa;
    border: 2px solid #ccc; /* 기본 테두리색 */
    border-radius: 8px;
    color: #333;
}

/* 단계 사이의 화살표 (CSS 가상 요소로 구현) */
.process-item:not(:last-child) .step-box::after {
    content: '';
    position: absolute;
    bottom: -20px; /* 박스 아래로 위치 조정 (마진과 계산) */
    left: 50%;
    transform: translateX(-50%);
    
    /* 삼각형 그리기 */
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 10px solid #ccc; /* 화살표 색상 */
}

/* -----------------------------------------------------------
   순차적 컬러 그라데이션 (테두리 및 텍스트 색상)
   ----------------------------------------------------------- */

/* 1단계: 가장 연한 파랑 */
.process-item:nth-child(1) .step-box,
.process-item:nth-child(1) .desc-box {
    border-color: #81d4fa; /* 테두리 */
    color: #0277bd;        /* 텍스트 (가독성을 위해 조금 진하게) */
}
.process-item:nth-child(1) .step-box{
    background-color: #81d4fa;
}
.process-item:nth-child(1) .step-box::after { border-top-color: #81d4fa; } /* 화살표 색상 */

/* 2단계 */
.process-item:nth-child(2) .step-box,
.process-item:nth-child(2) .desc-box {
    border-color: #4fc3f7;
    color: #0277bd;
}
.process-item:nth-child(2) .step-box{
    background-color: #4fc3f7;
}
.process-item:nth-child(2) .step-box::after { border-top-color: #4fc3f7; }

/* 3단계 */
.process-item:nth-child(3) .step-box,
.process-item:nth-child(3) .desc-box {
    border-color: #29b6f6;
    color: #01579b;
}
.process-item:nth-child(3) .step-box{
    background-color: #29b6f6;
}
.process-item:nth-child(3) .step-box::after { border-top-color: #29b6f6; }

/* 4단계 */
.process-item:nth-child(4) .step-box,
.process-item:nth-child(4) .desc-box {
    border-color: #039be5;
    color: #01579b;
}
.process-item:nth-child(4) .step-box{
    background-color: #039be5;
}
.process-item:nth-child(4) .step-box::after { border-top-color: #039be5; }

/* 5단계: 가장 진한 파랑 */
.process-item:nth-child(5) .step-box,
.process-item:nth-child(5) .desc-box {
    border-color: #0277bd;
    color: #004c8c;
    background-color: #e1f5fe; /* 마지막 강조: 배경색도 살짝 푸르게 */
}
.process-item:nth-child(5) .step-box{
    background-color: #0277bd;
}


/* 모바일 반응형 */
@media (max-width: 768px) {
    .process-item {
        flex-direction: column;
        margin-bottom: 40px;
    }
    
    .step-box {
        width: 100%;
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .desc-box {
        width: 100%;
        height: auto;
        padding: 15px;
        justify-content: center;
        text-align: center;
    }

    /* 모바일에서 화살표 위치 조정 */
    .process-item:not(:last-child) .step-box::after {
        display: none; /* 모바일 구조상 화살표가 애매해지므로 숨기거나 조정 필요 */
    }
    
    /* 모바일용 화살표 (항목 사이) */
    .process-item:not(:last-child)::after {
        content: '▼';
        position: absolute;
        bottom: -33px;
        left: 50%;
        transform: translateX(-50%);
        color: #aaa;
    }
}

/* 단계별 배경색 (위에서 아래로 진해짐) */
.process-listB .process-item:nth-child(1) .step-box {
    background-color: #aadcca; /* 시작 컬러 */
    border-color: #aadcca;
    color: #2c5f53;
}
.process-listB .process-item:nth-child(1) .step-box::after {
    border-top-color: #aadcca;
}
.process-listB .process-item:nth-child(1) .desc-box{
    border-color: #aadcca;
}
.process-listB .process-item:nth-child(2) .step-box { 
    background-color: #8ccbc1; 
    border-color: #8ccbc1; 
}
.process-listB .process-item:nth-child(2) .step-box::after {
    border-top-color: #8ccbc1;
}
.process-listB .process-item:nth-child(2) .desc-box{
    border-color: #8ccbc1;
}
.process-listB .process-item:nth-child(3) .step-box { 
    background-color: #6ebab0; 
    border-color: #6ebab0; 
}
.process-listB .process-item:nth-child(3) .step-box::after {
    border-top-color: #6ebab0;
}
.process-listB .process-item:nth-child(3) .desc-box{
    border-color: #6ebab0;
}
.process-listB .process-item:nth-child(4) .step-box { 
    background-color: #50a99f; 
    border-color: #50a99f; 
}
.process-listB .process-item:nth-child(4) .step-box::after {
    border-top-color: #50a99f;
}
.process-listB .process-item:nth-child(4) .desc-box{
    border-color: #50a99f;
}
.process-listB .process-item .desc-box {
    color: #2c5f53 !important;
}
