body {
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    color: #333;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}
.main {
    max-width: 800px;
    margin: 30px auto;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
h1 {
    font-size: 24px;
    border-bottom: 2px solid #007BFF;
    padding-bottom: 10px;
    margin-bottom: 20px;
}
label {
    font-weight: bold;
    display: block;
    margin-top: 15px;
}
input[type="text"], textarea {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}
input[type="submit"], button.btn {
    background-color: #007BFF;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    margin-top: 20px;
}
input[type="submit"]:hover, button.btn:hover {
    background-color: #0056b3;
}
/* 管理画面用テーブル */
table.manage-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}
table.manage-table th, table.manage-table td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
}
table.manage-table th {
    background-color: #f2f2f2;
}
/* プレビューエリア */
#preview-area {
    border: 2px dashed #ccc;
    padding: 20px;
    margin-top: 20px;
    background: #fafafa;
    min-height: 100px;
    display: none; /* 初期は非表示 */
}
.status-badge {
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
}
.status-public { background: #d4edda; color: #155724; }
.status-private { background: #f8d7da; color: #721c24; }
.writer-name { text-align: right; color: #666; font-size: 0.9em; margin-top: 20px; }