/**
 * 服の捨て時診断 - 専用スタイル
 */

:root {
	--fsd-primary: #D4849A;
	--fsd-primary-light: rgba(212, 132, 154, 0.08);
	--fsd-primary-border: rgba(212, 132, 154, 0.3);
}

/* ===== 質問エリア ===== */
.fsd-quiz-area {
	padding: 32px 20px;
}

.fsd-quiz-inner {
	max-width: 520px;
	margin: 0 auto;
}

.fsd-progress {
	height: 6px;
	background: var(--color-border);
	border-radius: 3px;
	overflow: hidden;
	margin-bottom: 8px;
}

.fsd-progress-bar {
	height: 100%;
	width: 0;
	background: linear-gradient(90deg, #D4849A, #C06C84);
	border-radius: 3px;
	transition: width 0.4s ease;
}

.fsd-progress-text {
	font-size: 12px;
	color: var(--color-text-muted);
	text-align: right;
	margin-bottom: 24px;
}

.fsd-question {
	margin-bottom: 20px;
	min-height: 50px;
}

.fsd-question-text {
	font-family: var(--font-display);
	font-size: 16px;
	font-weight: 700;
	color: var(--color-text);
	line-height: 1.7;
}

/* ===== 選択肢 ===== */
.fsd-options {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.fsd-option {
	display: flex;
	align-items: center;
	gap: 12px;
	width: 100%;
	padding: 14px 16px;
	font-family: inherit;
	font-size: 14px;
	font-weight: 500;
	color: var(--color-text);
	text-align: left;
	line-height: 1.6;
	background: var(--color-white);
	border: 2px solid var(--color-border);
	border-radius: var(--radius);
	cursor: pointer;
	transition: all 0.2s ease;
}

.fsd-option:hover {
	border-color: var(--fsd-primary);
	background: var(--fsd-primary-light);
}

.fsd-option.selected {
	border-color: var(--fsd-primary);
	background: var(--fsd-primary-light);
}

.fsd-option-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	font-size: 16px;
	font-weight: 700;
	color: #fff;
	border-radius: 50%;
	flex-shrink: 0;
}

.fsd-option-text {
	flex: 1;
}

/* ===== 分析アニメーション ===== */
.fsd-analyze-area {
	padding: 60px 20px;
	text-align: center;
}

.fsd-analyze-inner {
	max-width: 400px;
	margin: 0 auto;
}

.fsd-analyze-title {
	font-family: var(--font-display);
	font-size: 16px;
	font-weight: 700;
	color: var(--color-text);
	margin-bottom: 24px;
}

.fsd-analyze-icons {
	display: flex;
	justify-content: center;
	gap: 12px;
}

.fsd-analyze-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	font-size: 16px;
	font-weight: 700;
	color: #fff;
	border-radius: 50%;
	animation: fsdBounce 0.6s ease-in-out infinite alternate;
}

.fsd-analyze-icon:nth-child(2) { animation-delay: 0.12s; }
.fsd-analyze-icon:nth-child(3) { animation-delay: 0.24s; }
.fsd-analyze-icon:nth-child(4) { animation-delay: 0.36s; }

@keyframes fsdBounce {
	0% { transform: translateY(0); }
	100% { transform: translateY(-10px); }
}

/* ===== 結果エリア ===== */
.fsd-result-area {
	padding: 24px 20px;
}

.fsd-result-inner {
	max-width: 520px;
	margin: 0 auto;
}

/* 結果カード */
.fsd-result-card {
	border-radius: 12px;
	padding: 24px 20px;
	text-align: center;
	opacity: 0;
	transform: translateY(16px);
	animation: fsdCardIn 0.6s ease forwards 0.1s;
}

@keyframes fsdCardIn {
	to { opacity: 1; transform: translateY(0); }
}

.fsd-result-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	font-size: 24px;
	font-weight: 700;
	color: #fff;
	border-radius: 50%;
	margin-bottom: 14px;
}

.fsd-result-label {
	font-family: var(--font-display);
	font-size: 22px;
	font-weight: 700;
	color: var(--color-text);
	margin-bottom: 6px;
}

.fsd-result-sublabel {
	font-size: 13px;
	color: var(--color-text-muted);
	margin-bottom: 16px;
}

.fsd-result-reason {
	font-size: 14px;
	color: var(--color-text);
	line-height: 1.8;
	text-align: left;
	padding: 14px 16px;
	background: rgba(255, 255, 255, 0.6);
	border-radius: 8px;
	margin-bottom: 16px;
}

/* アクションリスト */
.fsd-result-actions {
	display: flex;
	flex-direction: column;
	gap: 8px;
	text-align: left;
}

.fsd-result-actions-title {
	font-size: 13px;
	font-weight: 700;
	color: var(--color-text);
	margin-bottom: 4px;
}

.fsd-action-item {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	font-size: 13px;
	color: var(--color-text);
	line-height: 1.6;
}

.fsd-action-dot {
	display: inline-block;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	margin-top: 7px;
	flex-shrink: 0;
}

/* 結果タイプ別カラー */
.fsd-result-card--sell {
	background: linear-gradient(135deg, rgba(45, 166, 142, 0.08), rgba(45, 166, 142, 0.03));
	border: 2px solid rgba(45, 166, 142, 0.3);
}
.fsd-result-card--sell .fsd-result-icon { background: #2DA68E; }
.fsd-result-card--sell .fsd-action-dot { background: #2DA68E; }

.fsd-result-card--donate {
	background: linear-gradient(135deg, rgba(61, 122, 191, 0.08), rgba(61, 122, 191, 0.03));
	border: 2px solid rgba(61, 122, 191, 0.3);
}
.fsd-result-card--donate .fsd-result-icon { background: #3D7ABF; }
.fsd-result-card--donate .fsd-action-dot { background: #3D7ABF; }

.fsd-result-card--keep {
	background: linear-gradient(135deg, rgba(212, 160, 23, 0.08), rgba(212, 160, 23, 0.03));
	border: 2px solid rgba(212, 160, 23, 0.3);
}
.fsd-result-card--keep .fsd-result-icon { background: #D4A017; }
.fsd-result-card--keep .fsd-action-dot { background: #D4A017; }

.fsd-result-card--dispose {
	background: linear-gradient(135deg, rgba(136, 136, 136, 0.08), rgba(136, 136, 136, 0.03));
	border: 2px solid rgba(136, 136, 136, 0.3);
}
.fsd-result-card--dispose .fsd-result-icon { background: #888888; }
.fsd-result-card--dispose .fsd-action-dot { background: #888888; }

/* CTA（コメントアウト状態で準備） */
/*
.fsd-cta-area {
	margin-top: 16px;
}

.fsd-cta-box {
	padding: 14px 16px;
	background: rgba(255, 255, 255, 0.7);
	border-radius: 8px;
	text-align: left;
}

.fsd-cta-text {
	font-size: 13px;
	color: var(--color-text);
	line-height: 1.7;
	margin-bottom: 10px;
}

.fsd-cta-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 10px 20px;
	font-family: inherit;
	font-size: 14px;
	font-weight: 600;
	color: #fff;
	background: linear-gradient(135deg, #2DA68E, #25917B);
	border: none;
	border-radius: var(--radius);
	text-decoration: none;
	cursor: pointer;
	transition: all 0.2s;
}

.fsd-cta-button:hover {
	background: linear-gradient(135deg, #25917B, #1E7D68);
	color: #fff;
}
*/

/* Tip */
.fsd-result-tip {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	margin-top: 20px;
	padding: 14px 16px;
	font-size: 13px;
	color: var(--color-text);
	line-height: 1.7;
	background: var(--fsd-primary-light);
	border: 1px solid var(--fsd-primary-border);
	border-radius: 8px;
}

.fsd-tip-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	font-size: 12px;
	font-weight: 700;
	color: #fff;
	background: var(--fsd-primary);
	border-radius: 50%;
	flex-shrink: 0;
	margin-top: 1px;
}

/* ===== アクション一覧（説明セクション） ===== */
.fsd-actions-overview {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.fsd-overview-card {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: 12px;
	background: var(--color-bg);
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
}

.fsd-overview-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	font-size: 13px;
	font-weight: 700;
	color: #fff;
	border-radius: 50%;
	flex-shrink: 0;
}

.fsd-overview-body { flex: 1; }

.fsd-overview-name {
	font-size: 13px;
	font-weight: 700;
	color: var(--color-text);
}

.fsd-overview-desc {
	font-size: 11px;
	color: var(--color-text-muted);
	line-height: 1.5;
}

/* ===== レスポンシブ ===== */
@media (max-width: 480px) {
	.fsd-result-label {
		font-size: 20px;
	}
}

@media (max-width: 360px) {
	.fsd-quiz-area,
	.fsd-result-area {
		padding: 24px 16px;
	}
}
