@charset "utf-8";

/* =====================================================================
	common.css
===================================================================== */

/* ----------------------------------------------------------------------
 * 全デバイス共通
 * ---------------------------------------------------------------------- */

h1,
h1 img {
	width: 100%;
}
h2 {
	font-size: 2rem;
	font-weight: 900;
	line-height: 1;
	box-sizing: border-box;
	padding: 1.25em;
	border-radius: 0 1.75em 1.75em 0;
	text-align: center;
}
/* .problem */
.problem {
	width: 100%;
	background-color: #eeeeef;
	position: relative;
}
.problem::after {
	content: '';
	display: block;
	background: #eeeeef;
	height: 50px;
	width: 95px;
	clip-path: polygon(0 0, 100% 0, 50% 100%);
	position: absolute;
	bottom: -50px;
	left: 50%;
	transform: translateX(-50%);
}
.problemTitle {
	display: flex;
	justify-content: center;
}
.problem h3 {
	font-size: 2rem;
	font-weight: 900;
	text-align: center;
}
.problemList {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 20px;
}
.problemList li img {
	width: 100%;
}

h4 {
	font-size: 2rem;
	font-weight: 900;
	color: #ed7700;
	text-align: center;
}
/* .task */
.task p.taskSummary {
	font-size: 1.5rem;
	font-weight: 900;
	line-height: 2.2rem;
	text-align: center;
	margin: 20px 0 0 0;
}
.taskSet {
	display: flex;
	justify-content: space-between;
}
.taskSet .taskSetImg img {
	width: 100%;
}
.taskSet .taskSetContent h5 {
	display: flex;
	width: 100%;
	justify-content: center;
	align-items: center;
	background-color: #f9ca87;
	text-align: center;
	font-weight: 900;
	line-height: 2.6rem;
}
.taskSet .taskSetContent p {
	font-size: 1.6rem;
	font-weight: 500;
	line-height: 1.375;
}
/* #staffing */
#staffing h2 {
	background-color: #a0c2d7;
}
#staffing .problem h3::before {
	background-image: url(../img/arrowStaffing.svg);
}
/* #contract */
#contract h2 {
	background-color: #b2dbc7;
}
#contract .problem h3::before {
	background-image: url(../img/arrowContract.svg);
}
/* #specificSkill */
#specificSkill h2 {
	background-color: #d7a8af;
}
#specificSkill .problem h3::before {
	background-image: url(../img/arrowSpecificSkill.svg);
}
/* #bannerSankou */
#bannerSankou {
	display: block;
}
#bannerSankou img {
	width: 100%;
}
/* #contactBanner */
.contactBanner {
	display: block;
}
.contactBanner img {
	width: 100%;
}



/* --------------------------------------------------
 * 画面の横幅が960px以上（PC）
 * -------------------------------------------------- */
@media screen and (min-width: 960px){
	section {
		margin: 40px auto 70px auto;
	}
	h2 {
		width: 350px;
	}
	/* .problem */
	.problem {
		margin: 40px auto 0 auto;
		padding: 28px 0;
	}
	.problem h3 {
		padding: 0 0 0 120px;
		position: relative;
		margin: 28px 0;
		display: inline-block;
	}
	.problem h3::before {
		content: '';
		position: absolute;
		top: -20px;
		left: 0;
		width: 100px;
		height: 70px;
		background-repeat: no-repeat;
		background-position: left top;
	}
	.problemList {
		width: 920px;
		margin: 28px auto 0 auto;
	}
	.problemList li {
		width: calc((100% - 20px * 3) / 4);
	}

	h4 {
		margin: 77px auto 0 auto;
	}
	/* .task */
	.task {
		width: 920px;
		margin: 27px auto 0 auto;
	}
	.taskSet {
		margin: 70px 0 0 0;
	}
	.taskSet .taskSetImg {
		width: 395px;
	}
	.taskSet:nth-of-type(even) .taskSetImg {
		order: 2;
	}
	.taskSet .taskSetContent {
		width: 480px;
	}
	.taskSet:nth-of-type(even) .taskSetContent {
		order: 1;
	}
	.taskSet .taskSetContent h5 {
		height: 100px;
		font-size: 2rem;
	}
	.taskSet .taskSetContent p {
		margin: 50px 0 0 0;
	}
	/* #staffing */
	/* #contract */
	/* #specificSkill */
	/* #bannerSankou */
	#bannerSankou {
		width: 400px;
		margin: 50px 0 0 auto;
	}
	/* #contactBanner */
	.contactBanner {
		width: 600px;
		margin: 70px auto 0 auto;
	}
}


/* --------------------------------------------------
 * 画面の横幅が959pxまで（タブレット端末横）
 * -------------------------------------------------- */
@media screen and (max-width: 959px){
	section {
		margin: 40px auto;
	}
	h2 {
		width: 300px;
	}
	/* .problem */
	.problem {
		margin: 20px auto 0 auto;
		padding: 20px 0;
	}
	.problem h3 {
		padding: 0;
		margin: 0 0 20px 0;
	}
	.problemList {
		width: 88%;
		margin: 0 auto;
	}
	.problemList li {
		width: 280px;
	}

	h4 {
		margin: 70px auto 0 auto;
	}
	/* .task */
	.task {
		width: 88%;
		margin: 20px auto 0 auto;
	}
	.taskSet {
		flex-wrap: wrap;
		margin: 40px 0;
	}
	.taskSet .taskSetImg {
		width: 100%;
		order: 2;
		margin: 20px 0 0 0;
	}
	.taskSet .taskSetContent {
		width: 100%;
		order: 1;
	}
	.taskSet .taskSetContent h5 {
		height: 89px;
		font-size: 1.9rem;
	}
	.taskSet .taskSetContent p {
		margin: 20px 0 0 0;
	}
	/* #staffing */
	#staffing {
		margin: 20px auto 0 auto;
	}
	/* #contract */
	/* #specificSkill */
	/* #bannerSankou */
	#bannerSankou {
		width: 280px;
		margin: 40px auto;
	}
	/* #contactBanner */
	.contactBanner {
		width: 280px;
		margin: 40px auto 0 auto;
	}
}