body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

.container {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

h1 {
    color: #2c3e50;
    text-align: center;
    margin-bottom: 30px;
    font-size: 2.2em;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.file-section {
    margin-bottom: 25px;
    padding: 20px;
    border: 2px dashed #3498db;
    border-radius: 10px;
    background: #f8f9fa;
    transition: all 0.3s ease;
}

.file-section:hover {
    border-color: #2980b9;
    background: #e3f2fd;
    transform: translateY(-2px);
}

.file-section h3 {
    margin-top: 0;
    color: #2980b9;
    font-size: 1.3em;
}

.file-input {
    width: 100%;
    max-width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s;
    box-sizing: border-box;
}

.file-input:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 10px rgba(52, 152, 219, 0.3);
}

.btn {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    margin: 10px 5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
}

.btn:active {
    transform: translateY(0);
}

.btn:disabled {
    background: #bdc3c7;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-success {
    background: linear-gradient(135deg, #27ae60, #229954);
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.3);
}

.btn-success:hover {
    box-shadow: 0 6px 20px rgba(39, 174, 96, 0.4);
}

.btn-danger {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
}

.btn-danger:hover {
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.4);
}

.btn-warning {
    background: linear-gradient(135deg, #f39c12, #e67e22);
    box-shadow: 0 4px 15px rgba(243, 156, 18, 0.3);
}

.btn-warning:hover {
    box-shadow: 0 6px 20px rgba(243, 156, 18, 0.4);
}

.btn-small {
    padding: 8px 16px;
    font-size: 14px;
}

.result-section {
    margin-top: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 5px solid #3498db;
}

.preview {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    background: white;
    margin: 15px 0;
    max-height: 400px;
    overflow-y: auto;
    overflow-x: auto;
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.1);
    word-wrap: break-word;
    max-width: 100%;
}

.preview * {
    max-width: 100%;
    box-sizing: border-box;
}

.preview table {
    width: 100% !important;
    table-layout: fixed;
    border-collapse: collapse;
}

.preview table.outline {
    width: 100% !important;
    max-width: 100% !important;
    table-layout: fixed;
}

.preview td, .preview th {
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    max-width: 0;
}

.preview p {
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}

.error {
    color: #e74c3c;
    background: #fadbd8;
    padding: 15px;
    border-radius: 8px;
    border-left: 5px solid #e74c3c;
    margin: 10px 0;
}

.success {
    color: #27ae60;
    background: #d5f4e6;
    padding: 15px;
    border-radius: 8px;
    border-left: 5px solid #27ae60;
    margin: 10px 0;
}

.loading {
    display: none;
    text-align: center;
    padding: 20px;
}

.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 0 auto 15px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.file-info {
    background: #e8f5e8;
    padding: 10px;
    border-radius: 5px;
    margin-top: 10px;
    font-size: 0.9em;
}

.controls {
    text-align: center;
    margin: 20px 0;
}

.file-list {
    margin: 15px 0;
}

.file-item {
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    margin: 10px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.file-item h4 {
    margin: 0 0 10px 0;
    color: #2c3e50;
    font-size: 1.1em;
}

.file-details {
    font-size: 0.9em;
    color: #666;
    margin: 5px 0;
}

.download-buttons {
    margin-top: 15px;
}

.processed-files {
    margin-top: 20px;
}

.description-section {
    background: linear-gradient(135deg, #f8f9ff 0%, #e8f4fd 100%);
    border: 1px solid #d6e9f7;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.1);
}

.description-text {
    color: #2c3e50;
    font-size: 1.1em;
    line-height: 1.6;
    margin: 0 0 20px 0;
    text-align: center;
    font-weight: 500;
}

.usage-steps {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.usage-steps h4 {
    color: #3498db;
    margin: 0 0 15px 0;
    font-size: 1.2em;
    display: flex;
    align-items: center;
    gap: 8px;
}

.usage-steps ol {
    margin: 0;
    padding-left: 20px;
    color: #555;
}

.usage-steps li {
    margin-bottom: 8px;
    line-height: 1.5;
    font-size: 0.95em;
}

.usage-steps li:last-child {
    margin-bottom: 0;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .description-text {
        font-size: 1em;
    }
    
    .usage-steps {
        padding: 15px;
    }
    
    .usage-steps ol {
        padding-left: 15px;
    }
}

.notice-section {
    background: linear-gradient(135deg, #fff5f5 0%, #ffeaa7 100%);
    border: 1px solid #f39c12;
    border-radius: 8px;
    padding: 18px;
    margin-top: 20px;
    position: relative;
}

.notice-section::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #f39c12 0%, #e67e22 100%);
    border-radius: 4px 0 0 4px;
}

.notice-section h5 {
    color: #d35400;
    margin: 0 0 12px 0;
    font-size: 1.1em;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.notice-list {
    margin: 0;
    padding-left: 18px;
    color: #8b4513;
    font-size: 0.9em;
}

.notice-list li {
    margin-bottom: 6px;
    line-height: 1.4;
    position: relative;
}

.notice-list li:last-child {
    margin-bottom: 0;
}

.notice-list li::marker {
    color: #e67e22;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .notice-section {
        padding: 15px;
        margin-top: 15px;
    }
    
    .notice-section h5 {
        font-size: 1em;
    }
    
    .notice-list {
        padding-left: 15px;
        font-size: 0.85em;
    }
}
.announcement-section {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 40px 0;
    margin-top: 50px;
}

.announcement-section .container {
    background: none;
    box-shadow: none;
    padding: 0 30px;
}

.announcement-section h2 {
    color: white;
    text-align: center;
    margin-bottom: 40px;
    font-size: 2em;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.announcement-section h3 {
    color: #74b9ff;
    margin-bottom: 20px;
    font-size: 1.4em;
}

.status-table-wrapper {
    background: white;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.status-table-wrapper h3 {
    color: #2c3e50;
    margin-top: 0;
}

.status-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.status-table th {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    padding: 15px;
    text-align: left;
    font-weight: 600;
    font-size: 1.1em;
}

.status-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #ecf0f1;
    color: #2c3e50;
}

.status-table tbody tr:hover {
    background-color: #f8f9fa;
    transition: background-color 0.2s ease;
}

.status-table tbody tr:last-child td {
    border-bottom: none;
}

.completed-row {
    background-color: #d5f4e6 !important;
}

.completed-row:hover {
    background-color: #c3e6d0 !important;
}

.status-completed {
    background: linear-gradient(135deg, #27ae60, #229954);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: 600;
    display: inline-block;
}

.status-pending {
    background: linear-gradient(135deg, #95a5a6, #7f8c8d);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: 600;
    display: inline-block;
}

.support-links {
    background: rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 25px;
    backdrop-filter: blur(10px);
}

.support-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-top: 20px;
}

.support-item {
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
    padding: 20px;
    border: 1px solid rgba(255,255,255,0.1);
}

.support-item h4 {
    color: #74b9ff;
    margin: 0 0 10px 0;
    font-size: 1.1em;
}

.support-item p {
    color: #bdc3c7;
    margin-bottom: 15px;
    line-height: 1.5;
    font-size: 0.95em;
}

.support-link {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 0.95em;
}

.feedback-link {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
}

.feedback-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.4);
}

.email-link {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
}

.email-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
}

/* レスポンシブ対応 */
@media (max-width: 968px) {
    .support-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .announcement-section {
        padding: 30px 0;
    }
    
    .announcement-section .container {
        padding: 0 20px;
    }
    
    .announcement-section h2 {
        font-size: 1.6em;
    }
    
    .status-table-wrapper,
    .support-links {
        padding: 20px;
    }
    
    .status-table th,
    .status-table td {
        padding: 10px;
        font-size: 0.9em;
    }
    
    .support-item {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .status-table {
        font-size: 0.8em;
    }
    
    .status-table th,
    .status-table td {
        padding: 8px;
    }
    
    .status-completed,
    .status-pending {
        padding: 4px 8px;
        font-size: 0.8em;
    }
}