/**
 * ガチ恋度診断 - 専用スタイル
 */

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

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

/* プログレスバー */
.gkd-progress {
	height: 6px;
	background: var(--color-border);
	border-radius: 3px;
	overflow: hidden;
	margin-bottom: 8px;
}

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

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

/* 質問 */
.gkd-question {
	margin-bottom: 20px;
	min-height: 60px;
}

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

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

.gkd-option {
	display: block;
	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;
}

.gkd-option:hover {
	border-color: #E91E63;
	background: rgba(233, 30, 99, 0.04);
}

.gkd-option.selected {
	border-color: #E91E63;
	background: rgba(233, 30, 99, 0.08);
	color: #C2185B;
}

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

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

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

.gkd-analyze-icons {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 8px;
	font-size: 28px;
}

.gkd-analyze-icon-item {
	opacity: 0.2;
	transition: opacity 0.3s ease, transform 0.3s ease;
}

.gkd-analyze-icon-item.active {
	opacity: 1;
	transform: scale(1.3);
}

/* ===== 結果ヘッダー ===== */
.gkd-result-header {
	padding: 40px 20px 32px;
	text-align: center;
	border-bottom: 1px solid var(--color-border);
	animation: gkdFadeIn 0.5s ease;
}

.gkd-result-icon {
	display: flex;
	justify-content: center;
	margin-bottom: 12px;
}

.gkd-type-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	color: #fff;
	font-family: var(--font-display);
	font-weight: 700;
	line-height: 1;
	flex-shrink: 0;
}
.gkd-type-badge--lg { width: 56px; height: 56px; font-size: 26px; box-shadow: 0 4px 16px rgba(0,0,0,0.1); }
.gkd-type-badge--md { width: 36px; height: 36px; font-size: 17px; }
.gkd-type-badge--sm { width: 32px; height: 32px; font-size: 15px; }

.gkd-result-name {
	font-family: var(--font-display);
	font-size: 24px;
	font-weight: 700;
	color: var(--color-primary-dark);
	margin-bottom: 12px;
}

.gkd-result-keywords {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 8px;
}

.gkd-keyword-chip {
	display: inline-block;
	font-size: 12px;
	font-weight: 500;
	color: var(--color-text-secondary);
	background: var(--color-bg);
	padding: 4px 12px;
	border-radius: 20px;
}

/* ===== ハートメーターセクション ===== */
.gkd-heart-section {
	padding: 20px;
	border-bottom: 1px solid var(--color-border);
	text-align: center;
	animation: gkdFadeIn 0.6s ease;
}

.gkd-heart-title {
	font-family: var(--font-display);
	font-size: 14px;
	font-weight: 700;
	color: var(--color-text);
	margin-bottom: 14px;
}

.gkd-heart-gauge {
	display: flex;
	justify-content: center;
	padding: 10px 0;
}

.gkd-heart-gauge canvas {
	max-width: 100%;
	height: auto;
}

/* ===== 心の声セクション ===== */
.gkd-innervoice-section {
	padding: 20px;
	border-bottom: 1px solid var(--color-border);
	animation: gkdFadeIn 0.6s ease;
}

.gkd-innervoice-label {
	font-family: var(--font-display);
	font-size: 14px;
	font-weight: 700;
	color: var(--color-text);
	margin-bottom: 12px;
}

.gkd-innervoice-text {
	font-size: 15px;
	font-style: italic;
	color: var(--color-text-secondary);
	line-height: 1.8;
	padding: 16px 20px;
	background: var(--color-bg);
	border-radius: var(--radius);
	position: relative;
}

.gkd-innervoice-text::before {
	content: '\201C';
	font-size: 32px;
	color: #E91E63;
	position: absolute;
	top: 4px;
	left: 8px;
	line-height: 1;
	font-style: normal;
}

.gkd-innervoice-text::after {
	content: '\201D';
	font-size: 32px;
	color: #E91E63;
	position: absolute;
	bottom: 0;
	right: 8px;
	line-height: 1;
	font-style: normal;
}

/* ===== あなたのガチ恋タイプ ===== */
.gkd-description-section {
	padding: 20px;
	border-bottom: 1px solid var(--color-border);
	background: var(--color-bg);
}

.gkd-description-title {
	font-family: var(--font-display);
	font-size: 14px;
	font-weight: 700;
	color: var(--color-text);
	margin-bottom: 10px;
}

.gkd-description-text {
	font-size: 14px;
	color: var(--color-text-secondary);
	line-height: 1.8;
}

/* ===== あるある行動 ===== */
.gkd-behavior-section {
	padding: 20px;
	border-bottom: 1px solid var(--color-border);
}

.gkd-behavior-title {
	font-family: var(--font-display);
	font-size: 14px;
	font-weight: 700;
	color: var(--color-text);
	margin-bottom: 10px;
}

.gkd-behavior-text {
	font-size: 14px;
	color: var(--color-text-secondary);
	line-height: 1.8;
}

/* ===== 恋の自覚チェック ===== */
.gkd-selfcheck-section {
	padding: 20px;
	border-bottom: 1px solid var(--color-border);
	background: var(--color-bg);
	animation: gkdFadeIn 0.6s ease;
}

.gkd-selfcheck-title {
	font-family: var(--font-display);
	font-size: 14px;
	font-weight: 700;
	color: var(--color-text);
	margin-bottom: 12px;
}

.gkd-selfcheck-title::before {
	content: '';
	display: inline-block;
	width: 18px;
	height: 18px;
	background: #E91E63;
	border-radius: 4px;
	margin-right: 6px;
	vertical-align: middle;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 11.5L3 8l1-1 2.5 2.5L12 4l1 1z' fill='%23fff'/%3E%3C/svg%3E");
	background-size: 14px 14px;
	background-repeat: no-repeat;
	background-position: center;
}

.gkd-selfcheck-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.gkd-selfcheck-item {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: 12px 14px;
	background: var(--color-white);
	border-radius: var(--radius);
	font-size: 14px;
	color: var(--color-text-secondary);
	line-height: 1.6;
}

.gkd-selfcheck-item::before {
	content: '';
	display: inline-block;
	width: 16px;
	height: 16px;
	min-width: 16px;
	border: 2px solid #E91E63;
	border-radius: 3px;
	margin-top: 2px;
	flex-shrink: 0;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 11.5L3 8l1-1 2.5 2.5L12 4l1 1z' fill='%23E91E63'/%3E%3C/svg%3E");
	background-size: 12px 12px;
	background-repeat: no-repeat;
	background-position: center;
}

/* ===== 恋のスタイル ===== */
.gkd-lovestyle-section {
	padding: 20px;
	border-bottom: 1px solid var(--color-border);
}

.gkd-lovestyle-title {
	font-family: var(--font-display);
	font-size: 14px;
	font-weight: 700;
	color: var(--color-text);
	margin-bottom: 12px;
}

.gkd-lovestyle-text {
	font-size: 14px;
	color: var(--color-text-secondary);
	line-height: 1.8;
	padding: 16px;
	background: var(--color-bg);
	border-left: 4px solid #E91E63;
	border-radius: 0 var(--radius) var(--radius) 0;
}

/* ===== レーダーチャート ===== */
.gkd-chart-section {
	padding: 20px;
	border-bottom: 1px solid var(--color-border);
	background: var(--color-bg);
}

.gkd-chart-title {
	font-family: var(--font-display);
	font-size: 14px;
	font-weight: 700;
	color: var(--color-text);
	margin-bottom: 14px;
}

.gkd-chart-container {
	display: flex;
	justify-content: center;
	padding: 10px 0;
}

.gkd-chart-container canvas {
	max-width: 100%;
	height: auto;
}

/* ===== 関連タイプ ===== */
.gkd-related-section {
	padding: 20px;
	border-bottom: 1px solid var(--color-border);
}

.gkd-related-title {
	font-family: var(--font-display);
	font-size: 14px;
	font-weight: 700;
	color: var(--color-text);
	margin-bottom: 14px;
}

.gkd-related-list {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.gkd-related-item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 16px;
	background: var(--color-bg);
	border-radius: var(--radius);
}

.gkd-related-icon {
	flex-shrink: 0;
}

.gkd-related-info {
	flex: 1;
	min-width: 0;
}

.gkd-related-label {
	font-size: 12px;
	font-weight: 700;
	margin-bottom: 2px;
}

.gkd-related-label--empathy {
	color: #E91E63;
}

.gkd-related-label--escalation {
	color: #8D6E63;
}

.gkd-related-name {
	font-size: 14px;
	font-weight: 500;
	color: var(--color-text);
}

.gkd-related-reason {
	font-size: 12px;
	color: var(--color-text-muted);
	margin-top: 2px;
}

/* ===== 推し活を長く楽しむコツ ===== */
.gkd-tips-section {
	padding: 20px;
	border-bottom: 1px solid var(--color-border);
	background: var(--color-bg);
}

.gkd-tips-title {
	font-family: var(--font-display);
	font-size: 14px;
	font-weight: 700;
	color: var(--color-text);
	margin-bottom: 14px;
}

.gkd-tips-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.gkd-tips-step {
	padding: 16px;
	background: var(--color-white);
	border-radius: var(--radius);
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.gkd-tips-step-header {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 8px;
}

.gkd-tips-number {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: #E91E63;
	color: #fff;
	font-family: var(--font-display);
	font-size: 14px;
	font-weight: 700;
	flex-shrink: 0;
}

.gkd-tips-step-title {
	font-family: var(--font-display);
	font-size: 14px;
	font-weight: 700;
	color: var(--color-text);
}

.gkd-tips-detail {
	font-size: 13px;
	color: var(--color-text-secondary);
	line-height: 1.8;
	padding-left: 38px;
}

/* ===== 心へのメッセージ ===== */
.gkd-message-section {
	padding: 20px;
}

.gkd-message-title {
	font-family: var(--font-display);
	font-size: 14px;
	font-weight: 700;
	color: var(--color-text);
	margin-bottom: 14px;
}

.gkd-message-text {
	font-size: 15px;
	font-weight: 500;
	line-height: 1.8;
	color: var(--color-text-secondary);
	padding: 16px;
	background: var(--color-bg);
	border-left: 4px solid #E91E63;
	border-radius: 0 var(--radius) var(--radius) 0;
}

/* ===== タイプ概要グリッド ===== */
.gkd-type-overview {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 10px;
	margin-top: 16px;
}

.gkd-type-chip {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 12px;
	background: var(--color-bg);
	border-radius: var(--radius);
	cursor: default;
}

.gkd-type-chip-icon {
	flex-shrink: 0;
}

.gkd-type-chip-text {
	font-size: 13px;
	font-weight: 500;
	color: var(--color-text-secondary);
	line-height: 1.3;
}

/* ===== シェアボタン ===== */
.btn-share {
	padding: 10px 20px;
	font-size: 14px;
	font-weight: 500;
	color: var(--color-white);
	background: #1DA1F2;
	border: none;
	border-radius: var(--radius);
	cursor: pointer;
	transition: background 0.2s ease;
}

.btn-share:hover {
	background: #1a91da;
}

/* ===== アニメーション ===== */
@keyframes gkdFadeIn {
	from {
		opacity: 0;
		transform: translateY(8px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* ===== レスポンシブ ===== */
@media (max-width: 600px) {
	.gkd-quiz-area {
		padding: 24px 16px;
	}

	.gkd-question-text {
		font-size: 15px;
	}

	.gkd-option {
		padding: 12px 14px;
		font-size: 13px;
	}

	.gkd-type-badge--lg {
		width: 48px;
		height: 48px;
		font-size: 22px;
	}

	.gkd-result-name {
		font-size: 20px;
	}

	.gkd-type-overview {
		grid-template-columns: 1fr;
	}

	.gkd-analyze-icons {
		font-size: 24px;
		gap: 6px;
	}

	.gkd-tips-detail {
		padding-left: 0;
		margin-top: 6px;
	}

	.action-section {
		flex-wrap: wrap;
	}
}
