/* introduction.html固有のtable, historyのみ記述 */
table {
    width: 50%;
    border-collapse: collapse;
    margin: 24px 0 32px 0;
    font-size: 1.05rem;
    background: none;
    /* 追加: レスポンシブ用 */
    word-break: break-word;
}

thead th {
    background: #399;
    color: #fff;
    font-weight: bold;
    padding: 12px 20px;
    border-bottom: 2px solid #399;
    text-align: left;
    letter-spacing: 0.03em;
}

tbody td {
    padding: 10px 20px;
    border-bottom: 1px solid #e0e0e0;
    color: #222;
}

tbody tr:last-child td {
    border-bottom: none;
}

tbody tr:hover {
    background: #f0f8fa;
    transition: background 0.2s;
}

.history-container {
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    width: 50%;
    /* 追加: レスポンシブ用 */
    gap: 24px;
}

.history-item p {
    margin: 5px 0;
    text-align: left;
}

/* レスポンシブ対応 */
@media (max-width: 600px) {
    table {
        width: 90%;
        font-size: 0.9rem;
        display: block;
        overflow-x: auto;
        margin: 16px 0 24px 0;
    }

    thead,
    tbody,
    tr {
        display: table;
        width: 100%;
        table-layout: fixed;
    }

    thead th,
    tbody td {
        padding: 8px 8px;
        word-break: break-word;
    }

    .history-container {
        width: 80%;
        gap: 16px;
    }

    .history-item h2 {
        font-size: 1.05rem;
        margin-bottom: 4px;
    }

    .history-item p {
        width: 100%;
        font-size: 0.9rem;
    }
}