/* =============================================================================
   🟦 MANAGEMENT SERVICE STYLES - マネジメントサービス専用スタイル
   ============================================================================= */

/* 🔧🔧🔧 【マネジメントトップセクション】他のセクションと同じ設定 🔧🔧🔧 */
.management-top-section {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 30px;
}

/* マネジメントセクション専用の基本設定 - PC専用 */
@media (min-width: 481px) {
    .service-management .service-detail-content.management-layout {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        justify-content: flex-start !important;
        gap: 60px !important;
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 60px !important;        /* 他のセクションと同じ60px */
        flex-wrap: nowrap !important;
        box-sizing: border-box !important;
    }
}

/* タイトル（他のセクションと同じ） */
.management-top-section .service-detail-title {
    flex: 0 0 100%;
    order: 1;
}

/* メッセージエリア（他のセクションと同じ42%幅） */
.management-top-section .service-detail-message {
    flex: 0 0 42%;
    order: 2;
    align-self: flex-start;
    margin-top: 0;
}

/* 🔧🔧🔧 【交通整理】サービスエリア - X軸移動を削除してY軸統一 */
.management-top-section .service-detail-right {
    flex: 0 0 55%;
    order: 3;
    align-self: flex-start;
    margin-top: 0;
    display: flex !important;
    align-items: flex-start !important;
    justify-content: center !important;
    opacity: 0;
    transform: translateY(20px);  /* 🚨 X軸→Y軸に統一（子要素と同方向） */
    transition: all 1.2s ease-out;
}

/* 🔧🔧🔧 【交通整理】マネジメントセクション右側エリア - Y軸統一で滑らか */
.management-top-section .service-detail-right.visible {
    opacity: 1;
    transform: translateY(0);  /* 🚨 X軸→Y軸に統一（子要素と同方向） */
    /* 🚨 アニメーション削除 - 子要素のfeature-cardのみアニメーション */
}

/* マネジメントセクションの特徴カード（横並び） - PC専用 */
@media (min-width: 481px) {
    .service-management .management-layout .service-features {
        display: flex !important;
        flex-direction: row !important;
        justify-content: center !important;
        align-items: stretch !important;
        gap: 30px !important;    /* 🔧 40px → 30px 横並び時の間隔も縮小 */
        margin: -30px 0 0 0 !important;  /* 🔧 統一された位置調整 */
        width: 100% !important;
    }
}

/* 🔧🔧🔧 【マネジメント専用タイトル】他のセクションと統一 🔧🔧🔧 */
.management-layout .service-detail-title {
    display: block !important;
    width: 100% !important;
    min-width: 100%;
    box-sizing: border-box;
    font-size: 2.5rem;
    font-weight: 700;
    color: rgba(78, 205, 196, 0.8);
    line-height: 1.3;
    margin: 0;
    text-align: left;
    white-space: nowrap;
    text-shadow: 0 0 20px rgba(78, 205, 196, 0.3);
    opacity: 0;
    transform: translateY(-20px);
    transition: all 1s ease-out;
}

.management-layout .service-detail-title.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 🔧🔧🔧 【マネジメントサービスコンテナ】さらに低い高さで統一 🔧🔧🔧 */
.management-service-container {
    position: relative;
    width: 100%;
    max-width: none;
    background: rgba(255, 255, 255, 0.85);
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    padding: 15px !important;    /* 🔧 20px → 15px さらに高さを低く */
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    /* 🔧🔧 【カクつき対策】transitionを細分化して競合回避 */
    transition: opacity 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    /* 🔧🔧 【GPU最適化】レンダリング最適化でスムーズ化 */
    will-change: transform;  /* GPU アクセラレーション明示 */
    transform: translateZ(0);  /* GPU レイヤー作成 */
}

.management-service-container:hover {
    transform: scale(1.02) translateZ(0);  /* 🔧 GPUレイヤー維持しながらscale効果 */
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* 🔧🔧🔧 【カクつき根絶】マネジメントサービスコンテナにふわふわアニメーション追加 */
.management-service-container.visible {
    animation: float 6s ease-in-out infinite 3s;  /* 🔧🔧🔧 1.2s → 3s にさらに延長してカクつき完全解消 */
}

/* マネジメントサービスの画像スタイル */
.management-services-image {
    width: 100%;
    height: auto;
    max-width: none;
    border-radius: 15px;
    transition: all 0.3s ease;
    cursor: pointer;
    display: block;
}

.management-services-image:hover {
    transform: scale(1.02);
}

/* マネジメントセクション用プレースホルダー - コンテナ内に適応 */
.service-domains-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;                 /* 🔧 12px → 8px タグ間隔をさらに縮小 */
    justify-content: center;
    margin: 8px 0;            /* 🔧 10px → 8px 上下マージンをさらに縮小 */
}

.domain-tag {
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    padding: 6px 12px;     /* 🔧 8px 15px → 6px 12px よりコンパクトに */
    font-size: 0.85rem;    /* 🔧 0.9rem → 0.85rem 文字サイズも小さく */
    color: #555;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.domain-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.domain-tag.marketing {
    border-color: rgba(255, 107, 107, 0.4);
    background: rgba(255, 107, 107, 0.15);
    color: #e74c3c;
}

.domain-tag.sales {
    border-color: rgba(78, 205, 196, 0.4);
    background: rgba(78, 205, 196, 0.15);
    color: #16a085;
}

.domain-tag.accounting {
    border-color: rgba(69, 183, 209, 0.4);
    background: rgba(69, 183, 209, 0.15);
    color: #3498db;
}

/* 🔧🔧🔧 【管理セクション専用】placeholder内部要素のmargin縮小 🔧🔧🔧 */
.management-service-container .placeholder-content .placeholder-icon {
    font-size: 2.8rem;        /* 🔧 3rem → 2.8rem アイコンサイズを少し縮小 */
    margin-bottom: 10px;      /* 🔧 15px → 10px 下マージンを縮小 */
}

.management-service-container .placeholder-content h4 {
    font-size: 1.2rem;        /* 🔧 1.3rem → 1.2rem タイトルサイズを縮小 */
    color: #333;
    margin-bottom: 8px;       /* 🔧 10px → 8px 下マージンを縮小 */
    font-weight: 600;
}

.management-service-container .placeholder-content p {
    font-size: 0.95rem;       /* 🔧 1rem → 0.95rem 文字サイズを縮小 */
    line-height: 1.4;         /* 🔧 1.5 → 1.4 行間を縮小 */
    margin-bottom: 10px;      /* 🔧 15px → 10px 下マージンを縮小 */
    color: #666;
}

.management-service-container .placeholder-content small {
    font-size: 0.8rem;        /* 🔧 0.85rem → 0.8rem さらに小さく */
    color: #999;
    line-height: 1.3;         /* 🔧 1.4 → 1.3 行間を縮小 */
}

/* サービス別の色分け（マネジメント） */
.service-management .service-detail-title-desktop {
    color: rgb(255, 158, 67);
}

/* 🚨🚨🚨 【重複削除】feature-card:hoverはcomponents.cssで一元管理 */
/* .service-management .feature-card:hover は削除 - components.cssに統一 */ 