* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: sans-serif;
    background: #f5f5f5;
    padding: 24px;
    color: #333;
}

h1 {
    font-size: 24px;
    margin-bottom: 24px;
}

h2 {
    font-size: 18px;
    margin-bottom: 12px;
}

section {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 24px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

/* フォーム */
#form-section input {
    display: block;
    width: 100%;
    padding: 8px 12px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

#form-section button {
    padding: 8px 20px;
    background: #4a90e2;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
}

#form-section button:hover {
    background: #357abd;
}

/* テーブル */
table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

th, td {
    padding: 10px 12px;
    border-bottom: 1px solid #eee;
    text-align: left;
}

th {
    background: #f0f0f0;
    font-weight: bold;
}

tr:hover {
    background: #fafafa;
}

/* ボタン */
td button {
    padding: 4px 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    margin-right: 4px;
}

td button:first-child {
    background: #5cb85c;
    color: #fff;
}

td button:last-child {
    background: #d9534f;
    color: #fff;
}