/* Hero Icons Grid スタイル */

.hero-icons-grid {
    position: relative;
    width: 100%;
    height: 400px;
    max-width: 800px;
    margin: 0 auto;
}

.hero-icon {
    position: absolute;
    opacity: 0;
    animation: heroIconFadeIn 0.8s ease-out forwards;
}

@keyframes heroIconFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.8);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.hero-svg-icon {
    width: 100px;
    height: 100px;
    filter: 
        drop-shadow(0 2px 6px rgba(255, 255, 255, 0.5))
        drop-shadow(0 1px 3px rgba(2, 129, 197, 0.3))
        drop-shadow(0 0 0 1px rgba(255, 255, 255, 0.8)) !important;
    transition: all 0.3s ease !important;
}

.hero-svg-icon:hover {
    filter: 
        drop-shadow(0 3px 8px rgba(255, 255, 255, 0.7))
        drop-shadow(0 1px 4px rgba(245, 158, 11, 0.4))
        drop-shadow(0 0 0 1px rgba(245, 158, 11, 1))
        drop-shadow(1px 0 0 rgba(245, 158, 11, 0.8))
        drop-shadow(-1px 0 0 rgba(245, 158, 11, 0.8))
        drop-shadow(0 1px 0 rgba(245, 158, 11, 0.8))
        drop-shadow(0 -1px 0 rgba(245, 158, 11, 0.8)) !important;
    transform: scale(1.05) translateY(-2px) !important;
}

/* キャプチャに合わせた配置 - 横幅拡大に対応 */
.hero-icon-1 {
    top: 60px;
    right: 300px;
    animation-delay: 0.2s;
}

.hero-icon-2 {
    top: 20px;
    right: 100px;
    animation-delay: 0.4s;
}

.hero-icon-3 {
    top: 140px;
    right: 200px;
    animation-delay: 0.6s;
}

.hero-icon-4 {
    top: 260px;
    right: 240px;
    animation-delay: 0.8s;
}

.hero-icon-5 {
    bottom: 20px;
    right: 50px;
    animation-delay: 1s;
}

/* レスポンシブ対応 */
@media (max-width: 1024px) {
    .hero-icons-grid {
        margin-top: 1.5rem;
        height: 350px;
        max-width: 400px;
    }
    
    .hero-svg-icon {
        width: 100px;
        height: 100px;
    }
    
    .hero-icon-1 {
        top: 50px;
        left: 15px;
    }
    
    .hero-icon-2 {
        top: 15px;
        right: 60px;
    }
    
    .hero-icon-3 {
        top: 140px;
        right: 165px;
    }
    
    .hero-icon-4 {
        top: 230px;
        right: 15px;
    }
    
    .hero-icon-5 {
        bottom: 15px;
        left: 5px;
    }
}

@media (max-width: 640px) {
    .hero-icons-grid {
        margin-top: 1rem;
        height: 300px;
        max-width: 320px;
    }
    
    .hero-svg-icon {
        width: 80px !important;
        height: 80px !important;
        min-width: 80px;
        min-height: 80px;
        max-width: 80px;
        max-height: 80px;
    }
    
    .hero-icon-1 {
        top: 40px;
        left: 10px;
    }
    
    .hero-icon-1 .hero-svg-icon {
        width: 80px !important;
        height: 80px !important;
        min-width: 80px;
        min-height: 80px;
        max-width: 80px;
        max-height: 80px;
    }
    
    .hero-icon-2 {
        top: 10px;
        right: 50px;
    }
    
    .hero-icon-3 {
        top: 120px;
        right: 130px;
    }
    
    .hero-icon-4 {
        top: 180px;
        right: 10px;
    }
    
    .hero-icon-5 {
        bottom: 10px;
        left: 0px;
    }
}