/**
 * サービスページ統一スタイル
 */

/* セクション境界線 */
.section-border {
    border-top: 1px solid #e5e7eb;
    margin-top: 0;
}

/* 統一CTAスタイル */
.service-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #f3f4f6;
}

.cta-btn-primary,
.cta-btn-secondary {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.2s ease;
    min-width: 180px;
    justify-content: center;
    text-align: center;
}

.cta-btn-primary {
    background: #4f46e5;
    color: white;
    border: 2px solid #4f46e5;
}

.cta-btn-primary:hover {
    background: #4338ca;
    border-color: #4338ca;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

.cta-btn-secondary {
    background: transparent;
    color: #4f46e5;
    border: 2px solid #4f46e5;
}

.cta-btn-secondary:hover {
    background: #4f46e5;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.2);
}

/* サービス詳細セクションの統一 */
.service-detail {
    max-width: 1000px;
    margin: 0 auto;
}

.service-header {
    text-align: center;
    margin-bottom: 3rem;
}

.service-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
}

.service-tagline {
    font-size: 1.25rem;
    color: #6b7280;
    margin: 0;
}

.service-description {
    text-align: center;
    margin-bottom: 3rem;
}

.service-description p {
    font-size: 1.125rem;
    line-height: 1.7;
    color: #374151;
    max-width: 700px;
    margin: 0 auto 2rem auto;
}

/* 特徴アイコンの統一 */
.consulting-features,
.dx-features,
.development-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.feature-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: #4b5563;
}

/* セクション内の見出し統一 */
.service-content h3 {
    font-size: 1.75rem;
    font-weight: 600;
    color: #1f2937;
    margin: 3rem 0 1.5rem 0;
    text-align: center;
}

/* プロセスタイムライン */
.process-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.process-item {
    text-align: center;
    padding: 1.5rem;
    background: #f9fafb;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.process-number {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: #4f46e5;
    color: white;
    border-radius: 50%;
    font-weight: 700;
    font-size: 1.1rem;
    line-height: 40px;
    margin-bottom: 1rem;
}

.process-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 0.5rem 0;
}

.process-item p {
    font-size: 0.9rem;
    color: #6b7280;
    margin: 0;
    line-height: 1.5;
}

/* グリッドレイアウトの統一 */
.area-grid,
.dx-grid,
.case-grid,
.type-grid,
.tech-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.area-item,
.dx-card,
.case-item,
.type-item,
.tech-category {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1.5rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.area-item:hover,
.dx-card:hover,
.case-item:hover,
.type-item:hover,
.tech-category:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.area-item h4,
.dx-card h4,
.case-item h4,
.type-item h4,
.tech-category h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 0.75rem 0;
}

.area-item p,
.case-item p,
.type-item p {
    font-size: 0.9rem;
    color: #6b7280;
    line-height: 1.5;
    margin: 0;
}

/* 技術タグ */
.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-tags span {
    background: #f3f4f6;
    color: #4b5563;
    padding: 0.375rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* DXカードのリスト */
.dx-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.dx-card li {
    padding: 0.375rem 0;
    color: #4b5563;
    font-size: 0.9rem;
    border-bottom: 1px solid #f3f4f6;
}

.dx-card li:last-child {
    border-bottom: none;
}

/* 事例カードの業界タグ */
.case-industry {
    background: #4f46e5;
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 0.75rem;
}

/* OnePriceWeb特有のスタイル調整 */
.oneprice-highlight-summary {
    text-align: center;
    margin: 2rem 0 1rem 0;
    padding: 1rem;
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    border-radius: 8px;
    border: 1px solid #0ea5e9;
}

.highlight-message {
    font-size: 1.1rem;
    color: #0c4a6e;
    margin: 0;
}

/* セクション間のスペーシング調整 */
.section {
    padding: 4rem 0;
}

.section:first-of-type {
    padding-top: 2rem;
}

/* 既存のOnePriceWebコンポーネントとの統合 */
.oneprice-features-compact {
    margin: 2rem 0;
}

.oneprice-features-compact .feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.oneprice-features-compact .feature-list li {
    display: flex;
    flex-direction: column;
    background: #f9fafb;
    padding: 1rem;
    border-radius: 6px;
    border-left: 3px solid #4f46e5;
}

.oneprice-features-compact .feature-name {
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.oneprice-features-compact .feature-desc {
    font-size: 0.9rem;
    color: #6b7280;
    line-height: 1.4;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .service-cta {
        flex-direction: column;
        gap: 1rem;
    }
    
    .cta-btn-primary,
    .cta-btn-secondary {
        width: 100%;
        max-width: 300px;
    }
    
    .consulting-features,
    .dx-features,
    .development-features {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .process-timeline {
        grid-template-columns: 1fr;
    }
    
    .service-title {
        font-size: 2rem;
    }
    
    .service-tagline {
        font-size: 1.1rem;
    }
}