/* ========================================
   Information Page Styles
   - Announcement cards and page header
   ======================================== */

/* メニューに戻るボタンを左寄せに保証（詳細度を上げる） */
section > .go-to-home-container-top,
section .go-to-home-container-top {
    text-align: left;
}

/* アニメーション */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* お知らせカードコンテナ */
.announcement-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* お知らせカード */
.announcement-card {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(29, 78, 216, 0.1) 100%);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 15px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    animation: fadeInUp 0.6s ease-out;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}


/* エラーメッセージ */
.error-message {
    background: #fee2e2;
    border: 1px solid #fca5a5;
    border-radius: 10px;
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    color: #991b1b;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
}

.error-message i {
    font-size: 1.2rem;
    color: #dc2626;
    flex-shrink: 0;
}

.error-message span {
    line-height: 1.5;
}

/* 空のメッセージ */
.empty-message {
    text-align: center;
    padding: 3rem;
    color: #718096;
    font-size: 1.2rem;
}

/* もっと見るボタンコンテナ */
.load-more-container {
    text-align: center;
    margin-top: 2rem;
}

.load-more-button {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    border: none;
    padding: 0 2rem;
    height: 50px;
    min-height: 50px;
    max-height: 50px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
    margin: 2rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.load-more-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

.load-more-button:active {
    transform: translateY(0);
}

/* アニメーション遅延を各カードに適用 */
.announcement-card:nth-child(1) {
    animation-delay: 0.1s;
}

.announcement-card:nth-child(2) {
    animation-delay: 0.2s;
}

.announcement-card:nth-child(3) {
    animation-delay: 0.3s;
}

.announcement-card:nth-child(4) {
    animation-delay: 0.4s;
}

.announcement-card:nth-child(5) {
    animation-delay: 0.5s;
}

@media (max-width: 640px) {
    .error-message {
        padding: 0.75rem 1rem;
        font-size: 0.85rem;
    }
    
    .load-more-button {
        height: 40px;
        min-height: 40px;
        max-height: 40px;
        font-size: 0.9rem;
        padding: 0 1.5rem;
    }
}

