/* ==========================================
   内側ページ：スケジュール / クラプロ / 出店 / イベント / マップ
========================================== */

/* ---------- 共有ページヘッダー ---------- */

.gallery-title,
.schedule-header,
.projects-header,
.page-header {
    text-align: center;
    margin-bottom: 2.5rem;
    padding: 0 0.5rem 2rem;
    border-bottom: 1px solid var(--hub-line, rgba(180, 205, 255, 0.22));
    position: relative;
    /* 動く背景の上で文字がチカチカしないよう、合成レイヤーを固定する */
    isolation: isolate;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.gallery-title::before,
.schedule-header::before,
.projects-header::before,
.page-header::before {
    content: "";
    position: absolute;
    inset: -12% 4% -6%;
    background:
        radial-gradient(ellipse 55% 70% at 50% 40%, rgba(6, 10, 20, 0.82), rgba(6, 10, 20, 0.55) 55%, transparent 78%),
        radial-gradient(ellipse 45% 55% at 30% 40%, rgba(90, 140, 220, 0.14), transparent 70%),
        radial-gradient(ellipse 40% 50% at 75% 25%, rgba(180, 120, 255, 0.07), transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.gallery-title > *,
.schedule-header > *,
.projects-header > *,
.page-header > * {
    position: relative;
    z-index: 1;
}

.gallery-title p,
.schedule-header p,
.projects-header p,
.page-header p {
    font-family: "Orbitron", sans-serif;
    font-size: 0.72rem;
    letter-spacing: 0.28em;
    color: var(--hub-gold, #d4b56a);
    text-transform: uppercase;
    margin: 0 0 0.85rem;
}

.gallery-title h1,
.schedule-header h1,
.projects-header h1,
.page-header h1 {
    color: var(--hub-ink, #e8eef8);
    font-size: clamp(1.85rem, 4.5vw, 2.6rem);
    font-weight: 700;
    margin: 0;
    letter-spacing: 0.04em;
    text-shadow: none;
    line-height: 1.35;
    line-break: strict;
    word-break: normal;
    overflow-wrap: break-word;
    text-wrap: balance;
}

.gallery-title span,
.schedule-header span,
.projects-header span,
.page-header span {
    color: var(--hub-muted, rgba(232, 238, 248, 0.72));
    font-size: 0.95rem;
    line-height: 1.7;
    line-break: strict;
    word-break: normal;
    overflow-wrap: break-word;
    text-wrap: pretty;
}

/* ---------- ページシェル余白 ---------- */

.gallery-page,
.schedule-page,
.projects-page,
.page-shell {
    padding: 2rem 0 3.5rem;
    min-height: auto;
    margin-bottom: 0;
}

.schedule-page {
    max-width: none;
    margin: 0;
    padding-left: 0;
    padding-right: 0;
}

/* ---------- タブ / フィルター（ハブの day-tab と同じ矩形） ---------- */

.schedule-tabs,
.project-filter,
.place-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.schedule-controls {
    position: sticky;
    top: 80px;
    z-index: 40;
    margin: 0 0 2rem;
    padding: 0.85rem 0 0.7rem;
    background: linear-gradient(
        to bottom,
        rgba(6, 10, 20, 0.22) 48%,
        rgba(6, 10, 20, 0.06) 78%,
        transparent 100%
    );
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.schedule-controls .schedule-tabs,
.schedule-controls .place-filter {
    margin-bottom: 0.7rem;
}

.schedule-controls .place-filter {
    margin-bottom: 0;
}

@media (max-width: 900px) {
    .schedule-controls {
        top: 70px;
    }
}

.place-filter {
    margin: 0 0 2.5rem;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.project-filter {
    flex-direction: column;
    align-items: center;
}

.project-kind {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.85rem;
}

.kind-btn {
    min-width: 8.5rem;
    text-align: center;
}

.project-filter-row {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.projects-page.is-clubs .project-filter-row,
.projects-page.is-clubs .project-sort {
    display: none;
}

.club-filter-row {
    display: none;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.15rem;
}

.projects-page.is-clubs .club-filter-row {
    display: flex;
}

.club-school-btn {
    min-width: 5.5rem;
    text-align: center;
}

.projects-page:not(.is-clubs) .project-card[data-kind="club"] {
    display: none;
}

.projects-page.is-clubs .project-card[data-kind="project"] {
    display: none;
}

.project-image.is-pending {
    display: grid;
    place-items: center;
    background:
        linear-gradient(180deg, rgba(18, 28, 52, 0.72), rgba(8, 14, 28, 0.92));
    color: var(--hub-muted, rgba(232, 238, 248, 0.55));
    font-family: "Orbitron", sans-serif;
    font-size: 0.72rem;
    letter-spacing: 0.18em;
}

.project-sort {
    display: none;
    margin-top: 0.55rem;
    text-align: center;
}

.project-sort.is-visible {
    display: block;
}

.project-sort-toggle {
    list-style: none;
    cursor: pointer;
    color: rgba(200, 214, 236, 0.48);
    font-family: "Orbitron", sans-serif;
    font-size: 0.58rem;
    letter-spacing: 0.14em;
    user-select: none;
}

.project-sort-toggle::-webkit-details-marker {
    display: none;
}

.project-sort-toggle::after {
    content: " ▾";
    font-size: 0.7em;
}

.project-sort[open] .project-sort-toggle {
    color: rgba(200, 214, 236, 0.7);
}

.project-sort[open] .project-sort-toggle::after {
    content: " ▴";
}

.project-sort-options {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.35rem 0.7rem;
    margin-top: 0.45rem;
}

.sort-btn {
    appearance: none;
    padding: 0;
    border: 0;
    background: none;
    color: rgba(200, 214, 236, 0.46);
    font-family: "Orbitron", sans-serif;
    font-size: 0.56rem;
    letter-spacing: 0.12em;
    cursor: pointer;
}

.sort-btn:hover {
    color: rgba(232, 238, 248, 0.82);
}

.sort-btn.active {
    color: rgba(224, 199, 136, 0.82);
}

.tab,
.filter-btn,
.place-btn,
.kind-btn,
.club-school-btn {
    appearance: none;
    padding: 0.55rem 1rem;
    border-radius: 0;
    border: 1px solid var(--hub-line, rgba(180, 205, 255, 0.22));
    background: transparent;
    color: var(--hub-muted, rgba(232, 238, 248, 0.72));
    font-family: "Orbitron", sans-serif;
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    backdrop-filter: none;
    box-shadow: none;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.schedule-page .tab,
.schedule-page .place-btn {
    background: rgba(6, 10, 20, 0.2);
}

.tab:hover,
.filter-btn:hover,
.place-btn:hover,
.kind-btn:hover,
.club-school-btn:hover {
    transform: none;
    color: #fff;
    border-color: rgba(126, 182, 255, 0.55);
    background: rgba(126, 182, 255, 0.08);
    box-shadow: none;
}

.tab.active,
.filter-btn.active,
.place-btn.active,
.kind-btn.active,
.club-school-btn.active {
    color: #fff;
    border-color: rgba(126, 182, 255, 0.7);
    background: rgba(126, 182, 255, 0.16);
    box-shadow: none;
    font-weight: 500;
}

/* プロジェクト学年：四角ボタンを「全て / 中学 / 高校」で横一列 */
.projects-page:not(.shops-page) .project-filter-row {
    flex-wrap: nowrap;
    align-items: center;
    gap: 1.4rem;
}

.projects-page:not(.shops-page) .project-filter-group {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.projects-page:not(.shops-page) .filter-btn,
.projects-page:not(.shops-page) .kind-btn,
.projects-page:not(.shops-page) .club-school-btn {
    padding: 0.5rem 0.78rem;
}

/* ---------- パネル / カード（角丸ガラス → フラットハブパネル） ---------- */

.live-status,
.timeline-card,
.photo-card,
.project-card,
.modal-box {
    border-radius: 0;
    background: var(--hub-panel, rgba(8, 14, 28, 0.55));
    border: 1px solid var(--hub-line, rgba(180, 205, 255, 0.22));
    backdrop-filter: blur(10px);
    box-shadow: none;
}

/* 一覧カードの blur はスマホで極端に重いため無効化 */
.project-card {
    content-visibility: auto;
    contain-intrinsic-size: 0 320px;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(8, 14, 28, 0.88);
}

@media (max-width: 900px) {
    .project-card,
    .modal-box {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
}

.live-status {
    width: min(700px, 100%);
    margin: 0 auto 2rem;
    padding: 1.35rem 1.4rem;
    gap: 1.1rem;
}

.live-status small {
    font-family: "Orbitron", sans-serif;
    font-size: 0.65rem;
    letter-spacing: 0.18em;
    color: var(--hub-gold, #d4b56a);
}

.live-status h3 {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--hub-ink, #e8eef8);
}

.live-status #nextEvent,
.live-status p {
    color: var(--hub-muted, rgba(232, 238, 248, 0.72));
}

.live-now-row {
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: 0.2rem 0.35rem;
    width: 100%;
    min-width: 0;
    margin-top: 0.06rem;
}

.live-now-label {
    flex: 0 0 auto;
    margin: 0;
    font-size: clamp(0.95rem, 2.8vw, 1.15rem);
    font-weight: 700;
    color: var(--hub-ink, #e8eef8);
    white-space: nowrap;
    line-height: 1.4;
}

.live-now-label-short {
    display: none;
}

/* フェード切替用ビューポート */
.live-now-viewport {
    flex: 1 1 auto;
    min-width: 0;
    position: relative;
    overflow: hidden;
}

.live-now-track {
    position: relative;
    width: 100%;
    min-height: 1.6em;
}

.live-now-slide {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.12rem;
    font-size: clamp(0.95rem, 2.8vw, 1.15rem);
    font-weight: 700;
    line-height: 1.35;
    color: var(--hub-ink, #e8eef8);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
        opacity 0.65s ease,
        visibility 0.65s ease;
}

/* 複数枚時は重ねてフェード（アクティブだけ相対位置で高さを確保） */
.live-now-viewport.is-rotating .live-now-slide:not(.is-active) {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
}

.live-now-slide.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    position: relative;
    z-index: 1;
}

.live-now-title {
    min-width: 0;
    max-width: 100%;
    word-break: normal;
    overflow-wrap: break-word;
    line-break: strict;
}

.live-now-place {
    display: block;
    font-size: 0.62rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    line-height: 1.3;
    color: var(--hub-accent, #7eb6ff);
    opacity: 0.9;
}

/* 開催中なし：ラベルと「なし」を同じ行に横並び */
.live-now-row:has(.live-now-viewport.is-empty) {
    align-items: baseline;
}

.live-now-viewport.is-empty {
    flex: 0 0 auto;
}

.live-now-viewport.is-empty .live-now-track {
    min-height: 0;
    width: auto;
}

.live-now-viewport.is-empty .live-now-slide {
    flex-direction: row;
    align-items: baseline;
    width: auto;
}

.live-now-viewport.is-empty .live-now-title {
    width: auto;
    max-width: none;
    white-space: nowrap;
    word-break: keep-all;
    overflow-wrap: normal;
    line-break: auto;
}

.live-dot {
    margin-top: 1.25rem;
    background: #6ee7a8;
}

.live-status.is-waiting .live-dot,
.live-status.is-ended .live-dot {
    background: #d4b56a;
    animation: none;
    box-shadow: none;
}

@media (max-width: 640px) {
    /* スケジュール：左右余白を詰める */
    body:has(.schedule-page) .container {
        width: 100%;
        max-width: 100%;
        padding-left: 0.85rem;
        padding-right: 0.85rem;
        box-sizing: border-box;
    }

    .live-status {
        width: 100%;
        max-width: none;
        margin-left: 0;
        margin-right: 0;
        padding: 1rem 0.9rem;
        gap: 0.65rem;
        box-sizing: border-box;
    }

    .live-status > div {
        min-width: 0;
        width: 100%;
        flex: 1 1 auto;
        overflow: hidden;
    }

    .live-status small {
        font-size: 0.62rem;
        letter-spacing: 0.14em;
    }

    /* ラベル左・開催中イベントを右（文字大きめ・幅いっぱい） */
    .live-now-row {
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: flex-start;
        gap: 0.3rem 0.4rem;
        width: 100%;
        margin-top: 0.02rem;
    }

    .live-now-label {
        flex: 0 0 auto;
        white-space: nowrap;
        font-size: 0.9rem;
        line-height: 1.4;
        padding-top: 0;
    }

    .live-now-label-long {
        display: none;
    }

    .live-now-label-short {
        display: inline;
    }

    .live-now-viewport {
        flex: 1 1 0;
        width: auto;
        min-width: 0;
    }

    .live-now-viewport.is-empty {
        flex: 0 0 auto;
        min-width: 0;
    }

    .live-now-track {
        min-height: 2.4em;
        width: 100%;
    }

    .live-now-viewport.is-empty .live-now-track {
        min-height: 0;
        width: auto;
    }

    .live-now-slide {
        width: 100%;
        font-size: 1rem;
        font-weight: 700;
        line-height: 1.4;
        gap: 0.15rem;
    }

    .live-now-title {
        width: 100%;
    }

    .live-now-place {
        font-size: 0.68rem;
        letter-spacing: 0.04em;
    }

    .live-status #nextEvent,
    .live-status p {
        font-size: 0.92rem;
        line-height: 1.45;
        word-break: break-word;
        max-width: 100%;
    }

    .live-dot {
        margin-top: 1.32rem;
        width: 12px;
        height: 12px;
        flex-shrink: 0;
    }

    /* 日タブ・場所フィルタは中央寄せチップ（可能なら一列） */
    .schedule-page .schedule-controls {
        top: 72px;
        padding: 0.65rem 0.35rem 0.55rem;
    }

    .schedule-page .schedule-tabs {
        justify-content: center;
        flex-wrap: wrap;
        width: 100%;
        gap: 0.45rem;
    }

    .schedule-page .schedule-tabs .tab {
        flex: 0 0 auto;
        text-align: center;
        padding: 0.55rem 1rem;
        font-size: 0.68rem;
    }

    .schedule-page .place-filter {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: center;
        align-items: center;
        width: 100%;
        gap: 0.3rem;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .schedule-page .place-filter::-webkit-scrollbar {
        display: none;
    }

    .schedule-page .place-filter .place-btn {
        flex: 0 0 auto;
        min-width: 0;
        text-align: center;
        padding: 0.45rem 0.55rem;
        font-size: 0.58rem;
        letter-spacing: 0.06em;
        white-space: nowrap;
    }

    @media (max-width: 380px) {
        .schedule-page .place-filter {
            flex-wrap: wrap;
            row-gap: 0.4rem;
        }
    }

    /* タイムライン：時刻列を圧縮してカードを広く */
    .schedule-page .timeline-item {
        grid-template-columns: 3.6rem 1.35rem minmax(0, 1fr);
        gap: 0.35rem;
        margin-bottom: 1.35rem;
        width: 100%;
        min-width: 0;
    }

    .schedule-page .timeline-time {
        font-size: 0.72rem;
        padding-right: 0.1rem;
        text-align: left;
        align-items: flex-start;
    }

    .schedule-page .timeline-card {
        width: 100%;
        max-width: none;
        min-width: 0;
        box-sizing: border-box;
        padding: 0.9rem 0.85rem;
        overflow: visible;
    }

    /* 演劇タイトル：省略せず文字を小さくして全文表示 */
    .schedule-page .timeline-card h3 {
        font-size: 0.8rem;
        line-height: 1.35;
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
        word-break: normal;
        overflow-wrap: break-word;
        line-break: strict;
        max-width: 100%;
    }

    .schedule-page .timeline-card p {
        font-size: 0.72rem;
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
    }

    /* NOW タイトルも省略しない */
    .live-now-title {
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
        word-break: normal;
        overflow-wrap: break-word;
        line-break: strict;
        font-size: inherit;
    }

    .live-now-slide {
        font-size: 0.92rem;
    }

    .live-now-viewport.is-empty .live-now-slide,
    .live-now-viewport.is-empty .live-now-title {
        white-space: nowrap;
        word-break: keep-all;
        overflow-wrap: normal;
        line-break: auto;
        font-size: 1.2rem;
        line-height: 1.35;
        width: auto;
    }
}

/* ---------- タイムライン ---------- */

.timeline-item {
    margin-bottom: 2rem;
}

/* style.css の reveal(opacity:0) より優先：フィルター後も必ず見える */
.schedule-page .timeline-item {
    opacity: 1;
    transform: none;
}

.schedule-page .timeline-item.reveal {
    opacity: 1;
    transform: none;
}

/* 線・ドット共通の青色 */
.schedule-page {
    --timeline-accent: rgba(126, 182, 255, 0.72);
    --timeline-accent-soft: rgba(126, 182, 255, 0.38);
    --timeline-dot-fill: #8ab4e8;
    --timeline-rail: rgba(126, 182, 255, 0.4);
}

.timeline-time {
    font-family: "Orbitron", sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: var(--timeline-accent, rgba(126, 182, 255, 0.9));
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.12rem;
    line-height: 1.15;
}

.timeline-time .timeline-start {
    display: block;
}

.timeline-time .timeline-end {
    display: block;
    font-size: 0.72em;
    font-weight: 400;
    letter-spacing: 0.03em;
    color: var(--hub-muted, rgba(232, 238, 248, 0.65));
}

.schedule-page .timeline-line {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    min-height: 2.5rem;
}

.schedule-page .timeline-line::before,
.schedule-page .timeline-item.show .timeline-line::before {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 1.5px;
    top: 0;
    bottom: -2rem;
    height: auto;
    background: var(--timeline-rail);
    transition: none;
    box-shadow: none;
    opacity: 1;
}

.schedule-page .timeline-item:last-child .timeline-line::before {
    bottom: 50%;
}

/* 青丸：光は控えめ */
.schedule-page .timeline-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    position: relative;
    z-index: 2;
    background: var(--timeline-dot-fill);
    border: 1px solid var(--timeline-rail);
    transform: scale(1);
    animation: timelineDotGlow 3.2s ease-in-out infinite;
    box-shadow:
        0 0 4px 1px rgba(126, 182, 255, 0.3),
        0 0 8px 2px rgba(126, 182, 255, 0.14);
}

.schedule-page .timeline-item.show .timeline-dot,
.schedule-page .timeline-item .timeline-dot {
    transform: scale(1);
    background: var(--timeline-dot-fill);
    border-color: var(--timeline-rail);
    box-shadow:
        0 0 4px 1px rgba(126, 182, 255, 0.3),
        0 0 8px 2px rgba(126, 182, 255, 0.14);
}

@keyframes timelineDotGlow {
    0%,
    100% {
        box-shadow:
            0 0 3px 0 rgba(126, 182, 255, 0.25),
            0 0 7px 1px rgba(126, 182, 255, 0.12);
        background: #7ea8dc;
    }
    50% {
        box-shadow:
            0 0 4px 1px rgba(126, 182, 255, 0.36),
            0 0 10px 2px rgba(126, 182, 255, 0.16);
        background: #94b9e4;
    }
}

.timeline-card.is-link {
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.timeline-card.is-link:hover,
.timeline-card.is-link:focus-visible {
    border-color: rgba(126, 182, 255, 0.55);
    background: rgba(14, 24, 48, 0.8);
    outline: none;
}

.timeline-card-hint {
    display: inline-block;
    margin-top: 0.55rem;
    font-family: "Orbitron", sans-serif;
    font-size: 0.62rem;
    letter-spacing: 0.14em;
    color: rgba(126, 182, 255, 0.88);
}

.project-card.is-schedule-target {
    outline: 1px solid rgba(126, 182, 255, 0.55);
    box-shadow:
        0 0 0 4px rgba(126, 182, 255, 0.12),
        0 12px 40px rgba(0, 0, 0, 0.35);
    transition: outline 0.3s ease, box-shadow 0.3s ease;
}

.schedule-page .timeline-item.is-schedule-target .timeline-card {
    outline: 1px solid rgba(224, 199, 136, 0.7);
    box-shadow: 0 0 0 4px rgba(224, 199, 136, 0.16);
}

.event-special:target {
    scroll-margin-top: 5.5rem;
    outline: 1px solid rgba(212, 181, 106, 0.4);
    box-shadow: 0 0 0 6px rgba(212, 181, 106, 0.08);
}

.timeline-card:hover {
    transform: translateY(-2px) scale(1);
    box-shadow: none;
    border-color: rgba(126, 182, 255, 0.45);
    background: rgba(14, 24, 48, 0.72);
}

.timeline-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.4rem;
}

.act-genre {
    display: inline-block;
    padding: 0.14rem 0.62rem;
    border: 1px solid rgba(212, 181, 106, 0.42);
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    line-height: 1.3;
    color: var(--hub-gold, #d4b56a);
}

.timeline-card .act-genre {
    display: block;
    width: fit-content;
    margin: -0.1rem 0 0.45rem;
}

.timeline-card p {
    color: var(--hub-muted, rgba(232, 238, 248, 0.72));
    font-size: 0.92rem;
}

.timeline-card::before,
.timeline-item.show .timeline-card::before {
    display: none;
}

/* schedule カードは常に表示（style.css の横スライド reveal を無効） */
.schedule-page .timeline-card {
    opacity: 1;
    transform: none;
}

.schedule-page .timeline-item.show .timeline-card {
    opacity: 1;
    transform: none;
}

/* ---------- ギャラリー ---------- */

.gallery-grid,
.projects-grid {
    gap: 1.25rem;
}

.photo-card {
    aspect-ratio: 4 / 3;
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.photo-card:hover {
    transform: translateY(-2px);
    box-shadow: none;
    border-color: rgba(126, 182, 255, 0.45);
}

.photo-card:hover img {
    transform: scale(1.04);
}

.lightbox img {
    border-radius: 0;
}

.lightbox {
    z-index: 4000;
}

.lightbox .close {
    top: 1.25rem;
    right: 1.5rem;
    z-index: 4001;
}

.close:hover {
    color: var(--hub-accent, #7eb6ff);
}

/* ---------- プロジェクト / 出店カード ---------- */

.project-card {
    border: 2px solid rgba(180, 190, 205, 0.45);
    transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.project-card:hover {
    transform: translateY(-2px);
    box-shadow: none;
    border-color: rgba(200, 210, 220, 0.7);
    background: rgba(14, 24, 48, 0.72);
}

.project-card::before {
    display: none;
}

.project-category {
    border-radius: 0;
    top: 12px;
    right: 12px;
    padding: 0.4rem 0.75rem;
    background: rgba(8, 14, 28, 0.75);
    border: 1px solid var(--hub-line, rgba(180, 205, 255, 0.22));
    color: var(--hub-accent, #7eb6ff);
    font-family: "Orbitron", sans-serif;
    font-size: 0.62rem;
    letter-spacing: 0.14em;
}

.projects-page .project-category {
    border-radius: 8px;
}

.project-class {
    font-family: "Orbitron", sans-serif;
    font-size: 0.68rem;
    letter-spacing: 0.16em;
    color: var(--hub-gold, #d4b56a);
}

.project-image {
    aspect-ratio: 3 / 2;
}

/* クラプロのみ：横長バナー（実測 ≒ 10:3）。出店は別指定 */
.projects-page .projects-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.projects-page:not(.shops-page) .project-image {
    aspect-ratio: 10 / 3;
    overflow: hidden;
}

.projects-page:not(.shops-page) .project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* 出店店舗：実寸に近い 3:2 枠。白余白はそのまま見せる */
.shops-page {
    /* このページだけ少し明るく・読みやすく */
    --hub-ink: #f5f8fc;
    --hub-muted: rgba(245, 248, 252, 0.88);
    --hub-line: rgba(200, 220, 255, 0.38);
    --hub-panel: rgba(24, 40, 72, 0.78);
    --hub-accent: #a3ccff;
    --hub-gold: #e0c788;
}

.shops-page .project-card {
    background: rgba(30, 48, 82, 0.78);
    border-color: rgba(200, 215, 240, 0.55);
    scroll-margin-top: 96px;
}

/* 出店マップのバナーから飛んできた店舗を一時的に強調 */
.shops-page .project-card:target {
    border-color: rgba(224, 199, 136, 0.95);
    box-shadow: 0 0 0 2px rgba(224, 199, 136, 0.55),
        0 10px 30px rgba(0, 0, 0, 0.35);
    animation: shop-target-flash 2.4s ease-out 1;
}

@keyframes shop-target-flash {
    0% {
        box-shadow: 0 0 0 3px rgba(224, 199, 136, 0.9),
            0 0 26px rgba(224, 199, 136, 0.6);
    }
    100% {
        box-shadow: 0 0 0 2px rgba(224, 199, 136, 0.55),
            0 10px 30px rgba(0, 0, 0, 0.35);
    }
}

.shops-page .project-card:hover {
    background: rgba(40, 62, 104, 0.88);
    border-color: rgba(220, 230, 250, 0.8);
}

.shops-page .project-category {
    background: rgba(12, 22, 42, 0.82);
    border-color: rgba(180, 210, 255, 0.4);
    color: #b8d8ff;
}

.shops-page .project-content h2 {
    color: #fafcfe;
}

.shops-page .project-content p,
.shops-page .project-description,
.shops-page .shop-description {
    color: rgba(245, 248, 252, 0.9);
    line-height: 1.45;
}

.shops-page .shop-desc-line {
    display: block;
    margin-bottom: 0.22em;
}

.shops-page .shop-desc-line:last-child {
    margin-bottom: 0;
}

.shops-page .project-room {
    color: rgba(190, 220, 255, 0.88);
}

.shops-page .projects-header p {
    color: var(--hub-gold, #e0c788);
}

.shops-page .projects-header h1,
.shops-page .projects-header .project-title {
    color: #fafcfe;
}

.shops-page .projects-header span {
    color: rgba(245, 248, 252, 0.86);
}

.shops-page .project-image {
    aspect-ratio: 3 / 2;
    overflow: hidden;
    background: #fff;
}

.shops-page .project-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}

.shops-page .project-card:hover .project-image img {
    transform: none;
    filter: none;
}

@media (max-width: 768px) {
    .projects-page .projects-grid {
        grid-template-columns: 1fr;
    }

    .projects-page:not(.shops-page) .project-image {
        aspect-ratio: 10 / 3;
    }

    .projects-page:not(.shops-page) .project-image img {
        object-fit: cover;
        object-position: center;
    }

    .shops-page .project-image {
        aspect-ratio: 3 / 2;
    }

    .shops-page .project-image img {
        object-fit: contain;
        object-position: center;
    }
}

.project-content {
    padding: 1.25rem 1.25rem 1.35rem;
}

.project-content h2 {
    font-size: 1.2rem;
    margin-bottom: 0.85rem;
    border-left: none;
    padding-left: 0;
}

/* クラプロカード内の各クラスタイトル */
.project-content:has(.project-class) h2 {
    font-family: "Kaisei Decol", "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", serif;
    font-size: 1.28rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    line-height: 1.55;
    font-feature-settings: "palt" 1;
    line-break: strict;
    word-break: normal;
    overflow-wrap: break-word;
    text-wrap: balance;
}

.project-content p,
.project-description {
    color: var(--hub-muted, rgba(232, 238, 248, 0.72));
    line-height: 1.85;
    font-size: 1.02rem;
    line-break: strict;
    word-break: normal;
    overflow-wrap: break-word;
    text-wrap: pretty;
}

.project-time-lines {
    display: block;
    margin-top: 0.55rem;
}

.project-time-line {
    display: block;
    margin-bottom: 0.12em;
    color: rgba(224, 199, 136, 0.92);
    font-size: 0.92rem;
    letter-spacing: 0.02em;
}

.project-time-line:last-child {
    margin-bottom: 0;
}

.project-room {
    color: rgba(180, 205, 255, 0.65);
    font-size: 0.85rem;
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.55rem 0.9rem;
}

.project-map-link {
    color: var(--hub-accent, #7eb6ff);
    text-decoration: none;
    font-size: 0.8rem;
    letter-spacing: 0.04em;
    border-bottom: 1px solid rgba(126, 182, 255, 0.45);
}

.project-map-link:hover {
    color: #fff;
    border-bottom-color: rgba(255, 255, 255, 0.7);
}

.project-more {
    color: var(--hub-accent, #7eb6ff);
    font-family: "Orbitron", sans-serif;
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    font-weight: 500;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

/* ---------- モーダル ---------- */

.modal-box {
    border-radius: 0;
    /* 長い店名が見切れないよう、従来より横長に */
    width: min(1120px, 96%);
    max-width: 96vw;
    max-height: min(92vh, 960px);
    overflow-x: hidden;
    overflow-y: auto;
    box-sizing: border-box;
}

.project-modal {
    padding: 1rem;
    box-sizing: border-box;
}

.modal-box img {
    width: 100%;
    max-height: min(42vh, 400px);
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.modal-content {
    padding: 1.75rem 2rem 2rem;
    box-sizing: border-box;
}

.modal-content h2 {
    color: var(--hub-ink, #e8eef8);
    font-size: clamp(1.25rem, 2.4vw, 2rem);
    line-height: 1.45;
    overflow-wrap: break-word;
    word-break: normal;
    line-break: strict;
    text-wrap: balance;
}

.modal-content p,
.modalRoom,
.modalTime,
.modalgoods {
    overflow-wrap: break-word;
    word-break: normal;
    line-break: strict;
}

@media (max-width: 768px) {
    .modal-box {
        width: 96%;
        max-width: 96vw;
    }

    .modal-content {
        padding: 1.25rem 1.15rem 1.5rem;
    }

    .modal-content h2 {
        font-size: clamp(1.15rem, 5vw, 1.45rem);
    }
}

.modal-close {
    border-radius: 0;
    background: rgba(8, 14, 28, 0.7);
    border: 1px solid var(--hub-line, rgba(180, 205, 255, 0.22));
}

.modal-close:hover {
    background: rgba(126, 182, 255, 0.2);
    color: #fff;
    border-color: rgba(126, 182, 255, 0.7);
}

.modal-content span {
    font-family: "Orbitron", sans-serif;
    font-size: 0.68rem;
    letter-spacing: 0.16em;
    color: var(--hub-gold, #d4b56a);
}

.modal-content h2 {
    color: var(--hub-ink, #e8eef8);
}

.modal-content p,
.modal-meta {
    color: var(--hub-muted, rgba(232, 238, 248, 0.72));
}

/* フッターは style.css に集約 */

.gallery-button a {
    border-radius: 0;
    font-family: "Orbitron", sans-serif;
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    font-weight: 500;
    padding: 0.75rem 1.25rem;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.35);
}

.gallery-button a:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.85);
    transform: translateY(-1px);
}

/* ---------- 内側ページの巨大 section 余白を抑える ---------- */

@media screen and (min-width: 769px) {
    .gallery-page,
    .schedule-page,
    .projects-page,
    .page-shell {
        margin-bottom: 0;
    }
}

@media (max-width: 768px) {
    .gallery-page,
    .schedule-page,
    .projects-page,
    .page-shell {
        padding: 1.25rem 0 2.5rem;
    }

    .gallery-title h1,
    .schedule-header h1,
    .projects-header h1,
    .page-header h1 {
        font-size: clamp(1.55rem, 7vw, 2rem);
    }

    .tab,
    .filter-btn,
    .place-btn,
    .kind-btn,
    .club-school-btn {
        padding: 0.5rem 0.85rem;
        font-size: 0.62rem;
    }

    .projects-page:not(.shops-page) .filter-btn,
    .projects-page:not(.shops-page) .kind-btn,
    .projects-page:not(.shops-page) .club-school-btn {
        padding: 0.45rem 0.62rem;
        font-size: 0.56rem;
    }

    .projects-page:not(.shops-page) .project-filter-row {
        gap: 0.85rem;
    }

    .projects-page:not(.shops-page) .project-filter-group {
        gap: 0.28rem;
    }

    .timeline-time {
        font-size: 0.78rem;
    }
}

/* ---------- 校内マップ ---------- */

.campus-map-page .page-header {
    /* 地図ページは特に流れ星・惑星がタイトル帯を横切るので、帯ごと不透明寄りにする */
    background: rgba(2, 4, 10, 0.55);
    border-radius: 0;
    box-shadow: 0 0 48px 24px rgba(2, 4, 10, 0.45);
}

/* 校内マップではタイトル帯のチカチカ源になる流れ星を止める */
body:has(.campus-map-page) .scene-shooting-stars {
    display: none;
}

.campus-map-mode {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin: 0 0 0.85rem;
}

.campus-map-mode-btn {
    appearance: none;
    padding: 0.4rem 1.1rem;
    border: 1px solid rgba(180, 205, 255, 0.3);
    border-radius: 999px;
    background: rgba(8, 12, 24, 0.78);
    color: rgba(232, 238, 248, 0.82);
    font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
    font-size: 0.82rem;
    letter-spacing: 0.06em;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.campus-map-mode-btn:hover {
    border-color: rgba(212, 181, 106, 0.55);
    color: #fff;
}

.campus-map-mode-btn.is-on {
    border-color: rgba(212, 181, 106, 0.75);
    background: rgba(212, 181, 106, 0.16);
    color: var(--hub-gold, #d4b56a);
}

.campus-map-layout.is-shop-mode .campus-map-jumps {
    display: none;
}

.campus-hotspot--shop:hover,
.campus-hotspot--shop:focus-visible {
    fill: rgba(212, 181, 106, 0.22);
    stroke: rgba(232, 210, 140, 0.9);
    stroke-width: 0.3;
}

.campus-map-jump-row {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.35rem 0.7rem;
}

.campus-map-howto {
    margin: 0;
    padding: 0;
    color: rgba(232, 238, 248, 0.72);
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    line-height: 1.2;
    white-space: nowrap;
}

.campus-map-layout {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.85rem;
    align-items: start;
}

.campus-map-layout:has(#campusMapPanel:not([hidden])) {
    grid-template-columns: minmax(0, 1fr) minmax(240px, 280px);
}

.campus-map-jumps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.28rem;
}

.campus-map-jump {
    appearance: none;
    padding: 0.28rem 0.55rem;
    min-height: 0;
    border: 1px solid rgba(180, 205, 255, 0.28);
    border-radius: 6px;
    background: rgba(8, 12, 24, 0.78);
    color: var(--hub-ink, #e8eef8);
    font-family: inherit;
    font-size: 0.72rem;
    letter-spacing: 0.03em;
    cursor: pointer;
}

.campus-map-jump:hover {
    border-color: rgba(212, 181, 106, 0.55);
    color: #fff;
}

.campus-map-jump.is-on {
    border-color: rgba(212, 181, 106, 0.72);
    color: var(--hub-gold, #d4b56a);
    background: rgba(212, 181, 106, 0.1);
}

.campus-map-stage {
    position: relative;
    width: 100%;
    border: 1px solid rgba(180, 205, 255, 0.22);
    border-radius: 6px;
    background: #0a1018;
    overflow: hidden;
    user-select: none;
    touch-action: none;
    isolation: isolate;
}

.campus-map-stage.is-zoomed,
.campus-map-stage.is-zoomed .campus-hotspot,
.campus-map-stage.is-zoomed .campus-map-image {
    cursor: grab;
}

.campus-map-stage.is-panning,
.campus-map-stage.is-panning .campus-hotspot,
.campus-map-stage.is-panning .campus-map-image {
    cursor: grabbing;
}

.campus-map-zoom {
    position: relative;
    transform-origin: 0 0;
    transition: none;
    will-change: transform;
}

.campus-map-zoom.is-animating {
    transition: transform 0.45s ease;
}

.campus-map-zoom-btns {
    position: absolute;
    right: 0.45rem;
    bottom: 0.45rem;
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 0.28rem;
}

.campus-map-zoom-btns button {
    appearance: none;
    width: 2rem;
    height: 2rem;
    padding: 0;
    border: 1px solid rgba(180, 205, 255, 0.28);
    border-radius: 6px;
    background: rgba(8, 12, 24, 0.82);
    color: var(--hub-ink, #e8eef8);
    font-size: 1.2rem;
    line-height: 1;
    cursor: pointer;
}

.campus-map-zoom-btns button:hover {
    border-color: rgba(212, 181, 106, 0.55);
    color: #fff;
}

.campus-map-stage.is-showing-detail .campus-map-zoom-btns {
    z-index: 6;
}

.campus-map-zoom picture {
    display: block;
}

.campus-map-zoom .campus-map-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
    touch-action: none;
}

.campus-map-image {
    display: block;
    width: 100%;
    max-width: none;
    height: auto;
    vertical-align: middle;
    /* 透過時に下の背景が透けて「消えた」ように見えないようにする */
    background: rgba(8, 12, 24, 0.9);
}

.campus-map-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.campus-map-detail {
    position: absolute;
    inset: 0;
    z-index: 4;
    display: flex;
    flex-direction: column;
    background: #0a1018;
    border: 0;
    border-radius: 6px;
    box-shadow: none;
}

.campus-map-detail[hidden] {
    display: none;
}

.campus-map-detail-bar {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    padding: 0.45rem 0.6rem;
    border-bottom: 1px solid rgba(180, 205, 255, 0.18);
}

.campus-map-detail-howto {
    margin: 0;
    color: rgba(232, 238, 248, 0.68);
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    line-height: 1.2;
}

.campus-map-detail-back {
    appearance: none;
    padding: 0.35rem 0.75rem;
    border: 1px solid rgba(212, 181, 106, 0.45);
    border-radius: 6px;
    background: transparent;
    color: var(--hub-gold, #d4b56a);
    font-size: 0.82rem;
    letter-spacing: 0.04em;
    cursor: pointer;
}

.campus-map-detail-back:hover {
    background: rgba(212, 181, 106, 0.12);
    border-color: rgba(232, 210, 140, 0.9);
}

.campus-map-detail-body {
    position: relative;
    flex: 1 1 auto;
    overflow: hidden;
    min-height: 0;
    touch-action: none;
}

.campus-map-detail-zoom {
    position: relative;
    width: 100%;
    transform-origin: 0 0;
    will-change: transform;
}

.campus-map-detail-zoom.is-animating {
    transition: transform 0.45s ease;
}

.campus-map-detail-image {
    display: block;
    width: 100%;
    max-width: none;
    height: auto;
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
}

.campus-map-stage.is-showing-detail .campus-map-zoom {
    filter: brightness(0.38);
    pointer-events: none;
}

.campus-map-detail-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    touch-action: none;
}

.campus-hotspot {
    fill: rgba(255, 255, 255, 0.01);
    stroke: none;
    cursor: pointer;
    outline: none;
    pointer-events: auto;
    touch-action: none;
    -webkit-tap-highlight-color: transparent;
}

.campus-hotspot:hover,
.campus-hotspot:focus-visible {
    fill: rgba(255, 255, 255, 0.08);
}

.campus-hotspot.is-active:not(.campus-hotspot--glow),
.campus-hotspot.is-arrive:not(.campus-hotspot--glow) {
    fill: rgba(255, 255, 255, 0.01);
    stroke: none;
    filter: none;
}

.campus-hotspot--glow,
.campus-hotspot--room.campus-hotspot--glow,
.campus-hotspot.is-active.campus-hotspot--glow {
    fill: rgba(242, 226, 168, 0.4);
    stroke: none;
    pointer-events: none;
    transform: none;
    filter: none;
}

.campus-hotspot--glow.is-arrive,
.campus-hotspot--room.campus-hotspot--glow.is-arrive {
    animation: campus-glow-breathe 2.4s ease-in-out 3;
}

.campus-hotspot--room {
    fill: rgba(255, 255, 255, 0.01);
    stroke: none;
}

.campus-hotspot--room:hover,
.campus-hotspot--room:focus-visible {
    fill: rgba(255, 255, 255, 0.08);
    stroke: none;
}

.campus-hotspot--room.is-active:not(.campus-hotspot--glow),
.campus-hotspot--room.is-arrive:not(.campus-hotspot--glow) {
    fill: rgba(255, 255, 255, 0.01);
    stroke: none;
}

@keyframes campus-glow-breathe {
    0%, 100% {
        fill: rgba(242, 226, 168, 0.28);
    }
    50% {
        fill: rgba(255, 236, 176, 0.58);
    }
}

.campus-map-panel {
    position: sticky;
    top: 5.5rem;
    padding: 1.25rem 1.2rem 1.4rem;
    border: 1px solid rgba(180, 205, 255, 0.22);
    border-radius: 6px;
    background: rgba(10, 16, 32, 0.92);
    color: var(--hub-ink, #e8eef8);
    isolation: isolate;
}

.campus-map-panel[hidden] {
    display: none;
}

.campus-map-panel-kicker {
    display: none;
}

.campus-map-panel h2 {
    margin: 0 2rem 0.7rem 0;
    font-size: 1.35rem;
    letter-spacing: 0.04em;
}

.campus-map-panel p {
    margin: 0;
    color: var(--hub-muted, rgba(232, 238, 248, 0.72));
    line-height: 1.7;
    font-size: 0.95rem;
}

.campus-map-panel-close {
    position: absolute;
    top: 0.55rem;
    right: 0.65rem;
    width: 2rem;
    height: 2rem;
    border: 0;
    background: transparent;
    color: rgba(232, 238, 248, 0.8);
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
}

.campus-map-panel-links {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    margin-top: 1.1rem;
}

.campus-map-panel-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 0.9rem;
    min-height: 44px;
    border: 1px solid rgba(212, 181, 106, 0.45);
    border-radius: 6px;
    color: var(--hub-gold, #d4b56a);
    text-decoration: none;
    font-size: 0.85rem;
    letter-spacing: 0.04em;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.campus-map-panel-link:hover {
    background: rgba(212, 181, 106, 0.12);
    border-color: rgba(232, 210, 140, 0.9);
}

button.campus-map-panel-link {
    appearance: none;
    width: 100%;
    background: transparent;
    font-family: inherit;
    cursor: pointer;
}

.campus-map-layout:has(.is-showing-detail) .campus-map-panel-close,
.campus-map-layout:has(.is-showing-detail) [data-interior] {
    display: none;
}

@media (prefers-reduced-motion: reduce) {
    .campus-map-zoom,
    .campus-map-zoom.is-animating,
    .campus-map-detail-zoom,
    .campus-map-detail-zoom.is-animating {
        transition: none;
    }
}

.campus-map-measure {
    max-width: 1100px;
    margin: 1.5rem auto 0;
    padding: 0 1rem;
}

.campus-map-measure-card {
    padding: 1rem 1.1rem 1.15rem;
    border: 1px dashed rgba(212, 181, 106, 0.55);
    background: rgba(12, 18, 36, 0.9);
    color: var(--hub-ink, #e8eef8);
}

.campus-map-measure-title {
    margin: 0 0 0.35rem;
    font-family: "Orbitron", sans-serif;
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    color: var(--hub-gold, #d4b56a);
}

.campus-map-measure-switch {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin: 0 0 0.75rem;
}

.campus-map-measure-switch a {
    padding: 0.35rem 0.7rem;
    border: 1px solid rgba(180, 205, 255, 0.35);
    color: var(--hub-ink, #e8eef8);
    text-decoration: none;
    font-size: 0.8rem;
    letter-spacing: 0.04em;
}

.campus-map-measure-switch a:hover,
.campus-map-measure-switch a.is-active {
    border-color: rgba(212, 181, 106, 0.85);
    background: rgba(212, 181, 106, 0.12);
    color: var(--hub-gold, #d4b56a);
}

.campus-map-measure-help {
    margin: 0 0 0.85rem;
    color: var(--hub-muted, rgba(232, 238, 248, 0.72));
    font-size: 0.88rem;
    line-height: 1.6;
}

.campus-map-measure-field {
    display: grid;
    gap: 0.35rem;
    margin-bottom: 0.8rem;
    font-size: 0.85rem;
}

.campus-map-measure-field input {
    padding: 0.55rem 0.7rem;
    border: 1px solid rgba(180, 205, 255, 0.28);
    background: rgba(0, 0, 0, 0.35);
    color: inherit;
}

.campus-map-measure-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.85rem;
}

.campus-map-measure-actions button {
    padding: 0.45rem 0.75rem;
    border: 1px solid rgba(180, 205, 255, 0.35);
    background: rgba(255, 255, 255, 0.04);
    color: inherit;
    cursor: pointer;
    font-size: 0.82rem;
}

.campus-map-measure-actions button:hover {
    border-color: rgba(212, 181, 106, 0.7);
}

.campus-map-measure-log {
    margin: 0;
    max-height: 220px;
    overflow: auto;
    padding: 0.75rem;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(180, 205, 255, 0.18);
    font-size: 0.78rem;
    line-height: 1.45;
    white-space: pre-wrap;
}

body.campus-map-measuring .campus-hotspot {
    fill: transparent;
    stroke: none;
    pointer-events: none;
}

/* 計測画面：既存判定を薄い枠で表示 */
body.campus-map-measuring .campus-hotspot--ghost {
    fill: rgba(126, 182, 255, 0.06);
    stroke: rgba(180, 210, 255, 0.45);
    stroke-width: 0.22;
    pointer-events: none;
}

body.campus-map-measuring .campus-hotspot--enter {
    fill: rgba(212, 181, 106, 0.16);
    stroke: rgba(232, 210, 140, 0.95);
    stroke-width: 0.32;
    pointer-events: auto;
    cursor: pointer;
}

body.campus-map-measuring .campus-hotspot--enter:hover,
body.campus-map-measuring .campus-hotspot--enter:focus-visible {
    fill: rgba(212, 181, 106, 0.28);
}

.campus-map-measure-page .page-header span a {
    color: var(--hub-gold, #d4b56a);
    margin-left: 0.35rem;
}

.campus-map-measure-page .page-header code {
    font-size: 0.88em;
    color: var(--hub-accent, #7eb6ff);
}

.campus-map-layout--measure {
    grid-template-columns: 1fr;
}

.campus-measure-draft {
    fill: rgba(80, 180, 255, 0.22);
    stroke: rgba(120, 210, 255, 0.95);
    stroke-width: 0.35;
    pointer-events: none;
}

.campus-measure-dot {
    fill: #7ec8ff;
    stroke: #fff;
    stroke-width: 0.15;
    pointer-events: none;
}

.campus-measure-label {
    fill: #fff;
    font-size: 1.8px;
    pointer-events: none;
}

@media (max-width: 900px) {
    .campus-map-layout,
    .campus-map-layout:has(#campusMapPanel:not([hidden])) {
        grid-template-columns: 1fr;
    }

    .campus-map-stage {
        min-height: min(62dvh, 560px);
    }

    .campus-map-panel {
        position: sticky;
        top: 78px;
        order: -1;
        z-index: 6;
        margin-bottom: 0;
        background: rgba(10, 16, 32, 0.94);
    }

    .campus-map-jump {
        padding: 0.32rem 0.5rem;
        font-size: 0.68rem;
    }

    .campus-map-panel-link {
        min-height: 44px;
    }

    .campus-map-detail-back {
        padding: 0.6rem 0.9rem;
        font-size: 0.9rem;
    }

    .campus-map-zoom-btns button {
        width: 2.8rem;
        height: 2.8rem;
        font-size: 1.45rem;
    }

    /* 館内図は stage 自体を全面にして、overflow で切れないようにする */
    .campus-map-stage.is-showing-detail {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 40;
        width: auto;
        height: auto;
        min-height: 0;
        border-radius: 0;
        border-left: 0;
        border-right: 0;
        border-bottom: 0;
    }

    .campus-map-stage.is-showing-detail .campus-map-detail {
        position: absolute;
        inset: 0;
        z-index: 4;
        border-radius: 0;
    }

    .campus-map-stage.is-showing-detail .campus-map-zoom-btns {
        position: absolute;
        right: 0.7rem;
        bottom: calc(0.85rem + env(safe-area-inset-bottom, 0px));
        z-index: 6;
    }

    .campus-map-layout:has(.is-showing-detail) .campus-map-panel {
        position: fixed;
        left: 0.55rem;
        right: 0.55rem;
        bottom: calc(0.55rem + env(safe-area-inset-bottom, 0px));
        top: auto;
        order: 0;
        z-index: 55;
        max-height: 34vh;
        overflow: auto;
        padding-right: 3.4rem;
        margin: 0;
        background: rgba(10, 16, 32, 0.96);
    }

    .campus-map-layout:has(.is-showing-detail) .campus-map-panel-close {
        display: block;
    }
}

@media (max-width: 900px) {
    body.map-detail-open {
        overflow: hidden;
        overscroll-behavior: none;
    }
}

/* ---------- 開催イベント（編集型・カードグリッドなし） ---------- */

/* クラプロ：カードの後ろに惑星を置かない（店舗ページは残す） */
body:has(.projects-page:not(.shops-page)) .planets {
    display: none;
}

/* 二層目：イベント本文が読みやすいよう惑星・星座・小さな星を薄く */
body:has(.event-page) .planets {
    opacity: 0.4;
}

body:has(.event-page) .constellations {
    opacity: 0.22;
}

body:has(.event-page) .stars {
    opacity: 0.35;
}

/* 縁日詳細：タイトル帯の下に薄い暗幕を敷いて装飾の透けを抑える */
body:has(.ennichi-page) .constellations,
body:has(.stage-page) .constellations {
    opacity: 0.16;
}

body:has(.ennichi-page) .stars,
body:has(.stage-page) .stars {
    opacity: 0.28;
}

/* タイムスケジュール：装飾を抑え、読みやすさ優先（完全には消さない） */
body:has(.schedule-page) .planet-purple {
    display: none;
}

body:has(.schedule-page) .constellations {
    opacity: 0.36;
}

body:has(.schedule-page) .planets {
    opacity: 0.42;
}

body:has(.schedule-page) .galaxies {
    opacity: 0.4;
}

body:has(.schedule-page) .stars {
    opacity: 0.38;
}

body:has(.schedule-page) .scene-shooting-stars {
    opacity: 0.55;
}

/* スマホ：やや控えめだが、雰囲気は残す */
@media (max-width: 900px) {
    body:has(.schedule-page) .constellations {
        opacity: 0.28;
    }

    /* 北斗だけ薄くして中段の重なりを緩和 */
    body:has(.schedule-page) .constellation--bigdipper {
        opacity: 0.35;
    }

    body:has(.schedule-page) .planets {
        opacity: 0.32;
    }

    /* 中段の惑星は残すがやや薄く（紫は星座と重なるため非表示のまま） */
    body:has(.schedule-page) .planet-yellow,
    body:has(.schedule-page) .planet-green {
        display: revert;
        opacity: 0.38;
    }

    body:has(.schedule-page) .galaxies {
        display: revert;
        opacity: 0.28;
    }

    body:has(.schedule-page) .stars {
        opacity: 0.3;
    }

    body:has(.schedule-page) .scene-shooting-stars {
        display: revert;
        opacity: 0.4;
    }
}

.event-page {
    max-width: 920px;
    margin: 0 auto;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

/* 縁日は先頭の大見出しのまま。下の特別プログラムはスクロールすれば必ず見える */
.event-page .event-specials .reveal {
    opacity: 1;
    transform: none;
}

.event-kicker {
    font-family: "Orbitron", sans-serif;
    font-size: 0.68rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--hub-gold, #d4b56a);
    margin: 0 0 0.75rem;
}

/* 縁日 feature：カードなし・タイポ中心の編集ブロック */
.event-feature {
    position: relative;
    isolation: isolate;
    margin: 0 0 3.75rem;
    padding: clamp(0.5rem, 2vw, 1rem) 0 clamp(2.5rem, 5vw, 3.5rem);
    border: none;
    background: none;
    overflow: visible;
}

.event-feature::after {
    content: "";
    display: block;
    width: min(8rem, 40%);
    height: 1px;
    margin-top: clamp(2rem, 4vw, 2.75rem);
    background: linear-gradient(
        90deg,
        var(--hub-gold, #d4b56a),
        rgba(126, 182, 255, 0.35),
        transparent
    );
}

.event-feature-glow {
    position: absolute;
    z-index: 0;
    pointer-events: none;
    /* 枠に閉じない大気光 */
    top: -20%;
    left: -12%;
    width: min(120%, 42rem);
    height: 140%;
    background:
        radial-gradient(ellipse 55% 50% at 30% 40%, rgba(126, 182, 255, 0.16), transparent 68%),
        radial-gradient(ellipse 40% 45% at 70% 65%, rgba(212, 181, 106, 0.08), transparent 70%);
}

.event-feature-inner {
    position: relative;
    z-index: 1;
    max-width: 38rem;
}

.event-feature-title {
    font-family: "Kaisei Decol", "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", serif;
    font-size: clamp(2.75rem, 9vw, 4.25rem);
    font-weight: 500;
    letter-spacing: 0.1em;
    line-height: 1.2;
    color: var(--hub-ink, #e8eef8);
    margin: 0 0 1.25rem;
    font-feature-settings: "palt" 1;
    line-break: strict;
    word-break: normal;
    overflow-wrap: break-word;
    text-wrap: balance;
}

.event-feature-body {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--hub-muted, rgba(232, 238, 248, 0.72));
    margin: 0 0 1.75rem;
    max-width: 32rem;
    line-break: strict;
    word-break: normal;
    overflow-wrap: break-word;
    text-wrap: wrap;
}

.event-copy-line {
    display: inline;
}

.stage-page .event-feature {
    margin-bottom: 2rem;
    padding: 0.2rem 0 1.15rem;
}

.stage-page .event-feature::after {
    margin-top: 1.15rem;
}

.stage-page .event-kicker {
    margin-bottom: 0.4rem;
}

.stage-page .event-feature-title {
    font-size: clamp(1.85rem, 5.2vw, 2.45rem);
    margin-bottom: 0.65rem;
}

.stage-page .event-feature-body {
    font-size: 0.98rem;
    line-height: 1.55;
    margin-bottom: 1rem;
}

.stage-page .event-feature-line {
    display: block;
    margin-bottom: 0.55em;
}

.stage-page .event-feature-line:last-child {
    margin-bottom: 0;
}

.stage-page .event-meta {
    margin-bottom: 1.1rem;
}

.stage-ref {
    position: relative;
    margin: 0 0 2.4rem;
    overflow: hidden;
}

.stage-ref img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: min(70vh, 32rem);
    object-fit: contain;
    object-position: center;
    vertical-align: middle;
    background: #0a1018;
}

.stage-ref figcaption {
    position: absolute;
    right: 0.55rem;
    bottom: 0.4rem;
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.62rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    line-height: 1.2;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.75);
}

.event-meta {
    list-style: none;
    margin: 0 0 1.75rem;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.event-meta li {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem 1rem;
    font-size: 0.9rem;
    color: var(--hub-ink, #e8eef8);
    line-height: 1.5;
}

.event-meta-label {
    font-family: "Orbitron", sans-serif;
    font-size: 0.62rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--hub-accent, #7eb6ff);
    min-width: 2.5rem;
    padding-top: 0.2rem;
}

/* ---------- デジタルパンフレット ---------- */

/* コンテンツが少ないので装飾を大きく抑え、CTA周りをすっきり */
body:has(.pamphlet-page) .planets {
    display: none;
}

body:has(.pamphlet-page) .constellations {
    opacity: 0.14;
}

body:has(.pamphlet-page) .galaxies {
    opacity: 0.22;
}

body:has(.pamphlet-page) .stars {
    opacity: 0.22;
}

body:has(.pamphlet-page) .scene-shooting-stars {
    opacity: 0.3;
}

.pamphlet-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.7rem;
    margin: 0 0 1.4rem;
}

.pamphlet-fallback {
    margin: 0.75rem auto 0;
    max-width: 28em;
    text-align: center;
    color: var(--hub-muted, rgba(232, 238, 248, 0.72));
    font-size: 0.85rem;
    line-height: 1.6;
}

.event-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: "Orbitron", sans-serif;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    font-weight: 500;
    text-decoration: none;
    color: var(--hub-ink, #e8eef8);
    padding: 0.75rem 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: rgba(126, 182, 255, 0.12);
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.event-cta:hover {
    border-color: rgba(255, 255, 255, 0.9);
    background: rgba(126, 182, 255, 0.22);
    transform: translateY(-1px);
    color: var(--hub-ink, #e8eef8);
}

.event-cta--ghost {
    background: transparent;
    border-color: var(--hub-line, rgba(180, 205, 255, 0.22));
    color: var(--hub-muted, rgba(232, 238, 248, 0.72));
}

.event-cta--ghost:hover {
    color: var(--hub-ink, #e8eef8);
    border-color: rgba(255, 255, 255, 0.55);
    background: rgba(255, 255, 255, 0.06);
}

.event-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
    align-items: center;
}

/* 特殊イベント section head */
.event-section-head {
    text-align: left;
    margin-bottom: 1.75rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--hub-line, rgba(180, 205, 255, 0.22));
}

.event-section-head p {
    font-family: "Orbitron", sans-serif;
    font-size: 0.68rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--hub-gold, #d4b56a);
    margin: 0 0 0.5rem;
}

.event-section-head h2 {
    font-size: clamp(1.25rem, 3vw, 1.55rem);
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--hub-ink, #e8eef8);
    margin: 0;
}

.event-specials {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 3.5rem;
}

.event-special {
    display: block;
    padding: 2rem 0;
    border-bottom: 1px solid var(--hub-line, rgba(180, 205, 255, 0.22));
}

.event-special:first-of-type {
    border-top: 1px solid var(--hub-line, rgba(180, 205, 255, 0.22));
}

.event-day-label {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.55rem 1rem;
    margin: 0 0 1rem;
}

.event-day-num {
    font-family: "Orbitron", sans-serif;
    font-size: clamp(1.15rem, 3vw, 1.4rem);
    font-weight: 600;
    letter-spacing: 0.18em;
    color: var(--hub-gold, #d4b56a);
    line-height: 1.2;
}

.event-day-date {
    font-size: 0.9rem;
    letter-spacing: 0.04em;
    color: var(--hub-muted, rgba(232, 238, 248, 0.72));
}

.event-special-title {
    font-family: "Kaisei Decol", "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", serif;
    font-size: clamp(1.35rem, 3.2vw, 1.75rem);
    font-weight: 500;
    letter-spacing: 0.06em;
    line-height: 1.4;
    color: var(--hub-ink, #e8eef8);
    margin: 0 0 0.85rem;
    font-feature-settings: "palt" 1;
    line-break: strict;
    word-break: normal;
    overflow-wrap: break-word;
    text-wrap: balance;
}

.event-special-body {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--hub-muted, rgba(232, 238, 248, 0.72));
    margin: 0 0 1.15rem;
    line-break: strict;
    word-break: normal;
    overflow-wrap: break-word;
    text-wrap: wrap;
}

.event-meta-value {
    min-width: 0;
    line-break: strict;
    word-break: keep-all;
    overflow-wrap: anywhere;
}

.event-special-copy .event-meta {
    margin-bottom: 1.25rem;
}

/* 縁日専用：細かい内容はライン区切りのリスト（カードなし） */
.ennichi-section {
    margin-bottom: 2.75rem;
    position: relative;
    isolation: isolate;
}

.ennichi-section::before {
    content: "";
    position: absolute;
    inset: -0.5rem -0.75rem;
    z-index: 0;
    pointer-events: none;
    border-radius: 0;
    background:
        radial-gradient(ellipse 90% 70% at 20% 20%, rgba(4, 8, 18, 0.72), transparent 70%),
        linear-gradient(180deg, rgba(4, 8, 18, 0.45), rgba(4, 8, 18, 0.2) 55%, transparent);
}

.ennichi-section .event-section-head,
.ennichi-section .ennichi-detail-list {
    position: relative;
    z-index: 1;
}

.ennichi-detail-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ennichi-detail-item {
    padding: 1.35rem 0;
    border-bottom: 1px solid var(--hub-line, rgba(180, 205, 255, 0.16));
}

.ennichi-detail-item:first-child {
    border-top: 1px solid var(--hub-line, rgba(180, 205, 255, 0.16));
}

.ennichi-detail-name {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--hub-ink, #e8eef8);
    margin: 0 0 0.45rem;
    text-shadow:
        0 0 10px rgba(2, 4, 10, 0.95),
        0 0 18px rgba(2, 4, 10, 0.75),
        0 1px 2px rgba(0, 0, 0, 0.85);
}

.ennichi-detail-item .act-genre {
    margin: 0 0 0.4rem;
}

.ennichi-detail-item:has(.act-genre) .ennichi-detail-name {
    margin-top: 0.05rem;
}

.ennichi-detail-desc {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--hub-muted, rgba(232, 238, 248, 0.72));
    margin: 0;
    max-width: 36rem;
    text-shadow:
        0 0 8px rgba(2, 4, 10, 0.9),
        0 1px 2px rgba(0, 0, 0, 0.7);
}

@media (min-width: 641px) {
    .stage-page .ennichi-detail-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 1.7rem 0.5rem;
        text-align: center;
    }

    .stage-page .ennichi-detail-item .act-genre {
        margin: 0 0 0.55rem;
        font-size: 0.76rem;
        padding: 0.2rem 0.8rem;
    }

    .stage-page .ennichi-detail-name {
        font-size: clamp(1.45rem, 2.4vw, 1.9rem);
        margin: 0 0 0.5rem;
        letter-spacing: 0.06em;
    }

    .stage-page .ennichi-detail-desc {
        font-size: clamp(1.08rem, 1.6vw, 1.28rem);
        line-height: 1.5;
        max-width: none;
        letter-spacing: 0.06em;
        white-space: nowrap;
        font-variant-numeric: tabular-nums;
    }
}

@media (min-width: 768px) {
    .schedule-page .timeline-item {
        grid-template-columns: 120px 60px 1fr;
        gap: 0;
    }

    .schedule-page .timeline-time {
        font-size: 0.95rem;
        padding-right: 25px;
        text-align: right;
        align-items: flex-end;
    }

    .schedule-page .timeline-card {
        padding: 24px 30px;
    }

    .stage-page .ennichi-detail-name {
        font-size: clamp(1.75rem, 2.4vw, 1.9rem);
    }

    .stage-page .ennichi-detail-desc {
        font-size: 1.28rem;
        letter-spacing: 0.08em;
    }
}

/* ページ末導線 */
.event-links {
    padding-top: 0.5rem;
    border-top: 1px solid var(--hub-line, rgba(180, 205, 255, 0.22));
}

.event-links-label {
    font-family: "Orbitron", sans-serif;
    font-size: 0.62rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--hub-muted, rgba(232, 238, 248, 0.55));
    margin: 0 0 1rem;
}

.event-links-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem 1.5rem;
}

.event-links-list a {
    font-size: 0.92rem;
    color: var(--hub-accent, #7eb6ff);
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: color 0.2s ease;
}

.event-links-list a:hover {
    color: var(--hub-ink, #e8eef8);
}

.event-links-list a span {
    opacity: 0.7;
}

@media (max-width: 640px) {
    .event-page {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .event-page:not(.stage-page):not(.ennichi-page) .page-header {
        margin-bottom: 1.75rem;
        padding-bottom: 1.4rem;
    }

    .event-feature {
        margin-bottom: 2.25rem;
        padding: 0.15rem 0 1.75rem;
    }

    .event-feature::after {
        margin-top: 1.5rem;
    }

    .event-feature-title {
        font-size: clamp(2.2rem, 14vw, 3rem);
        letter-spacing: 0.08em;
        text-wrap: wrap;
        margin-bottom: 1rem;
    }

    .event-copy-line {
        display: block;
    }

    .event-copy-line + .event-copy-line {
        margin-top: 0.12em;
    }

    .event-feature-body,
    .event-special-body {
        font-size: 0.94rem;
        line-height: 1.5;
        margin-bottom: 1.2rem;
        word-break: normal;
        overflow-wrap: break-word;
        text-wrap: wrap;
    }

    .event-special-title {
        letter-spacing: 0.03em;
        text-wrap: wrap;
    }

    .event-special {
        padding: 1.45rem 0;
    }

    .stage-ref figcaption {
        right: 0.4rem;
        bottom: 0.32rem;
        font-size: 0.55rem;
    }
}

/* ---------- 404 ---------- */

body:has(.notfound-page) .planets {
    opacity: 1;
}

body:has(.notfound-page) .planet-yellow,
body:has(.notfound-page) .planet-purple,
body:has(.notfound-page) .planet-green,
body:has(.notfound-page) .planet-brown {
    display: none;
}

body:has(.notfound-page) .planet-blue,
body:has(.notfound-page) .planet-saturn {
    opacity: 0.72;
}

body:has(.notfound-page) .galaxies,
body:has(.notfound-page) .stars,
body:has(.notfound-page) .constellations,
body:has(.notfound-page) .scene-shooting-stars {
    opacity: 0.12;
}

.notfound-page .page-header {
    text-align: center;
    border-bottom: none;
    margin-bottom: 0.4rem;
}

.notfound-page .page-header::before {
    display: none;
}

.notfound-page .page-header p {
    font-family: "Orbitron", sans-serif;
    font-weight: 400;
    font-size: clamp(1.6rem, 5vw, 2.6rem);
    letter-spacing: 0.42em;
    line-height: 1;
    margin: 0 0 1.35rem 0.42em;
    color: rgba(212, 181, 106, 0.78);
}

.notfound-page .page-header h1 {
    font-family: "Zen Old Mincho", "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", serif;
    font-weight: 400;
    font-size: clamp(1.15rem, 3.6vw, 1.85rem);
    letter-spacing: 0.18em;
    line-height: 1.85;
    color: rgba(245, 248, 252, 0.92);
}

.notfound-br {
    display: none;
}

.notfound-body {
    max-width: 36rem;
    margin: 0 auto;
    text-align: center;
    padding: 1.6rem 0 2.5rem;
}

.notfound-actions {
    justify-content: center;
}

.notfound-actions .event-cta {
    font-weight: 400;
    letter-spacing: 0.16em;
    background: transparent;
    border-color: rgba(212, 181, 106, 0.45);
    color: rgba(232, 220, 180, 0.9);
}

.notfound-actions .event-cta:hover {
    border-color: rgba(232, 210, 140, 0.85);
    background: rgba(212, 181, 106, 0.1);
    color: #fff8e8;
}

@media (max-width: 600px) {
    .notfound-br {
        display: block;
    }

    .notfound-page .page-header h1 {
        letter-spacing: 0.12em;
        line-height: 1.75;
    }
}
