/*
Theme Name: My Custom Theme
Author: bultech
Version: 1.0
*/


@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Noto+Sans+JP:wght@300;400;500;600;700&display=swap');

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

        body {
            font-family: 'Inter', 'Noto Sans JP', sans-serif;
            line-height: 1.6;
            color: #333;
            font-weight: 400;
}
html, body {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden !important;     /* ← ページ全体の横スクロールを禁止 */
  overscroll-behavior-x: none;       /* ← iOS Safari の慣性横スクロール防止 */
  touch-action: pan-y !important;    /* ← 縦スクロールのみ許可 */
}


        /* ヘッダー */
        header {
            position: fixed;
            top: 0;
            width: 100%;
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(10px);
            z-index: 1000;
            padding: 1rem 0;
            transition: all 0.3s ease;
        }

        nav {
            display: flex;
            justify-content: space-between;
            align-items: center;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 1rem;
        }

        .logo {
            font-size: 1.5rem;
            font-weight: 600;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
         width: 200px;
        }

        .nav-links {
            display: flex;
            list-style: none;
            gap: 2rem;
        }

        .nav-links a {
            text-decoration: none;
            color: #333;
            font-weight: 500;
            transition: color 0.3s ease;
        }

        .nav-links a:hover {
            color: #667eea;
        }

        /* FVセクション */
        .hero {
            height: 100vh;
            background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
            display: flex;
            align-items: center;
            position: relative;
            overflow: hidden;
        }

        .hero-content {
            text-align: left;
            color: white;
            z-index: 10;
            position: relative;
            max-width: 900px;
            margin-left: 5%;
            padding: 0 2rem;
        }

        .hero-tagline {
            font-size: 1rem;
            font-weight: 300;
            letter-spacing: 0.2em;
            text-transform: uppercase;
            margin-bottom: 1.5rem;
            color: rgba(120, 219, 255, 0.8);
            animation: fadeIn 1s ease 0.2s both;
        }

        .hero h1 {
            font-size: 5rem;
            font-weight: 700;
            line-height: 1.0;
            margin-bottom: 2rem;
            animation: fadeIn 1s ease 0.4s both;
        }

        .hero h1 .highlight {
            background: linear-gradient(135deg, #78dbff 0%, #7877c6 50%, #ff77c6 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .hero h1 .regular {
            color: white;
            font-weight: 300;
        }

        .hero p {
            font-size: 1.2rem;
            margin-bottom: 3rem;
            color: rgba(255, 255, 255, 0.7);
            max-width: 600px;
            animation: fadeIn 1s ease 0.6s both;
        }

        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }

        /* 軽量化された背景エフェクト */
        .hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: 
                radial-gradient(circle at 20% 20%, rgba(120, 219, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(255, 119, 198, 0.1) 0%, transparent 50%);
            animation: float 10s ease-in-out infinite;
        }

        @keyframes float {
            0%, 100% { transform: scale(1) rotate(0deg); }
            50% { transform: scale(1.1) rotate(180deg); }
        }

        /* シンプルな幾何学要素 */
        .geometric {
            position: absolute;
            border-radius: 50%;
            border: 1px solid rgba(120, 219, 255, 0.3);
        }

        .geo-1 {
            width: 100px;
            height: 100px;
            top: 20%;
            right: 20%;
            animation: spin 20s linear infinite;
        }

        .geo-2 {
            width: 150px;
            height: 150px;
            bottom: 20%;
            left: 10%;
            animation: spin 15s linear infinite reverse;
        }

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

        /* スクロールインジケーター */
        .scroll-indicator {
            position: absolute;
            bottom: 2rem;
            left: 50%;
            transform: translateX(-50%);
            color: rgba(255, 255, 255, 0.5);
            font-size: 0.8rem;
            animation: bounce 2s infinite;
        }

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

        /* セクション共通 */
        section {
            padding: 5rem 0;
        }

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

        .section-title {
            text-align: center;
            font-size: 2.5rem;
            font-weight: 600;
            margin-bottom: 1rem;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .section-subtitle {
            text-align: center;
            color: #666;
            margin-bottom: 3rem;
            font-size: 1.1rem;
        }

        /* メッセージセクション - 軽量化 */
        .message {
            background: #0a0a0a;
            color: white;
            position: relative;
        }

        .message-content {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 2rem;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4rem;
            align-items: center;
        }

        .message h3 {
            font-size: 2.5rem;
            font-weight: 600;
            margin-bottom: 2rem;
            line-height: 1.2;
        }

        .message h3 .highlight {
            background: linear-gradient(135deg, #78dbff 0%, #ff77c6 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .message p {
            margin-bottom: 1.5rem;
            color: rgba(255, 255, 255, 0.8);
            line-height: 1.7;
        }

        /* シンプルなビジュアル - モダンデザインに変更 */
        .message-visual {
            position: relative;
            height: 500px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: radial-gradient(circle at center, rgba(102, 126, 234, 0.1), rgba(255, 119, 198, 0.05));
            border-radius: 20px;
            overflow: hidden;
        }

        .tech-grid {
            position: relative;
            width: 100%;
            height: 100%;
        }

        .tech-item {
            position: absolute;
            width: 80px;
            height: 80px;
            background: rgba(255, 255, 255, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            backdrop-filter: blur(10px);
            cursor: pointer;
            transition: all 0.3s ease;
            user-select: none;
        }

        .tech-item:hover {
            transform: scale(1.1);
            background: rgba(255, 255, 255, 0.2);
            border-color: rgba(255, 255, 255, 0.4);
        }

        .tech-item.clicked {
            animation: click-bounce 0.6s ease;
        }

        @keyframes click-bounce {
            0% { transform: scale(1); }
            50% { transform: scale(1.2); }
            100% { transform: scale(1); }
        }

        /* AI・機械学習アイコン - 3つの状態 */
        .tech-item.ai {
            top: 20%;
            left: 15%;
            animation: float-ai 6s ease-in-out infinite;
        }

        /* 状態1: 基本のパルス球 */
        .tech-item.ai[data-state="0"]::before {
            content: '';
            width: 30px;
            height: 30px;
            background: linear-gradient(45deg, #78dbff, #7877c6);
            border-radius: 50%;
            box-shadow: 0 0 20px rgba(120, 219, 255, 0.4);
        }

        .tech-item.ai[data-state="0"]::after {
            content: '';
            position: absolute;
            width: 40px;
            height: 40px;
            border: 2px solid rgba(120, 219, 255, 0.4);
            border-radius: 50%;
            animation: pulse-ring 2s ease-in-out infinite;
        }

        /* 状態2: ニューラルネットワーク */
        .tech-item.ai[data-state="1"]::before {
            content: '';
            width: 30px;
            height: 30px;
            background: 
                radial-gradient(circle at 6px 6px, #78dbff 3px, transparent 4px),
                radial-gradient(circle at 24px 6px, #ff77c6 3px, transparent 4px),
                radial-gradient(circle at 15px 24px, #7877c6 3px, transparent 4px);
            background-size: 30px 30px;
        }

        .tech-item.ai[data-state="1"]::after {
            content: '';
            position: absolute;
            width: 30px;
            height: 30px;
            background: 
                linear-gradient(45deg, transparent 48%, #78dbff 49%, #78dbff 51%, transparent 52%),
                linear-gradient(-45deg, transparent 48%, #ff77c6 49%, #ff77c6 51%, transparent 52%);
        }

        /* 状態3: 回路基板 */
        .tech-item.ai[data-state="2"]::before {
            content: '';
            width: 28px;
            height: 28px;
            background: 
                linear-gradient(90deg, #78dbff 10px, transparent 11px, transparent 17px, #78dbff 18px),
                linear-gradient(0deg, #ff77c6 10px, transparent 11px, transparent 17px, #ff77c6 18px);
            background-size: 28px 28px;
        }

        /* クリエイティブアイコン - 3つの状態 */
        .tech-item.creative {
            top: 30%;
            right: 20%;
            animation: float-creative 5s ease-in-out infinite;
        }

        /* 状態1: 基本の三角形 */
        .tech-item.creative[data-state="0"]::before {
            content: '';
            width: 0;
            height: 0;
            border-left: 15px solid transparent;
            border-right: 15px solid transparent;
            border-bottom: 26px solid #ff77c6;
            filter: drop-shadow(0 0 10px rgba(255, 119, 198, 0.4));
        }

        /* 状態2: パレット */
        .tech-item.creative[data-state="1"]::before {
            content: '';
            width: 32px;
            height: 28px;
            background: 
                radial-gradient(circle at 8px 8px, #ff77c6 4px, transparent 5px),
                radial-gradient(circle at 20px 8px, #78dbff 4px, transparent 5px),
                radial-gradient(circle at 14px 20px, #7877c6 4px, transparent 5px);
            border-radius: 50% 10% 50% 50%;
            background-color: rgba(255, 255, 255, 0.1);
        }

        /* 状態3: 筆 */
        .tech-item.creative[data-state="2"]::before {
            content: '';
            width: 6px;
            height: 26px;
            background: linear-gradient(180deg, #8B4513 0%, #8B4513 30%, #ff77c6 30%, #78dbff 100%);
            border-radius: 3px;
            transform: rotate(45deg);
        }

        .tech-item.creative[data-state="2"]::after {
            content: '';
            position: absolute;
            width: 12px;
            height: 12px;
            background: rgba(255, 119, 198, 0.3);
            border-radius: 50%;
            top: 10px;
            left: 10px;
        }

        /* データ分析アイコン - 3つの状態 */
        .tech-item.data {
            bottom: 35%;
            left: 25%;
            animation: float-data 7s ease-in-out infinite;
        }

        /* 状態1: 基本のバーチャート */
        .tech-item.data[data-state="0"]::before {
            content: '';
            width: 32px;
            height: 24px;
            background: 
                linear-gradient(#78dbff 0%, #78dbff 100%) no-repeat 2px 12px / 6px 12px,
                linear-gradient(#ff77c6 0%, #ff77c6 100%) no-repeat 10px 6px / 6px 18px,
                linear-gradient(#7877c6 0%, #7877c6 100%) no-repeat 18px 0px / 6px 24px,
                linear-gradient(#78dbff 0%, #78dbff 100%) no-repeat 26px 8px / 6px 16px;
        }

        /* 状態2: 円グラフ */
        .tech-item.data[data-state="1"]::before {
            content: '';
            width: 28px;
            height: 28px;
            background: 
                conic-gradient(from 0deg, #78dbff 0deg 120deg, #ff77c6 120deg 240deg, #7877c6 240deg 360deg);
            border-radius: 50%;
        }

        /* 状態3: 波形 */
        .tech-item.data[data-state="2"]::before {
            content: '';
            width: 30px;
            height: 2px;
            background: #78dbff;
            position: relative;
        }

        .tech-item.data[data-state="2"]::after {
            content: '';
            position: absolute;
            width: 30px;
            height: 20px;
            background: 
                linear-gradient(90deg, transparent 0px, #78dbff 2px, #78dbff 4px, transparent 6px, transparent 8px, #ff77c6 10px, #ff77c6 12px, transparent 14px, transparent 16px, #7877c6 18px, #7877c6 20px, transparent 22px, transparent 24px, #78dbff 26px, #78dbff 28px, transparent 30px);
            clip-path: polygon(0% 50%, 6% 20%, 12% 80%, 18% 30%, 24% 70%, 30% 10%, 36% 90%, 42% 40%, 48% 60%, 54% 20%, 60% 80%, 66% 30%, 72% 70%, 78% 40%, 84% 60%, 90% 20%, 96% 80%, 100% 50%, 100% 100%, 0% 100%);
        }

        /* UI/UXデザインアイコン - 3つの状態 */
        .tech-item.design {
            top: 15%;
            right: 40%;
            animation: float-design 5.5s ease-in-out infinite;
        }

        /* 状態1: 基本のボックス */
        .tech-item.design[data-state="0"]::before {
            content: '';
            width: 30px;
            height: 30px;
            background: linear-gradient(135deg, #78dbff 0%, #ff77c6 100%);
            border-radius: 8px;
            box-shadow: 0 0 15px rgba(120, 219, 255, 0.3);
        }

        /* 状態2: ワイヤーフレーム */
        .tech-item.design[data-state="1"]::before {
            content: '';
            width: 30px;
            height: 30px;
            border: 2px solid #78dbff;
            border-radius: 6px;
            background: 
                linear-gradient(#ff77c6 1px, transparent 1px) 0 0 / 100% 8px,
                linear-gradient(90deg, #ff77c6 1px, transparent 1px) 0 0 / 8px 100%;
        }

        /* 状態3: レスポンシブデザイン */
        .tech-item.design[data-state="2"]::before {
            content: '';
            width: 24px;
            height: 16px;
            background: #78dbff;
            border-radius: 3px;
            border: 1px solid #ff77c6;
        }

        .tech-item.design[data-state="2"]::after {
            content: '';
            position: absolute;
            width: 12px;
            height: 8px;
            background: #7877c6;
            border-radius: 2px;
            bottom: 20px;
            right: 28px;
            border: 1px solid #ff77c6;
        }

        /* システム開発アイコン - 3つの状態 */
        .tech-item.system {
            bottom: 20%;
            right: 15%;
            animation: float-system 6.5s ease-in-out infinite;
        }

        /* 状態1: 基本のコード */
        .tech-item.system[data-state="0"]::before {
            content: '';
            width: 28px;
            height: 28px;
            background: 
                repeating-linear-gradient(0deg, 
                    #78dbff 0px, #78dbff 2px, 
                    transparent 2px, transparent 6px),
                repeating-linear-gradient(90deg, 
                    #ff77c6 0px, #ff77c6 2px, 
                    transparent 2px, transparent 6px);
            border-radius: 4px;
        }

        /* 状態2: ギア */
        .tech-item.system[data-state="1"]::before {
            content: '';
            width: 28px;
            height: 28px;
            background: #78dbff;
            clip-path: polygon(50% 0%, 65% 15%, 85% 15%, 85% 35%, 65% 35%, 50% 50%, 35% 35%, 15% 35%, 15% 15%, 35% 15%);
        }

        .tech-item.system[data-state="1"]::after {
            content: '';
            position: absolute;
            width: 12px;
            height: 12px;
            background: #ff77c6;
            border-radius: 50%;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
        }

        /* 状態3: サーバー */
        .tech-item.system[data-state="2"]::before {
            content: '';
            width: 28px;
            height: 20px;
            background: 
                linear-gradient(#78dbff 0%, #78dbff 5px, transparent 5px, transparent 7px, #ff77c6 7px, #ff77c6 12px, transparent 12px, transparent 14px, #7877c6 14px, #7877c6 20px);
            border-radius: 3px;
            border: 1px solid rgba(255, 255, 255, 0.3);
        }

        .tech-item.system[data-state="2"]::after {
            content: '';
            position: absolute;
            width: 4px;
            height: 4px;
            background: rgba(255, 255, 255, 0.8);
            border-radius: 50%;
            top: 32px;
            left: 32px;
            box-shadow: 
                0 6px 0 rgba(255, 255, 255, 0.6),
                0 12px 0 rgba(255, 255, 255, 0.4);
        }

        /* イノベーションアイコン - 3つの状態 */
        .tech-item.innovation {
            top: 45%;
            left: 45%;
            animation: float-innovation 4s ease-in-out infinite;
            z-index: 10;
        }

        /* 状態1: 基本の電球 */
        .tech-item.innovation[data-state="0"]::before {
            content: '';
            width: 20px;
            height: 26px;
            background: linear-gradient(180deg, #78dbff 0%, #78dbff 65%, #ff77c6 65%, #ff77c6 100%);
            border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
            filter: drop-shadow(0 0 15px rgba(120, 219, 255, 0.4));
        }

        .tech-item.innovation[data-state="0"]::after {
            content: '';
            position: absolute;
            width: 14px;
            height: 4px;
            background: #ff77c6;
            bottom: 24px;
            left: 50%;
            transform: translateX(-50%);
            border-radius: 0 0 2px 2px;
        }

        /* 状態2: ロケット */
        .tech-item.innovation[data-state="1"]::before {
            content: '';
            width: 16px;
            height: 32px;
            background: linear-gradient(180deg, #78dbff 0% 70%, #ff77c6 70% 85%, #7877c6 85% 100%);
            clip-path: polygon(50% 0%, 35% 25%, 35% 70%, 20% 70%, 20% 85%, 35% 85%, 35% 100%, 65% 100%, 65% 85%, 80% 85%, 80% 70%, 65% 70%, 65% 25%);
        }

        .tech-item.innovation[data-state="1"]::after {
            content: '';
            position: absolute;
            width: 8px;
            height: 8px;
            background: rgba(255, 119, 198, 0.7);
            border-radius: 50%;
            bottom: 10px;
            left: 50%;
            transform: translateX(-50%);
            box-shadow: 
                -4px 4px 0 -2px rgba(255, 119, 198, 0.5),
                4px 4px 0 -2px rgba(255, 119, 198, 0.5);
        }

        /* 状態3: 星 */
        .tech-item.innovation[data-state="2"]::before {
            content: '';
            width: 0;
            height: 0;
            border-left: 12px solid transparent;
            border-right: 12px solid transparent;
            border-bottom: 8px solid #78dbff;
            position: relative;
            transform: rotate(0deg);
        }

        .tech-item.innovation[data-state="2"]::after {
            content: '';
            position: absolute;
            width: 0;
            height: 0;
            border-left: 12px solid transparent;
            border-right: 12px solid transparent;
            border-bottom: 8px solid #ff77c6;
            top: 3px;
            left: 50%;
            transform: translateX(-50%) rotate(180deg);
        }

        /* コネクションライン */
        .connection-lines {
            position: absolute;
            width: 100%;
            height: 100%;
            pointer-events: none;
        }

        .connection-line {
            position: absolute;
            height: 1px;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
            animation: pulse-line 3s ease-in-out infinite;
        }

        .line-1 {
            width: 120px;
            top: 30%;
            left: 25%;
            transform: rotate(25deg);
            animation-delay: 0s;
        }

        .line-2 {
            width: 100px;
            top: 50%;
            right: 30%;
            transform: rotate(-20deg);
            animation-delay: 1s;
        }

        .line-3 {
            width: 80px;
            bottom: 30%;
            left: 40%;
            transform: rotate(45deg);
            animation-delay: 2s;
        }

        /* フローティングパーティクル */
        .floating-particles {
            position: absolute;
            width: 100%;
            height: 100%;
            pointer-events: none;
        }

        .particle {
            position: absolute;
            width: 3px;
            height: 3px;
            background: rgba(255, 255, 255, 0.6);
            border-radius: 50%;
        }

        .particle-1 {
            top: 10%;
            left: 20%;
            animation: particle-float-1 8s ease-in-out infinite;
        }

        .particle-2 {
            top: 60%;
            right: 25%;
            animation: particle-float-2 6s ease-in-out infinite;
        }

        .particle-3 {
            bottom: 15%;
            left: 60%;
            animation: particle-float-3 7s ease-in-out infinite;
        }

        /* アニメーション定義 */
        @keyframes float-ai {
            0%, 100% { transform: translate(0, 0) scale(1); }
            33% { transform: translate(10px, -15px) scale(1.05); }
            66% { transform: translate(-5px, 10px) scale(0.98); }
        }

        @keyframes float-creative {
            0%, 100% { transform: translate(0, 0) rotate(0deg); }
            25% { transform: translate(-8px, -12px) rotate(5deg); }
            50% { transform: translate(12px, 8px) rotate(-3deg); }
            75% { transform: translate(-6px, 15px) rotate(2deg); }
        }

        @keyframes float-data {
            0%, 100% { transform: translate(0, 0); }
            20% { transform: translate(15px, -10px); }
            40% { transform: translate(-8px, -18px); }
            60% { transform: translate(12px, 5px); }
            80% { transform: translate(-10px, 12px); }
        }

        @keyframes float-design {
            0%, 100% { transform: translate(0, 0) scale(1); }
            30% { transform: translate(8px, -20px) scale(1.08); }
            70% { transform: translate(-12px, 8px) scale(0.95); }
        }

        @keyframes float-system {
            0%, 100% { transform: translate(0, 0); }
            25% { transform: translate(-15px, -8px); }
            50% { transform: translate(10px, -15px); }
            75% { transform: translate(8px, 12px); }
        }

        @keyframes float-innovation {
            0%, 100% { transform: translate(0, 0) scale(1); }
            50% { transform: translate(0, -8px) scale(1.1); }
        }

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

        @keyframes pulse-line {
            0%, 100% { opacity: 0; }
            50% { opacity: 0.6; }
        }

        @keyframes particle-float-1 {
            0%, 100% { transform: translate(0, 0); opacity: 0.3; }
            25% { transform: translate(20px, -30px); opacity: 0.7; }
            50% { transform: translate(-15px, -10px); opacity: 1; }
            75% { transform: translate(25px, 20px); opacity: 0.5; }
        }

        @keyframes particle-float-2 {
            0%, 100% { transform: translate(0, 0); opacity: 0.4; }
            33% { transform: translate(-25px, 15px); opacity: 0.8; }
            66% { transform: translate(18px, -25px); opacity: 0.6; }
        }

        @keyframes particle-float-3 {
            0%, 100% { transform: translate(0, 0); opacity: 0.5; }
            40% { transform: translate(30px, -20px); opacity: 0.9; }
            80% { transform: translate(-20px, 10px); opacity: 0.3; }
        }

        /* 実績セクション - 軽量化 */
        .works {
            background: #f8f9fa;
        }

        .works-slider-container,
.works-swiper,
#works {
  position: relative !important;
  overflow: visible !important;
  z-index: 1 !important;
}

.works-slider {
  display: flex;
  gap: 2rem;
  transition: transform 0.5s ease;
  will-change: transform;
  padding: 1rem 0;
}

.work-card {
  flex: 0 0 80%;
  box-sizing: border-box;
}

.slider-controls {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  display: none;
  justify-content: space-between;
  transform: translateY(-50%);
  z-index: 10;
  gap: 1rem;
  margin-top: 2rem;
  pointer-events: none;    
}

.slider-indicators {
  text-align: center;
  margin-top: 10px;
}

.indicator {
  width: 8px;
  height: 8px;
  background: #ccc;
  display: inline-block;
  border-radius: 50%;
  margin: 0 4px;
  cursor: pointer;
}

.indicator.active {
  background: #333;
}


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

        .work-image {
            height: 200px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            flex-shrink: 0;
        }

        .work-content {
            padding: 2rem;
            flex: 1;
            display: flex;
            flex-direction: column;
        }

        .work-content h4 {
            font-size: 1.3rem;
            font-weight: 600;
            margin-bottom: 1rem;
            color: #333;
        }

        .work-content p {
            color: #666;
            margin-bottom: 1.5rem;
            line-height: 1.6;
        }

        .work-tags {
            display: flex;
            gap: 0.5rem;
            flex-wrap: wrap;
            margin-top: auto;
        }

        .tag {
            background: #f0f0f0;
            padding: 0.4rem 0.8rem;
            border-radius: 20px;
            font-size: 0.8rem;
            color: #666;
        }


        .slider-btn {
            width: 50px;
            height: 50px;
            border: none;
            border-radius: 50%;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            font-size: 1.2rem;
            cursor: pointer;
            transition: transform 0.3s ease;
         pointer-events: all;            /* ← ボタン自体はタップOK */
  touch-action: manipulation;     /* ← iOSでの親スクロール防止 */
  z-index: 11;
        }

        .slider-btn:hover {
            transform: translateY(-2px);
        }

        .slider-indicators {
            display: flex;
            justify-content: center;
            gap: 0.5rem;
            margin-top: 1rem;
        }

        .indicator {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: #ddd;
            cursor: pointer;
            transition: background 0.3s ease;
        }

        .indicator.active {
            background: #667eea;
        }

        /* 会社概要セクション */
        .company {
            background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
        }

        .company-info {
            background: white;
            padding: 2.5rem;
            border-radius: 15px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
            max-width: 600px;
            margin: 0 auto;
        }

        .info-row {
            display: flex;
            margin-bottom: 1.5rem;
            padding-bottom: 1.5rem;
            border-bottom: 1px solid #eee;
        }

        .info-row:last-child {
            border-bottom: none;
            margin-bottom: 0;
        }

        .info-label {
            width: 120px;
            font-weight: 600;
            color: #333;
            flex-shrink: 0;
        }

        .info-value {
            color: #666;
            line-height: 1.6;
        }

        /* 問い合わせセクション */
        .contact {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
        }

        .contact .section-title {
            color: white;
            background: none;
            -webkit-text-fill-color: white;
        }

        .contact .section-subtitle {
            color: rgba(255, 255, 255, 0.8);
        }

        .contact-form {
            max-width: 600px;
            margin: 0 auto;
            background: rgba(255, 255, 255, 0.1);
            padding: 2rem;
            border-radius: 15px;
            backdrop-filter: blur(10px);
        }

        .form-group {
            margin-bottom: 1.5rem;
        }

        .form-group label {
            display: block;
            margin-bottom: 0.5rem;
            font-weight: 600;
        }

        .form-group input,
        .form-group textarea {
            width: 100%;
            padding: 0.8rem;
            border: none;
            border-radius: 8px;
            background: rgba(255, 255, 255, 0.9);
            font-size: 1rem;
        }

        .form-group textarea {
            height: 120px;
            resize: vertical;
        }

        .submit-button {
            width: 100%;
            padding: 1rem;
            background: white;
            color: #667eea;
            border: none;
            border-radius: 8px;
            font-size: 1.1rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .submit-button:hover {
            transform: translateY(-2px);
        }

        /* フッター */
        footer {
            background: #333;
            color: white;
            text-align: center;
            padding: 2rem 0;
        }

        /* レスポンシブ */
        @media (max-width: 768px) {
            .nav-links {
                display: none;
            }

            .hero h1 {
                font-size: 3rem;
            }

            .hero-content {
                text-align: center;
                margin-left: 0;
            }

            .message-content {
                grid-template-columns: 1fr;
                gap: 2rem;
            }

            .work-card {
                flex: 0 0 300px;
            }

            .container {
                padding: 0 1rem;
            }
        }

        /* スムーススクロール */
        html {
            scroll-behavior: smooth;
        }

        /* 軽量化されたアニメーション */
        .fade-in {
            opacity: 0;
            transform: translateY(20px);
            transition: all 0.6s ease;
        }

        .fade-in.visible {
            opacity: 1;
            transform: translateY(0);
        }
/* 404 */
.error{}
#works .works-swiper .swiper-button-prev,
#works .works-swiper .swiper-button-next {
  position: absolute !important;
  bottom: -40px !important;
  top: auto !important;
  transform: translateY(0) !important;
  z-index: 999 !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: all !important;

  width: 48px !important;
  height: 48px !important;
  border-radius: 50% !important;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15) !important;
  color: #fff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

#works .swiper-button-prev::after,
#works .swiper-button-next::after {
  font-size: 1.2rem !important;
  font-weight: bold !important;
  color: #fff !important;
  opacity: 1 !important;
  content: '' !important;
}
/* ===============================
   Swiper 矢印＋ページネーション配置調整
   =============================== */
#works .swiper-pagination {
  position: relative !important;
  margin-top: 2.8rem !important; /* ← ドットを下に移動 */
  z-index: 10 !important;        /* ← ボタンより下のレイヤー */
}

#works .swiper-button-prev,
#works .swiper-button-next {
  position: absolute !important;
  top: auto !important;
  bottom: 70px !important;       /* ← ページネーションより少し上 */
  transform: translateY(0) !important;
  z-index: 50 !important;
}

/* 左右位置 */
#works .swiper-button-prev {
  left: calc(50% - 70px) !important;
}
#works .swiper-button-next {
  right: calc(50% - 70px) !important;
}

/* ページネーションのドットデザイン統一 */
#works .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background: #ccc;
  opacity: 1;
  transition: background 0.3s ease;
}
#works .swiper-pagination-bullet-active {
  background: #667eea;
}

