/* 追加スタイル: チップ複数選択 */
        :root {
            --bg: #0a0a0a;
            --bg-card: rgba(20, 20, 20, 0.85);
            --bg-input: #1a1a1a;
            --border: #2a2a2a;
            --border-focus: #d4a84a;
            --fg: #e8e8e8;
            --fg-muted: #888;
            --accent: #d4a84a;
            --accent-glow: rgba(212, 168, 74, .15);
            --gradient-primary: linear-gradient(135deg, #d4a84a, #b8872e);
            --success: #22c55e;
            --error: #ef4444;
            --radius: 12px;
            --radius-sm: 8px
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Inter', 'Noto Sans JP', sans-serif;
            background: var(--bg);
            color: var(--fg);
            min-height: 100vh;
            line-height: 1.6;
            position: relative;
        }

        #particles-js {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -1;
            background: var(--bg);
        }

        .header {
            background: rgba(10, 10, 10, 0.7);
            border-bottom: 1px solid var(--border);
            padding: 16px 24px;
            position: sticky;
            top: 0;
            z-index: 100;
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
        }

        .header-inner {
            max-width: 720px;
            margin: 0 auto;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .header-logo {
            font-size: 14px;
            font-weight: 800;
            letter-spacing: 1px;
            color: var(--accent);
        }

        .header-badge {
            font-size: 11px;
            padding: 4px 10px;
            border-radius: 20px;
            background: var(--accent-glow);
            border: 1px solid rgba(212, 168, 74, .3);
            color: var(--accent);
            font-weight: 600;
        }

        .main {
            max-width: 720px;
            margin: 0 auto;
            padding: 40px 20px 80px;
            position: relative;
            z-index: 10;
        }

        .hero-section {
            text-align: center;
            margin-bottom: 40px;
        }



        .hero-icon {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            background: var(--gradient-primary);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 36px;
            margin: 0 auto 24px;
            box-shadow: 0 0 40px rgba(212, 168, 74, 0.4);
            animation: float 6s ease-in-out infinite;
        }

        @keyframes float {

            0%,
            100% {
                transform: translateY(0);
            }

            50% {
                transform: translateY(-10px);
            }
        }

        .hero-title {
            font-size: 32px;
            font-weight: 800;
            margin-bottom: 12px;
            background: var(--gradient-primary);
            background-clip: text;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            text-shadow: 0 0 30px rgba(212, 168, 74, 0.3);
        }

        .hero-sub {
            color: var(--fg-muted);
            font-size: 15px;
            line-height: 1.8;
        }

        .progress-bar {
            display: flex;
            align-items: center;
            gap: 4px;
            margin-bottom: 32px;
            padding: 0 8px;
        }

        .progress-segment {
            flex: 1;
            height: 4px;
            border-radius: 2px;
            background: rgba(255, 255, 255, 0.1);
            transition: background .4s ease;
        }

        .progress-segment.active {
            background: var(--gradient-primary);
            box-shadow: 0 0 10px var(--accent-glow);
        }

        .progress-segment.done {
            background: var(--success);
        }

        .step-label {
            text-align: center;
            font-size: 12px;
            color: var(--fg-muted);
            margin-bottom: 24px;
            font-weight: 600;
            letter-spacing: 1px;
        }

        .form-card {
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: var(--radius);
            padding: 32px;
            margin-bottom: 20px;
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
        }

        .form-step {
            display: none;
        }

        .form-step.active {
            display: block;
            animation: fadeIn .4s ease;
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(10px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .form-group {
            margin-bottom: 24px;
        }

        .form-label {
            display: block;
            font-size: 13px;
            font-weight: 600;
            margin-bottom: 8px;
            color: var(--fg);
        }

        .form-label .required {
            color: var(--error);
            margin-left: 4px;
            font-size: 11px;
        }

        .form-label .optional {
            color: var(--fg-muted);
            margin-left: 4px;
            font-size: 11px;
            font-weight: 400;
        }

        .form-input,
        .form-select,
        .form-textarea {
            width: 100%;
            padding: 14px 16px;
            border: 1px solid var(--border);
            border-radius: var(--radius-sm);
            background: rgba(0, 0, 0, 0.3);
            color: var(--fg);
            font-size: 14px;
            font-family: inherit;
            transition: all 0.2s;
        }

        .form-input:focus,
        .form-select:focus,
        .form-textarea:focus {
            outline: none;
            border-color: var(--border-focus);
            box-shadow: 0 0 0 3px var(--accent-glow);
            background: rgba(0, 0, 0, 0.5);
        }

        .form-input::placeholder,
        .form-textarea::placeholder {
            color: #555;
        }

        .form-textarea {
            resize: vertical;
            min-height: 100px;
        }

        .form-select {
            cursor: pointer;
            appearance: none;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23888' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: right 14px center;
            padding-right: 36px;
        }

        .chip-multi {
            padding: 8px 16px;
            background: rgba(255, 255, 255, .05);
            border: 1px solid var(--border);
            border-radius: 20px;
            font-size: 13px;
            cursor: pointer;
            transition: all .2s;
            user-select: none;
            -webkit-user-select: none;
            display: inline-flex;
            align-items: center;
            justify-content: center;
        }

        .chip-multi:hover {
            border-color: var(--accent);
            background: rgba(212, 168, 74, .1);
        }

        .chip-multi:has(> .hidden-checkbox:checked) {
            background: var(--accent);
            color: #000;
            border-color: var(--accent);
            font-weight: 600;
        }

        .chip-multi:has(> .hidden-checkbox:focus-visible) {
            outline: 2px solid var(--accent);
            outline-offset: 2px;
        }

        .chips-group-multi {
            display: flex;
            gap: 10px;
            flex-wrap: wrap;
        }

        .optional {
            font-size: 11px;
            color: var(--fg-muted);
            margin-top: 6px;
        }

        .form-hint {
            font-size: 11px;
            color: var(--fg-muted);
            margin-top: 6px;
        }

        .chip-group {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
        }

        .hidden-radio, .hidden-checkbox {
            position: absolute;
            opacity: 0;
            width: 0;
            height: 0;
            pointer-events: none;
        }

        .chip {
            padding: 10px 18px;
            border: 1px solid var(--border);
            border-radius: 20px;
            background: rgba(255, 255, 255, 0.05);
            color: var(--fg-muted);
            font-size: 13px;
            cursor: pointer;
            transition: all .2s;
            user-select: none;
            -webkit-user-select: none;
        }

        .chip:hover {
            border-color: var(--accent);
            color: var(--fg);
            background: rgba(255, 255, 255, 0.08);
        }

        .chip:has(> .hidden-radio:checked) {
            background: var(--accent);
            border-color: var(--accent);
            color: #000;
            font-weight: 600;
        }

        .chip:has(> .hidden-radio:focus-visible) {
            outline: 2px solid var(--accent);
            outline-offset: 2px;
        }

        .file-upload-area {
            border: 2px dashed var(--border);
            border-radius: var(--radius);
            padding: 32px 20px;
            text-align: center;
            background: rgba(255, 255, 255, 0.02);
            cursor: pointer;
            transition: all .2s;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 12px;
        }

        .file-upload-area:hover {
            border-color: var(--accent);
            background: rgba(212, 168, 74, 0.05);
        }

        .upload-icon {
            font-size: 32px;
            margin-bottom: 0;
            opacity: 0.8;
        }

        .checkbox-group {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        .checkbox-label {
            display: flex;
            align-items: center;
            gap: 10px;
            cursor: pointer;
            padding: 10px 14px;
            border-radius: var(--radius-sm);
            border: 1px solid var(--border);
            background: rgba(0, 0, 0, 0.2);
            transition: all 0.2s;
        }

        .checkbox-label:hover {
            border-color: var(--fg-muted);
        }

        .checkbox-label input[type="checkbox"] {
            appearance: none;
            width: 18px;
            height: 18px;
            border: 1px solid var(--fg-muted);
            border-radius: 4px;
            display: grid;
            place-content: center;
            transition: all 0.2s;
        }

        .checkbox-label input[type="checkbox"]::before {
            content: "";
            width: 10px;
            height: 10px;
            transform: scale(0);
            background: var(--bg);
            transform-origin: center;
            clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
        }

        .checkbox-label input[type="checkbox"]:checked {
            background: var(--accent);
            border-color: var(--accent);
        }

        .checkbox-label input[type="checkbox"]:checked::before {
            transform: scale(1);
            background: #000;
        }

        .photo-upload-section {
            display: flex;
            align-items: center;
            gap: 20px;
            padding: 20px;
            border: 1px solid var(--border);
            border-radius: var(--radius);
            background: rgba(0, 0, 0, 0.2);
        }

        .photo-preview {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.05);
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
            border: 1px solid var(--border);
            flex-shrink: 0;
        }

        .photo-preview img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .btn-upload {
            background: rgba(255, 255, 255, 0.08);
            border: 1px solid var(--border);
            color: var(--fg);
            padding: 10px 16px;
            border-radius: var(--radius-sm);
            cursor: pointer;
            font-size: 13px;
            transition: all 0.2s;
        }

        .btn-upload:hover {
            border-color: var(--accent);
            background: rgba(212, 168, 74, 0.1);
        }

        /* Confirm Table */
        .confirm-table {
            width: 100%;
            border-collapse: collapse;
        }

        .confirm-table tr {
            border-bottom: 1px solid var(--border);
        }

        .confirm-table th {
            text-align: left;
            padding: 12px 16px;
            font-size: 12px;
            color: var(--fg-muted);
            font-weight: 600;
            width: 140px;
            vertical-align: top;
        }

        .confirm-table td {
            padding: 12px 16px;
            font-size: 13px;
            word-break: break-all;
        }

        .confirm-section {
            font-size: 13px;
            font-weight: 700;
            color: var(--accent);
            padding: 16px 12px 8px;
            text-transform: uppercase;
            letter-spacing: 1px;
            border-bottom: none !important;
        }

        .btn-group {
            display: flex;
            gap: 12px;
            margin-top: 32px;
        }

        .btn {
            flex: 1;
            padding: 16px 24px;
            border: none;
            border-radius: var(--radius-sm);
            font-size: 14px;
            font-weight: 600;
            font-family: inherit;
            cursor: pointer;
            transition: all .2s;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
        }

        .btn-back {
            background: rgba(255, 255, 255, 0.05);
            color: var(--fg-muted);
            border: 1px solid var(--border);
        }

        .btn-back:hover {
            border-color: var(--fg-muted);
            color: var(--fg);
            background: rgba(255, 255, 255, 0.1);
        }

        .btn-next {
            background: var(--gradient-primary);
            color: #000;
            font-weight: 700;
            box-shadow: 0 4px 12px rgba(212, 168, 74, 0.3);
        }

        .btn-next:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 24px rgba(212, 168, 74, 0.5);
        }

        .btn-submit {
            background: var(--gradient-primary);
            color: #000;
            font-weight: 700;
            box-shadow: 0 4px 12px rgba(212, 168, 74, 0.3);
        }

        .btn-submit:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 24px rgba(212, 168, 74, 0.5);
        }

        .error-msg {
            background: rgba(239, 68, 68, .1);
            border: 1px solid rgba(239, 68, 68, .3);
            border-radius: var(--radius-sm);
            padding: 12px 16px;
            font-size: 12px;
            color: var(--error);
            margin-top: 16px;
            display: none;
            align-items: center;
            gap: 8px;
        }

        .error-msg.show {
            display: flex;
            animation: shake 0.3s ease;
        }

        @keyframes shake {

            0%,
            100% {
                transform: translateX(0);
            }

            25% {
                transform: translateX(-4px);
            }

            75% {
                transform: translateX(4px);
            }
        }

        .success-screen {
            text-align: center;
            padding: 60px 20px;
        }

        .success-icon {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            background: var(--success);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 40px;
            margin: 0 auto 24px;
            box-shadow: 0 0 30px rgba(34, 197, 94, 0.5);
            animation: bounceIn .6s ease;
        }

        .success-title {
            font-size: 24px;
            font-weight: 700;
            margin-bottom: 12px;
        }

        .form-group {
            margin-bottom: 24px;
            background: rgba(255, 255, 255, 0.03);
            padding: 16px;
            border-radius: 8px;
            border: 1px solid rgba(255, 255, 255, 0.05);
        }

        .form-label {
            display: block;
            margin-bottom: 8px;
            font-weight: 500;
            color: var(--text-color);
            font-size: 14px;
        }

        .loading-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, .8);
            z-index: 999;
            backdrop-filter: blur(5px);
            -webkit-backdrop-filter: blur(5px);
            align-items: center;
            justify-content: center;
            flex-direction: column;
            gap: 16px;
        }

        .loading-overlay.show {
            display: flex;
        }

        .spinner {
            width: 48px;
            height: 48px;
            border: 4px solid rgba(255, 255, 255, 0.1);
            border-top-color: var(--accent);
            border-radius: 50%;
            animation: spin .8s linear infinite;
        }

        @keyframes spin {
            to {
                transform: rotate(360deg);
            }
        }

        .section-title {
            font-size: 16px;
            font-weight: 700;
            color: var(--accent);
            margin-bottom: 24px;
            margin-top: 16px;
            position: relative;
            padding-bottom: 8px;
            border-bottom: 1px solid var(--accent);
            border-left: none;
            background: none;
            box-shadow: none;
            border-radius: 0;
            text-align: left;
            letter-spacing: 1px;
        }

        /* Error Highlight */
        .input-error {
            border: 2px solid #ff4444 !important;
            background-color: rgba(255, 68, 68, 0.1) !important;
        }

        .chip-group.input-error,
        .chips-group-multi.input-error {
            border: 2px solid #ff4444;
            border-radius: 8px;
            padding: 4px;
        }

        /* Select Option Colors for Dark Theme */
        select option {
            background-color: #1a1a1a;
            color: #fff;
        }

        /* ===== MOBILE RESPONSIVE ===== */
        @media (max-width: 480px) {
            .header-inner {
                padding: 12px 14px;
            }

            .header-logo {
                font-size: 13px;
            }

            .header-badge {
                font-size: 10px;
                padding: 4px 10px;
            }

            .main {
                padding: 12px 12px 40px;
            }

            .hero-title {
                font-size: 18px;
            }

            .hero-sub {
                font-size: 12px;
            }

            .step-label {
                font-size: 11px;
            }

            .form-card {
                padding: 16px;
            }

            .form-input,
            .form-textarea,
            .form-select {
                font-size: 16px;
                /* iOS zoom prevent */
            }

            .form-label {
                font-size: 13px;
            }

            .chip {
                padding: 8px 14px;
                font-size: 12px;
            }

            .chip-multi {
                padding: 7px 12px;
                font-size: 12px;
            }

            .section-title {
                font-size: 14px;
            }

            .btn {
                padding: 14px 16px;
                font-size: 13px;
            }

            .btn-group {
                gap: 8px;
                margin-top: 24px;
            }

            .file-upload-area {
                padding: 24px 14px;
            }

            .confirm-table th {
                width: 100px;
                padding: 10px 8px;
                font-size: 11px;
            }

            .confirm-table td {
                padding: 10px 8px;
                font-size: 12px;
            }

            .success-icon {
                width: 64px;
                height: 64px;
                font-size: 30px;
            }

            .success-title {
                font-size: 20px;
            }

            .photo-upload-section {
                flex-direction: column;
                gap: 12px;
                text-align: center;
            }
        }