/* --------------------------------------------------------------------------------------
   社員アンケート
--------------------------------------------------------------------------------------- */

/* 円グラフのアニメーション用（0→1 の進み具合） */
@property --es-donut-a { inherits: false; initial-value: 0deg; syntax: '<angle>'; }
@property --es-pie-p {
	inherits: true;
	initial-value: 0;
	syntax: '<number>';
}

.page-employee-survey .key-sub { background-image: url(../../img/recruit/employee-survey/key_image.jpg); }

.page-employee-survey {
	--es-blue: #0881dc;
	--es-yellow: #ffec59;
	--es-ease: cubic-bezier(.4, .4, 0, 1);
}

.page-employee-survey .Barlow,
.es-num,
.es-lbl small,
.es-lbl--yes .es-lbl__ttl,
.es-lbl--no .es-lbl__ttl,
.es-question__no { font-family: 'Barlow', sans-serif; }

/* リード
--------------------------------------------------------------------------------------- */

.es-lead { padding: 58px 0 0; }

.es-lead .box { text-align: center; }

.es-lead__ttl {
	font-weight: 700;
	letter-spacing: 1.8px;
	line-height: 57px;
}

.es-lead__catch {
	color: var(--es-blue);
	display: block;
	font-size: 4rem;
}

.es-lead__catch img {
	height: 39px;
	vertical-align: -4px;
	width: 47px;
}

.es-lead__main {
	display: block;
	font-size: 3.6rem;
}

.es-lead__text {
	font-size: 1.6rem;
	letter-spacing: .8px;
	line-height: 1.8;
	margin-top: 32px;
}

/* 年代・勤続年数
--------------------------------------------------------------------------------------- */

.es-profile { padding: 50px 0 107px; }

.es-profile .box {
	border-top: 5px solid var(--es-blue);
	box-sizing: content-box;
	height: 540px;
	margin-top: 0;
	padding-top: 40px;
	position: relative;
}

.es-profile__read,
.es-pie__ttl,
.es-pie__chart,
.es-profile__note { position: absolute; }

.es-profile__read {
	box-sizing: border-box;
	color: var(--es-blue);
	font-size: 1.8rem;
	font-weight: 700;
	left: 0;
	letter-spacing: .9px;
	line-height: 28.8px;
	margin: 0 auto;
	max-width: 100%;
	padding: 10px 34px 10px 32px;
	right: 0;
	top: 43px;
	width: fit-content;
}

.es-profile__read span {
	align-items: center;
	box-sizing: border-box;
	display: flex;
	justify-content: center;
	min-height: 54px;
	padding: 13px;
	text-align: center;
}

.es-profile__read::before,
.es-profile__read::after,
.es-profile__read span::before,
.es-profile__read span::after {
	background-color: var(--es-blue);
	content: '';
	position: absolute;
}

.es-profile__read::before { height: 2px; left: 0; top: 15px; width: 124px; }
.es-profile__read::after { bottom: 12px; height: 2px; right: 0; width: 124px; }
.es-profile__read span::before { height: 45px; left: 11px; top: 0; width: 2px; }
.es-profile__read span::after { bottom: 0; height: 45px; right: 14px; width: 2px; }

.es-pie { display: contents; }

.es-pie__ttl {
	background-color: var(--es-yellow);
	border-radius: 15px;
	font-size: 2rem;
	font-weight: 700;
	letter-spacing: 1.5px;
	line-height: 1;
	padding: 22px 24px;
	top: 172px;
	z-index: 2;
}

.es-pie--age .es-pie__ttl { left: 26px; }
.es-pie--years .es-pie__ttl { left: 522px; }

.es-pie__chart { --u: 1px; }

.es-pie--age .es-pie__chart { height: 394px; left: 119px; top: 154px; width: 379px; }
.es-pie--years .es-pie__chart { height: 300px; left: 672px; top: 198px; width: 300px; }

.es-pie__chart > svg:first-child {
	position: absolute;
	transform: rotate(-90deg);
}

.es-pie--age .es-pie__chart > svg:first-child { height: calc(350 * var(--u)); left: 0; top: calc(44 * var(--u)); width: calc(350 * var(--u)); }
.es-pie--years .es-pie__chart > svg:first-child { height: 100%; left: 0; top: 0; width: 100%; }

.es-pie__seg {
	fill: none;
	stroke-dasharray: var(--val) 100;
	stroke-dashoffset: calc(var(--from) * -1);
	stroke-width: 175;
}

.es-pie--years .es-pie__seg { stroke-width: 150; }

.es-pie__lines {
	height: 100%;
	left: 0;
	overflow: visible;
	position: absolute;
	top: 0;
	width: 100%;
}

.es-pie__lines path,
.es-lines path {
	fill: none;
	stroke: #000;
	stroke-width: 1px;
	transform: translate(.5px, .5px);
	vector-effect: non-scaling-stroke;
}

.es-pie__lbl {
	color: #fff;
	left: calc(var(--x) * var(--u));
	line-height: 1;
	position: absolute;
	text-align: left;
	top: calc(var(--y) * var(--u));
	white-space: nowrap;
}

.es-pie__lbl--dark { color: #3b3b3b; }

.es-pie__lbl dt,
.es-pie__lbl dd { line-height: 1; }

.es-pie__lbl dt {
	font-size: calc(16 * var(--u));
	font-weight: 700;
}

.es-pie__lbl dd {
	display: flex;
	gap: calc(2 * var(--u));
	margin-top: calc(6 * var(--u));
}

.es-pie__lbl dd > span {
	font-size: calc(30 * var(--u));
	font-weight: 700;
	line-height: .8;
}

.es-pie__lbl dd small {
	font-family: 'Barlow', sans-serif;
	font-size: calc(20 * var(--u));
	line-height: .8;
	margin-top: calc(.8 * var(--u));
}

.es-pie__lbl--large dd small { margin-top: calc(2.1 * var(--u)); }

.es-pie__lbl--large dt { font-size: calc(20 * var(--u)); }
.es-pie__lbl--large dd > span { font-size: calc(45 * var(--u)); }

.es-profile__note {
	font-size: 1.4rem;
	letter-spacing: 1px;
	line-height: 20.8px;
	right: 0;
	text-align: right;
	top: 535px;
}

/* セクション
--------------------------------------------------------------------------------------- */

.es-section { position: relative; }

.es-section--01 {
	background-color: #e8f0fd;
	padding-bottom: 140px;
}

.es-section--02 { background: linear-gradient(#fff 230px, var(--es-blue) 230px, var(--es-blue) calc(100% - 50px), #fff calc(100% - 50px)); }

.es-section--03 {
	margin-top: 140px;
	padding-bottom: 90px;
}

.es-section__ttl {
	border-top: 4px solid var(--es-blue);
	color: #fff;
	font-size: 3.4rem;
	font-weight: 700;
	letter-spacing: .15em;
	line-height: 1;
	position: relative;
	text-align: center;
	z-index: 2;
}

.es-section__ttl span {
	align-items: center;
	background-color: var(--es-blue);
	border-radius: 0 0 15px 15px;
	display: inline-flex;
	height: 76px;
	justify-content: center;
	margin-top: -1px;
	padding: 0 70px 0 60px;
	vertical-align: top;
}

.es-section__ttl small { font-size: inherit; }

/* カード
--------------------------------------------------------------------------------------- */

.es-q {
	margin-left: auto;
	margin-right: auto;
	position: relative;
	text-align: left;
	width: 1000px;
}

.es-card {
	background-color: #fff;
	border-radius: 50px;
	box-shadow: 0 4px 4px rgba(0, 0, 0, .2);
	margin-left: auto;
	margin-right: auto;
	position: relative;
	width: 1000px;
}

.es-card::after {
	border: 4px solid var(--es-blue);
	border-radius: 50px;
	content: '';
	inset: 0;
	pointer-events: none;
	position: absolute;
	z-index: 6;
}

.es-shape {
	height: 100%;
	left: 0;
	overflow: visible;
	pointer-events: none;
	position: absolute;
	top: 0;
	width: 100%;
	z-index: 0;
}

.es-shape path {
	fill: #fff;
	filter: drop-shadow(0 4px 4px rgba(0, 0, 0, .2));
}

.es-shape--line { z-index: 6; }

.es-shape--line path {
	fill: none;
	filter: none;
	stroke: var(--es-blue);
	stroke-width: 4px;
}

.es-q--01 { height: 800px; margin-top: 100px; overflow: clip; }
.es-q--02 { height: 773px; margin-top: 97px; }
.es-q--03 { height: 670px; margin-top: -30px; }

.es-card--wide {
	margin-top: 100px;
	padding: 0;
}

.es-q--04 { height: 730px; }
.es-q--05 { height: 888px; }
.es-q--06 { height: 782px; }
.es-q--07 { height: 670px; }

.es-q--08 { height: 664px; margin-top: 73px; }
.es-q--09 { height: 566px; margin-top: 123px; }
.es-q--10 { height: 865px; margin-top: 124px; }

/* 設問
--------------------------------------------------------------------------------------- */

.es-question {
	left: 55px;
	position: absolute;
	top: 50px;
	z-index: 4;
}

.es-q--08 .es-question,
.es-q--10 .es-question { left: 0; top: 0; }
.es-q--09 .es-question { left: 3px; top: 0; }

.es-question__no {
	align-items: center;
	background-color: var(--es-blue);
	border-radius: 10px;
	color: #fff;
	display: flex;
	font-size: 4.8rem;
	font-weight: 700;
	height: 90px;
	justify-content: center;
	letter-spacing: .02em;
	line-height: 1;
	width: 160px;
}

.es-question__ttl {
	font-size: 2.4rem;
	font-weight: 700;
	letter-spacing: .1em;
	line-height: 44px;
	margin-top: 30px;
	white-space: nowrap;
}

.es-question__ttl span {
	background: linear-gradient(var(--es-yellow), var(--es-yellow)) no-repeat left bottom 5px / 100% 18px;
	padding-bottom: 6px;
}

.es-question.is-beside {
	align-items: flex-start;
	display: flex;
}

.es-question.is-beside .es-question__ttl {
	margin: -7px 0 0 40px;
}

@media (min-width: 1001px) {
	.es-q--07 .es-question.is-beside .es-question__ttl { margin-top: 23px; }
	.es-q--02 .es-stairs { clip-path: path('M0 0H680V723A50 50 0 0 1 630 773H50A50 50 0 0 1 0 723Z'); }
}

/* Q8〜Q10 は図版・吹き出しが 1000px の右に最大 60px はみ出すデザイン。
   画面幅 1140px 未満（iPad 横向き 1024px 等）では右端が切れるため、少し縮小して 0〜1060px の範囲を画面中央に収める */
@media (min-width: 1001px) and (max-width: 1139px) {
	.es-section--03 .es-q { transform: translateX(-27px) scale(.9); transform-origin: 50% 0; }
	.es-q--08 { margin-bottom: -66px; } /* 縮小で空いた分（高さ × .1）を詰める */
	.es-q--09 { margin-bottom: -57px; }
	.es-q--10 { margin-bottom: -87px; }
}

/* 図版（ステージ）
--------------------------------------------------------------------------------------- */

.es-stage {
	--u: 1px;
	height: calc(var(--dh) * 1px);
	left: calc(var(--dx) * 1px);
	position: absolute;
	top: calc(var(--dy) * 1px);
	width: calc(var(--dw) * 1px);
	z-index: 2;
}

.es-stage > *:not(.es-lines):not(.es-people),
.es-people li {
	left: calc((var(--x) - var(--dx)) * var(--u));
	position: absolute;
	top: calc((var(--y) - var(--dy)) * var(--u));
	width: calc(var(--w) * var(--u));
}

/* Q6：円グラフ */
.es-donut svg {
	display: block;
	height: auto;
	width: 100%;
}

.es-donut .es-donut__ppl {
	height: 100%;
	left: 0;
	position: absolute;
	top: 0;
}

.es-stage img,
.es-stage .es-gauge {
	display: block;
	height: auto;
	max-width: none;
	width: 100%;
}

.es-lines {
	height: 100%;
	left: 0;
	overflow: visible;
	position: absolute;
	top: 0;
	width: 100%;
	z-index: 3;
}

.es-people { display: contents; }

/* 回答ラベル */

.es-lbl {
	--w: 165;
	--t: 1;
	color: #000;
	line-height: 1;
	text-align: center;
	white-space: nowrap;
	z-index: 4;
}

.es-lbl__ttl,
.es-lbl__val { line-height: 1; }

.es-lbl__ttl {
	overflow: hidden;
	padding-bottom: calc(1 * var(--u));
	position: relative;
}

.es-lbl__ttl::after {
	background-color: currentColor;
	bottom: 0;
	content: '';
	height: 1px;
	left: 0;
	position: absolute;
	width: 100%;
}

.es-lbl__ttl span { display: block; }

.es-lbl__val {
	align-items: flex-start;
	display: flex;
	justify-content: center;
}

.es-num {
	display: inline-flex;
	font-weight: 700;
	letter-spacing: -.01em;
	line-height: 1;
}

.es-lbl small {
	font-weight: 400;
	line-height: 1;
}


.es-lbl--yes { --ft: calc(66 * var(--u)); --fn: calc(72 * var(--u)); --gap: calc(var(--fn) * .25 - var(--u) - var(--ft) * .068); }
.es-lbl--neither { --ft: calc(16 * var(--u) * var(--t)); --fn: calc(40 * var(--u)); --gap: calc(var(--fn) * .25 - var(--u)); }

.es-lbl--no { --ft: calc(28 * var(--u)); --fn: calc(30 * var(--u)); --gap: calc(var(--fn) * .25 - var(--u) - var(--ft) * .068); }

.es-lbl--yes .es-lbl__ttl,
.es-lbl--neither .es-lbl__ttl,
.es-lbl--no .es-lbl__ttl { font-size: var(--ft); font-weight: 700; }

.es-lbl--yes .es-num,
.es-lbl--neither .es-num,
.es-lbl--no .es-num { font-size: var(--fn); }

.es-lbl--yes .es-lbl__val,
.es-lbl--neither .es-lbl__val,
.es-lbl--no .es-lbl__val { margin-top: calc(var(--fn) * .07); }

.es-lbl--yes .es-lbl__ttl { margin-top: calc(var(--u) - var(--gap)); }
.es-lbl--yes .es-lbl__ttl span { margin-bottom: var(--gap); }

.es-lbl--yes small { font-size: calc(32 * var(--u)); margin: .23em 0 0 calc(4 * var(--u)); }

.es-lbl--neither .es-lbl__ttl { margin-top: calc(-1 * var(--u) - var(--gap)); }
.es-lbl--neither .es-lbl__ttl span { line-height: 1.2; padding-bottom: var(--gap); }
.es-lbl--neither small { font-size: calc(20 * var(--u)); margin: .18em 0 0 calc(4 * var(--u)); }
.es-lbl--no small { font-size: calc(16 * var(--u)); margin: .18em 0 0 calc(3 * var(--u)); }

.es-lbl--no .es-lbl__ttl { margin-top: calc(-3 * var(--u) - var(--gap)); }
.es-lbl--no .es-lbl__ttl span { margin-bottom: var(--gap); }

.es-lbl.is-white { color: #fff; }

.es-lbl.is-lined .es-lbl__ttl::after { display: none; }

.es-num .d {
	clip-path: inset(0 -.1em);
	display: inline-block;
	height: 1em;
	position: relative;
}

.es-num .d__w { visibility: hidden; }

.es-num .d__s {
	left: 50%;
	position: absolute;
	text-align: center;
	top: 0;
	transform: translate(-50%, 0);
}

.es-num .d__s i {
	display: block;
	font-style: normal;
	height: 1em;
}

/* 吹き出し
--------------------------------------------------------------------------------------- */

.es-bubble {
	background-color: #fffcfc;
	border: 1px solid #000;
	border-radius: 16px;
	box-shadow: 2px 3px 4px rgba(0, 0, 0, .25);
	box-sizing: border-box;
	left: calc(var(--x) * 1px);
	letter-spacing: .12em;
	padding: 20px 30px 18px 28px;
	position: absolute;
	text-align: left;
	top: calc(var(--y) * 1px);
	width: calc(var(--w) * 1px);
	z-index: 5;
}

.es-bubble::after {
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 23 25'%3E%3Cpath d='M4.5 0C6.5 6 7 13 5.5 17C4.5 20 2 22.5 0.5 23.5C9 22.5 17.5 12 22 0' fill='%23fffcfc' stroke='%23000' stroke-width='1'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
	content: '';
	filter: drop-shadow(2px 2px 1px rgba(0, 0, 0, .2));
	height: 25px;
	left: calc(var(--tail) * 1px - 12px);
	position: absolute;
	top: 100%;
	width: 23px;
}

.es-bubble p {
	font-size: 1.5rem;
	line-height: 1.7;
}

.es-bubble span {
	display: block;
	font-size: 1.3rem;
	font-weight: 400;
	letter-spacing: 0;
	margin-top: 4px;
}

/* Q1：トラック
--------------------------------------------------------------------------------------- */

.es-road {
	background: linear-gradient(90deg, #5aacc6, #1b8bd6 60%, #1d4f97) left top / calc(900 * var(--u)) 100% no-repeat;
	height: calc(39 * var(--u));
	z-index: 1;
}

.es-road::after {
	background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .9) 0 calc(8 * var(--u)), transparent calc(8 * var(--u)) calc(14 * var(--u)));
	content: '';
	height: 1px;
	left: calc(8 * var(--u));
	position: absolute;
	right: calc(38 * var(--u));
	top: 50%;
}

.es-truck { z-index: 2; }

.es-q01-no {
	height: calc(var(--h) * var(--u));
	overflow: hidden;
	z-index: 1;
}

.es-stage .es-q01-no > * {
	left: calc(var(--x) * var(--u));
	position: absolute;
	top: calc(var(--y) * var(--u));
	width: calc(var(--w) * var(--u));
}

/* Q5：車内 */

.es-q--05 .es-bubble { background-color: rgba(255, 255, 255, .85); }

.es-car {
	background-color: #fff;
	border-radius: 6px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, .25);
	box-sizing: border-box;
	height: calc(var(--h) * var(--u));
	padding: calc(13 * var(--u)) calc(14 * var(--u)) calc(13 * var(--u)) calc(15 * var(--u));
	z-index: 1;
}

.es-car img { height: 100% !important; object-fit: cover; }

/* Q8：ゲージ */

.es-gauge { overflow: visible; z-index: 1; }

.es-gauge__seg {
	fill: none;
	stroke-dasharray: 100 100;
	stroke-width: 149;
}

.es-gauge__needle { transform-origin: 290px 332px; }

/* Q10：棒グラフ */

.es-bar { z-index: 1; }

/* --------------------------------------------------------------------------------------
   アニメーション
--------------------------------------------------------------------------------------- */

@media all {

	.es-js .es-fade {
		opacity: 0;
		transform: translateY(30px);
		transition: opacity .9s ease, transform .9s var(--es-ease);
	}

	.es-js .es-fade.is-in { opacity: 1; transform: translateY(0); }

	.es-js .es-section__ttl { border-top-color: transparent; }

	.es-js .es-section__ttl::before {
		background-color: var(--es-blue);
		content: '';
		height: 4px;
		left: 0;
		position: absolute;
		top: -4px;
		transform: scaleX(0);
		transition: transform .8s var(--es-ease);
		width: 100%;
	}

	.es-js .es-section__ttl span {
		clip-path: inset(0 0 100% 0);
		transition: clip-path .7s var(--es-ease) .5s;
	}

	.es-js .es-section__ttl span small,
	.es-js .es-section__ttl span::first-line { transition: opacity .6s ease .9s; }

	.es-js .es-section__ttl.is-in::before { transform: scaleX(1); }
	.es-js .es-section__ttl.is-in span { clip-path: inset(0 0 0 0); }

	.es-js .es-pie__chart > svg:first-child { --es-pie-p: 0; }

	.es-js .es-profile__graphs.is-in .es-pie__chart > svg:first-child {
		--es-pie-p: 1;
		transition: --es-pie-p 1.4s cubic-bezier(.165, .84, .44, 1);
	}

	.es-js .es-pie__seg {
		stroke-dasharray: calc(var(--val) * var(--es-pie-p)) 100;
		stroke-dashoffset: calc(var(--from) * var(--es-pie-p) * -1);
	}

	.es-js .es-pie__ttl { opacity: 0; transform: scale(.6); }

	.es-js .es-profile__graphs.is-in .es-pie__ttl {
		opacity: 1;
		transform: scale(1);
		transition: opacity .4s ease, transform .6s cubic-bezier(.34, 1.56, .64, 1);
	}

	.es-js .es-pie__lbl:not(.es-pie__lbl--out) { opacity: 0; transform: translateY(10px); }

	.es-js .es-profile__graphs.is-in .es-pie__lbl:not(.es-pie__lbl--out) {
		opacity: 1;
		transform: translateY(0);
		transition: opacity .6s ease 1.4s, transform .6s var(--es-ease) 1.4s;
	}

	.es-js .es-pie__lines path {
		stroke-dasharray: var(--len, 1000);
		stroke-dashoffset: var(--len, 1000);
	}

	.es-js .es-profile__graphs.is-in .es-pie__lines path {
		stroke-dashoffset: 0;
		transition: stroke-dashoffset .6s ease-out var(--ld, 0s);
	}

	.es-js .es-pie__lbl--out dt { overflow: hidden; }
	.es-js .es-pie__lbl--out dt span { display: block; transform: translateY(105%); }
	.es-js .es-pie__lbl--out dd { opacity: 0; }

	.es-js .es-profile__graphs.is-in .es-pie__lbl--out dt span {
		transform: translateY(0);
		transition: transform .9s var(--es-ease) calc(var(--ld, 0s) + .45s);
	}

	.es-js .es-profile__graphs.is-in .es-pie__lbl--out dd {
		opacity: 1;
		transition: opacity .3s ease calc(var(--ld, 0s) + .55s);
	}

	.es-js .es-question__no {
		opacity: 0;
		transform: scale(.5);
		transition: opacity .3s ease, transform .6s cubic-bezier(.34, 1.56, .64, 1);
	}

	.es-js .es-question__ttl {
		opacity: 0;
		transform: translateX(-20px);
		transition: opacity .6s ease .2s, transform .8s var(--es-ease) .2s;
	}

	.es-js .es-question__ttl span {
		background-size: 0 18px;
		transition: background-size .8s var(--es-ease) .6s;
	}

	.es-js .es-question__ttl span + br + span { transition-delay: 1s; }

	.es-js .is-in > .es-question .es-question__no { opacity: 1; transform: scale(1); }
	.es-js .is-in > .es-question .es-question__ttl { opacity: 1; transform: translateX(0); }
	.es-js .is-in > .es-question .es-question__ttl span { background-size: 100% 18px; }

	.es-js .es-lbl__ttl::after {
		transform: scaleX(0);
		transform-origin: left center;
		transition: transform .4s var(--es-ease) var(--ld, 0s);
	}

	.es-js .es-lbl__ttl span {
		transform: translateY(105%);
		transition: transform .9s var(--es-ease) calc(var(--ld, 0s) + .25s);
	}

	.es-js .es-lbl__val {
		opacity: 0;
		transition: opacity .3s ease calc(var(--ld, 0s) + .35s);
	}

	.es-js .es-lbl--neither { --ld: .2s; }
	.es-js .es-lbl--no { --ld: .4s; }

	.es-js .is-labels .es-lbl__ttl::after { transform: scaleX(1); }
	.es-js .is-labels .es-lbl__ttl span { transform: translateY(0); }
	.es-js .is-labels .es-lbl__val { opacity: 1; }

	.es-js .es-num .d__s { transition: transform 1.8s cubic-bezier(.2, .8, .2, 1) var(--dd, 0s); }
	.es-js .es-num .d { transition: width 1.8s cubic-bezier(.2, .8, .2, 1) var(--dd, 0s); }

	.es-js .es-lines path {
		stroke-dasharray: var(--len, 1000);
		stroke-dashoffset: var(--len, 1000);
		transition: stroke-dashoffset .6s ease-out;
	}

	.es-js .is-labels .es-lines path { stroke-dashoffset: 0; }

	.es-js .es-bubble {
		opacity: 0;
		transform: translateY(30px) scale(.96);
		transition: opacity .6s ease var(--bd, 0s), transform .8s cubic-bezier(.34, 1.3, .64, 1) var(--bd, 0s);
	}

	.es-js .is-bubbles .es-bubble { opacity: 1; transform: translateY(0) scale(1); }

	.es-js .es-road {
		transform: scaleX(0);
		transform-origin: left center;
		transition: transform 1.2s var(--es-ease);
	}

	.es-js .es-truck {
		opacity: 0;
		transform: translateX(calc(-650 * var(--u)));
		transition: opacity .4s ease, transform 1.5s cubic-bezier(.25, .8, .3, 1);
	}

	.es-js .es-road--neither,
	.es-js .es-truck--neither { transition-delay: .2s; }
	.es-js .es-road--no,
	.es-js .es-truck--no { transition-delay: .4s; }

	.es-js .es-q.is-in .es-road { transform: scaleX(1); }
	.es-js .es-q.is-in .es-truck { opacity: 1; transform: translateX(0); }

	.es-js .es-stairs {
		opacity: 0;
		transform: translateY(calc(40 * var(--u)));
		transition: opacity .8s ease, transform 1s var(--es-ease);
	}

	.es-js .es-person {
		opacity: 0;
		transform: translate(calc(-40 * var(--u)), calc(60 * var(--u)));
		transition: opacity .6s ease, transform .9s var(--es-ease);
	}

	.es-js .es-person--no { transition-delay: .4s; }
	.es-js .es-person--neither { transition-delay: .6s; }
	.es-js .es-person--yes { transition-delay: .8s; }

	.es-js .es-q.is-in .es-stairs,
	.es-js .es-q.is-in .es-person { opacity: 1; transform: translate(0, 0); }

	.es-js .es-hands {
		opacity: 0;
		transform: translateY(calc(60 * var(--u)));
		transition: opacity .6s ease, transform .9s var(--es-ease);
	}

	.es-js .es-heart {
		opacity: 0;
		transform: scale(0);
		transform-origin: 50% 80%;
		transition: opacity .3s ease .5s, transform .8s cubic-bezier(.34, 1.56, .64, 1) .5s;
	}

	.es-js .es-q.is-in .es-hands { opacity: 1; transform: translateY(0); }
	.es-js .es-q.is-in .es-heart {
		animation: es-beat 1s ease 1.6s 1;
		opacity: 1;
		transform: scale(1);
	}

	.es-js .es-tire {
		opacity: 0;
		transform: translateX(calc(-260 * var(--u))) rotate(-40deg);
		transition: opacity .5s ease, transform 1.1s cubic-bezier(.25, .9, .35, 1.08);
	}

	.es-js .es-tire--neither { transition-delay: .2s; }
	.es-js .es-tire--no { transition-delay: .4s; }

	.es-js .es-q.is-in .es-tire { opacity: 1; transform: translateX(0) rotate(0); }

	.es-js .es-car {
		clip-path: inset(0 100% 0 0);
		transition: clip-path 1.1s var(--es-ease);
	}

	.es-js .es-car img {
		transform: scale(1.12);
		transition: transform 1.6s var(--es-ease);
	}

	.es-js .es-q.is-in .es-car { clip-path: inset(0 0 0 0); }
	.es-js .es-q.is-in .es-car img { transform: scale(1); }

	.es-js .es-donut__ring {
		--es-donut-a: 0deg;
		-webkit-mask-image: conic-gradient(from 0deg at 50% 49%, #000 var(--es-donut-a), transparent 0);
		mask-image: conic-gradient(from 0deg at 50% 49%, #000 var(--es-donut-a), transparent 0);
	}

	.es-js .es-q.is-in .es-donut__ring {
		--es-donut-a: 360deg;
		transition: --es-donut-a 1.2s cubic-bezier(.45, .05, .35, 1);
	}

	.es-js .es-donut__p {
		opacity: 0;
		transform: translateY(6px) scale(.85);
		transform-box: fill-box;
		transform-origin: 50% 100%;
	}

	.es-js .es-q.is-in .es-donut__p {
		opacity: 1;
		transform: none;
		transition: opacity .35s ease, transform .5s cubic-bezier(.34, 1.56, .64, 1);
		transition-delay: calc(1.1s + var(--i) * .07s);
	}

	.es-js .es-seesaw {
		opacity: 0;
		transform: translateY(calc(40 * var(--u))) rotate(-4deg);
		transform-origin: 56.2% 81.4%;
		transition: opacity .6s ease, transform 1.2s cubic-bezier(.34, 1.4, .64, 1);
	}

	.es-js .es-q.is-in .es-seesaw { opacity: 1; transform: translateY(0) rotate(0); }

	.es-js .es-gauge__seg {
		stroke-dasharray: 0 100;
		transition: stroke-dasharray .25s linear;
	}

	.es-js .es-gauge__seg--neither { transition: stroke-dasharray .45s linear .25s; }
	.es-js .es-gauge__seg--yes { transition: stroke-dasharray .8s ease-out .7s; }

	.es-js .es-gauge__needle {
		opacity: 0;
		transform: rotate(-160deg);
		transition: opacity .3s ease .5s, transform 1.4s cubic-bezier(.34, 1.45, .64, 1) .6s;
	}

	.es-js .es-q.is-in .es-gauge__seg { stroke-dasharray: 100 100; }
	.es-js .es-q.is-in .es-gauge__needle { opacity: 1; transform: rotate(0); }

	.es-js .es-people li {
		opacity: 0;
		transform: translateY(calc(30 * var(--u))) scale(.7);
		transition: opacity .4s ease calc(var(--i) * .09s), transform .6s cubic-bezier(.34, 1.56, .64, 1) calc(var(--i) * .09s);
	}

	.es-js .es-q.is-in .es-people li { opacity: 1; transform: translateY(0) scale(1); }

	.es-js .es-bar {
		clip-path: inset(100% 0 0 0);
		transition: clip-path 1s var(--es-ease) calc(var(--i) * .25s);
	}

	.es-js .es-q.is-in .es-bar { clip-path: inset(0 0 0 0); }
}

@keyframes es-beat {
	0%, 100% { transform: scale(1); }
	20% { transform: scale(1.08); }
	40% { transform: scale(.97); }
	60% { transform: scale(1.05); }
}

/* --------------------------------------------------------------------------------------
   SP
--------------------------------------------------------------------------------------- */

@media (max-width: 1000px) {

	.page-employee-survey .key-sub { background-image: url(../../img/recruit/employee-survey/key_image_sp.jpg); }

	/* リード */
	.es-lead { padding: 10.667vw 5.333vw 0; }

	.es-lead__ttl { letter-spacing: .05em; line-height: 1.5; }
	.es-lead__catch { font-size: 4.8vw; letter-spacing: 0; white-space: nowrap; }
	.es-lead__catch img { height: 5.6vw; margin: 0 .5vw 0 -1vw; vertical-align: -.8vw; width: 6.75vw; }
	.es-lead__main { font-size: 6.4vw; margin-top: 1vw; }

	.es-lead__text {
		font-size: 3.733vw;
		letter-spacing: .03em;
		line-height: 1.8;
		margin-top: 5.333vw;
		text-align: left;
	}

	/* 年代・勤続年数 */
	.es-profile { padding: 10.667vw 5.333vw 16vw; }

	.es-profile .box {
		height: auto;
		padding-top: 8vw;
	}

	.es-profile__read,
	.es-pie__ttl,
	.es-pie__chart,
	.es-profile__note { left: auto !important; position: relative; top: auto !important; }

	.es-profile__read {
		font-size: 3.733vw;
		line-height: 1.7;
		max-width: 100%;
		padding: 2vw 6vw 3vw;
	}

	.es-profile__read span { min-height: 0; padding: 3.5vw 2.867vw 2vw; }
	.es-profile__read::before { top: 3vw; width: 24vw; }
	.es-profile__read::after { bottom: calc(3vw - 2px); width: 24vw; }
	.es-profile__read span::before { height: 9vw; left: 2.4vw; }
	.es-profile__read span::after { bottom: 1vw; height: 9vw; right: 2.4vw; }

	.es-profile__graphs {
		display: flex;
		flex-direction: column;
		gap: 12vw;
		margin-top: 8vw;
	}

	.es-pie { display: block; }

	.es-pie__ttl {
		display: inline-block;
		font-size: 4.267vw;
		padding: 3.2vw 5.333vw;
	}

	.es-pie__chart {
		--u: calc(100cqw / 379);
		aspect-ratio: 379 / 394;
		container-type: inline-size;
		height: auto !important;
		margin: 4vw auto 0;
		width: 76vw !important;
	}

	.es-pie--years .es-pie__chart {
		--u: calc(100cqw / 300);
		aspect-ratio: 1 / 1;
		width: 64vw !important;
	}

	.es-pie__lbl { --u: calc(100cqw / 379); }
	.es-pie--years .es-pie__lbl { --u: calc(100cqw / 300); }
	.es-pie--age .es-pie__chart > svg:first-child { --u: calc(100cqw / 379); }

	.es-profile__note {
		font-size: 3.2vw;
		line-height: 1.6;
		margin-top: 4vw;
	}

	/* セクション */
	.es-section--01 { padding: 0 4vw 16vw; }

	.es-section--02 {
		background: linear-gradient(#fff 24vw, var(--es-blue) 24vw, var(--es-blue) calc(100% - 10vw), #fff calc(100% - 10vw));
		padding: 0 4vw;
	}

	.es-section--03 {
		margin-top: 16vw;
		padding: 0 5.333vw 16vw;
	}

	.es-section__ttl {
		font-size: 4.8vw;
		letter-spacing: .08em;
		margin: 0 -4vw;
	}

	.es-section--03 .es-section__ttl { margin: 0 -5.333vw; }

	.es-section__ttl span {
		height: 13.333vw;
		padding: 0 5.333vw;
	}

	.es-section__ttl small { margin-left: .3em; }

	/* カード・Q */
	.es-q,
	.es-card {
		height: auto !important;
		width: auto;
	}

	.es-section--01 .es-q {
		background-color: #fff;
		border-radius: 6.4vw;
		box-shadow: 0 1vw 1vw rgba(0, 0, 0, .2);
		margin-top: 10.667vw;
		padding: 8vw 5.333vw 10.667vw;
	}

	.es-section--01 .es-q::after {
		border: 1vw solid var(--es-blue);
		border-radius: 6.4vw;
		content: '';
		inset: 0;
		pointer-events: none;
		position: absolute;
		z-index: 6;
	}

	.es-shape { display: none; }

	.es-card::after { border-radius: 6.4vw; border-width: 1vw; }

	.es-card--wide {
		border-radius: 6.4vw;
		margin-top: 18.667vw;
	}

	.es-card--wide .es-q { padding: 10.667vw 5.333vw; }
	.es-card--wide .es-q + .es-q { border-top: 1px dashed #c8d6ea; margin: 0 5.333vw; padding: 10.667vw 0; }

	.es-section--03 .es-q { margin-top: 16vw; }

	/* 設問 */
	.es-question,
	.es-q--08 .es-question,
	.es-q--09 .es-question,
	.es-q--10 .es-question {
		left: auto;
		position: relative;
		top: auto;
	}

	.es-question.is-beside { display: block; }

	.es-question__no {
		border-radius: 2vw;
		font-size: 7.467vw;
		height: 12vw;
		width: 21.333vw;
	}

	.es-question__ttl,
	.es-question.is-beside .es-question__ttl {
		font-size: 4.533vw;
		letter-spacing: .05em;
		line-height: 1.9;
		margin: 3.2vw 0 0;
		padding: 0;
		white-space: normal;
	}

	.es-question__ttl br { display: none; }

	.es-question__ttl span {
		background-position: left bottom .8vw;
		background-size: 100% 2.4vw;
		-webkit-box-decoration-break: clone;
		box-decoration-break: clone;
		padding-bottom: .8vw;
	}

	.es-js .is-in > .es-question .es-question__ttl span { background-size: 100% 2.4vw; }

	.es-stage {
		--u: calc(100cqw / var(--dw));
		aspect-ratio: var(--dw) / var(--dh);
		container-type: inline-size;
		height: auto;
		left: auto;
		margin-top: 6.4vw;
		position: relative;
		top: auto;
		width: 100%;
	}

	.es-stage > .es-lbl:not(.es-lines):not(.es-people) {
		--t: 1.15;
		left: calc((var(--x) - var(--dx) + var(--w) / 2) * var(--u));
		transform: translateX(-50%);
		width: max-content;
	}

	.es-stage > .es-lbl--neither:not(.es-lines):not(.es-people) { --t: 1.8; }

	.es-lbl--yes { --ft: max(5.867vw, calc(66 * var(--u) * var(--t))); --fn: max(6.4vw, calc(72 * var(--u) * var(--t))); }
	.es-lbl--neither { --ft: max(2.933vw, calc(16 * var(--u) * var(--t))); --fn: max(4.8vw, calc(40 * var(--u) * var(--t2, 1.3))); }
	.es-lbl--no { --ft: max(3.467vw, calc(28 * var(--u) * var(--t2, 1.3))); --fn: max(3.733vw, calc(30 * var(--u) * var(--t2, 1.3))); }
	.es-lbl--yes small { font-size: max(2.933vw, calc(32 * var(--u) * var(--t))); }
	.es-lbl--neither small { font-size: max(2.667vw, calc(20 * var(--u) * var(--t2, 1.3))); }
	.es-lbl--no small { font-size: max(2.4vw, calc(16 * var(--u) * var(--t2, 1.3))); }

	.es-lbl--neither .es-lbl__ttl span { line-height: 1.1; }

	.es-bubble {
		border-radius: 3.2vw;
		left: auto;
		margin-top: 5.333vw;
		padding: 4vw 4.8vw;
		position: relative;
		top: auto;
		width: auto;
	}

	.es-bubble + .es-bubble { margin-top: 8vw; }

	.es-stage + .es-bubble { margin-top: 6.4vw; }

	.es-bubble::after { height: 5.6vw; left: auto; right: 14%; width: 5.2vw; }

	.es-bubble p { font-size: 3.467vw; }
	.es-bubble span { font-size: 3.2vw; margin-top: 1.6vw; }

	/* Q別の調整 */
	.es-q--08 .es-stage,
	.es-q--10 .es-stage { margin-left: auto; margin-right: auto; width: 86%; }

	.es-q--03 .es-stage {
		--dx: 555 !important;
		--dw: 390 !important;
		--dh: 450 !important;
		margin-left: auto;
		margin-right: auto;
		width: 80%;
	}

	.es-q--03 .es-stage > .es-lbl--yes { --y: 249 !important; }

	.es-q--03 .es-stage > .es-lbl--neither:not(.es-lines):not(.es-people),
	.es-q--03 .es-stage > .es-lbl--no:not(.es-lines):not(.es-people) {
		--u: calc(100cqw / 560);
		--t2: 1.3;
		bottom: 0;
		top: auto;
	}

	.es-q--03 .es-stage > .es-lbl--neither:not(.es-lines):not(.es-people) { left: 2%; }
	.es-q--03 .es-stage > .es-lbl--no:not(.es-lines):not(.es-people) { left: 95%; }
	.es-q--05 .es-stage,
	.es-q--06 .es-stage,
	.es-q--07 .es-stage,
	.es-q--09 .es-stage { margin-left: auto; margin-right: auto; width: 88%; }

	.es-q--10 .es-stage > .es-lbl--neither:not(.es-lines):not(.es-people) { bottom: calc((870 - 663) * var(--u)); top: auto; }
	.es-q--10 .es-stage > .es-lbl--no:not(.es-lines):not(.es-people) { bottom: calc((870 - 747) * var(--u)); top: auto; }

	.es-q--08 .es-stage > .es-lbl--neither:not(.es-lines):not(.es-people) { --t: 1.15; --t2: 1; --x: 542 !important; --y: 378 !important; }

	.es-q--08 .es-stage > .es-lbl--yes:not(.es-lines):not(.es-people) { --t: 1; }

	.es-q--05 .es-stage,
	.es-q--07 .es-stage { --t2: 1; }
	.es-q--05 .es-stage > .es-lbl--neither:not(.es-lines):not(.es-people),
	.es-q--07 .es-stage > .es-lbl--neither:not(.es-lines):not(.es-people) { --t: 1.3; }

	.es-q--01 .es-stage {
		--dw: 600 !important;
		--dh: 565 !important;
		--dy: 0 !important;
		margin-left: -5.333vw;
		width: calc(100% + 5.333vw);
	}

	.es-q--01 .es-lines { display: none; }
	.es-q--01 .es-lbl.is-lined .es-lbl__ttl::after { display: block; }
	.es-q--01 .es-road { background-size: calc(600 * var(--u)) 100%; }

	.es-q--01 .es-road--yes { --y: 200 !important; --w: 546 !important; }
	.es-q--01 .es-truck--yes { --x: 305 !important; --y: 115 !important; }
	.es-q--01 .es-road--neither { --y: 349 !important; }
	.es-q--01 .es-truck--neither { --y: 264 !important; }
	.es-q--01 .es-q01-no { --y: 423 !important; }
	.es-q--01 .es-stage > .es-lbl--yes { --x: 20 !important; --y: 0 !important; --w: 280 !important; }
	.es-q--01 .es-stage > .es-lbl--neither { --x: 330 !important; --y: 285 !important; --w: 200 !important; }
	.es-q--01 .es-stage > .es-lbl--no { --x: 200 !important; --y: 470 !important; --w: 110 !important; }

	.es-section--01 .es-q--02 {
		display: flex;
		flex-direction: column;
		overflow: hidden;
		padding-bottom: 0;
	}

	.es-q--02 .es-bubble { order: 1; }

	.es-q--02 .es-stage {
		--dx: 320 !important;
		--dw: 680 !important;
		--dy: 40 !important;
		--dh: 738 !important;
		margin: 6.4vw -5.333vw 0;
		order: 2;
		width: calc(100% + 10.667vw);
	}

	.es-q--02 .es-stage > .es-lbl--yes { --x: 625 !important; --y: 70 !important; }
	.es-q--02 .es-stage > .es-lbl--neither { --x: 478 !important; --y: 237 !important; --w: 100 !important; }
	.es-q--02 .es-stage > .es-lbl--no { --x: 352 !important; --y: 330 !important; --w: 100 !important; }

	.es-q--04 .es-stage,
	.es-q--05 .es-stage,
	.es-q--06 .es-stage,
	.es-q--07 .es-stage,
	.es-q--09 .es-stage {
		--row: 24vw;
		margin-bottom: calc(var(--row) + 2.667vw);
		width: 100%;
	}

	.es-q--04 .es-lines,
	.es-q--05 .es-lines,
	.es-q--06 .es-lines,
	.es-q--07 .es-lines,
	.es-q--09 .es-lines { display: none; }

	.es-q--04 .es-lbl.is-lined .es-lbl__ttl::after,
	.es-q--05 .es-lbl.is-lined .es-lbl__ttl::after,
	.es-q--06 .es-lbl.is-lined .es-lbl__ttl::after,
	.es-q--07 .es-lbl.is-lined .es-lbl__ttl::after,
	.es-q--09 .es-lbl.is-lined .es-lbl__ttl::after { display: block; }

	.es-q--04 .es-stage > .es-lbl:not(.es-lines):not(.es-people),
	.es-q--05 .es-stage > .es-lbl:not(.es-lines):not(.es-people),
	.es-q--06 .es-stage > .es-lbl:not(.es-lines):not(.es-people),
	.es-q--07 .es-stage > .es-lbl:not(.es-lines):not(.es-people),
	.es-q--09 .es-stage > .es-lbl:not(.es-lines):not(.es-people) {
		--u: calc(100cqw / 700);
		--t: 1.15;
		--t2: 1.3;
		bottom: calc(-1 * var(--row));
		top: auto;
	}

	.es-q--04 .es-stage > .es-lbl--yes:not(.es-lines):not(.es-people),
	.es-q--05 .es-stage > .es-lbl--yes:not(.es-lines):not(.es-people),
	.es-q--06 .es-stage > .es-lbl--yes:not(.es-lines):not(.es-people),
	.es-q--07 .es-stage > .es-lbl--yes:not(.es-lines):not(.es-people),
	.es-q--09 .es-stage > .es-lbl--yes:not(.es-lines):not(.es-people) { left: 18%; }

	.es-q--04 .es-stage > .es-lbl--neither:not(.es-lines):not(.es-people),
	.es-q--05 .es-stage > .es-lbl--neither:not(.es-lines):not(.es-people),
	.es-q--06 .es-stage > .es-lbl--neither:not(.es-lines):not(.es-people),
	.es-q--07 .es-stage > .es-lbl--neither:not(.es-lines):not(.es-people),
	.es-q--09 .es-stage > .es-lbl--neither:not(.es-lines):not(.es-people) { --t: 1.8; left: 53%; }

	.es-q--04 .es-stage > .es-lbl--no:not(.es-lines):not(.es-people),
	.es-q--05 .es-stage > .es-lbl--no:not(.es-lines):not(.es-people),
	.es-q--06 .es-stage > .es-lbl--no:not(.es-lines):not(.es-people),
	.es-q--07 .es-stage > .es-lbl--no:not(.es-lines):not(.es-people),
	.es-q--09 .es-stage > .es-lbl--no:not(.es-lines):not(.es-people) { left: 82%; }

	.es-q--04 .es-stage { aspect-ratio: 487 / 309; }
	.es-q--04 .es-tire { --dx: -17; --dy: 215; --u: calc(85cqw / 487); }

	.es-q--05 .es-stage { aspect-ratio: 700 / 450; }
	.es-q--05 .es-car { --dx: 257; --dy: 180; --u: calc(100cqw / 700); }

	.es-q--06 .es-stage { aspect-ratio: 498 / 375; }
	.es-q--06 .es-donut { --dx: 171; --dy: 232; --u: calc(75cqw / 498); }

	.es-q--07 .es-stage { aspect-ratio: 735 / 485; }
	.es-q--07 .es-seesaw { --dx: 240; --dy: 124; --u: calc(100cqw / 735); }

	.es-q--09 .es-stage { aspect-ratio: 673 / 308; }
	.es-q--09 .es-people { --dx: 191; --dy: 258; --u: calc(100cqw / 673); }
}
