:root {
    --bg: #f6f8fd;
    --bg-2: #edf1fb;
    --panel: rgba(255, 255, 255, 0.84);
    --panel-strong: rgba(255, 255, 255, 0.94);
    --line: rgba(28, 46, 78, 0.1);
    --line-strong: rgba(28, 46, 78, 0.16);
    --text: #0f1d35;
    --muted: rgba(15, 29, 53, 0.62);
    --signal: #47c8ff;
    --signal-2: #ff75c9;
    --signal-3: #ffc960;
    --shadow: 0 24px 72px rgba(35, 53, 84, 0.14);
    --radius-xl: 34px;
    --radius-lg: 24px;
    --radius-md: 18px;
    --menu-w: min(520px, 92vw);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 86px;
}

body.future-page {
    margin: 0;
    min-height: 100vh;
    overflow-x: hidden;
    background:
        radial-gradient(circle at 10% 15%, rgba(71, 200, 255, 0.16), transparent 18%),
        radial-gradient(circle at 82% 14%, rgba(255, 117, 201, 0.12), transparent 18%),
        radial-gradient(circle at 56% 74%, rgba(255, 201, 96, 0.16), transparent 14%),
        linear-gradient(180deg, #fbfcff 0%, var(--bg) 40%, var(--bg-2) 100%);
    color: var(--text);
    font-family: 'IBM Plex Sans JP', sans-serif;
    text-shadow: none;
    text-align: left;
}

body.future-page::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(rgba(15, 29, 53, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 29, 53, 0.04) 1px, transparent 1px);
    background-size: 72px 72px;
    opacity: 0.45;
    z-index: -2;
}

body.future-page::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 50% -10%, rgba(255, 255, 255, 0.92), transparent 38%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.28), transparent 22%, transparent 80%, rgba(28, 46, 78, 0.08));
    z-index: -1;
}

body.future-page.menu-open {
    overflow: hidden;
}

body.future-page a {
    color: inherit;
    text-decoration: none;
}

.page-header {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 80;
    pointer-events: none;
}

.header-inner {
    width: auto;
    margin: 0;
    padding: 18px 0 0 18px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.menu-trigger {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-height: 54px;
    padding: 0 18px;
    border: 1px solid rgba(28, 46, 78, 0.1);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
    color: var(--text);
    cursor: pointer;
    box-shadow: 0 8px 22px rgba(35, 53, 84, 0.08);
    transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
    pointer-events: auto;
}

.menu-trigger:hover {
    transform: translateY(-2px);
    border-color: rgba(71, 200, 255, 0.3);
    background: rgba(255, 255, 255, 0.98);
}

.menu-lines {
    display: grid;
    gap: 5px;
}

.menu-lines span {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: var(--text);
}

.menu-label {
    font-family: 'Oxanium', sans-serif;
    font-size: 0.82rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: grid;
    grid-template-columns: minmax(0, var(--menu-w)) 1fr;
    background: rgba(239, 244, 252, 0.82);
    backdrop-filter: blur(16px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

body.future-page.menu-open .menu-overlay {
    opacity: 1;
    pointer-events: auto;
}

.menu-panel {
    position: relative;
    height: 100%;
    padding: 26px 28px 32px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(245, 248, 253, 0.98));
    border-right: 1px solid rgba(28, 46, 78, 0.08);
    box-shadow: 0 30px 80px rgba(35, 53, 84, 0.16);
    overflow-y: auto;
}

.menu-panel::before {
    content: "";
    position: absolute;
    inset: 16px;
    border: 1px solid rgba(28, 46, 78, 0.08);
    border-radius: 26px;
    pointer-events: none;
}

.menu-top {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-bottom: 8px;
}

.menu-close {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(28, 46, 78, 0.1);
    background: rgba(255, 255, 255, 0.88);
    color: var(--text);
    font-size: 1.05rem;
    cursor: pointer;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.menu-close:hover {
    transform: rotate(90deg);
    border-color: rgba(71, 200, 255, 0.3);
}

.menu-secret-link {
    position: relative;
    z-index: 1;
    width: 72px;
    display: grid;
    justify-items: center;
    gap: 0;
    margin: -12px auto 18px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #16355c;
    cursor: pointer;
    transform-origin: top center;
    transition: transform 0.3s ease;
    animation: menu-secret-sway 3.8s ease-in-out infinite alternate;
}

.menu-secret-link:hover {
    transform: translateY(6px);
}

.menu-secret-link::before {
    content: "";
    width: 2px;
    height: 64px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(71, 200, 255, 0.95));
    box-shadow: 0 0 8px rgba(71, 200, 255, 0.45);
}

.menu-secret-icon {
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(71, 200, 255, 0.18), rgba(255, 117, 201, 0.14));
    border: 1px solid rgba(28, 46, 78, 0.08);
    color: #16355c;
    font-size: 1.08rem;
    box-shadow: 0 12px 26px rgba(35, 53, 84, 0.14);
    transition: transform 0.25s ease, color 0.25s ease;
}

.menu-secret-link:hover .menu-secret-icon {
    transform: scale(1.1) rotate(10deg);
    color: #ff75c9;
}

@keyframes menu-secret-sway {
    0% {
        transform: rotate(-2.5deg);
    }
    100% {
        transform: rotate(2.5deg);
    }
}

.menu-nav {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.menu-nav a {
    display: grid;
    grid-template-columns: 46px 1fr;
    gap: 18px;
    align-items: end;
    padding: 14px 0;
    border-bottom: 1px solid rgba(28, 46, 78, 0.08);
    transition: transform 0.3s ease, color 0.3s ease;
}

.menu-nav a:hover {
    transform: translateX(6px);
    color: #091a31;
}

.menu-index {
    color: rgba(15, 29, 53, 0.34);
    font-family: 'Oxanium', sans-serif;
    font-size: 0.8rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.menu-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(2.1rem, 5vw, 3.7rem);
    font-weight: 700;
    line-height: 0.86;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.menu-meta {
    margin-top: 30px;
    padding-top: 24px;
    border-top: 1px solid rgba(28, 46, 78, 0.08);
    display: grid;
    gap: 16px;
}

.menu-note {
    color: var(--muted);
    font-size: 0.8rem;
    line-height: 1.9;
}

.menu-palette {
    display: flex;
    gap: 10px;
}

.menu-palette span {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 1px solid rgba(28, 46, 78, 0.08);
}

.menu-palette span:nth-child(1) {
    background: #47c8ff;
}

.menu-palette span:nth-child(2) {
    background: #ff75c9;
}

.menu-palette span:nth-child(3) {
    background: #ffc960;
}

.menu-backdrop {
    cursor: pointer;
    background: linear-gradient(180deg, rgba(245, 248, 253, 0.5), rgba(245, 248, 253, 0.9));
}

.inner-page-shell {
    width: min(1320px, calc(100% - 28px));
    margin: 0 auto;
    padding: 92px 0 40px;
    position: relative;
    z-index: 1;
}

.page-hero-card,
.page-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(251, 253, 255, 0.96));
    border: 1px solid rgba(28, 46, 78, 0.08);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
}

.page-hero-card {
    padding: clamp(28px, 4vw, 42px);
}

.page-section {
    margin-top: 28px;
    padding: clamp(22px, 3vw, 34px);
}

.page-hero-card::before,
.page-section::before {
    content: "";
    position: absolute;
    inset: 16px;
    border: 1px solid rgba(28, 46, 78, 0.08);
    border-radius: calc(var(--radius-xl) - 10px);
    pointer-events: none;
}

.page-topline {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 18px;
    color: rgba(15, 29, 53, 0.54);
    font-family: 'Oxanium', sans-serif;
    font-size: 0.76rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding-left: 104px;
}

.page-title {
    position: relative;
    z-index: 1;
    margin: 0;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(3.5rem, 8vw, 7rem);
    font-weight: 700;
    line-height: 0.84;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #15294b;
}

.page-lead {
    position: relative;
    z-index: 1;
    max-width: 780px;
    margin: 16px 0 0;
    color: var(--muted);
    font-size: 0.98rem;
    line-height: 1.9;
}

.page-badge-row {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

.page-badge {
    min-height: 44px;
    padding: 0 16px;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    border: 1px solid rgba(28, 46, 78, 0.1);
    background: rgba(255, 255, 255, 0.72);
    color: var(--text);
    font-family: 'Oxanium', sans-serif;
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.section-head {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
    gap: 18px;
    margin-bottom: 22px;
}

.section-label {
    color: rgba(15, 29, 53, 0.52);
    font-family: 'Oxanium', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.section-title {
    margin: 6px 0 0;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(2.4rem, 5vw, 4.8rem);
    line-height: 0.88;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #15294b;
}

.section-copy {
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.9;
}

.surface-card {
    position: relative;
    z-index: 1;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(245, 248, 255, 0.96));
    border: 1px solid rgba(28, 46, 78, 0.08);
    border-radius: var(--radius-lg);
    padding: 22px;
    box-shadow: 0 18px 42px rgba(35, 53, 84, 0.08);
}

.surface-grid-2,
.surface-grid-3 {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 20px;
}

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

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

[data-reveal] {
    opacity: 0;
    filter: blur(10px);
    transform: translate3d(0, 42px, 0) scale(0.985);
    transition:
        opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
        transform 1s cubic-bezier(0.22, 1, 0.36, 1),
        filter 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

[data-reveal].is-visible {
    opacity: 1;
    filter: blur(0);
    transform: translate3d(0, 0, 0) scale(1);
}

.footer-showcase {
    margin-top: 32px;
    width: 100%;
    background:
        radial-gradient(circle at 72% 18%, rgba(71, 200, 255, 0.16), transparent 22%),
        linear-gradient(180deg, rgba(8, 18, 34, 0.96), rgba(8, 18, 34, 1));
    color: #f7f9ff;
}

.footer-shell {
    width: min(1320px, calc(100% - 28px));
    margin: 0 auto;
    padding: 48px 0 28px;
    text-align: center;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px 18px;
    margin: 0 0 28px;
    padding: 0;
    list-style: none;
}

.footer-nav a {
    color: rgba(247, 249, 255, 0.64);
    font-family: 'Oxanium', sans-serif;
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.footer-nav a:hover {
    color: #ffffff;
}

.footer-wordmark {
    display: grid;
    justify-items: center;
    gap: 8px;
    margin-bottom: 30px;
    max-width: min(780px, 100%);
    margin-inline: auto;
    overflow: hidden;
}

.footer-wordmark-main {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(4.8rem, 14vw, 10rem);
    font-weight: 700;
    line-height: 0.82;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.footer-wordmark-sub {
    color: rgba(247, 249, 255, 0.62);
    font-size: 0.86rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.logo-fallback {
    display: grid;
    gap: inherit;
}

.logo-fallback[hidden] {
    display: none !important;
}

.logo-image {
    display: block;
    max-width: 100%;
    height: auto;
}

.logo-image[hidden] {
    display: none !important;
}

.footer-wordmark .logo-image {
    width: min(420px, 82vw);
    height: clamp(52px, 4vw, 66px);
    max-height: none;
    object-fit: contain;
    object-position: center center;
    margin-inline: auto;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 18px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    text-align: center;
}

.social-dock {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.dock-icon {
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.04);
    color: #ffffff;
    font-size: 1.12rem;
    transition: transform 0.28s ease, border-color 0.28s ease, background 0.28s ease;
}

.dock-icon:hover {
    transform: translateY(-4px);
    border-color: rgba(71, 200, 255, 0.38);
    background: rgba(255, 255, 255, 0.1);
}

.site-copyright {
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.72);
    width: 100%;
    text-align: center;
}

#cloud-transition {
    position: fixed;
    inset: 0;
    z-index: 140;
    opacity: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.82) 38%, rgba(244, 248, 255, 0.22) 76%, transparent 100%);
    transition: opacity 0.9s ease;
}

#cloud-transition.active {
    opacity: 1;
}

body.future-page.sky-transitioning {
    overflow: hidden;
}

@media screen and (max-width: 960px) {
    .surface-grid-2,
    .surface-grid-3 {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: center;
    }
}

@media screen and (max-width: 820px) {
    html {
        scroll-padding-top: 82px;
    }

    .header-inner {
        padding: 14px 0 0 14px;
    }

    .menu-overlay {
        grid-template-columns: 1fr;
    }

    .menu-backdrop {
        display: none;
    }

    .inner-page-shell,
    .footer-shell {
        width: calc(100% - 20px);
    }

    .page-topline {
        padding-left: 0;
        flex-direction: column;
        align-items: flex-start;
    }

    .page-title {
        font-size: clamp(3rem, 16vw, 5.2rem);
    }
}

@media screen and (max-width: 560px) {
    html {
        scroll-padding-top: 74px;
    }

    .header-inner {
        padding: 10px 0 0 10px;
    }

    .menu-trigger {
        min-height: 48px;
        padding: 0 14px;
    }

    .menu-label {
        display: none;
    }

    .inner-page-shell {
        width: calc(100% - 14px);
        padding-top: 74px;
    }

    .page-hero-card,
    .page-section {
        padding: 18px;
        border-radius: 24px;
    }

    .page-title {
        font-size: clamp(2.8rem, 15vw, 4.2rem);
    }

    .page-lead,
    .section-copy {
        font-size: 0.88rem;
    }

    .page-badge {
        min-height: 40px;
        padding: 0 14px;
        font-size: 0.72rem;
    }

    .menu-secret-link {
        width: 64px;
        margin-top: -8px;
        margin-bottom: 14px;
    }

    .menu-secret-link::before {
        height: 40px;
    }

    .menu-secret-icon {
        width: 46px;
        height: 46px;
        font-size: 1rem;
    }

    .footer-shell {
        width: calc(100% - 14px);
        padding-top: 36px;
    }

    .dock-icon {
        width: 46px;
        height: 46px;
        font-size: 1.04rem;
    }
}
