/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Sep 17 2025 | 14:30:29 */
/* ================================================================
   小倉城お城まつり専用CSS - 他ページ影響防止版
   特定のクラス内でのみ動作し、既存サイトに影響しません
   ================================================================ */

/* 小倉城お城まつり専用CSS - クリーン版 */

/* ページID 14564のタイトル非表示 */
.page-id-14564 .entry-title,
.page-id-14564 h1.page-title,
.page-id-14564 .page-header h1,
.page-id-14564 .entry-header h1 {
    display: none !important;
}

.kokura-castle-event {
    font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    width: 100%;
    margin: 0;
    padding: 0;
}

.kokura-castle-event * {
    box-sizing: border-box;
}

.kokura-castle-event .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* メインビジュアル挿入スペース */
.kokura-castle-event .main-visual {
    text-align: center;
    padding: 40px 0;
    background: white;
    border-bottom: 3px solid #8b4513;
}

.kokura-castle-event .main-visual img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* ヒーロー */
.kokura-castle-event .hero {
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), 
                linear-gradient(45deg, #654321, #8b4513);
    color: white;
    text-align: center;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
    margin: 0;
}

.kokura-castle-event .hero-content {
    position: relative;
    z-index: 2;
}

.kokura-castle-event .hero h1 {
    font-size: 3.5rem;
    margin: 0 0 20px 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
    color: white;
    font-weight: bold;
}

.kokura-castle-event .hero-subtitle {
    font-size: 1.5rem;
    margin: 0 0 30px 0;
    color: #ffd700;
}

.kokura-castle-event .hero-dates {
    background: rgba(255,255,255,0.15);
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 15px;
    padding: 20px;
    margin: 30px auto;
    max-width: 600px;
}

.kokura-castle-event .hero-dates h2 {
    font-size: 1.5rem;
    margin: 0 0 15px 0;
    color: #ffd700;
}

.kokura-castle-event .hero-dates p {
    margin: 5px 0;
    color: white;
    font-size: 1.1rem;
}

/* イベント情報 */
.kokura-castle-event .event-info {
    background: white;
    padding: 60px 0;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.1);
    margin: 0;
}

.kokura-castle-event .section-title {
    text-align: center;
    font-size: 2.5rem;
    margin: 0 0 50px 0;
    color: #333;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    font-weight: bold;
}

/* event-grid を flexbox で */
.kokura-castle-event .event-grid {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin: 40px -15px 0 -15px;
}

.kokura-castle-event .info-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-left: 5px solid #8b4513;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 calc(33.333% - 30px);
    flex: 0 0 calc(33.333% - 30px);
    margin: 15px;
    min-height: 250px;
}

.kokura-castle-event .info-card h3 {
    color: #8b4513;
    font-size: 1.4rem;
    margin: 0 0 15px 0;
    font-weight: bold;
}

.kokura-castle-event .info-card p {
    margin: 10px 0;
    color: #333;
    line-height: 1.6;
}

/* アトラクション */
.kokura-castle-event .attractions {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 60px 0;
    margin: 0;
}

.kokura-castle-event .attractions .section-title {
    color: white;
}

.kokura-castle-event .attractions-grid {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin: 0 -12px;
}

.kokura-castle-event .attraction-card {
    background: rgba(255,255,255,0.1);
    border-radius: 15px;
    padding: 25px;
    border: 1px solid rgba(255,255,255,0.2);
    -webkit-box-flex: 0;
    -ms-flex: 0 0 calc(25% - 24px);
    flex: 0 0 calc(25% - 24px);
    margin: 12px;
    min-height: 200px;
}

.kokura-castle-event .attraction-card h4 {
    font-size: 1.2rem;
    margin: 0 0 15px 0;
    color: #ffd700;
    font-weight: bold;
}

.kokura-castle-event .attraction-card ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.kokura-castle-event .attraction-card li {
    margin: 8px 0;
    padding-left: 20px;
    color: white;
    position: relative;
}

.kokura-castle-event .attraction-card li::before {
    content: "✦";
    position: absolute;
    left: 0;
    color: #ffd700;
}

/* 武将隊 */
.kokura-castle-event .busho-section {
    background: #2c3e50;
    color: white;
    padding: 60px 0;
    position: relative;
    margin: 0;
}

.kokura-castle-event .busho-content {
    position: relative;
    z-index: 2;
}

/* 武将隊セクションの見出し色を明示的に指定 */
.kokura-castle-event .busho-section .section-title {
    color: #ffd700 !important;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.kokura-castle-event .performance-schedule {
    background: rgba(255,255,255,0.15);
    border-radius: 15px;
    padding: 30px;
    margin: 30px 0 0 0;
    border: 1px solid rgba(255,255,255,0.2);
}

.kokura-castle-event .performance-schedule h3 {
    color: #ffd700;
    margin: 0 0 20px 0;
    font-size: 1.4rem;
    font-weight: bold;
}

.kokura-castle-event .performance-schedule h4 {
    color: #ffd700;
    margin: 0 0 10px 0;
    font-size: 1.2rem;
    font-weight: bold;
}

.kokura-castle-event .performance-schedule p {
    color: white;
    margin: 5px 0;
}

/* 特別企画 */
.kokura-castle-event .special-section {
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    color: white;
    padding: 60px 0;
    margin: 0;
}

/* オシロボッツビジュアル挿入スペース */
.kokura-castle-event .oshirobot-visual {
    text-align: center;
    padding: 30px 0;
    background: rgba(255,255,255,0.1);
    border-radius: 20px;
    margin: 30px 0;
}

.kokura-castle-event .oshirobot-visual img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.kokura-castle-event .special-card {
    background: rgba(255,255,255,0.15);
    border-radius: 20px;
    padding: 40px;
    margin: 30px 0;
    border: 2px solid rgba(255,255,255,0.2);
}

.kokura-castle-event .special-card h3 {
    font-size: 1.8rem;
    margin: 0 0 20px 0;
    color: white;
    font-weight: bold;
}

.kokura-castle-event .special-card p {
    margin: 15px 0;
    color: white;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* CTA */
.kokura-castle-event .cta-section {
    background: #34495e;
    color: white;
    padding: 60px 0;
    text-align: center;
    margin: 0;
}

.kokura-castle-event .cta-button {
    display: inline-block;
    background: #ff6b35 !important;
    color: white !important;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none !important;
    font-weight: bold;
    font-size: 1.1rem;
    margin: 20px 10px;
    border: none;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
}

/* お問い合わせ */
.kokura-castle-event .contact-info {
    background: #2c3e50;
    color: white;
    padding: 40px 0;
    text-align: center;
    margin: 0;
}

.kokura-castle-event .contact-info h3 {
    color: white;
    font-size: 1.5rem;
    margin: 0 0 20px 0;
    font-weight: bold;
}

.kokura-castle-event .contact-info p {
    color: white;
    margin: 10px 0;
    font-size: 1.1rem;
}

/* レスポンシブ */
@media (max-width: 768px) {
    .kokura-castle-event .hero h1 {
        font-size: 2.5rem;
    }

    .kokura-castle-event .hero-subtitle {
        font-size: 1.2rem;
    }

    .kokura-castle-event .section-title {
        font-size: 2rem;
    }

    /* より具体的なセレクタで強制適用 */
    .kokura-castle-event .main-visual .container,
    .kokura-castle-event .hero .container,
    .kokura-castle-event .event-info .container,
    .kokura-castle-event .attractions .container,
    .kokura-castle-event .busho-section .container,
    .kokura-castle-event .special-section .container,
    .kokura-castle-event .cta-section .container,
    .kokura-castle-event .contact-info .container {
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 1% !important;
        margin-right: 1% !important;
        max-width: none !important;
        width: 98% !important;
        box-sizing: border-box !important;
    }
    
    /* さらに強力にするため、全体のコンテナも調整 */
    .kokura-castle-event {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .kokura-castle-event .hero {
        padding: 60px 0;
    }

    .kokura-castle-event .event-info,
    .kokura-castle-event .attractions,
    .kokura-castle-event .busho-section,
    .kokura-castle-event .special-section,
    .kokura-castle-event .cta-section {
        padding: 40px 0;
    }

    .kokura-castle-event .info-card {
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        margin: 10px 0;
    }

    .kokura-castle-event .attraction-card {
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        margin: 10px 0;
    }

    .kokura-castle-event .hero-dates {
        margin: 20px auto;
        padding: 15px;
    }

    .kokura-castle-event .main-visual,
    .kokura-castle-event .oshirobot-visual {
        padding: 20px 0;
    }
}

@media (max-width: 480px) {
    .kokura-castle-event .hero h1 {
        font-size: 2rem;
    }

    .kokura-castle-event .hero-subtitle {
        font-size: 1rem;
    }

    /* より具体的なセレクタで強制適用 */
    .kokura-castle-event .main-visual .container,
    .kokura-castle-event .hero .container,
    .kokura-castle-event .event-info .container,
    .kokura-castle-event .attractions .container,
    .kokura-castle-event .busho-section .container,
    .kokura-castle-event .special-section .container,
    .kokura-castle-event .cta-section .container,
    .kokura-castle-event .contact-info .container {
        padding: 0 !important;
        width: 98% !important;
        box-sizing: border-box !important;
    }

    .kokura-castle-event .cta-button {
        display: block;
        margin: 10px auto;
        max-width: 250px;
    }
}