/* --------------------------------------------------------------------------------------
   アンケートで聞けた！こんなホンネ（当社の魅力・福利厚生）
--------------------------------------------------------------------------------------- */

.recruit-survey {
	--s: clamp(.7px, calc(100vw / 1920), 1px);
	--cw: calc(395 * var(--s));
	--qw: calc(360 * var(--s));
	position: relative;
	z-index: 1;
}

.survey-ttl {
	align-items: center;
	background-color: #1e5ab3;
	border-radius: 0 calc(40 * var(--s)) 0 0;
	box-sizing: border-box;
	color: #fff;
	display: flex;
	font-size: calc(40 * var(--s));
	font-weight: 700;
	height: calc(120 * var(--s));
	line-height: 1.3;
	padding-left: calc((100% - 1280 * var(--s)) / 2 + 4 * var(--s));
	width: calc((100% - 1280 * var(--s)) / 2 + 801 * var(--s));
}

.survey-ttl img {
	height: auto;
	margin-left: calc(20 * var(--s));
	width: calc(62 * var(--s));
}

.survey-body {
	background-color: #e8f0fd;
	padding: calc(73 * var(--s)) 0 calc(58 * var(--s));
	position: relative;
}

.survey-charts {
	display: flex;
	gap: calc((100% - 3 * var(--cw)) / 2);
	margin: 0 auto;
	width: min(calc(1394 * var(--s)), calc(100% - 80 * var(--s)));
}

.survey-charts li {
	align-items: center;
	display: flex;
	flex-direction: column;
	width: var(--cw);
}

/* 吹き出し */
.survey-question {
	align-items: center;
	background-color: #fff;
	border-radius: calc(8 * var(--s));
	box-shadow: calc(3 * var(--s)) calc(4 * var(--s)) calc(10 * var(--s)) rgba(30, 90, 179, .15);
	box-sizing: border-box;
	display: flex;
	flex-shrink: 0;
	font-size: calc(22 * var(--s));
	font-weight: 700;
	height: calc(110 * var(--s));
	justify-content: center;
	letter-spacing: .05em;
	line-height: 1.6;
	position: relative;
	text-align: center;
	white-space: nowrap;
	width: var(--qw);
}

.survey-question::after {
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 24'%3E%3Cpath fill='%23fff' d='M4 0h24C23 13 14 21 0 23 6 17 6 8 4 0z'/%3E%3C/svg%3E") no-repeat center / contain;
	content: '';
	filter: drop-shadow(calc(2 * var(--s)) calc(2 * var(--s)) calc(2 * var(--s)) rgba(30, 90, 179, .12));
	height: calc(24 * var(--s));
	left: calc(50% + 35 * var(--s));
	position: absolute;
	top: calc(100% - 1px);
	width: calc(28 * var(--s));
}

/* 円グラフ */
.survey-pie {
	height: var(--cw);
	margin-top: calc(82 * var(--s));
	position: relative;
	width: var(--cw);
}

.survey-pie svg {
	display: block;
	height: 100%;
	width: 100%;
}

.survey-pie .no { fill: #fff; }

.survey-pie .rather { fill: #0881dd; }

.survey-pie .neither { fill: #36a767; }

.survey-pie .yes { fill: #e94709; }

.survey-pie .very { fill: #fe912f; }

.survey-pie span {
	color: #fff;
	font-size: calc(var(--cw) * 40 / 395);
	font-weight: 700;
	line-height: 1;
	position: absolute;
	transform: translate(-50%, -50%);
	white-space: nowrap;
}

.survey-pie span.small { font-size: calc(var(--cw) * 30 / 395); }

.survey-pie span.dark { color: #010101; }

.survey-inner {
	margin: calc(72 * var(--s)) auto 0;
	text-align: left;
	width: calc(1280 * var(--s));
}

/* 凡例 */
.survey-legend {
	display: flex;
	flex-wrap: wrap;
	font-size: calc(22 * var(--s));
	font-weight: 700;
	gap: calc(8 * var(--s)) calc(36 * var(--s));
	letter-spacing: .05em;
	line-height: 1.3;
}

.survey-legend li {
	align-items: center;
	display: flex;
}

.survey-legend li::before {
	content: '';
	flex-shrink: 0;
	height: calc(40 * var(--s));
	margin-right: calc(14 * var(--s));
	width: calc(40 * var(--s));
}

.survey-legend .no::before { background-color: #fff; }

.survey-legend .rather::before { background-color: #0881dd; }

.survey-legend .neither::before { background-color: #36a767; }

.survey-legend .yes::before { background-color: #e94709; }

.survey-legend .very::before { background-color: #fe912f; }

.survey-note {
	font-size: calc(14 * var(--s));
	font-weight: 700;
	line-height: 1.5;
	margin-top: calc(14 * var(--s));
}

.survey-note span:first-child { margin-right: 1em; }

.survey-more {
	display: flex;
	justify-content: flex-end;
	margin-top: calc(40 * var(--s));
}

.survey-more a {
	align-items: center;
	background-color: #fff;
	border-radius: calc(8 * var(--s));
	box-sizing: border-box;
	color: #0881dd;
	display: flex;
	font-size: calc(18 * var(--s));
	font-weight: 700;
	height: calc(72 * var(--s));
	justify-content: center;
	letter-spacing: .05em;
	position: relative;
	width: calc(424 * var(--s));
}

.survey-more a::after {
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 13'%3E%3Cpath fill='none' stroke='%230881dd' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M1.5 11.5h27l-8-10'/%3E%3C/svg%3E") no-repeat center / contain;
	content: '';
	height: calc(13 * var(--s));
	position: absolute;
	right: calc(18 * var(--s));
	top: calc(50% - 7 * var(--s));
	width: calc(30 * var(--s));
}

/* 福利厚生（凡例・注記・ボタンを右の列に並べる）
--------------------------------------------------------------------------------------- */

.benefits-survey { --qw: calc(400 * var(--s)); }

.benefits-survey .survey-body { padding-bottom: calc(100 * var(--s)); }

.benefits-survey .survey-inner {
	bottom: calc(100 * var(--s));
	display: flex;
	flex-direction: column;
	left: calc(50% + 217 * var(--s));
	margin: 0;
	position: absolute;
	top: calc(86 * var(--s));
	width: calc(424 * var(--s));
}

.benefits-survey .survey-legend,
.benefits-survey .survey-note { margin-left: calc(213 * var(--s)); }

.benefits-survey .survey-legend {
	flex-direction: column;
	gap: calc(15 * var(--s));
}

.benefits-survey .survey-legend li,
.benefits-survey .survey-note { white-space: nowrap; }

.benefits-survey .survey-note { margin-top: calc(30 * var(--s)); }

.benefits-survey .survey-note span { display: block; }

.benefits-survey .survey-more { margin-top: auto; }

@media (min-width: 1000px) {

	.survey-more a,
	.survey-more a::after { transition: all .3s ease-in-out; }

	.survey-more a:hover {
		background-color: #0881dc;
		color: #fff;
		text-decoration: none;
	}

	.survey-more a:hover::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 13'%3E%3Cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M1.5 11.5h27l-8-10'/%3E%3C/svg%3E"); }
}

@media (max-width: 1000px) {

	.recruit-survey,
	.benefits-survey {
		--cw: 66.667vw;
		--qw: 80vw;
	}

	.survey-ttl {
		border-radius: 0 4.267vw 0 0;
		font-size: 4.8vw;
		height: 14.933vw;
		padding-left: 4.267vw;
		width: calc(100% - 4.267vw);
	}

	.survey-ttl img {
		margin-left: 2.133vw;
		width: 8vw;
	}

	.survey-body,
	.benefits-survey .survey-body { padding: 9.6vw 4.267vw 12vw; }

	.survey-charts {
		display: block;
		width: auto;
	}

	.survey-charts li { width: auto; }

	.survey-charts li + li { margin-top: 12vw; }

	.survey-question {
		border-radius: 1.6vw;
		box-shadow: .8vw .8vw 2.667vw rgba(30, 90, 179, .15);
		font-size: 4vw;
		height: auto;
		padding: 3.733vw 0;
	}

	.survey-question::after {
		height: 5.333vw;
		left: 47vw;
		width: 6.133vw;
	}

	.survey-pie { margin-top: 13.333vw; }

	.survey-inner,
	.benefits-survey .survey-inner {
		display: block;
		margin-top: 12vw;
		position: static;
		width: auto;
	}

	.survey-legend,
	.benefits-survey .survey-legend {
		display: grid;
		font-size: 3.733vw;
		gap: 2.667vw 4.8vw;
		grid-template-columns: repeat(2, max-content);
	}

	.survey-legend li::before {
		height: 5.333vw;
		margin-right: 2.133vw;
		width: 5.333vw;
	}

	.benefits-survey .survey-legend,
	.benefits-survey .survey-note { margin-left: 0; }

	.survey-note,
	.benefits-survey .survey-note {
		font-size: 2.933vw;
		margin-top: 3.2vw;
	}

	.survey-note span,
	.benefits-survey .survey-note span { display: inline; }

	.survey-note span:first-child {
		display: block;
		margin-right: 0;
	}

	.survey-more,
	.benefits-survey .survey-more {
		justify-content: center;
		margin-top: 8vw;
	}

	.survey-more a {
		border-radius: 1.6vw;
		font-size: 4vw;
		height: 14.933vw;
		width: 100%;
	}

	.survey-more a::after {
		height: 2.933vw;
		right: 4.8vw;
		top: calc(50% - 1.6vw);
		width: 6.667vw;
	}
}
