
.program-modal {
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.5);
    
    /* 非表示状態 */
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

/* モーダルが表示される時のクラス */
.program-modal.show {
    display: block; /* displayも変更 */
    opacity: 1;
}

        .modal-content {
            background-color: #ffffff;
            margin: 0 auto 5%;
            padding: 0;
            width: 90%;
            max-width: 800px;
            border-radius: 8px;
            max-height: 80vh;
            overflow: hidden;
        }

        .close {
            color: #ffffff;
            position: absolute;
            right: 15px;
            top: 15px;
            font-size: 24px;
            font-weight: bold;
            cursor: pointer;
            z-index: 9;
        }

        .close:hover {
            color: #ffffff;
        }

        .modal-header {
            background-color: #00683d;
            padding: 20px 30px;
            border-bottom: 1px solid #ddd;
            position: relative;
        }

        .modal-header h2 {
            margin: 0;
            font-size: 1.5em;
            color: #ffffff;
            line-height: 1.5em;
        }

        .modal-body {
            padding: 20px;
            line-height: 1.6;
            overflow-y: auto;
            max-height: calc(80vh - 80px);
        }

        .modal-body h3 {
            color: #333;
            margin: 20px 0 10px 0;
            font-size: 1.2em;
            border-bottom: 2px solid #ddd;
            padding-bottom: 5px;
        }

        .modal-body h4 {
            color: #555;
            margin: 15px 0 8px 0;
            font-size: 1.1em;
        }

        .program-table {
            width: 100%;
            border-collapse: collapse;
            margin: 15px 0;
            border: 1px solid #ddd;
        }

        .program-table th {
            background-color: #f0f0f0;
            padding: 10px;
            text-align: left;
            font-weight: bold;
            border-bottom: 1px solid #ddd;
        }

        .program-table td {
            padding: 10px;
            border-bottom: 1px solid #eee;
            vertical-align: top;
        }

        .program-table tr:nth-child(even) {
            background-color: #f9f9f9;
        }

        .time-cell {
            font-weight: bold;
            white-space: nowrap;
            width: 120px;
        }

        .info-box {
            background-color: #f8f9fa;
            border: 1px solid #ddd;
            padding: 15px;
            margin: 15px 0;
            border-radius: 4px;
        }

        .info-box h4 {
            margin-top: 0;
            color: #333;
        }

        .venue-info {
            background-color: #fff3cd;
            border: 1px solid #ffeaa7;
            padding: 15px;
            margin: 15px 0;
            border-radius: 4px;
        }

        .venue-info h4 {
            color: #856404;
            margin-top: 0;
        }
        .venue-info p {
            color: #000;
        }

        .highlight {
            background-color: #fff3cd;
            padding: 2px 4px;
            border-radius: 3px;
        }

        .stage-section {
            background-color: #f8f9fa;
            border: 1px solid #ddd;
            padding: 15px;
            margin: 15px 0;
            border-radius: 4px;
        }

        .stage-section h4 {
            margin-top: 0;
            color: #333;
        }

        /* レスポンシブ対応 */
        @media (max-width: 768px) {
            .modal-content {
                width: 95%;
                margin: 10% auto;
            }

            .modal-header {
                padding: 15px;
            }

            .modal-header h2 {
                font-size: 1.3em;
            }

            .modal-body {
                padding: 15px;
            }

            .program-table {
                font-size: 0.9em;
            }

            .program-table th,
            .program-table td {
                padding: 8px;
            }

            .time-cell {
                width: auto;
                white-space: normal;
            }
        }

        