﻿ /* ベースリセット */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        /* ルート変数 */
        :root {
            --primary-yellow: #FFD700;
            --secondary-yellow: #FFA500;
            --primary-blue: #1E3A8A;
            --secondary-blue: #3B82F6;
            --accent-cyan: #06B6D4;
            --dark-bg: #0F172A;
            --grid-color: rgba(255, 215, 0, 0.1);
            --text-light: #F8FAFC;
            --text-dark: #1E293B;
        }

        /* メインコンテナ */
        .main-container {
            min-height: 100vh;
            background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-bg) 100%);
            position: relative;
            overflow: hidden;
            font-family: 'Hiragino Sans', 'Yu Gothic', 'Meiryo', sans-serif;
        }

        /* グリッド背景 */
        .grid-background {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-image: 
                linear-gradient(var(--grid-color) 1px, transparent 1px),
                linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
            background-size: 50px 50px;
            z-index: 1;
        }

        /* フローティングエレメント */
        .floating-elements {
            position: absolute;
            width: 100%;
            height: 100%;
            z-index: 2;
        }

        .floating-circle {
            position: absolute;
            border-radius: 50%;
            background: radial-gradient(circle, var(--primary-yellow) 0%, transparent 70%);
            filter: blur(20px);
            animation: float-animation 6s ease-in-out infinite;
        }

        .circle-1 {
            width: 200px;
            height: 200px;
            top: 10%;
            right: 10%;
            animation-delay: 0s;
        }

        .circle-2 {
            width: 150px;
            height: 150px;
            bottom: 20%;
            left: 5%;
            background: radial-gradient(circle, var(--accent-cyan) 0%, transparent 70%);
            animation-delay: 2s;
        }

        .circle-3 {
            width: 100px;
            height: 100px;
            top: 60%;
            right: 30%;
            background: radial-gradient(circle, var(--secondary-yellow) 0%, transparent 70%);
            animation-delay: 4s;
        }

        /* メインコンテンツ */
        .content-wrapper {
            position: relative;
            z-index: 10;
            padding: 20px;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }

        /* ヘッダーセクション */
        .header-section {
            text-align: center;
            margin-bottom: 30px;
        }

        .main-title {
            font-size: 2.5rem;
            font-weight: 900;
            background: linear-gradient(45deg, var(--primary-yellow), var(--secondary-yellow));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            margin-bottom: 15px;
            text-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
        }

        .subtitle {
            color: var(--text-light);
            font-size: 1.2rem;
            font-weight: 300;
            line-height: 1.6;
            margin-bottom: 25px;
        }

        /* 画像セクション */
        .image-section {
            margin: 20px 0;
            text-align: center;
        }

        .hero-image {
            max-width: 100%;
            height: auto;
            border-radius: 15px;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
            animation: pulse-glow 3s ease-in-out infinite;
        }

        /* 入力セクション */
        .input-section {
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            border-radius: 20px;
            padding: 30px;
            margin: 20px 0;
            border: 1px solid rgba(255, 215, 0, 0.3);
        }

        .input-label {
            color: var(--primary-yellow);
            font-weight: bold;
            margin-bottom: 15px;
            font-size: 1.1rem;
        }

        .stock-input {
            width: 100%;
            padding: 15px 20px;
            font-size: 1.1rem;
            border: 2px solid var(--primary-yellow);
            border-radius: 50px;
            background: rgba(255, 255, 255, 0.9);
            color: var(--text-dark);
            outline: none;
            transition: all 0.3s ease;
        }

        .stock-input:focus {
            border-color: var(--accent-cyan);
            box-shadow: 0 0 20px rgba(6, 182, 212, 0.5);
            transform: scale(1.02);
        }

        .stock-input::placeholder {
            color: #64748B;
        }

        /* アクションボタン */
        .action-button {
            width: 100%;
            padding: 18px;
            font-size: 1.2rem;
            font-weight: bold;
            background: linear-gradient(45deg, var(--primary-yellow), var(--secondary-yellow));
            color: var(--text-dark);
            border: none;
            border-radius: 50px;
            cursor: pointer;
            margin-top: 20px;
            box-shadow: 0 10px 30px rgba(255, 215, 0, 0.4);
            transition: all 0.3s ease;
            animation: button-pulse 2s ease-in-out infinite;
        }

        .action-button:hover {
            transform: translateY(-3px);
            box-shadow: 0 15px 40px rgba(255, 215, 0, 0.6);
        }

        .action-button:active {
            transform: translateY(0);
        }

        /* モーダル */
        .modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.8);
            z-index: 1000;
            display: none;
            justify-content: center;
            align-items: center;
        }

        .modal-content {
            background: linear-gradient(135deg, var(--primary-blue), var(--dark-bg));
            border-radius: 20px;
            padding: 40px;
            max-width: 90%;
            text-align: center;
            border: 2px solid var(--primary-yellow);
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
            position: relative;
        }

        .modal-close-btn {
            position: absolute;
            top: 15px;
            right: 15px;
            background: var(--primary-yellow);
            color: var(--text-dark);
            border: none;
            width: 35px;
            height: 35px;
            border-radius: 50%;
            cursor: pointer;
            font-size: 18px;
            font-weight: bold;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
            z-index: 1001;
        }

        .modal-close-btn:hover {
            background: var(--accent-cyan);
            color: white;
            transform: scale(1.1);
        }

        .progress-container {
            margin: 20px 0;
        }

        .progress-bar {
            width: 100%;
            height: 8px;
            background: rgba(255, 255, 255, 0.2);
            border-radius: 4px;
            overflow: hidden;
            margin: 20px 0;
        }

        .progress-fill {
            height: 100%;
            background: linear-gradient(90deg, var(--primary-yellow), var(--accent-cyan));
            width: 0%;
            transition: width 0.1s ease;
            border-radius: 4px;
        }

        .progress-text {
            color: var(--text-light);
            font-size: 1rem;
            margin: 10px 0;
        }

        .modal-title {
            color: var(--primary-yellow);
            font-size: 1.5rem;
            font-weight: bold;
            margin-bottom: 20px;
        }

        .modal-message {
            color: var(--text-light);
            font-size: 1.1rem;
            line-height: 1.6;
            margin-bottom: 30px;
        }

        .line-button {
            background: linear-gradient(45deg, #00C300, #00A000);
            color: white;
            border: none;
            padding: 15px 30px;
            border-radius: 50px;
            font-size: 1.1rem;
            font-weight: bold;
            cursor: pointer;
            box-shadow: 0 10px 30px rgba(0, 195, 0, 0.4);
            transition: all 0.3s ease;
        }

        .line-button:hover {
            transform: translateY(-2px);
            box-shadow: 0 15px 40px rgba(0, 195, 0, 0.6);
        }

        .close-button {
            background: transparent;
            border: 2px solid var(--primary-yellow);
            color: var(--primary-yellow);
            padding: 10px 20px;
            border-radius: 25px;
            cursor: pointer;
            margin-left: 15px;
            transition: all 0.3s ease;
        }

        .close-button:hover {
            background: var(--primary-yellow);
            color: var(--text-dark);
        }

        /* フッターセクション */
        .footer-section {
            background: rgba(0, 0, 0, 0.5);
            backdrop-filter: blur(10px);
            border-radius: 15px;
            padding: 25px;
            margin-top: auto;
            border: 1px solid rgba(255, 215, 0, 0.2);
        }

        .disclaimer-title {
            color: var(--primary-yellow);
            font-size: 1.2rem;
            font-weight: bold;
            margin-bottom: 15px;
        }

        .disclaimer-content {
            color: var(--text-light);
            font-size: 0.9rem;
            line-height: 1.5;
            margin-bottom: 20px;
        }

        .contact-info {
            color: var(--text-light);
            font-size: 0.85rem;
            margin-bottom: 15px;
        }

        .footer-links {
            display: flex;
            justify-content: center;
            gap: 20px;
            margin-bottom: 15px;
        }

        .footer-link {
            color: var(--primary-yellow);
            text-decoration: none;
            font-size: 0.9rem;
            transition: color 0.3s ease;
        }

        .footer-link:hover {
            color: var(--accent-cyan);
        }

        .copyright {
            text-align: center;
            color: var(--text-light);
            font-size: 0.8rem;
            opacity: 0.8;
        }

        /* アニメーション */
        @keyframes float-animation {
            0%, 100% { transform: translateY(0px) rotate(0deg); }
            50% { transform: translateY(-20px) rotate(180deg); }
        }

        @keyframes pulse-glow {
            0%, 100% { box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3); }
            50% { box-shadow: 0 25px 50px rgba(255, 215, 0, 0.3); }
        }

        @keyframes button-pulse {
            0%, 100% { transform: scale(1); }
            50% { transform: scale(1.02); }
        }

        /* レスポンシブデザイン */
        @media (max-width: 768px) {
            .main-title {
                font-size: 2rem;
            }
            
            .subtitle {
                font-size: 1rem;
            }
            
            .content-wrapper {
                padding: 15px;
            }
            
            .input-section {
                padding: 20px;
            }
            
            .modal-content {
                padding: 25px;
            }
            
            .footer-links {
                flex-direction: column;
                align-items: center;
                gap: 10px;
            }
        }

        @media (max-width: 480px) {
            .main-title {
                font-size: 1.8rem;
            }
            
            .circle-1, .circle-2, .circle-3 {
                display: none;
            }
        }