:root {
    --bg: #07111f;
    --bg-soft: rgba(10, 20, 36, 0.76);
    --panel: rgba(13, 24, 43, 0.88);
    --panel-2: rgba(19, 32, 55, 0.92);
    --line: rgba(255, 255, 255, 0.08);
    --line-strong: rgba(255, 255, 255, 0.16);
    --text: #eef5ff;
    --muted: #aac0de;
    --accent: #7bc7ff;
    --accent-2: #b88cff;
    --shadow: 0 18px 50px rgba(0, 0, 0, 0.32);
    --radius-xl: 28px;
    --radius-lg: 20px;
    --radius-md: 14px;
    --container: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(123, 199, 255, 0.16), transparent 28%),
        radial-gradient(circle at top right, rgba(184, 140, 255, 0.16), transparent 30%),
        linear-gradient(180deg, #05101d 0%, #081423 36%, #091728 100%);
    font-family: "Inter", "Noto Sans JP", "Hiragino Sans", "Yu Gothic UI", sans-serif;
    line-height: 1.7;
    user-select: none;
    -webkit-user-select: none;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

button,
input,
textarea,
select {
    font: inherit;
}

.container {
    width: min(calc(100% - 32px), var(--container));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(16px);
    background: rgba(4, 10, 18, 0.72);
    border-bottom: 1px solid var(--line);
}

.site-header__inner {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.brand__logo {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    font-weight: 800;
}

.brand__text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.brand__name {
    font-weight: 800;
    letter-spacing: 0.04em;
}

.brand__sub {
    color: var(--muted);
    font-size: 0.82rem;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.site-nav a {
    padding: 10px 14px;
    border-radius: 999px;
    color: var(--muted);
    transition: 0.2s ease;
}

.site-nav a:hover,
.site-nav a.is-active {
    color: var(--text);
    background: rgba(255, 255, 255, 0.06);
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 4px auto;
    background: var(--text);
}

.site-main {
    min-height: calc(100vh - 140px);
}

.panel {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
}

.hero {
    padding: 80px 0 42px;
}

.hero__grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 24px;
}

.hero__content,
.hero__side,
.page-hero .panel,
.card,
.step,
.staff-card,
.timeline__item,
.gallery-card,
.cta {
    padding: 28px;
}

.eyebrow {
    display: inline-flex;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--line);
    color: var(--accent);
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

h1,
h2,
h3 {
    line-height: 1.15;
    margin-top: 0;
}

h1 {
    margin-bottom: 16px;
    font-size: clamp(2.1rem, 3vw, 4.3rem);
    letter-spacing: -0.03em;
}

h2 {
    margin-bottom: 12px;
    font-size: clamp(1.4rem, 2.2vw, 2rem);
}

h3 {
    margin-bottom: 10px;
    font-size: 1.12rem;
}

p,
ul {
    margin-top: 0;
}

.hero__lead,
.muted,
.section__head p,
.card p,
.step p,
.staff-card p,
.timeline__item p,
.gallery-card p {
    color: var(--muted);
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.button {
    min-height: 48px;
    padding: 0 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 999px;
    font-weight: 700;
    transition: 0.2s ease;
}

.button--primary {
    color: #03111f;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

.button--primary:hover {
    transform: translateY(-1px);
    filter: brightness(1.05);
}

.button--ghost {
    color: var(--text);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--line);
}

.button--ghost:hover {
    background: rgba(255, 255, 255, 0.08);
}

.hero__image {
    min-height: 280px;
    border-radius: 22px;
    border: 1px solid var(--line);
    background-color: rgba(255, 255, 255, 0.04);
    background-size: cover;
    background-position: center;
}

.hero__tags,
.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.tag {
    display: inline-flex;
    padding: 7px 10px;
    border-radius: 999px;
    font-size: 0.82rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--line);
}

.page-hero {
    padding: 48px 0 12px;
}

.section {
    padding: 22px 0 30px;
}

.section--cta {
    padding-bottom: 70px;
}

.section__head {
    margin-bottom: 20px;
}

.cards {
    display: grid;
    gap: 18px;
}

.cards--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cards--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card--link {
    transition: 0.2s ease;
}

.card--link:hover {
    transform: translateY(-3px);
    border-color: var(--line-strong);
}

.steps {
    display: grid;
    gap: 18px;
}

.step__number {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    margin-bottom: 14px;
    border-radius: 12px;
    font-weight: 800;
    background: linear-gradient(135deg, rgba(123, 199, 255, 0.22), rgba(184, 140, 255, 0.24));
    border: 1px solid var(--line);
}

.step ul,
.card ul {
    padding-left: 18px;
    color: var(--muted);
}

.staff-card__image {
    width: 96px;
    height: 96px;
    margin-bottom: 18px;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid var(--line);
    background: linear-gradient(135deg, rgba(123, 199, 255, 0.16), rgba(184, 140, 255, 0.16));
    padding: 6px;
}

.staff-card__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.staff-card__role {
    font-weight: 700;
    color: var(--text);
}

.gallery-card {
    overflow: hidden;
}

.gallery-card__image {
    aspect-ratio: 16 / 10;
    border-radius: 18px;
    background-size: cover;
    background-position: center;
    background-color: rgba(255, 255, 255, 0.04);
    margin-bottom: 16px;
}

.timeline {
    display: grid;
    gap: 16px;
}

.timeline__item {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 20px;
}

.timeline__date {
    font-weight: 800;
    color: var(--accent);
}

.cta {
    background: linear-gradient(135deg, rgba(123, 199, 255, 0.16), rgba(184, 140, 255, 0.16));
}

.site-footer {
    border-top: 1px solid var(--line);
    padding: 24px 0 40px;
    color: var(--muted);
}

.site-footer__inner {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

@media (max-width: 960px) {
    .hero__grid,
    .cards--2,
    .cards--3,
    .timeline__item {
        grid-template-columns: 1fr;
    }

    .site-nav {
        display: none;
        position: absolute;
        top: 76px;
        right: 16px;
        left: 16px;
        padding: 12px;
        border-radius: 18px;
        background: rgba(8, 18, 31, 0.98);
        border: 1px solid var(--line);
        box-shadow: var(--shadow);
        flex-direction: column;
        align-items: stretch;
    }

    .site-nav.is-open {
        display: flex;
    }

    .site-nav a {
        width: 100%;
    }

    .nav-toggle {
        display: inline-block;
    }
}

.news-list {
    display: grid;
    gap: 18px;
}

.news-card__meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.news-card__date {
    color: var(--accent);
    font-weight: 700;
}

.news-card ul {
    padding-left: 18px;
    color: var(--muted);
}

.gallery-card__body {
    padding-top: 0;
}

.rules-only-embed {
    width: 100%;
    height: calc(100vh - 76px);
    background: #ffffff;
}

.rules-only-embed__frame {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    background: #ffffff;
}

.staff-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.staff-link--icon {
    width: 64px;
    height: 64px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s ease;
}

.staff-link--icon:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.08);
}

.staff-link--icon img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.site-nav a.site-nav__icon-link {
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin-left: 6px;
    color: var(--muted);
    transition: 0.2s ease;
    flex-shrink: 0;
}

.site-nav a.site-nav__icon-link:hover {
    color: var(--text);
    background: transparent;
}

.site-nav a.site-nav__icon-link img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.timeline__body {
    min-width: 0;
}

.timeline__image {
    margin: 14px 0 16px;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.04);
}

.timeline__image img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 420px;
    object-fit: cover;
}

.preline {
    white-space: pre-line;
}

.preline a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.preline a:hover {
    color: #9fdcff;
    opacity: 1;
}

.hero-about {
    margin-top: 36px;
}

.hero-about__head {
    margin-bottom: 18px;
}

.hero-about__head h2 {
    margin-bottom: 10px;
}

.hero-about__head p {
    color: var(--muted);
    margin-bottom: 0;
}

.hero-about__cards {
    gap: 14px;
}

.hero-about__card {
    padding: 20px;
}

.hero-about__card h3 {
    font-size: 1.04rem;
    margin-bottom: 8px;
}

.hero-about__card p {
    font-size: 0.95rem;
    color: var(--muted);
}

.step a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.step a:hover {
    color: #9fdcff;
    opacity: 1;
}