@charset "UTF-8";
/* ==========================================================================
   採用サイト「個性の平飼い動物園」（/zoo/）
   デザイン基準：PC 1200px（re_design_02.ai）／ SP は 767px 以下
   クラス名はコーポレートサイトと混ざらないよう z- から始める。

   フォントの置き換え
   - 秀英角ゴシック銀 → Zen Kaku Gothic New（B は 500、L は 400）
   - 筑紫A丸ゴシック（和文） → Zen Maru Gothic
   - 筑紫A丸ゴシック（欧文）・Futura PT → Jost
   - 年表の★バナーの文字（お客様のデザイン案の太い角ゴシック） → Noto Sans JP の 900
   ========================================================================== */

:root {
	--z-navy: #183761;
	--z-yellow: #fcc81b;
	--z-cyan: #59d8d5;
	--z-pink: #f56293;
	--z-green: #009e0b;
	--z-lime: #00ff12;

	--z-ja: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
	--z-maru: "Zen Maru Gothic", var(--z-ja);
	--z-en: "Jost", "Futura", "Century Gothic", sans-serif;
	--z-pop: "Noto Sans JP", var(--z-ja);

	--z-ease: cubic-bezier(.22, .61, .36, 1);
	/* PC デザインの 1px（1200px 未満では画面幅に合わせて縮む） */
	--z-px: min(1px, 100vw / 1200);
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	background: var(--z-navy);
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: 80px;
}

body {
	margin: 0;
	background: var(--z-navy);
	color: #fff;
	font-family: var(--z-ja);
	font-size: 14px;
	font-weight: 400;
	line-height: 2;
	letter-spacing: .05em;
	-webkit-font-smoothing: antialiased;
}

html.is-menu-open,
html.is-menu-open body,
html.is-modal-open,
html.is-modal-open body {
	overflow: hidden;
}

img,
svg,
video {
	max-width: 100%;
	vertical-align: middle;
}

img {
	height: auto;
}

a {
	color: inherit;
	text-decoration: none;
}

ul,
ol {
	margin: 0;
	padding: 0;
	list-style: none;
}

p,
h1,
h2,
h3,
h4,
dl,
dd,
figure {
	margin: 0;
}

h1,
h2,
h3,
h4 {
	font-weight: inherit;
}

button {
	font: inherit;
	color: inherit;
	letter-spacing: inherit;
	cursor: pointer;
}

:focus-visible {
	outline: 2px solid var(--z-yellow);
	outline-offset: 3px;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

.skip-link:focus {
	z-index: 1000;
	top: 8px;
	left: 8px;
	width: auto;
	height: auto;
	margin: 0;
	padding: 8px 16px;
	clip: auto;
	clip-path: none;
	background: #fff;
	color: #000;
}

.z-main {
	overflow-x: clip;
}

.icon {
	display: inline-block;
	flex-shrink: 0;
	fill: currentColor;
}

/* 丸の中の矢印（↓ → ←）：線は丸の縁についたまま、ホバーで矢印の先端だけが進む（線は先端に合わせて伸びる）。
   値は SVG の座標（viewBox 46）。線の長さ 23 → 31 で、先端が 8 進む */
:is(.icon--circle-down, .icon--circle-next, .icon--circle-prev) * {
	vector-effect: non-scaling-stroke;
}

:is(.icon--circle-down, .icon--circle-next, .icon--circle-prev) :is(.icon__stem, .icon__tip) {
	transition: transform .35s var(--z-ease);
}

.icon--circle-down .icon__stem {
	transform-origin: 50% 0;
}

.icon--circle-next .icon__stem {
	transform-origin: 0 50%;
}

.icon--circle-prev .icon__stem {
	transform-origin: 100% 50%;
}

:is(a, button):is(:hover, :focus-visible) .icon--circle-down .icon__stem {
	transform: scaleY(1.3478);
}

:is(a, button):is(:hover, :focus-visible) .icon--circle-down .icon__tip {
	transform: translateY(8px);
}

:is(a, button):is(:hover, :focus-visible) :is(.icon--circle-next, .icon--circle-prev) .icon__stem {
	transform: scaleX(1.3478);
}

:is(a, button):is(:hover, :focus-visible) .icon--circle-next .icon__tip {
	transform: translateX(8px);
}

:is(a, button):is(:hover, :focus-visible) .icon--circle-prev .icon__tip {
	transform: translateX(-8px);
}

.is-disabled {
	cursor: default;
}

/* PC だけ・SP だけで出す改行 */
@media (max-width: 767px) {
	.z-pc {
		display: none;
	}
}

@media (min-width: 768px) {
	.z-sp {
		display: none;
	}
}

/* --------------------------------------------------------------------------
   Header（下層ページの左上のロゴ）・menu ボタン
   -------------------------------------------------------------------------- */
.z-header {
	position: absolute;
	z-index: 10;
	top: 0;
	left: 0;
}

.z-header__logo {
	display: grid;
	grid-template-columns: auto auto;
	grid-template-rows: auto auto;
	column-gap: 18px;
	align-items: end;
	padding: 15px 30px;
}

.z-header__lead {
	grid-column: 1;
	grid-row: 1;
	font-family: var(--z-maru);
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
}

.z-header__en {
	grid-column: 1;
	grid-row: 2;
	width: 239px;
	margin-top: 12px;
	margin-bottom: 1px;
}

.z-header__ja {
	grid-column: 2;
	grid-row: 1 / 3;
	width: 259px;
}

.z-menu-btn {
	position: fixed;
	z-index: 150;
	top: 20px;
	right: 20px;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 0;
	border: 0;
	background: none;
	color: #fff;
	font-size: 14px;
	font-weight: 500;
	line-height: 1;
	letter-spacing: .05em;
}

.z-menu-btn__icon {
	width: 21px;
	height: 21px;
}

.is-menu-open .z-menu-btn {
	opacity: 0;
	pointer-events: none;
}

@media (max-width: 767px) {
	.z-header__logo {
		column-gap: 10px;
		padding: 14px 16px;
	}

	.z-header__lead {
		font-size: 9px;
		letter-spacing: 0;
	}

	.z-header__en {
		width: 118px;
		margin-top: 6px;
	}

	.z-header__ja {
		width: 118px;
	}

	.z-menu-btn {
		top: 18px;
		right: 16px;
	}
}

/* --------------------------------------------------------------------------
   Menu（右から出る黄色のパネル）
   -------------------------------------------------------------------------- */
.z-menu {
	position: fixed;
	z-index: 200;
	inset: 0;
	visibility: hidden;
	color: #000;
}

.z-menu.is-open {
	visibility: visible;
}

.z-menu__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, .8);
	opacity: 0;
	transition: opacity .4s;
}

.z-menu.is-open .z-menu__overlay {
	opacity: 1;
}

.z-menu__panel {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: min(700px, 100%);
	overflow-y: auto;
	overscroll-behavior: contain;
	transform: translateX(100%);
	transition: transform .5s var(--z-ease);
}

.z-menu.is-open .z-menu__panel {
	transform: none;
}

.z-menu__close {
	position: absolute;
	z-index: 1;
	top: 20px;
	right: 20px;
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 0;
	border: 0;
	background: none;
	color: #fff;
	font-size: 14px;
	font-weight: 500;
	line-height: 1;
}

.z-menu__close-icon {
	width: 21px;
	height: 21px;
}

/* 黄色の形（デザインは 700 × 982）は、画面がそれより低くても縦に縮めない。
   縮めると下の細くなる部分が上がってきて、左の列の文字が黄色からはみ出すため。下は画面の高さで切る */
.z-menu__inner {
	display: flex;
	justify-content: flex-end;
	gap: 5px;
	min-height: 100%;
	padding: 90px 0 60px 162px;
	background: url("../img/zoo/svg/menu-shape.svg") right top / 100% max(100%, 982px) no-repeat;
}

/* 背の低い画面（1366 × 768 のノートパソコンなど）では、上下の余白を詰めてスクロールせずに全部見せる */
@media (min-width: 768px) and (max-height: 700px) {
	.z-menu__inner {
		padding-top: 70px;
		padding-bottom: 30px;
	}
}

.z-menu__nav {
	display: flex;
	gap: 26px;
}

.z-menu__col {
	display: flex;
	flex-direction: column;
	gap: 30px;
	width: 150px;
}

.z-menu__side {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	width: 206px;
	padding-top: 6px;
}

/* SNS とポリシーは同じ幅で左をそろえる。いちばん長い「サイトご利用にあたって」が
   パネルの右端からはみ出さない幅（はみ出すとメニューが横にスクロールしてしまう） */
.z-menu__sns {
	display: flex;
	flex-direction: column;
	gap: 20px;
	width: 190px;
	margin-top: 44px;
}

.z-menu__sns-link {
	display: flex;
	align-items: center;
	gap: 16px;
	font-family: var(--z-en);
	font-size: 14px;
	font-weight: 500;
	line-height: 1;
}

.z-menu__sns-icon {
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
}

.z-menu__sns-icon .icon {
	width: 100%;
	height: 100%;
}

.z-menu__sns-icon .icon--shop {
	--icon-cut: var(--z-yellow);
}

a.z-menu__sns-link:hover {
	opacity: .6;
}

.z-menu .z-policy--menu {
	flex-direction: column;
	align-items: flex-start;
	gap: 0;
	width: 190px;
	margin-top: 39px;
	color: #000;
	white-space: nowrap;
}

/* メニュー・フッターのサイトマップ */
.z-mnav__head,
.z-fnav__head {
	display: inline-flex;
	flex-direction: column;
	align-items: flex-start;
}

.z-mnav__en,
.z-fnav__en {
	position: relative;
	padding-bottom: 6px;
	font-family: var(--z-en);
	font-size: 28px;
	font-weight: 400;
	line-height: 1.2;
	letter-spacing: .05em;
}

/* 下線：マウスを乗せると、左から右へ色が変わる */
.z-mnav__en::before,
.z-mnav__en::after,
.z-fnav__en::before,
.z-fnav__en::after {
	content: "";
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	height: 3px;
	background: currentColor;
}

.z-mnav__en::after,
.z-fnav__en::after {
	background: var(--z-line-hover);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .4s var(--z-ease);
}

.z-mnav__head:hover .z-mnav__en::after,
.z-fnav__head:hover .z-fnav__en::after {
	transform: none;
}

.z-mnav {
	--z-line-hover: #fff;
}

/* フッターはデザインの指定どおりピンク（people の円と同じ色） */
.z-fnav {
	--z-line-hover: var(--z-pink);
}

.z-mnav__ja,
.z-fnav__ja {
	margin-top: 4px;
	font-size: 14px;
	font-weight: 400;
	line-height: 2;
}

.z-mnav__list,
.z-fnav__list {
	margin-top: 10px;
}

.z-mnav__link,
.z-fnav__link {
	display: inline-flex;
	align-items: center;
	gap: 15px;
	font-size: 14px;
	font-weight: 400;
	line-height: 2;
	white-space: nowrap;
}

.z-mnav__link .icon,
.z-fnav__link .icon {
	width: 18.5px;
	height: 8.7px;
	transition: transform .3s var(--z-ease);
}

a.z-mnav__link:hover .icon,
a.z-fnav__link:hover .icon {
	transform: translateX(4px);
}

@media (max-width: 767px) {
	.z-menu__panel {
		background: rgba(252, 200, 27, .95);
	}

	.z-menu__close {
		top: 18px;
		right: 16px;
		color: #000;
	}

	.z-menu__inner {
		flex-direction: column;
		gap: 40px;
		padding: 70px 24px 48px;
		background: none;
	}

	.z-menu__nav {
		gap: 20px;
	}

	.z-menu__col {
		gap: 24px;
		width: auto;
		flex: 1;
	}

	.z-mnav__en {
		font-size: 24px;
	}

	.z-mnav__ja,
	.z-mnav__link {
		font-size: 13px;
	}

	.z-menu__side {
		align-items: flex-start;
		width: auto;
		padding-top: 0;
	}

	.z-menu__sns {
		flex-direction: row;
		flex-wrap: wrap;
		gap: 16px 20px;
		width: auto;
		margin-top: 32px;
	}

	.z-menu__sns-link {
		flex-direction: column;
		gap: 8px;
		font-size: 11px;
	}

	.z-menu .z-policy--menu {
		width: auto;
		margin-top: 28px;
	}
}

/* --------------------------------------------------------------------------
   ENTRY ボタン（メニュー・フッター）
   -------------------------------------------------------------------------- */
.z-entry {
	display: flex;
	align-items: center;
	width: 206px;
	height: 50px;
	padding: 0 12px;
	white-space: nowrap;
	background: #000;
	color: #fff;
	line-height: 1;
	transition: background .3s, color .3s;
}

.z-entry__arrow {
	width: 18.5px;
	height: 8.7px;
	margin-right: 10px;
	transition: transform .3s var(--z-ease);
}

.z-entry__en {
	font-family: var(--z-en);
	font-size: 28px;
	font-weight: 400;
	letter-spacing: .05em;
}

.z-entry__ja {
	margin-left: auto;
	font-size: 14px;
	font-weight: 500;
}

a.z-entry:hover {
	background: #fff;
	color: #000;
}

a.z-entry:hover .z-entry__arrow {
	transform: translateX(4px);
}

/* 画面の右下に固定する ENTRY（コーポレートサイトの右下のボタンと同じ位置）。メニューを開いている間は隠す */
.z-entry--fixed {
	position: fixed;
	z-index: 120;
	right: 0;
	bottom: 77px;
	transition: background .3s, color .3s, opacity .3s;
}

.is-menu-open .z-entry--fixed {
	opacity: 0;
	pointer-events: none;
}

@media (max-width: 767px) {
	.z-entry--fixed {
		bottom: 16px;
		width: 170px;
		height: 44px;
		padding: 0 10px;
	}

	.z-entry--fixed .z-entry__arrow {
		width: 15px;
		margin-right: 8px;
	}

	.z-entry--fixed .z-entry__en {
		font-size: 20px;
	}

	.z-entry--fixed .z-entry__ja {
		font-size: 11px;
	}
}

/* --------------------------------------------------------------------------
   ポリシーのリンク
   -------------------------------------------------------------------------- */
.z-policy {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0 24px;
	color: #fff;
}

.z-policy__link {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 14px;
	font-weight: 400;
	line-height: 2;
}

a.z-policy__link:hover {
	text-decoration: underline;
}

.z-policy .icon {
	width: 14.4px;
	height: 14.4px;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.z-footer {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 80px 0 104px;
	background: var(--z-navy);
}

/* ロゴ（機能融合型グループ経営 / YABUSHITA GROUP / 個性の平飼い動物園） */
.z-flogo {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.z-flogo__lead {
	font-family: var(--z-maru);
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
}

.z-flogo__en {
	width: 290px;
	margin-top: 15px;
}

.z-flogo__ja {
	width: 449px;
	margin-top: 17px;
}

.z-footer__nav {
	display: flex;
	gap: 0;
	margin-top: 93px;
}

.z-fnav {
	padding-right: 30px;
}

.z-fnav:nth-child(1) {
	width: 206px;
}

.z-fnav:nth-child(2) {
	width: 193px;
}

.z-fnav:nth-child(3) {
	width: 182px;
}

.z-fnav:nth-child(4) {
	width: 159px;
}

.z-fnav:nth-child(5) {
	padding-right: 0;
}

.z-footer__bottom {
	position: relative;
	display: flex;
	justify-content: center;
	align-self: stretch;
	margin-top: 74px;
}

.z-footer__sns {
	display: flex;
	gap: 0;
}

.z-footer__sns-link {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 13px;
	width: 92.5px;
	font-family: var(--z-en);
	font-size: 14px;
	font-weight: 500;
	line-height: 1.2;
}

.z-footer__sns-icon {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
}

.z-footer__sns-icon .icon {
	width: 100%;
	height: 100%;
}

.z-footer__sns-icon .icon--shop {
	--icon-cut: var(--z-navy);
}

a.z-footer__sns-link:hover {
	opacity: .6;
}

.z-footer .z-policy {
	margin-top: 31px;
	color: rgba(255, 255, 255, .5);
}

.z-footer__copy {
	margin-top: 59px;
	font-family: var(--z-en);
	font-size: 12px;
	font-weight: 500;
	line-height: 1;
	letter-spacing: .05em;
}

.z-footer__copy small {
	font-size: inherit;
}

@media (max-width: 1023px) {
	.z-footer__nav {
		flex-wrap: wrap;
		justify-content: center;
		gap: 40px 0;
		max-width: 640px;
	}

	.z-footer__bottom {
		flex-direction: column;
		align-items: center;
		gap: 40px;
	}
}

@media (max-width: 767px) {
	/* 下の余白は、右下に固定した ENTRY（下から 16 + 高さ 44）がコピーライトに重ならない分 */
	.z-footer {
		padding: 64px 20px 92px;
	}

	.z-flogo__en {
		width: 200px;
		margin-top: 10px;
	}

	.z-flogo__ja {
		width: 300px;
		margin-top: 12px;
	}

	.z-footer__nav {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 32px 20px;
		width: 100%;
		max-width: 400px;
		margin-top: 56px;
	}

	.z-fnav,
	.z-fnav:nth-child(n) {
		width: auto;
		padding-right: 0;
	}

	.z-fnav__en {
		font-size: 22px;
	}

	.z-fnav__ja,
	.z-fnav__link {
		font-size: 12px;
	}

	.z-fnav__link {
		gap: 8px;
		white-space: normal;
	}

	.z-footer__bottom {
		margin-top: 48px;
	}

	.z-footer__sns {
		flex-wrap: wrap;
		justify-content: center;
		gap: 16px 0;
	}

	.z-footer__sns-link {
		width: 64px;
		font-size: 11px;
	}

	.z-footer__sns-icon {
		width: 32px;
		height: 32px;
	}

	.z-policy__link {
		font-size: 12px;
	}

	.z-footer__copy {
		margin-top: 32px;
	}
}

/* --------------------------------------------------------------------------
   共通部品
   位置・大きさは PC デザイン（幅 1200）の値に var(--z-px) を掛けて指定する。
   -------------------------------------------------------------------------- */
.z-wrap {
	position: relative;
	width: calc(1200 * var(--z-px));
	margin-inline: auto;
}

/* 大見出し（英字を割ったもの＋縦書きの日本語） */
.z-head {
	position: relative;
	display: inline-block;
	margin: 0;
	vertical-align: top;
}

.z-head__en {
	display: block;
	font-family: var(--z-en);
	font-size: calc(120 * var(--z-px));
	font-weight: 400;
	line-height: 1;
	letter-spacing: .05em;
	white-space: nowrap;
}

.z-head__ja {
	position: absolute;
	top: calc(54 * var(--z-px));
	right: calc(100% + 26 * var(--z-px));
	font-size: calc(20 * var(--z-px));
	font-weight: 500;
	line-height: 1;
	letter-spacing: .05em;
	white-space: nowrap;
	writing-mode: vertical-rl;
}

.z-head--right .z-head__en {
	text-align: right;
}

.z-head--right .z-head__ja {
	right: auto;
	left: calc(100% + 22 * var(--z-px));
}

/* 目玉つきの小見出し */
.z-sub {
	display: flex;
	align-items: flex-end;
	gap: calc(27 * var(--z-px));
	margin: 0;
}

.z-sub__eyes {
	flex-shrink: 0;
	width: calc(121 * var(--z-px));
	height: auto;
}

/* 目玉の黒目（インライン SVG の .z-pupils）。移動量は SVG の座標で、白目からはみ出さない範囲 */
.z-pupils {
	transition: transform .4s var(--z-ease);
}

/* 小見出し：黒目は白目の左下にあるので、ホバーで右上（見出しの文字のほう）を見る */
.z-sub:hover .z-pupils {
	transform: translate(16px, -8px);
}

.z-sub__text {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.z-sub__ja {
	padding-bottom: 4px;
	border-bottom: 3px solid currentColor;
	font-size: calc(26 * var(--z-px));
	font-weight: 400;
	line-height: 1.3;
	letter-spacing: .05em;
}

.z-sub__en {
	margin-top: 2px;
	font-family: var(--z-en);
	font-size: calc(20 * var(--z-px));
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: .05em;
}

.z-sub--center {
	flex-direction: column;
	align-items: center;
	gap: calc(13 * var(--z-px));
}

.z-sub--center .z-sub__text {
	align-items: center;
}

/* 目玉つきのリンク */
.z-eyelinks__link {
	display: inline-flex;
	align-items: center;
	gap: calc(10 * var(--z-px));
	font-size: calc(20 * var(--z-px));
	font-weight: 500;
	line-height: 3;
	letter-spacing: .05em;
}

.z-eyelinks__eyes {
	flex-shrink: 0;
	width: calc(46 * var(--z-px));
	height: auto;
}

/* リンク：ホバーで黒目が右（→ の向き）を見る */
a.z-eyelinks__link:hover .z-pupils,
a.z-eyelinks__link:focus-visible .z-pupils {
	transform: translateX(4px);
}

/* View More */
.z-more {
	display: inline-flex;
	align-items: center;
	gap: calc(12 * var(--z-px));
	font-family: var(--z-en);
	font-size: calc(20 * var(--z-px));
	font-weight: 500;
	line-height: 1;
	letter-spacing: .05em;
}

.z-more__icon {
	width: calc(46 * var(--z-px));
	height: calc(46 * var(--z-px));
}

/* --------------------------------------------------------------------------
   TOP：ファーストビュー
   -------------------------------------------------------------------------- */
.z-hero {
	position: relative;
	z-index: 1;
	height: calc(803 * var(--z-px));
}

.z-hero__site {
	position: absolute;
	z-index: 2;
	top: calc(40 * var(--z-px));
	left: 0;
	width: 100%;
	font-family: var(--z-maru);
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
	text-align: center;
}

.z-hero__charas {
	position: absolute;
	inset: 0;
}

.z-hero__chara {
	position: absolute;
	top: calc(var(--y) * var(--z-px));
	left: calc(50% + (var(--x) - 600) * var(--z-px));
	width: calc(1280.6 * var(--z-px));
	max-width: none;
	animation: z-sway 7s ease-in-out infinite alternate;
}

.z-hero__chara:nth-child(2) {
	animation-duration: 8.5s;
	animation-delay: -3s;
}

.z-hero__chara:nth-child(3) {
	animation-duration: 6.5s;
	animation-delay: -5s;
}

@keyframes z-sway {
	from {
		transform: translate(0, 0) rotate(-1.5deg);
	}

	to {
		transform: translate(calc(-14 * var(--z-px)), calc(10 * var(--z-px))) rotate(1.5deg);
	}
}

.z-hero__logo {
	position: absolute;
	z-index: 2;
	top: calc(214 * var(--z-px));
	left: 50%;
	transform: translateX(-50%);
}

.z-hero__logo h1 {
	margin: 0;
}

.z-hero__scroll {
	position: absolute;
	z-index: 2;
	top: calc(706 * var(--z-px));
	left: 50%;
	width: 57.5px;
	height: 57.5px;
	color: #fff;
	transform: translateX(-50%);
}

.z-hero__scroll-icon {
	display: block;
	width: 100%;
	height: 100%;
}

/* 線が丸の上端から下に伸び（先端もいっしょに下がり）、もとに戻る動きをくり返す。
   伸びる量は、ほかの丸の中の ↓ のホバー時と同じ（線の長さ 23 → 31） */
.z-hero__scroll-icon .icon__stem {
	animation: z-arrow-stem 2.4s ease-in-out infinite;
}

.z-hero__scroll-icon .icon__tip {
	animation: z-arrow-tip 2.4s ease-in-out infinite;
}

@keyframes z-arrow-stem {
	0%,
	15%,
	100% {
		transform: scaleY(1);
	}

	45%,
	65% {
		transform: scaleY(1.3478);
	}
}

@keyframes z-arrow-tip {
	0%,
	15%,
	100% {
		transform: translateY(0);
	}

	45%,
	65% {
		transform: translateY(8px);
	}
}

/* --------------------------------------------------------------------------
   TOP：緑の丘と concept
   丘の形は横だけ画面幅に合わせて伸ばす（高さはデザインのまま）。
   -------------------------------------------------------------------------- */
.z-field {
	position: relative;
	z-index: 2;
	height: calc(1677.2 * var(--z-px));
	color: #fff;
}

.z-field__hill,
.z-field__ground {
	position: absolute;
	left: -9.28%;
	width: 118.78%;
}

.z-field__hill {
	background: center / 100% 100% no-repeat;
	transform: translateY(var(--py, 0));
}

.z-field__hill--lime {
	top: 0;
	height: calc(610.8 * var(--z-px));
	background-image: url("../img/zoo/svg/hill-lime.svg");
}

.z-field__hill--green {
	top: calc(148.2 * var(--z-px));
	height: calc(651.9 * var(--z-px));
	background-image: url("../img/zoo/svg/hill-green-top.svg");
}

.z-field__ground {
	top: calc(595 * var(--z-px));
	bottom: calc(346.1 * var(--z-px));
	background: var(--z-green);
}

.z-field__hill--bottom {
	bottom: 0;
	height: calc(651.9 * var(--z-px));
	background-image: url("../img/zoo/svg/hill-green-bottom.svg");
}

.z-field__inner {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 50%;
	width: calc(1200 * var(--z-px));
	transform: translateX(-50%);
}

.z-field__chara {
	position: absolute;
	top: calc(var(--y) * var(--z-px));
	left: calc(var(--x) * var(--z-px));
	width: calc(145.7 * var(--z-px));
}

.z-field__catch {
	position: absolute;
	top: calc(485.4 * var(--z-px));
	left: calc(460.2 * var(--z-px));
	font-family: var(--z-maru);
	font-size: calc(40 * var(--z-px));
	font-weight: 500;
	line-height: 2;
	letter-spacing: .05em;
	white-space: nowrap;
	writing-mode: vertical-rl;
}

.z-tconcept {
	position: absolute;
	inset: 0;
	scroll-margin-top: calc(-1000 * var(--z-px));
}

.z-tconcept__chara {
	position: absolute;
	top: calc(893.8 * var(--z-px));
	left: calc(-485.9 * var(--z-px));
	width: calc(933.5 * var(--z-px));
	max-width: none;
	transform: rotate(90deg);
}

.z-tconcept .z-head {
	position: absolute;
	top: calc(1035.6 * var(--z-px));
	left: calc(76.1 * var(--z-px));
}

.z-tconcept__text {
	position: absolute;
	top: calc(1096.5 * var(--z-px));
	left: calc(430.3 * var(--z-px));
	font-size: calc(16 * var(--z-px));
	line-height: 2;
	white-space: nowrap;
}

.z-tconcept__links {
	position: absolute;
	top: calc(1077 * var(--z-px));
	left: calc(913.2 * var(--z-px));
}

/* --------------------------------------------------------------------------
   TOP：character（横にスクロールする一覧）
   -------------------------------------------------------------------------- */
.z-tchara {
	position: relative;
	z-index: 3;
	padding-bottom: calc(142 * var(--z-px));
}

.z-tchara .z-wrap {
	display: flex;
	justify-content: flex-end;
	padding-right: calc(62.4 * var(--z-px));
}

.z-tchara__scroller {
	position: relative;
	margin-top: calc(-65.4 * var(--z-px));
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scrollbar-width: none;
	cursor: grab;
}

.z-tchara__scroller::-webkit-scrollbar {
	display: none;
}

.z-tchara__scroller.is-dragging {
	cursor: grabbing;
	user-select: none;
}

.z-tchara__list {
	display: flex;
	width: max-content;
	padding: 0 max(0px, (100vw - 1200 * var(--z-px)) / 2);
}

.z-tchara__item {
	width: calc(205.7 * var(--z-px));
}

.z-tchara__btn {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
	padding: 0;
	border: 0;
	background: none;
	color: #fff;
}

.z-tchara__img {
	width: calc(218.6 * var(--z-px));
	max-width: none;
	margin-inline: calc(-6.45 * var(--z-px));
	pointer-events: none;
	transition: transform .4s var(--z-ease);
}

.z-tchara__btn:hover .z-tchara__img {
	transform: translateY(calc(-8 * var(--z-px))) rotate(-3deg);
}

.z-tchara__name {
	margin-top: calc(5 * var(--z-px));
	font-family: var(--z-maru);
	font-size: calc(20 * var(--z-px));
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: .05em;
}

.z-tchara__icon {
	width: calc(45.8 * var(--z-px));
	height: calc(45.8 * var(--z-px));
	margin-top: calc(10 * var(--z-px));
}

/* --------------------------------------------------------------------------
   TOP：ヤブシタが求める人物像
   -------------------------------------------------------------------------- */
.z-ideal {
	position: relative;
	z-index: 1;
	padding-bottom: calc(115 * var(--z-px));
}

.z-ideal__face {
	position: relative;
	width: calc(449 * var(--z-px));
	margin-inline: auto;
}

.z-ideal__svg {
	display: block;
	width: 100%;
	height: auto;
	overflow: visible;
}

.z-ideal__mouth {
	fill: #000;
}

.z-ideal__eye {
	transition: transform .12s ease-in;
}

.z-ideal__eye.is-blink {
	transform: scaleY(.08);
}

.z-ideal__pupil {
	transition: transform .25s var(--z-ease);
}

.z-ideal__link {
	position: absolute;
	top: 46.8%;
	right: 6%;
	bottom: 0;
	left: 6%;
	display: flex;
	flex-direction: column;
	align-items: center;
	padding-top: calc(85 * var(--z-px));
	border-radius: 0 0 50% 50%;
	color: #fff;
}

.z-ideal__label {
	font-size: calc(20 * var(--z-px));
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: .05em;
}

.z-ideal__icon {
	width: calc(45.8 * var(--z-px));
	height: calc(45.8 * var(--z-px));
	margin-top: calc(12 * var(--z-px));
}

/* --------------------------------------------------------------------------
   TOP：people
   -------------------------------------------------------------------------- */
.z-tpeople {
	position: relative;
	z-index: 1;
	overflow: clip;
}

/* 下端を斜めのカーブで切る（円の上に紺色の形を重ねる。写真と文字はその上） */
.z-tpeople::after {
	content: "";
	position: absolute;
	z-index: 1;
	right: 0;
	bottom: 0;
	left: 0;
	height: calc(387.1 * var(--z-px));
	background: url("../img/zoo/svg/people-bottom.svg") center bottom / 100% 100% no-repeat;
	pointer-events: none;
}

.z-tpeople__head {
	z-index: 5;
	height: calc(32 * var(--z-px));
}

.z-tpeople__head .z-head {
	position: absolute;
	top: 0;
	left: calc(76.1 * var(--z-px));
}

.z-person {
	position: relative;
	height: calc(641 * var(--z-px));
	color: #000;
}

.z-person:last-child {
	height: calc(902 * var(--z-px));
}

/* 人数が偶数で最後の人が左寄せの文字（--even）のときは、下の波（.z-tpeople::after）の左側が高いので、
   紹介文と View More が波にかからないよう、最後の人の高さを足して波を下げる（デザインは奇数の 3 人） */
.z-person--even:last-child {
	height: calc(1100 * var(--z-px));
}

.z-person__circle {
	position: absolute;
	top: 0;
	left: calc(50% + (144.7 - 600) * var(--z-px));
	width: calc(1501.6 * var(--z-px));
	height: calc(1501.6 * var(--z-px));
	border-radius: 50%;
	background: var(--z-yellow);
}

.z-person--even .z-person__circle {
	left: calc(50% + (-428.2 - 600) * var(--z-px));
}

.z-person--pink .z-person__circle {
	background: var(--z-pink);
}

.z-person--cyan .z-person__circle {
	background: var(--z-cyan);
}

.z-person__eyes {
	position: absolute;
	top: calc(440 * var(--z-px));
	left: calc(50% + (329 - 600) * var(--z-px));
	width: calc(195.2 * var(--z-px));
}

.z-person--even .z-person__eyes {
	top: calc(415 * var(--z-px));
	left: calc(50% + (688.4 - 600) * var(--z-px));
}

/* デザインの 3 人目は目玉が 1 人目より高い位置にある（6 人ごとに同じ並びをくり返す） */
@media (min-width: 768px) {
	.z-person:nth-child(6n + 3) .z-person__eyes {
		top: calc(346.2 * var(--z-px));
	}
}

.z-person__inner {
	z-index: 2;
	height: 100%;
	/* 人のブロックは上下に重なっているので、次の人の箱の透明な部分が前の人の View More を
	   覆ってクリックできなくなる。箱はクリックを通し、文字の部分だけ受け取る */
	pointer-events: none;
}

.z-person__text {
	pointer-events: auto;
}

.z-person__photo {
	position: absolute;
	top: calc(-50 * var(--z-px));
	left: calc(507 * var(--z-px));
	width: auto;
	max-width: none;
	height: calc(806 * var(--z-px));
}

.z-person--even .z-person__photo {
	top: calc(-90 * var(--z-px));
	left: calc(9 * var(--z-px));
}

.z-person__text {
	position: absolute;
	top: calc(128 * var(--z-px));
	left: calc(829 * var(--z-px));
	width: calc(300 * var(--z-px));
}

.z-person--even .z-person__text {
	top: calc(105 * var(--z-px));
	left: calc(309.5 * var(--z-px));
}

.z-person__en {
	font-family: var(--z-en);
	font-size: calc(60 * var(--z-px));
	font-weight: 400;
	line-height: 1;
	letter-spacing: .05em;
	white-space: nowrap;
}

.z-person__name {
	margin-top: calc(28 * var(--z-px));
	font-size: calc(26 * var(--z-px));
	font-weight: 500;
	line-height: 1.25;
	letter-spacing: .05em;
}

.z-person__meta {
	margin-top: calc(10 * var(--z-px));
	font-size: calc(14 * var(--z-px));
	font-weight: 500;
	line-height: 2;
}

.z-person__catch {
	width: calc(360 * var(--z-px));
	margin-top: calc(40 * var(--z-px));
	font-size: calc(18 * var(--z-px));
	font-weight: 500;
	line-height: 2;
	letter-spacing: .02em;
}

.z-person__intro {
	margin-top: calc(10 * var(--z-px));
	font-size: calc(14 * var(--z-px));
	line-height: 2;
	letter-spacing: .02em;
	text-align: justify;
}

.z-person__more {
	margin-top: calc(24 * var(--z-px));
	color: #fff;
}

/* --------------------------------------------------------------------------
   TOP：recruit
   -------------------------------------------------------------------------- */
.z-trecruit {
	position: relative;
	z-index: 2;
	padding-bottom: calc(315 * var(--z-px));
}

.z-trecruit__chara {
	position: absolute;
	top: calc(-217.6 * var(--z-px));
	left: calc(50% + (695.4 - 600) * var(--z-px));
	width: calc(821.6 * var(--z-px));
	max-width: none;
	pointer-events: none;
}

.z-trecruit .z-head {
	margin-left: calc(76.1 * var(--z-px));
}

.z-trecruit__body {
	position: absolute;
	top: calc(51 * var(--z-px));
	left: calc(394.6 * var(--z-px));
}

.z-trecruit__title {
	font-size: calc(30 * var(--z-px));
	font-weight: 500;
	line-height: 2;
	letter-spacing: .05em;
}

.z-trecruit__text {
	margin-top: calc(22 * var(--z-px));
	font-size: calc(14 * var(--z-px));
	line-height: 2;
}

.z-trecruit__links {
	margin-top: calc(52 * var(--z-px));
}

/* --------------------------------------------------------------------------
   下層ページ共通
   -------------------------------------------------------------------------- */
.z-page {
	position: relative;
}

.z-page__head {
	position: relative;
	z-index: 2;
	height: 0;
}

.z-page__head .z-head {
	position: absolute;
	top: calc(141.8 * var(--z-px));
	left: calc(76.1 * var(--z-px));
}

.z-page__chara {
	position: absolute;
	top: 0;
	left: calc(50% + (-485.9 - 600) * var(--z-px));
	width: calc(933.5 * var(--z-px));
	max-width: none;
	pointer-events: none;
}

.z-page__chara--concept {
	transform: rotate(90deg);
}

/* 本文の見出しコピー・本文 */
.z-copy {
	font-size: calc(32 * var(--z-px));
	font-weight: 500;
	line-height: 2;
	letter-spacing: .05em;
}

.z-body {
	font-size: calc(16 * var(--z-px));
	line-height: 2;
	text-align: justify;
}

.z-body p + p {
	margin-top: 2em;
}

.z-sub {
	scroll-margin-top: 40px;
}

/* --------------------------------------------------------------------------
   concept：ヤブシタの哲学・園長のご挨拶
   -------------------------------------------------------------------------- */
.z-philo,
.z-message {
	position: relative;
	z-index: 3;
	padding-left: calc(550 * var(--z-px));
}

.z-philo {
	padding-top: calc(196.4 * var(--z-px));
}

.z-philo .z-copy,
.z-message .z-copy {
	margin-top: calc(34 * var(--z-px));
}

.z-philo .z-body {
	width: calc(600 * var(--z-px));
	margin-top: calc(24 * var(--z-px));
}

.z-message {
	min-height: calc(960 * var(--z-px));
	margin-top: calc(141 * var(--z-px));
}

.z-message__text {
	width: calc(600 * var(--z-px));
	margin-top: calc(24 * var(--z-px));
}

.z-message__person {
	position: absolute;
	top: calc(186 * var(--z-px));
	left: calc(162 * var(--z-px));
	width: calc(352 * var(--z-px));
}

.z-message__photo {
	display: block;
	width: calc(234 * var(--z-px));
	margin-left: calc(87 * var(--z-px));
}

.z-message__caption {
	position: absolute;
	top: calc(545 * var(--z-px));
	left: 0;
	display: flex;
	flex-direction: column;
	text-shadow: 0 0 12px rgba(24, 55, 97, .6);
}

.z-message__role {
	font-size: calc(16 * var(--z-px));
	font-weight: 500;
	line-height: 1.6;
}

.z-message__title {
	font-size: calc(12 * var(--z-px));
	line-height: 1.6;
}

.z-message__name {
	margin-top: calc(4 * var(--z-px));
	font-size: calc(27 * var(--z-px));
	font-weight: 500;
	line-height: 1.2;
}

/* --------------------------------------------------------------------------
   concept：檻を飛び出す挑戦（年表）
   -------------------------------------------------------------------------- */
.z-history {
	position: relative;
	z-index: 1;
	margin-top: calc(139 * var(--z-px));
	padding: calc(237.7 * var(--z-px)) 0 0;
}

.z-history__bg {
	position: absolute;
	inset: 0;
	pointer-events: none;
}

.z-history__wave,
.z-history__fill,
.z-history__yellow {
	position: absolute;
}

.z-history__wave {
	top: 0;
	left: -9.28%;
	width: 118.78%;
	height: calc(651.9 * var(--z-px));
	background: url("../img/zoo/svg/hist-top.svg") center / 100% 100% no-repeat;
}

.z-history__fill {
	top: calc(446.8 * var(--z-px));
	bottom: calc(175 * var(--z-px));
	left: 0;
	width: 100%;
	background: var(--z-cyan);
}

.z-history__yellow {
	top: calc(330.4 * var(--z-px));
	bottom: 0;
	left: -15.6%;
	width: 125.7%;
}

/* 黄色の山：上の 3 つ（::before）と下の大きな山（::after）に分けて描く。
   道を下へ延ばしたとき（--extra）は、伸ばさずに上と下に分け、間をあける */
.z-history__yellow::before,
.z-history__yellow::after {
	position: absolute;
	left: 0;
	width: 100%;
	height: calc(100% - var(--extra, 0) * var(--z-px));
	background: url("../img/zoo/svg/hist-yellow.svg") center / 100% 100% no-repeat;
	content: "";
}

.z-history__yellow::before {
	top: 0;
	clip-path: inset(0 0 53.7% 0);
}

.z-history__yellow::after {
	bottom: 0;
	clip-path: inset(46.3% 0 0 0);
}

/* 2 ページ目の道の上の山：1 ページ目の上の山を左右反転し、2 ページ目の道に合わせて縦に 1.15 倍にしたもの。
   上（1856）と高さ（2214.3）は、1 ページ目の山の位置と大きさ（330.4・1925.5）を 2 ページ目の道の位置に直した値。
   3 ページ目以降（--shift が 1 以上）は、道と同じだけ（1 ページにつき 28.46 左・1775.5 下）ずらす */
.z-history__yellow--page2 {
	top: calc((1856 + 1775.5 * var(--shift, 0)) * var(--z-px));
	bottom: auto;
	left: -10.1%;
	height: calc(2214.3 * var(--z-px));
	margin-left: calc(-28.46 * var(--shift, 0) * var(--z-px));
	transform: scaleX(-1);
}

/* 真ん中の小さな山は題名にかかるので、左右の山だけを残す */
.z-history__yellow--page2::before {
	height: 100%;
	clip-path: polygon(0 0, 100% 0, 100% 46.3%, 60% 46.3%, 60% 38%, 40% 38%, 40% 46.3%, 0 46.3%);
}

.z-history__yellow--page2::after {
	content: none;
}

/* 道を下へ延ばしたときも、キャラクターはデザインの道のまわり（延ばす前の高さ）に置く */
.z-history__charas {
	position: absolute;
	z-index: 0;
	top: 0;
	bottom: calc(var(--extra, 0) * var(--z-px));
	left: 50%;
	width: calc(1200 * var(--z-px));
	transform: translateX(-50%);
	pointer-events: none;
}

.z-history__chara {
	position: absolute;
	top: calc(var(--y) * 1%);
	left: calc(var(--x) * var(--z-px));
	width: calc(var(--s) * var(--z-px));
}

.z-history__inner {
	z-index: 1;
	color: var(--z-navy);
	text-align: center;
}

.z-history .z-sub {
	color: #fff;
}

.z-history__copy {
	margin-top: calc(80 * var(--z-px));
	font-size: calc(45 * var(--z-px));
	font-weight: 500;
	line-height: 1.4;
	letter-spacing: .05em;
}

.z-history__lead {
	margin-top: calc(14 * var(--z-px));
	font-size: calc(16 * var(--z-px));
	line-height: 2;
}

/* 年表：PC はデザインの道の上の決まった位置に置く（--x・--y は項目の丸の中心） */
.z-timeline {
	position: relative;
	width: calc(1200 * var(--z-px));
	height: calc(var(--h) * var(--z-px));
	margin: calc(112 * var(--z-px)) auto 0;
	color: #fff;
	text-align: left;
}

/* 2 ページ目の道のまわりのキャラクター（--x・--y は年表の枠の左上からの位置） */
.z-timeline__charas {
	position: absolute;
	inset: 0;
	pointer-events: none;
}

.z-timeline__chara {
	position: absolute;
	top: calc(var(--y) * var(--z-px));
	left: calc(var(--x) * var(--z-px));
	width: calc(var(--s) * var(--z-px));
}

.z-timeline__road {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	overflow: visible;
	pointer-events: none;
}

.z-timeline__line,
.z-timeline__tail {
	fill: none;
	stroke: #fff;
	stroke-width: 7;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.z-timeline__tail {
	stroke-dasharray: 0 14;
}

.z-timeline__item {
	position: absolute;
	top: calc(var(--y) * var(--z-px));
	left: calc(var(--x) * var(--z-px));
	width: 0;
	height: 0;
}

.z-timeline__anchor {
	position: absolute;
	top: 0;
	left: 0;
	display: block;
	border-radius: 50%;
	transform: translate(-50%, -50%);
}

.z-timeline__dot {
	width: calc(31.5 * var(--z-px));
	height: calc(31.5 * var(--z-px));
	border: calc(6 * var(--z-px)) solid #fff;
	background: var(--z-cyan);
	transition: scale .3s var(--z-ease);
}

.z-timeline__item:has(.z-timeline__title--open:hover) .z-timeline__dot,
.z-timeline__item:has(.z-bubble:popover-open) .z-timeline__dot {
	scale: 1.15;
}

.z-timeline__photo {
	width: calc(152 * var(--z-px));
	height: calc(152 * var(--z-px));
	padding: 0;
	overflow: hidden;
	border: calc(5 * var(--z-px)) solid #fff;
	background: #fff;
	transition: transform .3s var(--z-ease);
}

.z-timeline__photo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.z-timeline__photo:hover {
	transform: translate(-50%, -50%) scale(1.06);
}

.z-timeline__year {
	position: absolute;
	top: 0;
	right: calc(24 * var(--z-px));
	font-family: var(--z-en);
	font-size: calc(22 * var(--z-px));
	font-weight: 500;
	line-height: 1;
	letter-spacing: .05em;
	white-space: nowrap;
	transform: translateY(-50%);
}

.z-timeline__item--photo .z-timeline__year {
	right: calc(85 * var(--z-px));
}

.z-timeline__title {
	position: absolute;
	top: 0;
	left: calc(22 * var(--z-px));
	width: calc(var(--tw) * var(--z-px));
	font-size: calc(16 * var(--z-px));
	line-height: 1.5;
	word-break: keep-all;
	overflow-wrap: break-word;
	transform: translateY(-50%);
	/* 道や隣の項目・キャラクターにかかる所だけ、題名（バッジ）をずらす（history.php の offset） */
	translate: calc(var(--bx, 0) * var(--z-px)) calc(var(--by, 0) * var(--z-px));
}

/* 年表の題名と詳細の吹き出しは、言葉の途中で折り返さない。折り返してよい文節の切れ目には、yhd_phrase_html()（inc/budoux.php）で
   <wbr> を入れている（word-break: auto-phrase は Safari が対応していないので使わない）。
   Safari が keep-all でも折り返す「「」の直後などは、yhd_phrase_html() が nowrap で囲んでいる */
.z-timeline__title .nowrap,
.z-bubble .nowrap {
	white-space: nowrap;
}

.z-timeline__item--photo .z-timeline__title {
	left: calc(83 * var(--z-px));
}

/* 詳細のある項目の題名。幅は文字の分だけにし（隣の項目にかぶらないよう）、反応する範囲は ::before で年と丸まで広げる */
.z-timeline__title--open {
	width: max-content;
	max-width: calc(var(--tw) * var(--z-px));
	padding: 0;
	border: 0;
	background: none;
	text-align: left;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: .3em;
}

.z-timeline__title--open::before {
	content: "";
	position: absolute;
	top: -.5em;
	right: 0;
	bottom: -.5em;
	left: calc(-106 * var(--z-px));
}

/* ★の項目：丸をほかの丸の 3 倍ほどにして黄色にし、キャラクターの紺のシルエットを入れる（画像は history.php で --mark に入れる。
   画像の透けている所を型にして、紺で塗る）。まわりに黄色の輪が広がって消える動きをくり返し、目を引くようにする。
   題名は太く、少し大きくする。丸が大きい分、年と題名を外へずらす */
.z-timeline__dot--star {
	--ring: calc(8 * var(--z-px));
	width: calc(90 * var(--z-px));
	height: calc(90 * var(--z-px));
	border-width: var(--ring);
	background: var(--z-yellow);
	box-shadow: 0 calc(4 * var(--z-px)) 0 rgb(24 55 97 / .22);
}

.z-timeline__dot--star::before {
	content: "";
	position: absolute;
	inset: 4%;
	background: var(--z-navy);
	-webkit-mask: var(--mark) center / contain no-repeat;
	mask: var(--mark) center / contain no-repeat;
}

.z-timeline__dot--star::after {
	content: "";
	position: absolute;
	inset: calc(-1 * var(--ring));
	border: calc(4 * var(--z-px)) solid var(--z-yellow);
	border-radius: 50%;
	pointer-events: none;
	animation: z-ping 2.4s ease-out infinite;
}

@keyframes z-ping {
	0% {
		opacity: 1;
		scale: 1;
	}

	70%,
	100% {
		opacity: 0;
		scale: 1.8;
	}
}

.z-timeline__item--star .z-timeline__year {
	right: calc(55 * var(--z-px));
}

.z-timeline__item--star .z-timeline__title {
	left: calc(55 * var(--z-px));
	font-size: calc(18 * var(--z-px));
	font-weight: 700;
}

.z-timeline__item--star .z-timeline__title--open::before {
	left: calc(-170 * var(--z-px));
}

/* バナーのある★の項目：年と題名の代わりに、傾いた札（バナー）を出す（お客様のデザイン案の黄色と紺の札。history.php で交互に色を決める）。
   文字はデザイン案に合わせて、太い角ゴシックを右へ傾ける。お客様の見本のバナーのように、札の内側に線を引き、大きい行は縁取りと影を付けて、
   集中線と筆の線を添える。札の裏からキャラクターが顔を出し、まわりで白い星が光る。
   大きさは --u（PC は年表の 0.9px、SP はおよそ 0.8px）の倍数で決める。
   --plate は札、--ink は年と上の行、--accent は上の行の下の線と集中線、--line は札の内側の線、--main と --edge は大きい行の字と縁取りの色 */
.z-banner {
	--u: calc(.9 * var(--z-px));
	--plate: #ffe78f;
	--ink: var(--z-navy);
	--year: var(--z-navy);
	--accent: var(--z-navy);
	--line: var(--z-navy);
	--main: #fff;
	--edge: var(--z-navy);
	isolation: isolate;
	color: var(--ink);
	font-family: var(--z-pop);
	font-weight: 900;
	letter-spacing: 0;
	text-decoration: none;
	/* 題名の幅（--tw）に関係なく、文字の分の幅にする */
	max-width: none;
	rotate: -4deg;
	transition: scale .3s var(--z-ease);
}

.z-banner--navy {
	--plate: var(--z-navy);
	--ink: #fff;
	--year: var(--z-yellow);
	--accent: var(--z-yellow);
	--line: #fff;
	--main: var(--z-yellow);
	--edge: #0b1e3a;
	rotate: 3deg;
}

.z-banner:hover,
.z-timeline__item:has(.z-bubble:popover-open) .z-banner {
	scale: 1.05;
}

/* 年は札の中に出すので、題名は★の丸のすぐ右に置く（黄色の札は丸の側のとがった先が、丸に向く）。反応する範囲は丸まで広げる */
.z-timeline__item--banner .z-timeline__title {
	left: calc(67 * var(--z-px));
}

.z-timeline__item--banner .z-timeline__title--open::before {
	top: 0;
	bottom: 0;
	left: calc(-83 * var(--z-px));
}

/* 丸の右に入る場所がない項目（history.php の left）は、丸の左に置き、黄色の札のとがった先を右へ向ける */
.z-timeline__item--left .z-timeline__title {
	right: calc(67 * var(--z-px));
	left: auto;
}

.z-timeline__item--left .z-timeline__title--open::before {
	right: calc(-83 * var(--z-px));
	left: 0;
}

.z-timeline__item--left .z-banner--yellow .z-banner__plate::before {
	right: auto;
	left: calc(100% - 1px);
	clip-path: polygon(100% 50%, 0 0, 0 100%);
}

.z-banner__plate {
	position: relative;
	display: block;
	padding: calc(16 * var(--u)) calc(28 * var(--u)) calc(18 * var(--u)) calc(24 * var(--u));
	border-radius: calc(16 * var(--u));
	background: var(--plate);
	/* 縁から 6u 内側に、太さ 3u の線を引く */
	box-shadow: inset 0 0 0 calc(6 * var(--u)) var(--plate), inset 0 0 0 calc(9 * var(--u)) var(--line);
	word-break: keep-all;
	filter: drop-shadow(0 calc(6 * var(--u)) 0 rgb(24 55 97 / .25));
}

.z-banner--yellow .z-banner__plate::before {
	content: "";
	position: absolute;
	top: 50%;
	right: calc(100% - 1px);
	width: calc(16 * var(--u));
	height: calc(30 * var(--u));
	background: var(--plate);
	clip-path: polygon(0 50%, 100% 0, 100% 100%);
	translate: 0 -50%;
}

/* 年・上の行・下の大きい行の 3 段（デザイン案と同じく、年は 1 行目に置く）。どの段もデザイン案のように右へ傾ける。
   年と上の行の下には線を引き、年と上の行の長いほう（history.php で z-banner__burst を付ける）の終わりの右上に、3 本の集中線を出す */
.z-banner__top {
	display: block;
	margin-bottom: calc(4 * var(--u));
	padding-bottom: calc(6 * var(--u));
	background: linear-gradient(var(--accent), var(--accent)) no-repeat 0 100% / 100% calc(3 * var(--u));
}

.z-banner__year,
.z-banner__sub {
	position: relative;
	display: block;
	width: fit-content;
}

.z-banner__top,
.z-banner__main {
	transform: skewX(-8deg);
}

.z-banner__burst::after {
	content: "";
	position: absolute;
	bottom: 60%;
	left: 100%;
	width: calc(22 * var(--u));
	aspect-ratio: 1;
	margin-left: calc(2 * var(--u));
	background: var(--accent);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg stroke='%23000' stroke-width='3.2' stroke-linecap='round'%3E%3Cpath d='M3 21l5-5M12 17V9M15 21l7-4'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg stroke='%23000' stroke-width='3.2' stroke-linecap='round'%3E%3Cpath d='M3 21l5-5M12 17V9M15 21l7-4'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
}

.z-banner__year {
	color: var(--year);
	font-size: calc(24 * var(--u));
	line-height: 1.1;
	letter-spacing: .02em;
}

.z-banner__sub {
	font-size: calc(21 * var(--u));
	line-height: 1.25;
}

.z-banner--navy .z-banner__sub {
	text-shadow: 0 calc(2 * var(--u)) 0 var(--edge);
}

/* 大きい行は縁取り（字の外側に描く）と影を付け、下に濃い黄色の筆の線を引く。左には 3 本の集中線を出す */
.z-banner__main {
	position: relative;
	display: block;
	width: fit-content;
	margin-left: calc(20 * var(--u));
	padding-bottom: calc(9 * var(--u));
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 20' preserveAspectRatio='none'%3E%3Cpath d='M2 13C60 7 130 3 198 2v3C130 7 62 13 4 20c-3 0-4-5-2-7z' fill='%23fcc81b'/%3E%3C/svg%3E") no-repeat 0 100% / 100% calc(14 * var(--u));
	color: var(--main);
	font-size: calc(40 * var(--u));
	line-height: 1.15;
	-webkit-text-stroke: calc(7 * var(--u)) var(--edge);
	paint-order: stroke fill;
	text-shadow: 0 calc(4 * var(--u)) 0 var(--edge);
}

.z-banner__main::before {
	content: "";
	position: absolute;
	top: 18%;
	right: 100%;
	width: calc(20 * var(--u));
	height: calc(30 * var(--u));
	margin-right: calc(2 * var(--u));
	background: var(--accent);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 30'%3E%3Cg stroke='%23000' stroke-width='3.4' stroke-linecap='round'%3E%3Cpath d='M3 4l14 6M2 15h15M3 26l14-6'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 30'%3E%3Cg stroke='%23000' stroke-width='3.4' stroke-linecap='round'%3E%3Cpath d='M3 4l14 6M2 15h15M3 26l14-6'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
}

/* キャラクターは札の裏（z-index:-1）に置き、上半分ほどを札の上の縁から出す。押せる所に乗せると、ぴょこっと伸びる */
.z-banner__chara {
	position: absolute;
	z-index: -1;
	right: calc(12 * var(--u));
	bottom: calc(100% - 42 * var(--u));
	width: calc(96 * var(--u));
	max-width: none;
	height: auto;
	rotate: 6deg;
	transition: translate .3s var(--z-ease);
}

.z-banner--navy .z-banner__chara {
	rotate: -8deg;
}

/* キャラクターを左から出すとき（history.php の peek）は、光る星を左右入れ替える */
.z-banner--peek-left .z-banner__chara {
	right: auto;
	left: calc(12 * var(--u));
}

.z-banner--peek-left .z-banner__spark {
	right: calc(-4 * var(--u));
	left: auto;
}

.z-banner--peek-left .z-banner__spark--s {
	right: auto;
	left: calc(-14 * var(--u));
}

.z-banner:hover .z-banner__chara,
.z-timeline__item:has(.z-bubble:popover-open) .z-banner__chara {
	translate: 0 calc(-12 * var(--u));
}

/* 札のまわりで光る星（左上に大きいの、右下に小さいの）。白は道の色にそろえている */
.z-banner__spark {
	position: absolute;
	top: calc(-16 * var(--u));
	left: calc(-4 * var(--u));
	width: calc(24 * var(--u));
	aspect-ratio: 1;
	background: #fff;
	clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
	animation: z-twinkle 2.4s ease-in-out infinite;
}

.z-banner__spark--s {
	top: auto;
	right: calc(-14 * var(--u));
	bottom: calc(-6 * var(--u));
	left: auto;
	width: calc(16 * var(--u));
	animation-delay: -1.2s;
}

@keyframes z-twinkle {
	0%,
	100% {
		opacity: 1;
		scale: 1;
	}

	50% {
		opacity: .5;
		scale: .5;
	}
}

/* 年表の詳細の吹き出し。popover なのでほかの要素より前に出る。位置と --tail（しっぽの左からの位置）は assets/js/zoo.js で決める */
.z-bubble {
	position: absolute;
	inset: auto;
	width: min(400px, 100vw - 24px);
	height: auto;
	margin: 0;
	padding: 0;
	overflow: visible;
	border: 0;
	background: none;
	color: #000;
	filter: drop-shadow(0 6px 16px rgba(0, 0, 0, .25));
}

.z-bubble:popover-open {
	animation: z-bubble-in .2s var(--z-ease);
}

@keyframes z-bubble-in {
	from {
		opacity: 0;
		transform: translateY(6px);
	}
}

/* popover に対応していないブラウザでは、詳細を年表の中に出さない */
@supports not selector(:popover-open) {
	.z-bubble {
		display: none;
	}
}

.z-bubble::after {
	content: "";
	position: absolute;
	top: calc(100% - 1px);
	left: var(--tail, 50%);
	width: 30px;
	height: 17px;
	margin-left: -15px;
	background: #fff;
	clip-path: polygon(0 0, 100% 0, 50% 100%);
}

.z-bubble[data-place="bottom"]::after {
	top: auto;
	bottom: calc(100% - 1px);
	clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

/* 上にも下にも入らず、丸に重ねて開いたとき */
.z-bubble[data-place="over"]::after {
	content: none;
}

/* 高さが画面に入らないときは中でスクロールする */
.z-bubble__inner {
	position: relative;
	max-height: calc(100dvh - 60px);
	padding: 24px 28px 26px;
	overflow: hidden auto;
	overscroll-behavior: contain;
	border-radius: 20px;
	background: #fff;
}

.z-bubble__close {
	position: absolute;
	z-index: 1;
	top: 12px;
	right: 12px;
	width: 32px;
	height: 32px;
	padding: 9px;
	border: 0;
	border-radius: 50%;
	background: #fff;
}

.z-bubble__close .icon {
	display: block;
	width: 100%;
	height: 100%;
}

.z-bubble__photo {
	display: block;
	width: calc(100% + 56px);
	max-width: none;
	margin: -24px -28px 18px;
	aspect-ratio: 600 / 450;
	object-fit: cover;
}

/* 詳細の写真（★の項目）。組み写真や文字入りの画像があるので、切り取らずに 16:9 の枠に収める。
   2 枚以上は横に並べ、左右のボタンか横スワイプで 1 枚ずつ送る（assets/js/zoo.js） */
.z-bubble--photos {
	width: min(480px, 100vw - 24px);
}

.z-bubble__photos {
	position: relative;
	margin: -24px -28px 18px;
	background: #eef1f2;
}

.z-bubble__slides {
	display: flex;
	overflow: auto hidden;
	overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}

.z-bubble__slides::-webkit-scrollbar {
	display: none;
}

.z-bubble__slide {
	flex: 0 0 100%;
	aspect-ratio: 16 / 9;
	scroll-snap-align: start;
}

.z-bubble__slide img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.z-bubble__nav {
	position: absolute;
	top: 50%;
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	margin-top: -17px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, .92);
	box-shadow: 0 1px 4px rgba(0, 0, 0, .25);
	color: var(--z-navy);
}

.z-bubble__nav--prev {
	left: 10px;
}

.z-bubble__nav--next {
	right: 10px;
}

.z-bubble__nav .icon {
	display: block;
	width: 16px;
	height: 8px;
	overflow: visible;
}

.z-bubble__nav--prev .icon {
	transform: scaleX(-1);
}

.z-bubble__count {
	position: absolute;
	right: 10px;
	bottom: 10px;
	padding: 0 10px;
	border-radius: 999px;
	background: rgba(0, 0, 0, .55);
	color: #fff;
	font-family: var(--z-en);
	font-size: 12px;
	line-height: 22px;
	letter-spacing: .05em;
}

.z-bubble__label {
	padding-right: 24px;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.7;
	letter-spacing: .05em;
}

.z-bubble__label span {
	padding: 0 6px;
	background: linear-gradient(transparent 50%, var(--z-yellow) 50%, var(--z-yellow) 92%, transparent 92%);
	word-break: keep-all;
	overflow-wrap: break-word;
	box-decoration-break: clone;
}

.z-bubble__heading {
	margin-top: 14px;
	font-size: 19px;
	font-weight: 500;
	line-height: 1.6;
	letter-spacing: .05em;
	word-break: keep-all;
	overflow-wrap: break-word;
}

/* 本文は単語の切れ目でだけ折り返し、行末の空きは両端揃えで字間に配って、右端に大きな空白を作らない。
   空きが大きい行は字間が広がりすぎるので、assets/js/fit-lines.js がその行の字間を少し詰めるか、控えの切れ目（wbr.soft）で折り返すか、
   前の行の最後の単語を下ろす。
   text-wrap: pretty は最後の行を長くするために前の行をわざと短くし、両端揃えで字間が広がるので使わない */
.z-bubble__body {
	margin-top: 10px;
	font-size: 14px;
	line-height: 1.9;
	text-align: justify;
	word-break: keep-all;
	overflow-wrap: break-word;
}

/* 控えの切れ目は、ふだんは折り返さない（display: none の wbr は折り返しの位置にならない）。
   fit-lines.js が前の行の最後の単語を下ろすときに使わないようにした切れ目（is-off）も、折り返さない */
.z-bubble__body wbr.soft:not(.is-on),
.z-bubble__body wbr.is-off {
	display: none;
}

/* 原稿で行を分けている本文（これからの挑戦）は、両端揃えにしない */
.z-bubble__body--lines {
	text-align: left;
}

/* 本文の下に並べる YouTube のサムネイル。YouTube の画像（4:3）の上下の黒い帯を切って 16:9 で出す */
.z-bubble__videos {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 8px;
	margin-top: 14px;
}

.z-bubble__video {
	position: relative;
	display: block;
	overflow: hidden;
	border-radius: 6px;
}

.z-bubble__video img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	transition: scale .3s var(--z-ease);
}

.z-bubble__video:hover img {
	scale: 1.06;
}

/* 動画だと分かるよう、真ん中に再生の印を出す */
.z-bubble__video::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 28px;
	height: 20px;
	margin: -10px 0 0 -14px;
	border-radius: 6px;
	background: rgba(255, 0, 0, .9) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 20'%3E%3Cpath fill='%23fff' d='M11 6l7 4-7 4z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
	pointer-events: none;
}

/* --------------------------------------------------------------------------
   concept：のびのび育つ環境
   -------------------------------------------------------------------------- */
.z-emp {
	position: relative;
	z-index: 2;
	margin-top: calc(-80 * var(--z-px));
	padding-top: calc(208 * var(--z-px));
	padding-bottom: calc(30 * var(--z-px));
}

.z-emp__head {
	min-height: calc(1006 * var(--z-px) - 208 * var(--z-px));
}

.z-emp__tagline {
	position: absolute;
	top: calc(473.7 * var(--z-px) - 208 * var(--z-px));
	left: calc(302.7 * var(--z-px));
	display: flex;
	flex-direction: row-reverse;
	align-items: flex-start;
	gap: calc(16 * var(--z-px));
	font-size: calc(67.6 * var(--z-px));
	font-weight: 500;
	line-height: 1;
	letter-spacing: .05em;
}

/* 縦書きの 1 行（右から 社員が／1 番、／お客様が／2 番。） */
.z-emp__col {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: calc(137.2 * var(--z-px));
}

.z-emp__v {
	margin-top: calc(37.7 * var(--z-px));
	writing-mode: vertical-rl;
}

.z-emp__num + .z-emp__v {
	margin-top: calc(10 * var(--z-px));
}

.z-emp__num {
	display: grid;
	place-items: center;
	width: calc(137.2 * var(--z-px));
	height: calc(137.2 * var(--z-px));
	border-radius: 50%;
	background: var(--z-yellow);
	color: var(--z-navy);
	font-family: var(--z-en);
	font-weight: 400;
	letter-spacing: 0;
}

.z-emp__chara {
	position: absolute;
	top: calc(502.7 * var(--z-px) - 208 * var(--z-px));
	left: calc(863.7 * var(--z-px));
	width: calc(553.7 * var(--z-px));
	max-width: none;
	pointer-events: none;
}

.z-emp__lead {
	position: absolute;
	top: calc(873.8 * var(--z-px) - 208 * var(--z-px));
	left: 0;
	width: 100%;
	font-size: calc(18 * var(--z-px));
	font-weight: 500;
	line-height: 2.5;
	text-align: center;
}

/* カード（4 列。8 件より後は薄く見せて「View More」で表示） */
.z-cards {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	width: calc(1200 * var(--z-px));
	margin: calc(88 * var(--z-px)) auto 0;
}

.z-card__inner {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	height: calc(449.3 * var(--z-px));
	padding-bottom: calc(20 * var(--z-px));
}

.z-card__photo {
	display: block;
	width: 100%;
	aspect-ratio: 1;
	overflow: hidden;
	background: rgba(255, 255, 255, .1);
}

.z-card__photo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .5s var(--z-ease);
}

a.z-card__inner:hover .z-card__photo img {
	transform: scale(1.05);
}

.z-card__kind {
	margin: calc(14 * var(--z-px)) 0 0 calc(40 * var(--z-px));
	padding: 0 calc(8 * var(--z-px));
	background: var(--z-yellow);
	color: #000;
	font-size: calc(12 * var(--z-px));
	font-weight: 500;
	line-height: 1.5;
}

.z-card__title {
	margin: calc(8 * var(--z-px)) calc(20 * var(--z-px)) 0 calc(40 * var(--z-px));
	font-size: calc(16 * var(--z-px));
	font-weight: 500;
	line-height: 1.6;
}

.z-card__more {
	display: inline-flex;
	align-items: center;
	gap: calc(8 * var(--z-px));
	margin: calc(8 * var(--z-px)) 0 0 calc(40 * var(--z-px));
	color: var(--z-yellow);
	font-family: var(--z-en);
	font-size: calc(18 * var(--z-px));
	font-weight: 500;
	line-height: 1;
}

.z-card__more .icon {
	width: calc(22.5 * var(--z-px));
	height: calc(9.9 * var(--z-px));
	transition: transform .3s var(--z-ease);
}

a.z-card__inner:hover .z-card__more .icon {
	transform: translateX(4px);
}

.z-cards:not(.is-expanded) .z-card--more {
	pointer-events: none;
	-webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .6), transparent calc(205 * var(--z-px)));
	mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .6), transparent calc(205 * var(--z-px)));
}

.z-cards:not(.is-expanded) .z-card--more:nth-child(n + 13) {
	display: none;
}

/* 続きがあるときは、3 段目の上の方だけを見せる */
.z-cards:not(.is-expanded):has(.z-card--more) {
	max-height: calc(1108.6 * var(--z-px));
	overflow: hidden;
}

.z-emp__more {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: calc(10 * var(--z-px));
	margin: calc(-100 * var(--z-px)) auto 0;
	padding: 0;
	border: 0;
	background: none;
	color: #fff;
	font-family: var(--z-en);
	font-size: calc(20 * var(--z-px));
	font-weight: 500;
	line-height: 1;
}

.z-emp__more .icon {
	width: calc(45.8 * var(--z-px));
	height: calc(45.8 * var(--z-px));
}

/* 押して全部のカードを表示したら、ボタンは消す（display: flex が hidden 属性に勝たないように） */
.z-emp__more[hidden] {
	display: none;
}

/* --------------------------------------------------------------------------
   モーダル（キャラクター詳細）
   カード（幅 600 まで）を画面の中央に置く。カードは画面の高さに収まる大きさにして、
   スクロールしなくてもカード全体が見えるようにする。
   -------------------------------------------------------------------------- */
.z-modal {
	width: 100%;
	max-width: none;
	height: 100%;
	max-height: none;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: #000;
	overflow: hidden;
}

.z-modal::backdrop {
	background: rgba(0, 0, 0, .8);
}

.z-modal[open] {
	animation: z-fade .3s ease;
}

@keyframes z-fade {
	from {
		opacity: 0;
	}
}

.z-modal__inner {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	padding: 72px 20px 40px;
}

/* close・カード・Prev / Next をまとめた箱。高さは画面の余白を除いた分まで */
.z-modal__body {
	position: relative;
	display: flex;
	flex-direction: column;
	width: 600px;
	max-width: 100%;
	max-height: 100%;
}

/* close はカードの右上の外側 */
.z-modal__close {
	position: absolute;
	z-index: 2;
	right: 0;
	bottom: calc(100% + 18px);
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 0;
	border: 0;
	background: none;
	color: #fff;
	font-family: var(--z-en);
	font-size: 20px;
	font-weight: 500;
	line-height: 1;
}

.z-modal__close .icon {
	width: 23px;
	height: 23px;
}

/* Prev / Next はカードの左右の外側で、カードの高さの真ん中（狭い画面ではカードの下。メディアクエリで切り替え）。
   幅を max-content にしているのは、Safari でボタンの幅が矢印の分だけ狭くなり、Prev の矢印がカードに重なるのを防ぐため
   （カードの外に置くと使える幅が 0 になり、Safari は max-width: 100% の付いた svg を幅 0 として数える） */
.z-modal__nav {
	display: contents;
}

.z-modal__nav[hidden] {
	display: none;
}

.z-modal__step {
	position: absolute;
	z-index: 2;
	top: 50%;
	display: flex;
	align-items: center;
	gap: 11px;
	width: max-content;
	padding: 0;
	border: 0;
	background: none;
	color: #fff;
	font-family: var(--z-en);
	font-size: 20px;
	font-weight: 500;
	line-height: 1;
	transform: translateY(-50%);
}

.z-modal__step-icon {
	width: 38px;
	height: 23px;
	transition: transform .3s var(--z-ease);
}

.z-modal__step--prev {
	right: calc(100% + 20px);
}

.z-modal__step--prev .z-modal__step-icon {
	transform: scaleX(-1);
}

.z-modal__step--prev:hover .z-modal__step-icon {
	transform: scaleX(-1) translateX(4px);
}

.z-modal__step--next {
	left: calc(100% + 20px);
}

.z-modal__step--next:hover .z-modal__step-icon {
	transform: translateX(4px);
}

/* キャラクター詳細は 1 枚のカード画像（900 × 1695）。幅を「画面の高さに収まる幅」までにして、カード全体を見せる。
   --z-chara-room は画面の高さのうちカード以外に使う分（上下の余白 72 + 40。狭い画面ではカードの下の Prev / Next も） */
.z-modal--chara {
	--z-chara-room: 112px;
}

.z-modal--chara .z-modal__body {
	width: min(600px, (100vh - var(--z-chara-room)) * 900 / 1695);
	width: min(600px, (100svh - var(--z-chara-room)) * 900 / 1695);
}

.z-chara-card {
	position: relative;
}

.z-chara-card__img {
	display: block;
	width: 100%;
	height: auto;
}

/* カードの左右に Prev / Next を置く幅がないときは、カードの下に並べる */
@media (max-width: 899px) {
	.z-modal__inner {
		padding-bottom: 24px;
	}

	/* 余白 72 + 24、Prev / Next の上の余白 16 と高さ 23 */
	.z-modal--chara {
		--z-chara-room: 135px;
	}

	.z-modal__nav {
		display: flex;
		flex-shrink: 0;
		justify-content: space-between;
		margin-top: 16px;
	}

	.z-modal__step {
		position: static;
		transform: none;
	}
}

@media (max-width: 767px) {
	.z-modal__inner {
		padding: 56px 16px 20px;
	}

	.z-modal__close {
		bottom: calc(100% + 12px);
		font-size: 16px;
	}

	.z-modal__step {
		font-size: 16px;
	}

	/* 余白 56 + 20、Prev / Next の上の余白 16 と高さ 23 */
	.z-modal--chara {
		--z-chara-room: 115px;
	}
}

/* --------------------------------------------------------------------------
   社員インタビュー
   -------------------------------------------------------------------------- */
.z-interview__head {
	position: relative;
	z-index: 3;
	min-height: calc(990 * var(--z-px));
	padding: calc(176 * var(--z-px)) 0 0 calc(550 * var(--z-px));
}

.z-interview__photo {
	position: absolute;
	top: calc(155.7 * var(--z-px));
	left: calc(174.3 * var(--z-px));
	width: auto;
	max-width: none;
	height: calc(807 * var(--z-px));
}

.z-interview__chara {
	position: absolute;
	z-index: -1;
	top: calc(226 * var(--z-px));
	left: calc(946.8 * var(--z-px));
	width: calc(427.6 * var(--z-px));
	max-width: none;
	pointer-events: none;
}

.z-interview__intro {
	position: relative;
	width: calc(600 * var(--z-px));
}

.z-interview__en {
	margin-top: calc(50 * var(--z-px));
	color: var(--z-yellow);
	font-family: var(--z-en);
	font-size: calc(60 * var(--z-px));
	font-weight: 400;
	line-height: 1;
	letter-spacing: .05em;
}

.z-interview__name {
	margin-top: calc(26 * var(--z-px));
	font-size: calc(26 * var(--z-px));
	font-weight: 500;
	line-height: 1.25;
	letter-spacing: .05em;
}

.z-interview__meta {
	margin-top: calc(10 * var(--z-px));
	font-size: calc(14 * var(--z-px));
	font-weight: 500;
	line-height: 2;
}

.z-interview__lead {
	margin-top: calc(56 * var(--z-px));
}

/* Q&A：写真（左 700×500）に黄色の箱（右 700×380、左 200px は少し透ける）を重ねる */
.z-qa {
	position: relative;
	z-index: 2;
	width: calc(1200 * var(--z-px));
	margin: calc(11 * var(--z-px)) auto 0;
}

.z-qa__item {
	position: relative;
	height: calc(530 * var(--z-px));
}

.z-qa__photo {
	width: calc(700 * var(--z-px));
	height: calc(500 * var(--z-px));
	overflow: hidden;
	background: rgba(255, 255, 255, .08);
}

.z-qa__photo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.z-qa__num {
	position: absolute;
	top: calc(14 * var(--z-px));
	right: calc(50 * var(--z-px));
	color: var(--z-yellow);
	font-family: var(--z-en);
	font-size: calc(51 * var(--z-px));
	font-weight: 500;
	line-height: 1;
	letter-spacing: .05em;
}

.z-qa__box {
	position: absolute;
	z-index: 2;
	top: calc(60 * var(--z-px));
	left: calc(500 * var(--z-px));
	width: calc(700 * var(--z-px));
	min-height: calc(380 * var(--z-px));
	padding: calc(30 * var(--z-px)) calc(50 * var(--z-px)) calc(36 * var(--z-px));
	background: linear-gradient(to right, rgba(252, 200, 27, .8) calc(200 * var(--z-px)), var(--z-yellow) calc(200 * var(--z-px)));
	color: #000;
}

.z-qa__q {
	display: flex;
	align-items: center;
	gap: calc(13 * var(--z-px));
	color: #fff;
	font-size: calc(16 * var(--z-px));
	font-weight: 500;
	line-height: 2;
	letter-spacing: .05em;
}

.z-qa__badge {
	display: grid;
	flex-shrink: 0;
	place-items: center;
	width: calc(37 * var(--z-px));
	height: calc(34.6 * var(--z-px));
	margin-left: calc(-50 * var(--z-px));
	border-radius: 50%;
	background: var(--z-navy);
	color: #fff;
	font-family: var(--z-en);
	font-size: calc(18 * var(--z-px));
	font-weight: 500;
	line-height: 1;
}

.z-qa__title {
	margin-top: calc(18 * var(--z-px));
	font-size: calc(24 * var(--z-px));
	font-weight: 500;
	line-height: 2;
	letter-spacing: .05em;
}

.z-qa__body {
	margin-top: calc(10 * var(--z-px));
	font-size: calc(16 * var(--z-px));
	line-height: 2;
	text-align: justify;
}

.z-qa__chara {
	position: absolute;
	z-index: 1;
	max-width: none;
	pointer-events: none;
}

/* 2 つ目の箱の上から顔を出すキャラクター */
.z-qa__chara--peek {
	top: calc(-94.8 * var(--z-px));
	left: calc(600 * var(--z-px));
	width: calc(343.6 * var(--z-px));
}

/* 4 つ目の箱の下にぶら下がるキャラクター（さかさま） */
.z-qa__chara--hang {
	top: calc(139.1 * var(--z-px));
	left: calc(788.1 * var(--z-px));
	width: calc(478.1 * var(--z-px));
	transform: rotate(180deg);
}

.z-qa__item:last-child {
	height: calc(500 * var(--z-px));
}

/* Prev / Back to Top / Next */
.z-pager {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: calc(48 * var(--z-px));
	margin-top: calc(94 * var(--z-px));
	padding-bottom: calc(40 * var(--z-px));
}

.z-pager__link {
	display: inline-flex;
	align-items: center;
	gap: calc(9 * var(--z-px));
	font-family: var(--z-en);
	font-size: calc(20 * var(--z-px));
	font-weight: 500;
	line-height: 1;
}

.z-pager__link .icon {
	width: calc(45.8 * var(--z-px));
	height: calc(45.8 * var(--z-px));
}

.z-pager__top {
	display: grid;
	place-items: center;
	width: calc(150.8 * var(--z-px));
	height: calc(45.8 * var(--z-px));
	border: 1px solid #fff;
	font-family: var(--z-en);
	font-size: calc(20 * var(--z-px));
	font-weight: 500;
	line-height: 1;
	transition: background .3s, color .3s;
}

.z-pager__top:hover {
	background: #fff;
	color: var(--z-navy);
}

/* --------------------------------------------------------------------------
   contact
   -------------------------------------------------------------------------- */
.z-page__chara--contact {
	top: calc(-30.2 * var(--z-px));
	left: calc(50% + (-531.1 - 600) * var(--z-px));
	width: calc(1052.6 * var(--z-px));
	transform: rotate(90deg);
}

.z-faq,
.z-inquiry {
	position: relative;
	z-index: 3;
	padding-left: calc(550 * var(--z-px));
}

.z-faq {
	padding-top: calc(196.4 * var(--z-px));
}

.z-faq__list {
	width: calc(600 * var(--z-px));
	margin-top: calc(40 * var(--z-px));
	border-top: 1px dotted var(--z-cyan);
}

.z-faq__item {
	border-bottom: 1px dotted var(--z-cyan);
}

.z-faq__q {
	display: flex;
	align-items: center;
	gap: calc(12 * var(--z-px));
	min-height: calc(54 * var(--z-px));
	padding: calc(8 * var(--z-px)) 0;
	cursor: pointer;
	list-style: none;
}

.z-faq__q::-webkit-details-marker {
	display: none;
}

.z-faq__badge {
	display: grid;
	flex-shrink: 0;
	place-items: center;
	width: calc(30 * var(--z-px));
	height: calc(30 * var(--z-px));
	border-radius: 50%;
	background: var(--z-yellow);
	color: var(--z-navy);
	font-family: var(--z-en);
	font-size: calc(18 * var(--z-px));
	font-weight: 500;
	line-height: 1;
}

.z-faq__badge--a {
	background: var(--z-cyan);
}

.z-faq__question {
	flex: 1;
	font-size: calc(16 * var(--z-px));
	font-weight: 500;
	line-height: 1.6;
}

.z-faq__toggle {
	width: calc(24 * var(--z-px));
	height: calc(24 * var(--z-px));
	transition: transform .3s var(--z-ease);
}

.z-faq__item.is-open .z-faq__toggle {
	transform: rotate(-90deg);
}

.z-faq__a {
	display: flex;
	align-items: flex-start;
	gap: calc(12 * var(--z-px));
	overflow: hidden;
	padding: calc(2 * var(--z-px)) calc(60 * var(--z-px)) calc(36 * var(--z-px)) 0;
}

.z-faq__a p {
	margin-top: calc(-1 * var(--z-px));
	font-size: calc(16 * var(--z-px));
	line-height: 2;
	text-align: justify;
}

.z-inquiry {
	margin-top: calc(152.8 * var(--z-px));
	padding-bottom: calc(110 * var(--z-px));
}

.z-inquiry__item {
	position: relative;
	margin-top: calc(80 * var(--z-px));
}

.z-inquiry__item + .z-inquiry__item {
	margin-top: calc(70 * var(--z-px));
}

.z-inquiry__label {
	display: flex;
	align-items: flex-end;
	gap: calc(18 * var(--z-px));
	color: var(--z-yellow);
	font-size: calc(16 * var(--z-px));
	font-weight: 500;
	line-height: 1.6;
}

.z-inquiry__icon {
	width: calc(72.5 * var(--z-px));
	height: calc(53 * var(--z-px));
	color: var(--z-yellow);
}

.z-inquiry__value {
	margin-top: calc(14 * var(--z-px));
	font-family: var(--z-en);
	font-size: calc(46 * var(--z-px));
	font-weight: 500;
	line-height: 1.1;
	letter-spacing: .05em;
}

.z-inquiry__value a:hover {
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: .15em;
}

.z-inquiry__note {
	margin-top: calc(14 * var(--z-px));
	font-size: calc(16 * var(--z-px));
	line-height: 2;
}

.z-inquiry__chara {
	position: absolute;
	top: calc(-47 * var(--z-px));
	left: calc(256.8 * var(--z-px));
	width: calc(114.3 * var(--z-px));
	pointer-events: none;
}

.z-inquiry__chara--mail {
	top: calc(-52 * var(--z-px));
	left: calc(262.1 * var(--z-px));
}

/* --------------------------------------------------------------------------
   下層ページの本文の列（求める人物像・募集要項・選考フロー・応募する）
   concept・contact と同じく、左の 550 を空けて右の列（幅 600）に並べる。
   -------------------------------------------------------------------------- */
.z-col {
	position: relative;
	z-index: 3;
	padding-left: calc(550 * var(--z-px));
}

.z-page__head + .z-col {
	padding-top: calc(196.4 * var(--z-px));
}

.z-col + .z-col {
	margin-top: calc(141 * var(--z-px));
}

.z-col:last-child {
	padding-bottom: calc(150 * var(--z-px));
}

.z-col .z-copy {
	margin-top: calc(34 * var(--z-px));
}

.z-col__body {
	width: calc(600 * var(--z-px));
	margin-top: calc(24 * var(--z-px));
}

.z-sub + .z-col__body {
	margin-top: calc(34 * var(--z-px));
}

/* 長い段の左の空きに置くキャラクター。段の中でスクロールについてくる（sticky） */
.z-col__rail {
	position: absolute;
	top: calc(80 * var(--z-px));
	bottom: 0;
	left: calc(150 * var(--z-px));
	width: calc(260 * var(--z-px));
	pointer-events: none;
}

/* 段の最初はページの見出しのキャラクターと重なるので、その下から */
.z-page__head + .z-col .z-col__rail {
	top: calc(1000 * var(--z-px));
}

.z-col__chara {
	position: sticky;
	top: calc(50vh - 130 * var(--z-px));
	width: 100%;
}

/* 列の中の小見出し（募集職種・待遇・その他・書類送付先） */
.z-col__title {
	display: flex;
	align-items: center;
	gap: calc(10 * var(--z-px));
	margin-top: calc(64 * var(--z-px));
	color: var(--z-yellow);
	font-size: calc(20 * var(--z-px));
	font-weight: 500;
	line-height: 1.6;
	letter-spacing: .05em;
}

.z-col__title::before {
	content: "";
	width: calc(10 * var(--z-px));
	height: calc(10 * var(--z-px));
	border-radius: 50%;
	background: currentColor;
}

.z-sub + .z-col__title {
	margin-top: calc(40 * var(--z-px));
}

.z-col__links {
	margin-top: calc(72 * var(--z-px));
}

/* 書類送付先 */
.z-address {
	margin-top: calc(12 * var(--z-px));
	font-size: calc(16 * var(--z-px));
	font-style: normal;
	line-height: 2;
}

.z-spec .z-address {
	margin-top: 0;
	font-size: inherit;
	line-height: inherit;
}

/* 募集要項：募集職種 */
.z-jobs {
	width: calc(600 * var(--z-px));
	margin-top: calc(16 * var(--z-px));
	border-top: 1px dotted var(--z-cyan);
}

.z-jobs li {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0 calc(16 * var(--z-px));
	padding: calc(14 * var(--z-px)) 0;
	border-bottom: 1px dotted var(--z-cyan);
	font-size: calc(20 * var(--z-px));
	font-weight: 500;
	line-height: 1.6;
}

.z-jobs__company {
	font-size: calc(14 * var(--z-px));
	font-weight: 400;
}

/* 募集要項：項目と内容の表 */
.z-spec {
	width: calc(600 * var(--z-px));
	margin-top: calc(16 * var(--z-px));
	border-top: 1px dotted var(--z-cyan);
}

.z-jobs + .z-spec {
	margin-top: calc(40 * var(--z-px));
}

/* 募集要項の文章は、言葉の途中で折り返さない。折り返してよい文節の切れ目には、テンプレートで <wbr> を入れている
   （word-break: auto-phrase は Safari が対応していないので使わない）。<wbr> の入っていない長い語は、はみ出す代わりに途中で折り返す。
   PC で 1 文字だけ次の行に落ちる所は <br class="z-pc"> で改行している。
   SP は text-wrap: pretty で、最後の行が短くなりすぎないようにする（SP の欄を参照） */
.z-jobs,
.z-spec {
	word-break: keep-all;
	overflow-wrap: break-word;
}

/* 途中で折り返さない語。keep-all でも「～」「-」の後ろ（Chrome・Safari）や、「,」「（」「※」などの直後（Safari）では
   折り返すので、範囲・番地・金額（例：2～3名、20-9、236,400円～）と、括弧や※で始まる文節（yhd_zoo_wbr() が囲む）に付ける */
.z-jobs .z-nowrap,
.z-spec .z-nowrap {
	white-space: nowrap;
}

.z-spec__row {
	display: grid;
	grid-template-columns: calc(130 * var(--z-px)) 1fr;
	gap: calc(24 * var(--z-px));
	padding: calc(20 * var(--z-px)) 0;
	border-bottom: 1px dotted var(--z-cyan);
	font-size: calc(16 * var(--z-px));
	line-height: 2;
}

.z-spec dt {
	color: var(--z-yellow);
	font-weight: 500;
}

.z-spec dd > * + * {
	margin-top: 1em;
}

.z-spec__note {
	font-size: calc(13 * var(--z-px));
	line-height: 1.9;
}

.z-spec__company {
	color: var(--z-cyan);
	font-weight: 500;
}

.z-spec dd > .z-spec__company + * {
	margin-top: 0;
}

.z-spec__link {
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: .25em;
	transition: color .3s;
}

.z-spec__link:hover {
	color: var(--z-yellow);
}

/* 選考フローの手順を → でつないで 1 行に */
.z-spec__flow {
	display: flex;
	flex-wrap: wrap;
	font-weight: 500;
}

.z-spec__flow li + li::before {
	content: "→";
	margin: 0 .6em;
	color: var(--z-yellow);
}

/* 募集要項：モデル月収例 */
.z-salary__caption {
	font-weight: 500;
}

.z-spec dd > .z-salary__caption + .z-salary {
	margin-top: calc(8 * var(--z-px));
}

.z-salary {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: calc(16 * var(--z-px));
}

.z-salary__card {
	padding: calc(16 * var(--z-px)) calc(20 * var(--z-px));
	border-radius: calc(16 * var(--z-px));
	background: rgba(255, 255, 255, .08);
}

.z-salary__title {
	color: var(--z-cyan);
	font-size: calc(13 * var(--z-px));
	font-weight: 500;
	line-height: 1.6;
}

.z-salary__table {
	width: 100%;
	margin-top: calc(8 * var(--z-px));
	border-collapse: collapse;
	font-size: calc(14 * var(--z-px));
	line-height: 1.9;
}

.z-salary__table th {
	padding: 0;
	font-weight: 400;
	text-align: left;
}

.z-salary__table td {
	padding: 0;
	text-align: right;
}

.z-salary__total th,
.z-salary__total td {
	padding-top: calc(6 * var(--z-px));
	border-top: 1px solid var(--z-yellow);
	color: var(--z-yellow);
	font-weight: 500;
}

/* 求める人物像：人材育成の 01〜03 */
.z-points {
	width: calc(600 * var(--z-px));
	margin-top: calc(72 * var(--z-px));
}

.z-point + .z-point {
	margin-top: calc(88 * var(--z-px));
}

.z-point--yellow {
	--z-point-color: var(--z-yellow);
}

.z-point--cyan {
	--z-point-color: var(--z-cyan);
}

.z-point--pink {
	--z-point-color: var(--z-pink);
}

.z-point__title {
	display: flex;
	align-items: baseline;
	gap: calc(16 * var(--z-px));
	font-size: calc(24 * var(--z-px));
	font-weight: 500;
	line-height: 1.6;
	letter-spacing: .05em;
}

.z-point__num {
	color: var(--z-point-color);
	font-family: var(--z-en);
	font-size: calc(56 * var(--z-px));
	font-weight: 500;
	line-height: 1;
}

.z-point__sub {
	margin-top: calc(8 * var(--z-px));
	color: var(--z-point-color);
	font-size: calc(16 * var(--z-px));
	font-weight: 500;
	line-height: 1.6;
}

.z-point__sub::before {
	content: "― ";
}

.z-point__sub::after {
	content: " ―";
}

.z-point__body {
	margin-top: calc(24 * var(--z-px));
}

.z-point__voice {
	color: var(--z-point-color);
	font-weight: 500;
}

/* 求める人物像：向いている / 向いていない（吹き出し） */
.z-fit {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: calc(16 * var(--z-px));
	margin: calc(40 * var(--z-px)) 0;
}

.z-fit__box {
	padding: calc(20 * var(--z-px)) calc(20 * var(--z-px)) calc(28 * var(--z-px));
	border: 2px solid var(--z-fit-color);
	border-radius: calc(20 * var(--z-px));
}

.z-fit__box--yes {
	--z-fit-color: var(--z-cyan);
}

.z-fit__box--no {
	--z-fit-color: var(--z-pink);
}

.z-fit__label {
	color: var(--z-fit-color);
	font-size: calc(18 * var(--z-px));
	font-weight: 700;
	line-height: 1.6;
	text-align: center;
}

.z-fit__voices {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: calc(16 * var(--z-px));
	margin-top: calc(14 * var(--z-px));
}

.z-fit__voice {
	position: relative;
	padding: calc(8 * var(--z-px)) calc(18 * var(--z-px));
	border-radius: 999px;
	background: #fff;
	color: var(--z-navy);
	font-family: var(--z-maru);
	font-size: calc(15 * var(--z-px));
	font-weight: 700;
	line-height: 1.5;
}

/* 吹き出しのしっぽ（左右交互） */
.z-fit__voice::after {
	content: "";
	position: absolute;
	top: 100%;
	left: calc(24 * var(--z-px));
	border-width: calc(8 * var(--z-px)) calc(6 * var(--z-px)) 0;
	border-style: solid;
	border-color: #fff transparent transparent;
}

.z-fit__voice:nth-child(even) {
	align-self: flex-end;
}

.z-fit__voice:nth-child(even)::after {
	right: calc(24 * var(--z-px));
	left: auto;
}

/* 求める人物像：ジョブローテーション */
.z-rotation {
	margin-top: calc(40 * var(--z-px));
}

.z-rotation__caption {
	color: var(--z-cyan);
	font-size: calc(16 * var(--z-px));
	font-weight: 500;
	line-height: 1.6;
	text-align: center;
}

.z-rotation__list {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: calc(10 * var(--z-px));
	margin-top: calc(12 * var(--z-px));
}

.z-rotation__company {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
	padding: calc(16 * var(--z-px));
	border: 2px solid var(--z-yellow);
	border-radius: calc(20 * var(--z-px));
	line-height: 1.6;
}

.z-rotation__company:nth-of-type(2) {
	border-color: var(--z-cyan);
}

.z-rotation__company:nth-of-type(3) {
	border-color: var(--z-pink);
}

.z-rotation__name {
	font-size: calc(18 * var(--z-px));
	font-weight: 500;
}

.z-rotation__biz {
	font-size: calc(14 * var(--z-px));
}

.z-rotation__swap {
	width: calc(40 * var(--z-px));
	height: calc(26 * var(--z-px));
}

/* 選考フロー：手順（丸の中に STEP と番号。丸と丸を点線でつなぐ） */
.z-steps {
	width: calc(600 * var(--z-px));
	margin-top: calc(48 * var(--z-px));
}

.z-steps__item {
	position: relative;
	display: flex;
	gap: calc(24 * var(--z-px));
	padding-bottom: calc(40 * var(--z-px));
}

.z-steps__item:last-child {
	padding-bottom: 0;
}

.z-steps__item:not(:last-child)::before {
	content: "";
	position: absolute;
	top: calc(96 * var(--z-px));
	bottom: calc(8 * var(--z-px));
	left: calc(43 * var(--z-px));
	border-left: 2px dotted rgba(255, 255, 255, .6);
}

.z-steps__item--yellow {
	--z-step-color: var(--z-yellow);
}

.z-steps__item--cyan {
	--z-step-color: var(--z-cyan);
}

.z-steps__item--pink {
	--z-step-color: var(--z-pink);
}

.z-steps__num {
	display: flex;
	flex-direction: column;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	width: calc(88 * var(--z-px));
	height: calc(88 * var(--z-px));
	border-radius: 50%;
	background: var(--z-step-color);
	color: var(--z-navy);
	font-family: var(--z-en);
	font-size: calc(30 * var(--z-px));
	font-weight: 500;
	line-height: 1;
}

.z-steps__step {
	margin-bottom: calc(2 * var(--z-px));
	font-size: calc(12 * var(--z-px));
	letter-spacing: .1em;
}

.z-steps__text {
	flex: 1;
	padding-top: calc(24 * var(--z-px));
}

.z-steps__title {
	font-size: calc(22 * var(--z-px));
	font-weight: 500;
	line-height: 1.6;
	letter-spacing: .05em;
}

.z-steps__desc {
	margin-top: calc(8 * var(--z-px));
	font-size: calc(16 * var(--z-px));
	line-height: 2;
	text-align: justify;
}

/* 応募する：新卒・中途それぞれの応募方法 */
.z-howto {
	display: grid;
	gap: calc(16 * var(--z-px));
	width: calc(600 * var(--z-px));
	margin-top: calc(40 * var(--z-px));
}

.z-howto__item {
	padding: calc(24 * var(--z-px)) calc(28 * var(--z-px));
	border-radius: calc(20 * var(--z-px));
	background: rgba(255, 255, 255, .08);
}

.z-howto__item--yellow {
	--z-howto-color: var(--z-yellow);
}

.z-howto__item--cyan {
	--z-howto-color: var(--z-cyan);
}

.z-howto__title {
	display: inline-block;
	padding: calc(2 * var(--z-px)) calc(16 * var(--z-px));
	border-radius: 999px;
	background: var(--z-howto-color);
	color: var(--z-navy);
	font-size: calc(16 * var(--z-px));
	font-weight: 700;
	line-height: 1.8;
}

.z-howto__text {
	margin-top: calc(12 * var(--z-px));
	font-size: calc(16 * var(--z-px));
	line-height: 2;
	text-align: justify;
}

/* 下層ページの左上のキャラクター（concept・contact と同じく 90 度回して、左の端から顔を出す） */
.z-page__chara--ideal,
.z-page__chara--require,
.z-page__chara--flow,
.z-page__chara--entry {
	transform: rotate(90deg);
}

/* 募集要項は英字の見出しが 3 行で長いので、目が見出しにかからないよう下げる */
.z-page__chara--require {
	top: calc(200 * var(--z-px));
}

/* ==========================================================================
   SP（767px 以下）
   PC のデザインを縦に並べ直す。自由に配置している部分（ファーストビュー・丘・
   人物紹介の円など）は、--z-px を SP 用の値にして全体を縮める。
   ========================================================================== */
@media (max-width: 767px) {
	html {
		scroll-padding-top: 64px;
	}

	.z-wrap {
		width: 100%;
		padding-inline: 20px;
	}

	/* 共通部品 */
	.z-head__en {
		font-size: 64px;
	}

	.z-head__ja {
		top: 30px;
		right: calc(100% + 12px);
		font-size: 13px;
	}

	.z-head--right .z-head__ja {
		left: calc(100% + 10px);
	}

	.z-sub {
		gap: 14px;
	}

	.z-sub__eyes {
		width: 64px;
	}

	.z-sub__ja {
		padding-bottom: 4px;
		border-bottom-width: 2px;
		font-size: 18px;
	}

	.z-sub__en {
		font-size: 13px;
	}

	.z-sub--center {
		gap: 8px;
	}

	.z-copy {
		font-size: 20px;
		line-height: 1.8;
	}

	.z-body {
		font-size: 14px;
		line-height: 1.9;
	}

	.z-eyelinks__link {
		gap: 8px;
		font-size: 16px;
		line-height: 2.6;
	}

	.z-eyelinks__eyes {
		width: 34px;
	}

	.z-more {
		gap: 10px;
		font-size: 16px;
	}

	.z-more__icon {
		width: 36px;
		height: 36px;
	}

	/* TOP：ファーストビュー（キャラクターは幅 900 のデザインとして縮める） */
	.z-hero {
		--z-px: calc(100vw / 900);
		height: clamp(560px, calc(100svh - 40px), 720px);
	}

	.z-hero__chara {
		top: calc(var(--y) * var(--z-px) + 40px);
	}

	.z-hero__site {
		top: 22px;
		font-size: 12px;
	}

	.z-hero__logo {
		top: 96px;
	}

	.z-hero__scroll {
		top: auto;
		bottom: 100px;
		width: 44px;
		height: 44px;
	}

	/* TOP：丘・キャッチコピー・concept（丘とキャラクターは幅 800 のデザインとして縮める） */
	.z-field {
		--z-px: calc(100vw / 800);
		height: auto;
		margin-top: -80px;
		padding: calc(560 * var(--z-px)) 0 calc(480 * var(--z-px));
	}

	.z-field__inner {
		position: static;
		width: 100%;
		transform: none;
	}

	.z-field__charas {
		position: absolute;
		top: 0;
		left: 50%;
		width: calc(1200 * var(--z-px));
		height: calc(1700 * var(--z-px));
		transform: translateX(-50%);
	}

	.z-field__catch {
		position: relative;
		top: auto;
		left: auto;
		display: block;
		margin: 0 auto;
		font-size: 26px;
		line-height: 1.9;
	}

	.z-tconcept {
		position: relative;
		inset: auto;
		margin-top: 120px;
		padding: 0 20px;
	}

	.z-tconcept__chara {
		top: -40px;
		left: -150px;
		width: 380px;
	}

	.z-tconcept .z-head {
		position: relative;
		top: auto;
		left: auto;
		margin-left: 26px;
	}

	.z-tconcept__text {
		position: relative;
		top: auto;
		left: auto;
		margin-top: 150px;
		font-size: 14px;
		line-height: 2;
		white-space: normal;
	}

	.z-tconcept__links {
		position: relative;
		top: auto;
		left: auto;
		margin-top: 20px;
	}

	/* TOP：character */
	.z-tchara {
		padding-bottom: 72px;
	}

	.z-tchara .z-wrap {
		padding-right: 44px;
	}

	.z-tchara__scroller {
		margin-top: -40px;
		padding: 0 4px;
	}

	.z-tchara__list {
		padding: 0 20px;
	}

	.z-tchara__item {
		width: 140px;
	}

	.z-tchara__img {
		width: 150px;
		margin-inline: -5px;
	}

	.z-tchara__name {
		font-size: 15px;
	}

	.z-tchara__icon {
		width: 34px;
		height: 34px;
		margin-top: 8px;
	}

	/* TOP：求める人物像 */
	.z-ideal {
		padding-bottom: 72px;
	}

	.z-ideal__face {
		width: 280px;
	}

	.z-ideal__link {
		padding-top: 50px;
	}

	.z-ideal__label {
		font-size: 15px;
	}

	.z-ideal__icon {
		width: 34px;
		height: 34px;
		margin-top: 8px;
	}

	/* TOP：people（1 人ずつ縦に並べる） */
	.z-tpeople::after {
		display: none;
	}

	.z-tpeople__head {
		height: 150px;
	}

	.z-tpeople__head .z-head {
		left: 46px;
	}

	.z-person,
	.z-person:last-child {
		height: auto;
		min-height: 470px;
		padding: 40px 0 60px;
	}

	.z-person__circle {
		top: 0;
		left: 18%;
		width: 900px;
		height: 900px;
	}

	.z-person--even .z-person__circle {
		left: auto;
		right: 18%;
	}

	.z-person__eyes {
		top: 330px;
		left: 8%;
		width: 100px;
	}

	.z-person--even .z-person__eyes {
		top: 330px;
		left: auto;
		right: 8%;
	}

	.z-person__inner {
		display: flex;
		gap: 12px;
		height: auto;
	}

	.z-person--even .z-person__inner {
		flex-direction: row-reverse;
	}

	.z-person__photo,
	.z-person--even .z-person__photo {
		position: relative;
		top: auto;
		left: auto;
		flex-shrink: 0;
		width: 40%;
		height: auto;
		align-self: flex-start;
	}

	.z-person__text,
	.z-person--even .z-person__text {
		position: relative;
		top: auto;
		left: auto;
		flex: 1;
		width: auto;
		padding-top: 10px;
	}

	.z-person__en {
		font-size: 30px;
	}

	.z-person__name {
		margin-top: 14px;
		font-size: 19px;
	}

	.z-person__meta {
		margin-top: 4px;
		font-size: 11px;
		line-height: 1.8;
	}

	.z-person__catch {
		width: auto;
		margin-top: 16px;
		font-size: 14px;
		line-height: 1.8;
	}

	.z-person__intro {
		margin-top: 8px;
		font-size: 12px;
		line-height: 1.8;
	}

	.z-person__more {
		margin-top: 16px;
		font-size: 15px;
	}

	/* TOP：recruit */
	.z-trecruit {
		padding: 60px 0 40px;
	}

	.z-trecruit__chara {
		top: -120px;
		left: auto;
		right: -90px;
		width: 300px;
	}

	.z-trecruit .z-head {
		margin-left: 26px;
	}

	.z-trecruit__body {
		position: relative;
		top: auto;
		left: auto;
		margin-top: 40px;
	}

	.z-trecruit__title {
		font-size: 20px;
		line-height: 1.8;
	}

	.z-trecruit__text {
		margin-top: 16px;
		font-size: 13px;
		line-height: 1.9;
	}

	/* 下層ページの見出し */
	.z-page__head .z-head {
		top: 110px;
		left: 46px;
	}

	.z-page__chara {
		left: -230px;
		width: 460px;
	}

	/* concept */
	.z-philo,
	.z-message,
	.z-faq,
	.z-inquiry {
		padding-left: 20px;
	}

	.z-philo {
		padding-top: 420px;
	}

	.z-philo .z-copy,
	.z-message .z-copy {
		margin-top: 24px;
	}

	.z-philo .z-body,
	.z-message__text {
		width: 100%;
		margin-top: 24px;
	}

	.z-message {
		display: flex;
		flex-direction: column;
		min-height: 0;
		margin-top: 72px;
	}

	.z-message__person {
		position: relative;
		top: auto;
		left: auto;
		order: 1;
		width: 100%;
		margin-top: 16px;
	}

	.z-message__photo {
		width: 121px;
		margin: 0 0 0 auto;
	}

	.z-message__caption {
		top: auto;
		bottom: 24px;
		left: 0;
	}

	.z-message__role {
		font-size: 14px;
	}

	.z-message__title {
		font-size: 11px;
	}

	.z-message__name {
		font-size: 22px;
	}

	/* concept：年表（縦に 1 列） */
	.z-history {
		margin-top: 40px;
		padding: 150px 0 180px;
	}

	.z-history__wave {
		height: 220px;
	}

	.z-history__fill {
		top: 150px;
		bottom: 60px;
	}

	.z-history__yellow {
		top: 120px;
	}

	/* SP は年表が縦 1 列なので、上の山はセクションの高さいっぱいに伸ばして左右の帯にする。
	   下の大きな山は伸ばしすぎると年表の下のほうが黄色の上に乗るので、高さに上限をつける */
	.z-history__yellow::before {
		height: 100%;
	}

	.z-history__yellow::after {
		height: min(100%, 1100px);
	}

	/* 真ん中の小さな山は縦に伸びて題名にかかるので、左右の山だけを残す */
	.z-history__yellow::before {
		clip-path: polygon(0 0, 100% 0, 100% 46.3%, 60% 46.3%, 60% 38%, 40% 38%, 40% 46.3%, 0 46.3%);
	}

	/* キャラクターは、題名（10 文字まで）の右の空きに、年表の上から下まで同じ間隔で並べる（文字に重ならないように）。
	   上は見出しと説明文の下、下はセクションの下の余白（180px）の上まで */
	.z-history__charas {
		top: 420px;
		bottom: 180px;
	}

	/* 2 ページ目の道の飾り（上の山・キャラクター）は PC だけ */
	.z-history__yellow--page2,
	.z-timeline__charas {
		display: none;
	}

	.z-history__copy {
		margin-top: 32px;
		font-size: 28px;
	}

	.z-history__lead {
		margin-top: 10px;
		font-size: 13px;
		line-height: 1.9;
	}

	/* 題名は 10 文字（14px）までで、右端が画面の左から 277px くらい。その右の空きに収まる大きさにする */
	.z-history__chara {
		top: calc((var(--i) + .5) / var(--n) * 100%);
		right: 4px;
		left: auto;
		width: min(calc(var(--s) * 0.32px), calc(100vw - 285px));
		opacity: .9;
	}

	.z-history__chara:nth-child(even) {
		right: clamp(4px, calc(100vw - 332px), 26px);
	}

	.z-timeline {
		width: 100%;
		height: auto;
		margin-top: 40px;
	}

	.z-timeline__list {
		display: flex;
		flex-direction: column;
		gap: 24px;
	}

	.z-timeline__item {
		position: relative;
		top: auto;
		left: auto;
		display: grid;
		grid-template-columns: 96px 1fr;
		grid-template-areas:
			"anchor year"
			"anchor title";
		align-items: center;
		align-self: flex-start;
		gap: 2px 14px;
		width: auto;
		height: auto;
	}

	.z-timeline__anchor {
		position: relative;
		grid-area: anchor;
		justify-self: center;
		transform: none;
	}

	.z-timeline__photo:hover {
		transform: scale(1.04);
	}

	.z-timeline__year,
	.z-timeline__item--photo .z-timeline__year {
		position: static;
		grid-area: year;
		align-self: end;
		font-size: 18px;
		transform: none;
	}

	.z-timeline__title,
	.z-timeline__item--photo .z-timeline__title {
		position: static;
		grid-area: title;
		align-self: start;
		width: auto;
		font-size: 14px;
		transform: none;
		translate: none;
	}

	.z-timeline__title--open {
		max-width: none;
	}

	/* 題名が static なので、反応する範囲は項目（年・丸・題名）全体になる。項目の幅は文字までなので、題名の右を押すと吹き出しを閉じられる */
	.z-timeline__title--open::before {
		inset: 0;
	}

	.z-timeline__dot {
		width: 24px;
		height: 24px;
		border-width: 5px;
	}

	.z-timeline__dot--star {
		--ring: 6px;
		width: 69px;
		height: 69px;
		border-width: var(--ring);
	}

	.z-timeline__item--star .z-timeline__title {
		font-size: 15px;
	}

	.z-timeline__item--star .z-timeline__title--open::before {
		left: 0;
	}

	/* バナーのない★の項目は、縦に並ぶほかの項目に埋もれないよう、バナーの大きい行に似せる。
	   年は紺の札に黄色で入れ、題名は白い太字に紺の縁取りと影、下に濃い黄色の筆の線を付けて、どちらも右へ傾ける。
	   題名は 10 文字まで 1 行に入るよう、画面が狭いときは字を小さくする（題名の欄の左端は画面の左から 130px で、右端から 20px 内側まで。
	   縁取りと傾きの分を 0.4 文字とみる） */
	.z-timeline__item--star .z-timeline__year {
		justify-self: start;
		padding: 3px 10px 2px;
		border-radius: 99px;
		background: var(--z-navy);
		color: var(--z-yellow);
		font-size: 15px;
		transform: skewX(-8deg);
	}

	.z-timeline__item--star .z-timeline__title--open {
		text-decoration: none;
	}

	.z-timeline__pop {
		display: block;
		width: fit-content;
		padding-bottom: 7px;
		background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 20' preserveAspectRatio='none'%3E%3Cpath d='M2 13C60 7 130 3 198 2v3C130 7 62 13 4 20c-3 0-4-5-2-7z' fill='%23fcc81b'/%3E%3C/svg%3E") no-repeat 0 100% / 100% 9px;
		font-family: var(--z-pop);
		font-size: min(20px, (100vw - 150px) / 10.4);
		font-weight: 900;
		line-height: 1.3;
		letter-spacing: 0;
		-webkit-text-stroke: 5px var(--z-navy);
		paint-order: stroke fill;
		text-shadow: 0 3px 0 var(--z-navy);
		transform: skewX(-8deg);
	}

	/* バナーの項目は年をバナーの中に出すので、丸の右は題名の欄だけにする。上にはキャラクターが顔を出す分をあける */
	.z-timeline__item--banner {
		grid-template-areas: "anchor title";
		margin-top: 30px;
	}

	.z-timeline__item--banner .z-timeline__title--open::before {
		inset: 0;
	}

	.z-timeline__item--left .z-banner--yellow .z-banner__plate::before {
		right: calc(100% - 1px);
		left: auto;
		clip-path: polygon(0 50%, 100% 0, 100% 100%);
	}

	/* バナーは PC の 8 割の大きさで、画面の右端から 20px 内側まで（題名の欄の左端は画面の左から 130px）。入らない題名は文節の切れ目で折り返す。
	   大きい行が 6 文字まで 1 行に入るよう、画面が狭いときは --u を小さくする（札の幅 316u に、6 文字の 240u と集中線の 20u、左右の余白 52u が入る） */
	.z-banner {
		--u: min(.8px, (100vw - 150px) / 316);
		max-width: calc(100vw - 150px);
	}

	.z-timeline__photo {
		width: 96px;
		height: 96px;
		border-width: 4px;
	}

	.z-timeline__line,
	.z-timeline__tail {
		stroke-width: 5;
	}

	.z-timeline__tail {
		stroke-dasharray: 0 11;
	}

	/* concept：のびのび育つ環境 */
	.z-emp {
		margin-top: -40px;
		padding-top: 80px;
	}

	.z-emp__head {
		min-height: 0;
		display: flex;
		flex-direction: column;
		align-items: center;
	}

	/* 文言は幅 370 のデザインとして、本文の幅（画面幅 − 左右 20px）に収まるように縮める */
	.z-emp__tagline {
		--z-px: min(1px, (100vw - 40px) / 370);
		position: relative;
		top: auto;
		left: auto;
		gap: calc(30 * var(--z-px));
		margin-top: 48px;
		font-size: calc(34 * var(--z-px));
	}

	.z-emp__col {
		width: calc(70 * var(--z-px));
	}

	.z-emp__v {
		margin-top: calc(18 * var(--z-px));
	}

	.z-emp__num + .z-emp__v {
		margin-top: calc(6 * var(--z-px));
	}

	.z-emp__num {
		width: calc(70 * var(--z-px));
		height: calc(70 * var(--z-px));
	}

	/* キャラクターは文言の右に置く場所がないので、文言と説明文の間に置く */
	.z-emp__chara {
		position: static;
		width: 200px;
		margin-top: 16px;
	}

	.z-emp__lead {
		position: relative;
		top: auto;
		margin-top: 12px;
		font-size: 14px;
		line-height: 2.1;
	}

	.z-cards {
		grid-template-columns: repeat(2, 1fr);
		width: 100%;
		margin-top: 48px;
	}

	.z-card__inner {
		height: auto;
		padding-bottom: 24px;
	}

	.z-card__kind {
		margin: 10px 0 0 12px;
		font-size: 11px;
	}

	.z-card__title {
		margin: 6px 12px 0;
		font-size: 13px;
		line-height: 1.5;
	}

	.z-card__more {
		margin: 8px 0 0 12px;
		font-size: 14px;
	}

	.z-cards:not(.is-expanded) .z-card--more:nth-child(n + 11) {
		display: none;
	}

	.z-cards:not(.is-expanded):has(.z-card--more) {
		max-height: none;
	}

	.z-emp__more {
		margin-top: -60px;
		font-size: 16px;
	}

	.z-emp__more .icon {
		width: 36px;
		height: 36px;
	}

	/* 社員インタビュー */
	.z-interview__head {
		display: grid;
		grid-template-columns: 40% 1fr;
		gap: 0 16px;
		min-height: 0;
		padding: 360px 20px 0;
	}

	.z-interview__photo {
		position: relative;
		top: auto;
		left: auto;
		grid-column: 1;
		grid-row: 1 / 6;
		width: 100%;
		height: auto;
		align-self: start;
	}

	.z-interview__chara {
		top: 120px;
		left: auto;
		right: -60px;
		width: 200px;
	}

	.z-interview__intro {
		display: contents;
	}

	.z-interview__intro > * {
		grid-column: 2;
	}

	.z-interview__intro .z-copy {
		font-size: 16px;
	}

	.z-interview__en {
		margin-top: 18px;
		font-size: 30px;
	}

	.z-interview__name {
		margin-top: 12px;
		font-size: 19px;
	}

	.z-interview__meta {
		font-size: 11px;
		line-height: 1.8;
	}

	.z-interview__lead {
		grid-column: 1 / -1;
		margin-top: 32px;
	}

	.z-qa {
		width: 100%;
		margin-top: 56px;
	}

	.z-qa__item,
	.z-qa__item:last-child {
		height: auto;
		margin-bottom: 40px;
	}

	.z-qa__photo {
		width: 88%;
		height: auto;
		aspect-ratio: 7 / 5;
	}

	.z-qa__num {
		top: 6px;
		right: 20px;
		font-size: 30px;
	}

	.z-qa__box {
		position: relative;
		top: auto;
		left: auto;
		width: auto;
		min-height: 0;
		margin: -48px 0 0 20px;
		padding: 20px 20px 24px 28px;
		background: linear-gradient(to right, rgba(252, 200, 27, .8) 40%, var(--z-yellow) 40%);
	}

	.z-qa__q {
		align-items: flex-start;
		gap: 8px;
		font-size: 14px;
		line-height: 1.6;
	}

	.z-qa__badge {
		width: 28px;
		height: 26px;
		margin-left: -42px;
		font-size: 14px;
	}

	.z-qa__title {
		margin-top: 12px;
		font-size: 17px;
		line-height: 1.8;
	}

	.z-qa__body {
		margin-top: 8px;
		font-size: 14px;
		line-height: 1.9;
	}

	.z-qa__chara {
		display: none;
	}

	.z-pager {
		gap: 20px;
		margin-top: 48px;
	}

	.z-pager__link {
		gap: 6px;
		font-size: 15px;
	}

	.z-pager__link .icon {
		width: 34px;
		height: 34px;
	}

	.z-pager__top {
		width: 120px;
		height: 36px;
		font-size: 15px;
	}

	/* contact */
	.z-page__chara--contact {
		top: 10px;
		left: -330px;
		width: 520px;
	}

	.z-faq {
		padding-top: 420px;
	}

	.z-faq__list {
		width: 100%;
		margin-top: 28px;
	}

	.z-faq__q {
		gap: 10px;
		min-height: 54px;
		padding: 10px 0;
	}

	.z-faq__badge {
		width: 26px;
		height: 26px;
		font-size: 15px;
	}

	.z-faq__question {
		font-size: 14px;
	}

	.z-faq__toggle {
		width: 22px;
		height: 22px;
	}

	.z-faq__a {
		gap: 10px;
		padding: 0 0 20px;
	}

	.z-faq__a p {
		font-size: 14px;
		line-height: 1.9;
	}

	.z-inquiry {
		margin-top: 72px;
		padding-bottom: 72px;
	}

	.z-inquiry__item,
	.z-inquiry__item + .z-inquiry__item {
		margin-top: 48px;
	}

	.z-inquiry__label {
		gap: 12px;
		font-size: 14px;
	}

	.z-inquiry__icon {
		width: 48px;
		height: 35px;
	}

	.z-inquiry__value {
		margin-top: 10px;
		font-size: 30px;
		overflow-wrap: anywhere;
	}

	.z-inquiry__item--mail .z-inquiry__value {
		font-size: 22px;
	}

	.z-inquiry__note {
		margin-top: 10px;
		font-size: 13px;
	}

	.z-inquiry__chara {
		top: -30px;
		left: auto;
		right: 10px;
		width: 80px;
	}

	/* 求める人物像・募集要項・選考フロー・応募する */
	/* キャラクターの顔が英字の見出しに重ならないよう、右（募集要項は右下）へずらす */
	.z-page__chara--ideal {
		left: -100px;
	}

	.z-page__chara--flow,
	.z-page__chara--entry {
		left: -120px;
	}

	.z-page__chara--require {
		top: 40px;
		left: -80px;
	}

	.z-col {
		padding-left: 20px;
	}

	.z-page__head + .z-col {
		padding-top: 420px;
	}

	.z-col + .z-col {
		margin-top: 72px;
	}

	.z-col:last-child {
		padding-bottom: 72px;
	}

	.z-col .z-copy,
	.z-col__body,
	.z-sub + .z-col__body {
		margin-top: 24px;
	}

	.z-col__body,
	.z-jobs,
	.z-spec,
	.z-points,
	.z-steps,
	.z-howto {
		width: 100%;
	}

	.z-col__rail {
		display: none;
	}

	.z-col__title {
		gap: 8px;
		margin-top: 48px;
		font-size: 17px;
	}

	.z-col__title::before {
		width: 8px;
		height: 8px;
	}

	.z-sub + .z-col__title {
		margin-top: 28px;
	}

	.z-col__links {
		margin-top: 40px;
	}

	.z-address {
		margin-top: 8px;
		font-size: 14px;
		line-height: 1.9;
	}

	.z-jobs {
		margin-top: 12px;
	}

	.z-jobs li {
		gap: 0 10px;
		padding: 12px 0;
		font-size: 16px;
	}

	.z-jobs__company {
		font-size: 12px;
	}

	.z-spec,
	.z-jobs + .z-spec {
		margin-top: 24px;
	}

	/* 段落の最後の行が短くなりすぎないようにする（Chrome・Edge・Safari 26 以降）。
	   PC は <br class="z-pc"> で改行を決めているので、SP だけにする */
	.z-jobs,
	.z-spec {
		text-wrap: pretty;
	}

	.z-spec__row {
		grid-template-columns: 1fr;
		gap: 4px;
		padding: 16px 0;
		font-size: 14px;
		line-height: 1.9;
	}

	.z-spec__note {
		font-size: 12px;
	}

	.z-salary {
		grid-template-columns: 1fr;
		gap: 12px;
	}

	.z-salary__card {
		padding: 14px 16px;
		border-radius: 12px;
	}

	.z-salary__title {
		font-size: 12px;
	}

	.z-salary__table {
		margin-top: 6px;
		font-size: 13px;
	}

	.z-salary__total th,
	.z-salary__total td {
		padding-top: 4px;
	}

	.z-points {
		margin-top: 48px;
	}

	.z-point + .z-point {
		margin-top: 56px;
	}

	.z-point__title {
		gap: 12px;
		font-size: 18px;
	}

	.z-point__num {
		font-size: 40px;
	}

	/* 末尾の ― だけが次の行に落ちないよう、字間を詰めて 1 行に収める */
	.z-point__sub {
		margin-top: 6px;
		font-size: 13px;
		letter-spacing: 0;
	}

	.z-point__body {
		margin-top: 16px;
	}

	.z-fit {
		grid-template-columns: 1fr;
		gap: 12px;
		margin: 28px 0;
	}

	.z-fit__box {
		padding: 14px 16px 20px;
		border-radius: 16px;
	}

	.z-fit__label {
		font-size: 16px;
	}

	.z-fit__voices {
		gap: 14px;
		margin-top: 10px;
	}

	.z-fit__voice {
		padding: 6px 14px;
		font-size: 14px;
	}

	.z-fit__voice::after {
		left: 20px;
		border-width: 7px 5px 0;
	}

	.z-fit__voice:nth-child(even)::after {
		right: 20px;
	}

	.z-rotation {
		margin-top: 28px;
	}

	.z-rotation__caption {
		font-size: 14px;
	}

	.z-rotation__list {
		gap: 8px;
		margin-top: 8px;
	}

	.z-rotation__company {
		padding: 12px;
		border-radius: 16px;
	}

	.z-rotation__name {
		font-size: 16px;
	}

	.z-rotation__biz {
		font-size: 12px;
	}

	.z-rotation__swap {
		width: 32px;
		height: 21px;
	}

	.z-steps {
		margin-top: 32px;
	}

	.z-steps__item {
		gap: 16px;
		padding-bottom: 28px;
	}

	.z-steps__item:not(:last-child)::before {
		top: 70px;
		bottom: 6px;
		left: 31px;
	}

	.z-steps__num {
		width: 64px;
		height: 64px;
		font-size: 22px;
	}

	.z-steps__step {
		margin-bottom: 2px;
		font-size: 9px;
	}

	.z-steps__text {
		padding-top: 18px;
	}

	.z-steps__title {
		font-size: 17px;
	}

	.z-steps__desc {
		margin-top: 6px;
		font-size: 14px;
		line-height: 1.9;
	}

	.z-howto {
		gap: 12px;
		margin-top: 28px;
	}

	.z-howto__item {
		padding: 18px;
		border-radius: 16px;
	}

	.z-howto__title {
		padding: 2px 14px;
		font-size: 14px;
	}

	.z-howto__text {
		margin-top: 10px;
		font-size: 14px;
		line-height: 1.9;
	}
}

/* 動きを減らす設定のときは、ずっと続くアニメーションを止める */
@media (prefers-reduced-motion: reduce) {
	.z-hero__chara,
	.z-hero__scroll-icon .icon__stem,
	.z-hero__scroll-icon .icon__tip,
	.z-bubble:popover-open,
	.z-banner__spark {
		animation: none;
	}

	.z-timeline__dot--star::after {
		display: none;
	}
}
