/* お知らせページ専用スタイル */

/* パンくずナビ */
.breadcrumb {
    background: #f8f9fa;
    padding: 15px 0;
    margin-top: 80px;
    border-bottom: 1px solid #e9ecef;
}

.breadcrumb a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #d4af37;
}

.breadcrumb .separator {
    margin: 0 10px;
    color: #999;
}

.breadcrumb .current {
    color: #333;
    font-weight: 500;
}

/* ページヘッダー */
.page-header {
    background: linear-gradient(135deg, #1a1a1a 0%, #333 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.page-header p {
    font-size: 1.1rem;
    color: #ccc;
    max-width: 600px;
    margin: 0 auto;
}

/* お知らせセクション */
.notices {
    padding: 80px 0;
    background: white;
}

.notice-list {
    margin-bottom: 3rem;
}

.notice-item {
    display: flex;
    gap: 2rem;
    padding: 2rem;
    margin-bottom: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-left: 4px solid #e9ecef;
}

.notice-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.notice-date {
    min-width: 80px;
    text-align: center;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    height: fit-content;
}

.notice-date .year {
    display: block;
    font-size: 0.8rem;
    color: #666;
    font-weight: 500;
}

.notice-date .month-day {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    color: #333;
    margin-top: 2px;
}

.notice-content {
    flex: 1;
}

.notice-content h2 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
    line-height: 1.4;
    text-align: left;
}

.notice-content p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    max-height: 240px;
    overflow-y: auto;
    padding-right: 10px;
}

/* 스크롤바 스타일링 */
.notice-content p::-webkit-scrollbar {
    width: 6px;
}

.notice-content p::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.notice-content p::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}

.notice-content p::-webkit-scrollbar-thumb:hover {
    background: #999;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .page-header {
        padding: 40px 0;
    }

    .page-header h1 {
        font-size: 2.2rem;
    }

    .notices {
        padding: 60px 0;
    }

    .notice-item {
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem;
    }

    .notice-date {
        min-width: auto;
        width: fit-content;
        align-self: flex-start;
    }

    .notice-content h2 {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .breadcrumb {
        padding: 10px 0;
    }

    .page-header h1 {
        font-size: 1.8rem;
    }

    .page-header p {
        font-size: 1rem;
    }

    .notice-item {
        padding: 1rem;
        margin-bottom: 1.5rem;
    }

    .notice-date {
        padding: 0.8rem;
    }

    .notice-date .month-day {
        font-size: 1rem;
    }

    .notice-content h2 {
        font-size: 1.1rem;
    }
}
