/* ==========================================
   スマート倉庫全体像セクション - インフォグラフィック背景統合版
   背景画像の上にカードを重ねて配置（完全リニューアル版）
   ========================================== */

/* セクション全体 */
.overview-section-with-bg {
    position: relative;
    padding: 100px 0 120px;
    background: linear-gradient(180deg, #F5F9FF 0%, #E9F2FF 50%, #F5F9FF 100%);
    overflow: hidden;
    min-height: 900px;
}

/* 背景層 - インフォグラフィック */
.overview-background-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* 背景インフォグラフィック画像 */
.overview-background-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background-image: url('../images/warehouse-overview-background-soft.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.30;
    filter: blur(6px);
}

/* 背景グラデーションオーバーレイ */
.overview-background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(245, 249, 255, 0.5) 0%,
        rgba(233, 242, 255, 0.3) 50%,
        rgba(245, 249, 255, 0.5) 100%
    );
    z-index: 1;
}

/* コンテンツ層 */
.overview-content-layer {
    position: relative;
    z-index: 10;
}

.overview-content-layer .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* セクションヘッダー */
.overview-section-with-bg .section-header {
    text-align: center;
    margin-bottom: 80px;
}

.overview-section-with-bg .section-title {
    font-size: 48px;
    font-weight: 800;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
    line-height: 1.3;
    text-shadow: 0 2px 8px rgba(255, 255, 255, 0.8);
}

.overview-section-with-bg .section-subtitle {
    font-size: 20px;
    color: #475569;
    font-weight: 500;
    line-height: 1.6;
}

/* カード配置コンテナ（アーチ配置） */
.overview-cards-arch {
    position: relative;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
    align-items: end;
    margin-bottom: 60px;
}

/* 各カードの垂直位置調整（アーチ効果） */
.overview-zone-card-1 {
    transform: translateY(40px);
}

.overview-zone-card-2 {
    transform: translateY(10px);
}

.overview-zone-card-3 {
    transform: translateY(-20px); /* 中央が最高位置 */
}

.overview-zone-card-4 {
    transform: translateY(10px);
}

.overview-zone-card-5 {
    transform: translateY(40px);
}

/* カード基本スタイル */
.overview-zone-card {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 20px;
    padding: 36px 24px;
    box-shadow: 
        0 16px 48px rgba(0, 0, 0, 0.30),
        0 0 0 1px rgba(255, 255, 255, 0.7);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    position: relative;
    z-index: 15;
    backdrop-filter: blur(12px);
    border: 2px solid rgba(255, 255, 255, 0.7);
}

.overview-zone-card:hover {
    transform: translateY(-16px) scale(1.03);
    box-shadow: 
        0 24px 72px rgba(0, 0, 0, 0.35),
        0 0 0 2px rgba(59, 130, 246, 0.6);
    border-color: rgba(59, 130, 246, 0.3);
}

/* カード内部グロー効果 */
.overview-zone-card .card-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    background: radial-gradient(
        circle at 50% 0%,
        rgba(59, 130, 246, 0.15) 0%,
        transparent 60%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 1;
}

.overview-zone-card:hover .card-glow {
    opacity: 1;
}

/* カードアイコンバッジ */
.overview-zone-card .neo-icon-badge {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin: 0 auto 20px;
    box-shadow: 
        0 8px 24px rgba(0, 0, 0, 0.15),
        0 0 0 3px rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.overview-zone-card:hover .neo-icon-badge {
    transform: scale(1.12) rotate(8deg);
    box-shadow: 
        0 12px 32px rgba(0, 0, 0, 0.2),
        0 0 0 4px rgba(255, 255, 255, 1);
}

/* プラットフォームブロック */
.overview-zone-card .neo-platform-blocks {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.overview-zone-card .neo-block {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    animation: blockPulse 2s ease-in-out infinite;
}

.overview-zone-card .neo-block:nth-child(2) {
    animation-delay: 0.2s;
}

.overview-zone-card .neo-block:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes blockPulse {
    0%, 100% {
        opacity: 0.6;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.1);
    }
}

/* カードタイトル */
.overview-zone-card .card-title {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 8px 0;
    color: #1e293b;
    position: relative;
    z-index: 2;
}

/* カードサブタイトル */
.overview-zone-card .card-subtitle {
    font-size: 13px;
    margin: 0;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: #64748b;
    text-transform: uppercase;
    position: relative;
    z-index: 2;
}

/* フローメッセージ */
.overview-flow-message {
    text-align: center;
    padding: 32px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 16px;
    backdrop-filter: blur(8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    max-width: 900px;
    margin: 0 auto;
}

.flow-message-icon {
    font-size: 32px;
    color: #3b82f6;
    margin-bottom: 16px;
}

.flow-message-text {
    font-size: 18px;
    line-height: 1.7;
    color: #475569;
    margin: 0;
    font-weight: 500;
}

/* ========================================
   レスポンシブデザイン
   ======================================== */

/* タブレット（1200px以下） */
@media (max-width: 1200px) {
    .overview-cards-arch {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    
    .overview-zone-card-1,
    .overview-zone-card-2,
    .overview-zone-card-3,
    .overview-zone-card-4,
    .overview-zone-card-5 {
        transform: translateY(0);
    }
    
    .overview-section-with-bg .section-title {
        font-size: 40px;
    }
    
    .overview-background-image {
        opacity: 0.25;
        filter: blur(8px);
    }
}

/* タブレット（768px以下） */
@media (max-width: 768px) {
    .overview-section-with-bg {
        padding: 60px 0 80px;
        min-height: 700px;
    }
    
    .overview-section-with-bg .section-header {
        margin-bottom: 48px;
    }
    
    .overview-section-with-bg .section-title {
        font-size: 32px;
    }
    
    .overview-section-with-bg .section-subtitle {
        font-size: 16px;
    }
    
    .overview-cards-arch {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .overview-zone-card {
        padding: 28px 20px;
    }
    
    .overview-zone-card .neo-icon-badge {
        width: 64px;
        height: 64px;
        font-size: 28px;
    }
    
    .overview-zone-card .card-title {
        font-size: 18px;
    }
    
    .overview-zone-card .card-subtitle {
        font-size: 12px;
    }
    
    .overview-background-image {
        opacity: 0.20;
        filter: blur(10px);
    }
    
    .overview-flow-message {
        padding: 24px;
    }
    
    .flow-message-icon {
        font-size: 28px;
    }
    
    .flow-message-text {
        font-size: 16px;
    }
}

/* スマホ（480px以下） */
@media (max-width: 480px) {
    .overview-section-with-bg {
        padding: 48px 0 64px;
    }
    
    .overview-section-with-bg .section-title {
        font-size: 28px;
    }
    
    .overview-section-with-bg .section-subtitle {
        font-size: 14px;
    }
    
    .overview-cards-arch {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .overview-zone-card {
        padding: 24px 16px;
    }
    
    .overview-zone-card .neo-icon-badge {
        width: 56px;
        height: 56px;
        font-size: 24px;
    }
    
    .overview-background-image {
        opacity: 0.15;
        filter: blur(12px);
    }
    
    .flow-message-text {
        font-size: 14px;
    }
}

/* モバイル用矢印（カード間） */
@media (max-width: 480px) {
    .overview-zone-card::after {
        content: '';
        position: absolute;
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%);
        width: 0;
        height: 0;
        border-left: 8px solid transparent;
        border-right: 8px solid transparent;
        border-top: 8px solid #93c5fd;
        opacity: 0.6;
        z-index: 20;
    }
    
    .overview-zone-card:last-child::after {
        display: none;
    }
}
