/* =====================================================
   TENANi - スタイルシート
   親しみやすさとプロフェッショナルを融合したデザイン
===================================================== */

/* ===== 基本設定 ===== */
:root {
    /* ブランド宇宙テーマカラーパレット - グレー & オレンジ */
    --space-dark: #5A5A5A; /* 明るいダークグレー */
    --space-medium: #7A7A7A; /* 明るいミディアムグレー */
    --space-light: #9A9A9A; /* 明るいライトグレー */
    --neon-orange: #FF6B35; /* ネオンオレンジ（メイン） */
    --warm-orange: #FF8C42; /* ウォームオレンジ */
    --deep-orange: #E5511D; /* ディープオレンジ */
    --accent-gray: #6C757D; /* アクセントグレー */
    --star-white: #FFFFFF; /* 星の白 */
    --soft-gray: #A8A8A8; /* ソフトグレー */
    
    /* プライマリカラー */
    --primary-color: var(--neon-orange);
    --secondary-color: var(--warm-orange);
    --tertiary-color: var(--star-white);
    --background-dark: var(--space-dark);
    --background-medium: var(--space-medium);
    
    /* テキストカラー */
    --text-light: var(--star-white);
    --text-orange: var(--neon-orange);
    --text-muted: rgba(255, 255, 255, 0.7);
    --text-gray: var(--soft-gray);
    
    /* エフェクト */
    --glow-orange: 0 0 20px rgba(255, 107, 53, 0.6);
    --glow-warm: 0 0 20px rgba(255, 140, 66, 0.5);
    --glow-deep: 0 0 20px rgba(229, 81, 29, 0.4);
    --glow-gray: 0 0 15px rgba(168, 168, 168, 0.3);
    
    --border-radius: 12px;
    --border-radius-small: 6px;
    --border-radius-large: 20px;
    
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-medium: 0 8px 30px rgba(0, 0, 0, 0.5);
    --shadow-large: 0 16px 40px rgba(0, 0, 0, 0.6);
    --shadow-glow: var(--glow-orange);
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    color: #E0E0E0;
    line-height: 1.8;
    background-color: #0f0f14;
    overflow-x: hidden;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
}

/* 背景エフェクトレイヤー — position:fixed で全画面カバー
   background-attachment:fixed はモバイルSafari/Chrome非対応のため
   疑似要素で代替する */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    pointer-events: none;
    background:
        /* メイングラデーション */
        linear-gradient(135deg, 
            rgba(15, 15, 20, 0.95) 0%,
            rgba(25, 25, 35, 0.9) 25%,
            rgba(40, 40, 50, 0.85) 50%,
            rgba(25, 25, 35, 0.9) 75%,
            rgba(15, 15, 20, 0.95) 100%),
        /* ネオングロー */
        radial-gradient(circle at 20% 30%, rgba(0, 255, 255, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 0, 150, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 30% 80%, rgba(150, 255, 0, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(255, 150, 0, 0.3) 0%, transparent 50%),
        /* サイバーグリッド */
        linear-gradient(90deg, transparent 98%, rgba(0, 255, 255, 0.1) 100%),
        linear-gradient(0deg, transparent 98%, rgba(255, 0, 255, 0.1) 100%);
    background-size: 
        100% 100%,
        400px 400px,
        400px 400px,
        400px 400px,
        400px 400px,
        100px 100px,
        100px 100px;
}

/* サイバー空間アニメーション */
@keyframes cyber-space-drift {
    0% { 
        background-position: 0% 0%, 0px 0px, 0px 0px, 0% 0%, 25% 25%, 75% 75%, 25% 75%, 0px 0px, 100px 100px;
    }
    25% {
        background-position: 0% 0%, 25px 25px, -25px 25px, 15% 10%, 30% 20%, 70% 80%, 20% 80%, 50px -50px, 150px 50px;
    }
    50% {
        background-position: 0% 0%, 50px 50px, -50px 50px, 30% 20%, 35% 15%, 65% 85%, 15% 85%, 100px -100px, 200px 0px;
    }
    75% {
        background-position: 0% 0%, 75px 75px, -75px 75px, 45% 30%, 40% 10%, 60% 90%, 10% 90%, 150px -150px, 250px -50px;
    }
    100% { 
        background-position: 0% 0%, 100px 100px, -100px 100px, 60% 40%, 45% 5%, 55% 95%, 5% 95%, 200px -200px, 300px -100px;
    }
}

/* 追加の宇宙効果（body::before は背景グラデーション用に使用済み → ::after へ） */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(45deg, transparent 0%, rgba(255, 107, 53, 0.05) 25%, transparent 50%, rgba(168, 168, 168, 0.03) 75%, transparent 100%),
        radial-gradient(ellipse at center, transparent 70%, rgba(200, 200, 200, 0.1) 100%);
    pointer-events: none;
    z-index: -1;
}

/* スクリーンリーダー専用（SEO内部テキスト） */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== タイポグラフィ ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.5;
    color: #E0E0E0;
}

/* ===== セクション共通スタイル ===== */
section:not(.hero) {
    padding: 100px 0;
    position: relative;
    background: transparent;
    margin: 50px 20px;
    border-radius: 20px;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
    overflow: hidden;
}

section:not(.hero)::before {
    display: none;
}

section:not(.hero) > * {
    position: relative;
    z-index: 1;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
    position: relative;
    display: inline-block;
    width: 100%;
    color: #FFFFFF;
    text-shadow: 
        0 0 20px rgba(0, 255, 255, 0.8),
        0 0 40px rgba(255, 0, 255, 0.5),
        0 2px 10px rgba(0, 0, 0, 0.8);
}

.section-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    margin-bottom: 3rem;
    text-shadow: 
        0 0 10px rgba(0, 255, 255, 0.3),
        0 2px 5px rgba(0, 0, 0, 0.5);
    letter-spacing: 1px;
}

/* ===== ボタン ===== */
.btn-primary, .btn-secondary, .btn-line {
    display: inline-block;
    padding: 12px 32px;
    border-radius: var(--border-radius-large);
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--secondary-color), #ff8c42);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4), 0 2px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    border: none;
    font-weight: 600;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 
        0 8px 30px rgba(255, 107, 53, 0.6),
        0 4px 20px rgba(0, 0, 0, 0.2);
    text-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
    animation: button-pulse 0.8s ease-in-out infinite;
}

.btn-line {
    background: linear-gradient(135deg, #00B900, #00A000);
    color: white !important;
    box-shadow: 0 4px 15px rgba(0, 185, 0, 0.3), 0 2px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    border: none;
    border-radius: 25px;
    overflow: hidden;
}

.btn-line::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-line:hover::before {
    left: 100%;
}

.btn-line:hover {
    transform: translateY(-3px) scale(1.04);
    box-shadow: 
        0 8px 30px rgba(0, 185, 0, 0.5),
        0 4px 18px rgba(0, 0, 0, 0.2);
    animation: button-bounce 1s ease-in-out infinite;
}

.btn-secondary {
    background: transparent;
    color: var(--secondary-color);
    border: none;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(255, 107, 53, 0.2), 0 1px 5px rgba(0, 0, 0, 0.1);
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(135deg, rgba(168, 168, 168, 0.3), rgba(136, 136, 136, 0.3));
    transition: width 0.3s ease;
    z-index: 1;
}

.btn-secondary:hover::before {
    width: 100%;
}

.btn-secondary:hover {
    color: white;
    transform: translateY(-3px) scale(1.03) rotateZ(1deg);
    border-color: var(--secondary-color);
    box-shadow: 0 6px 25px rgba(255, 107, 53, 0.4), 0 3px 15px rgba(0, 0, 0, 0.2);
    animation: button-wiggle 1.2s ease-in-out infinite;
}

.btn-secondary span {
    position: relative;
    z-index: 2;
}

.btn-large {
    padding: 16px 40px;
    font-size: 1.1rem;
}

/* ===== ローディング画面 ===== */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #0a0a14;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: all 0.5s ease;
}

.loading.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: scale(0.8);
}

.loading-icon {
    width: 80px;
    height: 80px;
    background-color: var(--ultra-light-gray);
    border-radius: 50% 50% 50% 0;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: bounce 1s ease-in-out infinite;
}

.loading-icon .question-mark {
    font-size: 3rem;
    color: var(--primary-gray);
    animation: rotate 2s linear infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(10deg); }
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ===== ヘッダー ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(128, 128, 128, 0.3);
    backdrop-filter: blur(15px);
    border-bottom: none;
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.1),
        0 0 20px rgba(255, 107, 53, 0.15);
    z-index: 1000;
    transition: var(--transition);
    padding: 0;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: inherit;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--space-light), var(--accent-gray));
    border-radius: 50% 50% 50% 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    box-shadow: var(--glow-gray);
    border: none;
}

.logo:hover .logo-icon {
    transform: scale(1.1) rotate(-10deg);
    box-shadow: 
        var(--glow-gray),
        0 0 30px rgba(168, 168, 168, 0.6);
    animation: pulse-glow 1.5s ease-in-out infinite;
}

.logo-icon .question-mark {
    font-size: 1.5rem;
    color: var(--star-white);
    font-weight: 700;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.tagline {
    font-size: 0.8rem;
    color: #666666;
    margin-left: 0.5rem;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-list a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-small);
    overflow: hidden;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* スライドインエフェクト用の疑似要素 */
.nav-list a:not(.btn-line)::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 53, 0.1), transparent);
    transition: left 0.6s ease;
    z-index: -1;
}

.nav-list a:not(.btn-line):hover::before {
    left: 100%;
}

.nav-list a:not(.btn-line):hover {
    color: var(--neon-orange);
    text-shadow: none;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.15), rgba(255, 140, 66, 0.1));
    border: none;
    box-shadow: 
        0 4px 15px rgba(255, 107, 53, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transform: translateY(-2px) scale(1.05);
    font-weight: 600;
}

.nav-list a:not(.btn-line)::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--neon-orange), var(--warm-orange));
    transition: all 0.4s ease;
    transform: translateX(-50%);
    border-radius: 2px;
    box-shadow: 0 0 8px rgba(255, 107, 53, 0.6);
}

.nav-list a:not(.btn-line):hover::after {
    width: 80%;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    border-radius: 3px;
    transition: var(--transition);
}

/* ===== ヒーローセクション ===== */
.hero {
    padding: 180px 0 120px;
    background: 
        /* メイングラデーション */
        linear-gradient(135deg, 
            rgba(15, 15, 20, 0.95) 0%,
            rgba(25, 25, 35, 0.9) 25%,
            rgba(40, 40, 50, 0.85) 50%,
            rgba(25, 25, 35, 0.9) 75%,
            rgba(15, 15, 20, 0.95) 100%),
        /* ネオングロー */
        radial-gradient(circle at 20% 30%, rgba(0, 255, 255, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 0, 150, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 30% 80%, rgba(150, 255, 0, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(255, 150, 0, 0.3) 0%, transparent 50%),
        /* サイバーグリッド */
        linear-gradient(90deg, transparent 98%, rgba(0, 255, 255, 0.1) 100%),
        linear-gradient(0deg, transparent 98%, rgba(255, 0, 255, 0.1) 100%);
    background-size: 
        100% 100%,
        400px 400px,
        400px 400px,
        400px 400px,
        400px 400px,
        100px 100px,
        100px 100px;
    position: relative;
    overflow: hidden;
    border-bottom: none;
    box-shadow: 
        0 0 50px rgba(0, 255, 255, 0.3),
        0 0 100px rgba(255, 0, 255, 0.2),
        inset 0 0 50px rgba(0, 0, 0, 0.5);
    animation: hero-glow 8s ease-in-out infinite;
    min-height: 100vh;
    display: flex;
    align-items: center;
    will-change: transform;
    border-bottom: none;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.6;
    background: linear-gradient(45deg, 
        rgba(255, 107, 53, 0.12) 0%, 
        rgba(168, 168, 168, 0.08) 25%, 
        rgba(255, 140, 66, 0.1) 50%, 
        rgba(108, 117, 125, 0.08) 75%, 
        rgba(255, 107, 53, 0.12) 100%);
    background-size: 400% 400%;
    animation: gradient-flow 15s ease infinite;
}

.digital-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, var(--accent-orange) 0%, transparent 30%),
        radial-gradient(circle at 80% 70%, var(--secondary-gray) 0%, transparent 30%),
        radial-gradient(circle at 50% 50%, var(--accent-orange) 0%, transparent 25%);
    background-size: 300px 300px;
    opacity: 0.3;
    animation: particles-breathe 8s ease-in-out infinite;
}

.chat-bubbles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.chat-bubbles::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, transparent, var(--accent-orange), var(--secondary-gray), transparent);
    top: 30%;
    opacity: 0.6;
    animation: scan-simple-1 5s ease-in-out infinite;
    box-shadow: 0 0 30px rgba(229, 231, 235, 0.5);
    border-radius: 3px;
}

.chat-bubbles::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, transparent, var(--secondary-gray), var(--accent-orange), transparent);
    top: 70%;
    opacity: 0.6;
    animation: scan-simple-2 6s ease-in-out infinite;
    box-shadow: 0 0 30px rgba(229, 231, 235, 0.5);
    border-radius: 3px;
}

.code-lines {
    position: absolute;
    width: 100%;
    height: 100%;
}

.code-lines::before {
    content: '';
    position: absolute;
    width: 8px;
    height: 60%;
    background: linear-gradient(180deg, transparent, var(--accent-orange), transparent);
    left: 20%;
    top: 20%;
    opacity: 0.7;
    animation: vertical-glow-1 4s ease-in-out infinite;
    box-shadow: 0 0 25px rgba(229, 231, 235, 0.6);
    border-radius: 4px;
}

.code-lines::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 60%;
    background: linear-gradient(180deg, transparent, var(--secondary-gray), transparent);
    right: 20%;
    top: 20%;
    opacity: 0.7;
    animation: vertical-glow-2 5s ease-in-out infinite;
    box-shadow: 0 0 25px rgba(107, 114, 128, 0.6);
    border-radius: 4px;
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.floating-shapes::before {
    content: '';
    position: absolute;
    width: 100px;
    height: 100px;
    background: var(--accent-orange);
    border-radius: 50%;
    top: 25%;
    left: 15%;
    opacity: 0.4;
    animation: shape-float-1 6s ease-in-out infinite;
}

.floating-shapes::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 80px;
    background: var(--secondary-gray);
    border-radius: 50%;
    top: 65%;
    right: 20%;
    opacity: 0.4;
    animation: shape-float-2 7s ease-in-out infinite;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 150%;
    background: radial-gradient(circle, rgba(229, 231, 235, 0.08) 0%, transparent 70%);
    transform: rotate(45deg);
    animation: float-bg 20s ease-in-out infinite;
}

@keyframes float-bg {
    0%, 100% { transform: rotate(45deg) translateY(0); }
    50% { transform: rotate(45deg) translateY(-20px); }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.3;
    color: #FFFFFF;
    text-shadow: 
        0 0 20px rgba(0, 255, 255, 0.8),
        0 0 40px rgba(255, 0, 255, 0.6),
        0 4px 15px rgba(0, 0, 0, 0.8),
        0 0 60px rgba(255, 255, 255, 0.4);
    font-weight: 900;
    letter-spacing: 2px;
}

.hero-title .highlight {
    color: #FFFFFF;
    display: inline-block;
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: unset;
    background-clip: unset;
    text-shadow: 
        0 0 20px rgba(255, 107, 53, 0.8),
        0 0 40px rgba(255, 107, 53, 0.4);
    animation: shimmer 3s ease-in-out infinite;
    filter: drop-shadow(0 0 10px rgba(255, 107, 53, 0.8));
}

.hero-subtitle .question-mark {
    color: var(--accent-orange);
    font-size: 1.2em;
    display: inline-block;
    animation: pulse-question 2s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

@keyframes pulse-question {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.hero-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2.5rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8), 0 0 20px rgba(255, 255, 255, 0.3);
    font-weight: 600;
    background: transparent;
    padding: 8px 15px;
    border-radius: 6px;
    backdrop-filter: blur(10px);
    border: none;
    display: inline-block;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-illustration {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.tech-card {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--border-radius);
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
    animation: slideInUp 0.6s ease-out forwards, tech-float 6s ease-in-out infinite 0.6s;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.tech-card:nth-child(1) { animation-delay: 0.1s; }
.tech-card:nth-child(2) { animation-delay: 0.2s; }
.tech-card:nth-child(3) { animation-delay: 0.3s; }
.tech-card:nth-child(4) { animation-delay: 0.4s; }

.tech-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

.tech-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, 
        rgba(255, 255, 255, 0.8) 0%, 
        rgba(255, 255, 255, 0.2) 25%, 
        rgba(255, 255, 255, 0.8) 50%, 
        rgba(255, 255, 255, 0.2) 75%, 
        rgba(255, 255, 255, 0.8) 100%);
    background-size: 400% 400%;
    border-radius: var(--border-radius);
    z-index: -1;
    opacity: 0;
    animation: border-glow 3s linear infinite;
    transition: opacity 0.3s ease;
}

.tech-card:hover::before {
    opacity: 1;
}

.tech-icon {
    font-size: 2rem;
    margin-bottom: 8px;
    display: block;
}

.tech-card span {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* ===== キャラクターショーケース ===== */
.character-showcase {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.character-intro {
    text-align: center;
    margin-bottom: 40px;
}

.character-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 10px;
    position: relative;
}

.title-text {
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
    display: inline-block;
    animation: title-bounce 2s ease-in-out infinite, title-glow 3s ease-in-out infinite;
}

.character-title::after {
    content: '✨';
    position: absolute;
    top: -5px;
    right: -30px;
    font-size: 1.2rem;
    animation: sparkle 2s ease-in-out infinite;
}

.character-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.character-grid-container {
    margin-top: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    padding: 0 20px;
    overflow: hidden;
}

.character-carousel {
    overflow: hidden;
    position: relative;
    border-radius: 15px;
    margin-bottom: 30px;
    padding: 15px 0 20px 0;
    cursor: grab;
    user-select: none;
}

.character-carousel:active {
    cursor: grabbing;
}

.character-slider {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    gap: 20px;
}

.character-card {
    min-width: 0;
    transition: all 0.3s ease;
    box-sizing: border-box;
    padding: 15px 10px;
}

.character-navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 25px;
}

.nav-btn {
    background: linear-gradient(135deg, rgba(128, 128, 128, 0.8), rgba(160, 160, 160, 0.8));
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    box-shadow: 
        0 4px 15px rgba(128, 128, 128, 0.3),
        0 0 20px rgba(255, 255, 255, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.nav-btn::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, 
        transparent 30%, 
        rgba(255, 255, 255, 0.2) 50%, 
        transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.nav-btn:not(:disabled):hover::before {
    transform: translateX(100%);
}


.nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    pointer-events: none;
}

.nav-btn:not(:disabled):hover {
    transform: translateY(-2px);
    box-shadow: 
        0 6px 20px rgba(128, 128, 128, 0.4),
        0 0 30px rgba(255, 255, 255, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    background: linear-gradient(135deg, rgba(160, 160, 160, 1), rgba(192, 192, 192, 1));
}

.character-dots {
    display: flex;
    gap: 10px;
    align-items: center;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: linear-gradient(45deg, rgba(255, 107, 53, 1), rgba(255, 179, 71, 1));
    box-shadow: 0 0 10px rgba(255, 107, 53, 0.5);
    transform: scale(1.2);
}

.dot:hover:not(.active) {
    background: rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
}

/* Company Logo Badge */
.company-logo-badge {
    position: absolute;
    top: -15px;
    right: -10px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.15),
        0 0 0 2px rgba(255, 255, 255, 0.3),
        0 0 20px rgba(255, 255, 255, 0.4);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: all 0.3s ease;
}

.company-logo-badge img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.company-logo-badge:hover {
    transform: scale(1.15) rotate(10deg);
    box-shadow: 
        0 6px 20px rgba(0, 0, 0, 0.2),
        0 0 0 3px rgba(255, 255, 255, 0.5),
        0 0 30px rgba(255, 107, 53, 0.4);
}

.character-card {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    background-clip: padding-box;
    border-radius: 8px;
    padding: 12px 8px;
    text-align: center;
    backdrop-filter: blur(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: visible;
    aspect-ratio: 3/4;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    height: 200px;
    margin: 0;
    z-index: 1;
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.2);
}

.character-card.featured {
    background: rgba(255, 255, 255, 0.25);
    border: 2px solid rgba(255, 255, 255, 0.6);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.5),
        0 0 25px rgba(255, 255, 255, 0.3);
}

.character-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, 
        rgba(255, 255, 255, 0.3) 0%, 
        rgba(255, 255, 255, 0.1) 25%, 
        rgba(255, 255, 255, 0.3) 50%, 
        rgba(255, 255, 255, 0.1) 75%, 
        rgba(255, 255, 255, 0.3) 100%);
    background-size: 400% 400%;
    border-radius: 15px;
    z-index: -1;
    opacity: 0;
    animation: character-glow 3s linear infinite;
    transition: opacity 0.3s ease;
}

.character-card:hover::before {
    opacity: 1;
}

.character-card:hover {
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.2),
        0 0 0 2px rgba(255, 255, 255, 0.6),
        0 0 30px rgba(255, 255, 255, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    transform: translateY(-5px) scale(1.05);
}

.character-image {
    width: 80px;
    height: 80px;
    margin: 0 auto 10px auto;
    position: relative;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 
        0 0 10px rgba(255, 255, 255, 0.4),
        inset 0 0 10px rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}

.character-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

/* Character icon hover animation */
.character-card:hover .character-image img {
    animation: icon-shake 0.5s ease-in-out;
}

.character-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.3), rgba(255, 179, 71, 0.3));
    border-radius: 50%;
}

.placeholder-icon {
    font-size: 2rem;
    margin-bottom: 5px;
}

.character-placeholder span {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* キャラクター情報 */
.character-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-top: 15px;
}

.character-name {
    font-size: 0.85rem;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 0 6px rgba(255, 255, 255, 0.6);
    margin-bottom: 6px;
    letter-spacing: 0.5px;
}

.character-role {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    margin-bottom: 10px;
    line-height: 1.2;
}

/* サービス内容エリア */
.character-service {
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    margin-top: auto;
    margin-bottom: 5px;
    text-align: center;
    padding: 4px 3px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

/* ウェブサイト自動応答 - 白 */
.character-service.service-homepage {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

/* AIチャットボット - 紫 */
.character-service.service-ai {
    background: rgba(139, 95, 191, 0.15);
    border: 1px solid rgba(139, 95, 191, 0.5);
}

/* SNSマーケティング - 水色 */
.character-service.service-sns {
    background: rgba(0, 191, 255, 0.15);
    border: 1px solid rgba(0, 191, 255, 0.5);
}

/* ウェブマーケティング - 水色 */
.character-service.service-web {
    background: rgba(0, 191, 255, 0.15);
    border: 1px solid rgba(0, 191, 255, 0.5);
}

/* 予約管理 - ピンク */
.character-service.service-reservation {
    background: rgba(255, 192, 203, 0.15);
    border: 1px solid rgba(255, 192, 203, 0.5);
}

/* 社内業務応答 - オレンジ */
.character-service.service-internal {
    background: rgba(255, 165, 0, 0.15);
    border: 1px solid rgba(255, 165, 0, 0.5);
}

/* LINE自動応答 - 黄緑 */
.character-service.service-line {
    background: rgba(154, 205, 50, 0.15);
    border: 1px solid rgba(154, 205, 50, 0.5);
}

.company-logo {
    width: 14px;
    height: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.4rem;
    font-weight: 700;
    color: rgba(255, 107, 53, 0.9);
    text-shadow: 0 0 4px rgba(255, 107, 53, 0.3);
    flex-shrink: 0;
}

.company-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 4px;
}

/* 特別なスタイル */
.character-card:first-child {
    border: none;
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 
        0 10px 40px rgba(255, 255, 255, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.4);
}

.character-card:first-child .company-logo {
    width: 16px;
    height: 16px;
}

.character-card:first-child .company-logo img {
    filter: brightness(1.1) contrast(1.1);
}

.character-card:first-child .character-name {
    color: #ffffff;
    text-shadow: 0 0 12px rgba(255, 255, 255, 0.6);
}


.character-card:first-child:hover {
    background: rgba(255, 255, 255, 0.35);
    box-shadow: 
        0 20px 50px rgba(0, 0, 0, 0.2),
        0 0 40px rgba(255, 255, 255, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    transform: translateY(-5px) scale(1.05);
}

.company-name {
    font-size: 0.45rem;
    color: rgba(255, 107, 53, 0.9);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-left: 4px;
    text-shadow: 0 0 4px rgba(255, 107, 53, 0.3);
}

@keyframes title-bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) scale(1);
    }
    40% {
        transform: translateY(-8px) scale(1.02);
    }
    60% {
        transform: translateY(-4px) scale(1.01);
    }
}

@keyframes character-float {
    0% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-12px) scale(1.05);
    }
    100% {
        transform: translateY(-10px) scale(1.03);
    }
}

@keyframes title-glow {
    0%, 100% {
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8), 0 0 20px rgba(255, 255, 255, 0.3);
    }
    50% {
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8), 0 0 30px rgba(255, 255, 255, 0.6);
    }
}

@keyframes design-draw {
    0%, 100% {
        transform: translate(-50%, -50%) rotate(0deg) scale(1);
    }
    25% {
        transform: translate(-50%, -50%) rotate(-15deg) scale(1.1);
    }
    50% {
        transform: translate(-50%, -50%) rotate(0deg) scale(1.15);
    }
    75% {
        transform: translate(-50%, -50%) rotate(15deg) scale(1.05);
    }
}

@keyframes design-sparkle {
    0%, 100% {
        opacity: 0.3;
        transform: scale(0.8) rotate(0deg);
    }
    50% {
        opacity: 1;
        transform: scale(1.2) rotate(180deg);
    }
}

@keyframes support-pulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        filter: brightness(1);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        filter: brightness(1.3);
    }
}

@keyframes support-sparkle {
    0%, 100% {
        opacity: 0.4;
        transform: scale(0.6) rotate(0deg);
    }
    50% {
        opacity: 1;
        transform: scale(1.3) rotate(360deg);
    }
}

@keyframes problem-pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 20px rgba(255, 107, 107, 0.3);
    }
    50% {
        transform: scale(1.1);
        box-shadow: 0 0 30px rgba(255, 107, 107, 0.6);
    }
}

@keyframes icon-shake {
    0%, 100% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(-3px);
    }
    75% {
        transform: translateX(3px);
    }
}

@keyframes pulse-ring {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.4);
        opacity: 0;
    }
}

@keyframes sparkle {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
    50% {
        transform: scale(1.2) rotate(180deg);
        opacity: 0.8;
    }
}

@keyframes character-glow {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes slideInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* パフォーマンス最適化 */
.tech-card,
.question-circle,
.pulse-ring,
.loading-icon {
    will-change: transform;
    backface-visibility: hidden;
}

/* アニメーション無効化設定 */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ===== アニメーションアイコン ===== */
.icon-web,
.icon-website,
.icon-ai,
.icon-flyer,
.icon-mobile,
.icon-business-card,
.icon-efficiency,
.icon-media,
.icon-design,
.icon-technology,
.icon-support,
.icon-problem-web,
.icon-problem-system,
.icon-problem-ai,
.icon-service-web,
.icon-service-graphic,
.icon-service-line,
.icon-service-ai,
.step-icon-contact,
.step-icon-hearing,
.step-icon-proposal,
.step-icon-development,
.step-icon-support,
.phone-icon,
.social-icon-fb,
.social-icon-tw,
.social-icon-ig {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Web関連アイコン */
.icon-web,
.icon-service-web {
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    animation: web-pulse 2s ease-in-out infinite;
}

.icon-web::before,
.icon-service-web::before {
    content: '';
    position: absolute;
    width: 60%;
    height: 60%;
    border: 2px solid var(--white);
    border-radius: 4px;
    background: transparent;
}

.icon-web::after,
.icon-service-web::after {
    content: '';
    position: absolute;
    width: 40%;
    height: 2px;
    background: var(--white);
    top: 40%;
    border-radius: 2px;
}

/* AI関連アイコン */
.icon-ai,
.icon-service-ai {
    background: linear-gradient(135deg, var(--primary-gray), #4B5563);
    animation: ai-rotate 3s linear infinite;
}

.icon-ai::before,
.icon-service-ai::before {
    content: '';
    position: absolute;
    width: 50%;
    height: 50%;
    border: 2px solid var(--white);
    border-radius: 50%;
    background: transparent;
}

.icon-ai::after,
.icon-service-ai::after {
    content: '';
    position: absolute;
    width: 30%;
    height: 30%;
    border: 2px solid var(--white);
    border-radius: 50%;
    background: var(--white);
}

/* モバイル・DX関連アイコン */
.icon-mobile {
    background: linear-gradient(135deg, var(--primary-gray), #4B5563);
    animation: mobile-bounce 2s ease-in-out infinite;
}

.icon-mobile::before {
    content: '';
    position: absolute;
    width: 40%;
    height: 70%;
    border: 2px solid var(--white);
    border-radius: 8px;
    background: transparent;
}

.icon-mobile::after {
    content: '';
    position: absolute;
    width: 20%;
    height: 2px;
    background: var(--white);
    top: 70%;
    border-radius: 2px;
}

/* 効率化アイコン */
.icon-efficiency {
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-blue));
    animation: efficiency-flash 1.5s ease-in-out infinite;
}

.icon-efficiency::before {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-bottom: 20px solid var(--white);
    transform: rotate(-45deg);
}

/* デザイン関連アイコン */
.icon-design,
.icon-service-graphic {
    background: linear-gradient(135deg, var(--accent-blue), var(--primary-gray));
    animation: canvas-paint 2.5s ease-in-out infinite;
}

.icon-design::before,
.icon-service-graphic::before {
    content: '◆';
    position: absolute;
    font-size: 1.8rem;
    color: var(--white);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: design-draw 2.2s ease-in-out infinite;
}

.icon-design::after,
.icon-service-graphic::after {
    content: '✨';
    position: absolute;
    font-size: 1rem;
    color: var(--white);
    top: 25%;
    right: 25%;
    animation: design-sparkle 1.8s ease-in-out infinite 0.3s;
}

/* テクノロジーアイコン */
.icon-technology {
    background: linear-gradient(135deg, var(--secondary-gray), var(--primary-gray));
    animation: tech-sparkle 2s ease-in-out infinite;
    overflow: hidden;
}

.icon-technology::before {
    content: '✦';
    position: absolute;
    font-size: 1.8rem;
    color: var(--white);
    animation: sparkle-main 2s ease-in-out infinite;
}

.icon-technology::after {
    content: '✨';
    position: absolute;
    font-size: 1.2rem;
    color: var(--white);
    top: 20%;
    left: 70%;
    animation: sparkle-secondary 1.5s ease-in-out infinite 0.5s;
}

/* サポートアイコン */
.icon-support {
    background: linear-gradient(135deg, var(--accent-blue), var(--secondary-gray));
    animation: support-heartbeat 1.8s ease-in-out infinite;
}

.icon-support::before {
    content: '♦';
    position: absolute;
    font-size: 1.8rem;
    color: var(--white);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: support-pulse 2s ease-in-out infinite;
}

.icon-support::after {
    content: '✨';
    position: absolute;
    font-size: 1rem;
    color: var(--white);
    top: 20%;
    left: 75%;
    animation: support-sparkle 1.6s ease-in-out infinite 0.4s;
}

/* 問題アイコン */
.icon-problem-web,
.icon-problem-system,
.icon-problem-ai {
    background: linear-gradient(135deg, var(--ultra-light-gray), var(--light-gray));
    animation: problem-shake 2s ease-in-out infinite;
}

.icon-problem-web::before,
.icon-problem-system::before,
.icon-problem-ai::before {
    content: '!';
    color: var(--primary-gray);
    font-size: 2rem;
    font-weight: 700;
}

/* LINE関連アイコン */
.icon-service-line {
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-color));
    animation: line-bubble 2s ease-in-out infinite;
}

.icon-service-line::before {
    content: '';
    position: absolute;
    width: 60%;
    height: 40%;
    border: 2px solid var(--white);
    border-radius: 20px;
    background: transparent;
}

.icon-service-line::after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid var(--white);
    top: 65%;
    left: 30%;
}

/* ステップアイコン */
.step-icon-contact,
.step-icon-hearing,
.step-icon-proposal,
.step-icon-development,
.step-icon-support {
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    animation: step-glow 2s ease-in-out infinite;
}

.step-icon-contact::before { content: '1'; }
.step-icon-hearing::before { content: '2'; }
.step-icon-proposal::before { content: '3'; }
.step-icon-development::before { content: '4'; }
.step-icon-support::before { content: '5'; }

.step-icon-contact::before,
.step-icon-hearing::before,
.step-icon-proposal::before,
.step-icon-development::before,
.step-icon-support::before {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
}

/* 電話アイコン */
.phone-icon {
    background: linear-gradient(135deg, var(--accent-blue), var(--primary-gray));
    animation: phone-ring 1.5s ease-in-out infinite;
}

.phone-icon::before {
    content: '';
    position: absolute;
    width: 50%;
    height: 50%;
    border: 2px solid var(--white);
    border-radius: 20% 20% 20% 50%;
    background: transparent;
    transform: rotate(-45deg);
}

/* ソーシャルアイコン */
.social-icon-fb {
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-color));
    animation: social-float 3s ease-in-out infinite;
}

.social-icon-tw {
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-color));
    animation: social-float 3s ease-in-out infinite;
    animation-delay: 1s;
}

.social-icon-ig {
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-color));
    animation: social-float 3s ease-in-out infinite;
    animation-delay: 2s;
}

.social-icon-fb::before { content: 'f'; }
.social-icon-tw::before { content: 't'; }
.social-icon-ig::before { content: 'i'; }

.social-icon-fb::before,
.social-icon-tw::before,
.social-icon-ig::before {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
}

/* ===== アニメーション定義 ===== */
@keyframes web-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@keyframes ai-rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes mobile-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

@keyframes efficiency-flash {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

@keyframes canvas-paint {
    0%, 100% { 
        transform: scale(1) rotate(0deg);
        box-shadow: 0 4px 15px rgba(229, 231, 235, 0.2);
    }
    25% { 
        transform: scale(1.02) rotate(-5deg);
        box-shadow: 0 6px 20px rgba(229, 231, 235, 0.3);
    }
    50% { 
        transform: scale(1.05) rotate(0deg);
        box-shadow: 0 8px 25px rgba(229, 231, 235, 0.4);
    }
    75% { 
        transform: scale(1.02) rotate(5deg);
        box-shadow: 0 6px 20px rgba(229, 231, 235, 0.3);
    }
}

@keyframes tech-sparkle {
    0%, 100% { 
        transform: scale(1); 
        box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
    }
    50% { 
        transform: scale(1.05); 
        box-shadow: 0 0 20px rgba(255, 255, 255, 0.6);
    }
}

@keyframes sparkle-main {
    0%, 100% { 
        transform: scale(1) rotate(0deg); 
        opacity: 1; 
    }
    25% { 
        transform: scale(1.3) rotate(90deg); 
        opacity: 0.8; 
    }
    50% { 
        transform: scale(1.1) rotate(180deg); 
        opacity: 1; 
    }
    75% { 
        transform: scale(1.2) rotate(270deg); 
        opacity: 0.9; 
    }
}

@keyframes sparkle-secondary {
    0%, 100% { 
        transform: scale(0.8) rotate(0deg); 
        opacity: 0.7; 
    }
    33% { 
        transform: scale(1.1) rotate(120deg); 
        opacity: 1; 
    }
    66% { 
        transform: scale(0.9) rotate(240deg); 
        opacity: 0.8; 
    }
}

@keyframes support-heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@keyframes problem-shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-2px); }
    75% { transform: translateX(2px); }
}

@keyframes line-bubble {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes step-glow {
    0%, 100% { box-shadow: 0 0 10px rgba(229, 231, 235, 0.3); }
    50% { box-shadow: 0 0 20px rgba(229, 231, 235, 0.6); }
}

@keyframes phone-ring {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-10deg); }
    75% { transform: rotate(10deg); }
}

@keyframes social-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

/* ===== 新しいサービスアイコン ===== */
/* Webサイト制作アイコン */
.icon-website {
    background: linear-gradient(135deg, var(--accent-blue), var(--primary-gray));
    animation: website-slide 2.5s ease-in-out infinite;
}

.icon-website::before {
    content: '';
    position: absolute;
    width: 70%;
    height: 70%;
    border: 2px solid var(--white);
    border-radius: 6px;
    background: transparent;
    top: 15%;
    left: 15%;
}

.icon-website::after {
    content: '';
    position: absolute;
    width: 50%;
    height: 2px;
    background: var(--white);
    top: 35%;
    left: 25%;
    border-radius: 2px;
}

/* チラシ作成アイコン */
.icon-flyer {
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-blue));
    animation: flyer-wave 2s ease-in-out infinite;
}

.icon-flyer::before {
    content: '';
    position: absolute;
    width: 60%;
    height: 80%;
    border: 2px solid var(--white);
    border-radius: 4px;
    background: transparent;
    top: 10%;
    left: 20%;
}

.icon-flyer::after {
    content: '';
    position: absolute;
    width: 40%;
    height: 2px;
    background: var(--white);
    top: 35%;
    left: 30%;
    border-radius: 2px;
    box-shadow: 0 8px 0 var(--white), 0 16px 0 var(--white);
}

/* 名刺作成アイコン */
.icon-business-card {
    background: linear-gradient(135deg, var(--secondary-gray), var(--accent-blue));
    animation: card-flip 3s ease-in-out infinite;
}

.icon-business-card::before {
    content: '';
    position: absolute;
    width: 80%;
    height: 50%;
    border: 2px solid var(--white);
    border-radius: 8px;
    background: transparent;
    top: 25%;
    left: 10%;
}

.icon-business-card::after {
    content: '';
    position: absolute;
    width: 60%;
    height: 2px;
    background: var(--white);
    top: 35%;
    left: 20%;
    border-radius: 2px;
    box-shadow: 0 6px 0 var(--white);
}

/* 画像・動画作成アイコン */
.icon-media {
    background: linear-gradient(135deg, var(--accent-orange), var(--accent-purple));
    animation: media-pulse 2s ease-in-out infinite;
}

.icon-media::before {
    content: '';
    position: absolute;
    width: 70%;
    height: 70%;
    border: 2px solid var(--white);
    border-radius: 50%;
    background: transparent;
    top: 15%;
    left: 15%;
}

.icon-media::after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-left: 15px solid var(--white);
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    top: 40%;
    left: 40%;
}

/* ===== 新しいアニメーション ===== */
@keyframes website-slide {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.05) rotate(3deg); }
}

@keyframes flyer-wave {
    0%, 100% { transform: scale(1) rotateY(0deg); }
    50% { transform: scale(1.05) rotateY(10deg); }
}

@keyframes card-flip {
    0%, 100% { transform: scale(1) rotateX(0deg); }
    50% { transform: scale(1.05) rotateX(10deg); }
}

@keyframes media-pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

/* ===== ヒーロー背景アニメーション ===== */
@keyframes gradient-flow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes particles-breathe {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.1); opacity: 0.5; }
}

@keyframes pulse-glow {
    0%, 100% { 
        opacity: 0.3;
        transform: translate(-50%, -50%) scale(1); 
    }
    50% { 
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1.2); 
    }
}

@keyframes shine-effect {
    0% { 
        opacity: 0.4;
        transform: scale(0.8);
    }
    50% { 
        opacity: 0.8;
        transform: scale(1.2);
    }
    100% { 
        opacity: 0.4;
        transform: scale(0.8);
    }
}

@keyframes scan-simple-1 {
    0% { 
        transform: translateX(-100%); 
        opacity: 0; 
    }
    50% { 
        transform: translateX(0%); 
        opacity: 0.8; 
    }
    100% { 
        transform: translateX(100%); 
        opacity: 0; 
    }
}

@keyframes scan-simple-2 {
    0% { 
        transform: translateX(100%); 
        opacity: 0; 
    }
    50% { 
        transform: translateX(0%); 
        opacity: 0.8; 
    }
    100% { 
        transform: translateX(-100%); 
        opacity: 0; 
    }
}

@keyframes vertical-glow-1 {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.9; }
}

@keyframes vertical-glow-2 {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.8; }
}

@keyframes shape-float-1 {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-30px); }
}

@keyframes shape-float-2 {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(20px); }
}


/* ===== フローティングAIチャットボット ===== */
.floating-chatbot {
    position: fixed !important;
    bottom: 30px !important;
    right: 30px !important;
    top: auto !important;
    left: auto !important;
    width: 75px;
    height: 75px;
    background: linear-gradient(135deg, 
        var(--secondary-color) 0%, 
        var(--secondary-color) 25%, 
        var(--secondary-color) 50%, 
        var(--secondary-color) 75%, 
        var(--secondary-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 
        0 8px 35px rgba(229, 231, 235, 0.5),
        0 4px 15px rgba(229, 231, 235, 0.3),
        inset 0 -2px 4px rgba(0, 0, 0, 0.1),
        inset 0 2px 4px rgba(255, 255, 255, 0.3);
    z-index: 9999 !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: float-bounce 3s ease-in-out infinite;
    overflow: hidden;
    margin: 0 !important;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.floating-chatbot::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(45deg, 
        var(--secondary-color) 0%, 
        var(--secondary-color) 25%, 
        var(--secondary-color) 50%, 
        var(--secondary-color) 75%, 
        var(--secondary-color) 100%);
    border-radius: 50%;
    z-index: -1;
    animation: gradient-flow 6s ease infinite;
    opacity: 0.8;
}

.floating-chatbot::after {
    content: '';
    position: absolute;
    top: 20%;
    left: 20%;
    width: 30%;
    height: 30%;
    background: radial-gradient(circle, 
        rgba(255, 255, 255, 0.6) 0%, 
        rgba(255, 255, 255, 0.2) 50%,
        transparent 100%);
    border-radius: 50%;
    animation: shine-effect 3s ease-in-out infinite;
    filter: blur(1px);
}

.floating-chatbot:hover {
    transform: translateY(-5px) scale(1.12) !important;
    box-shadow: 
        0 12px 50px rgba(229, 231, 235, 0.7),
        0 6px 25px rgba(229, 231, 235, 0.5),
        0 3px 12px rgba(229, 231, 235, 0.3),
        inset 0 -2px 6px rgba(0, 0, 0, 0.15),
        inset 0 3px 6px rgba(255, 255, 255, 0.4);
    border-color: rgba(255, 255, 255, 0.4);
}

.floating-chatbot:hover .chatbot-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-10px);
}

.chatbot-tooltip {
    position: absolute;
    bottom: 85px;
    left: 50%;
    transform: translateX(-50%);
    background: #1F2937;
    color: var(--white);
    padding: 8px 16px;
    border-radius: 22px;
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 25px rgba(107, 114, 128, 0.3);
}

.chatbot-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: var(--primary-gray);
}

@keyframes float-bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

/* IDセレクターによる確実な位置指定 */
#floatingChatbot {
    position: fixed !important;
    bottom: 30px !important;
    right: 30px !important;
    top: auto !important;
    left: auto !important;
    z-index: 9999 !important;
    animation: float-bounce 3s ease-in-out infinite !important;
}

/* モバイル対応 */
@media (max-width: 768px) {
    .floating-chatbot,
    #floatingChatbot {
        width: 65px !important;
        height: 65px !important;
        bottom: 20px !important;
        right: 20px !important;
        box-shadow: 
            0 6px 30px rgba(139, 95, 191, 0.5),
            0 3px 12px rgba(229, 231, 235, 0.3),
            inset 0 -2px 4px rgba(0, 0, 0, 0.1),
            inset 0 2px 4px rgba(255, 255, 255, 0.3);
    }
    
    .floating-chatbot:hover {
        transform: translateY(-3px) scale(1.08);
        box-shadow: 
            0 10px 40px rgba(229, 231, 235, 0.7),
            0 5px 20px rgba(229, 231, 235, 0.5),
            inset 0 -2px 6px rgba(0, 0, 0, 0.15),
            inset 0 3px 6px rgba(255, 255, 255, 0.4);
    }
    
    .chatbot-tooltip {
        font-size: 0.8rem;
        padding: 6px 12px;
        bottom: 75px;
        border-radius: 18px;
    }
}

/* ===== メールアイコン ===== */
.email-icon {
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    border-radius: 4px;
    display: inline-block;
    margin-right: 8px;
    position: relative;
    vertical-align: middle;
}

.email-icon::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 3px;
    width: 14px;
    height: 8px;
    border: 1px solid var(--white);
    border-radius: 2px;
    background: transparent;
}

.email-icon::after {
    content: '';
    position: absolute;
    top: 6px;
    left: 3px;
    width: 0;
    height: 0;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-bottom: 6px solid var(--white);
}

.email-link {
    color: var(--white);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 500;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.email-link:hover {
    transform: scale(1.05);
    color: var(--white);
}

.central-element {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ai-chatbot {
    width: 140px;
    height: 140px;
    background: linear-gradient(135deg, var(--primary-gray), #4B5563);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: var(--shadow-glow);
    cursor: pointer;
    transition: var(--transition);
    will-change: transform;
    backface-visibility: hidden;
}

.ai-chatbot:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(229, 231, 235, 0.5);
}

.chatbot-icon {
    position: relative;
    width: 60px;
    height: 60px;
    margin-bottom: 8px;
}

.ai-brain {
    width: 85%;
    height: 85%;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.98) 0%, 
        rgba(255, 255, 255, 0.85) 50%,
        rgba(255, 255, 255, 0.95) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    animation: brain-pulse 2s ease-in-out infinite;
    z-index: 10;
    box-shadow: 
        inset 0 2px 4px rgba(255, 255, 255, 0.8),
        inset 0 -2px 4px rgba(0, 0, 0, 0.1),
        0 2px 8px rgba(229, 231, 235, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.ai-brain::before {
    content: 'AI';
    background: linear-gradient(45deg, 
        var(--secondary-color) 0%, 
        var(--secondary-color) 50%, 
        var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.3rem;
    font-weight: 800;
    text-shadow: 0 2px 4px rgba(229, 231, 235, 0.3);
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

.chatbot-label {
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
}

.ai-pulse {
    position: absolute;
    border: 3px solid var(--accent-purple);
    border-radius: 50%;
    width: 85px;
    height: 85px;
    animation: ai-pulse-animation 2s ease-out infinite;
    opacity: 0.6;
}
    will-change: transform, opacity;
    backface-visibility: hidden;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.ai-pulse-2 {
    animation-delay: 1s;
    border-color: var(--accent-purple);
}

@keyframes rotate360 {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes counter-rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(-360deg); }
}

@keyframes ai-pulse-animation {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.4);
        opacity: 0;
    }
}

@keyframes brain-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* ===== ニュース ===== */
.news {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(20, 20, 30, 0.9));
    position: relative;
}

.news-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 60px;
}

.news-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 30px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.news-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.03), rgba(255, 107, 53, 0.03));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.news-item:hover::before {
    opacity: 1;
}

.news-item:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.news-date {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 10px;
    font-weight: 500;
}

.news-category {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.category-info {
    background: linear-gradient(135deg, #007BFF, #0056d3);
    color: #FFFFFF;
}

.category-update {
    background: rgba(0, 123, 255, 0.2);
    border: 1px solid rgba(0, 123, 255, 0.5);
    color: rgba(100, 181, 255, 0.9);
}

.category-news {
    background: rgba(0, 255, 123, 0.2);
    border: 1px solid rgba(0, 255, 123, 0.5);
    color: rgba(100, 255, 181, 0.9);
}

.category-achievement {
    background: linear-gradient(135deg, #ff6b35, #e55100);
    color: #FFFFFF;
}

.category-event {
    background: rgba(255, 0, 123, 0.2);
    border: 1px solid rgba(255, 0, 123, 0.5);
    color: rgba(255, 100, 181, 0.9);
}

.category-other {
    background: rgba(255, 123, 0, 0.2);
    border: 1px solid rgba(255, 123, 0, 0.5);
    color: rgba(255, 181, 100, 0.9);
}

.news-title {
    margin-bottom: 15px;
    font-size: 1.2rem;
    line-height: 1.4;
}

.news-title a {
    color: #FFFFFF;
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-title a:hover {
    color: #00ffff;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.news-excerpt {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* ニュースアイテムリンク */
.news-item-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.news-item-link .news-item {
    cursor: pointer;
}

.news-item-link:hover .news-item {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateX(10px);
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(255, 255, 255, 0.1);
}

.news-item-link:hover .news-title {
    color: #00ffff;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.news-more {
    text-align: center;
    margin-top: 50px;
}

.news-more .btn-secondary {
    background: linear-gradient(135deg, #888888, #666666) !important;
    color: white !important;
    border: none !important;
    padding: 10px 24px !important;
    border-radius: var(--border-radius-large) !important;
    cursor: pointer !important;
    font-weight: 500 !important;
    transition: var(--transition) !important;
    box-shadow: var(--glow-gray) !important;
}

.news-more .btn-secondary:hover {
    box-shadow: 
        var(--glow-gray),
        0 0 30px rgba(168, 168, 168, 0.6) !important;
    transform: scale(1.05) translateY(-2px) !important;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8) !important;
}

/* モバイル対応 */
@media (max-width: 768px) {
    .news-item {
        padding: 20px;
    }
    
    .news-title {
        font-size: 1.1rem;
    }
}

/* ===== イントロダクション ===== */
.intro {
    padding: 80px 0;
    background: linear-gradient(135deg, #D0D0D0 0%, #C0C0C0 100%);
    border-top: 1px solid rgba(255, 107, 53, 0.3);
    border-bottom: 1px solid rgba(168, 168, 168, 0.3);
    position: relative;
}

.strengths {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.strength-item {
    text-align: center;
    border: 2px solid rgba(255, 255, 255, 0.8);
    padding: 30px 20px;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.strength-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    transition: var(--transition);
    position: relative;
    overflow: visible;
    backdrop-filter: blur(10px);
}

.strength-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    opacity: 0;
    transition: var(--transition);
}

.strength-item:hover .strength-icon::before {
    opacity: 1;
}

.strength-item:hover .strength-icon {
    transform: scale(1.1);
    box-shadow: var(--shadow-glow);
}

.strength-item h3 {
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.speech-bubble {
    background: linear-gradient(135deg, var(--white), var(--ultra-light-gray));
    padding: 20px;
    border-radius: var(--border-radius);
    position: relative;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(107, 109, 122, 0.1);
}

.speech-bubble::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid var(--white);
}

/* ===== お悩み解決セクション ===== */
.problems {
    padding: 80px 0;
    background: linear-gradient(135deg, #C8C8C8 0%, #D8D8D8 50%, #C8C8C8 100%);
    border-top: 1px solid rgba(255, 107, 53, 0.3);
    border-bottom: 1px solid rgba(168, 168, 168, 0.3);
}

.problem-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.problem-item {
    display: flex;
    justify-content: center;
}

.problem-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.6);
    position: relative;
    max-width: 380px;
    width: 100%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: visible;
    backdrop-filter: blur(15px);
}

.problem-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    border-radius: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.problem-card:hover::before {
    opacity: 0.1;
}

.problem-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(42, 45, 58, 0.12);
}

.problem-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #FF6B6B, #FF8E53);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    animation: problem-pulse 2s ease-in-out infinite;
}

.problem-icon::before {
    content: '!';
    font-size: 2rem;
    color: var(--white);
    font-weight: 700;
    animation: icon-shake 1.5s ease-in-out infinite;
}

.problem-content {
    text-align: center;
}

.problem-text {
    background: rgba(255, 255, 255, 0.95);
    padding: 20px 25px;
    border-radius: 15px;
    margin-bottom: 20px;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.problem-text::before {
    content: '"';
    position: absolute;
    top: -5px;
    left: 15px;
    font-size: 2rem;
    color: var(--accent-blue);
    opacity: 0.3;
    font-weight: 700;
}

.problem-text p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #333333;
    margin: 0;
    font-weight: 500;
}

.solution-bubble {
    background: linear-gradient(135deg, #00D2FF, #3A7BD5);
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: 600;
    display: inline-block;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 210, 255, 0.4);
    animation: solution-glow 2s ease-in-out infinite;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.solution-bubble::after {
    content: '✓';
    position: absolute;
    right: -8px;
    top: -8px;
    background: #007BFF;
    color: var(--white);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.4);
}

@keyframes solution-glow {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
    }
    50% { 
        transform: scale(1.02);
        box-shadow: 0 6px 20px rgba(74, 144, 226, 0.4);
    }
}

@keyframes icon-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* モバイル対応 */
@media (max-width: 768px) {
    .problem-list {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 20px;
    }
    
    .problem-card {
        padding: 25px 20px;
    }
    
    .problem-icon {
        font-size: 3rem;
    }
    
    .problem-text {
        padding: 15px 20px;
    }
    
    .problem-text p {
        font-size: 1rem;
    }
    
    .solution-bubble {
        font-size: 0.9rem;
        padding: 10px 20px;
    }
}

/* ===== サービスセクション ===== */
.services {
    padding: 80px 0;
    background: linear-gradient(135deg, #D0D0D0 0%, #C0C0C0 100%);
    border-top: 1px solid rgba(255, 107, 53, 0.4);
    border-bottom: 1px solid rgba(168, 168, 168, 0.4);
    position: relative;
}

.service-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
}

.tab-button {
    padding: 12px 32px;
    background-color: var(--bg-light);
    border: none;
    border-radius: var(--border-radius-large);
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.tab-button.active {
    background-color: var(--primary-gray);
    color: var(--white);
    box-shadow: var(--shadow-medium);
}

.tab-button:hover:not(.active) {
    background-color: var(--ultra-light-gray);
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

@media (max-width: 768px) {
    .service-grid {
        grid-template-columns: 1fr;
    }
}

.service-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    text-align: center;
    transition: all 0.15s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    will-change: transform, box-shadow;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    bottom: 2px;
    border-radius: 18px;
    border: 1px solid transparent;
    background: linear-gradient(135deg, 
        rgba(0, 255, 255, 0.3),
        rgba(255, 107, 53, 0.3),
        rgba(139, 0, 255, 0.3)
    ) border-box;
    mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(0, 255, 255, 0.05) 0%,
        rgba(255, 107, 53, 0.05) 50%,
        rgba(139, 0, 255, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.2s ease;
    border-radius: 20px;
}

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

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

.service-card:hover {
    transform: translateY(-6px) scale(1.02);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(255, 107, 53, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.service-card .service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--ultra-light-gray), var(--bg-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    transition: transform 0.15s ease;
    position: relative;
    overflow: hidden;
    will-change: transform;
}

.service-card:hover .service-icon {
    transform: scale(1.05);
    filter: brightness(1.1);
}

/* ===== サービスアイコンアニメーション ===== */
.service-icon-web {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #0066ff, #00ccff);
    border-radius: 12px;
    position: relative;
    box-shadow: 0 0 15px rgba(0, 102, 255, 0.3);
    transition: all 0.2s ease;
}

.service-icon-web::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 8px;
    width: 34px;
    height: 4px;
    background: linear-gradient(90deg, #ffffff, #00ffff);
    border-radius: 2px;
    /* animation: web-scan 2s ease-in-out infinite; */
}

.service-icon-web::after {
    content: '';
    position: absolute;
    top: 22px;
    left: 8px;
    width: 26px;
    height: 3px;
    background: linear-gradient(90deg, #ffffff, #ff6b35);
    border-radius: 2px;
    /* animation: web-scan 2s ease-in-out infinite 0.5s; */
}

.service-icon-graphic {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-color));
    border-radius: 50%;
    position: relative;
    /* animation: graphic-rotate 4s linear infinite; */
}

.service-icon-graphic::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    width: 30px;
    height: 30px;
    border: 3px solid white;
    border-radius: 50%;
    border-top: 3px solid transparent;
    /* animation: graphic-spin 2s linear infinite; */
}

.service-icon-graphic::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    width: 10px;
    height: 10px;
    background: white;
    border-radius: 50%;
    /* animation: graphic-pulse 1.5s ease-in-out infinite; */
}

.service-icon-line {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #00c851, #00ff80);
    border-radius: 16px;
    position: relative;
    box-shadow: 0 0 20px rgba(0, 200, 81, 0.3);
    transition: all 0.2s ease;
}

.service-icon-line::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 6px;
    width: 14px;
    height: 14px;
    background: linear-gradient(135deg, #ffffff, #ffff80);
    border-radius: 50%;
    /* animation: line-message 1.8s ease-in-out infinite; */
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

.service-icon-line::after {
    content: '';
    position: absolute;
    top: 28px;
    right: 6px;
    width: 24px;
    height: 10px;
    background: linear-gradient(90deg, #ffffff, #80ff80);
    border-radius: 6px;
    /* animation: line-message 1.8s ease-in-out infinite 0.6s; */
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.6);
}

.service-icon-ai {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #8b00ff, #ff0080);
    border-radius: 25px;
    position: relative;
    box-shadow: 0 0 25px rgba(139, 0, 255, 0.4);
    overflow: hidden;
    transition: all 0.2s ease;
}

.service-icon-ai::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 8px;
    width: 34px;
    height: 34px;
    background: linear-gradient(45deg, #ffffff, #00ffff);
    border-radius: 50%;
    /* animation: ai-neural 2.2s ease-in-out infinite; */
    box-shadow: inset 0 0 15px rgba(0, 255, 255, 0.7);
}

.service-icon-ai::after {
    content: '';
    position: absolute;
    top: 18px;
    left: 18px;
    width: 14px;
    height: 14px;
    background: linear-gradient(135deg, #ff6b35, #ff0080);
    border-radius: 50%;
    /* animation: ai-core-advanced 1.5s ease-in-out infinite; */
    box-shadow: 0 0 20px rgba(255, 107, 53, 0.8);
}

/* ===== アニメーションキーフレーム ===== */
@keyframes web-glow {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 0 20px rgba(0, 102, 255, 0.4);
    }
    50% { 
        transform: scale(1.08);
        box-shadow: 0 0 35px rgba(0, 204, 255, 0.8);
    }
}

@keyframes web-scan {
    0% { 
        opacity: 0.5;
        transform: translateX(-5px);
    }
    50% { 
        opacity: 1;
        transform: translateX(0);
    }
    100% { 
        opacity: 0.5;
        transform: translateX(5px);
    }
}

@keyframes graphic-rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes graphic-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(-360deg); }
}

@keyframes graphic-pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.7; }
}

@keyframes line-pulse {
    0%, 100% { 
        transform: scale(1) rotateY(0deg);
        box-shadow: 0 0 25px rgba(0, 200, 81, 0.5);
    }
    50% { 
        transform: scale(1.1) rotateY(5deg);
        box-shadow: 0 0 40px rgba(0, 255, 128, 0.8);
    }
}

@keyframes line-message {
    0% { 
        opacity: 0.3;
        transform: scale(0.8);
    }
    50% { 
        opacity: 1;
        transform: scale(1.1);
    }
    100% { 
        opacity: 0.3;
        transform: scale(0.8);
    }
}

@keyframes ai-matrix {
    0%, 100% { 
        transform: scale(1) rotate(0deg);
        box-shadow: 0 0 30px rgba(139, 0, 255, 0.6);
    }
    33% { 
        transform: scale(1.05) rotate(2deg);
        box-shadow: 0 0 45px rgba(255, 0, 128, 0.8);
    }
    66% { 
        transform: scale(1.08) rotate(-2deg);
        box-shadow: 0 0 50px rgba(0, 255, 255, 0.7);
    }
}

@keyframes ai-neural {
    0%, 100% { 
        transform: scale(1) rotate(0deg);
        box-shadow: inset 0 0 15px rgba(0, 255, 255, 0.7);
    }
    50% { 
        transform: scale(1.15) rotate(180deg);
        box-shadow: inset 0 0 25px rgba(255, 255, 255, 0.9);
    }
}

@keyframes ai-core-advanced {
    0% { 
        opacity: 0.4;
        transform: scale(0.8) rotate(0deg);
    }
    25% { 
        opacity: 1;
        transform: scale(1.2) rotate(90deg);
    }
    50% { 
        opacity: 0.6;
        transform: scale(1) rotate(180deg);
    }
    75% { 
        opacity: 1;
        transform: scale(1.2) rotate(270deg);
    }
    100% { 
        opacity: 0.4;
        transform: scale(0.8) rotate(360deg);
    }
}

.service-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #FFFFFF;
    text-shadow: 0 0 15px rgba(0, 255, 255, 0.8);
}

.service-card p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 25px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.detail-btn {
    display: inline-block;
    background: linear-gradient(135deg, #888888, #666666);
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: var(--border-radius-large);
    cursor: pointer;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: var(--glow-gray);
    position: relative;
    z-index: 10;
    pointer-events: auto;
}

.detail-btn:hover {
    color: white;
    box-shadow: 
        var(--glow-gray),
        0 0 30px rgba(168, 168, 168, 0.6);
    transform: scale(1.05) translateY(-2px);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

/* ===== ポートフォリオ ===== */
.portfolio {
    padding: 80px 0;
    background: linear-gradient(135deg, #C8C8C8 0%, #D8D8D8 100%);
    border-top: 1px solid rgba(255, 107, 53, 0.3);
    border-bottom: 1px solid rgba(168, 168, 168, 0.3);
    position: relative;
    z-index: 5;
}

.portfolio-filter {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 24px;
    background-color: var(--white);
    border: 2px solid var(--light-gray);
    border-radius: var(--border-radius-large);
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
}

.filter-btn.active {
    background-color: var(--accent-orange);
    color: var(--white);
    border-color: var(--accent-orange);
}

.filter-btn:hover:not(.active) {
    border-color: var(--accent-orange);
    color: var(--accent-orange);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.portfolio-item {
    background: linear-gradient(135deg, var(--white), var(--ultra-light-gray));
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    cursor: pointer;
    border: 1px solid rgba(107, 109, 122, 0.1);
    position: relative;
    z-index: 10;
}

.portfolio-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.1), rgba(139, 95, 191, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.portfolio-item:hover::before {
    opacity: 1;
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-large);
    border-color: var(--accent-blue);
}

.portfolio-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.portfolio-info {
    padding: 20px;
}

.portfolio-category {
    display: inline-block;
    background-color: var(--accent-blue);
    color: var(--white);
    padding: 4px 12px;
    border-radius: var(--border-radius-small);
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 10px;
}

.portfolio-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.portfolio-description {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.portfolio-testimonial {
    background-color: var(--bg-light);
    padding: 10px 15px;
    border-radius: var(--border-radius-small);
    font-size: 0.85rem;
    font-style: italic;
    position: relative;
}

.portfolio-testimonial::before {
    content: '"';
    position: absolute;
    top: -5px;
    left: 5px;
    font-size: 2rem;
    color: var(--accent-orange);
    opacity: 0.5;
}

/* ===== ポートフォリオ「すべて見る」ボタン ===== */
.portfolio-more {
    text-align: center;
    margin-top: 40px;
}

.portfolio-more .btn-secondary {
    padding: 12px 30px;
    font-weight: 600;
}

/* ===== 料金プラン ===== */
.pricing {
    padding: 80px 0;
    background-color: var(--white);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.pricing-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius);
    padding: 40px;
    text-align: center;
    position: relative;
    transition: var(--transition);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.05), rgba(139, 95, 191, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.pricing-card:hover::before {
    opacity: 1;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-large);
    border-color: var(--accent-blue);
}

.pricing-card.featured {
    border: 2px solid rgba(255, 107, 53, 0.6);
    transform: scale(1.05);
    background: rgba(255, 107, 53, 0.1);
    color: #FFFFFF;
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(255, 107, 53, 0.3);
}

.pricing-card.featured .plan-name,
.pricing-card.featured .plan-features {
    color: #FFFFFF;
}

.badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: linear-gradient(135deg, #ff6b35, #ff8c42);
    color: #FFFFFF;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.3);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    z-index: 10;
}

.plan-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #FFFFFF;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    color: #FFFFFF;
    text-shadow: 0 0 15px rgba(0, 255, 255, 0.8);
}

.plan-price {
    margin-bottom: 30px;
}

.price-number {
    font-size: 3rem;
    font-weight: 700;
    color: #FFFFFF;
    text-shadow: 0 0 20px rgba(0, 255, 255, 0.8);
    display: inline-block;
}

.price-unit {
    font-size: 1.2rem;
    color: #FFFFFF;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.price-text {
    font-size: 1.5rem;
    color: #FFFFFF;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.plan-features {
    list-style: none;
    margin-bottom: 30px;
}

.plan-features li {
    padding: 10px 0;
    border-bottom: none;
    color: rgba(255, 255, 255, 0.9);
}

.plan-features li:last-child {
    border-bottom: none;
}

/* ===== 料金プランボタンの色分け ===== */
.btn-start-plan {
    background: linear-gradient(135deg, #00c851, #00ff80) !important;
    border: 2px solid rgba(0, 200, 81, 0.3) !important;
    box-shadow: 0 4px 15px rgba(0, 200, 81, 0.3) !important;
}

.btn-start-plan:hover {
    background: linear-gradient(135deg, #00ff80, #00c851) !important;
    box-shadow: 0 6px 25px rgba(0, 200, 81, 0.5) !important;
    transform: translateY(-2px) !important;
}

.btn-standard-plan {
    background: linear-gradient(135deg, #ff6b35, #ff8c42) !important;
    border: 2px solid rgba(255, 107, 53, 0.3) !important;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3) !important;
}

.btn-standard-plan:hover {
    background: linear-gradient(135deg, #ff8c42, #ff6b35) !important;
    box-shadow: 0 6px 25px rgba(255, 107, 53, 0.5) !important;
    transform: translateY(-2px) !important;
}

.btn-custom-plan {
    background: linear-gradient(135deg, #8b00ff, #a855f7) !important;
    border: 2px solid rgba(139, 0, 255, 0.3) !important;
    box-shadow: 0 4px 15px rgba(139, 0, 255, 0.3) !important;
}

.btn-custom-plan:hover {
    background: linear-gradient(135deg, #a855f7, #8b00ff) !important;
    box-shadow: 0 6px 25px rgba(139, 0, 255, 0.5) !important;
    transform: translateY(-2px) !important;
}

/* ===== ご利用の流れ ===== */
.process {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(20, 20, 30, 0.95), rgba(0, 0, 0, 0.85));
}

.process-timeline {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

/* 進行状況ライン */
.progress-line {
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    z-index: 1;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #00ffff, #ff6b35);
    border-radius: 2px;
    width: 80%;
    animation: progress-flow 3s ease-in-out infinite;
}

@keyframes progress-flow {
    0%, 100% { 
        background: linear-gradient(90deg, #00ffff, #ff6b35);
        opacity: 0.8;
    }
    50% { 
        background: linear-gradient(90deg, #ff6b35, #00ffff);
        opacity: 1;
    }
}

.process-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 2;
}

.process-step:last-child .step-arrow {
    display: none;
}

/* ステップサークル */
.step-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.step-circle::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.1), rgba(255, 107, 53, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.step-circle:hover::before {
    opacity: 1;
}

.step-circle.completed {
    border-color: #00ffff;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.4);
}

.step-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: #FFFFFF;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
    z-index: 1;
}

/* ステップ内容 */
.step-content {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 25px 20px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.step-content:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.step-content h3 {
    color: #FFFFFF;
    font-size: 1.2rem;
    margin-bottom: 15px;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

.step-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* ステップ矢印 */
.step-arrow {
    position: absolute;
    right: -30px;
    top: 35px;
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.6);
    animation: arrow-pulse 2s ease-in-out infinite;
}

@keyframes arrow-pulse {
    0%, 100% { 
        opacity: 0.6;
        transform: translateX(0);
    }
    50% { 
        opacity: 1;
        transform: translateX(5px);
    }
}

/* モバイル対応 */
@media (max-width: 768px) {
    .process-timeline {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }
    
    .progress-line {
        display: none;
    }
    
    .step-arrow {
        display: none;
    }
    
    .process-step {
        width: 100%;
        max-width: 300px;
    }
}

/* ===== FAQ ===== */
.faq {
    padding: 80px 0;
    background-color: var(--white);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-category {
    margin-bottom: 40px;
}

.category-title {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--primary-gray);
    font-weight: 600;
}

.faq-item {
    margin-bottom: 15px;
    background-color: var(--bg-light);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 20px;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1rem;
    font-weight: 500;
    color: #FFFFFF;
    transition: var(--transition);
}

.faq-question:hover {
    background-color: transparent;
}

.q-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background-color: var(--accent-orange);
    color: var(--white);
    border-radius: 50%;
    font-weight: 700;
    flex-shrink: 0;
}

.toggle-icon {
    margin-left: auto;
    font-size: 1.5rem;
    transition: var(--transition);
}

.faq-item.active .toggle-icon {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 20px;
    max-height: 500px;
}

.a-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background-color: var(--accent-blue);
    color: var(--white);
    border-radius: 50%;
    font-weight: 700;
    margin-right: 15px;
    float: left;
}

.faq-answer p {
    color: #FFFFFF;
    line-height: 1.6;
}

/* ===== お問い合わせ ===== */
.contact {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-form {
    background-color: transparent;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: none;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 20px;
    border: 2px solid var(--light-gray);
    border-radius: var(--border-radius-small);
    font-size: 1rem;
    transition: var(--transition);
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-orange);
}

.line-cta {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    text-align: center;
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.line-cta h3 {
    margin-bottom: 10px;
}

.line-add-btn {
    display: inline-block;
    margin-top: 15px;
    transition: var(--transition);
}

.line-add-btn:hover {
    transform: scale(1.05);
}

.business-hours {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.business-hours h3 {
    margin-bottom: 20px;
}

.hours-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--bg-light);
}

.hours-item:last-child {
    border-bottom: none;
}

.contact-direct {
    background: linear-gradient(135deg, var(--primary-gray), #4B5563);
    color: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact-direct::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.contact-direct:hover::before {
    left: 100%;
}

.phone-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
    margin-top: 10px;
    transition: var(--transition);
}

.phone-number:hover {
    transform: scale(1.05);
}

/* ===== フッター ===== */
.footer {
    background-color: var(--primary-gray);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 20px;
}

.footer-description {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.55);
    margin-top: -12px;
    margin-bottom: 16px;
    line-height: 1.5;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: var(--ultra-light-gray);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--white);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: transparent;
    border-radius: 50%;
    transition: var(--transition);
}

.social-links a:hover {
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    transform: scale(1.1);
}

.social-links span {
    font-size: 1.5rem;
}

/* ===== 会社情報スタイル ===== */
.company-info {
    margin-bottom: 20px;
}

.company-info .address {
    margin-bottom: 15px;
}

.company-info .address p {
    margin: 0;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
}

.company-info .contact-info p {
    margin: 5px 0;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
}

.company-info .contact-info strong {
    color: #FFFFFF;
    margin-right: 5px;
}

.company-info .contact-info a {
    color: #00ffff;
    text-decoration: underline;
}

.company-info .contact-info a:hover {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--ultra-light-gray);
}

/* ===== モーダル ===== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 2000;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: rgba(40, 40, 50, 0.95);
    backdrop-filter: blur(10px);
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    border-radius: var(--border-radius);
    overflow: hidden;
    position: relative;
    animation: modal-slide 0.3s ease-out;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

@keyframes modal-slide {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-light);
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--text-dark);
    transform: rotate(90deg);
}

.modal-body {
    padding: 40px;
    overflow-y: auto;
    max-height: calc(80vh - 80px);
}

/* ===== レスポンシブデザイン ===== */
@media (max-width: 1024px) {
    .hero {
        padding: 140px 0 80px;
        min-height: 85vh;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .hero-illustration {
        height: 300px;
        margin-top: 20px;
    }
    
    .tech-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-bottom: 20px;
    }
    
    .strengths {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .service-grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .pricing-card.featured {
        transform: scale(1);
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        height: calc(100vh - 60px);
        background-color: rgba(20, 20, 30, 0.98);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
        padding: 32px 24px;
        z-index: 999;
        overflow-y: auto;
    }
    
    .nav.active {
        display: flex;
        flex-direction: column;
    }
    
    .nav-list {
        list-style: none;
        margin: 0;
        padding: 0;
        display: flex;
        flex-direction: column;
        gap: 4px;
        width: 100%;
    }

    .nav-list li a {
        display: block;
        padding: 16px 20px;
        color: rgba(255, 255, 255, 0.9);
        font-size: 1.05rem;
        font-weight: 500;
        text-decoration: none;
        border-radius: 10px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero {
        padding: 120px 0 60px;
        min-height: 75vh;
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.4;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .btn-large {
        width: 100%;
        text-align: center;
        max-width: 300px;
    }
    
    .problem-item,
    .problem-item:nth-child(even) {
        flex-direction: column;
        text-align: center;
    }
    
    .solution-bubble {
        position: static;
        margin-top: 20px;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .process-step,
    .process-step:nth-child(even) {
        flex-direction: column;
    }
    
    .step-content {
        width: 100%;
        margin-top: 40px;
    }
    
    .process-timeline::before {
        display: none;
    }
    
    .step-number {
        position: static;
        margin-bottom: 20px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 100px 0 50px;
        min-height: 65vh;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .tech-grid {
        grid-template-columns: 1fr;
        gap: 8px;
        margin-bottom: 15px;
    }
    
    .tech-card {
        padding: 15px 20px;
        font-size: 0.9rem;
        min-height: 60px;
    }
    
    .floating-bubble {
        font-size: 0.9rem;
        padding: 8px 16px;
    }
    
    .mascot-bubble {
        width: 100px;
        height: 100px;
    }
    
    .mascot-question {
        font-size: 3rem;
    }
    
    .service-tabs {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }
    
    .tab-button {
        width: 100%;
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .service-card {
        padding: 30px 20px;
    }
    
    .pricing-card {
        padding: 30px 20px;
    }
    
    .modal-content {
        width: 95%;
        max-height: 90vh;
    }
    
    .modal-body {
        padding: 30px 20px;
    }
}

/* ===== AIチャットボット ===== */
.chat-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.chat-modal.active {
    opacity: 1;
    visibility: visible;
}

.chat-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    width: 90%;
    max-width: 400px;
    height: 600px;
    border-radius: 20px;
    border: 2px solid rgba(255, 255, 255, 0.8);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    overflow: visible;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    position: relative;
}

.chat-modal.active .chat-container {
    transform: scale(1);
}

/* Character in chatbot */
.chat-character-wrapper {
    position: absolute;
    top: -80px;
    right: 20px;
    width: 120px;
    height: 120px;
    z-index: 100;
    animation: character-float 3s ease-in-out infinite;
}

.chat-character {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s ease;
}

.chat-character:hover {
    transform: scale(1.1) rotate(5deg);
}

@keyframes character-float {
    0%, 100% {
        transform: translateY(0px) rotate(-5deg);
    }
    50% {
        transform: translateY(-10px) rotate(5deg);
    }
}

.chat-header {
    background: linear-gradient(135deg, #2C3E50, #3498DB);
    color: var(--white);
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 18px 18px 0 0;
    overflow: hidden;
}

.chat-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ai-avatar {
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.ai-avatar::before {
    content: 'AI';
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 700;
}

.chat-close {
    background: none;
    border: none;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.chat-close:hover {
    transform: rotate(90deg);
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    background: rgba(248, 249, 250, 0.95);
    backdrop-filter: blur(10px);
}

.message {
    margin-bottom: 15px;
    display: flex;
}

.ai-message {
    justify-content: flex-start;
}

.user-message {
    justify-content: flex-end;
}

.message-content {
    max-width: 80%;
    padding: 12px 16px;
    border-radius: var(--border-radius);
    font-size: 0.9rem;
    line-height: 1.4;
}

.ai-message .message-content {
    background-color: var(--white);
    color: #333333;
    border: 1px solid var(--ultra-light-gray);
}

.user-message .message-content {
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    color: #000000;
}

.chat-input-container {
    padding: 20px;
    background-color: var(--white);
    border-top: 1px solid var(--ultra-light-gray);
}

.quick-questions {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.quick-btn {
    padding: 8px 12px;
    background-color: var(--bg-light);
    border: 1px solid var(--ultra-light-gray);
    border-radius: var(--border-radius-large);
    font-size: 0.8rem;
    cursor: pointer;
    transition: var(--transition);
}

.quick-btn:hover {
    background-color: var(--primary-gray);
    color: var(--white);
    border-color: var(--primary-gray);
}

.chat-input {
    display: flex;
    gap: 10px;
}

.chat-input input {
    flex: 1;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius);
    font-size: 0.9rem;
    outline: none;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.1);
    color: var(--star-white);
    backdrop-filter: blur(10px);
}

.chat-input input:focus {
    border-color: var(--accent-blue);
}

.chat-send {
    padding: 12px 20px;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    color: var(--white);
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
}

.chat-send:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* チャットボットモバイル対応 */
@media (max-width: 768px) {
    .chat-container {
        width: 95%;
        height: 80vh;
    }
    
    .chat-character-wrapper {
        top: -60px;
        right: 10px;
        width: 80px;
        height: 80px;
    }
    
    .quick-questions {
        flex-direction: column;
    }
    
    .quick-btn {
        width: 100%;
        text-align: center;
    }
}

/* ===== 宇宙空間アニメーション効果 ===== */

/* 流星アニメーション - 明るい背景用に調整 */
.shooting-star {
    position: fixed;
    top: 0;
    left: 100%;
    width: 3px;
    height: 3px;
    background: linear-gradient(-45deg, transparent, #666666, transparent);
    border-radius: 50%;
    box-shadow: 
        0 0 8px #666666,
        -200px 0 15px var(--secondary-color),
        -400px 0 25px rgba(255, 107, 53, 0.6),
        -600px 0 30px rgba(255, 107, 53, 0.3);
    animation: shooting 8s linear infinite;
    pointer-events: none;
    z-index: 1;
}

.shooting-star:nth-child(2) {
    animation-delay: 2s;
    top: 20%;
    animation-duration: 6s;
    background: linear-gradient(-45deg, transparent, var(--secondary-color), transparent);
    box-shadow: 
        0 0 10px var(--secondary-color),
        -200px 0 20px var(--secondary-color),
        -400px 0 30px rgba(255, 107, 53, 0.6),
        -600px 0 40px rgba(255, 107, 53, 0.3);
}

.shooting-star:nth-child(3) {
    animation-delay: 4s;
    top: 40%;
    animation-duration: 10s;
    background: linear-gradient(-45deg, transparent, #888888, transparent);
    box-shadow: 
        0 0 8px #888888,
        -200px 0 15px #888888,
        -400px 0 25px rgba(136, 136, 136, 0.5),
        -600px 0 35px rgba(136, 136, 136, 0.3);
}

.shooting-star:nth-child(4) {
    animation-delay: 1s;
    top: 60%;
    animation-duration: 7s;
    background: linear-gradient(-45deg, transparent, var(--secondary-color), transparent);
    box-shadow: 
        0 0 12px var(--secondary-color),
        -200px 0 25px var(--secondary-color),
        -400px 0 35px rgba(255, 107, 53, 0.7),
        -600px 0 45px rgba(255, 107, 53, 0.4);
}

.shooting-star:nth-child(5) {
    animation-delay: 6s;
    top: 80%;
    animation-duration: 9s;
    background: linear-gradient(-45deg, transparent, #777777, transparent);
    box-shadow: 
        0 0 10px #777777,
        -200px 0 18px #777777,
        -400px 0 28px rgba(119, 119, 119, 0.6),
        -600px 0 38px rgba(119, 119, 119, 0.3);
}

@keyframes shooting {
    0% {
        transform: translateX(0) translateY(0);
        opacity: 0;
    }
    5% {
        opacity: 1;
    }
    95% {
        opacity: 1;
    }
    100% {
        transform: translateX(-100vw) translateY(100vh);
        opacity: 0;
    }
}

/* 浮遊するネオンパーティクル */
.space-particle {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
    animation: enhanced-float 8s ease-in-out infinite, spin 12s linear infinite, particle-glow 3s ease-in-out infinite;
}

.space-particle:nth-child(1) {
    width: 5px;
    height: 5px;
    background: var(--secondary-color);
    box-shadow: 0 0 15px rgba(255, 107, 53, 0.8), 0 0 30px rgba(255, 107, 53, 0.4);
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.space-particle:nth-child(2) {
    width: 7px;
    height: 7px;
    background: var(--secondary-color);
    box-shadow: 0 0 20px rgba(255, 107, 53, 0.8), 0 0 35px rgba(255, 107, 53, 0.4);
    top: 60%;
    left: 80%;
    animation-delay: 2s;
}

.space-particle:nth-child(3) {
    width: 4px;
    height: 4px;
    background: #888888;
    box-shadow: 0 0 12px rgba(136, 136, 136, 0.8), 0 0 25px rgba(136, 136, 136, 0.4);
    top: 80%;
    left: 20%;
    animation-delay: 4s;
}

.space-particle:nth-child(4) {
    width: 8px;
    height: 8px;
    background: var(--secondary-color);
    box-shadow: 0 0 25px rgba(255, 107, 53, 0.9), 0 0 40px rgba(255, 107, 53, 0.5);
    top: 30%;
    left: 60%;
    animation-delay: 1s;
}

.space-particle:nth-child(5) {
    width: 3px;
    height: 3px;
    background: #666666;
    box-shadow: 0 0 10px rgba(102, 102, 102, 0.8), 0 0 20px rgba(102, 102, 102, 0.4);
    top: 50%;
    left: 90%;
    animation-delay: 3s;
}

.space-particle:nth-child(6) {
    width: 6px;
    height: 6px;
    background: var(--secondary-color);
    box-shadow: 0 0 18px rgba(255, 107, 53, 0.8), 0 0 30px rgba(255, 107, 53, 0.4);
    top: 70%;
    left: 40%;
    animation-delay: 5s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) translateX(0px) rotate(0deg);
    }
    33% {
        transform: translateY(-20px) translateX(10px) rotate(120deg);
    }
    66% {
        transform: translateY(10px) translateX(-5px) rotate(240deg);
    }
}

/* ネオングロー効果のベースクラス */
.neon-glow {
    text-shadow: 
        0 0 5px currentColor,
        0 0 10px currentColor,
        0 0 15px currentColor,
        0 0 20px currentColor;
}

.neon-border {
    border: 1px solid currentColor;
    box-shadow: 
        0 0 5px currentColor,
        inset 0 0 5px rgba(255, 255, 255, 0.1);
}

/* パルス効果 */
@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 
            0 0 5px currentColor,
            0 0 10px currentColor,
            0 0 15px currentColor;
    }
    50% {
        box-shadow: 
            0 0 10px currentColor,
            0 0 20px currentColor,
            0 0 30px currentColor,
            0 0 40px currentColor;
    }
}

/* ===== 新しいアニメーション要素 ===== */
.floating-bubble {
    position: fixed;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(255, 107, 53, 0.3));
    border: none;
    pointer-events: none;
    z-index: 1;
    animation: bubble-float 8s ease-in-out infinite, bubble-rotate 15s linear infinite;
}

.floating-bubble:nth-child(7) {
    width: 60px;
    height: 60px;
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.floating-bubble:nth-child(8) {
    width: 40px;
    height: 40px;
    top: 70%;
    left: 85%;
    animation-delay: 2s;
}

.floating-bubble:nth-child(9) {
    width: 80px;
    height: 80px;
    top: 40%;
    left: 70%;
    animation-delay: 4s;
}

.floating-bubble:nth-child(10) {
    width: 50px;
    height: 50px;
    top: 80%;
    left: 30%;
    animation-delay: 6s;
}

@keyframes bubble-float {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    33% {
        transform: translateY(-30px) scale(1.1);
    }
    66% {
        transform: translateY(20px) scale(0.9);
    }
}

@keyframes bubble-rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 浮遊するキューブ */
.floating-cube {
    position: fixed;
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, #666666, #888888);
    border: none;
    pointer-events: none;
    z-index: 1;
    animation: cube-float 12s ease-in-out infinite, cube-rotate 8s linear infinite;
}

.floating-cube:nth-child(11) {
    top: 15%;
    left: 10%;
    animation-delay: 0s;
}

.floating-cube:nth-child(12) {
    top: 60%;
    left: 80%;
    animation-delay: 4s;
}

.floating-cube:nth-child(13) {
    top: 85%;
    left: 50%;
    animation-delay: 8s;
}

@keyframes cube-float {
    0%, 100% {
        transform: translateY(0) translateX(0) rotateX(0deg) rotateY(0deg);
    }
    25% {
        transform: translateY(-40px) translateX(20px) rotateX(180deg) rotateY(90deg);
    }
    50% {
        transform: translateY(20px) translateX(-20px) rotateX(360deg) rotateY(180deg);
    }
    75% {
        transform: translateY(-20px) translateX(10px) rotateX(540deg) rotateY(270deg);
    }
}

@keyframes cube-rotate {
    0% { transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg); }
    100% { transform: rotateX(360deg) rotateY(360deg) rotateZ(360deg); }
}

/* パルスサークル */
.pulse-circle {
    position: fixed;
    border-radius: 50%;
    background: transparent;
    border: none;
    pointer-events: none;
    z-index: 1;
    animation: pulse-expand 4s ease-out infinite;
}

.pulse-circle:nth-child(14) {
    width: 100px;
    height: 100px;
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.pulse-circle:nth-child(15) {
    width: 150px;
    height: 150px;
    top: 50%;
    left: 60%;
    animation-delay: 1.5s;
}

.pulse-circle:nth-child(16) {
    width: 80px;
    height: 80px;
    top: 80%;
    left: 10%;
    animation-delay: 3s;
}

@keyframes pulse-expand {
    0% {
        transform: scale(0);
        opacity: 1;
    }
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

/* 波アニメーション */
.wave-animation {
    position: fixed;
    width: 200%;
    height: 100px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 107, 53, 0.1), 
        transparent, 
        rgba(136, 136, 136, 0.1), 
        transparent);
    pointer-events: none;
    z-index: 0;
    animation: wave-flow 10s linear infinite;
}

.wave-animation:nth-child(17) {
    top: 10%;
    left: -100%;
    animation-delay: 0s;
}

.wave-animation:nth-child(18) {
    top: 60%;
    left: -100%;
    animation-delay: 5s;
}

@keyframes wave-flow {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(100%);
    }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 新しいアニメーション */
@keyframes service-card-pulse {
    0%, 100% {
        box-shadow: 
            0 20px 60px rgba(0, 0, 0, 0.4),
            0 0 30px rgba(255, 107, 53, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.2);
        filter: brightness(1);
    }
    50% {
        box-shadow: 
            0 25px 70px rgba(0, 0, 0, 0.5),
            0 0 45px rgba(0, 255, 255, 0.4),
            inset 0 1px 0 rgba(255, 255, 255, 0.3);
        filter: brightness(1.05);
    }
}

/* 個別のサービスカードスタイル - 軽量化 */
.service-card:nth-child(1):hover {
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.3),
        0 0 25px rgba(0, 102, 255, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.service-card:nth-child(2):hover {
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.3),
        0 0 25px rgba(255, 107, 53, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.service-card:nth-child(3):hover {
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.3),
        0 0 25px rgba(0, 200, 81, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.service-card:nth-child(4):hover {
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.3),
        0 0 25px rgba(139, 0, 255, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

@keyframes web-card-glow {
    0%, 100% {
        box-shadow: 
            0 20px 60px rgba(0, 0, 0, 0.4),
            0 0 35px rgba(0, 102, 255, 0.4),
            0 0 60px rgba(0, 204, 255, 0.2),
            inset 0 1px 0 rgba(255, 255, 255, 0.2);
    }
    50% {
        box-shadow: 
            0 25px 70px rgba(0, 0, 0, 0.5),
            0 0 50px rgba(0, 102, 255, 0.6),
            0 0 80px rgba(0, 204, 255, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }
}

@keyframes graphic-card-glow {
    0%, 100% {
        box-shadow: 
            0 20px 60px rgba(0, 0, 0, 0.4),
            0 0 35px rgba(255, 107, 53, 0.4),
            0 0 60px rgba(255, 140, 66, 0.2),
            inset 0 1px 0 rgba(255, 255, 255, 0.2);
    }
    50% {
        box-shadow: 
            0 25px 70px rgba(0, 0, 0, 0.5),
            0 0 50px rgba(255, 107, 53, 0.6),
            0 0 80px rgba(255, 140, 66, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }
}

@keyframes line-card-glow {
    0%, 100% {
        box-shadow: 
            0 20px 60px rgba(0, 0, 0, 0.4),
            0 0 35px rgba(0, 200, 81, 0.4),
            0 0 60px rgba(0, 255, 128, 0.2),
            inset 0 1px 0 rgba(255, 255, 255, 0.2);
    }
    50% {
        box-shadow: 
            0 25px 70px rgba(0, 0, 0, 0.5),
            0 0 50px rgba(0, 200, 81, 0.6),
            0 0 80px rgba(0, 255, 128, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }
}

@keyframes ai-card-glow {
    0%, 100% {
        box-shadow: 
            0 20px 60px rgba(0, 0, 0, 0.4),
            0 0 35px rgba(139, 0, 255, 0.4),
            0 0 60px rgba(255, 0, 128, 0.2),
            inset 0 1px 0 rgba(255, 255, 255, 0.2);
    }
    50% {
        box-shadow: 
            0 25px 70px rgba(0, 0, 0, 0.5),
            0 0 50px rgba(139, 0, 255, 0.6),
            0 0 80px rgba(255, 0, 128, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }
}

@keyframes tech-float {
    0%, 100% {
        transform: translateY(0) rotateZ(0deg);
    }
    33% {
        transform: translateY(-8px) rotateZ(1deg);
    }
    66% {
        transform: translateY(5px) rotateZ(-1deg);
    }
}

@keyframes tech-glow {
    0%, 100% {
        box-shadow: 
            0 4px 20px rgba(0, 0, 0, 0.08),
            0 0 15px rgba(255, 107, 53, 0.1);
    }
    50% {
        box-shadow: 
            0 6px 25px rgba(0, 0, 0, 0.12),
            0 0 25px rgba(255, 107, 53, 0.2);
    }
}

@keyframes border-glow {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes tech-hover-dance {
    0%, 100% {
        transform: translateY(-12px) scale(1.05) rotateZ(2deg);
    }
    25% {
        transform: translateY(-15px) scale(1.08) rotateZ(-1deg);
    }
    50% {
        transform: translateY(-10px) scale(1.06) rotateZ(3deg);
    }
    75% {
        transform: translateY(-14px) scale(1.07) rotateZ(0deg);
    }
}

/* パーティクルのスピンアニメーション強化 */
@keyframes enhanced-float {
    0%, 100% {
        transform: translateY(0) translateX(0) rotate(0deg) scale(1);
    }
    25% {
        transform: translateY(-25px) translateX(15px) rotate(90deg) scale(1.1);
    }
    50% {
        transform: translateY(10px) translateX(-10px) rotate(180deg) scale(0.9);
    }
    75% {
        transform: translateY(-15px) translateX(8px) rotate(270deg) scale(1.05);
    }
}

/* バウンスアニメーション */
@keyframes bounce-in {
    0% {
        transform: scale(0) rotate(180deg);
        opacity: 0;
    }
    50% {
        transform: scale(1.2) rotate(0deg);
        opacity: 0.8;
    }
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

@keyframes wiggle {
    0%, 100% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(-5deg);
    }
    75% {
        transform: rotate(5deg);
    }
}

/* ボタンアニメーション */
@keyframes button-pulse {
    0%, 100% {
        transform: translateY(-4px) scale(1.05);
    }
    50% {
        transform: translateY(-6px) scale(1.08);
    }
}

@keyframes button-wiggle {
    0%, 100% {
        transform: translateY(-3px) scale(1.03) rotateZ(1deg);
    }
    25% {
        transform: translateY(-4px) scale(1.04) rotateZ(-1deg);
    }
    50% {
        transform: translateY(-2px) scale(1.02) rotateZ(2deg);
    }
    75% {
        transform: translateY(-5px) scale(1.05) rotateZ(-0.5deg);
    }
}

@keyframes button-bounce {
    0%, 100% {
        transform: translateY(-3px) scale(1.04);
    }
    50% {
        transform: translateY(-8px) scale(1.06);
    }
}

@keyframes particle-glow {
    0%, 100% {
        opacity: 0.8;
        filter: brightness(1);
    }
    50% {
        opacity: 1;
        filter: brightness(1.5) blur(1px);
    }
}

/* ===== 未来的幾何学エレメント ===== */
/* 六角形 */
.geometric-hexagon {
    position: fixed;
    width: 60px;
    height: 60px;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.8);
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
    pointer-events: none;
    z-index: 1;
    animation: hexagon-rotate 20s linear infinite, geometric-float 8s ease-in-out infinite;
}

.geometric-hexagon:nth-child(1) {
    top: 15%;
    left: 85%;
    animation-delay: 0s;
    border-color: rgba(255, 255, 255, 0.8);
}

.geometric-hexagon:nth-child(2) {
    top: 70%;
    left: 10%;
    animation-delay: 7s;
    width: 40px;
    height: 40px;
    border-color: rgba(255, 255, 255, 0.8);
}

.geometric-hexagon:nth-child(3) {
    top: 40%;
    left: 5%;
    animation-delay: 14s;
    width: 80px;
    height: 80px;
    border-color: rgba(255, 255, 255, 0.8);
}

/* 三角形 */
.geometric-triangle {
    position: fixed;
    width: 0;
    height: 0;
    border-left: 25px solid transparent;
    border-right: 25px solid transparent;
    border-bottom: 45px solid rgba(255, 255, 255, 0.8);
    pointer-events: none;
    z-index: 1;
    animation: triangle-spin 15s linear infinite, geometric-float 10s ease-in-out infinite;
}

.geometric-triangle:nth-child(1) {
    top: 25%;
    left: 15%;
    animation-delay: 0s;
    transform: rotate(0deg);
}

.geometric-triangle:nth-child(2) {
    top: 80%;
    left: 75%;
    animation-delay: 7.5s;
    transform: rotate(180deg);
    border-bottom-color: rgba(255, 255, 255, 0.8);
}

/* ダイヤモンド */
.geometric-diamond {
    position: fixed;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.8);
    transform: rotate(45deg);
    pointer-events: none;
    z-index: 1;
    animation: diamond-pulse 12s ease-in-out infinite, geometric-float 9s ease-in-out infinite;
}

.geometric-diamond:nth-child(1) {
    top: 60%;
    left: 90%;
    animation-delay: 0s;
}

.geometric-diamond:nth-child(2) {
    top: 10%;
    left: 30%;
    animation-delay: 6s;
    width: 30px;
    height: 30px;
    border-color: rgba(255, 255, 255, 0.8);
}

/* ホログラムリング */
.hologram-ring {
    position: fixed;
    border-radius: 50%;
    background: transparent;
    border: 3px solid rgba(255, 255, 255, 0.8);
    pointer-events: none;
    z-index: 1;
    animation: hologram-expand 6s ease-out infinite, hologram-glow 3s ease-in-out infinite;
}

.hologram-ring:nth-child(1) {
    width: 120px;
    height: 120px;
    top: 30%;
    left: 50%;
    animation-delay: 0s;
}

.hologram-ring:nth-child(2) {
    width: 80px;
    height: 80px;
    top: 75%;
    left: 20%;
    animation-delay: 2s;
    border-color: rgba(255, 255, 255, 0.8);
}

.hologram-ring:nth-child(3) {
    width: 200px;
    height: 200px;
    top: 10%;
    left: 60%;
    animation-delay: 4s;
    border-color: rgba(255, 255, 255, 0.8);
}

/* データストリーム */
.data-stream {
    position: fixed;
    width: 2px;
    height: 100vh;
    background: linear-gradient(180deg, 
        transparent 0%, 
        rgba(100, 180, 255, 0.1) 10%, 
        rgba(100, 180, 255, 0.3) 50%, 
        rgba(100, 180, 255, 0.1) 90%, 
        transparent 100%);
    pointer-events: none;
    z-index: 0;
    animation: data-flow 8s linear infinite;
}

.data-stream:nth-child(1) {
    left: 25%;
    animation-delay: 0s;
}

.data-stream:nth-child(2) {
    left: 75%;
    animation-delay: 4s;
    background: linear-gradient(180deg, 
        transparent 0%, 
        rgba(150, 100, 255, 0.1) 10%, 
        rgba(150, 100, 255, 0.3) 50%, 
        rgba(150, 100, 255, 0.1) 90%, 
        transparent 100%);
}

/* エネルギーフィールド */
.energy-field {
    position: fixed;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, 
        rgba(255, 107, 53, 0.05) 0%, 
        rgba(255, 107, 53, 0.1) 30%, 
        transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    animation: energy-pulse 10s ease-in-out infinite;
}

.energy-field:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.energy-field:nth-child(2) {
    top: 60%;
    left: 60%;
    animation-delay: 5s;
    background: radial-gradient(circle, 
        rgba(136, 136, 136, 0.05) 0%, 
        rgba(136, 136, 136, 0.1) 30%, 
        transparent 70%);
}

/* ===== 幾何学エレメントアニメーション ===== */
@keyframes hexagon-rotate {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.1); }
    100% { transform: rotate(360deg) scale(1); }
}

@keyframes geometric-float {
    0%, 100% {
        transform: translateY(0) translateX(0);
    }
    25% {
        transform: translateY(-30px) translateX(15px);
    }
    50% {
        transform: translateY(20px) translateX(-10px);
    }
    75% {
        transform: translateY(-15px) translateX(8px);
    }
}

@keyframes triangle-spin {
    0% { 
        transform: rotate(0deg) scale(1);
        opacity: 0.3;
    }
    50% { 
        transform: rotate(180deg) scale(1.2);
        opacity: 0.6;
    }
    100% { 
        transform: rotate(360deg) scale(1);
        opacity: 0.3;
    }
}

@keyframes diamond-pulse {
    0%, 100% {
        transform: rotate(45deg) scale(1);
        box-shadow: 0 0 0 rgba(100, 180, 255, 0.4);
    }
    50% {
        transform: rotate(45deg) scale(1.3);
        box-shadow: 0 0 20px rgba(100, 180, 255, 0.6);
    }
}

@keyframes hologram-expand {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

@keyframes hologram-glow {
    0%, 100% {
        filter: brightness(1) blur(0px);
    }
    50% {
        filter: brightness(1.5) blur(2px);
    }
}

@keyframes data-flow {
    0% {
        transform: translateY(-100vh);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(100vh);
        opacity: 0;
    }
}

@keyframes energy-pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.5);
        opacity: 0.6;
    }
}

/* ===== 派手なファーストビューエフェクト ===== */
/* サイバーグリッド */
.cyber-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 255, 255, 0.3) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 255, 0.3) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: cyber-scroll 20s linear infinite;
    z-index: 1;
}

.cyber-grid-2 {
    background-image: 
        linear-gradient(rgba(255, 0, 255, 0.2) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 0, 255, 0.2) 1px, transparent 1px);
    background-size: 75px 75px;
    animation: cyber-scroll-reverse 25s linear infinite;
}

/* ネオンオーブ */
.neon-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(2px);
    animation: orb-float 12s ease-in-out infinite;
    z-index: 2;
}

.neon-orb-1 {
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(0, 255, 255, 0.8) 0%, transparent 70%);
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.neon-orb-2 {
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, rgba(255, 0, 150, 0.8) 0%, transparent 70%);
    top: 60%;
    right: 15%;
    animation-delay: 4s;
}

.neon-orb-3 {
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(150, 255, 0, 0.8) 0%, transparent 70%);
    top: 40%;
    right: 40%;
    animation-delay: 8s;
}

/* レーザービーム */
.laser-beam {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(0, 255, 255, 1) 50%, 
        transparent 100%);
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.8);
    animation: laser-sweep 6s ease-in-out infinite;
    z-index: 3;
}

.laser-beam-1 {
    width: 300px;
    top: 25%;
    left: -300px;
    animation-delay: 0s;
}

.laser-beam-2 {
    width: 400px;
    top: 55%;
    left: -400px;
    animation-delay: 2s;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 0, 150, 1) 50%, 
        transparent 100%);
    box-shadow: 0 0 10px rgba(255, 0, 150, 0.8);
}

.laser-beam-3 {
    width: 350px;
    top: 75%;
    left: -350px;
    animation-delay: 4s;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(150, 255, 0, 1) 50%, 
        transparent 100%);
    box-shadow: 0 0 10px rgba(150, 255, 0, 0.8);
}

/* マトリックス雨 */
.matrix-rain {
    position: absolute;
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, 
        transparent 0%, 
        rgba(0, 255, 0, 0.8) 50%, 
        transparent 100%);
    animation: matrix-fall 4s linear infinite;
    z-index: 1;
}

.matrix-rain {
    left: 30%;
    animation-delay: 0s;
}

.matrix-rain-2 {
    left: 60%;
    animation-delay: 1.5s;
}

.matrix-rain-3 {
    left: 80%;
    animation-delay: 3s;
}

/* エネルギーバースト */
.energy-burst {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200px;
    height: 200px;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, 
        rgba(255, 255, 255, 0.8) 0%, 
        rgba(0, 255, 255, 0.4) 30%, 
        transparent 70%);
    border-radius: 50%;
    animation: energy-explosion 10s ease-in-out infinite;
    z-index: 1;
}

/* ホログラフィックテキスト */
.holographic-text {
    position: absolute;
    font-size: 4rem;
    font-weight: 900;
    color: transparent;
    background: linear-gradient(45deg, 
        rgba(0, 255, 255, 0.8) 0%, 
        rgba(255, 0, 255, 0.8) 50%, 
        rgba(255, 255, 0, 0.8) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    text-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
    animation: hologram-flicker 3s ease-in-out infinite;
    z-index: 2;
    pointer-events: none;
}

.holographic-text {
    top: 15%;
    right: 10%;
    animation-delay: 0s;
}

.holographic-text-2 {
    bottom: 20%;
    left: 15%;
    animation-delay: 1.5s;
    font-size: 3rem;
}

/* ===== 派手なアニメーションキーフレーム ===== */
@keyframes hero-glow {
    0%, 100% {
        box-shadow: 
            0 0 50px rgba(0, 255, 255, 0.3),
            0 0 100px rgba(255, 0, 255, 0.2),
            inset 0 0 50px rgba(0, 0, 0, 0.5);
    }
    50% {
        box-shadow: 
            0 0 80px rgba(0, 255, 255, 0.5),
            0 0 150px rgba(255, 0, 255, 0.4),
            inset 0 0 80px rgba(0, 0, 0, 0.3);
    }
}

@keyframes cyber-scroll {
    0% { transform: translateX(0) translateY(0); }
    100% { transform: translateX(-50px) translateY(-50px); }
}

@keyframes cyber-scroll-reverse {
    0% { transform: translateX(0) translateY(0); }
    100% { transform: translateX(75px) translateY(75px); }
}

@keyframes orb-float {
    0%, 100% {
        transform: translateY(0) scale(1);
        opacity: 0.8;
    }
    33% {
        transform: translateY(-30px) scale(1.1);
        opacity: 1;
    }
    66% {
        transform: translateY(20px) scale(0.9);
        opacity: 0.6;
    }
}

@keyframes laser-sweep {
    0% {
        transform: translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateX(calc(100vw + 400px));
        opacity: 0;
    }
}

@keyframes matrix-fall {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(200%);
        opacity: 0;
    }
}

@keyframes energy-explosion {
    0%, 100% {
        transform: translate(-50%, -50%) scale(0.5);
        opacity: 0;
    }
    50% {
        transform: translate(-50%, -50%) scale(2);
        opacity: 0.8;
    }
}

@keyframes hologram-flicker {
    0%, 100% {
        opacity: 0.8;
        filter: hue-rotate(0deg) brightness(1);
    }
    25% {
        opacity: 1;
        filter: hue-rotate(90deg) brightness(1.2);
    }
    50% {
        opacity: 0.6;
        filter: hue-rotate(180deg) brightness(0.8);
    }
    75% {
        opacity: 1;
        filter: hue-rotate(270deg) brightness(1.1);
    }
}

@keyframes grid-move {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-50px, -50px); }
}

/* ===== グローバルサイバーエフェクト ===== */
.global-cyber-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 0, 255, 0.03) 1px, transparent 1px);
    background-size: 150px 150px;
    animation: global-grid-drift 60s linear infinite;
    pointer-events: none;
    z-index: -1;
    z-index: -1;
    pointer-events: none;
}

.global-neon-line {
    position: fixed;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(0, 255, 255, 0.6) 50%, 
        transparent 100%);
    box-shadow: 0 0 5px rgba(0, 255, 255, 0.5);
    z-index: -1;
    pointer-events: none;
}

.global-neon-line-1 {
    width: 100%;
    top: 20%;
    animation: neon-line-horizontal 20s linear infinite;
}

.global-neon-line-2 {
    width: 100%;
    top: 50%;
    animation: neon-line-horizontal 25s linear infinite reverse;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 0, 255, 0.6) 50%, 
        transparent 100%);
    box-shadow: 0 0 5px rgba(255, 0, 255, 0.5);
}

.global-neon-line-3 {
    width: 100%;
    top: 80%;
    animation: neon-line-horizontal 30s linear infinite;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(150, 255, 0, 0.6) 50%, 
        transparent 100%);
    box-shadow: 0 0 5px rgba(150, 255, 0, 0.5);
}

.global-data-particle {
    position: fixed;
    width: 2px;
    height: 20px;
    background: rgba(0, 255, 255, 0.8);
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.6);
    animation: data-fall 15s linear infinite;
    z-index: -1;
    pointer-events: none;
}

.global-data-particle:nth-child(1) { left: 10%; animation-delay: 0s; }
.global-data-particle:nth-child(2) { left: 30%; animation-delay: 3s; height: 30px; }
.global-data-particle:nth-child(3) { left: 60%; animation-delay: 6s; background: rgba(255, 0, 255, 0.8); box-shadow: 0 0 10px rgba(255, 0, 255, 0.6); }
.global-data-particle:nth-child(4) { left: 85%; animation-delay: 9s; height: 15px; }

.global-scan-line {
    display: none;
}

/* グローバルアニメーション */
@keyframes global-grid-drift {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-150px, -150px); }
}

@keyframes neon-line-horizontal {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

@keyframes data-fall {
    0% {
        transform: translateY(-100vh) scale(0);
        opacity: 0;
    }
    10% {
        transform: translateY(-80vh) scale(1);
        opacity: 1;
    }
    90% {
        transform: translateY(80vh) scale(1);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }
}

@keyframes scan-vertical {
    0% { transform: translateY(0); }
    100% { transform: translateY(100vh); }
}

/* キャラクターショーケース レスポンシブ対応 — サイズはJSが動的制御 */
@media (max-width: 768px) {
    .character-grid-container {
        max-width: 100%;
        overflow: hidden;
    }
    
    .character-showcase {
        margin-top: 40px;
        padding-top: 30px;
    }
    
    .company-logo-badge {
        width: 42px;
        height: 42px;
        top: -12px;
        right: -8px;
    }
    
    .character-title {
        font-size: 1.4rem;
    }
    
    .character-card {
        padding: 12px 8px;
    }
    
    .character-image {
        width: 56px;
        height: 56px;
        margin-bottom: 6px;
    }
    
    .character-name {
        font-size: 0.75rem;
    }
    
    .character-role {
        font-size: 0.62rem;
    }
    
    .character-service {
        font-size: 0.58rem;
        padding: 3px 4px;
    }
}

@media (max-width: 480px) {
    .character-grid-container {
        max-width: 100%;
        overflow: hidden;
    }
    
    .character-title {
        font-size: 1.2rem;
    }
    
    .character-subtitle {
        font-size: 0.9rem;
    }
    
    .character-card {
        padding: 10px 6px;
    }
    
    .character-image {
        width: 48px;
        height: 48px;
    }
    
    .company-logo-badge {
        width: 36px;
        height: 36px;
        top: -8px;
        right: -6px;
    }
    
    .character-name {
        font-size: 0.75rem;
    }
    
    .character-role {
        font-size: 0.6rem;
    }
    
    .character-service {
        font-size: 0.55rem;
        padding: 3px 2px;
    }
    
    .placeholder-icon {
        font-size: 1.5rem;
    }
    
    .character-placeholder span {
        font-size: 0.7rem;
    }
}