body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: #f4f4f9;
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    padding: 20px;
    box-sizing: border-box;
}
.container {
    background: #fff;
    padding: 30px 40px;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    text-align: center;
    width: 100%;
    max-width: 800px;
    box-sizing: border-box;
}
h1 {
    color: #333;
    margin-bottom: 10px;
    font-size: 2em;
}
h1 a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.2s;
}
h1 a:hover {
    opacity: 0.7;
}
p {
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}
.drop-area {
    border: 3px dashed #dcdcdc;
    border-radius: 10px;
    padding: 60px 20px;
    text-align: center;
    color: #999;
    transition: all 0.3s ease;
    cursor: pointer;
}
.drop-area.highlight {
    border-color: #4CAF50;
    color: #4CAF50;
    background-color: #f0fff0;
}
.drop-area p {
    margin: 0;
    font-size: 1.2em;
}
#results-table-container {
    margin-top: 30px;
    width: 100%;
    overflow-x: auto;
    text-align: left;
}
.results-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    /* ▼▼▼【修正点1】テーブルのレイアウトアルゴリズムを固定 ▼▼▼ */
    table-layout: fixed;
}
.results-table th, .results-table td {
    border: 1px solid #ddd;
    padding: 12px 15px;
    vertical-align: middle;
    /* ▼▼▼【修正点2】セル内で単語を強制的に改行させる ▼▼▼ */
    word-break: break-all;
}
.results-table th {
    background-color: #4CAF50;
    color: white;
    text-transform: uppercase;
    font-size: 0.85em;
    letter-spacing: 0.05em;
}
.results-table tr:nth-child(even) {
    background-color: #f9f9f9;
}
.results-table tr:hover {
    background-color: #f1f1f1;
}
.file-name-td {
    font-weight: bold;
    color: #333;
}
.mime-type-td {
    font-family: monospace, monospace;
    color: #d63384;
}
.accuracy-td {
    color: #f5b025;
    font-size: 1.1em;
}
.loading {
    color: #999;
    font-style: italic;
}