﻿/*
 * style.css - イベントサイト用スタイルシート
 *
 * カラーパレット:
 * グリーン: #4BAD4F (メインカラー)
 * オレンジ: #FFC107 (アクセントカラー)
 * ダークグレー: #333
 * ミディアムグレー: #666
 * ライトグレー: #f4f4f4
 * ホワイト: #fff
 */

/* --- 基本設定 --- */
body {
    font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    color: #4BAD4F;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #FFC107;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* --- ヘッダー --- */
header {
    background-color: #4BAD4F;
    color: #fff;
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header h1 {
    margin: 0;
}

header h1 a {
    color: #fff;
    text-decoration: none;
    display: block;
}

/* ヘッダーのロゴ画像用スタイル */
header h1 img {
    width: 300px;
    height: auto;
    max-width: 100%;
    display: block;
}

header nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

header nav ul li {
    margin-left: 30px;
}

header nav ul li a {
    color: #fff;
    font-weight: bold;
    font-size: 16px;
    padding: 5px 0;
    position: relative;
}

header nav ul li a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0;
    height: 2px;
    background-color: #FFC107;
    transition: width 0.3s ease;
}

header nav ul li a:hover::after,
header nav ul li a.active::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    font-size: 28px;
    cursor: pointer;
    color: #fff;
}

/* --- メインコンテンツ共通 --- */
main {
    padding: 40px 0;
}

section {
    margin-bottom: 40px;
}

h2 {
    font-size: 36px;
    color: #333;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 10px;
}

h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #FFC107;
    border-radius: 2px;
}

h3 {
    font-size: 28px;
    color: #4BAD4F;
    margin-top: 30px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

h3 .fas, h3 .fab {
    margin-right: 10px;
    color: #FFC107;
}

h4 {
    font-size: 22px;
    color: #666;
    margin-top: 25px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

h4 .fas, h4 .fab {
    margin-right: 8px;
    color: #4BAD4F;
}

.intro-text {
    font-size: 18px;
    line-height: 1.8;
    text-align: center;
    margin-bottom: 40px;
    color: #666;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.note-text {
    font-size: 14px;
    color: #888;
    text-align: center;
    margin-top: 30px;
    line-height: 1.6;
}

/* --- ボタン共通スタイル --- */
.btn {
    display: inline-block;
    background-color: #FFC107;
    color: #fff;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    text-align: center;
    white-space: nowrap;
}

.btn:hover {
    background-color: #e6a000;
    transform: translateY(-2px);
    color: #fff;
}

.btn.small-btn {
    padding: 8px 18px;
    font-size: 14px;
}

/* --- index.html --- */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://miyoshi-cci.or.jp/festival/miyoshifes/images/festival.jpg') no-repeat center center/cover;
    color: #fff;
    text-align: center;
    padding: 100px 20px;
    margin-bottom: 40px;
}

.hero-content h2 {
    color: #fff;
    font-size: 56px;
    margin-bottom: 20px;
}

.hero-content h2::after {
    background-color: #fff;
}

.hero-content p {
    font-size: 24px;
    margin-bottom: 40px;
    line-height: 1.5;
}

.event-summary {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
}

.summary-item {
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.summary-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.summary-item .fas {
    font-size: 60px;
    color: #FFC107;
    margin-bottom: 20px;
}

.summary-item h3 {
    font-size: 24px;
    color: #333;
    margin-top: 0;
    margin-bottom: 15px;
    justify-content: center;
}

.summary-item h3 .fas {
    color: #FFC107;
}

.summary-item p {
    font-size: 16px;
    color: #666;
    margin-bottom: 25px;
}

.summary-item .read-more {
    color: #4BAD4F;
    text-decoration: none;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    transition: color 0.3s ease, transform 0.2s ease;
    white-space: nowrap;
}

.summary-item .read-more:hover {
    color: #FFC107;
    transform: none;
}

.summary-item .read-more .fas {
    font-size: 14px;
    margin-left: 8px;
    color: #4BAD4F;
    transition: transform 0.3s ease;
}

.summary-item .read-more:hover .fas {
    transform: translateX(5px);
    color: #FFC107;
}

/* --- news-preview & news.html 共通スタイル --- */
/* news-preview .news-list と news.html の .news-list に共通して適用される */
.news-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.news-item {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    padding: 0; /* aタグにパディングを移すため */
}

/* ニュースアイテム全体のリンク */
.news-item a {
    text-decoration: none;
    color: inherit;
    display: flex; /* Flexboxを適用してコンテンツを整列しやすくする */
    flex-direction: column; /* 縦方向にアイテムを並べる */
    padding: 20px; /* ここでパディングを適用 */
    transition: background-color 0.3s ease;
    height: 100%; /* 親の高さに合わせて伸びる */
    box-sizing: border-box; /* パディングを幅・高さに含める */
}

.news-item a:hover {
    background-color: #f9f9f9;
}

.news-item .news-thumb {
    width: 100%; /* 親要素の幅いっぱいに広げる */
    height: 200px; /* 固定高さ */
    object-fit: cover; /* 画像が指定の比率に合うようにトリミングまたは伸縮 */
    border-radius: 5px; /* 角丸を適用 */
    margin: 0 auto 15px auto; /* 上下に余白、左右は自動で中央寄せ */
    display: block; /* 中央寄せのためにブロック要素に */
}

.news-item .news-date {
    font-size: 14px;
    color: #888;
    display: block;
    margin-bottom: 10px;
}

.news-item h3 {
    font-size: 20px;
    margin-top: 0;
    margin-bottom: 10px;
    color: #333;
    display: block;
    text-align: left;
    justify-content: flex-start; /* flexboxでのアイコン位置調整（アイコンがない場合は影響なし） */
}

.news-item p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
    flex-grow: 1; /* コンテンツが少ない場合でもread-moreを下に寄せる */
}

.news-item .read-more {
    display: inline-flex;
    align-items: center;
    color: #4BAD4F;
    font-weight: bold;
    font-size: 15px;
    margin-top: auto; /* コンテンツが少ない場合でも下に寄せる */
    padding: 0;
}

.news-item .read-more .fas {
    margin-left: 5px;
    color: #FFC107;
    transition: transform 0.3s ease;
}

.news-item .read-more:hover .fas {
    transform: translateX(3px);
}

.news-item:hover { /* ホバーエフェクトはnews-item自体に適用 */
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}


/* --- event-details.html --- */
.event-detail-category {
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.event-detail-category h3 {
    margin-top: 0;
    border-bottom: 2px solid #FFC107;
    padding-bottom: 10px;
    margin-bottom: 25px;
    font-size: 30px;
}

.event-detail-item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 30px;
    margin-bottom: 30px;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.event-detail-item:nth-child(even) {
    flex-direction: row-reverse;
}

.event-detail-item img {
    flex: 1 1 400px;
    min-width: 300px;
    height: 250px;
    object-fit: cover;
}

.event-detail-content {
    flex: 1 1 calc(100% - 430px);
    padding: 20px 30px;
}

.event-detail-content h4 {
    color: #333;
    font-size: 24px;
    margin-top: 0;
    margin-bottom: 10px;
    justify-content: flex-start;
}

.event-detail-content p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 20px;
}

/* --- access-map.html --- */
.access-map-section {
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.access-map-section h3 {
    margin-top: 0;
    border-bottom: 2px solid #FFC107;
    padding-bottom: 10px;
    margin-bottom: 25px;
}

.access-map-section p {
    font-size: 17px;
    color: #555;
    margin-bottom: 10px;
}

.access-map-frame {
    margin-top: 30px;
    margin-bottom: 40px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.access-map-frame iframe {
    width: 100%;
    height: 450px;
    border: 0;
    display: block;
}

.transport-info {
    margin-top: 40px;
}

.transport-info h4 {
    margin-top: 30px;
    margin-bottom: 15px;
    color: #4BAD4F;
    font-size: 24px;
    border-left: 5px solid #FFC107;
    padding-left: 15px;
    display: flex;
    align-items: center;
}

.transport-info h4 .fas {
    color: #FFC107;
    margin-right: 10px;
}

.transport-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.transport-info ul li {
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 5px;
    padding: 15px 20px;
    margin-bottom: 10px;
    font-size: 16px;
    color: #555;
    display: flex;
    align-items: flex-start;
}

.transport-info ul li .fas {
    color: #FFC107;
    margin-right: 10px;
    margin-top: 2px;
}

/* --- marche-shoplist.html 関連 --- */
.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch; /* iOSでの滑らかなスクロール */
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.shop-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px; /* 小さな画面で横スクロールを有効にするための最小幅 */
}

.shop-table th,
.shop-table td {
    padding: 15px;
    border: 1px solid #ddd;
    text-align: left;
    vertical-align: top;
}

.shop-table thead th {
    background-color: #4BAD4F;
    color: #fff;
    font-weight: bold;
    border-color: #4BAD4F;
}

.shop-table tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

.shop-table tbody tr:hover {
    background-color: #ffecc0;
}

.shop-table tbody tr td a {
    color: #FFC107;
    font-weight: bold;
    display: inline-block;
    margin-right: 15px;
}

.shop-table tbody tr td a .fab {
    font-size: 20px;
}

/* モバイル向けスタイル（テーブルを積み重ねる） */
@media (max-width: 600px) {
    .shop-table, .shop-table thead, .shop-table tbody, .shop-table th, .shop-table td, .shop-table tr {
        display: block;
    }
    .shop-table thead {
        display: none;
    }
    .shop-table tr {
        margin-bottom: 20px;
        border: 1px solid #ddd;
        border-radius: 8px;
        overflow: hidden;
    }
    .shop-table td {
        border-bottom: 1px solid #eee;
        position: relative;
        padding-left: 100px; /* data-labelのスペース */
        text-align: left; /* ここをrightからleftに修正しました！ */
    }
    .shop-table td:last-child {
        border-bottom: 0;
    }
    .shop-table td::before {
        content: attr(data-label);
        position: absolute;
        left: 0;
        width: 90px;
        padding-left: 10px;
        white-space: nowrap;
        text-align: left;
        font-weight: bold;
        color: #4BAD4F;
    }
}

.shop-category {
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.shop-category h3 {
    margin-top: 0;
    border-bottom: 2px solid #FFC107;
    padding-bottom: 10px;
    margin-bottom: 25px;
    font-size: 30px;
}

.shop-list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.shop-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.shop-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.shop-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid #eee;
}

.shop-card h4 {
    font-size: 22px;
    color: #333;
    margin: 15px 20px 5px;
    padding-left: 0;
}

.shop-card .shop-genre {
    font-size: 15px;
    color: #4BAD4F;
    font-weight: bold;
    margin: 0 20px 10px;
}

.shop-card .shop-description {
    font-size: 15px;
    color: #666;
    margin: 0 20px 15px;
    flex-grow: 1;
}

.shop-card .shop-link {
    display: inline-flex;
    align-items: center;
    color: #4BAD4F;
    font-weight: bold;
    margin: 0 20px 10px;
    font-size: 15px;
}

.shop-card .shop-link .fas,
.shop-card .shop-link .fab {
    margin-right: 5px;
    font-size: 16px;
    color: #FFC107;
}

.shop-card .shop-link:hover {
    color: #FFC107;
}



/* --- kids-experience-details.html --- */
.experience-section {
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.experience-section h3 {
    margin-top: 0;
    border-bottom: 2px solid #FFC107;
    padding-bottom: 10px;
    margin-bottom: 25px;
    font-size: 30px;
}

.experience-section .intro-text {
    text-align: left;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    margin-top: -10px;
    margin-bottom: 30px;
}

.experience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.experience-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.experience-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.experience-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid #eee;
}

.experience-card h4 {
    font-size: 22px;
    color: #333;
    margin: 15px 20px 5px;
    padding-left: 0;
}

.experience-card .experience-meta {
    font-size: 15px;
    color: #666;
    margin: 0 20px 10px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.experience-card .experience-meta .fas {
    color: #FFC107;
    margin-right: 5px;
}

.experience-card p {
    font-size: 15px;
    color: #666;
    margin: 0 20px 15px;
    flex-grow: 1;
}

.experience-card ul {
    list-style: none;
    padding: 0 20px;
    margin: 0 0 20px;
    font-size: 15px;
    color: #555;
}

.experience-card ul li {
    margin-bottom: 5px;
}

.experience-card .btn {
    align-self: center;
    margin-bottom: 20px;
    width: calc(100% - 40px);
    max-width: 200px;
}


/* --- フッター --- */
footer {
    background-color: #333;
    color: #fff;
    padding: 30px 0;
    text-align: center;
    font-size: 14px;
    margin-top: 60px;
}

footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

footer p {
    margin: 0 0 15px 0;
}

.social-links {
    margin-top: 10px;
}

.social-links a {
    color: #fff;
    font-size: 24px;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #4BAD4F;
}

/* --- news-detail.html 関連 --- */
.news-detail-section {
    background-color: #fff;
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 40px;
}

.news-detail-section h2 {
    font-size: 38px;
    color: #333;
    text-align: left;
    margin-bottom: 20px;
    padding-bottom: 10px;
    position: relative;
}

.news-detail-section h2::after {
    left: 0;
    transform: translateX(0);
}

.news-meta {
    font-size: 15px;
    color: #888;
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
}

.news-meta .fas {
    margin-right: 5px;
    color: #FFC107;
}

.news-content {
    line-height: 1.8;
    font-size: 17px;
    color: #444;
}

.news-content p {
    margin-bottom: 1em;
}

.news-content h3 {
    font-size: 26px;
    color: #4BAD4F;
    margin-top: 35px;
    margin-bottom: 15px;
    border-left: 5px solid #FFC107;
    padding-left: 15px;
    display: block;
    text-align: left;
}

.news-content ul {
    list-style: disc;
    margin: 15px 0 20px 25px;
    padding: 0;
    color: #555;
}

.news-content ul li {
    margin-bottom: 8px;
}

.news-content img {
    margin: 25px auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.news-navigation {
    margin-top: 40px;
    text-align: center;
    border-top: 1px solid #eee;
    padding-top: 30px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* --- レスポンシブデザイン --- */
@media (max-width: 768px) {
    header .container {
        flex-wrap: wrap;
    }

    header h1 {
        flex-basis: 100%;
        text-align: center;
        margin-bottom: 15px;
    }

    header h1 img {
        width: auto;
        height: 35px;
        max-width: 80%;
    }

    header nav {
        flex-basis: 100%;
        text-align: center;
    }

    header nav ul {
        flex-direction: column;
        display: none;
        width: 100%;
        background-color: #4BAD4F;
        position: absolute;
        left: 0;
        top: 65px;
        padding: 10px 0;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }

    header nav ul.active {
        display: flex;
    }

    header nav ul li {
        margin: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    header nav ul li:last-child {
        border-bottom: none;
    }

    header nav ul li a {
        display: block;
        padding: 15px 20px;
        color: #fff;
    }

    header nav ul li a::after {
        display: none;
    }

    .menu-toggle {
        display: block;
        position: absolute;
        right: 20px;
        top: 20px;
    }

    .hero-content h2 {
        font-size: 40px;
    }

    .hero-content p {
        font-size: 18px;
    }

    h2 {
        font-size: 30px;
    }

    h3 {
        font-size: 24px;
        margin-left: 0;
        justify-content: center;
    }
    h3 .fas, h3 .fab {
        margin-right: 8px;
    }

    h4 {
        font-size: 20px;
    }

    .intro-text {
        font-size: 16px;
    }

    .event-summary {
        flex-direction: column;
        align-items: center;
    }

    .summary-item {
        max-width: 90%;
    }

    .event-detail-item {
        flex-direction: column;
    }

    .event-detail-item:nth-child(even) {
        flex-direction: column;
    }

    .event-detail-item img {
        width: 100%;
        height: 200px;
    }

    .event-detail-content {
        padding: 20px;
    }

    .access-map-frame iframe {
        height: 300px;
    }

    .transport-info ul li {
        font-size: 15px;
    }

    .shop-list-grid {
        grid-template-columns: 1fr;
    }

    .experience-grid {
        grid-template-columns: 1fr;
    }

    .timetable-table th,
    .timetable-table td {
        padding: 10px;
        font-size: 14px;
    }

    /* レスポンシブ調整 for news-detail */
    .news-detail-section {
        padding: 25px;
    }
    .news-detail-section h2 {
        font-size: 30px;
    }
    .news-content {
        font-size: 16px;
    }
    .news-content h3 {
        font-size: 22px;
    }
    .news-navigation {
        flex-direction: column;
        gap: 15px;
    }
    .news-navigation .btn {
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }

    /* レスポンシブ調整 for news-item (news-preview & news.html 共通) */
    .news-item .news-thumb {
        height: 180px;
    }
    .news-item a {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    header h1 {
        font-size: 24px;
    }

    header h1 img {
        height: 30px;
    }

    .hero-content h2 {
        font-size: 32px;
    }

    .hero-content p {
        font-size: 16px;
    }

    h2 {
        font-size: 26px;
    }

    h3 {
        font-size: 20px;
    }

    h4 {
        font-size: 18px;
    }

    .btn {
        padding: 10px 20px;
        font-size: 15px;
    }

    .summary-item .fas {
        font-size: 50px;
    }

    .news-item h3 {
        font-size: 18px;
    }

    .news-detail-section {
        padding: 15px;
    }
    .news-detail-section h2 {
        font-size: 24px;
    }
    .news-content h3 {
        font-size: 20px;
        padding-left: 10px;
    }
    .news-item .news-thumb {
        height: 150px;
    }
    .news-item a {
        padding: 10px;
    }
}
/* --- stage-timetable.html --- */
.timetable-section {
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.timetable-section h3 {
    margin-top: 0;
    border-bottom: 2px solid #FFC107;
    padding-bottom: 10px;
    margin-bottom: 25px;
    font-size: 30px;
}

.timetable-responsive-table {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.timetable-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    min-width: 600px;
}

.timetable-table th,
.timetable-table td {
    border: 1px solid #ddd;
    padding: 12px 15px;
    text-align: left;
    vertical-align: middle;
}

.timetable-table th {
    background-color: #4BAD4F; /* ここで背景色がグリーン (#4BAD4F) に設定されています */
    color: #fff;
    font-weight: bold;
    white-space: nowrap;
}

.timetable-table td {
    background-color: #fff;
    color: #333;
}

.timetable-table tbody tr:nth-child(even) td {
    background-color: #f5f5f5;
}

.timetable-table tbody tr:hover td {
    background-color: #ffecc0;
}

.timetable-table .break-time {
    background-color: #FFC107;
    color: #fff;
    font-weight: bold;
    text-align: center;
}
/* --- Artist Showcase Section --- */
.artist-showcase-section {
    background-color: #f4f4f4; /* ライトグレー */
    border-radius: 10px;
    padding: 40px 0; /* 上下のパディング */
    margin-top: 60px; /* タイムテーブルとの間隔 */
    margin-bottom: 40px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.artist-showcase-section h2 {
    /* 共通のh2スタイルを継承 */
}
.artist-showcase-section h2 .fas {
    color: #FFC107; /* アイコンの色 */
    margin-right: 10px;
}

.artist-showcase-section .intro-text {
    /* 共通のintro-textスタイルを継承 */
    margin-bottom: 50px;
}

.artist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 0 20px; /* containerのパディングに合わせる */
}

.artist-card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    text-align: center; /* カード内のテキストを中央寄せ */
    padding-bottom: 20px; /* ボタンとカード下部のスペース */
}

.artist-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.artist-card .artist-photo {
    width: 100%;
    height: 200px; /* 固定高さで揃える */
    object-fit: cover; /* 画像の比率を維持してトリミング */
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.artist-card h4 {
    font-size: 24px; /* 少し大きめに */
    color: #4BAD4F; /* グリーン */
    margin: 15px 15px 5px; /* 上下、左右 */
    padding-left: 0; /* h4共通スタイルのパディングをリセット */
    justify-content: center; /* flexアイテム（h4）内でアイコンを中央寄せにするため */
}

.artist-card .artist-genre {
    font-size: 16px;
    color: #FFC107; /* オレンジ */
    font-weight: bold;
    margin-bottom: 10px;
    margin-top: 0;
}

.artist-card .artist-description {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
    margin: 0 20px 20px; /* 上下、左右 */
    flex-grow: 1; /* 内容の少ないカードでもボタンが下揃えになるように */
}

.artist-card .btn {
    align-self: center; /* ボタンを中央寄せ */
    width: auto; /* ボタンの幅をコンテンツに合わせる */
    padding: 10px 25px; /* ボタンのパディングを調整 */
    font-size: 15px;
}

/* レスポンシブ調整 */
@media (max-width: 768px) {
    .artist-showcase-section {
        padding: 30px 0;
    }
    .artist-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
    .artist-card h4 {
        font-size: 22px;
    }
}

@media (max-width: 480px) {
    .artist-showcase-section .intro-text {
        font-size: 15px;
        margin-bottom: 30px;
    }
    .artist-grid {
        grid-template-columns: 1fr; /* モバイルでは1列に積み重ね */
        padding: 0 15px;
    }
    .artist-card {
        padding-bottom: 15px;
    }
    .artist-card .artist-photo {
        height: 180px;
    }
    .artist-card h4 {
        font-size: 20px;
        margin: 10px 10px 5px;
    }
    .artist-card .artist-genre {
        font-size: 15px;
    }
    .artist-card .artist-description {
        font-size: 14px;
        margin: 0 15px 15px;
    }
    .artist-card .btn {
        padding: 8px 20px;
        font-size: 14px;
    }
}
/* --- Highlight Images Section (トップページ用) --- */
.highlight-images-section {
    background-color: #f9f9f9; /* ライトグレーより少し濃い色 */
    border-radius: 10px;
    padding: 60px 0; /* 上下のパディングを少し大きく */
    margin-bottom: 40px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.highlight-images-section h2 {
    /* 共通のh2スタイルを継承 */
}

.highlight-images-section h2 .fas {
    color: #FFC107; /* アイコンの色をオレンジに */
    margin-right: 10px;
}

.highlight-images-section .intro-text {
    /* 共通のintro-textスタイルを継承 */
    margin-bottom: 50px;
}

.highlight-grid {
    display: grid;
    /* ここを修正しました。常に1列で表示します。 */
    grid-template-columns: 1fr; /* 1列に設定 */
    gap: 25px; /* カード間の隙間 */
    padding: 0 20px; /* .containerのパディングと合わせる */
}

.highlight-item {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center; /* キャプションを中央寄せ */
    max-width: 600px; /* 画像の最大幅を制限して、非常に広い画面で大きくなりすぎないように調整 */
    margin: 0 auto; /* 中央寄せ */
}

.highlight-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.highlight-item .highlight-image {
    width: 100%;
    height: auto; /* 高さを自動調整に変更。必要に応じて最小高さを設定しても良いでしょう */
    max-height: 400px; /* 画像の最大高さを設定（任意） */
    object-fit: cover; /* 画像の比率を維持してトリミング */
    display: block;
    border-bottom: 1px solid #eee;
}

.highlight-item .image-caption {
    font-size: 16px;
    color: #666;
    padding: 15px;
    margin: 0;
    font-weight: bold;
}

/* レスポンシブ調整 */
/* 1列表示に固定するため、メディアクエリでのグリッド設定は不要になりますが、
   既存の画像高さの調整は残しておきます。 */
@media (max-width: 768px) {
    .highlight-images-section {
        padding: 40px 0;
    }
    .highlight-item {
        max-width: 100%; /* 小さい画面では横幅いっぱいに */
    }
    .highlight-item .highlight-image {
        height: 180px; /* 既存の画像高さ調整を維持 */
    }
    .highlight-item .image-caption {
        font-size: 15px;
        padding: 12px;
    }
}

@media (max-width: 480px) {
    .highlight-images-section {
        padding: 30px 0;
    }
    .highlight-grid {
        padding: 0 15px;
    }
    .highlight-item .highlight-image {
        height: 200px; /* モバイルで少し大きく見せる */
    }
    .highlight-item .image-caption {
        font-size: 14px;
        padding: 10px;
    }
}
/* --- 汎用コンテンツセクション --- */
.content-section {
    background-color: #fff; /* 背景色を白に */
    border-radius: 10px;
    padding: 60px 0; /* 上下のパディング */
    margin-bottom: 40px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08); /* 影 */
}

/* 共通のh2スタイルを継承しつつ、セクションに合わせて調整 */
.content-section h2 {
    margin-top: 0;
    margin-bottom: 40px; /* 共通スタイルから継承 */
}

.content-section h2 .fas {
    color: #FFC107; /* アイコンの色をオレンジに */
    margin-right: 10px;
}

/* 共通のintro-textスタイルを継承 */
.content-section .intro-text {
    margin-bottom: 40px;
}

.content-area {
    /* コンテンツエリア全体のスタイル */
    padding: 0 20px; /* containerのパディングに合わせる */
    max-width: 900px; /* 記事コンテンツの最大幅を制限 */
    margin: 0 auto; /* 中央寄せ */
}

.content-area p {
    font-size: 17px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 1.5em; /* 段落間のスペース */
}

/* 画像（単独で配置、中央寄せ） */
.content-image-wrapper {
    text-align: center; /* 画像とキャプションを中央寄せ */
    margin: 30px 0; /* 上下の余白 */
}

.content-image-wrapper .content-image-full {
    max-width: 100%;
    height: auto;
    display: block; /* 中央寄せのためにブロック要素に */
    margin: 0 auto; /* 中央寄せ */
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.content-image-wrapper .image-caption {
    font-size: 15px;
    color: #888;
    margin-top: 10px;
    font-weight: normal; /* 太字を解除 */
}

/* 画像とテキストの並列ブロック */
.content-media-block {
    display: flex;
    flex-wrap: wrap; /* 小さい画面で折り返す */
    align-items: center; /* 垂直方向中央揃え */
    gap: 30px; /* 画像とテキストの間の隙間 */
    margin: 40px 0; /* 上下の余白 */
    background-color: #fcfcfc;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.content-media-block.left {
    flex-direction: row; /* 画像が左 */
}

.content-media-block.right {
    flex-direction: row-reverse; /* 画像が右 */
}

.content-media-block .content-image-thumb {
    flex: 0 0 auto; /* 画像は伸縮しない */
    width: 300px; /* サムネイル画像の幅 */
    height: 200px; /* サムネイル画像の高さ */
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.content-media-block .content-text-block {
    flex: 1; /* 残りのスペースを埋める */
    min-width: 280px; /* テキストブロックの最小幅 */
}

.content-media-block .content-text-block h3 {
    font-size: 24px;
    color: #4BAD4F; /* グリーン */
    margin-top: 0;
    margin-bottom: 10px;
    border-bottom: none; /* 共通h3スタイルの下線を解除 */
    padding-bottom: 0;
    justify-content: flex-start; /* 左寄せ */
}

.content-media-block .content-text-block p {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 1em;
}

.content-media-block .image-caption {
    font-size: 14px;
    color: #aaa;
    margin-top: 5px;
    text-align: left;
    font-weight: normal;
}

/* レスポンシブ調整 */
@media (max-width: 768px) {
    .content-section {
        padding: 40px 0;
    }
    .content-area {
        padding: 0 15px;
    }
    .content-area p {
        font-size: 16px;
    }
    .content-media-block {
        flex-direction: column; /* 画像とテキストを縦に積み重ねる */
        text-align: center; /* 全体を中央寄せ */
        padding: 20px;
        gap: 20px;
    }
    .content-media-block.right {
        flex-direction: column; /* rightクラスも縦積みに変更 */
    }
    .content-media-block .content-image-thumb {
        width: 100%; /* 画像を横幅いっぱいに */
        height: 200px;
        margin-bottom: 0; /* 不要なマージンをリセット */
    }
    .content-media-block .content-text-block {
        min-width: unset; /* 最小幅をリセット */
    }
    .content-media-block .content-text-block h3 {
        text-align: center; /* 見出しを中央寄せ */
        font-size: 22px;
    }
    .content-media-block .content-text-block p {
        font-size: 15px;
    }
    .content-media-block .image-caption {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .content-section {
        padding: 30px 0;
    }
    .content-section .intro-text {
        font-size: 15px;
    }
    .content-area p {
        font-size: 15px;
    }
    .content-image-wrapper .content-image-full {
        height: 200px; /* モバイルで画像を少し小さく */
    }
    .content-media-block .content-image-thumb {
        height: 180px;
    }
    .content-media-block .content-text-block h3 {
        font-size: 20px;
    }
    .content-media-block .content-text-block p {
        font-size: 14px;
    }
}
