/* 年間行事ページのスタイル */

/* メインコンテンツ */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* イベントバナー */
.event-banner {
    text-align: center;
    margin-bottom: 40px;
}

.event-banner img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* イベント紹介セクション */
.event-intro {
    margin-bottom: 40px;
}

.event-intro-content {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.intro-image {
    flex-shrink: 0;
}

.intro-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.intro-text {
    flex: 1;
    font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", "Meiryo", "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}

.intro-text p {
    margin: 0 0 15px 0;
}

.intro-text p:last-child {
    margin-bottom: 0;
}

/* 年間行事カレンダー */
.event-calendar {
    margin-bottom: 40px;
    background-color: #f8f8f8;
    border-radius: 8px;
    padding: 30px;
}

.calendar-content h2 {
    font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", "Meiryo", "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin: 0 0 20px 0;
    text-align: center;
    border-bottom: 2px solid #333;
    padding-bottom: 10px;
}

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

.calendar-column p {
    font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", "Meiryo", "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    margin: 0 0 10px 0;
    padding: 8px 0;
    border-bottom: 1px solid #e0e0e0;
}

.calendar-column p:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.calendar-column a {
    color: #333;
    text-decoration: none;
    font-weight: bold;
}

.calendar-column a:hover {
    color: #666;
    text-decoration: underline;
}

/* 行事詳細セクション */
.event-details {
    background-color: #fff;
    border: 2px solid #333;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 40px;
}

.details-content h2 {
    font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", "Meiryo", "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin: 0 0 30px 0;
    text-align: center;
    border-bottom: 2px solid #333;
    padding-bottom: 10px;
}

.event-item {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e0e0e0;
}

.event-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.event-item h3 {
    font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", "Meiryo", "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin: 0 0 15px 0;
    background-color: #f0f0f0;
    padding: 20px 15px;
    border-radius: 4px;
    border-left: 4px solid #333;
}

.event-item p {
    font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", "Meiryo", "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    margin: 0 0 15px 0;
}

.event-item p:last-child {
    margin-bottom: 0;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .main-content {
        padding: 20px 15px;
    }
    
    .event-intro-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .intro-text {
        font-size: 15px;
    }
    
    .calendar-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .calendar-column p {
        font-size: 14px;
    }
    
    .event-calendar {
        padding: 20px;
    }
    
    .calendar-content h2 {
        font-size: 20px;
    }
    
    .event-details {
        padding: 20px;
    }
    
    .details-content h2 {
        font-size: 20px;
    }
    
    .event-item h3 {
        font-size: 18px;
    }
    
    .event-item p {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .main-content {
        padding: 15px 10px;
    }
    
    .intro-text {
        font-size: 14px;
    }
    
    .calendar-column p {
        font-size: 13px;
    }
    
    .event-calendar {
        padding: 15px;
    }
    
    .calendar-content h2 {
        font-size: 18px;
    }
    
    .event-details {
        padding: 15px;
    }
    
    .details-content h2 {
        font-size: 18px;
    }
    
    .event-item h3 {
        font-size: 16px;
    }
    
    .event-item p {
        font-size: 14px;
    }
}
