/* プロジェクトアーカイブページのスタイル */

/* シンプルページヘッダー - About usページと同じ高さに統一 */
.simple-page-header {
    position: relative;
    padding: 160px 0 80px;
    background-color: rgba(255, 255, 255, 0); /* 背景を透明に */
    text-align: center;
    overflow: hidden;
    margin-top: 0;
    border-bottom: 1px solid var(--light);
    z-index: 5; /* 上位レイヤーに */
}

.simple-page-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.6));
    z-index: -1;
}

.page-title {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 52px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0;
    position: relative;
    display: inline-block;
    letter-spacing: 0.05em;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.1), 0 0 20px rgba(255, 255, 255, 0.8);
    transition: transform 0.3s ease;
}

.simple-page-header:hover .page-title {
    transform: translateY(-5px);
}

.page-title::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, var(--accent), var(--primary));
}

/* プロジェクトメッセージセクション */
.projects-message {
    text-align: center;
    margin-bottom: 60px;
    padding: 30px 0;
}

.projects-message .message-text {
    font-size: 18px;
    line-height: 1.8;
    color: var(--gray);
    margin: 0;
    font-weight: 400;
    letter-spacing: 0.5px;
}

/* ホームに戻るボタン - 左矢印アニメーション対応 */
.back-to-home-button {
    display: inline-flex;
    align-items: center;
    color: var(--gray);
    text-decoration: none;
    font-size: 16px;
    position: relative;
    padding-bottom: 3px;
    transition: all 0.3s ease;
}

.back-to-home-button::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 100%;
    width: 0;
    height: 1px;
    background-color: var(--primary);
    transition: all 0.3s ease;
}

.back-to-home-button:hover {
    color: var(--primary) !important;
}

.back-to-home-button:hover::after {
    width: 100%;
    left: 0;
}

/* 矢印の左移動アニメーション */
.back-to-home-button i,
.back-to-home-button svg {
    margin-right: 8px;
    transition: transform 0.3s ease, color 0.3s ease;
}

.back-to-home-button:hover i,
.back-to-home-button:hover svg {
    transform: translateX(-5px);
    color: var(--primary) !important;
}

/* レスポンシブデザイン */
@media screen and (max-width: 768px) {
    .simple-page-header {
        padding: 130px 0 60px;
    }
    
    .page-title {
        font-size: 38px;
    }
    
    .projects-message .message-text {
        font-size: 16px;
        line-height: 1.7;
        padding: 0 20px;
    }
    
    .projects-message {
        margin-bottom: 40px;
        padding: 20px 0;
    }
}

@media screen and (max-width: 576px) {
    .simple-page-header {
        padding: 120px 0 50px;
    }
    
    .page-title {
        font-size: 32px;
    }
    
    .projects-message .message-text {
        font-size: 15px;
        line-height: 1.6;
        padding: 0 15px;
    }
    
    .projects-message {
        margin-bottom: 30px;
        padding: 15px 0;
    }
}
