@charset "utf-8";
/*------------------------------------------------------------
	index
------------------------------------------------------------*/
.mainImg02 .inner02 .txtSpan02 {
	color: rgba(41, 41, 41, 0.1);
}
#main .workBox {
	margin-bottom: 192px;
}
#main .imgBox {
	margin-bottom: 142px;
	display: flex;
	justify-content: flex-end;
	position: relative;
	align-items: flex-start;
}
#main .imgBox:last-child {
	margin-bottom: 0;
}
#main .imgBox .photoBox {
	order: 2;
	margin-left: -19.4%;
	width: calc(50% + min(19.5vw,373px));
	height: min(29vw,557px);
	position: relative;
	background: url(../img/recruit/work/photo01.png) no-repeat left top;
	background-size: auto 100%;
}
#main .imgBox .textBox {
	min-height: min(31vw,593px);
	margin-top: -35px;
	/* padding: 0 0 50px 20px; */
	padding: 0 0 50px 10vw;
	flex: 1;
	position: relative;
	z-index: 1;
	display: flex;
	justify-content: flex-end;
	box-sizing: border-box;
}
#main .imgBox .textBox::before {
	width: 9999px;  
	height: calc(100% - 25px);
	background-color: rgba(255, 255, 255, 0.43);
	transform: skewX(-28deg);
	position: absolute;  
	top: 35px;
	right: -105px;  
	content: ""; 
	z-index: -1;
}
#main .imgBox .textBox::after {
	width: 9999px;  
	height: calc(100% - 20px);
	background-color: #E6E6E6;
	transform: skewX(-29deg);
	position: absolute;  
	top: -90px;
	right: 200px;  
	content: ""; 
	z-index: -2;
}
#main .imgBox .subBox {
	width: 100%;
	max-width: 720px;
}
#main .imgBox p {
	color: #292929;
	/* line-height: 2.38; */
	line-height: 2;
	font-weight: 700;
	position: relative;
	z-index: 5;
	/* font-size: min(1.4vw,2.1rem); */
	font-size:2rem;
}
#main .imgBox h3 {
	margin-bottom: 44px;
	/* font-size: min(5vw,7rem); */
	font-size: 5rem;
	color: #005BAB;
	position: relative;
	z-index: 5;
}
#main .imgBox02 .photoBox {
	width: calc(50% + min(8vw,153px));
	order: -1;
	height: min(29.5vw,565px);
	margin: 0 -2.5% 0 0;
	margin-left: 0 !important;
	background-image: url(../img/recruit/work/photo02.png);
	background-position: right top;
}
#main .imgBox02 .textBox {
	min-height: min(29.5vw,565px);
	display: block;
	margin-top: 0;
	padding: 55px 20px 50px 0;
}
#main .imgBox02 .subBox {
	max-width: 600px;
}
#main .imgBox02 .textBox::before { 
	right: auto;
	left: -377px;
	top: 0;
	height: 100%;
	transform: skewX(31deg);
}
#main .imgBox02 .textBox::after { 
	transform: skewX(29deg);
	top: 107px;
	right: auto;
	left: 5px;
	height: calc(100% + 5px);
}
#main .imgBox02 h3 {
	margin-bottom: 30px;
}
#main .tamaBox {
	margin-bottom: 120px;
	padding-bottom: 10px;
	padding: 168px 0 0;
	background-color: #fff;
	border-radius: 34px;
	overflow: hidden;
}
#main .tamaBox .content {
	max-width: 1350px;
}
.headLine02 {
	margin-bottom: 35px;
}
.headLine02 .txtSpan {
	top: max(-6vw,-98px);
	left: min(13vw,241px);
	margin-right: max(-2vw,-40px);
}
#main .tamaBox .txt {
	margin: 0 0 82px 5px;
	color: #1A1A1A;
	font-weight: 600;
	line-height: 2.14;
}
#main .list {
	margin-bottom: -26px;
	display: flex;
	flex-wrap: wrap;
}
#main .list02 {
	margin-bottom: 0;
}
#main .list li {
	position: relative;
	padding: 0 15px 45px 0;
}
#main .list li::before {
	background: url(../img/recruit/work/bg.png) no-repeat center;
	background-size: 100% 100%;
	position: absolute;  
	bottom: -20px;
	left: 20px;  
	top: 20px;
	right: -20px;
	content: ""; 
	z-index: -1;
}
#main .list li p {
	position: absolute;
	bottom: 45px;
	left: 0;
	width: 100%;
	text-align: center;
	font-size: 1.9rem;
	letter-spacing: 0.093em;
	color: #fff;
	padding: 15px;
	font-weight: 700;
	box-sizing: border-box;
}
#main .list li p:after {
	width: calc(100% - 20px);  
	height: 267px;
	background: linear-gradient(rgba(0, 0, 0, 0.6) 0%, rgba(84, 84, 84, 0) 100%);
	opacity: 0.25;
	position: absolute;  
	bottom: 0;
	left: 0;  
	content: ""; 
}
#main .list li p small {
	display: block;
	font-size: 1.4rem;
	margin-top: 3px;
}

@media all and (min-width: 897px) {
	.mainImg02{
		margin-bottom: 69px;
	}
	.mainImg02 .inner02 .subSpan {
		left: -1184px;
	}
	.mainImg02 .inner02 .txtSpan {
		margin: 0 50px;
	}
	.comList {
		margin-bottom: 212px;
	}
}

@media all and (max-width: 896px) {
	#main {
		padding-top: 0;
	}
	.mainImg02 {
		margin-bottom: 26px;
	}
	.mainImg02 .inner02 .subSpan {
		left: -192px;
		top: 19px;
	}
	.comList {
		margin-bottom: 26px;
	}
	#main .imgBox {
		margin-bottom: 32px;
		display: block;
	}
	#main .imgBox .photoBox {
		display: none;
	}
	#main .imgBox .textBox {
		margin: 0;
		padding: 0;
		display: block;
	}
	#main .imgBox .subBox {
		max-width: inherit;
	}
	#main .imgBox .spBox {
		margin-bottom: 16px;
		position: relative;
	}
	#main .imgBox .spBox01::before {
		width: 9999px;  
		background-color: #E6E6E6;
		position: absolute;  
		top: 40px;
		bottom: -65px;
		right: calc(50% + 35px);  
		content: ""; 
		z-index: -1;
		transform: skewX(-30deg);
	}
	#main .imgBox .spPhoto img {
		width: 100%;
	}
	#main .imgBox h3 {
		position: absolute;
		top: 50%;
		left: 25px;
		margin: 0;
		transform: translateY(-50%);
		font-size: 2.6rem;
		color: #005BAB;
	}
	#main .imgBox p {
		margin: 0 20px;
		font-size: 1.4rem;
		line-height: 2;
	}
	#main .imgBox02 h3 {
		left: auto;
		right: 45px;
	}
	#main .imgBox .textBox::before,
	#main .imgBox .textBox::after { 
		display: none;
	}
	#main .workBox {
		margin-bottom: 57px;

		margin-top: 70px;
	}
	#main .tamaBox {
		padding: 59px 0 20px; 
		margin: 0 10px;
		border-radius: 10px;
		overflow: inherit;
	}
	#main .tamaBox .content {
		padding: 0 10px;
	}
	.headLine02 {
		margin-bottom: 10px;
	}
	.headLine02 .txtSpan {
		max-width: 400px;
		left: calc(50% - 11px);
		top: -77px;
		margin: 0;
		width: calc(100% + 40px);
		transform: translateX(-50%);
	}
	#main .tamaBox .txt {
		margin: 0 0 37px;
		line-height: 2;
	}
	#main .infiniteslide_wrap {
		margin: -13px 0 -73px;
		padding: 40px 0;
		position: relative;
		left: -10px;
		width: calc(100% + 20px);
	}
	#main .infiniteslide_wrap:last-child {
		margin-bottom: 0;
	}
	#main .list {
		margin-bottom: 0;
	}
	#main .list li {
		padding: 0;
		margin: 0 4px;
		height: 173px;
		position: relative;
		display: inline-flex !important;
	}
	#main .list li::before {
		left: -10px;
		bottom: -50px;
		right: -10px;
		top: -40px;
		z-index: 1;
		background-image: url(../img/recruit/work/bg_sp.png);
	}
	#main .list li > img {
		width: 100%;
		height: 100%;
		z-index: 2;
		position: relative;
		object-fit: contain;
	}
	#main .list li p {
		font-size: 1.2rem;
		bottom: 0;
		padding: 5px;
		z-index: 2;
	}
	#main .list li p small {
		margin-top: 0;
		font-size: 1rem;
	}
	#main .list li p::after {
		height: 97px;
	}
}

@media all and (max-width: 374px) {
	.headLine02 .txtSpan {
		font-size: 5.0rem;
	}
}