/**
 * 주식회사 옌 (YEN Corp) 웹사이트
 * 컨설팅 서비스 스타일
 */

/* 컨설팅 프로세스 스타일 */
.methodology-step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 40px;
    position: relative;
}

.methodology-step:last-child {
    margin-bottom: 0;
}

.step-icon {
    width: 70px;
    height: 70px;
    flex-shrink: 0;
    margin-right: 30px;
    background-color: #F9BF53;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(249, 191, 83, 0.3);
    position: relative;
    z-index: 2;
}

.step-icon i {
    font-size: 28px;
    color: #fff;
}

.methodology-step:not(:last-child):after {
    content: '';
    position: absolute;
    top: 85px;
    left: 35px;
    width: 2px;
    height: calc(100% - 30px);
    background: linear-gradient(to bottom, #F9BF53 0%, rgba(249, 191, 83, 0.3) 100%);
    z-index: 1;
}

.step-content {
    flex: 1;
    background-color: #fff;
    border-radius: 12px;
    padding: 25px 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.methodology-step:hover .step-content {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.approach-box {
    background-color: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: all 0.3s ease;
    text-align: center; /* 텍스트 가운데 정렬 추가 */
}

.approach-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.approach-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0 0 15px;
    color: #333;
}

.approach-description {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
}

.approach-icon {
    width: 70px;
    height: 70px;
    background-color: #F9BF53;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 5px 15px rgba(249, 191, 83, 0.3);
}

.approach-icon i {
    font-size: 28px;
    color: #fff;
}

/* 반응형 스타일 */
@media (max-width: 767.98px) {
    .methodology-step {
        flex-direction: column;
        margin-bottom: 30px;
    }
    
    .step-icon {
        margin-bottom: 15px;
        margin-right: 0;
    }
    
    .methodology-step:not(:last-child):after {
        left: 35px;
        top: 85px;
        height: 30px;
    }
    
    .step-content {
        padding: 20px;
    }
}