@charset "UTF-8";
@font-face {
	font-family: 'Ferrari-font';
	src: url(fonts/Ferrari-SansLight.woff) format('woff'), url(fonts/Ferrari-SansLight.otf) format('opentype'),
}
@font-face {
	font-family: 'Ferrari-Medium-font';
	src: url(fonts/Ferrari-SansMedium.woff) format('woff'), url(fonts/Ferrari-SansMedium.otf) format('opentype'),
}
:root {
	--primary: #f00;
	--primary-dark: #cc0000;
	--bg: #f5f7fb;
	--bg-dark: #f3f3f3;
	--card: #ffffff;
	--text: #1f2937;
	--muted: #6b7280;
	--border: #e5e7eb;
}
* {
	box-sizing: border-box;
}
body {
	min-height: 100vh;
	margin: 0;
	padding: 0;
	font-family: Hiragino Kaku Gothic ProN, YuGothic, Meiryo, sans-serif;
	color: var(--text);
	background: #fff;
}
.Ferrari-font {
  font-family: 'Ferrari-font', sans-serif; 
}
.Ferrari-Medium-font {
  font-family: 'Ferrari-Medium-font', sans-serif; 
}
.sp-block {
	display: none;
}
.container {
	width: 100%;
	max-width: 680px;
}
.card {
	padding: 32px;
	background: var(--card);
	border: 1px solid #ddd;
	border-radius: 16px;
}
.progress {
	margin-bottom: 24px;
}
.progress-label {
	margin-bottom: 8px;
	font-family: 'Ferrari-font', sans-serif; 
	font-size: 13px;
	letter-spacing: 0.03em;
	color: var(--muted);
}
.progress-bar {
	height: 6px;
	overflow: hidden;
	background: var(--border);
	border-radius: 999px;
}
.progress-fill {
	width: 50%;
	height: 100%;
	background: var(--primary);
	border-radius: 999px;
	transition: width 0.4s ease;
}
.step {
	display: none;
	animation: fadeIn 0.35s ease;
}
.step.active {
	display: block;
}
@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(8px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}
h1 {
	margin: 0 0 24px;
	font-size: 20px;
	line-height: 1.5;
}
.options {
	display: grid;
	gap: 12px;
}
.opt-btn {
	padding: 16px;
	font-size: 16px;
	text-align: center;
	color: var(--text);
	background: #fff;
	border: 2px solid var(--border);
	border-radius: 12px;
	transition: all 0.15s ease;
	appearance: none;
	cursor: pointer;
}
.opt-btn:hover {
	background: #fff0f0;
	border-color: var(--primary);
}
.opt-btn:active {
	transform: scale(0.98);
}
.back-btn {
	margin-top: 20px;
	padding: 4px 0;
	font-size: 14px;
	color: var(--muted);
	background: none;
	border: none;
	cursor: pointer;
}
.back-btn:hover {
	color: var(--text);
}
.back-btn a {
	color: var(--muted);
}
.back-btn a:hover {
	color: var(--text);
}
.loading {
	padding: 20px 0;
	text-align: center;
	color: var(--muted);
}
/* ---- ヘッダー（タイトル） ---- */
.site-header {
	padding: 16px 24px;
	background: var(--card);
	border-bottom: 3px solid var(--primary);
}
.site-header-inner {
	display: flex;
	align-items: baseline;
	gap: 16px;
	width: 100%;
	max-width: 960px;
	margin: 0 auto;
}
.site-title {
	margin: 0;
  font-family: 'Ferrari-Medium-font', sans-serif; 
	font-size: 16px;
	font-weight: normal;
	letter-spacing: 0.12em;
}
.site-tagline {
	font-size: 12px;
	color: var(--muted);
}
/* ---- キービジュアル ---- */
.keyvisual {
  width: 100%;
  background: #000;
}
.keyvisual .inner {
	max-width: 960px;
	margin: 0 auto;
}
.keyvisual-img {
  display: block;
  width: 100%;
  height: auto;
}
/* ---- メインエリア ---- */
.main-area {
	width: 100%;
	max-width: 960px;
	margin: 0 auto;
	padding: 56px 24px;
}
.lead {
	margin-bottom: 56px;
	text-align: center;
}
.answers {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 4px 16px;
	margin: 0;
	padding: 16px 20px;
	background: var(--bg-dark);
	font-size: 13px;
}
.answers dd {
	margin: 0;
	font-weight: 700;
}
.section-label {
	margin: 0 0 16px;
  font-family: 'Ferrari-font', sans-serif; 
	font-size: 12px;
  font-family: 'Ferrari-Medium-font', sans-serif;
	letter-spacing: 0.25em;
	color: var(--primary);
}
.section-label.center {
	text-align: center;
}
.section-heading {
	margin: 0 0 40px;
	font-size: 26px;
	font-weight: 800;
	line-height: 1.4;
	color: var(--text);
}
.section-heading.center {
	text-align: center;
}
.lead-text {
	max-width: 640px;
	margin: 0 auto;
	font-size: 15px;
	line-height: 1.9;
	color: var(--text);
}
/* ---- 設問エリア（カードをメイン内に中央配置） ---- */
.container {
	margin: 0 auto;
}
.question-title {
	margin: 0 0 24px;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.5;
	color: var(--text);
}
.noscript-note {
	margin: 0 0 20px;
	font-size: 14px;
	line-height: 1.6;
	color: #b91c1c;
}
/* ---- フッター（コピーライト） ---- */
.site-footer {
	padding: 28px 24px;
	text-align: center;
	background: #1a1a1a;
}
.copyright {
	font-size: 12px;
	letter-spacing: 0.08em;
	color: #bbb;
}
@media screen and (max-width:767px) {
	.pc-block {
		display: none;
	}
	.sp-block {
		display: block;
	}
	.site-header-inner {
		flex-direction: column;
		align-items: flex-start;
		gap: 4px;
	}
	.main-area {
		padding: 40px 20px;
	}
	.container {
		max-width: 480px;
	}
	.section-heading {
		margin: 0 0 32px;
		font-size: 22px;
	}
	.opt-btn {
		text-align: left;
	}
}