/* 会場ページ専用スタイル */

.venue-page {
    padding-top: 0;
    background: linear-gradient(180deg, #0a0a0a 0%, #1a1a1a 100%);
    min-height: 100vh;
}

/* ヒーローセクション */
.venue-hero {
    padding: 120px 0 80px;
    text-align: center;
    background:
        linear-gradient(135deg, rgba(0, 208, 132, 0.1) 0%, rgba(0, 180, 120, 0.1) 100%),
        radial-gradient(circle at 50% 50%, rgba(0, 208, 132, 0.05), transparent 70%);
    border-bottom: 1px solid rgba(0, 208, 132, 0.2);
    margin-bottom: 60px;
    position: relative;
    overflow: hidden;
}

.venue-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 30% 50%, rgba(0, 208, 132, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(0, 208, 132, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.venue-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, #00d084, #00f5a0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    font-family: 'Inter', 'Noto Sans JP', sans-serif;
    position: relative;
}

.venue-info {
    display: flex;
    gap: 30px;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

.venue-info .date,
.venue-info .location {
    font-size: 1.25rem;
    color: #e0e0e0;
    font-weight: 500;
}

.venue-info .date {
    color: #00d084;
    font-weight: 600;
}

/* スケジュールセクション */
.schedule-section {
    margin-bottom: 80px;
}

.schedule-section h2 {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 40px;
    text-align: center;
    font-family: 'Inter', 'Noto Sans JP', sans-serif;
    font-weight: 600;
}

.schedule-wrapper {
    background:
        linear-gradient(145deg, rgba(26, 26, 26, 0.8), rgba(42, 42, 42, 0.8)),
        radial-gradient(circle at top right, rgba(0, 208, 132, 0.05), transparent);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(0, 208, 132, 0.15);
    backdrop-filter: blur(10px);
}

/* スケジュールヘッダー */
.schedule-header {
    display: grid;
    grid-template-columns: 100px 1fr;
    background:
        linear-gradient(135deg, rgba(0, 208, 132, 0.15) 0%, rgba(0, 180, 120, 0.15) 100%);
    border-bottom: 2px solid rgba(0, 208, 132, 0.3);
}

.time-header {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: #fff;
    padding: 20px 10px;
    border-right: 1px solid rgba(0, 208, 132, 0.2);
}

.room-headers {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.room-header {
    text-align: center;
    padding: 15px;
    border-right: 1px solid rgba(0, 208, 132, 0.2);
}

.room-header:last-child {
    border-right: none;
}

.room-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #00d084;
    margin-bottom: 5px;
    font-family: 'Inter', 'Noto Sans JP', sans-serif;
}

.room-capacity {
    font-size: 0.9rem;
    color: #a0a0a0;
}

/* スケジュールボディ */
.schedule-body {
    background: rgba(0, 0, 0, 0.3);
}

.time-slot {
    display: grid;
    grid-template-columns: 100px 1fr;
    border-bottom: 1px solid rgba(0, 208, 132, 0.1);
    min-height: 80px;
    transition: all 0.3s ease;
}

.time-slot:hover {
    background: rgba(0, 208, 132, 0.03);
}

.time {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 10px;
    color: #fff;
    font-weight: 500;
    font-size: 0.95rem;
    border-right: 1px solid rgba(0, 208, 132, 0.2);
    background: rgba(0, 0, 0, 0.2);
}

.sessions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.session {
    padding: 20px;
    border-right: 1px solid rgba(0, 208, 132, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.session::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(0, 208, 132, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.session:hover::before {
    opacity: 1;
}

.session:last-child {
    border-right: none;
}

.session:hover {
    background: rgba(0, 208, 132, 0.08);
    transform: translateY(-2px);
}

.session-number {
    font-size: 1.75rem;
    font-weight: 700;
    color: #00d084;
    margin-bottom: 8px;
    font-family: 'Inter', 'Noto Sans JP', sans-serif;
}

.session-title {
    font-size: 1.2rem;
    color: #c0c0c0;
    text-align: center;
    font-weight: 500;
    position: relative;
    z-index: 1;
    line-height: 1.5;
}

.session-title strong {
    display: block;
    margin-top: 8px;
    font-size: 0.9em;
    color: #00f5a0;
    font-weight: 600;
}

.session[colspan="3"] {
    grid-column: 1 / -1;
    padding: 30px;
}

/* ランチブレイク用スタイル */
.lunch-break {
    background: linear-gradient(135deg, rgba(0, 208, 132, 0.1) 0%, rgba(0, 180, 120, 0.1) 100%);
}

.lunch-break .session {
    background: rgba(0, 208, 132, 0.05);
}

.lunch-break .session-title {
    color: #00f5a0;
    font-weight: 600;
    font-size: 1.3rem;
}

/* 最後のEpic Games Japan用強調スタイル */
.keynote-session {
    background: linear-gradient(135deg, rgba(0, 208, 132, 0.15) 0%, rgba(0, 180, 120, 0.15) 100%);
    border: 2px solid rgba(0, 208, 132, 0.3);
}

.keynote-session .session {
    background: linear-gradient(135deg, rgba(0, 208, 132, 0.1) 0%, rgba(0, 180, 120, 0.1) 100%);
}

.keynote-session .session-title {
    color: #00f5a0;
    font-weight: 700;
    font-size: 1.3rem;
}

.keynote-session .session-title strong {
    font-size: 1em;
    margin-top: 10px;
}

/* After Party用スタイル */
.after-party {
    background: linear-gradient(135deg, rgba(0, 208, 132, 0.12) 0%, rgba(0, 255, 160, 0.12) 100%);
}

.after-party .session {
    background: rgba(0, 208, 132, 0.08);
}

.after-party .session-title {
    color: #00f5a0;
    font-weight: 600;
    font-size: 1.3rem;
}

.after-party .session-title a {
    color: #00d084;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.after-party .session-title a:hover {
    color: #00f5a0;
}

/* ブースマップセクション */
.booth-section {
    margin-bottom: 80px;
}

.booth-section h2 {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 40px;
    text-align: center;
    font-family: 'Inter', 'Noto Sans JP', sans-serif;
    font-weight: 600;
}

.booth-map {
    background:
        linear-gradient(145deg, rgba(26, 26, 26, 0.8), rgba(42, 42, 42, 0.8)),
        radial-gradient(circle at center, rgba(0, 208, 132, 0.05), transparent);
    border-radius: 12px;
    padding: 60px;
    text-align: center;
    border: 1px solid rgba(0, 208, 132, 0.15);
    backdrop-filter: blur(10px);
}

/* 企業詳細セクション */
.company-details {
    margin-bottom: 120px;
    padding-bottom: 60px;
}

.company-details h2 {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 40px;
    text-align: center;
    font-family: 'Inter', 'Noto Sans JP', sans-serif;
    font-weight: 600;
}

.company-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.company-item {
    background:
        linear-gradient(145deg, rgba(26, 26, 26, 0.8), rgba(42, 42, 42, 0.8)),
        radial-gradient(circle at top right, rgba(0, 208, 132, 0.05), transparent);
    border-radius: 12px;
    padding: 30px;
    border: 1px solid rgba(0, 208, 132, 0.15);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.company-item::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 208, 132, 0.08) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.company-item:hover::before {
    opacity: 1;
}

.company-item:hover {
    background:
        linear-gradient(145deg, rgba(32, 32, 32, 0.9), rgba(48, 48, 48, 0.9)),
        radial-gradient(circle at top right, rgba(0, 208, 132, 0.1), transparent);
    transform: translateY(-4px);
    box-shadow:
        0 15px 35px rgba(0, 208, 132, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border-color: rgba(0, 208, 132, 0.3);
}

.company-name {
    font-size: 1.5rem;
    color: #00d084;
    margin-bottom: 20px;
    font-family: 'Inter', 'Noto Sans JP', sans-serif;
    font-weight: 600;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(0, 208, 132, 0.3);
    position: relative;
    z-index: 1;
}

.company-content {
    margin-top: 20px;
    position: relative;
    z-index: 1;
}

.company-content h4 {
    color: #00d084;
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 20px;
    margin-bottom: 10px;
    font-family: 'Inter', 'Noto Sans JP', sans-serif;
}

.company-content p {
    color: #e0e0e0;
    line-height: 1.8;
    margin-bottom: 15px;
}

.company-content .session-title {
    font-size: 1.15rem;
    color: #00f5a0;
    font-weight: 500;
    text-align: left;
}

.placeholder {
    color: #808080;
    font-size: 1.1rem;
}

.note {
    color: #a0a0a0;
    font-style: italic;
}

/* ナビゲーションのアクティブ状態 */
.nav-menu a.active {
    color: #00d084;
    position: relative;
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #00d084, #00f5a0);
}

/* モーダルスタイル */
.session-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

.session-modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    background:
        linear-gradient(145deg, rgba(26, 26, 26, 0.98), rgba(42, 42, 42, 0.98)),
        radial-gradient(circle at top right, rgba(0, 208, 132, 0.1), transparent);
    border-radius: 16px;
    padding: 40px;
    max-width: 800px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    border: 2px solid rgba(0, 208, 132, 0.3);
    box-shadow: 0 20px 60px rgba(0, 208, 132, 0.3);
    animation: modalSlideIn 0.3s ease-out;
    backdrop-filter: blur(10px);
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2rem;
    color: #fff;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: rgba(0, 208, 132, 0.2);
    transform: rotate(90deg);
    color: #00d084;
}

.modal-company-name {
    font-size: 1.75rem;
    color: #00d084;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(0, 208, 132, 0.3);
    font-family: 'Inter', 'Noto Sans JP', sans-serif;
    font-weight: 600;
}

.modal-body h4 {
    color: #00d084;
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 25px;
    margin-bottom: 12px;
    font-family: 'Inter', 'Noto Sans JP', sans-serif;
}

.modal-body h4:first-child {
    margin-top: 0;
}

.modal-body p {
    color: #e0e0e0;
    line-height: 1.8;
    margin-bottom: 15px;
}

.modal-body .session-title-modal {
    font-size: 1.15rem;
    color: #00f5a0;
    font-weight: 500;
}

.modal-content::-webkit-scrollbar {
    width: 8px;
}

.modal-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

.modal-content::-webkit-scrollbar-thumb {
    background: rgba(0, 208, 132, 0.5);
    border-radius: 4px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 208, 132, 0.7);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .venue-hero h1 {
        font-size: 2rem;
    }

    .venue-info {
        flex-direction: column;
        gap: 10px;
    }

    .company-item {
        padding: 20px;
    }

    .company-name {
        font-size: 1.25rem;
    }

    .company-content h4 {
        font-size: 1rem;
    }

    .schedule-header {
        grid-template-columns: 60px 1fr;
    }

    .time-slot {
        grid-template-columns: 60px 1fr;
    }

    .time {
        font-size: 0.8rem;
        padding: 15px 5px;
    }

    .room-name {
        font-size: 1.2rem;
    }

    .room-capacity {
        font-size: 0.75rem;
    }

    .session {
        padding: 15px 10px;
    }

    .session-number {
        font-size: 1.25rem;
    }

    .session-title {
        font-size: 0.85rem;
    }

    .session-title strong {
        font-size: 0.8em;
        margin-top: 5px;
    }

    .keynote-session .session-title {
        font-size: 1rem;
    }

    .modal-content {
        padding: 30px 20px;
        width: 95%;
    }

    .modal-company-name {
        font-size: 1.4rem;
        padding-right: 30px;
    }

    .modal-body h4 {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .room-headers {
        grid-template-columns: 1fr;
    }

    .sessions {
        grid-template-columns: 1fr;
    }

    .room-header {
        border-bottom: 1px solid rgba(0, 208, 132, 0.1);
        border-right: none;
    }

    .session {
        border-bottom: 1px solid rgba(0, 208, 132, 0.1);
        border-right: none;
    }
}
