@charset "UTF-8";

/* **************************************************
 * キャリア（経験者）採用 事業部解説 INDEX（/recruit/career/field/）
 * 事業部カードは field-card.css（新卒「事業部図鑑」などと共用する想定）
 * カンプ実測値（PC=1440px基準 / SP=750px基準）
 * 1440px未満のPC・タブレット幅は 1440px基準の値を画面幅に合わせて等比縮小する（--u）
 * KVの写真・イラストは画面の右端に寄せ、1440pxを超えても拡大しない（--vu。先方指摘 1109「タイトル部分の余白が大きい」。会社概要INDEXと同じ挙動）
 * KV以外のカード・装飾の四角は、1440pxより広い画面では1440px幅のときの位置（画面中央から±720px）で止め、外側は余白にする
 * 画面幅いっぱいにするのは一覧の背景色だけ
 * 画面端まで広げる要素は max(50vw, 160px) で位置を出す（ページは320pxより狭い画面でも320px幅で組まれるため）
 ************************************************** */

.FieldIndex {
	--u: min(1px, calc(100vw / 1440));
	--vu: var(--u);
	/* 画面の左端・右端（.Container の中から見た位置） */
	--edge: calc(50% - max(50vw, 160px));
	/* パンくずの高さ（親サイトCSSでPCは固定値）。KVの写真はパンくずの裏から始まる（カンプどおりヘッダー直下に写真の上端をそろえる） */
	--crumbH: 58.5625px;
	position: relative;
	/* 一覧の背景（z-index: -1）を記事の中で重ねる */
	isolation: isolate;
	color: #4d4d4d;
	/* カンプは本文中の英数字も和文フォント（Noto Sans JP）。英字見出しだけ Hitachi Sans を指定する */
	font-family: "Noto Sans JP", sans-serif;
	/* カンプは和文の詰めなし */
	font-kerning: none;
	text-spacing-trim: space-all;
	line-break: strict;
}
@media screen and (max-width: 767px) {
	.FieldIndex {
		--u: var(--sp);
		/* 左右は .Container の余白（15px）を打ち消し、画面端を基準に組む */
		margin: 0 -15px;
	}
}

/* 375pxより狭い画面では、KVの文字と一覧の余白も画面幅に合わせて縮小する（--sp は0.5pxより小さくならないため）
 * KVはリード文が右のイラストに重なり、一覧はカード（field-card.css。375px未満も縮小）の幅が足りず事業部名が矢印に接していた */
@media screen and (max-width: 374px) {
	.FieldIndexKv,
	.FieldIndexList {
		--u: var(--spf);
	}
}

/* 親サイト共通CSSが見出し・段落に余白や文字サイズを当ててくるため、こちらで指定し直す */
#Contents .FieldIndex :where(h1, h2, p) {
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	color: inherit;
	font-size: inherit;
	font-weight: inherit;
	line-height: inherit;
	letter-spacing: inherit;
}

#Contents .FieldIndex :where(h1, h2)::before,
#Contents .FieldIndex :where(h1, h2)::after {
	content: none;
}

.FieldIndex picture {
	display: block;
}

#Contents .FieldIndex picture img {
	display: block;
	width: 100%;
	max-width: none;
	height: auto;
}

/* PCだけ / SPだけ表示 */
.FieldIndex .u-sp {
	display: none;
}
@media screen and (max-width: 767px) {
	.FieldIndex .u-pc {
		display: none;
	}

	.FieldIndex .u-sp {
		display: inline;
	}
}

/* 装飾の四角 */
.FieldIndexSq {
	position: absolute;
	display: block;
	pointer-events: none;
}

/* ========== KV ==========
 * PC：写真の上端はヘッダーの下端（パンくずの裏）。高さ350
 * 写真（コラージュ）とイラストは画面の右端を基準に置き、1440pxを超えても拡大しない
 * 文字は1440px幅のときの位置（画面中央から-720px＋82.5px＝コンテンツの左端）にそろえる */
.FieldIndexKv {
	position: relative;
	height: calc(350 * var(--vu));
	margin: calc(-1 * var(--crumbH)) var(--edge) 0;
}

.FieldIndexKv__photo {
	position: absolute;
	right: 0;
	bottom: 0;
	width: calc(648.5 * var(--vu));
}

/* イラストは一覧の背景まではみ出す（カンプどおり）
 * 画面の右端基準で拡大すると、広い画面（約2300px以上）では左端が文字（1440px幅の位置で止まる）に重なるため、
 * 左端は1440px幅のときの位置（画面中央から-203px）より左に出さない。
 * さらにイラストが大きくなるほど左上のドローンが文字に近づくため、1440pxを超えた幅の8%分だけ右へ逃がす */
.FieldIndexKv__illust {
	position: absolute;
	z-index: 2;
	top: calc(34.5 * var(--vu));
	left: max(calc(100% - 923 * var(--vu)), calc(50% - 203 * var(--u) + (100% - 1440 * var(--u)) * 0.08));
	width: calc(317.05 * var(--vu));
}

/* パンくずは画面幅で縮小しないため、1440px未満でもパンくずとの間隔が詰まりすぎないよう、縮小した分だけ下げる */
.FieldIndexKv__body {
	position: absolute;
	z-index: 3;
	top: calc(70 * var(--u) + var(--crumbH) - 58.5625 * var(--u));
	left: calc(50% - 720 * var(--u) + 82.5 * var(--u));
}

/* ページ名（赤）と英字の大きさ・太さ・字間は、環境・制度INDEX（environment-top.css の .EnvIndex__titleJa / .EnvIndex__titleEn）にそろえる
 * （先方指摘 1109「INDEXページの赤いタイトルの大きさとフォントがページごとに違う」。位置はこのページのまま） */
#Contents .FieldIndex .FieldIndexKv__title {
	color: #cc0000;
	font-size: calc(36 * var(--u));
	font-weight: 700;
	letter-spacing: 0;
	line-height: calc(52 * var(--u));
	white-space: nowrap;
	padding-top: calc(1.5 * var(--u));
}

#Contents .FieldIndex .FieldIndexKv__en {
	margin-top: calc(1 * var(--u));
	font-family: "Hitachi Sans", "Noto Sans JP", sans-serif;
	font-size: calc(24 * var(--u));
	font-weight: 700;
	line-height: calc(36 * var(--u));
	letter-spacing: 0;
	white-space: nowrap;
}

#Contents .FieldIndex .FieldIndexKv__lead {
	margin-top: calc(5.5 * var(--u));
	/* カンプはリード文の書き出しがページ名より少し左 */
	margin-left: calc(-4.5 * var(--u));
	font-size: calc(16 * var(--u));
	font-weight: 900;
	line-height: calc(30 * var(--u));
	letter-spacing: calc(0.1 * var(--u));
	white-space: nowrap;
}

/* 左端の四角（大きさは他のINDEXと同じ。3つ目はKVの下端にそろえる） */
.FieldIndexKv__sq {
	left: 0;
	width: calc(50 * var(--u));
	height: calc(50 * var(--u));
}

.FieldIndexKv__sq--1 {
	top: calc(81.5 * var(--u));
	background-color: #cc0000;
}

.FieldIndexKv__sq--2 {
	top: calc(131.5 * var(--u));
	background-color: #ffcbce;
}

.FieldIndexKv__sq--3 {
	top: calc(350 * var(--vu) - 50 * var(--u));
	background-color: #ff979d;
}
@media screen and (max-width: 767px) {
	/* SP：写真（コラージュ）の左下に赤地・白文字のページ名。写真の下に英字・リード文、右にイラスト */
	.FieldIndexKv {
		height: auto;
		margin: calc(28 * var(--u)) 0 0;
		padding: calc(299.7 * var(--spf)) 0 calc(66 * var(--u));
	}

	.FieldIndexKv__photo {
		top: 0;
		bottom: auto;
		left: 0;
		width: 100%;
	}

	.FieldIndexKv__illust {
		z-index: 1;
		top: calc(294 * var(--spf));
		right: calc(40.4 * var(--spf));
		left: auto;
		width: calc(302.59 * var(--spf));
	}

	.FieldIndexKv__body {
		position: static;
	}

	#Contents .FieldIndex .FieldIndexKv__title {
		position: absolute;
		z-index: 2;
		top: calc(200 * var(--spf));
		left: 0;
		width: calc(300 * var(--spf));
		height: calc(100 * var(--spf));
		padding: calc(9 * var(--spf)) 0 0 calc(40 * var(--spf));
		box-sizing: border-box;
		background-color: #cc0000;
		color: #ffffff;
		font-size: calc(42 * var(--u));
		line-height: calc(91 * var(--spf));
	}

	#Contents .FieldIndex .FieldIndexKv__en {
		position: relative;
		z-index: 3;
		margin-top: calc(10 * var(--u));
		padding-left: calc(40 * var(--u));
		font-size: calc(26 * var(--u));
		line-height: calc(40 * var(--u));
	}

	#Contents .FieldIndex .FieldIndexKv__lead {
		position: relative;
		z-index: 3;
		margin-top: calc(30 * var(--u));
		margin-left: 0;
		padding-left: calc(40 * var(--u));
		font-size: calc(24 * var(--u));
		line-height: calc(40 * var(--u));
		letter-spacing: 0;
	}

	.FieldIndexKv__sq {
		display: none;
	}
}

/* ========== 事業部一覧 ==========
 * 背景色だけ画面幅いっぱい。カードの並びは1440px幅のときの幅（1275px）で止める */
.FieldIndexList {
	position: relative;
	padding: calc(118.5 * var(--u)) 0 calc(100 * var(--u));
}

.FieldIndexList::before {
	content: "";
	position: absolute;
	z-index: -1;
	top: 0;
	bottom: 0;
	left: var(--edge);
	right: var(--edge);
	background-color: #f2f2f2;
}

/* 見出しは読み上げ用（カンプでは表示なし） */
#Contents .FieldIndex .FieldIndexList__heading {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
}

#Contents .FieldIndexList .FieldCards.FieldCards {
	width: calc(1275 * var(--u));
	margin: 0 auto;
}

/* 一覧の下の商標の注記（先方赤字 1109。カンプなし。文字の大きさ・太さは社員インタビューINDEXの注記 .IvList__note と同じ）
 * 左端はカードの左端にそろえる */
#Contents .FieldIndex .FieldIndexList__note {
	width: calc(1275 * var(--u));
	margin: calc(40 * var(--u)) auto 0;
	font-size: calc(14 * var(--u));
	font-weight: 700;
	line-height: calc(24 * var(--u));
}

/* 右下の四角（下端はフッターに接する） */
.FieldIndexList__sq--1,
.FieldIndexList__sq--2 {
	right: calc(50% - 720 * var(--u) + 182.5 * var(--u));
	width: calc(50 * var(--u));
	height: calc(50 * var(--u));
}

.FieldIndexList__sq--1 {
	bottom: calc(100 * var(--u));
	background-color: #ffcbce;
}

.FieldIndexList__sq--2 {
	bottom: calc(50 * var(--u));
	background-color: #ff979d;
}

.FieldIndexList__sq--3 {
	right: calc(50% - 720 * var(--u) + 82.5 * var(--u));
	bottom: 0;
	width: calc(100 * var(--u));
	height: calc(100 * var(--u));
	background-color: #cc0000;
}
@media screen and (max-width: 767px) {
	.FieldIndexList {
		padding: calc(101 * var(--u)) calc(40 * var(--u)) calc(149.5 * var(--u));
	}

	.FieldIndexList::before {
		left: 0;
		right: 0;
	}

	#Contents .FieldIndexList .FieldCards.FieldCards {
		width: auto;
	}

	#Contents .FieldIndex .FieldIndexList__note {
		width: auto;
		margin-top: calc(40 * var(--u));
		/* 1行に収める（33文字×20＝660。本文の幅は670） */
		font-size: calc(20 * var(--u));
		line-height: calc(36 * var(--u));
		white-space: nowrap;
	}

	/* SPは左下に2つ（画面端の要素なので写真と同じく --spf） */
	.FieldIndexList__sq--1 {
		display: none;
	}

	.FieldIndexList__sq--2,
	.FieldIndexList__sq--3 {
		right: auto;
		bottom: 0;
		width: calc(50 * var(--spf));
		height: calc(50 * var(--spf));
	}

	.FieldIndexList__sq--3 {
		left: 0;
		background-color: #cc0000;
	}

	.FieldIndexList__sq--2 {
		left: calc(50 * var(--spf));
		background-color: #7d0008;
	}
}
