@font-face {
    font-family: "Klee One";
    src: url("../../external/KleeOne-Regular.woff2") format("woff2");
    font-display: swap;
}

html,
body,
button,
input,
select,
textarea {
    font-family: "Klee One", sans-serif;
}

:root {
    --bg: #111111;
    --surface: rgba(255, 255, 255, 0.9);
    --surface-strong: #ffffff;
    --text: #1a1a1a;
    --text-light: #f4f4f4;
    --muted: #5f6470;
    --line: rgba(0, 0, 0, 0.08);
    --shadow: 0 20px 50px rgba(0, 0, 0, 0.14);
    --radius-xl: 28px;
    --radius-lg: 20px;
    --accent-pink: #d27bc3;
    --accent-blue: #63b6df;
    --accent-green: #24a244;
    --accent-yellow: #e5cf40;
    --accent-orange: #ec9440;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family:
        "Klee One",
        "Hiragino Sans",
        "Yu Gothic",
        "Meiryo",
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        sans-serif;
    color: var(--text);
    background:
        radial-gradient(
            circle at 8% 12%,
            rgba(210, 123, 195, 0.34),
            transparent 15%
        ),
        radial-gradient(
            circle at 88% 10%,
            rgba(229, 207, 64, 0.34),
            transparent 16%
        ),
        radial-gradient(
            circle at 82% 82%,
            rgba(36, 162, 68, 0.28),
            transparent 18%
        ),
        radial-gradient(
            circle at 15% 88%,
            rgba(99, 182, 223, 0.3),
            transparent 16%
        ),
        linear-gradient(180deg, #f6f7fb 0%, #eef1f6 100%);
    line-height: 1.7;
}

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

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

button {
    font: inherit;
}

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

.section {
    padding: 88px 0;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(12px);
    background: rgba(255, 255, 255, 0.82);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 76px;
    gap: 24px;
}

.logo {
    font-size: 1.6rem;
    font-weight: 900;
    letter-spacing: 0.02em;
}

.global-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.global-nav a {
    position: relative;
    font-weight: 700;
    color: #333;
}

.global-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 2px;
    background: #111;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}

.global-nav a:hover::after,
.global-nav a:focus-visible::after {
    transform: scaleX(1);
}

.menu-toggle {
    display: none;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    padding: 0;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: #111;
    margin: 5px auto;
    transition:
        transform 0.3s ease,
        opacity 0.3s ease;
}

.hero {
    padding-top: 72px;
}

.hero-grid,
.join-grid,
.contact-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 44px;
    align-items: center;
}

.hero-copy h1 {
    margin: 12px 0 18px;
    font-size: clamp(2.6rem, 6vw, 4.8rem);
    line-height: 1.02;
    letter-spacing: -0.03em;
}

.hero-copy h1 span {
    display: inline-block;
    font-size: clamp(1.3rem, 3.2vw, 2rem);
    margin-top: 10px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
}

.eyebrow::before {
    content: "";
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: linear-gradient(
        135deg,
        var(--accent-pink),
        var(--accent-yellow)
    );
}

.lead {
    max-width: 40rem;
    font-size: 1.05rem;
    color: #363b45;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 22px;
    border: 0;
    border-radius: 999px;
    font-weight: 800;
    cursor: pointer;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        opacity 0.2s ease;
}

.button:hover,
.button:focus-visible {
    transform: translateY(-2px);
}

.button.primary {
    background: #222;
    color: #fff;
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.16);
}

.cta-box > .button.primary {
    background: #888;
}

.button.secondary {
    background: rgba(255, 255, 255, 0.88);
    color: #111;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.hero-points {
    list-style: none;
    padding: 0;
    margin: 28px 0 0;
    display: grid;
    gap: 12px;
}

.hero-points li,
.panel,
.info-card,
.contact-card,
.cta-box {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
}

.hero-points li {
    padding: 16px 20px;
    font-weight: 700;
}

.poster-card,
.poster-gallery {
    position: relative;
    border-radius: 34px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.18);
}

.poster-card::before,
.poster-gallery::before {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: inherit;
    pointer-events: none;
}

.section-heading {
    margin-bottom: 28px;
}

.section-heading h2 {
    margin: 10px 0 0;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.1;
}

.about-grid,
.info-grid {
    display: grid;
    gap: 22px;
}

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

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

.panel,
.info-card,
.contact-card,
.cta-box {
    padding: 28px;
}

.panel h3,
.info-card strong {
    display: block;
    margin-bottom: 12px;
}

.panel h3 {
    margin-top: 0;
    font-size: 1.2rem;
}

.info-card strong {
    font-size: 1.35rem;
    line-height: 1.35;
}

.info-label {
    display: inline-block;
    margin-bottom: 12px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.06);
    font-size: 0.88rem;
    font-weight: 800;
}

.steps {
    margin: 0;
    padding-left: 1.2rem;
}

.steps li + li {
    margin-top: 18px;
}

.steps p {
    margin: 6px 0 0;
    color: #4f5561;
}

.cta-box {
    margin-top: 24px;
}

.note {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 0.95rem;
}

.contact-card dl {
    margin: 0;
    display: grid;
    gap: 18px;
}

.contact-card div {
    display: grid;
    gap: 6px;
}

.contact-card dt {
    font-size: 0.92rem;
    font-weight: 800;
    color: var(--muted);
}

.contact-card dd {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
}

.contact-card a {
    color: #111;
}

.poster-gallery img {
    width: 100%;
}

.site-footer {
    padding: 28px 0 44px;
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    color: #4b505a;
    font-weight: 700;
}

.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal.delay-1 {
    transition-delay: 0.1s;
}

.reveal.delay-2 {
    transition-delay: 0.2s;
}

.modal {
    position: fixed;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 24px;
    visibility: hidden;
    opacity: 0;
    transition:
        opacity 0.25s ease,
        visibility 0.25s ease;
    z-index: 200;
}

.modal.is-open {
    visibility: visible;
    opacity: 1;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
}

.modal-content {
    position: relative;
    max-width: min(92vw, 760px);
    max-height: 88vh;
    z-index: 1;
}

.modal-content img {
    width: auto;
    max-width: 100%;
    max-height: 88vh;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
}

.modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.95);
    font-size: 1.4rem;
    font-weight: 800;
    cursor: pointer;
}

body.is-locked {
    overflow: hidden;
}

@media (max-width: 960px) {
    .hero-grid,
    .join-grid,
    .contact-grid,
    .about-grid,
    .info-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .section {
        padding: 72px 0;
    }

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

    .global-nav {
        position: absolute;
        top: calc(100% + 10px);
        right: 16px;
        left: 16px;
        display: grid;
        gap: 8px;
        padding: 14px;
        border-radius: 22px;
        background: rgba(255, 255, 255, 0.98);
        box-shadow: 0 18px 40px rgba(0, 0, 0, 0.14);
        border: 1px solid rgba(0, 0, 0, 0.06);
        opacity: 0;
        pointer-events: none;
        transform: translateY(-8px);
        transition:
            opacity 0.25s ease,
            transform 0.25s ease;
    }

    .global-nav.is-open {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .global-nav a {
        padding: 10px 12px;
        border-radius: 12px;
    }

    .global-nav a:hover,
    .global-nav a:focus-visible {
        background: rgba(0, 0, 0, 0.04);
    }

    .hero {
        padding-top: 48px;
    }

    .panel,
    .info-card,
    .contact-card,
    .cta-box {
        padding: 24px;
    }

    .footer-inner {
        flex-direction: column;
    }
}
