/* ==========================================
   事業領域共通CSS
   ソリューション・プロダクト共通スタイル
   ========================================== */

/* 事業領域イントロセクション(画像+テキストボックス) */
.business-intro-section {
    padding: 3rem 0 5rem;
    background: #fff;
}

/* containerの制約を解除して画像を右端まで伸ばす */
.business-intro-section .container {
    max-width: 100%;
    padding: 0;
    margin: 0;
}

/* イントロ部分(画像+テキストボックス) */
.business-intro-wrapper {
    position: relative;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

/* 画像を右端にくっつける */
.business-intro-image {
    width: 73%;
    position: relative;
    z-index: 1;
    margin-left: auto;
}

.business-intro-image img {
    width: 100%;
    height: auto;
    max-height: 500px;
    display: block;
    object-fit: cover;
    object-position: right center;
    aspect-ratio: 2400 / 1400;
}

/* テキストボックスを画像に重ねる */
.business-intro-text {
    position: absolute;
    left: 7%;
    width: 37%;
    max-width: 550px;
    background: white;
    padding: 1rem 1rem 2rem;
    z-index: 2;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    min-height: 300px;
}

/* テキストボックス内のコンテンツラッパー */
.business-intro-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 300px;
}

.business-intro-label {
    font-size: clamp(0.6875rem, 0.9vw, 0.875rem);
    font-weight: 700;
    letter-spacing: 0.15em;
    color: #333;
    margin-bottom: 0;
}

/* タイトルと説明文のグループ */
.business-intro-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.business-intro-title {
    font-size: clamp(1.75rem, 2.5vw, 3rem);
    font-weight: 700;
    color: #0066CC;
    line-height: 1.5;
    margin-bottom: 1rem;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.business-intro-desc {
    font-size: clamp(0.9375rem, 1.1vw, 1rem);
    line-height: 1.8;
    color: #666;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}

/* レスポンシブ対応 */
@media (max-width: 1024px) {
    .business-intro-image {
        width: 70%;
    }

    .business-intro-text {
        left: 5%;
        width: 45%;
        padding: 2.5rem 2rem;
    }
}

@media (max-width: 767px) {
    .business-intro-section {
        padding: 5rem 0 2rem;
    }

    .business-intro-section .container {
        padding: 0 20px;
    }

    /* イントロをスマホで縦並び */
    .business-intro-wrapper {
        flex-direction: column;
        justify-content: flex-start;
    }

    .business-intro-image {
        width: 100%;
        order: -1;
        margin-left: 0;
    }

    .business-intro-text {
        position: relative;
        left: 0;
        width: calc(100% - 40px);
        max-width: none;
        padding: 1rem;
        margin: -3rem 20px 0;
    }

    .business-intro-label {
        font-size: 0.6875rem;
        margin-bottom: 1rem;
    }

    .business-intro-title {
        font-size: 1.375rem;
        margin-bottom: 1rem;
    }

    .business-intro-desc {
        font-size: 1rem;
    }
}

/* ==========================================
   CTAセクション（プロダクト・ソリューション共通）
   ========================================== */

/* CTAセクション */
.product-detail-cta {
    padding: 80px 0;
    background: white;
}

.cta-grid {
    display: grid;
    gap: 40px;
    max-width: 350px;
    margin: 0 auto;
}

.cta-item {
    background: #f8f9fa;
    padding: 50px 40px;
    border-radius: 8px;
    text-align: center;
    border: 2px solid #e0e0e0;
}

.cta-icon {
    margin-bottom: 25px;
}

.cta-icon img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
}

.cta-title {
    font-size: 24px;
    font-weight: 700;
    color: #003366;
    margin-bottom: 20px;
}

.cta-description {
    font-size: 15px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 30px;
}

.btn-cta {
    display: inline-block;
    padding: 18px 50px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-cta-primary {
    background: #ff6600;
    color: white;
}

.btn-cta-primary:hover {
    background: #ff8833;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 102, 0, 0.3);
}

.btn-cta-secondary {
    background: #003366;
    color: white;
}

.btn-cta-secondary:hover {
    background: #0055aa;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 51, 102, 0.3);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .product-detail-cta {
        padding: 60px 0;
    }
    
    .cta-grid {
        grid-template-columns: 1fr;
        max-width: 100%;
        padding: 0 20px;
    }
    
    .cta-item {
        padding: 40px 30px;
    }
    
    .cta-title {
        font-size: 20px;
    }
    
    .btn-cta {
        padding: 15px 40px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .cta-item {
        padding: 30px 20px;
    }
    
    .cta-title {
        font-size: 18px;
    }
    
    .btn-cta {
        padding: 12px 30px;
        font-size: 14px;
    }
}
