body {
    max-width: 760px;
    margin: 0 auto;
    padding: 24px 16px;
    background: #f4f6f8;
    color: #222;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI",
        "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
    line-height: 1.7;
}

h1 {
    margin: 0 0 24px;
    padding-bottom: 12px;
    border-bottom: 3px solid #4f6f8f;
    font-size: 2rem;
}

form {
    padding: 20px;
    background: #ffffff;
    border: 1px solid #d8dee4;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

label {
    font-weight: bold;
}

input[type="text"],
textarea {
    box-sizing: border-box;
    width: 100%;
    margin-top: 6px;
    padding: 10px;
    border: 1px solid #b8c0c8;
    border-radius: 6px;
    background: #fff;
    font: inherit;
}

textarea {
    resize: vertical;
}

button {
    padding: 10px 20px;
    border: 0;
    border-radius: 6px;
    background: #4f6f8f;
    color: #fff;
    font: inherit;
    font-weight: bold;
    cursor: pointer;
}

button:hover {
    opacity: 0.88;
}

article {
    margin-top: 18px;
    padding: 18px;
    background: #ffffff;
    border: 1px solid #d8dee4;
    border-radius: 10px;
}

article strong {
    margin-right: 8px;
}

article small {
    color: #66707a;
}

article p {
    margin-bottom: 0;
    overflow-wrap: anywhere;
}

hr {
    display: none;
}

@media (max-width: 600px) {
    body {
        padding: 16px 10px;
    }

    h1 {
        font-size: 1.6rem;
    }

    form,
    article {
        padding: 14px;
    }
}

/* あいもげ避難区 カラーテーマ */
body {
    background: #fffef0;
    color: #981b16;
}

h1 {
    color: #981b16;
    border-bottom-color: #b23a32;
}

form {
    background: #f3e1d8;
    border-color: #e4c8bc;
    box-shadow: none;
}

label {
    color: #981b16;
}

input[type="text"],
textarea {
    background: #fffdf1;
    color: #981b16;
    border-color: #d6b6a8;
}

button {
    background: #a32a24;
    color: #ffffff;
}

article {
    background: #f0ddd4;
    border-color: #e4c8bc;
    box-shadow: none;
    color: #981b16;
}

article strong {
    color: #176b3a;
}

article small {
    color: #981b16;
}

a {
    color: #a00000;
}


/* 管理者削除を右下の小さな三角だけにする */
article {
    position: relative;
    padding-bottom: 38px;
}

article details {
    position: absolute;
    right: 14px;
    bottom: 10px;
}

article details summary {
    width: 18px;
    font-size: 12px;
    cursor: pointer;
    list-style: none;
    opacity: 0.45;
}

article details summary::-webkit-details-marker {
    display: none;
}

article details summary::before {
    content: "▶";
}

article details[open] summary::before {
    content: "▼";
}

article details form {
    margin-top: 6px;
    padding: 8px;
    background: #fffaf0;
    border: 1px solid #d8b8ad;
    border-radius: 6px;
}
