body {
    font-family: 'Noto Sans JP', Arial, sans-serif;
    margin: 20px;
}
h2 {
    margin-bottom: 20px;
}
.field-group {
    display: flex;
    gap: 30px;
    margin-bottom: 15px;
}
.field {
    display: flex;
    flex-direction: column;
}
.field label {
    margin-bottom: 5px;
    font-weight: bold;
}
.field input[type="text"] {
    width: 300px;
    padding: 6px;
    border: 1px solid #ccc;
    border-radius: 4px;
}
.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
}
.checkbox-group input {
    margin: 0;
}
table {
    /* table-layout: fixed는 모든 컬럼을 동일한 너비로 만들려고 하므로, 여기서는 사용하지 않습니다. */
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}
th, td {
    border: 1px solid #ccc;
    padding: 8px;
    text-align: center;
}
input[type="text"], input[type="number"] {
     width: 95%;
     padding: 4px;
}
button {
    padding: 8px 15px;
    margin: 10px 5px 10px 0;
    cursor: pointer;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #f0f0f0;
}
button:hover {
    background-color: #e0e0e0;
}
[contenteditable="true"] {
    background-color: #f9f9f9;
}
[contenteditable="true"]:focus {
    background-color: #eef;
    outline: 2px solid #aadeff;
}
.hidden {
    display: none;
}
#tableControls {
    margin-top: 10px;
}

/* 데이터 입력 테이블의 각 컬럼 너비를 동일하게 고정합니다. */
#insertTable th, #insertTable td {
    width: 33.33%;
}

.example-row {
    background-color: #f0f0f0;
    color: #555;
    font-style: italic;
}

[contenteditable="true"]:empty::before {
    content: attr(placeholder);
    color: #999;
    pointer-events: none;
}
