body {
    font-family: Arial, sans-serif;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    background-color: #f8e8ea;
    color: #383838;
}

header {
    background-color: #f9d9db;
    padding: 2px 0;
    margin-bottom: 30px;
    border-bottom: 2px solid #e9b9bb;
}

section {
    margin-bottom: 30px;
}

h1, h2 {
    font-weight: normal;
}

#setsumei {
    text-align: left;
}

form {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

label {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 15px;
}

input, select {
    font-size: 18px;
    margin: 5px;
    padding: 5px 10px;
    border: 1px solid #e9b9bb;
    border-radius: 5px;
}

button {
    font-size: 18px;
    margin: 5px;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    background-color: #e9b9bb;
    color: white;
    cursor: pointer;
    transition: 0.3s;
}

button:hover {
    background-color: #d9a9ab;
}

#result {
    display: inline-block;
    background-color: #f9d9db;
    padding: 20px;
    border: 2px solid #e9b9bb;
    border-radius: 5px;
}

dl {
    display: grid;
    grid-template-columns: 1fr 3.5fr;
    grid-gap: 2px;
    justify-items: start;
}

#diagnosis {
    text-align: left;
}

#taiken {
    margin-bottom: 30px;
}

#taiken img { width: 100%; }

footer {
    background-color: #f9d9db;
    padding: 10px 0;
    border-top: 2px solid #e9b9bb;
    text-align: center;
}

@media screen and (max-width: 480px) {
    body {
        padding: 0 10px;
    }

    form {
        flex-direction: column;
        align-items: center;
    }
}
