/**
 * サービスカードの中央揃えレイアウト
 */

/* サービスフローアイテム全体を中央揃えに */
.service-flow-item {
    text-align: center;
}

/* サービスフローコンテンツの中央揃え */
.service-flow-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* サービスフローテキストの中央揃え */
.service-flow-text {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    max-width: 100%;
}

/* サービスタイトルの中央揃え */
.service-flow-text h3 {
    text-align: center;
    margin: 0;
    font-size: 24px;
    font-weight: bold;
    color: #333;
}

/* 価格表示の中央揃え */
.service-flow-price {
    text-align: center;
    display: inline-block;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    margin: 10px 0;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

/* 説明文の中央揃え */
.service-flow-text p {
    text-align: center;
    line-height: 1.7;
    color: #666;
    margin: 15px 0;
    max-width: 400px;
}

/* 機能タグの中央揃え */
.service-flow-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin: 20px 0;
}

.feature-tag {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 500;
    border: 1px solid rgba(102, 126, 234, 0.2);
    transition: all 0.3s ease;
}

.feature-tag:hover {
    background: rgba(102, 126, 234, 0.15);
    transform: translateY(-1px);
}

/* 詳細リンクの中央配置 */
.service-flow-link {
    text-align: center;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    padding: 10px 20px;
    border: 2px solid #667eea;
    border-radius: 25px;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.service-flow-link:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
}

/* サービスフローアイコンの中央配置 */
.service-flow-icon {
    font-size: 48px;
    margin: 0 auto 20px;
    display: block;
    text-align: center;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* 番号の配置調整 */
.service-flow-number {
    margin: 0 auto 20px;
    text-align: center;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .service-flow-text {
        gap: 12px;
    }
    
    .service-flow-text h3 {
        font-size: 22px;
    }
    
    .service-flow-text p {
        font-size: 14px;
        max-width: 100%;
    }
    
    .service-flow-features {
        gap: 6px;
        margin: 15px 0;
    }
    
    .feature-tag {
        font-size: 11px;
        padding: 5px 10px;
    }
}

@media (max-width: 480px) {
    .service-flow-text h3 {
        font-size: 20px;
    }
    
    .service-flow-price {
        font-size: 13px;
        padding: 6px 16px;
    }
    
    .service-flow-text p {
        font-size: 13px;
    }
    
    .service-flow-link {
        padding: 8px 16px;
        font-size: 14px;
    }
}