:root {
    --bg: #0c1220;
    /* 深い紺 */
    --bg-alt: #0f182b;
    /* 少し明るい紺 */
    --card: #121a2d;
    /* カード背景 */
    --soft: #17223a;
    /* ソフトカード背景 */
    --text: #e9eef7;
    /* 文字 */
    --muted: #a8b3c9;
    /* 補助文字 */
    --brand: #35d2c5;
    /* アクセント(青緑) */
    --brand-ghost: #2aa091;
    /* ゴースト用の枠色 */
    --line: #24314f;
    /* 枠線/タイムライン */
}

* {
    box-sizing: border-box
}

html,
body {
    margin: 0;
    padding: 0
}

body {
    font-family: 'Noto Sans JP', system-ui, -apple-system, Segoe UI, Roboto, Arial, "Hiragino Kaku Gothic ProN", "Noto Sans CJK JP", "Yu Gothic", Meiryo, sans-serif;
    color: var(--text);
    background: linear-gradient(180deg, var(--bg) 0%, #0b1427 100%);
    line-height: 1.75;
}

/* header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    background: rgba(12, 18, 32, .7);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.logo {
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: .2px
}

.nav {
    display: flex;
    gap: 20px
}

.nav a {
    color: var(--muted);
    text-decoration: none;
    font-weight: 600
}

.nav a:hover {
    color: #fff
}

.menu-btn {
    display: none;
    font-size: 22px;
    color: #fff;
    background: none;
    border: 0
}

/* hero */
.hero {
    position: relative;
    padding: 110px 20px 80px
}

.hero-inner {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center
}

.hero h1 {
    font-size: clamp(28px, 5vw, 48px);
    line-height: 1.25;
    margin: 0 0 10px
}

.lead {
    color: #cdd7ea;
    font-size: 18px;
    margin: 0 auto 24px;
    max-width: 820px
}

.cta {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap
}

.btn {
    display: inline-block;
    padding: 12px 20px;
    border-radius: 10px;
    border: 1px solid transparent;
    background: var(--brand);
    color: #072220;
    text-decoration: none;
    font-weight: 700
}

.btn.ghost {
    background: transparent;
    color: var(--brand);
    border-color: var(--brand-ghost)
}

.btn.small {
    padding: 9px 14px;
    font-weight: 700
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: radial-gradient(60% 50% at 50% 40%, rgba(53, 210, 197, .25) 0%, rgba(53, 210, 197, 0) 60%),
        radial-gradient(40% 30% at 70% 20%, rgba(114, 143, 255, .22) 0%, rgba(114, 143, 255, 0) 65%),
        radial-gradient(50% 40% at 30% 80%, rgba(255, 255, 255, .05) 0%, rgba(255, 255, 255, 0) 70%);
}

/* sections */
.section {
    padding: 80px 20px
}

.section.alt {
    background: var(--bg-alt)
}

.container {
    max-width: 1400px;
    margin: 0 auto
}

.section-title {
    font-size: 26px;
    margin: 0 0 24px
}

/* grids */
.grid {
    display: grid;
    gap: 22px
}

.grid.two {
    grid-template-columns: 1.2fr 0.8fr
}

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

@media (max-width:900px) {

    .grid.two,
    .grid.three {
        grid-template-columns: 1fr
    }

    .nav {
        display: none
    }

    .menu-btn {
        display: block
    }
}

.sp-only {
    display: none
}

@media (max-width:600px) {
    .sp-only {
        display: inline
    }
}

.card {
    background: var(--card);
    border: 1px solid rgba(255, 255, 255, .06);
    border-radius: 16px;
    padding: 20px
}

.card.soft {
    background: var(--soft)
}

.check {
    padding-left: 18px
}

.check li {
    margin: 6px 0
}

.bullets {
    padding-left: 18px
}

.bullets li {
    margin: 6px 0
}

/* members */
.cards {
    align-items: start
}

.member {
    background: var(--card);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .06)
}

.member img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block
}

.member-body {
    padding: 16px
}

.member .role {
    color: var(--brand);
    font-weight: 700;
    margin: .2em 0
}

.member .bio {
    color: #cdd7ea;
    margin: .4em 0 1em
}

.member .links a {
    color: var(--muted);
    margin-right: 12px;
    text-decoration: none
}

.member .links a:hover {
    color: #fff
}

/* callout */
.callout {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    padding: 18px 20px;
    margin-top: 20px;
    border: 1px dashed var(--brand-ghost);
    border-radius: 12px;
    background: rgba(53, 210, 197, .06)
}

.callout p {
    margin: 0
}

@media (max-width:700px) {
    .callout {
        flex-direction: column;
        align-items: flex-start
    }
}

/* timeline */
.timeline {
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative
}

.timeline:before {
    content: "";
    position: absolute;
    left: 14px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--line)
}

.timeline li {
    position: relative;
    padding-left: 46px;
    margin: 22px 0
}

.tl-dot {
    position: absolute;
    left: 8px;
    top: 8px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--brand);
    box-shadow: 0 0 0 4px rgba(53, 210, 197, .15)
}

.tl-card {
    background: var(--card);
    border: 1px solid rgba(255, 255, 255, .06);
    border-radius: 12px;
    padding: 14px
}

.tl-card time {
    display: block;
    color: var(--muted);
    font-size: 13px;
    margin-bottom: 6px
}

.tl-card .more {
    color: var(--brand);
    text-decoration: none;
    font-weight: 700
}

/* form */
form.card label {
    display: block;
    margin-bottom: 12px
}

input,
select,
textarea {
    width: 100%;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, .12);
    background: #0b1426;
    color: #e9eef7;
    outline: none
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--brand)
}

.form-note {
    color: var(--muted);
    font-size: 12px;
    margin-top: 8px
}

/* footer */
.footer {
    padding: 30px 20px;
    background: #0a1120;
    border-top: 1px solid rgba(255, 255, 255, .06)
}

.foot-grid {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 16px;
    align-items: center
}

.foot-links a {
    color: var(--muted);
    text-decoration: none;
    margin-right: 14px
}

.foot-links a:hover {
    color: #fff
}

.foot-note {
    color: var(--muted)
}

@media (max-width:820px) {
    .foot-grid {
        grid-template-columns: 1fr
    }
}

/* ===== Splash (1回だけ表示) ===== */
body.is-loading {
    overflow: hidden;
}

.splash {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: grid;
    place-items: center;
    background: #efefef;
    /* 画面全体を暗く */
    animation: splash-seq 3.5s ease-in-out forwards;
}

.splash-logo {
    width: min(40vw, 500px);
    opacity: 0;
    animation: logo-pop 1.6s ease-out forwards 0.2s;
    /* 少し遅らせて出現 */
    filter: none;
}

/* 画面のフェイドイン→少しキープ→フェイドアウト */
@keyframes splash-seq {
    0% {
        opacity: 0;
    }

    15% {
        opacity: 1;
    }

    /* フェイドイン */
    70% {
        opacity: 1;
    }

    /* 少し見せる */
    100% {
        opacity: 0;
    }

    /* フェイドアウト */
}

/* ロゴはふわっと出す */
@keyframes logo-pop {
    0% {
        opacity: 0;
        transform: translateY(10px) scale(.98);
    }

    50% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* スプラッシュ中は本体を見せない（ちらつき防止） */
.app[hidden] {
    display: block !important;
    opacity: 0;
}

.app.ready {
    opacity: 1;
    transition: opacity .4s ease;
}

/* アニメ軽減設定のユーザには即表示（アクセシビリティ配慮） */
@media (prefers-reduced-motion: reduce) {
    .splash {
        animation: none;
        display: none;
    }

    .splash-logo {
        animation: none;
    }

    .app[hidden] {
        opacity: 1;
    }
}