.navbar {
    margin: 10px;
    opacity: 0.8;
    border-radius: 10px;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px;
}

body {
    background-color: #0D3158;
}

.center {
    text-align: center;
    margin: 0 auto;
    padding: 0 auto;
}

.about {
    color: #fff;
}

h2 {
    color: #F0CC71;
}

.jumbotron {
    background-image: url(../image/back.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100vh;
    color: #F0CC71;
}

* {
    font-family: "Noto Serif JP", serif;
    font-optical-sizing: auto;
}

.display-3 {
    margin-top: 100px;
}

.left {
    text-align: left;
}

.card-header {
    background-color: #0D3158;
    color: #F0CC71;
}

.about {
    margin-bottom: 60px;
}

.icons {
    border-radius: 50%;
    width: 200px;
}

.table th {
    background-color: #0D3158;
    color: #F0CC71;
    width: 200px;
}

.table a {
    color: #F0CC71;
    text-decoration: none;
}

.table a:hover {
    text-decoration: underline;
}

/* ローディングオーバーレイのスタイル */
#loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, #000000, #000000);
    /* 初期は黒 */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    animation: dawn 6s forwards;
    /* 夜明けアニメーションを適用 */
}

/* 夜明けのアニメーション */
@keyframes dawn {
    0% {
        background: linear-gradient(to bottom, #000000, #000000);
        opacity: 1;
    }

    100% {
        background: linear-gradient(to bottom, #fffaf030, #fffacd1b);
        /* 例: ホワイト系の色に変化 */
        opacity: 0;
    }
}

/* ローディングスピナーのスタイル */

/* ニュースグリッドカードのスタイル */
.news-grid-card {
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    height: 100%;
}

.news-grid-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.news-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-grid-card:hover .news-image img {
    transform: scale(1.05);
}

.news-content {
    padding: 1.5rem;
}

.news-title {
    color: #0D3158;
    font-weight: 600;
    font-size: 1.1rem;
    line-height: 1.4;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.news-category {
    background-color: #F0CC71;
    color: #0D3158;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.news-date {
    color: #666;
    font-size: 0.9rem;
}

.news-link {
    display: inline-block;
    color: #0D3158;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border: 2px solid #0D3158;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.news-link:hover {
    background-color: #0D3158;
    color: white;
    text-decoration: none;
}

@media (max-width: 768px) {
    .news-grid-card {
        margin-bottom: 1rem;
    }

    .news-title {
        font-size: 1rem;
    }
}