@charset "UTF-8";
/* =========================================================
 * IT SOLUTION（ITの仕事を知る）
 * デザイン: Figma 666:390
 *
 * 数値はすべて Figma（アートボード幅1440）の実測値。
 * - コンテンツ幅 1140px（左右余白150）
 * - 見出し英字 60/100% ＋ 日本語 16/160%/ls20% ・間隔16px
 * - 節タイトル 24/160%/ls20% ・本文 14/220%
 * 配色: 黄 #FDCE00 / 青緑 #10A9AC / 橙 #F5A313 / 濃茶 #2B2525 / クリーム #FFF8EA / 文字 #493B3B
 * ========================================================= */

.p-it {
	--c-yellow: #FDCE00;
	--c-teal: #10A9AC;
	--c-orange: #F5A313;
	--c-dark: #2B2525;
	--c-cream: #FFF8EA;
	--c-text: #493B3B;
	--c-line: #E5E5E5;
	/* 横方向だけ切る。overflow: clip（両軸）だと、SUPPORTの写真を
	 * CONTACTの波にかぶせるために下へはみ出させた分まで切られてしまう。
	 * hidden ではなく clip なのは、祖先がスクロールコンテナ化して sticky が死ぬため */
	overflow-x: clip;
	overflow-y: visible;
}

/* 1140px インナー */
.p-it__inner {
	width: 100%;
	max-width: 1220px;
	margin-inline: auto;
	padding-inline: 40px;
}

/* ---------------------------------------------------------
 * 共通: セクション見出し
 * ------------------------------------------------------- */
.p-it__heading {
	display: flex;
	flex-direction: column;
	gap: 16px;
}
.p-it__heading-eng {
	font-weight: 700;
	font-size: 60px;
	line-height: 100%;
	letter-spacing: 0;
	text-transform: uppercase;
}
.p-it__heading-jp {
	font-weight: 700;
	font-size: 16px;
	line-height: 160%;
	letter-spacing: 0.2em;
}
.p-it__head {
	display: grid;
	grid-template-columns: minmax(0, 585fr) minmax(0, 556fr);
	align-items: start;
}
.p-it__head-body {
	margin-top: -6px; /* Figma上、右カラムは英字見出しより6px上から始まる */
}
.p-it__title {
	font-size: 24px;
	font-weight: 700;
	line-height: 160%;
	letter-spacing: 0.2em;
}
.p-it__head-body .p-it__title {
	margin-bottom: 14px;
}
.p-it__lead {
	font-size: 14px;
	font-weight: 700;
	line-height: 220%;
	letter-spacing: 0;
}
.p-it__text {
	font-size: 14px;
	font-weight: 500;
	line-height: 220%;
	letter-spacing: 0;
}
.p-it__text--bold {
	font-weight: 700;
}

/* ---------------------------------------------------------
 * イントロ（共通FVカバーが背景 / 200svh + sticky hold）
 * ------------------------------------------------------- */
.p-it__intro {
	position: relative;
	height: 200svh;
	color: #fff;
	background: transparent;
	text-align: center;
}
.p-it__intro-hold {
	position: sticky;
	top: 0;
	display: flex;
	align-items: center;
	height: 100svh;
	overflow: clip;
}
.p-it__intro-inner {
	position: relative;
	z-index: 1;
	width: 100%;
}
.p-it__intro-text {
	font-size: 22px;
	font-weight: 700;
	line-height: 220%;
	letter-spacing: 0;
}
.p-it__marquee {
	position: absolute;
	left: 0;
	bottom: -18px;
	z-index: 1;
	width: 100%;
	overflow: hidden;
	pointer-events: none;
}
.p-it__marquee-inner {
	display: inline-flex;
	white-space: nowrap;
	will-change: transform;
	animation: itMarquee 40s linear infinite;
}
.p-it__marquee-word {
	font-weight: 600;
	font-size: calc(100vw * 100 / 1440);
	line-height: 1;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.5);
	padding-right: calc(100vw * 28 / 1440);
}
@keyframes itMarquee {
	from { transform: translateX(0); }
	to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
	.p-it__marquee-inner { animation: none; }
}
html.js-wave-flow .p-it__marquee-inner {
	animation: none !important;
}

/* ---------------------------------------------------------
 * WORK（黄背景 / 1341-1955）
 * ------------------------------------------------------- */
.p-it__work {
	padding: 120px 0;
	color: var(--c-text);
	background: var(--c-yellow);
}
.p-it__cols {
	display: grid;
	grid-template-columns: minmax(0, 560fr) minmax(0, 566fr);
	column-gap: 14px;
	align-items: start;
}
.p-it__col-text .p-it__title {
	margin: 34px 0 14px;
}
/* 右の写真は画面右端までブリード（Figma: x=723-1440 / 左角丸20） */
.p-it__col-img {
	overflow: clip;
	border-radius: 20px 0 0 20px;
	width: calc(100% + max(50vw - 610px, 0px) + 40px);
	margin-right: calc(-1 * (max(50vw - 610px, 0px) + 40px));
}
.p-it__col-img img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 20px 0 0 20px;
}

/* ---------------------------------------------------------
 * FIELD（青緑背景 / 1955-3214）
 * ------------------------------------------------------- */
.p-it__field {
	padding: 121px 0 93px;
	color: #fff;
	background: var(--c-teal);
}
.p-it__cards {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 29px;
	margin-top: 40px;
	list-style: none;
}
/* 2枚目の段は中央寄せ（Figma: x=344 と x=733 / 中心が720）
 * 幅380px: 「情報システム・ITサポート」が1行で収まる幅（2026-09-21 Figmaコメント対応で+20px） */
.p-it__cards--two {
	grid-template-columns: repeat(2, minmax(0, 380px));
	justify-content: center;
	margin-top: 32px;
}
.p-it__card {
	padding: 22px 20px 20px;
	color: var(--c-text);
	background: #fff;
}
.p-it__card-head {
	display: flex;
	align-items: center;
	gap: 8px;
}
/* ラベル（Figma: 84x30 r15 橙 / 12px 白） */
.p-it__badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 84px;
	height: 30px;
	padding-inline: 8px;
	font-size: 12px;
	font-weight: 600;
	line-height: normal;
	color: #fff;
	background: var(--c-orange);
	border-radius: 15px;
}
.p-it__card-title {
	font-size: 16px;
	font-weight: 700;
	line-height: 160%;
	letter-spacing: 0;
	color: var(--c-orange);
}
.p-it__card-img {
	margin-top: 13px;
}
.p-it__card-img img {
	display: block;
	width: 100%;
	height: auto;
}
/* 項目内の写真はホバーでズーム（construction/careerと同挙動・2026-09-22 Figmaコメント対応。
 * 大見出し写真（col-img）は対象外 */
.p-it__card-img,
.p-it__step-img {
	overflow: hidden;
}
.p-it__card-img img,
.p-it__step-img img {
	transition: scale 0.25s; /* 通常側に置くことで、ホバー解除時も滑らかに戻る */
}
.p-it__card:hover .p-it__card-img img,
.p-it__step:hover .p-it__step-img img {
	scale: 1.05;
}
.p-it__card-desc {
	margin-top: 20px;
	font-size: 14px;
	font-weight: 500;
	line-height: 220%;
}
.p-it__field-note {
	margin-top: 32px;
	font-size: 14px;
	font-weight: 700;
	line-height: 160%;
	letter-spacing: 0.2em;
	text-align: center;
}

/* ---------------------------------------------------------
 * ONE DAY（橙背景 + 白パネル / 3214-4684）
 * ------------------------------------------------------- */
.p-it__oneday {
	padding: 120px 0 100px;
	color: #fff;
	background: var(--c-orange);
}
.p-it__panel {
	margin-top: 40px;
	padding: 64px 56px 56px;
	color: var(--c-text);
	background: #fff;
	border-radius: 10px;
}
.p-it__day-head {
	display: flex;
	align-items: baseline;
	gap: 24px;
	margin-bottom: 32px;
}
.p-it__day-title {
	font-size: 32px;
	font-weight: 700;
	line-height: 160%;
	letter-spacing: 0.2em;
	color: var(--c-teal);
}
.p-it__day-note {
	font-size: 14px;
	font-weight: 700;
	line-height: 220%;
}
.p-it__timeline {
	position: relative;
	list-style: none;
}
/* スクロール進捗のオレンジ線（グレーの点線を上から塗り潰す）。
 * --tl-top / --tl-height は js/script.js が最初のドット中心を基準に更新する。 */
.p-it__timeline::after {
	content: "";
	position: absolute;
	top: var(--tl-top, 10px);
	left: 100px;
	width: 2px;
	height: var(--tl-height, 0px);
	background: var(--c-orange);
	transform: translateX(-0.5px);
	pointer-events: none;
}
/* 時刻 / ドット / 本文 / 写真（Figma: x=205 / 299 / 351 / 993） */
.p-it__step {
	position: relative;
	display: grid;
	grid-template-columns: 94px 12px minmax(0, 1fr) 241px;
	align-items: start;
	padding-bottom: 40px;
}
.p-it__step-body {
	padding-left: 40px;
}
.p-it__step::before {
	content: "";
	position: absolute;
	top: 10px;
	left: 100px;
	width: 0;
	height: 100%;
	border-left: 1px dashed var(--c-line);
}
.p-it__step:last-child { padding-bottom: 0; }
.p-it__step:last-child::before { display: none; }
.p-it__step-time {
	font-size: 20px;
	font-weight: 700;
	line-height: 100%;
	color: var(--c-teal);
}
.p-it__step-dot {
	position: relative;
	z-index: 1;
	display: block;
	width: 12px;
	height: 12px;
	margin-top: 4px;
	background: var(--c-orange);
	border-radius: 6px;
}
.p-it__step-title {
	font-size: 20px;
	font-weight: 700;
	line-height: 30px;
	letter-spacing: 0;
	color: var(--c-teal);
}
.p-it__step-desc {
	margin-top: 10px;
	font-size: 14px;
	font-weight: 400;
	line-height: 26px;
	color: var(--c-text);
}
.p-it__step-img img {
	display: block;
	width: 100%;
	height: auto;
}
.p-it__oneday-note {
	margin-top: 32px;
	font-size: 14px;
	font-weight: 700;
	line-height: 160%;
	letter-spacing: 0.2em;
	text-align: center;
}

/* ---------------------------------------------------------
 * SUPPORT（青緑背景 / 4684-5301）
 * 写真は画面左端までブリード（Figma: x=0-720 / 角丸なし・セクション上端から）
 * ------------------------------------------------------- */
.p-it__support {
	position: relative;
	color: #fff;
	background: var(--c-teal);
}
.p-it__media {
	display: grid;
	grid-template-columns: minmax(0, 569fr) minmax(0, 539fr);
	column-gap: 32px;
	align-items: stretch;
}
.p-it__media-img {
	width: calc(100% + max(50vw - 610px, 0px) + 40px);
	margin-left: calc(-1 * (max(50vw - 610px, 0px) + 40px));
}
.p-it__media-img img {
	display: block;
	width: 100%;
	height: auto;
}
.p-it__media-body {
	/* 下140px: CONTACTのオレンジ波(下記)がセクション下端140pxに重なるため、
	 * 波の山(下端から最大122px)に本文がかからないよう確保 */
	padding: 120px 0 140px;
}
.p-it__media-title {
	margin-top: 40px;
	padding-bottom: 18px;
	font-size: 24px;
	font-weight: 700;
	line-height: 160%;
	letter-spacing: 0.2em;
	border-bottom: 1px solid rgba(255, 255, 255, 0.6);
}
.p-it__media-body .p-it__text {
	margin-top: 24px;
}

/* 写真はカラム全高に伸ばし、下端はCONTACTのオレンジ波が上から曲線で覆う */
.p-it__support .p-it__media-img {
	height: 100%;
}
.p-it__support .p-it__media-img img {
	height: 100%;
	object-fit: cover;
}

/* =========================================================
 * フッター共通CONTACTの上波: オレンジの波をSUPPORTに直接かぶせる
 * 共通実装(style.css)は「波の上側を前セクション色で塗って馴染ませる」方式だが、
 * このページは写真がセクション下端まであるため、写真が水平に切れて
 * 青緑の帯が挟まって見える。→ 波を上下反転して「波線の下側をオレンジで塗る」
 * ＋ セクションを波の高さぶん持ち上げる方式に切り替える
 * (波線より上は透過＝SUPPORTの写真・青緑がそのまま見え、
 *  オレンジの波が曲線のまま写真に被さる)
 * ========================================================= */
.page-front__contact {
	margin-top: -140px; /* 既定 -20px + 波高 120px */
	padding-top: 260px; /* 既定 140px + 持ち上げ120pxの相殺(コンテンツ位置は不変) */
	/* 波エリア(先頭119px)は背景を透過にしてSUPPORTを見せる。
	 * 119px = 波SVGの下端(top:-1px + 高さ120px) */
	background: linear-gradient(180deg, rgba(245, 163, 19, 0) 119px, #F5A313 119px);
}
@media screen and (max-width: 1280px) {
	.page-front__contact {
		padding-top: 220px; /* 既定 100px + 120px */
	}
}
.page-front__contact .page-front__contact__wave--top path {
	fill: #F5A313;
	/* viewBox(高さ200)内で上下反転 → 塗りが波線の下側になる */
	transform: translateY(200px) scaleY(-1);
}

/* 下層FVカバーを about / service と同じ「ぼかしFV写真 + 橙60% + 黒10%」にする */
.l-page-hero__cover-img {
	display: block;
}
.l-page-hero__cover::before {
	background:
		linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)),
		linear-gradient(rgba(245, 163, 19, 0.6), rgba(245, 163, 19, 0.6));
}

/* =========================================================
 * タブレット（〜1080px）: 見出し英字 60 → 44 / パネル余白を圧縮
 * ========================================================= */
/* 見出し（見出し→ラベル→タイトル）は 0.12s 刻みで続けて出るが、
 * 本文だけは一拍おいてから出す。読む順を「タイトル → 本文」と分けて見せるため。
 * ※ .is-anim-in にスコープすること（常時付与だと読込時の“隠す”側にも効いて事故る）
 * ※ text-anim.js は is-anim-in を付けた後に計算ディレイを見るので、
 *    ここで指定があれば既定の 0.12s×index は上書きされない */
html.js-text-anim .p-it__text.is-anim-in,
html.js-text-anim .p-it__lead.is-anim-in {
	transition-delay: 0.75s;
}

/* data-anim-group 内は「一拍置き」をやめてグループの連番(0.12s×順番)に任せる。
 * CSSのディレイが0ならJS(text-anim.js)が並び順の連番ディレイを入れる仕組み */
html.js-text-anim [data-anim-group] .p-it__text.is-anim-in,
html.js-text-anim [data-anim-group] .p-it__lead.is-anim-in {
	transition-delay: 0s;
}

@media screen and (max-width: 1080px) {
	.p-it__heading-eng { font-size: 44px; }
	.p-it__title,
	.p-it__media-title { font-size: 22px; }
	.p-it__intro-text { font-size: 20px; }

	.p-it__work,
	.p-it__field,
	.p-it__oneday { padding-block: 96px; }

	.p-it__cards { gap: 20px; }
	.p-it__cards--two { grid-template-columns: repeat(2, minmax(0, 372px)); }
	.p-it__card { padding: 20px 16px; }

	.p-it__panel { padding: 48px 32px 40px; }
	.p-it__day-title { font-size: 28px; }
	.p-it__step { grid-template-columns: 76px 12px minmax(0, 1fr) 200px; }
	.p-it__step-body { padding-left: 28px; }
	.p-it__step::before,
	.p-it__timeline::after { left: 82px; }
	.p-it__media-body { padding: 96px 0 116px; }
}

/* =========================================================
 * SP（〜768px）
 * Figma に SP デザインの支給が無いため、他ページの SP 数値感に合わせた実装:
 * 見出し英字 32 / 流れる英字 64 / 本文 14 / インナー左右20 / セクション 64-80
 * ========================================================= */
@media screen and (max-width: 768px) {
	/* SPは縦積みで写真が全幅になるため、波にかぶせる処理は解除して元の比率で出す */
	.p-it__support .p-it__media-img,
	.p-it__support .p-it__media-img img {
		height: auto;
	}


	.p-it__inner { padding-inline: 20px; }

	.p-it__heading { gap: 8px; }
	.p-it__heading-eng { font-size: 32px; }

	.p-it__head,
	.p-it__cols,
	.p-it__media {
		grid-template-columns: 1fr;
		gap: 28px;
	}
	.p-it__head-body { margin-top: 0; }
	.p-it__title,
	.p-it__media-title { font-size: 20px; letter-spacing: 0.12em; }
	.p-it__col-text .p-it__title { margin: 24px 0 12px; }
	.p-it__lead,
	.p-it__text { font-size: 14px; line-height: 200%; }

	.p-it__intro { height: auto; }
	.p-it__intro-hold { position: static; height: 100svh; }
	.p-it__intro-text { font-size: 16px; line-height: 200%; }
	.p-it__marquee { bottom: -8px; }
	.p-it__marquee-word { font-size: 64px; padding-right: 18px; }

	.p-it__work,
	.p-it__field,
	.p-it__oneday { padding: 64px 0 80px; }

	.p-it__col-img {
		width: calc(100% + 20px);
		margin-right: -20px;
	}
	.p-it__col-img,
	.p-it__col-img img { border-radius: 20px 0 0 20px; }

	.p-it__cards,
	.p-it__cards--two {
		grid-template-columns: 1fr;
		gap: 16px;
		justify-content: stretch;
		margin-top: 32px;
	}
	.p-it__cards--two { margin-top: 16px; }
	.p-it__card { padding: 24px 20px; }
	.p-it__card-head { flex-wrap: wrap; gap: 10px; }
	.p-it__card-title { font-size: 18px; }
	.p-it__field-note,
	.p-it__oneday-note { font-size: 12px; letter-spacing: 0.12em; line-height: 190%; text-align: left; }

	.p-it__panel { padding: 28px 20px; }
	.p-it__day-head { flex-direction: column; align-items: flex-start; gap: 8px; margin-bottom: 24px; }
	.p-it__day-title { font-size: 22px; letter-spacing: 0.12em; }
	.p-it__day-note { font-size: 13px; }
	.p-it__step {
		grid-template-columns: 60px 12px minmax(0, 1fr);
		padding-bottom: 28px;
	}
	.p-it__step::before,
	.p-it__timeline::after { left: 66px; }
	.p-it__step-body { padding-left: 16px; }
	.p-it__step-time { font-size: 15px; }
	.p-it__step-title { font-size: 17px; line-height: 26px; }
	.p-it__step-desc { font-size: 13px; line-height: 24px; }
	.p-it__step-img {
		grid-column: 3 / -1;
		margin-top: 12px;
	}

	.p-it__media-img {
		width: calc(100% + 40px);
		margin-left: -20px;
		margin-right: -20px;
	}
	/* SPはCONTACTのオレンジ波がセクション下端に重なるため、
	 * careerと同じ「テキスト → 写真」の順に並べ替えて波が写真に被さるようにする
	 * (本文が波に隠れるのを防ぐ) */
	.p-it__support .p-it__media-img { order: 2; }
	/* 上64px: 直前セクション(ONE DAY)との間隔。career の SUPPORT と同じ値 */
	.p-it__media-body { padding: 64px 0 0; }
}

/* WORK / SUPPORT: テキストグループを写真に対し上下中央（PCのみ・2026-09-29 ユーザー指示）。
 * SUPPORTは写真がstretchのままbody側をflex中央に。上padding を下の波ガード140pxと
 * 対称にすることで、波エリアを避けつつ光学的な中央を保つ */
@media screen and (min-width: 769px) {
	.p-it__cols { align-items: center; }
	.p-it__support .p-it__media-body {
		display: flex;
		flex-direction: column;
		justify-content: center;
		padding-top: 140px;
	}
}
