:root {
    --bg-deep: #080c10;       /* 攻殻の闇・高密度な黒 */
    --bg-card: #0e141b;       /* ソリッドな基盤色 */
    --neon-blue: #00f0ff;     /* ホログラム・電脳世界の青 */
    --neon-red: #ff0055;      /* AKIRAのネオン・覚醒の赤 */
    --gold: #e5a93b;          /* 3i.野村貫太郎事務所のゴールド */
    --text-main: #e2e8f0;
    --text-sub: #8a99ad;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: var(--bg-deep);
    color: var(--text-main);
    font-family: 'Space Grotesk', 'Noto Serif JP', sans-serif;
    overflow: hidden;
}

/* スライド全体のコンテナ */
.slide-container {
    width: 100vw;
    height: 100vh;
    position: relative;
}

.slide {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: radial-gradient(circle at 80% 20%, #111a24 0%, var(--bg-deep) 70%);
}

.slide.active {
    opacity: 1;
    pointer-events: auto;
}

/* サイバーパンクなグリッド背景効果 */
.slide::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: linear-gradient(rgba(0, 240, 255, 0.03) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(0, 240, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 0;
    pointer-events: none;
}

/* ヘッダー・フッター（フレーム構造） */
.header {
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(0, 240, 255, 0.2);
    padding-bottom: 15px;
}
.logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    letter-spacing: 2px;
    color: var(--neon-blue);
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
}
.logo span {
    color: var(--neon-red);
    font-family: 'Noto Serif JP', sans-serif;
    font-weight: 900;
}

.footer {
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(229, 169, 59, 0.2);
    padding-top: 15px;
    font-size: 0.85rem;
    color: var(--text-sub);
}

/* コンテンツエリア */
.content {
    z-index: 1;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 40px 0;
}

.tech-tag {
    color: var(--neon-blue);
    font-family: 'Orbitron';
    letter-spacing: 5px;
    margin-bottom: 10px;
}

h1.title {
    font-family: 'Orbitron', 'Noto Serif JP', sans-serif;
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.2;
    color: var(--text-main);
    margin-bottom: 20px;
}

h1.title span {
    color: var(--neon-red);
    text-shadow: 0 0 15px rgba(255, 0, 85, 0.6);
}

.subtitle {
    font-size: 1.5rem;
    color: var(--gold);
    margin-bottom: 30px;
    font-family: 'Noto Serif JP', sans-serif;
}

.concept-text {
    font-size: 1.3rem;
    line-height: 1.8;
    margin-bottom: 20px;
    font-family: 'Noto Serif JP';
}

/* グリッドレイアウト（特徴・プラン用） */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.card {
    background: var(--bg-card);
    border: 1px solid rgba(0, 240, 255, 0.1);
    border-left: 4px solid var(--neon-blue);
    padding: 30px;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
}
.card:hover {
    border-color: var(--neon-blue);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.2);
    transform: translateY(-5px);
}
.card::after {
    content: 'SYSTEM // ON';
    position: absolute;
    bottom: 5px; right: 8px;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.6rem;
    color: rgba(0, 240, 255, 0.3);
}
.card.red-point {
    border-left-color: var(--neon-red);
}
.card.red-point::after {
    content: 'CRITICAL // MODE';
    color: rgba(255, 0, 85, 0.3);
}

.card h3 {
    font-family: 'Noto Serif JP', sans-serif;
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--text-main);
}

.card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-sub);
}

.price-tag {
    color: var(--neon-blue);
    margin-bottom: 10px;
    font-family: 'Orbitron';
    font-weight: bold;
}
.price-tag.custom {
    color: var(--neon-red);
}

/* コントロールボタン */
.controls {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 10;
    display: flex;
    gap: 10px;
}
.btn {
    background: rgba(14, 20, 27, 0.8);
    border: 1px solid var(--neon-blue);
    color: var(--neon-blue);
    padding: 10px 15px;
    cursor: pointer;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.8rem;
    transition: all 0.2s;
}
.btn:hover {
    background: var(--neon-blue);
    color: var(--bg-deep);
    box-shadow: 0 0 10px var(--neon-blue);
}

/* タイポグラフィ装飾 */
.tech-num {
    font-family: 'Orbitron', sans-serif;
    color: var(--neon-red);
    font-size: 2rem;
    margin-bottom: 10px;
}

/* ==========================================
   スマートフォン対応 (レスポンシブ表示)
   ========================================== */
@media screen and (max-width: 768px) {
    body {
        /* スマホでのスクロールを許可（コンテンツが溢れた場合の保険） */
        overflow-y: auto; 
    }

    /* スライド全体のコンテナ */
    .slide-container {
        height: auto;
        min-height: 100vh;
    }

    .slide {
        height: auto;
        min-height: 100vh;
        padding: 30px 20px 80px 20px; /* 余白をスマホ向けに縮小、下部にボタン避けの余白 */
        justify-content: flex-start; /* 上詰めに変更してスクロールしやすく */
    }

    /* ヘッダー・フッター */
    .header {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
        padding-bottom: 10px;
    }
    .logo {
        font-size: 1rem;
    }
    
    .footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
        padding-top: 10px;
        margin-top: 30px;
        font-size: 0.75rem;
    }

    /* コンテンツエリア */
    .content {
        margin: 30px 0;
    }

    .tech-tag {
        font-size: 0.8rem;
        letter-spacing: 3px;
    }

    h1.title {
        font-size: 2rem; /* フォントサイズを縮小 */
        margin-bottom: 15px;
    }

    .subtitle {
        font-size: 1.1rem;
        margin-bottom: 20px;
    }

    .concept-text {
        font-size: 1rem;
        line-height: 1.6;
    }

    /* グリッドレイアウト（3列から1列へ縦並び変更） */
    .grid-3 {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .card {
        padding: 20px;
    }

    .card h3 {
        font-size: 1.2rem;
    }

    /* コントロールボタン（押しやすいように下部に固定配置） */
    .controls {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        gap: 0;
        grid-template-columns: 1fr 1fr;
        box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.5);
    }

    .btn {
        flex: 1;
        width: 50%;
        padding: 15px;
        font-size: 0.75rem;
        text-align: center;
        border: none;
        border-top: 1px solid var(--neon-blue);
        background: rgba(14, 20, 27, 0.95); /* 背景の不透明度を上げて文字と被っても読めるように */
    }
    
    .btn:first-child {
        border-right: 1px solid rgba(0, 240, 255, 0.2);
    }
}