        /* =========================================
           BASE STYLES (Variables & Reset)
           ========================================= */
        :root {
            --bg-color: #050a14;
            /* V3 Animation Dark BG */
            --card-bg: #0f172a;
            /* Slightly lighter navy */
            --text-main: #FFFFFF;
            --text-sub: #94a3b8;

            /* Colors derived from GENKAI Logo */
            --primary-blue: #3592d1;
            --primary-red: #e22018;
            --accent-glow: #60a5fa;

            --gradient: linear-gradient(135deg, #3592d1 0%, #e22018 100%);

            --font-head: 'Zen Kaku Gothic New', sans-serif;
            --font-body: 'Noto Sans JP', sans-serif;
            --font-tech: 'Share Tech Mono', monospace;
        }

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

        body {
            background-color: var(--bg-color);
            color: var(--text-main);
            font-family: var(--font-body);
            line-height: 1.8;
            overflow-x: hidden;
            cursor: none;
            /* Hide default cursor */
        }

        /* Custom Cursor */
        #custom-cursor {
            position: fixed;
            width: 20px;
            height: 20px;
            border: 2px solid rgba(147, 197, 253, 0.8);
            border-radius: 50%;
            pointer-events: none;
            z-index: 9999;
            transition: transform 0.15s ease-out, border-color 0.2s;
            transform: translate(-50%, -50%);
        }

        #custom-cursor.hover {
            transform: translate(-50%, -50%) scale(1.5);
            border-color: rgba(236, 72, 153, 0.9);
        }

        a {
            text-decoration: none;
            color: inherit;
            transition: 0.3s;
        }

        ul {
            list-style: none;
        }

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

        /* =========================================
           UTILITIES & ANIMATIONS
           ========================================= */
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
            position: relative;
            z-index: 2;
        }

        .section-title {
            font-family: var(--font-head);
            font-size: clamp(2rem, 5vw, 3rem);
            font-weight: 900;
            text-align: center;
            margin-bottom: 3rem;
            background: var(--gradient);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            letter-spacing: 0.05em;
        }

        .btn {
            display: inline-block;
            padding: 1rem 3rem;
            background: var(--gradient);
            color: #fff;
            font-weight: 700;
            border-radius: 50px;
            position: relative;
            overflow: hidden;
            z-index: 1;
            box-shadow: 0 0 15px rgba(53, 146, 209, 0.4);
            transition: all 0.3s;
        }

        .btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(255, 255, 255, 0.2);
            transform: translateX(-100%) skewX(-15deg);
            transition: 0.5s;
            z-index: -1;
        }

        .btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 0 25px rgba(226, 32, 24, 0.5);
        }

        .btn:hover::before {
            transform: translateX(100%) skewX(-15deg);
        }

        /* Scroll Animation Classes */
        .fade-up {
            opacity: 0;
            transform: translateY(30px);
            transition: opacity 0.8s ease-out, transform 0.8s ease-out;
        }

        .fade-up.visible {
            opacity: 1;
            transform: translateY(0);
        }

        /* =========================================
           HEADER
           ========================================= */
        header {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            padding: 15px 0;
            background: rgba(5, 10, 20, 0.9);
            backdrop-filter: blur(10px);
            z-index: 1000;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }

        .nav-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo img {
            height: 40px;
            /* ロゴ画像の高さ調整 */
            width: auto;
        }

        .nav-menu {
            display: flex;
            gap: 30px;
        }

        .nav-menu a {
            font-size: 0.9rem;
            font-weight: 700;
            letter-spacing: 0.05em;
        }

        .nav-menu a:hover {
            color: var(--primary-blue);
        }

        .menu-toggle {
            display: none;
            font-size: 1.5rem;
            color: white;
            cursor: pointer;
        }

        /* Mobile Menu Styles */
        .mobile-menu {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(5, 10, 20, 0.98);
            backdrop-filter: blur(10px);
            z-index: 9999;
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.3s ease;
        }

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

        .mobile-menu-content {
            position: relative;
            text-align: center;
        }

        .mobile-menu-close {
            position: fixed;
            top: 20px;
            right: 20px;
            font-size: 2rem;
            color: white;
            cursor: pointer;
            transition: color 0.3s;
            z-index: 10000;
        }

        .mobile-menu-close:hover {
            color: var(--primary-blue);
        }

        .mobile-nav {
            display: flex;
            flex-direction: column;
            gap: 30px;
        }

        .mobile-nav-item {
            font-size: 1.5rem;
            font-weight: 700;
            color: white;
            letter-spacing: 0.1em;
            transition: all 0.3s;
            font-family: var(--font-head);
        }

        .mobile-nav-item:hover {
            color: var(--primary-blue);
            transform: translateX(10px);
        }

        /* sp-only class for mobile-specific line breaks */
        .sp-only {
            display: none;
        }

        /* =========================================
           UTILITIES & ANIMATIONS
           ========================================= */

        /* =========================================
           HERO SECTION (INTEGRATED V3 ANIMATION)
           ========================================= */
        #hero {
            padding: 140px 0 80px;
            position: relative;
            min-height: 100vh;
            /* Full screen feel */
            display: flex;
            align-items: center;
            overflow: hidden;
        }

        /* Hero Background Canvas (Particles) */
        #bg-canvas {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 0;
            opacity: 0.6;
        }

        /* CRT Scanline Overlay */
        .crt-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%),
                linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
            background-size: 100% 4px, 6px 100%;
            pointer-events: none;
            z-index: 1;
        }

        .hero-grid {
            display: grid;
            grid-template-columns: 1fr 1.2fr;
            gap: 40px;
            align-items: center;
            position: relative;
            z-index: 2;
        }

        .hero-text-area {
            max-width: 600px;
        }

        .hero-tag {
            display: inline-block;
            background: rgba(59, 130, 246, 0.1);
            border: 1px solid var(--primary-blue);
            color: var(--primary-blue);
            padding: 5px 15px;
            border-radius: 4px;
            font-size: 0.9rem;
            margin-bottom: 20px;
            font-family: var(--font-tech);
            letter-spacing: 1px;
        }

        .hero-title {
            font-family: var(--font-head);
            font-size: clamp(2.5rem, 5vw, 3.8rem);
            line-height: 1.2;
            margin-bottom: 30px;
            font-weight: 900;
        }

        .hero-title span {
            background: var(--gradient);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .hero-desc {
            font-size: 1.1rem;
            color: var(--text-sub);
            margin-bottom: 40px;
            line-height: 1.8;
        }

        /* --- 3D LOGO ANIMATION STYLES --- */
        .hero-visual-area {
            position: relative;
            perspective: 1000px;
            display: flex;
            justify-content: center;
            align-items: center;
            height: 400px;
            /* Area for the logo */
        }

        .tilt-card {
            position: relative;
            width: 100%;
            max-width: 650px;
            aspect-ratio: 3 / 1;
            transform-style: preserve-3d;
            transition: transform 0.1s ease-out;
        }

        .logo-wrapper {
            position: relative;
            width: 100%;
            height: 100%;
            transform-style: preserve-3d;
        }

        svg {
            width: 100%;
            height: 100%;
            overflow: visible;
        }

        /* Hide original text in SVG to use JS typing effect */
        .cls-16 {
            display: none;
        }

        .logo-path {
            stroke-width: 2px;
            stroke-dasharray: 1500;
            stroke-dashoffset: 1500;
            fill-opacity: 0;
            transition: stroke-dashoffset 2s cubic-bezier(0.19, 1, 0.22, 1),
                fill-opacity 1s ease 1.5s,
                stroke-opacity 1s ease 1.5s;
        }

        .active .logo-path {
            stroke-dashoffset: 0;
            fill-opacity: 1;
            stroke-opacity: 0;
        }

        .layer {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            will-change: transform, opacity;
        }

        .layer-main {
            z-index: 10;
            filter: drop-shadow(0 0 20px rgba(59, 130, 246, 0.3));
            transform: translateZ(40px);
        }

        .layer-glitch {
            opacity: 0;
            pointer-events: none;
            mix-blend-mode: screen;
        }

        .layer-red .logo-path {
            stroke: #ff0000;
            fill: #ff0000 !important;
            fill-opacity: 0.5;
        }

        .layer-blue .logo-path {
            stroke: #0000ff;
            fill: #0000ff !important;
            fill-opacity: 0.5;
        }

        .subtitle-container {
            position: absolute;
            bottom: -30px;
            left: 0;
            width: 100%;
            text-align: center;
            color: #94a3b8;
            font-family: var(--font-tech);
            font-size: 1.1rem;
            letter-spacing: 0.4em;
            transform: translateZ(20px);
            opacity: 0;
            text-shadow: 0 0 5px rgba(59, 130, 246, 0.5);
            transition: opacity 0.5s;
        }

        /* Glitch Keyframes */
        .glitch-anim-red {
            animation: glitchSkewRed 0.4s infinite;
            opacity: 0.8;
        }

        .glitch-anim-blue {
            animation: glitchSkewBlue 0.4s infinite;
            opacity: 0.8;
        }

        @keyframes glitchSkewRed {
            0% {
                transform: translate(0, 0);
            }

            20% {
                transform: translate(-4px, 4px);
            }

            40% {
                transform: translate(-4px, -4px);
            }

            60% {
                transform: translate(4px, 4px);
            }

            80% {
                transform: translate(4px, -4px);
            }

            100% {
                transform: translate(0, 0);
            }
        }

        @keyframes glitchSkewBlue {
            0% {
                transform: translate(0, 0);
            }

            20% {
                transform: translate(4px, -4px);
            }

            40% {
                transform: translate(4px, 4px);
            }

            60% {
                transform: translate(-4px, -4px);
            }

            80% {
                transform: translate(-4px, 4px);
            }

            100% {
                transform: translate(0, 0);
            }
        }


        /* =========================================
           ABOUT / PROBLEM
           ========================================= */

        /* About Catchphrase Styles */
        .about-catchphrase {
            font-family: var(--font-head);
            font-size: clamp(2rem, 6vw, 4rem);
            font-weight: 900;
            line-height: 1.4;
            margin: 0;
            display: flex;
            flex-direction: column;
            gap: 20px;
        }

        .catchphrase-line1 {
            font-size: clamp(1.8rem, 5.5vw, 3.5rem);
            font-weight: 700;
            white-space: nowrap;
        }

        .rotating-word {
            display: inline-block;
            min-width: 4em;
            font-weight: 900;
            background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
            background-size: 200% 200%;
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
            position: relative;
        }

        .rotating-word.fade-out {
            animation: glitchFadeOut 0.6s ease-out forwards;
        }

        .rotating-word.fade-in {
            animation: glitchFadeIn 0.6s ease-out forwards, gradientShift 3s ease-in-out infinite;
        }

        @keyframes glitchFadeOut {
            0% {
                opacity: 1;
                transform: translateX(0) scale(1);
                filter: blur(0);
            }

            20% {
                transform: translateX(-3px) scale(1.02);
                opacity: 0.8;
            }

            40% {
                transform: translateX(3px) scale(0.98);
                opacity: 0.6;
            }

            60% {
                transform: translateX(-2px) scale(1.01);
                opacity: 0.4;
                filter: blur(1px);
            }

            100% {
                opacity: 0;
                transform: translateX(5px) scale(0.95);
                filter: blur(3px);
            }
        }

        @keyframes glitchFadeIn {
            0% {
                opacity: 0;
                transform: translateX(-5px) scale(1.05);
                filter: blur(3px);
            }

            20% {
                transform: translateX(3px) scale(0.98);
                opacity: 0.3;
            }

            40% {
                transform: translateX(-2px) scale(1.02);
                opacity: 0.6;
                filter: blur(1px);
            }

            60% {
                transform: translateX(2px) scale(0.99);
                opacity: 0.8;
            }

            100% {
                opacity: 1;
                transform: translateX(0) scale(1);
                filter: blur(0);
            }
        }

        @keyframes gradientShift {

            0%,
            100% {
                background-position: 0% 50%;
            }

            50% {
                background-position: 100% 50%;
            }
        }

        .catchphrase-line2 {
            font-size: clamp(2rem, 6vw, 4rem);
            background: var(--gradient);
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
            opacity: 0;
            transform: translateY(20px);
        }

        .catchphrase-line2.visible {
            animation: glitchReveal 1s ease forwards;
        }

        @keyframes glitchReveal {
            0% {
                opacity: 0;
                transform: translateY(20px) skewX(-5deg);
                filter: blur(5px);
            }

            20% {
                transform: translateY(-5px) skewX(5deg);
            }

            40% {
                transform: translateY(5px) skewX(-3deg);
            }

            60% {
                opacity: 1;
                transform: translateY(-2px) skewX(2deg);
            }

            80% {
                transform: translateY(2px) skewX(-1deg);
            }

            100% {
                opacity: 1;
                transform: translateY(0) skewX(0deg);
                filter: blur(0);
            }
        }

        #about {
            padding: 100px 0;
            background: linear-gradient(to bottom, var(--bg-color), #0d1221);
        }

        .problem-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
            margin-top: 50px;
        }

        .problem-card {
            background: var(--card-bg);
            padding: 30px;
            border-radius: 15px;
            border-left: 3px solid var(--primary-blue);
            position: relative;
            transition: transform 0.3s;
        }

        .problem-card:hover {
            transform: translateY(-5px);
        }

        .problem-card h4 {
            font-family: var(--font-head);
            font-size: 1.2rem;
            margin-bottom: 10px;
            color: #fff;
        }

        .problem-icon {
            font-size: 2rem;
            color: var(--primary-blue);
            margin-bottom: 15px;
        }

        /* =========================================
           SERVICE
           ========================================= */
        #service {
            padding: 100px 0;
        }

        .service-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 30px;
        }

        .service-card {
            background: rgba(255, 255, 255, 0.03);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 20px;
            overflow: hidden;
            transition: 0.4s;
            display: flex;
            flex-direction: column;
        }

        .service-card:hover {
            border-color: var(--primary-blue);
            box-shadow: 0 0 20px rgba(53, 146, 209, 0.2);
            transform: translateY(-5px);
        }

        .service-img {
            width: 100%;
            height: 200px;
            object-fit: cover;
            object-position: center;
            opacity: 0.8;
            transition: 0.4s;
        }

        .service-card:hover .service-img {
            opacity: 1;
        }

        .service-body {
            padding: 25px;
            flex-grow: 1;
        }

        .service-title {
            font-size: 1.25rem;
            font-weight: 700;
            margin-bottom: 15px;
            color: var(--text-main);
        }

        .service-desc {
            font-size: 0.95rem;
            color: var(--text-sub);
        }

        /* =========================================
           PLAN
           ========================================= */
        #plan {
            padding: 100px 0;
            background: #0d1221;
        }

        .plan-wrapper {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 40px;
        }

        .plan-card {
            background: var(--card-bg);
            padding: 40px;
            border-radius: 20px;
            width: 100%;
            max-width: 400px;
            border: 1px solid rgba(255, 255, 255, 0.1);
            text-align: center;
            position: relative;
        }

        .plan-card.featured {
            border-color: var(--primary-red);
            box-shadow: 0 0 30px rgba(226, 32, 24, 0.15);
        }

        .plan-card.featured::after {
            content: 'おすすめ';
            position: absolute;
            top: -15px;
            left: 50%;
            transform: translateX(-50%);
            background: var(--gradient);
            color: #fff;
            font-size: 0.8rem;
            font-weight: bold;
            padding: 5px 15px;
            border-radius: 20px;
        }

        .plan-name {
            font-size: 1.5rem;
            font-weight: 900;
            margin-bottom: 20px;
        }

        .plan-price {
            font-size: 2.5rem;
            font-weight: 700;
            color: #fff;
            margin-bottom: 30px;
            font-family: var(--font-tech);
        }

        .plan-price span {
            font-size: 1rem;
            color: var(--text-sub);
            font-family: var(--font-body);
        }

        .plan-features {
            text-align: left;
            margin-bottom: 30px;
        }

        .plan-features li {
            margin-bottom: 15px;
            padding-left: 25px;
            position: relative;
            color: var(--text-sub);
        }

        .plan-features li::before {
            content: '✔';
            position: absolute;
            left: 0;
            color: var(--primary-blue);
        }

        /* =========================================
           FLOW
           ========================================= */
        #flow {
            padding: 100px 0;
        }

        .flow-steps {
            position: relative;
            max-width: 800px;
            margin: 0 auto;
        }

        /* Vertical Line */
        .flow-steps::before {
            content: '';
            position: absolute;
            left: 20px;
            top: 0;
            bottom: 0;
            width: 2px;
            background: rgba(255, 255, 255, 0.1);
        }

        .step-item {
            position: relative;
            padding-left: 60px;
            margin-bottom: 50px;
        }

        .step-num {
            position: absolute;
            left: 0;
            top: 0;
            width: 42px;
            height: 42px;
            background: var(--bg-color);
            border: 2px solid var(--primary-blue);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 900;
            color: var(--primary-blue);
            z-index: 2;
            box-shadow: 0 0 15px rgba(59, 130, 246, 0.3);
            font-family: var(--font-tech);
        }

        .step-content h3 {
            font-size: 1.3rem;
            margin-bottom: 10px;
            color: #fff;
        }

        .step-content p {
            color: var(--text-sub);
        }

        /* =========================================
           CASES & FAQ
           ========================================= */
        #cases {
            padding: 100px 0;
            background: #0d1221;
        }

        .case-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
        }

        .case-item {
            position: relative;
            border-radius: 15px;
            overflow: hidden;
        }

        .case-item img {
            width: 100%;
            opacity: 0.6;
            transition: 0.3s;
        }

        .case-item:hover img {
            opacity: 0.9;
            transform: scale(1.05);
        }

        .case-overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            padding: 20px;
            background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
        }

        /* FAQ Simple */
        #faq {
            padding: 100px 0;
        }

        .faq-item {
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            padding: 20px 0;
        }

        .faq-q {
            font-weight: 700;
            margin-bottom: 10px;
            color: var(--accent-glow);
        }

        /* =========================================
           LINE BONUS MESSAGE
           ========================================= */
        .line-bonus-message {
            display: inline-block;
            background: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 100%);
            color: white;
            padding: 15px 25px;
            border-radius: 30px;
            font-weight: 700;
            font-size: 1rem;
            margin-bottom: 30px;
            position: relative;
            box-shadow: 0 5px 20px rgba(255, 107, 107, 0.4);
            animation: bonusPulse 2s ease-in-out infinite;
        }

        .line-bonus-message i {
            margin-right: 8px;
            animation: giftShake 1s ease-in-out infinite;
        }

        .line-bonus-message::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 0;
            height: 0;
            border-left: 10px solid transparent;
            border-right: 10px solid transparent;
            border-top: 10px solid #ff8e53;
        }

        @keyframes bonusPulse {

            0%,
            100% {
                transform: scale(1);
                box-shadow: 0 5px 20px rgba(255, 107, 107, 0.4);
            }

            50% {
                transform: scale(1.05);
                box-shadow: 0 8px 30px rgba(255, 107, 107, 0.6);
            }
        }

        @keyframes giftShake {

            0%,
            100% {
                transform: rotate(0deg);
            }

            25% {
                transform: rotate(-10deg);
            }

            75% {
                transform: rotate(10deg);
            }
        }

        /* =========================================
           MESSAGE (Updated Background) & CONTACT
           ========================================= */
        #message {
            text-align: center;
            padding: 100px 0;
            position: relative;
            background: #050a14;
            /* Dark fallback */
            overflow: hidden;
        }

        /* 専用キャンバス（アニメーション用） */
        #message-canvas {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 1;
            opacity: 0.4;
            /* 少し暗めにしてテキストを際立たせる */
        }

        .message-content {
            position: relative;
            z-index: 2;
            max-width: 700px;
            margin: 0 auto;
        }

        #contact {
            padding: 100px 0;
            text-align: center;
        }

        .contact-box {
            background: linear-gradient(135deg, #151A28 0%, #0f1320 100%);
            padding: 60px 20px;
            border-radius: 30px;
            border: 1px solid rgba(255, 255, 255, 0.1);
            box-shadow: 0 0 40px rgba(53, 146, 209, 0.1);
        }

        footer {
            background: #020408;
            padding: 50px 0;
            font-size: 0.9rem;
            color: #666;
            text-align: center;
        }

        /* =========================================
           RESPONSIVE
           ========================================= */
        @media (max-width: 960px) {
            .hero-grid {
                grid-template-columns: 1fr;
                text-align: center;
                gap: 20px;
            }

            .hero-visual-area {
                order: -1;
                height: 250px;
            }

            .hero-text-area {
                margin: 0 auto;
            }
        }

        @media (max-width: 768px) {
            .hero-title {
                font-size: 2.2rem;
            }

            .nav-menu {
                display: none;
            }

            .menu-toggle {
                display: block;
            }

            .flow-steps::before {
                left: 15px;
            }

            .step-num {
                left: -5px;
            }

            .sp-only {
                display: inline;
            }
        }