        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            margin: 0;
            padding: 20px;
            background-color: #f5f5f5;
            line-height: 1.6;
        }
        .container {
            max-width: 800px;
            margin: 0 auto;
            background-color: white;
            padding: 30px;
            border-radius: 10px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        }
        .screen {
            display: none;
        }
        .screen.active {
            display: block;
        }
        button {
            background-color: #4CAF50;
            color: white;
            border: none;
            padding: 12px 20px;
            margin: 10px 5px;
            border-radius: 5px;
            cursor: pointer;
            font-size: 16px;
            transition: background-color 0.3s;
        }
        button:hover {
            background-color: #45a049;
        }
        button:disabled {
            background-color: #cccccc;
            cursor: not-allowed;
        }
        .warning-button {
            background-color: #ff9800;
        }
        .warning-button:hover {
            background-color: #e68900;
        }
        .history-button {
            background-color: #080808;
        }
        .history-button:hover {
            background-color: #343435;
        }
        .generate-button {
            background-color: #2196F3;
        }
        .generate-button:hover {
            background-color: #1976D2;
        }
        input[type="text"], textarea {
            width: 100%;
            padding: 10px;
            margin: 10px 0;
            border: 2px solid #ddd;
            border-radius: 5px;
            font-size: 16px;
            box-sizing: border-box;
        }
        label {
            font-weight: bold;
        }
        textarea {
            resize: vertical;
            min-height: 100px;
        }
        .large-textarea {
            min-height: 200px;
        }
        h2 {
            color: #333;
            border-bottom: 2px solid #4CAF50;
            padding-bottom: 10px;
        }
        .warning {
            background-color: #fff3cd;
            color: #856404;
            padding: 15px;
            border-radius: 5px;
            border-left: 4px solid #ffc107;
            margin-bottom: 20px;
        }
        .split-screen {
            display: flex;
            height: 400px;
            gap: 20px;
        }
        .split-left, .split-right {
            flex: 1;
            overflow-y: auto;
            border: 2px solid #ddd;
            padding: 15px;
            border-radius: 5px;
            background-color: #fafafa;
            position: relative;
        }
        .list-item {
            padding: 8px;
            margin: 5px 0 15px 0;
            background-color: white;
            border-radius: 3px;
            border-left: 4px solid #4CAF50;
            position: relative;
            clear: both;
        }
        .list-item:hover {
            background-color: #f0f8f0;
        }
        .expand-button {
            background-color: #2196F3;
            color: white;
            border: none;
            padding: 4px 8px;
            border-radius: 3px;
            cursor: pointer;
            font-size: 14px;
            float: right;
            margin-top: -2px;
        }
        .expand-button:hover {
            background-color: #1976D2;
        }
        .expanded-content {
            margin-top: 10px;
            padding: 10px;
            background-color: #f9f9f9;
            border-radius: 3px;
            border-left: 4px solid #2196F3;
        }
        .expanded-field {
            margin: 8px 0;
        }
        .expanded-label {
            font-weight: bold;
            color: #333;
        }
        .close-button {
            position: absolute;
            top: 10px;
            right: 10px;
            background-color: #f44336;
            padding: 5px 10px;
            font-size: 14px;
        }
        .close-button:hover {
            background-color: #da190b;
        }
        .modal {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0,0,0,0.5);
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 1000;
        }
        .modal-content {
            background-color: white;
            padding: 20px;
            border-radius: 10px;
            text-align: center;
            min-width: 300px;
        }
        .file-input {
            margin: 20px 0;
        }
        .status {
            padding: 10px;
            margin: 10px 0;
            border-radius: 5px;
        }
        .status-done {
            background-color: #d4edda;
            color: #155724;
        }
        .status-pending {
            background-color: #fff3cd;
            color: #856404;
        }
        .detail-view {
            padding: 20px;
            background-color: white;
            border-radius: 5px;
        }
        .detail-field {
            margin: 15px 0;
        }
        .detail-label {
            font-weight: bold;
            color: #333;
            margin-bottom: 5px;
        }
        .detail-content {
            background-color: #f9f9f9;
            padding: 10px;
            border-radius: 3px;
            white-space: pre-wrap;
        }
        .header {
            text-align: center;
            margin-bottom: 30px;
        }
        .status-notice {
            color: #666;
            font-style: italic;
            margin-bottom: 20px;
            padding: 10px;
            background-color: #f8f9fa;
            border-left: 4px solid #007bff;
        }
        /* 質問生成機能用のスタイル */
        .question-section {
            margin-top: 30px;
            padding: 5px;
            background-color: #f8f9fa;
            border-radius: 5px;
            border: 1px solid #dee2e6;
        }
        .question-section h3 {
            color: #2196F3;
            margin-top: 0;
        }
        #loading {
            display: none;
            color: #666;
            font-style: italic;
            margin: 10px 0;
        }
        #result {
            margin-top: 15px;
            padding: 10px;
            background-color: white;
            border-radius: 3px;
            border: 1px solid #ddd;
            min-height: 40px;
            white-space: pre-wrap;
            line-height: 1.5;
        }
        .question-item {
            margin: 5px 0;
            padding: 5px 0;
        }
        .success-message {
            background-color: #d4edda;
            color: #155724;
            padding: 10px;
            border-radius: 5px;
            margin: 10px 0;
            border: 1px solid #c3e6cb;
        }
