* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    color: #333;
    line-height: 1.7;
    overflow-x: hidden;
    background-color: #f1f5f9;
}

.container {
    gap: 10px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.grid-container {
    gap: 10px;
    display: flex;
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 20px;
}

#images {
    padding: 70px;
}

/* Header & Navigation */
header {
    background-color: #090158;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    align-items: center;
}

.header-container {
    max-width: 95%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

/*  */
#header-button {
    display: flex;
    align-items: center;
}

#new-button {
    margin-left: 10px;
    font-size: 19px;
    padding: 2px 10px;
    border-radius: 12px;
    background-color: #FF6E07;
    color: #fff;
    border: none;
    opacity: 0.8;
}

#navLinks li a {
    font-size: 22px;
}

/*  */
.logo {
    font-size: 20px;
    font-weight: 700;
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo img {
    color: #e63946;
    margin-right: 10px;
    font-size: 28px;
    padding: 0 20px;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 40px;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-weight: 600;
    font-size: 16px;
    transition: color 0.3s;
    position: relative;
}

.nav-links a:hover {
    color: #e63946;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #e63946;
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: white;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background-color: #DFE5E9;
    color: white;
    margin-top: 85px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></svg>');
    opacity: 0.5;
}

.hero-content {
    /* max-width: 900px; */
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 40px;
    max-width: 80%;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
    color: #10B879;
    text-shadow:
        -2px -2px 0 black,
        2px -2px 0 black,
        -2px 2px 0 black,
        2px 2px 0 black;
}

.hero-content h2 {
    font-size: 64px;
    max-width: 80%;
    margin: 2% auto;
    text-align: center;
    position: relative;
    z-index: 1;
    color: white;
    text-shadow:
        -2px -2px 0 black,
        2px -2px 0 black,
        -2px 2px 0 black,
        2px 2px 0 black;
}

.hero-content p {
    font-size: 24px;
    max-width: 80%;
    margin: 1% auto;
    text-align: center;
    position: relative;
    z-index: 1;
    color: white;
    text-shadow:
        -2px -2px 0 black,
        2px -2px 0 black,
        -2px 2px 0 black,
        2px 2px 0 black;
}

.hero-badge {
    margin: 3%;
    font-size: 40px;
    padding: 12px 20px;
    border-radius: 30px;
    background: #FF6E07;
    color: #fff;
    border: none;
    opacity: 0.8;
}

.hero-badge:hover {
    background-color: #F5F5F5;
    color: #090158;
    transform: translateY(-5px);
    border-color: white;
}

.hero-title {
    font-size: 56px;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 25px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 40px;
    color: #f1faee;
}

.hero-description {
    font-size: 20px;
    max-width: 800px;
    margin: 0 auto 50px;
    color: #e2e8f0;
    line-height: 1.8;
}

/* Media Icons */
.media-icons {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.media-icon {
    background-color: rgba(255, 255, 255, 0.1);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.media-icon:hover {
    background-color: rgba(230, 57, 70, 0.9);
    transform: translateY(-5px);
    border-color: white;
}

.media-icon.tv {
    color: #e63946;
}

.media-icon.newspaper {
    color: #457b9d;
}

.media-icon.radio {
    color: #a8dadc;
}

.media-icon.online {
    color: #f1faee;
}

/* Mission Section */
.mission {
    padding: 100px 0;
    background-color: white;
}

.mission-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

/* ============== */

.news-container {
    display: flex;
    justify-content: center;
}

.news-detail-container {
    margin-bottom: 50px;
    margin-top: 160px;
    width: 100%;
    max-width: 900px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

/* ヘッダー部分 */
.news-header {
    z-index: 0;
    background-color: #090158;
    color: white;
    padding: 25px 30px;
    position: relative;
}

.back-button {
    position: absolute;
    top: 20px;
    left: 30px;
    background-color: rgba(255, 255, 255, 0.9);
    color: #090158;
    border: none;
    border-radius: 4px;
    padding: 8px 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.back-button:hover {
    background-color: white;
    transform: translateY(-2px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.back-button:before {
    content: "←";
    font-weight: bold;
}

.news-header-content {
    margin-top: 10px;
}

.news-date {
    font-size: 16px;
    margin-bottom: 5px;
    opacity: 0.9;
}

.news-title {
    font-size: 24px;
    font-weight: bold;
    line-height: 1.4;
    margin-bottom: 15px;
}

.program-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 5px;
}

.program-date {
    font-size: 16px;
    opacity: 0.9;
}

/* 前後ナビゲーション */
.news-navigation {
    display: flex;
    justify-content: space-between;
    background-color: #f0f0f0;
    padding: 15px 30px;
    border-bottom: 1px solid #ddd;
}

.nav-button {
    background: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 8px 15px;
    cursor: pointer;
    color: #333;
    font-size: 14px;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-button:hover {
    background-color: #090158;
    color: white;
    border-color: #090158;
}

.nav-button.prev:before {
    content: "←";
}

.nav-button.next:after {
    content: "→";
}

.nav-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.nav-button:disabled:hover {
    background-color: transparent;
    color: #333;
    border-color: #ccc;
}

/* メインコンテンツ */
.news-content {
    padding: 30px;
}

.content-section {
    margin-bottom: 30px;
}

.content-text {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.content-text:last-child {
    margin-bottom: 0;
}

.section-title {
    font-size: 18px;
    font-weight: bold;
    color: #090158;
    margin-bottom: 15px;
    padding-bottom: 5px;
    border-bottom: 1px solid #eee;
}

.highlight-box {
    background-color: #f9f9f9;
    border-left: 4px solid #090158;
    padding: 20px;
    margin: 25px 0;
    border-radius: 0 4px 4px 0;
}

.highlight-title {
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

.list-container {
    margin: 20px 0;
}

.list-item {
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.list-item:before {
    content: "・";
    position: absolute;
    left: 0;
    color: #090158;
    font-weight: bold;
}

.numbered-list {
    list-style-type: decimal;
    margin-left: 25px;
    margin-bottom: 20px;
}

.numbered-list li {
    margin-bottom: 10px;
}

.content-note {
    font-size: 14px;
    color: #666;
    margin-top: 40px;
    padding-top: 15px;
    border-top: 1px dashed #ddd;
}

/* フッター部分 */
.news-footer {
    background-color: #f9f9f9;
    padding: 30px;
    border-top: 1px solid #eee;
}

.footer-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #333;
}

.footer-date {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
}

.footer-text {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.office-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
    margin-top: 20px;
}

.office-item {
    padding: 8px 0;
    font-size: 15px;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    

    .news-header {
        padding: 20px 15px;
    }

    .back-button {
        left: 15px;
        top: 15px;
        padding: 6px 12px;
        font-size: 14px;
    }

    .news-title {
        font-size: 20px;
    }

    .program-title {
        font-size: 18px;
    }

    .news-navigation {
        padding: 12px 15px;
        flex-direction: column;
        gap: 10px;
    }

    .nav-button {
        width: 100%;
        justify-content: center;
    }

    .news-content {
        padding: 20px 15px;
    }

    .content-text {
        font-size: 15px;
    }

    .news-footer {
        padding: 20px 15px;
    }

    .office-list {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
}

@media (max-width: 480px) {
    .news-title {
        font-size: 18px;
    }

    .program-title {
        font-size: 16px;
    }

    .news-date,
    .program-date {
        font-size: 14px;
    }

    .content-text,
    .footer-text {
        font-size: 14px;
    }

    .section-title {
        font-size: 16px;
    }
}


/* Footer */
footer {
    background-color: #090158;
    color: #e2e8f0;
    padding: 60px 0 30px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo {
    font-size: 28px;
    font-weight: 900;
    margin-bottom: 20px;
    color: white;
}

.footer-contact {
    font-size: 16px;
    line-height: 1.8;
}

.footer-contact strong {
    color: white;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
    color: #a0aec0;
}

@media (max-width: 1560px) {
    #navLinks li a {
        font-size: 20px;
    }
}

@media (max-width: 1370px) {
    #navLinks li a {
        font-size: 15px;
    }
}

/* Responsive Design */
@media screen and (max-width: 1024px) {
    .hero-title {
        font-size: 48px;
    }

    .hero-subtitle {
        font-size: 24px;
    }

    .section-title {
        font-size: 36px;
    }
}

@media screen and (max-width: 1205px) {
    .nav-links li {
        margin: 10px;
    }

    .logo h4 {
        font-size: 17px;
    }

    .logo img {
        width: 35%;
        padding-right: 0;
    }
}

@media screen and (max-width: 1015px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #214079;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }

    .hero {
        padding: 0;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 10px 0;
    }

    .hamburger {
        display: block;
    }

    .hero-title {
        font-size: 40px;
    }

    .hero-subtitle {
        font-size: 22px;
    }

    .hero-description {
        font-size: 18px;
    }

    .mission-text {
        font-size: 20px;
    }

    .media-icons {
        gap: 20px;
    }

    .media-icon {
        width: 70px;
        height: 70px;
        font-size: 32px;
    }
}

@media screen and (max-width: 480px) {
    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 20px;
    }

    .hero-badge {
        font-size: 12px;
    }

    .section-title {
        font-size: 30px;
    }

    .mission-text {
        font-size: 18px;
    }

    .cta-title {
        font-size: 32px;
    }

    .cta-text {
        font-size: 18px;
    }
}

/* Animation for scroll */
.fade-in {
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}


/* ====================== */