body {
    font-family: 'Helvetica Neue', Arial, 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Meiryo', sans-serif;
    background-color: #f0f2f5;
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
}

.container {
    background-color: #fff;
    padding: 40px 50px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 700px;
    box-sizing: border-box;
    text-align: center;
}

h1 {
    color: #4a148c; /* ダークパープル */
    margin-bottom: 10px;
    font-size: 2.2em;
    letter-spacing: 1px;
}

h2 {
    color: #6a1b9a; /* パープル */
    margin-top: 30px;
    font-size: 1.8em;
}

.question {
    background-color: #fbfaff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
    text-align: left;
    transition: box-shadow 0.3s ease;
}

.question:hover {
    box-shadow: 0 5px 15px rgba(106, 27, 154, 0.1);
}

.question p {
    font-size: 1.15em;
    font-weight: bold;
    color: #555;
    margin-top: 0;
}

.question label {
    display: block;
    margin: 15px 0;
    font-size: 1em;
    cursor: pointer;
    transition: color 0.2s ease-in-out;
}

.question label:hover {
    color: #9c27b0; /* マゼンタパープル */
}

input[type="radio"] {
    accent-color: #6a1b9a; /* ラジオボタンの色 */
    margin-right: 12px;
    transform: scale(1.2);
    cursor: pointer;
}

#submit-btn {
    background-color: #6a1b9a;
    color: #fff;
    border: none;
    padding: 15px 30px;
    font-size: 1.1em;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

#submit-btn:hover {
    background-color: #4a148c;
    transform: translateY(-2px);
}

#result-container {
    margin-top: 40px;
    padding: 30px;
    background-color: #f3e5f5; /* 薄いパープル */
    border: 1px solid #ce93d8;
    border-radius: 12px;
    text-align: left;
    line-height: 1.8;
}

#result-text {
    font-size: 1.6em;
    font-weight: bold;
    color: #4a148c;
    margin-bottom: 15px;
}

#result-description {
    font-size: 1.1em;
    color: #555;
}

.hidden {
    display: none;
}