/* ====== リセットCSS ====== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    font-family: 'Noto Sans JP', sans-serif;
    overflow-y: auto;
    overflow-x: hidden;
    background: url('481.png') center/cover no-repeat;
    color: white;
}

/* ====== ナビゲーションバー ====== */
.navbar {position: absolute;top: 0;width: 100%;height: 60px;display: flex;justify-content: space-between;align-items: center;padding: 0 20px;background-color: rgba(0, 0, 0, 0.5);z-index: 1000;}.navbar .menu-icon {font-size: 1.8em;color: white;cursor: pointer;display: none;}.nav-links {list-style: none;display: flex;gap: 20px;}.nav-links li {position: relative;}.nav-links a {color: white;text-decoration: none;font-size: 1.2em;padding: 10px 0;transition: color 0.3s ease;}.nav-links a:hover {color: #ffcc00;}.nav-links a::after {content: "";position: absolute;width: 0;height: 2px;left: 50%;bottom: 0;background-color: #ffcc00;transition: width 0.3s ease, left 0.3s ease;}.nav-links a:hover::after {width: 100%;left: 0;}

/* ====== ニュースセクション ====== */
.news-section {
    padding: 100px 20px 40px;
    background: rgba(255, 255, 255, 0.1);
    margin-top: 60px;
}

.news-section h2 {
    font-size: 3em;
    text-align: center;
    margin-bottom: 30px;
    color: white;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7);
    font-weight: bold;
    letter-spacing: 1.5px;
}

/* ====== ニュースボックス ====== */
.news-box {
    background: rgba(240, 240, 240, 0.8);
    border: 1px solid #ccc;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
}

.news-box h3 {
    font-size: 1.8em;
    margin-bottom: 10px;
    color: #333;
}

.news-box p {
    font-size: 1.2em;
    color: #666;
}

.news-box .read-more {
    color: #007BFF;
    text-decoration: none;
    font-weight: bold;
}

.news-box .read-more:hover {
    color: #0056b3;
}

/* ====== スマホ対応 (メニュー中央配置、☰を左側へ) ====== */
@media (max-width: 768px) {
    .navbar {
        flex-direction: row;
        justify-content: center;
        align-items: center;
        height: 60px;
        padding: 0 20px;
    }

    .navbar .menu-icon {
        display: block;
        position: absolute;
        left: 20px;
        top: 50%;
        transform: translateY(-50%);
    }

    .nav-links {
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 50%;
        transform: translateX(-50%);
        width: 100%;
        background: rgba(0, 0, 0, 0.9);
        display: none;
        text-align: center;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: block;
        width: 100%;
        padding: 15px 0;
    }
}
