/* ===============================
   基本設定
=============================== */
body {
    margin: 0;
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* PC / SP 切り替え */
.pc { display: block; }
.sp { display: none; }

/* ===============================
   ヘッダー
=============================== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.header_wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 20px;
}

.logo img {
    max-height: 50px;
}

/* ===============================
   グローバルナビ（PC）
=============================== */
.gnav.pc {
    margin-left: auto; /* ロゴの右に寄せる */
}

.gnav_wrapper.pc {
    display: flex;
    gap: 30px;
}

.gnav_wrapper.pc li a {
    color: #ffffff;
    font-weight: bold;
    padding: 8px 12px;
    transition: 0.3s;
}

.gnav_wrapper.pc li a:hover {
    color: #ffcc00;
}

/* ===============================
   グローバルナビ（SP）
=============================== */
.gnav_wrapper.sp {
    display: flex;           /* flex に固定 */
    flex-direction: column;
    background: #111;
    position: fixed;
    top: 0;
    right: -100%;            /* 初期は右外に隠す */
    width: 80%;
    height: 100%;
    padding: 60px 20px;
    transition: right 0.3s ease;
    z-index: 9999;
    overflow-y: auto;
}

.gnav_wrapper.sp.open {
    right: 0;                /* 開いた状態 */
}

.gnav_wrapper.sp li {
    margin-bottom: 20px;
}

.gnav_wrapper.sp a {
    color: #fff;
    font-size: 18px;
    display: flex;
    align-items: center;
}

.menu-icon {
    margin-right: 8px;
    font-size: 20px;
}

/* ===============================
   メニューボタン（SP）
=============================== */
.menu-btn {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #ffffff;;
    display: none; /* PCでは非表示 */
}

/* ===============================
   モバイル専用デザイン
=============================== */
@media (max-width: 767px) {
    .pc { display: none; }
    .sp { display: block; }

    .menu-btn {
        display: block;
    }

    .gnav.pc {
        display: none;
    }
}

/* ===============================
   管理バー対応（WordPressログイン時）
=============================== */
body.admin-bar header {
    top: 32px;
}
@media screen and (max-width: 782px) {
    body.admin-bar header {
        top: 46px;
    }
}

/* ===============================
   その他要素（SPメニュー内）
=============================== */
.contact-buttons {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-btn {
    display: block;
    background: #ffcc00;
    color: #111;
    text-align: center;
    padding: 12px;
    border-radius: 6px;
    font-weight: bold;
    transition: 0.3s;
}

.contact-btn:hover {
    background: #ffaa00;
}

.privacy-link {
    margin-top: 30px;
    color: #aaa;
    font-size: 14px;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(44, 62, 80, 0.8), rgba(52, 73, 94, 0.8)), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 800"><rect fill="%23f8f9fa" width="1200" height="800"/><polygon fill="%23e9ecef" points="0,800 400,600 800,700 1200,500 1200,800"/><polygon fill="%23dee2e6" points="0,800 300,650 600,750 900,550 1200,600 1200,800"/></svg>');
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-content {
    max-width: 800px;
    padding: 0 2rem;
    animation: fadeInUp 1s ease-out;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-button {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.4);
    color: white;
}

/* ===============================
   以下（ニュース・サービス・フッター等）
=============================== */

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Section Styling */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #2c3e50;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: #e74c3c;
    margin: 1rem auto;
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    color: #7f8c8d;
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

/* Services */
.services {
    padding: 5rem 0;
    background: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid #e74c3c;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.service-card p {
    color: #7f8c8d;
    line-height: 1.6;
}

/* Content Styling */
.content-area {
    padding: 6rem 0 2rem;
}

.post-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.post-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 2rem;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.post-thumbnail img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.post-title a {
    color: #2c3e50;
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: bold;
}

.post-title a:hover {
    color: #e74c3c;
}

.post-meta {
    color: #7f8c8d;
    font-size: 0.9rem;
    margin: 1rem 0;
}

.read-more {
    color: #e74c3c;
    text-decoration: none;
    font-weight: bold;
}

.read-more:hover {
    text-decoration: underline;
}

/* Pagination */
.pagination {
    text-align: center;
    margin: 3rem 0;
}

.page-numbers {
    display: inline-block;
    padding: 0.5rem 1rem;
    margin: 0 0.25rem;
    background: white;
    border: 2px solid #e9ecef;
    color: #2c3e50;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.page-numbers:hover,
.page-numbers.current {
    background: #e74c3c;
    border-color: #e74c3c;
    color: white;
}

/* Forms */
.search-form {
    max-width: 400px;
    margin: 0 auto;
}

.search-form input[type="search"] {
    flex: 1;
    padding: 0.8rem 1rem;
    border: 2px solid #e9ecef;
    border-radius: 25px 0 0 25px;
    outline: none;
    font-size: 1rem;
}

.search-form button {
    background: #e74c3c;
    color: white;
    border: 2px solid #e74c3c;
    border-left: none;
    border-radius: 0 25px 25px 0;
    padding: 0.8rem 1.5rem;
    cursor: pointer;
    font-weight: bold;
}

/* Comments */
.comments-area {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e9ecef;
}

.comment-body {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.comment-meta {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.comment-author-avatar {
    margin-right: 1rem;
}

.comment-author-avatar img {
    border-radius: 50%;
}

.comment-date {
    color: #7f8c8d;
    font-size: 0.9rem;
}

.comment-form-comment textarea,
.comment-form-author input,
.comment-form-email input,
.comment-form-url input {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #e9ecef;
    border-radius: 5px;
    font-size: 1rem;
    margin-top: 0.5rem;
}

.comment-form-comment textarea {
    min-height: 120px;
    resize: vertical;
}

/* Footer */
footer {
    background: #2c3e50;
    color: white;
    padding: 8rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: #e74c3c;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 1rem;
    text-align: center;
    color: #bdc3c7;
}

/* Special Sections */
.recent-projects {
    padding: 5rem 0;
    background: #f8f9fa;
}

.project-details {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    margin: 2rem 0;
}

.entry-header {
    margin-bottom: 2rem;
    text-align: center;
}

.entry-title {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.entry-meta {
    color: #7f8c8d;
    font-size: 1rem;
}

.entry-thumbnail {
    margin: 2rem 0;
    text-align: center;
}

.entry-content {
    font-size: 1.1rem;
    line-height: 1.8;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
    color: #2c3e50;
    margin: 2rem 0 1rem;
}

.entry-content p {
    margin-bottom: 1.5rem;
}

.entry-footer {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
}

.post-navigation {
    margin: 2rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.post-navigation a {
    color: #e74c3c;
    text-decoration: none;
    font-weight: bold;
}

.post-navigation a:hover {
    text-decoration: underline;
}

/* Archive Pages */
.archive-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.archive-title {
    font-size: 2.5rem;
    color: #ffffff;
}

.archive-description {
    color: #7f8c8d;
    font-size: 1.1rem;
    margin-top: 1rem;
}

/* Error 404 */
.error-404 {
    text-align: center;
    padding: 5rem 2rem;
}

.error-404 h1 {
    font-size: 6rem;
    color: #e74c3c;
    margin-bottom: 1rem;
}

.error-404 h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        padding: 0 1rem;
    }
    
    nav ul {
        gap: 1rem;
        font-size: 0.9rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .entry-title {
        font-size: 2rem;
    }
    
    .post-navigation {
        flex-direction: column;
        gap: 1rem;
    }
}


/* 運営サービスセクション */
.operated-services {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* サービスカード共通 */
.operated-services .service-card {
    flex: 1 1 45%;
    max-width: 45%;
    background: #ffffff;
    padding: 2rem;
    border-radius: 15px;
    color: #bdc3c7;
}

/* サムネイル部分 */
.operated-services .service-thumb {
    margin-bottom: 1rem;
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #ecf0f1, #bdc3c7);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: #7f8c8d;
    font-weight: bold;
}

/* リンク */
.operated-services .service-link {
    color: #e74c3c;
    text-decoration: none;
    font-weight: bold;
}

/* スマホ対応（1カラム縦積み） */
@media screen and (max-width: 768px) {
    .operated-services .service-card {
        flex: 1 1 100%;
        max-width: 100%;
    }
}
/* サービスカードのタイトルを白に */
.operated-services .service-card h3 {
    color: #2c3e50;
}

/* ==========================================
   お知らせセクション
   ========================================== */

.news-section {
    background: #ffffff;
    padding: 80px 0;
    position: relative;
}
.news-section {
    background: #ffffff !important;
}
.news-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.news-section .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.news-section .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
}

.news-section .section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

.news-section .section-subtitle {
    font-size: 1.1rem;
    color: #666;
    font-weight: 400;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.news-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
}

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

.news-date {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 12px 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.news-content {
    padding: 24px;
}

.news-category {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 12px;
}

/* カテゴリー別のスタイル */
.news-category.news {
    background: #e3f2fd;
    color: #1976d2;
}

.news-category.important {
    background: #ffebee;
    color: #c62828;
}

.news-category.event {
    background: #e8f5e8;
    color: #2e7d32;
}

.news-category.campaign {
    background: #fff3e0;
    color: #f57c00;
}

.news-category.maintenance {
    background: #fce4ec;
    color: #ad1457;
}

.news-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 12px;
    line-height: 1.4;
}

.news-excerpt {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

.news-more {
    text-align: center;
    margin-top: 40px;
}

.btn-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 16px 32px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-more:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    color: white;
    text-decoration: none;
}

.btn-more::after {
    content: '→';
    transition: transform 0.3s ease;
}

.btn-more:hover::after {
    transform: translateX(4px);
}

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

.news-card {
    animation: fadeInUp 0.6s ease-out both;
}

.news-card:nth-child(1) { animation-delay: 0.1s; }
.news-card:nth-child(2) { animation-delay: 0.2s; }
.news-card:nth-child(3) { animation-delay: 0.3s; }

/* レスポンシブ対応 */
@media (max-width: 1024px) {
    .news-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .news-section {
        padding: 60px 0;
    }

    .news-section .section-title {
        font-size: 2rem;
		color: #2c3e50;
    }

    .news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .news-section .container {
        padding: 0 16px;
    }

    .news-content {
        padding: 20px;
    }

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

    .btn-more {
        padding: 14px 28px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .news-section {
        padding: 50px 0;
    }

    .news-section .section-title {
        font-size: 1.8rem;
		color: #2c3e50;
    }

    .news-section .section-header {
        margin-bottom: 40px;
    }

    .news-content {
        padding: 16px;
    }

    .news-title {
        font-size: 1rem;
        margin-bottom: 10px;
    }

    .news-excerpt {
        font-size: 0.9rem;
    }

    .btn-more {
        padding: 12px 24px;
        font-size: 0.85rem;
    }
}

/* ダークモード対応（オプション） */
@media (prefers-color-scheme: dark) {
    .news-section {
        background: #1a1a1a;
    }

    .news-card {
        background: #2d2d2d;
        color: #e0e0e0;
    }

    .news-section .section-title {
        color: #ffffff;
    }

    .news-section .section-subtitle {
        color: #b0b0b0;
    }

    .news-title {
        color: #ffffff;
    }

    .news-excerpt {
        color: #b0b0b0;
    }

    .news-card:hover {
        box-shadow: 0 12px 40px rgba(255, 255, 255, 0.1);
    }
}

/* 印刷用スタイル */
@media print {
    .news-section {
        background: white;
        padding: 40px 0;
    }

    .news-card {
        box-shadow: none;
        border: 1px solid #ddd;
        break-inside: avoid;
        margin-bottom: 20px;
    }

    .btn-more {
        display: none;
    }

    .news-date {
        background: #333 !important;
        -webkit-print-color-adjust: exact;
    }
}

.news-category.important {
    background: #ffebee;
    color: #c62828;
}

.news-category.news {
    background: #e3f2fd;
    color: #1976d2;
}

.news-category.event {
    background: #e8f5e8;
    color: #2e7d32;
}

.news-category.maintenance {
    background: #fce4ec;
    color: #ad1457;
}

.news-category.campaign {
    background: #fff3e0;
    color: #f57c00;
}

@media (max-width: 768px) {
    .post-navigation > div {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .nav-previous, .nav-next {
        order: 2;
    }
    
    .nav-center {
        order: 1;
    }
}

@media (max-width: 768px) {
    .post-navigation > div {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .nav-previous, .nav-next {
        order: 2;
    }
    
    .nav-center {
        order: 1;
    }
}

/* ロゴ部分 */
header .logo a {
    font-size: 1.6rem;        /* 文字を大きめに */
    font-weight: 700;         /* 太字で視認性アップ */
    color: #ffffff;           /* 白字 */
    text-shadow: 0 2px 4px rgba(0,0,0,0.5); /* 影で読みやすく */
}

/* グローバルメニュー */
header nav ul li a {
    font-size: 1.1rem;         /* 少し大きく */
    font-weight: 600;          /* 中太字 */
    letter-spacing: 0.05em;    /* 読みやすい文字間隔 */
    color: #f5f5f5;            /* 明るい色でコントラスト確保 */
    text-shadow: 0 1px 3px rgba(0,0,0,0.4);
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

/* ホバー時 */
header nav ul li a:hover {
    color: #ffcc00;            /* 目立つアクセントカラー */
    text-shadow: 0 0 6px rgba(255,204,0,0.7);
}

/* ナビゲーション内のリンク色も調整 */
header nav ul li a {
    color: #ffffff;
    font-weight: 600;
    text-shadow: 0 1px 3px rgba(0,0,0,0.4);
    transition: color 0.3s ease;
}
header nav ul li a:hover {
    color: #ffcc00;
}
@media (max-width: 768px) {
/* SP用（ハンバーガーメニュー展開時） */
nav.mobile-nav {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    padding: 1rem;
    border-radius: 0 0 8px 8px; /* 下に角丸を付けてもOK */
}
}
@media (max-width: 768px) {
/* ===============================
   SPメニューボタン（MENU / CLOSE切替）
=============================== */
.menu-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.2rem;
    font-weight: bold;
    color: #ffffff;
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 10001;
}

.menu-btn i {
    font-size: 24px;
    transition: transform 0.3s ease;
}

/* メニュー開閉時にアイコン回転 */
.menu-btn.open i {
    transform: rotate(90deg);
}

/* MENU / CLOSE テキスト */
.menu-text {
    display: inline-block;
    transition: all 0.3s ease;
}
}

/* ==========================================
   お知らせセクション - iPhone Safari対応修正
   背景を白、テキストを黒に強制固定
   ========================================== */

.news-section {
    background: #ffffff !important;
    padding: 80px 0;
    position: relative;
}

/* セクションタイトルの色を強制的に黒系に */
.news-section .section-title {
    color: #2c3e50 !important;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
}

/* サブタイトルも黒系に */
.news-section .section-subtitle {
    color: #666 !important;
    font-size: 1.1rem;
    font-weight: 400;
}

/* ニュースカードの背景と文字色 */
.news-card {
    background: white !important;
    color: #333 !important;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
}

/* ニュース日付の背景と文字色 */
.news-date {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: white !important;
    padding: 12px 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* ニュースタイトルを黒に */
.news-title {
    color: #2c3e50 !important;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.4;
}

/* ニュース本文を黒に */
.news-excerpt {
    color: #666 !important;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* カテゴリーバッジの色を固定 */
.news-category.important {
    background: #ffebee !important;
    color: #c62828 !important;
}

.news-category.news {
    background: #e3f2fd !important;
    color: #1976d2 !important;
}

.news-category.event {
    background: #e8f5e8 !important;
    color: #2e7d32 !important;
}

.news-category.maintenance {
    background: #fce4ec !important;
    color: #ad1457 !important;
}

.news-category.campaign {
    background: #fff3e0 !important;
    color: #f57c00 !important;
}

/* ダークモード対応を無効化（常にライトモード表示） */
@media (prefers-color-scheme: dark) {
    .news-section {
        background: #ffffff !important;
    }

    .news-card {
        background: white !important;
        color: #333 !important;
    }

    .news-section .section-title {
        color: #2c3e50 !important;
    }

    .news-section .section-subtitle {
        color: #666 !important;
    }

    .news-title {
        color: #2c3e50 !important;
    }

    .news-excerpt {
        color: #666 !important;
    }

    .news-card:hover {
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15) !important;
    }
}

/* より詳細セレクターで確実に適用 */
.news-section .container .news-grid .news-card .news-content .news-title {
    color: #2c3e50 !important;
}

.news-section .container .news-grid .news-card .news-content .news-excerpt {
    color: #666 !important;
}