/* 統一ページヘッダースタイル - 採用情報ページスタイルに統一 */
/* Updated: 2025-12-27 v2.0 - 高優先度設定 */

/* 基本ヘッダースタイル - 採用情報ページと同じシンプルデザイン */
body .unified-page-header,
html body .unified-page-header,
.page .unified-page-header,
#page .unified-page-header,
main .unified-page-header {
    position: relative !important;
    height: 150px !important;
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-direction: column !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    min-height: 150px !important;
    max-height: 150px !important;
    
    /* 採用情報ページと同じグラデーション背景 */
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 50%, #1e3a8a 100%) !important;
    
    /* 不要なエフェクトを完全除去 */
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
    
    /* アニメーション完全除去 */
    animation: none !important;
    transition: none !important;
    will-change: auto !important;
}

/* 背景擬似要素を完全無効化（アニメーション除去） */
body .unified-page-header::before,
body .unified-page-header::after,
html body .unified-page-header::before,
html body .unified-page-header::after {
    display: none !important;
    content: none !important;
    background: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    animation: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

/* 特集画像の表示 */
body .unified-page-featured-image,
html body .unified-page-featured-image {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 1 !important;
    overflow: hidden !important;
    margin-left: 0 !important;
}

body .unified-featured-img,
html body .unified-featured-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
    filter: brightness(0.55) !important;
    opacity: 1 !important;
    max-height: none !important;
}

/* オーバーレイ - 画像と同じシンプルなグラデーション */
body .unified-page-header-overlay,
html body .unified-page-header-overlay {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.45) 0%, rgba(59, 130, 246, 0.35) 50%, rgba(30, 58, 138, 0.4) 100%) !important;
    z-index: 2 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

/* コンテンツコンテナ */
body .unified-page-header-content,
html body .unified-page-header-content {
    position: relative !important;
    z-index: 10 !important;
    text-align: center !important;
    padding: 20px !important;
    max-width: none !important;
    width: auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
}

/* メインタイトル - 採用情報ページと同じスタイル */
body .unified-page-title,
html body .unified-page-title,
body h1.unified-page-title,
html body h1.unified-page-title {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif !important;
    font-size: 2.2rem !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    text-align: center !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.3 !important;
    letter-spacing: 0.02em !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    z-index: 10 !important;
    
    /* シンプルなテキストシャドウ */
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3) !important;
    
    /* 装飾完全除去 */
    background: none !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    width: auto !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    
    /* アニメーション完全除去 */
    animation: none !important;
    transition: none !important;
    will-change: auto !important;
}

/* サブタイトル - 採用情報ページと同じスタイル */
body .unified-page-subtitle,
html body .unified-page-subtitle,
body p.unified-page-subtitle,
html body p.unified-page-subtitle {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif !important;
    font-size: 0.95rem !important;
    font-weight: 400 !important;
    color: rgba(255, 255, 255, 0.9) !important;
    text-align: center !important;
    margin: 0.5rem 0 0 0 !important;
    padding: 0 !important;
    line-height: 1.4 !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    z-index: 10 !important;
    
    /* シンプルなテキストシャドウ */
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3) !important;
    
    /* 装飾完全除去 */
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    
    /* アニメーション完全除去 */
    animation: none !important;
    transition: none !important;
    will-change: auto !important;
}

/* ホバー効果除去 */
body .unified-page-header:hover,
body .unified-page-title:hover,
body .unified-page-subtitle:hover {
    transform: none !important;
    box-shadow: none !important;
    animation: none !important;
    transition: none !important;
}

/* パルスアニメーションを無効化 */
@keyframes pulse {
    0%, 100% { opacity: 0; transform: none; }
}

/* レスポンシブ対応 - モバイル */
@media (max-width: 768px) {
    body .unified-page-header,
    html body .unified-page-header {
        height: 120px !important;
        min-height: 120px !important;
        max-height: 120px !important;
    }
    
    body .unified-page-title,
    html body .unified-page-title {
        font-size: 1.8rem !important;
    }
    
    body .unified-page-subtitle,
    html body .unified-page-subtitle {
        font-size: 0.85rem !important;
    }
}

/* スモールモバイル対応 */
@media (max-width: 480px) {
    body .unified-page-header,
    html body .unified-page-header {
        height: 100px !important;
        min-height: 100px !important;
        max-height: 100px !important;
    }
    
    body .unified-page-title,
    html body .unified-page-title {
        font-size: 1.5rem !important;
    }
    
    body .unified-page-subtitle,
    html body .unified-page-subtitle {
        font-size: 0.8rem !important;
    }
}
