/* ===== AGAクーポン診断（コンパクト版） ===== */
.agds-tool{
	--agds-accent:#1f9e74;
	--agds-btn:#ff7a00;
	max-width:600px;margin:20px auto;background:#fff;border-radius:12px;
	border:1px solid #e6e6e6;box-shadow:0 3px 12px rgba(0,0,0,.06);overflow:hidden;
	font-family:-apple-system,BlinkMacSystemFont,"Hiragino Sans","Noto Sans JP",sans-serif;
	color:#333;line-height:1.55;
}

/* ヘッダー */
.agds-header{
	background:var(--agds-accent); /* フォールバック */
	background:linear-gradient(135deg,var(--agds-accent),color-mix(in srgb,var(--agds-accent) 72%,#000));
	color:#fff;padding:14px 18px;text-align:center;
}
.agds-kicker{
	display:inline-block;background:rgba(255,255,255,.22);font-size:11px;font-weight:700;
	padding:2px 10px;border-radius:14px;letter-spacing:.03em;margin-bottom:5px;
}
.agds-title{font-size:18px;font-weight:800;margin:1px 0 4px;line-height:1.35;}
.agds-lead{font-size:12px;opacity:.92;line-height:1.5;}

/* 進捗 */
.agds-progress{padding:12px 18px 2px;}
.agds-progress-text{display:flex;justify-content:space-between;font-size:12px;font-weight:700;margin-bottom:5px;}
.agds-progress-label{color:var(--agds-accent);}
.agds-progress-step{color:#999;}
.agds-progress-bar-wrap{height:6px;background:#eee;border-radius:6px;overflow:hidden;}
.agds-progress-bar{height:100%;background:var(--agds-accent);border-radius:6px;transition:width .3s;}

/* 設問 */
.agds-step{padding:12px 18px 16px;}
.agds-question-title{font-size:15px;font-weight:800;margin-bottom:10px;line-height:1.45;}
.agds-options{display:flex;flex-direction:column;gap:8px;}
.agds-option{
	text-align:left;padding:11px 13px;border:1.5px solid #e2e2e2;background:#fafafa;
	border-radius:9px;font-size:14px;cursor:pointer;transition:all .15s;color:#333;
	font-family:inherit;line-height:1.45;
}
.agds-option:hover{border-color:var(--agds-accent);background:#f3fbf8;}
.agds-option.is-selected{
	border-color:var(--agds-accent);background:#e9f7f1;font-weight:700;
	box-shadow:0 0 0 2px color-mix(in srgb,var(--agds-accent) 22%,transparent);
}

.agds-error{color:#d23;font-size:12px;margin-top:8px;min-height:1em;}

/* ナビ */
.agds-nav{display:flex;justify-content:space-between;gap:10px;margin-top:14px;}
.agds-nav button{
	font-family:inherit;font-size:14px;font-weight:700;padding:9px 18px;border-radius:8px;
	cursor:pointer;border:none;transition:all .15s;
}
.agds-back-button{background:#f0f0f0;color:#555;}
.agds-back-button:hover{background:#e4e4e4;}
.agds-next-button,.agds-diagnose-button{background:var(--agds-accent);color:#fff;margin-left:auto;}
.agds-next-button:hover,.agds-diagnose-button:hover{filter:brightness(1.07);}
.agds-next-button:disabled,.agds-diagnose-button:disabled{background:#cfcfcf;cursor:not-allowed;}
.agds-diagnose-button{background:var(--agds-btn);}

/* 結果 */
.agds-result-step{padding:16px 18px 20px;}
.agds-result-block{margin-bottom:14px;}
.agds-result-label{
	display:inline-block;background:var(--agds-accent);color:#fff;font-size:11px;
	font-weight:700;padding:2px 10px;border-radius:5px;margin-bottom:6px;
}
.agds-result-title{font-size:17px;font-weight:800;line-height:1.45;}
.agds-result-heading{
	font-size:14px;font-weight:800;color:var(--agds-accent);
	border-left:3px solid var(--agds-accent);padding-left:8px;margin-bottom:8px;
}
.agds-result-list{margin:0;padding:0;list-style:none;}
.agds-result-list li{position:relative;padding:6px 6px 6px 24px;border-bottom:1px dashed #e3e3e3;font-size:14px;}
.agds-result-list li:last-child{border-bottom:none;}
.agds-result-list li::before{content:"\2713";position:absolute;left:5px;top:6px;color:var(--agds-accent);font-weight:800;}
.agds-result-text{font-size:14px;background:#f7fbf9;border-radius:7px;padding:10px 12px;}

/* 結果ボタン */
.agds-result-cta{display:flex;flex-direction:column;gap:10px;margin-top:4px;}
.agds-result-button{
	display:flex;flex-direction:column;align-items:center;text-decoration:none;
	background:var(--agds-btn);color:#fff;font-weight:800;font-size:16px;
	padding:13px 16px;border-radius:10px;box-shadow:0 3px 0 rgba(0,0,0,.16);
	transition:transform .12s,filter .12s;
}
.agds-result-button:hover{transform:translateY(-1px);filter:brightness(1.06);}
.agds-result-button-sub{font-size:11px;font-weight:600;opacity:.92;margin-bottom:2px;}
.agds-result-button-text::after{content:" \25B6";font-size:12px;}

.agds-retry-wrap{text-align:center;margin-top:14px;}
.agds-retry-button{background:none;border:none;color:#888;font-size:12px;text-decoration:underline;cursor:pointer;font-family:inherit;}

/* SP：さらに圧縮 */
@media(max-width:600px){
	.agds-tool{margin:16px auto;border-radius:10px;}
	.agds-header{padding:12px 14px;}
	.agds-title{font-size:16px;}
	.agds-lead{font-size:11.5px;}
	.agds-progress{padding:10px 14px 2px;}
	.agds-step{padding:10px 14px 14px;}
	.agds-question-title{font-size:14px;margin-bottom:8px;}
	.agds-options{gap:7px;}
	.agds-option{padding:10px 12px;font-size:13.5px;border-radius:8px;}
	.agds-nav button{padding:9px 14px;font-size:13.5px;}
	.agds-result-title{font-size:15px;}
	.agds-result-button{font-size:15px;padding:12px;}
}
