/* ==========================================
   ホームハブ：情報が一望できる文化祭トップ
   色変数・フォントは style.css の :root / @import
========================================== */

.home-hub {
    font-family: "Zen Kaku Gothic New", "Hiragino Sans", sans-serif;
    color: var(--hub-ink);
    padding-bottom: 4rem;
    width: 100%;
    max-width: 100%;
    overflow-x: visible;
    box-sizing: border-box;
}

.home-hub a {
    color: inherit;
}

/* ホームだけヘッダー直下から開始し、最初の画面をヒーローで埋める */
body:has(#homeHub) .container {
    margin-top: 80px;
    margin-bottom: 80px;
}

/* ---------- Hero：スクロール前はロゴ・ titling ・日時だけ ---------- */

.hub-hero {
    position: relative;
    min-height: calc(100dvh - 80px);
    min-height: calc(100svh - 80px);
    display: grid;
    justify-items: center;
    align-content: center;
    gap: clamp(1.25rem, 2.8vh, 2.1rem);
    padding: 1.2rem 0.5rem 4.2rem;
    border-bottom: none;
    text-align: center;
    overflow: visible;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.hub-hero::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 42%;
    width: min(560px, 88vw);
    height: min(420px, 58vw);
    transform: translate(-50%, -50%);
    background: radial-gradient(
        ellipse at center,
        rgba(110, 160, 230, 0.11) 0%,
        rgba(90, 130, 200, 0.04) 38%,
        transparent 70%
    );
    pointer-events: none;
    z-index: 0;
}

.hub-hero::after {
    content: "";
    position: absolute;
    left: 18%;
    right: 18%;
    bottom: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(180, 205, 255, 0.22) 30%,
        rgba(180, 205, 255, 0.22) 70%,
        transparent
    );
    pointer-events: none;
    z-index: 1;
}

.hub-hero > * {
    position: relative;
    z-index: 1;
}

.hub-kicker {
    font-family: "Orbitron", sans-serif;
    font-size: clamp(1.08rem, 2.5vw, 1.45rem);
    letter-spacing: 0.2em;
    color: var(--hub-gold);
    text-transform: uppercase;
    max-width: 100%;
    padding: 0 0.5rem;
    box-sizing: border-box;
    overflow-wrap: anywhere;
    line-height: 1.65;
    text-shadow: 0 0 18px rgba(4, 10, 22, 0.7);
}

.hub-brand {
    display: flex;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    padding: 0 0.75rem;
    box-sizing: border-box;
}

.hub-brand img {
    width: min(620px, 72vw);
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 0 42px rgba(180, 210, 255, 0.45));
}

.hub-when {
    display: grid;
    justify-items: center;
    gap: 0.4rem;
    margin: 0.15rem 0 0;
    padding: 0 0.75rem;
}

.hub-when-date {
    font-size: clamp(1.5rem, 3.5vw, 2.15rem);
    font-weight: 700;
    letter-spacing: 0.06em;
    line-height: 1.5;
    color: #f4f7fc;
    text-shadow:
        0 0 14px rgba(4, 10, 22, 0.85),
        0 1px 2px rgba(0, 0, 0, 0.55);
}

.hub-when-day {
    white-space: nowrap;
}

.hub-when-br {
    display: none;
}

.hub-when-time {
    font-family: "Orbitron", sans-serif;
    font-size: clamp(1.2rem, 2.7vw, 1.55rem);
    letter-spacing: 0.2em;
    color: var(--hub-gold);
    text-shadow: 0 0 12px rgba(4, 10, 22, 0.7);
}

.hub-when-note {
    font-family: "Orbitron", sans-serif;
    font-size: clamp(0.72rem, 1.7vw, 0.92rem);
    letter-spacing: 0.12em;
    color: rgba(212, 188, 120, 0.82);
    text-shadow: 0 0 10px rgba(4, 10, 22, 0.55);
}

.hub-scroll-hint {
    position: absolute;
    left: 50%;
    bottom: 1.15rem;
    transform: translateX(-50%);
    z-index: 1;
    font-family: "Orbitron", sans-serif;
    font-size: 0.62rem;
    letter-spacing: 0.28em;
    color: rgba(232, 238, 248, 0.55);
}

/* ---------- テーマ欄（枠なし・左詰め／ACCESS直上） ---------- */

#theme,
#access {
    scroll-margin-top: 96px;
}

.hub-theme {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 1.5rem 0 0;
    padding: 2.6rem 0.15rem 3.2rem;
    text-align: left;
    box-sizing: border-box;
    overflow: hidden;
    isolation: isolate;
    min-height: clamp(22rem, 48vw, 32rem);
}

.hub-theme-rocket {
    position: absolute;
    /* スマホと同じレイアウト（左寄り・やや下） */
    right: auto;
    left: -6%;
    top: 66%;
    width: min(720px, 58vw);
    max-width: 96%;
    height: auto;
    transform: translateY(-48%);
    opacity: 0.24;
    /* 濃紺ボディ＋screenで沈む右側（機首）を持ち上げる */
    filter: brightness(1.22) contrast(1.06) saturate(1.08);
    pointer-events: none;
    user-select: none;
    z-index: 0;
    mask-image: radial-gradient(
        ellipse 92% 82% at 58% 42%,
        #000 0%,
        #000 58%,
        rgba(0, 0, 0, 0.55) 78%,
        transparent 100%
    );
    -webkit-mask-image: radial-gradient(
        ellipse 92% 82% at 58% 42%,
        #000 0%,
        #000 58%,
        rgba(0, 0, 0, 0.55) 78%,
        transparent 100%
    );
}

.hub-theme-copy {
    position: relative;
    z-index: 1;
    max-width: min(42rem, 68%);
}

.hub-theme-label {
    font-family: "Orbitron", sans-serif;
    font-size: clamp(1.45rem, 3.2vw, 2rem);
    font-weight: 700;
    letter-spacing: 0.3em;
    color: var(--hub-gold);
    margin: 0 0 1.6rem;
    text-transform: uppercase;
    line-height: 1.35;
    text-shadow:
        0 0 14px rgba(4, 10, 22, 0.85),
        0 1px 2px rgba(0, 0, 0, 0.6);
}

.hub-theme-body {
    display: grid;
    gap: 1.15rem;
}

.hub-theme-mark {
    color: var(--hub-gold);
    font-weight: 600;
    letter-spacing: 0.06em;
}

.hub-theme-body p {
    margin: 0;
    color: rgba(232, 238, 248, 0.94);
    font-family: "Zen Old Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
    font-size: clamp(1.05rem, 2vw, 1.28rem);
    line-height: 2;
    letter-spacing: 0.04em;
    font-weight: 400;
    font-feature-settings: "palt" 1;
    line-break: strict;
    word-break: normal;
    overflow-wrap: break-word;
    text-wrap: pretty;
    text-shadow:
        0 0 12px rgba(4, 10, 22, 0.9),
        0 0 22px rgba(4, 10, 22, 0.55),
        0 1px 2px rgba(0, 0, 0, 0.7);
}

/* PC幅では狭い画面用の改行を外す */
@media (min-width: 768px) {
    .hub-theme-body .theme-br--narrow {
        display: none;
    }
}

/* iPad・スマホ */
@media (max-width: 1199px) {
    .hub-theme {
        min-height: clamp(20rem, 58vw, 28rem);
        padding-bottom: 3.4rem;
    }

    .hub-theme-rocket {
        right: auto;
        left: -6%;
        width: min(560px, 88vw);
        max-width: 96%;
        opacity: 0.24;
        top: 66%;
        transform: translateY(-48%);
    }

    .hub-theme-copy {
        max-width: min(36rem, 100%);
    }
}

/* iPad帯 */
@media (min-width: 641px) and (max-width: 1199px) {
    .hub-theme-rocket {
        left: -4%;
        width: min(600px, 70vw);
        top: 64%;
        opacity: 0.26;
    }
}

.hub-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.75rem 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.35);
    font-family: "Orbitron", sans-serif;
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

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

.hub-btn-ghost {
    background: transparent;
}

/* ---------- COUNTDOWN（ヘッダー下に固定／文字と重なったら沈む） ---------- */

.hub-countdown {
    position: fixed;
    top: calc(80px + 0.55rem);
    left: 28px;
    z-index: 900;
    display: flex;
    align-items: center;
    gap: 0;
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    box-shadow: none;
    isolation: auto;
    text-align: left;
    color: #c2a56e;
    pointer-events: none;
    white-space: nowrap;
    text-shadow: none;
    -webkit-font-smoothing: antialiased;
    font-synthesis: none;
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 1;
    filter: blur(0) brightness(1);
    transform-origin: 30% 40%;
    transition:
        opacity 0.85s cubic-bezier(0.22, 0.61, 0.36, 1),
        transform 0.85s cubic-bezier(0.4, 0.02, 0.2, 1),
        filter 0.85s ease;
}

.hub-countdown.is-sunk {
    opacity: 0;
    transform: translate3d(0, 42px, 0) scale(0.68);
    filter: blur(16px) brightness(0.25);
}

body.opening-active:not(.hub-ready) .hub-countdown {
    opacity: 0;
    visibility: hidden;
    filter: none;
    transform: none;
    transition: none;
}

@media (prefers-reduced-motion: reduce) {
    .hub-countdown {
        transition: opacity 0.2s linear;
        transform: none;
        filter: none;
    }

    .hub-countdown.is-sunk {
        opacity: 0;
        transform: none;
        filter: none;
    }
}

.hub-countdown-copy {
    display: inline-flex;
    align-items: baseline;
    gap: 0.42em;
}

.hub-countdown-lead,
.hub-countdown-live {
    font-family: "Kaisei Decol", "Hiragino Mincho ProN", "Yu Mincho", serif;
    font-size: clamp(1.12rem, 2.15vw, 1.38rem);
    font-weight: 400;
    letter-spacing: 0.12em;
    line-height: 1;
    color: #c2a56e;
    text-shadow: none;
}

.hub-countdown-num {
    display: inline;
    margin: 0 0.08em 0 0.12em;
    font-family: "Kaisei Decol", "Hiragino Mincho ProN", "Yu Mincho", serif;
    font-size: clamp(2.45rem, 5.2vw, 3.55rem);
    font-weight: 400;
    letter-spacing: 0.04em;
    line-height: 0.9;
    color: #c2a56e;
    font-variant-numeric: tabular-nums;
    text-shadow: none;
}

.hub-countdown-unit {
    font-family: "Kaisei Decol", "Hiragino Mincho ProN", "Yu Mincho", serif;
    font-size: clamp(1.32rem, 2.6vw, 1.7rem);
    font-weight: 400;
    letter-spacing: 0.08em;
    line-height: 1;
    color: #c2a56e;
    text-shadow: none;
}

.hub-countdown-live {
    margin: 0;
    color: #c2a56e;
}

/* ---------- NEWS ---------- */

.hub-news {
    display: grid;
    grid-template-columns: minmax(10rem, auto) minmax(0, 1fr);
    gap: clamp(1.4rem, 3vw, 2.4rem) clamp(2.2rem, 5vw, 4.5rem);
    align-items: start;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: clamp(2.4rem, 6vh, 4.2rem) 0.15rem clamp(2.8rem, 7vh, 4.6rem);
    border-top: 1px solid var(--hub-line);
    border-bottom: 1px solid var(--hub-line);
}

.hub-news-label {
    display: flex;
    align-items: stretch;
    gap: 0;
    font-family: "Orbitron", sans-serif;
    font-size: clamp(2.1rem, 5.4vw, 3.45rem);
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--hub-gold);
    margin: 0;
    line-height: 1;
    text-transform: uppercase;
}

.hub-news-type-wrap {
    display: grid;
    justify-items: start;
    padding-right: 3px;
}

.hub-news-type-wrap::after {
    content: "NEWS";
    grid-area: 1 / 1;
    white-space: nowrap;
    visibility: hidden;
    pointer-events: none;
}

.hub-news-type {
    grid-area: 1 / 1;
    display: block;
    overflow: hidden;
    white-space: nowrap;
    width: 0;
    box-sizing: content-box;
    border-right: 2px solid transparent;
    text-shadow:
        0 0 14px rgba(4, 10, 22, 0.85),
        0 1px 2px rgba(0, 0, 0, 0.6);
}

.hub-news.is-ready:not(.is-in) .hub-news-type {
    width: 0;
}

.hub-news.is-in .hub-news-type {
    border-right-color: var(--hub-gold);
    animation: hubNewsType 0.82s steps(4, end) 0.08s both;
}

@keyframes hubNewsType {
    from { width: 0; }
    to { width: 100%; }
}

.hub-news-list {
    list-style: none;
    margin: 0;
    padding: 0.15rem 0 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
}

.hub-news-list li {
    display: grid;
    grid-template-columns: 8.6rem minmax(0, 1fr);
    gap: 1.15rem 1.6rem;
    align-items: baseline;
    padding: 1.15rem 0;
    border-bottom: 1px solid rgba(180, 205, 255, 0.14);
}

.hub-news-list li:first-child {
    padding-top: 0.2rem;
}

.hub-news-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.hub-news-list time {
    font-family: "Orbitron", sans-serif;
    font-size: 0.82rem;
    letter-spacing: 0.1em;
    color: var(--hub-gold);
    white-space: nowrap;
}

.hub-news-list p {
    margin: 0;
    line-height: 1.75;
    font-size: clamp(1.02rem, 1.6vw, 1.18rem);
    color: var(--hub-ink);
}

.hub-news-list a,
.hub-news-link {
    color: var(--hub-ink);
    text-decoration: none;
}

.hub-news-link {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.22rem;
    max-width: 100%;
}

.hub-news-link-hint {
    font-size: 0.68rem;
    letter-spacing: 0.06em;
    line-height: 1.4;
    color: var(--hub-muted);
}

.hub-news-link:hover,
.hub-news-link:focus-visible {
    color: var(--hub-ink);
}

.hub-news-link:hover .hub-news-link-hint,
.hub-news-link:focus-visible .hub-news-link-hint {
    color: rgba(232, 238, 248, 0.88);
}

.hub-news.is-ready .hub-news-list li {
    opacity: 0;
    transform: translateY(18px);
}

.hub-news.is-in .hub-news-list li {
    opacity: 1;
    transform: translateY(0);
    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
}

.hub-news.is-in .hub-news-list li:nth-child(1) {
    transition-delay: 0.95s;
}

.hub-news.is-in .hub-news-list li:nth-child(2) {
    transition-delay: 1.08s;
}

.hub-news.is-in .hub-news-list li:nth-child(3) {
    transition-delay: 1.2s;
}

.hub-news.is-in .hub-news-list li:nth-child(n + 4) {
    transition-delay: 1.3s;
}

@media (prefers-reduced-motion: reduce) {
    .hub-news.is-ready .hub-news-list li,
    .hub-news.is-in .hub-news-list li {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .hub-news.is-ready:not(.is-in) .hub-news-type,
    .hub-news.is-in .hub-news-type {
        width: 100%;
        animation: none;
        border-right-color: var(--hub-gold);
    }
}

.hub-news-body {
    min-width: 0;
}

.hub-news-body > .hub-news-list li:last-child {
    border-bottom: 1px solid rgba(180, 205, 255, 0.14);
    padding-bottom: 1.15rem;
}

.hub-news-more {
    margin: 0.15rem 0 0;
}

.hub-news-more summary {
    display: inline-flex;
    align-items: center;
    margin: 0.35rem 0 0;
    padding: 0.15rem 0;
    list-style: none;
    cursor: pointer;
    font-family: "Orbitron", sans-serif;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: lowercase;
    color: rgba(194, 165, 110, 0.88);
    user-select: none;
}

.hub-news-more summary::-webkit-details-marker {
    display: none;
}

.hub-news-more summary::marker {
    content: "";
}

.hub-news-more summary:hover,
.hub-news-more summary:focus-visible {
    color: #d4b56a;
}

.hub-news-more-opened {
    display: none;
}

.hub-news-more[open] .hub-news-more-closed {
    display: none;
}

.hub-news-more[open] .hub-news-more-opened {
    display: inline;
}

.hub-news-list--past {
    padding-top: 0.35rem;
}

.hub-news-more:not([open]) .hub-news-list--past {
    display: none;
}

.hub-news-list--past li:first-child {
    padding-top: 1.15rem;
}

/* ---------- INFORMATION：NEWSと同じタイプ演出、カードはジグザグ ---------- */

.hub-do {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: clamp(2rem, 4.8vh, 3.4rem) 0.15rem clamp(2.2rem, 5.2vh, 3.6rem);
}

.hub-do-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.75rem 1.6rem;
    flex-wrap: wrap;
    margin: 0 0 clamp(1.45rem, 3.2vw, 2.1rem);
}

.hub-do-label {
    display: flex;
    align-items: stretch;
    gap: 0;
    font-family: "Orbitron", sans-serif;
    font-size: clamp(2.1rem, 5.4vw, 3.45rem);
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--hub-gold);
    margin: 0;
    line-height: 1;
    text-transform: uppercase;
}

.hub-do-type-wrap {
    display: grid;
    justify-items: start;
    padding-right: 3px;
}

.hub-do-type-wrap::after {
    content: "INFORMATION";
    grid-area: 1 / 1;
    white-space: nowrap;
    visibility: hidden;
    pointer-events: none;
}

.hub-do-type {
    grid-area: 1 / 1;
    display: block;
    overflow: hidden;
    white-space: nowrap;
    width: 0;
    box-sizing: content-box;
    border-right: 2px solid transparent;
    text-shadow:
        0 0 14px rgba(4, 10, 22, 0.85),
        0 1px 2px rgba(0, 0, 0, 0.6);
}

.hub-do.is-ready:not(.is-in) .hub-do-type {
    width: 0;
}

.hub-do.is-in .hub-do-type {
    border-right-color: var(--hub-gold);
    animation: hubNewsType 0.68s steps(11, end) 0.04s both;
}

.hub-do-lead {
    margin: 0;
    font-family: "Zen Old Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
    font-size: clamp(0.92rem, 1.7vw, 1.12rem);
    letter-spacing: 0.08em;
    color: var(--hub-muted);
}

.hub-do-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.55rem;
}

.hub-do-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
        "en go"
        "title go"
        "body go";
    column-gap: 1rem;
    row-gap: 0.22rem;
    align-items: end;
    width: auto;
    padding: 0.15rem 0 0.85rem;
    border: none;
    border-bottom: 1px solid var(--hub-gold);
    background: none;
    box-shadow: none;
    text-decoration: none;
    color: inherit;
    font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic UI", sans-serif;
    min-width: 0;
    transition: border-color 0.3s ease;
}

.hub-do-item--project {
    margin-right: 18%;
}

.hub-do-item--stage {
    margin-left: 16%;
}

.hub-do-item--event {
    margin-right: 16%;
}

.hub-do-item:hover,
.hub-do-item:focus-visible {
    border-bottom-color: #e4c57a;
}

.hub-do-en {
    grid-area: en;
    font-family: "Orbitron", sans-serif;
    font-size: 0.62rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    color: var(--hub-gold);
}

.hub-do-item h3 {
    grid-area: title;
    margin: 0;
    font-size: clamp(1.12rem, 2vw, 1.38rem);
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1.4;
    color: #f4f7fc;
}

.hub-do-item p {
    grid-area: body;
    margin: 0;
    max-width: 36em;
    line-height: 1.6;
    color: var(--hub-muted);
    font-size: 0.88rem;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.hub-do-go {
    grid-area: go;
    align-self: center;
    font-size: 0.74rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    color: var(--hub-gold);
    white-space: nowrap;
    transition: transform 0.3s ease;
}

.hub-do-item:hover .hub-do-go,
.hub-do-item:focus-visible .hub-do-go {
    transform: translateX(4px);
}

@media (min-width: 961px) {
    .hub-do-head {
        position: relative;
        align-items: flex-end;
        padding-bottom: 0.35rem;
        margin-bottom: 1.5rem;
    }

    .hub-do-list {
        grid-template-columns: 1fr;
        gap: 1.7rem;
    }

    .hub-do-item--project {
        margin-right: 22%;
        margin-left: 0;
        width: auto;
    }

    .hub-do-item--stage {
        margin-left: 22%;
        margin-right: 0;
        width: auto;
    }

    .hub-do-item--event {
        margin-right: 22%;
        margin-left: 0;
        width: auto;
    }
}

.hub-do.is-ready .hub-do-lead,
.hub-do.is-ready .hub-do-item {
    opacity: 0;
    transform: translateY(14px);
}

.hub-do.is-in .hub-do-lead,
.hub-do.is-in .hub-do-item {
    opacity: 1;
    transform: translateY(0);
    transition:
        opacity 0.42s ease,
        transform 0.42s ease;
}

.hub-do.is-in .hub-do-lead {
    transition-delay: 0.52s;
}

.hub-do.is-in .hub-do-item--project {
    transition-delay: 0.52s;
}

.hub-do.is-in .hub-do-item--stage {
    transition-delay: 0.62s;
}

.hub-do.is-in .hub-do-item--event {
    transition-delay: 0.72s;
}

@media (prefers-reduced-motion: reduce) {
    .hub-do.is-ready .hub-do-lead,
    .hub-do.is-ready .hub-do-item,
    .hub-do.is-in .hub-do-lead,
    .hub-do.is-in .hub-do-item {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .hub-do.is-ready:not(.is-in) .hub-do-type,
    .hub-do.is-in .hub-do-type {
        width: 100%;
        animation: none;
        border-right-color: var(--hub-gold);
    }

    .hub-do-item:hover,
    .hub-do-item:focus-visible {
        transform: none;
    }

    .hub-do-item:hover .hub-do-go,
    .hub-do-item:focus-visible .hub-do-go {
        transform: none;
    }
}

.hub-replay {
    font-family: "Orbitron", sans-serif;
    font-size: 0.68rem;
    letter-spacing: 0.14em;
    color: var(--hub-accent);
    border-bottom: 1px solid rgba(126, 182, 255, 0.45);
    padding-bottom: 0.15rem;
    text-decoration: none;
}

/* ---------- 導線ナビ（未使用だが互換のため最小限） ---------- */

.hub-section-label {
    font-family: "Orbitron", sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.22em;
    color: var(--hub-gold);
    margin: 0 0 1rem;
}

.hub-nav-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--hub-line);
    border: 1px solid var(--hub-line);
}

.hub-nav-item {
    display: grid;
    gap: 0.45rem;
    padding: 1.35rem 1.2rem 1.45rem;
    background: rgba(6, 12, 24, 0.72);
    text-decoration: none;
    min-height: 132px;
    transition: background 0.2s ease, transform 0.2s ease;
}

.hub-nav-item:hover {
    background: rgba(20, 36, 68, 0.9);
    transform: translateY(-2px);
}

.hub-nav-item .num {
    font-family: "Orbitron", sans-serif;
    font-size: 0.68rem;
    letter-spacing: 0.16em;
    color: rgba(126, 182, 255, 0.75);
}

.hub-nav-item h2 {
    font-family: "Orbitron", sans-serif;
    font-size: clamp(1.15rem, 2.4vw, 1.55rem);
    letter-spacing: 0.08em;
    margin: 0;
}

.hub-nav-item p {
    margin: 0;
    color: var(--hub-muted);
    font-size: 0.88rem;
    line-height: 1.6;
}

.hub-nav-item .go {
    margin-top: auto;
    font-family: "Orbitron", sans-serif;
    font-size: 0.65rem;
    letter-spacing: 0.14em;
    color: var(--hub-accent);
}

/* ---------- スケジュール + お知らせ ---------- */

.hub-split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 2rem 0 1.2rem;
    border-bottom: 1px solid var(--hub-line);
}

.hub-panel {
    background: var(--hub-panel);
    border: 1px solid var(--hub-line);
    padding: 1.35rem 1.3rem 1.5rem;
    backdrop-filter: blur(10px);
}

.hub-panel-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.hub-panel-head h3 {
    font-family: "Orbitron", sans-serif;
    font-size: 0.95rem;
    letter-spacing: 0.12em;
    margin: 0;
}

.hub-panel-head a {
    font-size: 0.78rem;
    color: var(--hub-accent);
    letter-spacing: 0.06em;
}

.hub-day-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.hub-day-tab {
    appearance: none;
    border: 1px solid var(--hub-line);
    background: transparent;
    color: var(--hub-muted);
    font-family: "Orbitron", "Zen Kaku Gothic New", sans-serif;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    padding: 0.5rem 0.9rem;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.hub-day-tab.is-active {
    color: #fff;
    border-color: rgba(126, 182, 255, 0.7);
    background: rgba(126, 182, 255, 0.16);
}

/* ---------- 会場レーン型スケジュール ---------- */

.hub-schedule-scroll {
    width: 100%;
    overflow-x: auto;
    overflow-y: auto;
    max-height: 36rem;
    -webkit-overflow-scrolling: touch;
    margin: 0 -0.15rem;
    padding: 0 0.15rem;
    scrollbar-color: rgba(126, 182, 255, 0.45) rgba(4, 10, 22, 0.35);
    scrollbar-width: thin;
}

.hub-schedule-grid {
    display: grid;
    grid-template-columns: 4.2rem repeat(4, minmax(5.5rem, 1fr));
    min-width: 36rem;
    border: 1px solid rgba(180, 205, 255, 0.16);
    background: rgba(4, 10, 22, 0.35);
}

.hub-schedule-row {
    display: contents;
}

.hub-schedule-cell {
    padding: 0.3rem 0.4rem;
    border-right: 1px solid rgba(180, 205, 255, 0.1);
    border-bottom: 1px solid rgba(180, 205, 255, 0.1);
    min-height: 2.45rem;
}

.hub-schedule-row > .hub-schedule-cell:last-child {
    border-right: none;
}

.hub-schedule-head .hub-schedule-cell {
    border-bottom-color: rgba(180, 205, 255, 0.22);
    background: rgba(126, 182, 255, 0.08);
    position: sticky;
    top: 0;
    z-index: 1;
}

.hub-schedule-time-head,
.hub-schedule-lane-head {
    font-family: "Orbitron", sans-serif;
    font-size: 0.58rem;
    letter-spacing: 0.08em;
    color: var(--hub-muted);
    font-weight: 500;
    min-height: 0;
    padding: 0.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.35;
}

.hub-schedule-time {
    font-family: "Orbitron", sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.04em;
    color: var(--hub-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 0.3rem;
    background: rgba(6, 12, 26, 0.45);
    position: sticky;
    left: 0;
    z-index: 1;
}

.hub-schedule-event {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    align-items: stretch;
}

.hub-schedule-event.is-empty {
    background: transparent;
}

.hub-schedule-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.35rem;
    border: 1px solid rgba(180, 205, 255, 0.22);
    background: rgba(14, 24, 48, 0.55);
    padding: 0.28rem 0.4rem;
    text-decoration: none;
    color: inherit;
}

.hub-schedule-card.is-link {
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.hub-schedule-card.is-link:hover {
    border-color: rgba(126, 182, 255, 0.5);
    background: rgba(20, 36, 68, 0.75);
}

.hub-schedule-card strong {
    display: block;
    font-size: 0.74rem;
    font-weight: 600;
    line-height: 1.25;
    color: var(--hub-ink);
    margin: 0;
}

.hub-schedule-card span {
    display: block;
    font-family: "Orbitron", sans-serif;
    font-size: 0.58rem;
    letter-spacing: 0.04em;
    color: var(--hub-muted);
}

.hub-schedule-row.is-concurrent .hub-schedule-time {
    background: rgba(126, 182, 255, 0.1);
}

.hub-schedule-row.is-concurrent .hub-schedule-event:not(.is-empty) {
    background: rgba(126, 182, 255, 0.05);
}

.hub-schedule-empty {
    margin: 0;
    color: var(--hub-muted);
    font-size: 0.85rem;
}

/* スマホ用：1時間ごとに折りたたみ */
.hub-schedule-mobile {
    display: none;
}

.hub-schedule-hour-group {
    margin-bottom: 0.55rem;
}

.hub-schedule-hour-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.75rem 0.9rem;
    border: 1px solid var(--hub-line);
    background: var(--hub-panel);
    color: var(--hub-ink);
    font-family: "Orbitron", sans-serif;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    cursor: pointer;
    text-align: left;
}

.hub-schedule-hour-header::after {
    content: "＋";
    font-size: 0.95rem;
    line-height: 1;
    opacity: 0.75;
}

.hub-schedule-hour-group.is-open .hub-schedule-hour-header {
    border-color: rgba(126, 182, 255, 0.55);
    background: rgba(14, 24, 48, 0.72);
}

.hub-schedule-hour-group.is-open .hub-schedule-hour-header::after {
    content: "−";
}

.hub-schedule-hour-count {
    margin-left: auto;
    margin-right: 0.65rem;
    font-size: 0.6rem;
    letter-spacing: 0.12em;
    color: var(--hub-muted);
}

.hub-schedule-hour-body[hidden] {
    display: none !important;
}

.hub-schedule-hour-group.is-open .hub-schedule-hour-body {
    animation: hubScheduleHourReveal 0.3s ease;
}

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

.hub-schedule-mobile-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
}

.hub-schedule-mobile-item {
    display: grid;
    grid-template-columns: 4.4rem minmax(0, 1fr);
    gap: 0.7rem;
    align-items: start;
    padding: 0.65rem 0.15rem;
    border-bottom: 1px solid rgba(180, 205, 255, 0.14);
}

.hub-schedule-mobile-item.is-link {
    display: block;
    padding: 0;
}

.hub-schedule-mobile-link {
    display: grid;
    grid-template-columns: 4.4rem minmax(0, 1fr);
    gap: 0.7rem;
    align-items: start;
    padding: 0.65rem 0.15rem;
    text-decoration: none;
    color: inherit;
    transition: background 0.2s ease;
}

.hub-schedule-mobile-link:hover,
.hub-schedule-mobile-link:focus-visible {
    background: rgba(126, 182, 255, 0.08);
    outline: none;
}

.hub-schedule-mobile-item:last-child {
    border-bottom: none;
}

.hub-schedule-mobile-time {
    font-family: "Orbitron", sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.04em;
    color: var(--hub-accent);
    padding-top: 0.1rem;
}

.hub-schedule-mobile-meta strong {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.35;
    color: var(--hub-ink);
    margin-bottom: 0.12rem;
}

.hub-schedule-mobile-meta > div {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 0.75rem;
}

.hub-schedule-mobile-meta span {
    font-family: "Orbitron", sans-serif;
    font-size: 0.6rem;
    letter-spacing: 0.04em;
    color: var(--hub-muted);
}


/* ---------- テーマ + アクセス ---------- */

.hub-lower {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 2rem 0 1rem;
}

.hub-lower-solo {
    grid-template-columns: 1fr;
}

.hub-access-copy .hub-replay {
    display: inline-block;
    margin-top: 1.1rem;
}

.hub-access-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 1rem;
    align-items: stretch;
}

.hub-access-copy p {
    margin: 0 0 0.7rem;
    line-height: 1.7;
    color: var(--hub-muted);
    font-size: 0.9rem;
}

.hub-access-map {
    min-height: 180px;
    border: 1px solid var(--hub-line);
    overflow: hidden;
}

.hub-access-map iframe {
    width: 100%;
    height: 100%;
    min-height: 180px;
    border: 0;
    filter: grayscale(0.25) contrast(1.05);
}

/* 最後のブロック：アクセスと住所 */
.hub-lower--landing {
    box-sizing: border-box;
    padding: clamp(2rem, 5vh, 3.4rem) 0 clamp(2.2rem, 5.5vh, 3.8rem);
    border-top: 1px solid var(--hub-line);
}

.hub-lower--landing .hub-panel-head h3 {
    font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.hub-lower--landing .hub-access-copy p {
    color: var(--hub-ink);
    font-size: clamp(1.05rem, 1.8vw, 1.28rem);
    line-height: 1.8;
}

.hub-lower--landing .hub-access-copy > p:first-child {
    font-size: clamp(1.18rem, 2.2vw, 1.48rem);
    font-weight: 500;
    line-height: 1.2;
}

.hub-access-zip {
    display: inline-block;
    margin-left: 0.7em;
    font-size: 0.86em;
    font-weight: 400;
    letter-spacing: 0.03em;
    vertical-align: 0.06em;
}

.hub-access-transit {
    margin: 0 0 0.7rem;
}

.hub-access-transit p,
.hub-access-from {
    margin: 0;
    line-height: 1.15;
}

.hub-access-ways {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0;
    margin: 0.05rem 0 0;
    padding: 0;
}

.hub-access-ways li {
    margin: 0;
    line-height: 1.15;
}

.hub-access-ways li + li::before {
    content: "/";
    margin: 0 0.4em;
    color: var(--hub-muted, rgba(232, 238, 248, 0.55));
    font-weight: 400;
}

.hub-lower--landing .hub-access-copy .hub-access-from,
.hub-lower--landing .hub-access-copy .hub-access-ways li {
    color: var(--hub-muted, rgba(232, 238, 248, 0.68));
    font-size: clamp(0.86rem, 1.4vw, 0.98rem);
    font-weight: 400;
    line-height: 1.15;
}

.hub-access-note {
    display: flex;
    align-items: baseline;
    gap: 0.28em;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.hub-access-note-mark {
    font-size: 0.72em;
    font-weight: 500;
}

.hub-lower--landing .hub-access-copy .hub-access-note {
    margin: 0.2rem 0 0.85rem;
    padding: 0;
    border: 0;
    background: none;
    color: #c2a56e;
    font-size: clamp(0.98rem, 1.6vw, 1.12rem);
    font-weight: 500;
    line-height: 1.4;
}

.hub-lower--landing .hub-access-map,
.hub-lower--landing .hub-access-map iframe {
    min-height: 280px;
    height: min(48vh, 460px);
}

/* ---------- コンテナ幅をハブだけ少し広げる ---------- */

body.hub-ready .container {
    width: min(1180px, 92%);
}

/* オープニング中はハブを完全に隠す（動画→シネマの隙間で写らないように） */
body.opening-active:not(.hub-ready) #homeHub,
body.opening-active:not(.hub-ready) .footer {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

body.hub-ready #homeHub {
    opacity: 1;
    visibility: visible;
    animation: hub-rise 0.7s ease both;
}

@keyframes hub-rise {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 960px) {
    .hub-split,
    .hub-access-grid {
        grid-template-columns: 1fr;
    }

    .hub-news {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .hub-do-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    body:has(#homeHub) .container {
        margin-top: 70px;
        margin-bottom: 50px;
    }

    .hub-hero {
        min-height: calc(100dvh - 70px);
        min-height: calc(100svh - 70px);
        gap: clamp(0.85rem, 2.2vh, 1.4rem);
        padding: 0.6rem 0.75rem 3.6rem;
    }

    .hub-brand img {
        width: min(420px, 88vw);
    }

    .hub-countdown {
        top: calc(70px + 0.35rem);
        left: 14px;
    }
}

@media (max-width: 640px) {
    .hub-hero {
        text-align: center;
    }

    .hub-kicker {
        font-size: clamp(0.88rem, 4.4vw, 1.1rem);
        letter-spacing: 0.12em;
        line-height: 1.55;
    }

    .hub-brand img {
        width: min(400px, 90vw);
    }

    .hub-when-date {
        font-size: clamp(1.28rem, 5.8vw, 1.55rem);
        letter-spacing: 0.02em;
    }

    .hub-when-br {
        display: block;
    }

    .hub-when-time {
        font-size: clamp(1.12rem, 5vw, 1.32rem);
        letter-spacing: 0.14em;
    }

    .hub-when-note {
        font-size: clamp(0.68rem, 3.1vw, 0.82rem);
        letter-spacing: 0.08em;
    }

    .hub-countdown-lead,
    .hub-countdown-live {
        font-size: 1.05rem;
        letter-spacing: 0.08em;
    }

    .hub-countdown-num {
        font-size: 2.4rem;
    }

    .hub-countdown-unit {
        font-size: 1.22rem;
    }

    .hub-lower--landing .hub-access-copy p,
    .hub-lower--landing .hub-access-copy > p:first-child {
        font-size: clamp(1.05rem, 4.2vw, 1.22rem);
    }

    .hub-lower--landing .hub-access-copy .hub-access-from,
    .hub-lower--landing .hub-access-copy .hub-access-ways li {
        font-size: clamp(0.82rem, 3.4vw, 0.92rem);
    }

    .hub-lower--landing {
        padding: 1.8rem 0 2.2rem;
    }

    .hub-lower--landing .hub-access-map,
    .hub-lower--landing .hub-access-map iframe {
        min-height: 200px;
        height: min(32vh, 260px);
    }

    .hub-theme {
        margin-top: 0.6rem;
        padding: 2rem 0.75rem 2.8rem;
        max-width: 100%;
        text-align: left;
    }

    .hub-theme-copy {
        max-width: 100%;
    }

    .hub-theme-rocket {
        width: min(520px, 90vw);
        max-width: 96%;
        opacity: 0.22;
        right: auto;
        left: -8%;
        top: 68%;
    }

    .hub-theme-label {
        font-size: clamp(1.3rem, 6vw, 1.7rem);
        margin-bottom: 1.35rem;
    }

    .hub-theme-body p {
        font-size: clamp(1.05rem, 4.2vw, 1.2rem);
        line-height: 1.95;
    }

    .hub-news-label {
        font-size: clamp(1.75rem, 9.2vw, 2.4rem);
    }

    .hub-do-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.28rem;
        margin-bottom: 1.4rem;
    }

    .hub-do-label {
        font-size: clamp(1.32rem, 6.6vw, 2.2rem);
    }

    .hub-do-item {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas:
            "en"
            "title"
            "body"
            "go";
        padding: 0.1rem 0 0.85rem;
    }

    .hub-do-item--project {
        margin-right: 14%;
    }

    .hub-do-item--stage {
        margin-left: 12%;
    }

    .hub-do-item--event {
        margin-right: 12%;
    }

    .hub-do-go {
        align-self: start;
        margin-top: 0.2rem;
    }

    .hub-news-list li {
        grid-template-columns: 1fr;
        gap: 0.35rem;
        padding: 1rem 0;
    }

    .hub-schedule-scroll {
        display: none;
    }

    .hub-schedule-mobile {
        display: block;
    }

    .hub-schedule-mobile-item {
        grid-template-columns: 4.2rem minmax(0, 1fr);
    }
}

