/**
 * 現場職キャリアパス診断 - 専用スタイル
 */

:root {
	--gcs-primary: #D4A017;
	--gcs-primary-light: rgba(212, 160, 23, 0.08);
	--gcs-primary-border: rgba(212, 160, 23, 0.3);
}

/* ===== 質問エリア ===== */
.gcs-quiz-area { padding: 32px 20px; }
.gcs-quiz-inner { max-width: 520px; margin: 0 auto; }

.gcs-progress { height: 6px; background: var(--color-border); border-radius: 3px; overflow: hidden; margin-bottom: 8px; }
.gcs-progress-bar { height: 100%; width: 0; background: linear-gradient(90deg, #D4A017, #B8860B); border-radius: 3px; transition: width 0.4s ease; }
.gcs-progress-text { font-size: 12px; color: var(--color-text-muted); text-align: right; margin-bottom: 24px; }

.gcs-question { margin-bottom: 20px; min-height: 50px; }
.gcs-question-text { font-family: var(--font-display); font-size: 16px; font-weight: 700; color: var(--color-text); line-height: 1.7; }

/* 選択肢 */
.gcs-options { display: flex; flex-direction: column; gap: 10px; }
.gcs-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;
}
.gcs-option:hover { border-color: var(--gcs-primary); background: var(--gcs-primary-light); }
.gcs-option.selected { border-color: var(--gcs-primary); background: var(--gcs-primary-light); }
.gcs-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;
}
.gcs-option-text { flex: 1; }

/* 分析アニメーション */
.gcs-analyze-area { padding: 60px 20px; text-align: center; }
.gcs-analyze-inner { max-width: 400px; margin: 0 auto; }
.gcs-analyze-title { font-family: var(--font-display); font-size: 16px; font-weight: 700; color: var(--color-text); margin-bottom: 24px; }
.gcs-analyze-icons { display: flex; justify-content: center; gap: 12px; }
.gcs-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: gcsBounce 0.6s ease-in-out infinite alternate;
}
.gcs-analyze-icon:nth-child(2) { animation-delay: 0.12s; }
.gcs-analyze-icon:nth-child(3) { animation-delay: 0.24s; }
.gcs-analyze-icon:nth-child(4) { animation-delay: 0.36s; }
@keyframes gcsBounce { 0% { transform: translateY(0); } 100% { transform: translateY(-10px); } }

/* ===== 結果エリア ===== */
.gcs-result-area { padding: 24px 20px; }
.gcs-result-inner { max-width: 560px; margin: 0 auto; }
.gcs-result-lead { font-family: var(--font-display); font-size: 17px; font-weight: 700; color: var(--color-text); text-align: center; margin-bottom: 20px; }
.gcs-result-list { display: flex; flex-direction: column; gap: 16px; }

/* 結果カード */
.gcs-result-card {
	background: var(--color-white); border: 2px solid var(--color-border); border-radius: 12px;
	padding: 20px; position: relative;
	opacity: 0; transform: translateY(16px); animation: gcsCardIn 0.5s ease forwards;
}
.gcs-result-card:nth-child(1) { animation-delay: 0.1s; }
.gcs-result-card:nth-child(2) { animation-delay: 0.3s; }
.gcs-result-card:nth-child(3) { animation-delay: 0.5s; }
@keyframes gcsCardIn { to { opacity: 1; transform: translateY(0); } }

.gcs-result-card--1st { border-color: #DAA520; background: linear-gradient(135deg, rgba(218,165,32,0.04), rgba(255,215,0,0.02)); }
.gcs-result-card--2nd { border-color: #A0A0A0; background: linear-gradient(135deg, rgba(160,160,160,0.04), rgba(192,192,192,0.02)); }
.gcs-result-card--3rd { border-color: #CD7F32; background: linear-gradient(135deg, rgba(205,127,50,0.04), rgba(222,184,135,0.02)); }

.gcs-rank-badge {
	position: absolute; top: -10px; left: 16px;
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 48px; height: 24px; padding: 0 10px;
	font-size: 11px; font-weight: 700; color: #fff; border-radius: 12px;
}
.gcs-result-card--1st .gcs-rank-badge { background: linear-gradient(135deg, #DAA520, #B8860B); }
.gcs-result-card--2nd .gcs-rank-badge { background: linear-gradient(135deg, #A0A0A0, #808080); }
.gcs-result-card--3rd .gcs-rank-badge { background: linear-gradient(135deg, #CD7F32, #A0652B); }

/* カードヘッダー */
.gcs-card-header { display: flex; align-items: center; gap: 12px; margin-top: 8px; margin-bottom: 12px; }
.gcs-job-icon {
	display: flex; align-items: center; justify-content: center;
	width: 44px; height: 44px; font-size: 20px; font-weight: 700;
	color: #fff; border-radius: 50%; flex-shrink: 0;
}
.gcs-job-name { font-family: var(--font-display); font-size: 18px; font-weight: 700; color: var(--color-text); }

/* 適性理由 */
.gcs-reason { font-size: 13px; color: var(--color-text); line-height: 1.7; margin-bottom: 14px; padding: 10px 12px; background: var(--color-bg); border-radius: 8px; }

/* メトリクス */
.gcs-metrics { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.gcs-metric {
	display: inline-flex; align-items: center; gap: 4px;
	font-size: 12px; padding: 4px 10px; border-radius: 20px;
	background: var(--color-bg); border: 1px solid var(--color-border);
}
.gcs-metric-label { color: var(--color-text-muted); font-weight: 500; }
.gcs-metric-value { font-weight: 700; color: var(--color-text); }
.gcs-metric-value--salary { color: #D4A017; }

/* ロードマップ */
.gcs-roadmap { padding: 10px 12px; background: var(--color-bg); border-radius: 8px; }
.gcs-roadmap-title { font-size: 12px; font-weight: 700; color: var(--color-text-muted); margin-bottom: 8px; }
.gcs-roadmap-steps { display: flex; flex-direction: column; gap: 6px; }
.gcs-roadmap-step { display: flex; align-items: flex-start; gap: 8px; font-size: 12px; color: var(--color-text); line-height: 1.5; }
.gcs-roadmap-num {
	display: flex; align-items: center; justify-content: center;
	width: 20px; height: 20px; font-size: 10px; font-weight: 700;
	color: #fff; background: var(--gcs-primary); border-radius: 50%; flex-shrink: 0; margin-top: 1px;
}

/* CTA（コメントアウト状態で準備） */
/*
.gcs-cta-area { margin-top: 14px; }
.gcs-cta-box { padding: 14px 16px; background: rgba(212,160,23,0.06); border: 1px solid var(--gcs-primary-border); border-radius: 8px; }
.gcs-cta-text { font-size: 13px; color: var(--color-text); line-height: 1.7; margin-bottom: 10px; }
.gcs-cta-button {
	display: inline-flex; align-items: center; justify-content: center; width: 100%;
	padding: 10px 16px; font-family: inherit; font-size: 14px; font-weight: 600;
	color: #fff; background: linear-gradient(135deg, #D4A017, #B8860B);
	border: none; border-radius: var(--radius); text-decoration: none; cursor: pointer; transition: all 0.2s;
}
.gcs-cta-button:hover { background: linear-gradient(135deg, #B8860B, #9A7209); color: #fff; }
*/

/* 職種一覧 */
.gcs-jobs-overview { display: flex; flex-direction: column; gap: 10px; }
.gcs-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);
}
.gcs-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;
}
.gcs-overview-body { flex: 1; }
.gcs-overview-name { font-size: 13px; font-weight: 700; color: var(--color-text); }
.gcs-overview-desc { font-size: 11px; color: var(--color-text-muted); line-height: 1.5; }

/* レスポンシブ */
@media (max-width: 480px) { .gcs-job-name { font-size: 16px; } }
@media (max-width: 360px) { .gcs-quiz-area, .gcs-result-area { padding: 24px 16px; } .gcs-metrics { gap: 6px; } .gcs-metric { font-size: 11px; padding: 3px 8px; } }
