/* ========================================
   モバイル版ヒーロー簡略化
   ======================================== */

@media (max-width: 768px) {
    /* ヒーローセクションを短く */
    .hero {
        min-height: 600px !important;
        padding: 80px 0 40px !important;
    }
    
    /* 統計カードをスマホ用に2x2グリッドで表示 */
    .hero-stats {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        grid-template-rows: repeat(2, 1fr) !important;
        gap: 15px !important;
        max-width: 100% !important;
        padding: 0 15px !important;
        margin: 30px auto !important;
    }
    
    .stat-item {
        padding: 20px 15px !important;
        min-height: 140px !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
    }
    
    .stat-number {
        font-size: 2rem !important;
        margin-bottom: 8px !important;
    }
    
    .stat-prefix,
    .stat-unit {
        font-size: 1rem !important;
    }
    
    .stat-label {
        font-size: 0.8rem !important;
        margin-bottom: 5px !important;
    }
    
    .stat-compare {
        font-size: 0.7rem !important;
        line-height: 1.3 !important;
    }
    
    /* タイトルを小さく */
    .hero-title {
        font-size: 1.8rem !important;
        line-height: 1.3 !important;
    }
    
    /* サブタイトルを小さく */
    .hero-subtitle {
        font-size: 0.9rem !important;
    }
    
    /* 一部セクションを非表示にして情報量を削減 */
    #precision {
        display: none !important;
    }
    
    #measurement {
        display: none !important;
    }
}

/* ========================================
   小型モバイル版（480px以下）
   ======================================== */
@media (max-width: 480px) {
    .hero {
        min-height: 550px !important;
        padding: 70px 0 30px !important;
    }
    
    /* 統計カードをさらに小さく */
    .hero-stats {
        gap: 10px !important;
        padding: 0 10px !important;
        margin: 25px auto !important;
    }
    
    .stat-item {
        padding: 15px 10px !important;
        min-height: 120px !important;
    }
    
    .stat-number {
        font-size: 1.6rem !important;
        margin-bottom: 6px !important;
    }
    
    .stat-prefix,
    .stat-unit {
        font-size: 0.85rem !important;
    }
    
    .stat-label {
        font-size: 0.7rem !important;
        margin-bottom: 3px !important;
    }
    
    .stat-label i {
        font-size: 0.7rem !important;
    }
    
    .stat-compare {
        font-size: 0.65rem !important;
        line-height: 1.2 !important;
    }
    
    .hero-title {
        font-size: 1.6rem !important;
    }
    
    .hero-subtitle {
        font-size: 0.85rem !important;
    }
}
