/* ========================================
   ヘッダー - スマホ用コンパクト版
   ======================================== */

/* スマホ表示でヘッダーをコンパクトに変更 */
@media (max-width: 768px) {
    .header-container {
        flex-direction: row !important;
        padding: 0.7rem 0.8rem !important;
        gap: 1rem !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    /* ロゴを表示（20%小さく調整） */
    .header-logo {
        display: flex !important;
        flex-shrink: 0;
    }
    
    .logo-image {
        height: 42px !important;
    }
    
    /* サイトタイトルを表示 */
    .header-title {
        flex: none !important;
        text-align: left !important;
    }
    
    .header-title h1 {
        font-size: 1rem !important;
        line-height: 1.5 !important;
        font-weight: 600 !important;
    }
    
    /* 連絡先を非表示 */
    .header-contact {
        display: none !important;
    }
}

/* 超小型スマホ（480px以下）ではさらに最適化 */
@media (max-width: 480px) {
    .header-container {
        padding: 0.6rem 0.7rem !important;
        gap: 0.8rem !important;
    }
    
    .logo-image {
        height: 37px !important;
    }
    
    .header-title h1 {
        font-size: 0.9rem !important;
        line-height: 1.4 !important;
    }
}

/* 極小スマホ（360px以下） */
@media (max-width: 360px) {
    .header-container {
        padding: 0.5rem 0.6rem !important;
        gap: 0.7rem !important;
    }
    
    .logo-image {
        height: 34px !important;
    }
    
    .header-title h1 {
        font-size: 0.85rem !important;
    }
}

/* スマホでヘッダーをクリック可能にするスタイル */
@media (max-width: 768px) {
    .header {
        cursor: pointer;
    }
    
    .header:active {
        opacity: 0.8;
    }
}


