/**
 * 共通ページヘッダー スタイル
 */

/* ページヘッダーの基本スタイル */
.page-header {
    text-align: center;
    padding: 100px 0 60px;
    background: linear-gradient(to bottom, #fafbfc 0%, white 100%);
    position: relative;
    overflow: hidden;
}

/* 背景アニメーション */
.page-header::before,
.page-header::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: var(--color-primary);
    opacity: 0.03;
    animation: float-bubble 20s infinite ease-in-out;
}

.page-header::before {
    width: 400px;
    height: 400px;
    top: -200px;
    right: -100px;
}

.page-header::after {
    width: 300px;
    height: 300px;
    bottom: -150px;
    left: -50px;
    animation-delay: -10s;
    animation-direction: reverse;
}

@keyframes float-bubble {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -30px) scale(1.05);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.95);
    }
}

.page-title,
.page-header__title {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.3;
    color: var(--color-text);
    letter-spacing: -0.03em;
    margin: 0;
    position: relative;
    z-index: 1;
    opacity: 0;
    animation: fade-in-up 0.8s ease-out forwards;
}

.page-subtitle,
.page-header__subtitle {
    font-size: 18px;
    color: #666;
    letter-spacing: 0.05em;
    margin: 16px 0 0;
    position: relative;
    z-index: 1;
    opacity: 0;
    animation: fade-in-up 0.8s ease-out 0.2s forwards;
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .page-header {
        padding: 80px 0 50px;
    }
    
    .page-title,
    .page-header__title {
        font-size: 32px;
    }
    
    .page-subtitle,
    .page-header__subtitle {
        font-size: 16px;
    }
}