.diagnosis-intro {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 80px 24px;
}

.diagnosis-intro h1 {
    font-size: 42px;
    font-weight: 300;
    line-height: 2;
    letter-spacing: 0.04em;
    margin-bottom: 16px;
}

.diagnosis-intro p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 40px;
}

.progress-bar {
    width: 100%;
    max-width: 480px;
    margin: 0 auto 48px;
    padding: 0 24px;
}

.progress-track {
    height: 3px;
    background: var(--border);
    position: relative;
    border-radius: 2px;
}

.progress-fill {
    height: 3px;
    background: var(--text);
    width: 0;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
}

.progress-text {
    font-size: 11px;
    letter-spacing: 0.2em;
    color: #595959;
    text-align: center;
    margin-top: 12px;
}

.question-slide {
    max-width: 640px;
    margin: 0 auto;
    padding: 0 24px 80px;
}

.question-slide.hidden {
    display: none;
}

.question-number {
    font-size: 11px;
    letter-spacing: 0.3em;
    color: #595959;
    margin-bottom: 24px;
}

.question-text {
    font-size: 26px;
    font-weight: 300;
    line-height: 1.9;
    letter-spacing: 0.03em;
    margin-bottom: 48px;
}

.choices {
    display: flex;
    flex-direction: column;
    gap: 1px;
    background: var(--border);
}

.choice {
    background: var(--bg);
    padding: 24px 32px;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    display: flex;
    align-items: center;
    gap: 16px;
}

.choice:hover {
    background: #FAFAFA;
}

.choice:active {
    transform: scale(0.99);
}

/* 選択済みフィードバック */
.choice.selected {
    background: #F5F5F5;
}

.choice.selected .choice-indicator {
    border-color: var(--text);
    background: var(--text);
    animation: pulse 0.4s ease;
}

.choice.selected .choice-text {
    font-weight: 500;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

.choice input[type="radio"] {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.choice:focus-within {
    outline: 2px solid var(--text);
    outline-offset: -2px;
}

.choice-indicator {
    width: 18px;
    height: 18px;
    border: 1px solid var(--border);
    border-radius: 50%;
    flex-shrink: 0;
    transition: all 0.3s;
}

.choice input[type="radio"]:checked + .choice-indicator {
    border-color: var(--text);
    background: var(--text);
}

.choice-text {
    font-size: 16px;
    line-height: 1.8;
    transition: font-weight 0.2s;
}

.question-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 48px;
}

/* シェイクアニメーション（未回答バリデーション） */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-6px); }
    40% { transform: translateX(6px); }
    60% { transform: translateX(-4px); }
    80% { transform: translateX(4px); }
}

.choices.shake {
    animation: shake 0.4s ease;
}

/* ローディング画面 */
.loading-screen {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    text-align: center;
    padding: 80px 24px;
}

.loading-screen.active {
    display: flex;
}

.loading-text {
    font-size: 16px;
    letter-spacing: 0.05em;
    color: #595959;
    animation: fadeInOut 2s ease-in-out infinite;
}

@keyframes fadeInOut {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}

@media (max-width: 768px) {
    .diagnosis-intro h1 {
        font-size: 28px;
    }

    .question-text {
        font-size: 20px;
    }

    .choice {
        padding: 20px 24px;
    }
}
