/* ソリューション事例ページ専用スタイル */

/* ヒーローセクション */
.solutions-hero {
    background: linear-gradient(135deg, #2c4f8d 0%, #1a3a6b 100%);
    padding: 120px 0 80px;
    margin-top: 0;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.solutions-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('/images/business/warehouse.jpg') center/cover;
    opacity: 0.15;
    z-index: 0;
}

.solutions-hero-content {
    position: relative;
    z-index: 1;
}

.solutions-hero-content h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.hero-subtitle {
    font-size: 18px;
    font-weight: 300;
    margin-bottom: 0;
    letter-spacing: 4px;
    opacity: 0.9;
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.65;
}

.hero-description {
    font-size: 18px;
    font-weight: 300;
    opacity: 0.9;
    max-width: 650px;
    margin: 16px auto 0;
    line-height: 1.65;
    letter-spacing: 4px;
}

/* サービス詳細セクション */
.services-detail-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.service-block {
    margin-bottom: 100px;
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.service-block:last-of-type {
    margin-bottom: 60px;
}

.service-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: center;
}

.service-block.reverse .service-content {
    direction: rtl;
}

.service-block.reverse .service-text {
    direction: ltr;
}

.service-block.reverse .service-images {
    direction: ltr;
}

.service-text {
    padding: 60px;
}

.service-title {
    font-size: 32px;
    font-weight: 700;
    color: #2c4f8d;
    margin-bottom: 12px;
}

.service-subtitle {
    font-size: 14px;
    font-weight: 500;
    color: #666;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.service-description {
    font-size: 16px;
    line-height: 1.9;
    color: #333;
    margin-bottom: 32px;
    text-align: justify;
}

.service-clients {
    font-size: 15px;
    line-height: 1.8;
    color: #555;
    padding: 20px;
    background-color: #f8f9fa;
    border-left: 4px solid #2c4f8d;
    border-radius: 4px;
}

.service-clients strong {
    color: #2c4f8d;
    font-weight: 600;
}

/* 画像グリッド */
.service-images {
    padding: 0;
    background-color: #f0f2f5;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 0;
    height: 100%;
}

.image-grid img {
    width: 100%;
    height: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.image-grid img:hover {
    transform: scale(1.05);
}

/* お問い合わせCTA */
.contact-cta {
    text-align: center;
    padding: 80px 40px;
    background: linear-gradient(135deg, #2c4f8d 0%, #1a3a6b 100%);
    border-radius: 12px;
    color: #fff;
    margin-top: 40px;
}

.contact-cta h3 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 16px;
}

.contact-cta p {
    font-size: 16px;
    margin-bottom: 32px;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    padding: 16px 48px;
    background-color: #fff;
    color: #2c4f8d;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    background-color: #f8f9fa;
}

/* フッター */
.footer {
    background-color: #333;
    color: #fff;
    padding: 60px 0 30px;
}

.footer-social {
    margin-bottom: 40px;
    text-align: center;
}

.footer-social h3 {
    font-size: 20px;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 50%;
    font-size: 24px;
    transition: all 0.3s;
    text-decoration: none;
    color: #fff;
}

.social-icon:hover {
    background-color: #2c4f8d;
    transform: translateY(-3px);
}

.footer-links {
    margin-bottom: 30px;
}

.footer-links ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    list-style: none;
    padding: 0;
}

.footer-links a {
    color: #ccc;
    font-size: 14px;
    transition: color 0.3s;
    text-decoration: none;
}

.footer-links a:hover {
    color: #fff;
    text-decoration: underline;
}

.footer-copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #999;
    font-size: 14px;
}

.footer-copyright p {
    margin: 0;
}

/* レスポンシブ対応 */
@media (max-width: 1200px) {
    .solutions-hero {
        padding: 180px 0 80px;
    }
}

@media (max-width: 1024px) {
    .service-content {
        grid-template-columns: 1fr;
    }

    .service-block.reverse .service-content {
        direction: ltr;
    }

    .service-text {
        padding: 40px;
    }

    .image-grid {
        min-height: 400px;
    }
}

@media (max-width: 767px) {
    .solutions-hero {
        padding: 160px 20px 60px;
    }

    .solutions-hero-content h1 {
        font-size: 32px;
        letter-spacing: 1px;
    }

    .hero-subtitle {
        font-size: 15px;
        letter-spacing: 2px;
    }

    .hero-description {
        font-size: 15px;
        letter-spacing: 2px;
    }

    .service-block {
        margin-bottom: 60px;
    }

    .service-text {
        padding: 30px 20px;
    }

    .service-title {
        font-size: 24px;
    }

    .service-subtitle {
        font-size: 12px;
    }

    .service-description {
        font-size: 14px;
    }

    .service-clients {
        font-size: 14px;
        padding: 16px;
    }

    .image-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 1fr);
    }

    .contact-cta {
        padding: 60px 20px;
    }

    .contact-cta h3 {
        font-size: 24px;
    }

    .contact-cta p {
        font-size: 14px;
    }

    .cta-button {
        padding: 14px 36px;
        font-size: 16px;
    }
}
