body {
    font-family: sans-serif;
    margin: 0;
    padding: 20px;
    background-color: #f4f4f4;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

h1, h2 {
    text-align: center;
    color: #333;
    font-size: 2em; /* フォントを大きく */
}

.input-section {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

#memo-input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1.2em; /* フォントを大きく */
    box-sizing: border-box;
}

button {
    padding: 10px 15px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1.2em; /* フォントを大きく */
}

button:hover {
    background-color: #0056b3;
}

.memo-list-section {
    margin-top: 30px;
}

#memo-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

#memo-table th, #memo-table td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
    font-size: 1.1em; /* フォントを大きく */
}

#memo-table th {
    background-color: #e2e2e2;
}

#memo-table tbody tr:nth-child(even) {
    background-color: #f9f9f9; /* 偶数行の色分け */
}

#memo-table .delete-btn {
    background-color: #dc3545;
    font-size: 1em; /* ボタン内のフォントサイズを調整 */
}

#memo-table .delete-btn:hover {
    background-color: #c82333;
}

#memo-table .editable-memo, #memo-table .editable-date {
    min-width: 150px; /* 編集可能フィールドの最小幅 */
}

@media (max-width: 600px) {
    .container {
        padding: 10px;
    }
    h1, h2 {
        font-size: 1.5em;
    }
    #memo-input, button, #memo-table th, #memo-table td {
        font-size: 1em;
    }
    #memo-table th:nth-child(2), #memo-table td:nth-child(2) {
        display: none; /* スマホで日時カラムを非表示にする例 */
    }
}