/* ===========================================
   Logo Image Styles
   =========================================== */

/* Header Background - 濃いブルー背景 */
.site-header {
    background: linear-gradient(135deg, #4a7ab0 0%, #5b8fc9 100%) !important;
}

/* Header Logo */
.site-header .logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.site-header .logo a {
    display: inline-block;
    line-height: 0;
}

.site-header .site-logo {
    height: auto;
    width: auto;
    max-width: 100%;
    max-height: 80px;
    object-fit: contain;
    transition: opacity 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.site-header .site-logo:hover {
    opacity: 0.9;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

/* Footer Logo */
.footer-logo {
    margin-bottom: 1rem;
}

.footer-logo a {
    display: inline-block;
    line-height: 0;
}

.footer-logo-img {
    height: auto;
    width: auto;
    max-width: 100%;
    max-height: 60px;
    object-fit: contain;
    transition: opacity 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.footer-logo a:hover .footer-logo-img {
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* ヘッダーの高さを抑える */
    .site-header {
        padding: var(--spacing-sm) 0 !important;
    }
    
    .site-header .site-logo {
        max-height: 60px;
    }
    
    .footer-logo-img {
        max-height: 50px;
    }
}

@media (max-width: 480px) {
    /* スマホ用にさらに高さを抑える */
    .site-header {
        padding: var(--spacing-xs) 0 !important;
    }
    
    .site-header .site-logo {
        max-height: 50px;
    }
    
    .footer-logo-img {
        max-height: 40px;
    }
}