/**
 * 製造業向けDXサービスページ専用スタイル
 */

/* ========================================
   二重スクロール対策
======================================== */
body.page-template-page-dx-manufacturing,
body.page-template-page-dx-manufacturing .site,
body.page-template-page-dx-manufacturing .site-body,
body.page-template-page-dx-manufacturing .site-body-container,
body.page-template-page-dx-manufacturing .site-content,
body.page-template-page-dx-manufacturing main {
    overflow: visible !important;
    height: auto !important;
    max-height: none !important;
}

/* ========================================
   Layout Fix
======================================== */
body {
    overflow-x: hidden;
}

/* ========================================
   Base Styles
======================================== */
#dx-manufacturing-page {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    color: #333;
    line-height: 1.8;
    width: 100%;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 1rem;
    color: #333;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 3rem;
}

/* ========================================
   Fade-in Animation
======================================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   1. Hero Section
======================================== */
.hero-section {
    background: 
        linear-gradient(to right, rgba(0,0,0,0.65) 0%, rgba(255,107,74,0.45) 100%),
        url('http://teracol.com/wp-content/uploads/2025/10/modern_Japanese_manufacturing_facility_factory_floor_w_080e5b8b-3c8b-429f-94cc-bdee5feac58d.png') center/cover no-repeat;
    color: white;
    padding: 120px 20px;
    text-align: center;
    position: relative;
}

.hero-container {
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.3;
    text-shadow: 0 4px 30px rgba(0,0,0,0.6);
    letter-spacing: 0.02em;
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    font-weight: 500;
    text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

.hero-lead {
    font-size: 1rem;
    opacity: 0.95;
    line-height: 1.8;
    font-weight: 300;
    text-shadow: 0 2px 15px rgba(0,0,0,0.4);
}

/* ========================================
   2. DX Concept Section
======================================== */
.dx-concept-section {
    padding: 100px 20px;
    background: #f8f9fa;
}

.concept-box {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    padding: 60px 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.concept-icon {
    text-align: center;
    font-size: 4rem;
    color: #ff6b4a;
    margin-bottom: 2rem;
}

.concept-heading {
    font-size: 1.6rem;
    text-align: center;
    margin-bottom: 3rem;
    line-height: 1.8;
}

.concept-heading strong {
    color: #ff6b4a;
    border-bottom: 3px solid #ff6b4a;
    padding-bottom: 2px;
}

.concept-points {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.point {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.point i {
    color: #ff6b4a;
    font-size: 1.5rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.point p {
    margin: 0;
    line-height: 1.8;
}

/* ========================================
   3. Service Features
======================================== */
.service-features-section {
    padding: 100px 20px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    border: 2px solid #f0f0f0;
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: #ff6b4a;
    box-shadow: 0 8px 30px rgba(255,107,74,0.15);
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3rem;
    color: #ff6b4a;
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.feature-icon img {
    width: 140px;
    height: 140px;
    object-fit: contain;
}

.feature-title {
    font-size: 1.4rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.feature-desc {
    color: #666;
    line-height: 1.8;
}

/* ========================================
   4. Support Scope
======================================== */
.support-scope-section {
    padding: 100px 20px;
    background: #f0f7ff;
}

.scope-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 3rem;
}

.scope-item {
    background: white;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 500;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.scope-item:hover {
    background: #ff6b4a;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255,107,74,0.3);
}

.scope-item i {
    margin-right: 8px;
}

/* ========================================
   5. Case Studies
======================================== */
.case-studies-section {
    padding: 100px 20px;
}

.case-card {
    max-width: 1000px;
    margin: 0 auto 4rem;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.case-card:hover {
    box-shadow: 0 8px 40px rgba(0,0,0,0.15);
}

.case-header {
    background: #fff5f2;
    padding: 30px;
}

.case-client {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #ff6b4a;
    margin-bottom: 20px;
}

.case-client i {
    font-size: 1.3rem;
}

.case-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
}

.case-content {
    padding: 40px;
}

.case-title {
    font-size: 1.6rem;
    font-weight: bold;
    margin-bottom: 2rem;
}

.case-challenge,
.case-solution,
.case-result {
    margin-bottom: 2rem;
}

.case-challenge h4,
.case-solution h4,
.case-result h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.case-challenge h4 {
    color: #e74c3c;
}

.case-solution h4 {
    color: #3498db;
}

.case-result h4 {
    color: #27ae60;
}

.case-challenge ul,
.case-solution ul {
    list-style: none;
    padding-left: 0;
}

.case-challenge li,
.case-solution li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.5rem;
}

.case-challenge li::before,
.case-solution li::before {
    content: "▶";
    position: absolute;
    left: 0;
    color: #ff6b4a;
}

.case-flow-image {
    margin-top: 1.5rem;
    text-align: center;
    padding: 15px 0;
}

.case-flow-image img {
    max-width: 100%;
    height: auto;
}

.result-highlights {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.result-item {
    flex: 1;
    min-width: 200px;
    background: #f0fff4;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
}

.result-number {
    display: block;
    font-size: 2rem;
    font-weight: bold;
    color: #27ae60;
    margin-bottom: 0.5rem;
}

.result-label {
    display: block;
    color: #666;
    font-size: 0.95rem;
}

.other-cases {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px;
    background: #fafafa;
    border-radius: 12px;
}

.other-cases h3 {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
}

.other-cases ul {
    list-style: none;
    padding-left: 0;
}

.other-cases li {
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.other-cases li i {
    color: #27ae60;
    font-size: 1.2rem;
}

/* ========================================
   6. Client Logos
======================================== */
.client-logos-section {
    padding: 100px 20px;
    background: #f8f9fa;
}

.logos-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: white;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.logo-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

/* ========================================
   7. Representative Section
======================================== */
.representative-section {
    padding: 100px 20px;
}

.representative-content {
    display: flex;
    gap: 4rem;
    align-items: flex-start;
    max-width: 1000px;
    margin: 0 auto;
}

.representative-image {
    flex: 0 0 300px;
}

.representative-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.representative-text {
    flex: 1;
}

.rep-name {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.rep-qualification {
    color: #ff6b4a;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.rep-bio {
    margin-bottom: 2rem;
    line-height: 1.8;
}

.rep-message {
    background: #fff5f2;
    border-left: 4px solid #ff6b4a;
    padding: 30px;
    margin: 0;
    font-style: italic;
    line-height: 1.9;
}

/* ========================================
   8. Development Structure
======================================== */
.development-structure-section {
    padding: 100px 20px;
    background: #f0fff4;
}

.structure-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.structure-lead {
    font-size: 1.1rem;
    margin-bottom: 3rem;
    line-height: 1.8;
}

.structure-diagram {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.structure-item {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    min-width: 200px;
}

.structure-item i {
    font-size: 3rem;
    color: #ff6b4a;
    margin-bottom: 1rem;
}

.structure-item p {
    margin: 0;
    font-weight: 600;
}

.structure-plus {
    font-size: 2rem;
    color: #ff6b4a;
    font-weight: bold;
}

/* ========================================
   9. CTA Section
======================================== */
.cta-section {
    padding: 100px 20px;
    background: linear-gradient(135deg, #ff6b4a 0%, #ff8f6d 100%);
    color: white;
    text-align: center;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    opacity: 0.95;
}

.cta-button {
    display: inline-block;
    background: white;
    color: #ff6b4a;
    padding: 18px 50px;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.cta-button i {
    margin-right: 10px;
}

/* ========================================
   Responsive Design
======================================== */

/* Tablet */
@media (max-width: 1024px) {
    .section-title {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .logos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .representative-content {
        gap: 3rem;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .section-title {
        font-size: 1.8rem;
    }
    
    .hero-section {
        padding: 80px 20px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-lead {
        font-size: 0.95rem;
    }
    
    .concept-box {
        padding: 40px 25px;
    }
    
    .concept-heading {
        font-size: 1.3rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .result-highlights {
        flex-direction: column;
    }
    
    .logos-grid {
        grid-template-columns: 1fr;
    }
    
    .representative-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .representative-image {
        flex: none;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .structure-diagram {
        flex-direction: column;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .cta-subtitle {
        font-size: 1rem;
    }
    
    .cta-button {
        padding: 15px 40px;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.6rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .case-content {
        padding: 30px 20px;
    }
    
    .case-title {
        font-size: 1.3rem;
    }
}