/* 基本的なステップフォームのスタイル */
.consultation-form-wrapper.multi-step .form-step {
    display: none;
}

.consultation-form-wrapper.multi-step .form-step:first-of-type {
    display: block;
}

.consultation-form-wrapper.multi-step .form-step.active {
    display: block !important;
}

/* 進捗バーの完全なスタイル */
.progress-container {
    margin-bottom: 30px;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background-color: #e1e5e9;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 20px;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(135deg, #00a0f7 0%, #0080d0 100%);
    width: 25%;
    transition: width 0.5s ease;
    border-radius: 4px;
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0.5;
    transition: opacity 0.3s ease;
    flex: 1;
    text-align: center;
}

.step.active {
    opacity: 1;
}

.step.completed {
    opacity: 1;
    color: #00a0f7;
}

.step-number {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #e1e5e9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
    margin-bottom: 5px;
    transition: all 0.3s ease;
    color: #666;
}

.step.active .step-number {
    background-color: #00a0f7;
    color: white;
}

.step.completed .step-number {
    background-color: #00a0f7;
    color: white;
}

.step-label {
    font-size: 0.8rem;
    text-align: center;
    color: #666;
    font-weight: 500;
}

.step.active .step-label {
    color: #00a0f7;
    font-weight: 600;
}

.step.completed .step-label {
    color: #00a0f7;
}

/* ステップヘッダー */
.step-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.step-header h4 {
    color: #464c4c;
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-weight: bold;
}

.step-header p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.4;
}

/* ナビゲーションボタン */
.form-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid #f0f0f0;
}

.nav-button {
    background: #f8f9fa;
    color: #464c4c;
    border: 2px solid #e1e5e9;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.nav-button:hover {
    background: #e9ecef;
    border-color: #ced4da;
    transform: translateY(-1px);
}

.next-button {
    background: linear-gradient(135deg, #00a0f7 0%, #0080d0 100%);
    color: white !important;
    border-color: #00a0f7;
}

.next-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,160,247,0.3);
}

.prev-button {
    display: none;
}

/* プランハイライト */
.plan-highlight {
    background: linear-gradient(135deg, #00a0f7 0%, #0080d0 100%);
    color: white;
    padding: 15px 20px;
    border-radius: 10px;
    margin-top: 20px;
    text-align: center;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.plan-name {
    font-size: 1.1rem;
    font-weight: bold;
}

.plan-price {
    font-size: 1.2rem;
    font-weight: bold;
}

/* フォームフィールドのスタイル */
.form-field {
    margin-bottom: 25px;
}

.field-label {
    display: block;
    font-weight: bold;
    color: #464c4c;
    margin-bottom: 8px;
    font-size: 1rem;
}

.required {
    color: #e74c3c;
    font-weight: normal;
}

.field-description {
    margin-bottom: 10px;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #00a0f7;
}

.field-description p {
    margin: 0 0 10px 0;
    color: #555;
    font-size: 0.9rem;
}

.field-description ul {
    margin: 0;
    padding-left: 20px;
}

.field-description li {
    color: #666;
    font-size: 0.85rem;
    margin-bottom: 5px;
    line-height: 1.4;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .progress-steps {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .step {
        flex: 1;
        min-width: 70px;
    }
    
    .step-label {
        font-size: 0.7rem;
    }
    
    .step-number {
        width: 25px;
        height: 25px;
        font-size: 0.8rem;
    }
    
    .form-navigation {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav-button {
        width: 100%;
    }
    
    .plan-highlight {
        flex-direction: column;
        gap: 10px;
    }
    
    .step-header h4 {
        font-size: 1.1rem;
    }
}