@charset "UTF-8";

/* ▼▼▼ RECでの仕事
====================================================== */

.page_title h1::after{
	background-image: url(../img/job/title_bg.png);
}

/* main_wrap
---------------------------------------- */
.main_wrap{
	padding: 96px 0 155px 76px;
	margin-bottom: 150px;
	position: relative;
	z-index: 1;
}
.main_wrap::before{
	content: "";
	background: url(../img/job/main_pc.jpg) no-repeat center/100%;
	width: 620px;
	height: 406px;
	position: absolute;
	left: 76px;
	bottom: 0;
}
.main_wrap::after{
	content: "";
	background: url(../img/job/main_bg_pc.jpg) no-repeat left center/cover;
	width: calc(100vw - (50vw - 630px));
	height: 380px;
	position: absolute;
	top: 0;
	left: 0;
	z-index: -1;
}
.main_wrap .tb-r{
	display: block;
	-ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
	color: #F1F6CC;
	font-size: 26px;
	position: absolute;
	top: 15%;
	left: 20px;
}
.main_wrap .comment{
	background: #fff;
	padding: 35px;
	width: calc(50% - 30px);
	margin-left: auto;
	position: relative;
}
.main_wrap .comment::before{
	content: "";
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 15px 15px 15px 0;
	border-color: transparent #fff transparent transparent;
	transform: translateY(-50%);
	position: absolute;
	top: 50%;
	left: -15px;
}
.main_wrap .txt{
	display: inline-block;
	font-size: 22px;
	font-weight: bold;
	position: absolute;
	right: 30px;
	bottom: 0;
	line-height: 1;
}
.main_wrap .txt::before,
.main_wrap .txt::after{
	content: "";
	position: absolute;
}
.main_wrap .txt::before{
	border-left: 1px dashed #000;
	height: 110px;
	left: -40px;
	bottom: 10px;
}
.main_wrap .txt::after{
	background: url(../img/arrow_bk.png) no-repeat center/contain;
	width: 20px;
	height: 13px;
	left: -49px;
	bottom: 0;
}

/* tab_list
---------------------------------------- */
.tab_list{
	display: flex;
	justify-content: center;
	align-items: flex-end;
	position: relative;
}
.tab_list li{
	background: #EFF1F2;
	border-radius: 6px 6px 0 0;
	border: 3px solid #fff;
	box-shadow: 0px -4px 5px rgb(0 0 0 / 7%);
	display: table;
	max-width: 550px;
	margin: 0 5px;
	width: 100%;
	height: 100px;
	font-size: 22px;
	font-weight: bold;
}
.tab_list li:not(.active){
	margin-bottom: -3px;
	-webkit-transition: .3s ease-in-out;
	-moz-transition: .3s ease-in-out;
	transition: .3s ease-in-out;
}
.tab_list li:not(.active):hover{
	background: #F1F6CC;
	border-bottom: 13px solid #fff;
	height: 110px;
	-webkit-transition: .3s ease-in-out;
	-moz-transition: .3s ease-in-out;
	transition: .3s ease-in-out;
}
.tab_list::before{
	content: "";
	width: 100vw;
	height: 100%;
	box-shadow: 0px -5px 5px rgb(0 0 0 / 5%) inset;
	pointer-events: none;
	position: absolute;
	transform: translateX(-50%);
	bottom: 0;
	left: 50%;
}
.tab_list li.active{
	border-bottom: none;
	background: #fff;
	border-color: #B8D200;
	box-shadow: none;
	height: 110px;
	position: relative;
	z-index: 2;
}
.tab_list li a{
	display: table-cell;
	vertical-align: middle;
	text-align: center;
}
.tab_list li.active a::before{
	content: "";
	border-bottom: 4px solid #F1F6CC;
	width: 80%;
	position: absolute;
	transform: translateX(-50%);
	left: 50%;
	bottom: 0;
	z-index: 1;
}
.tab_list li.active span::before,
.tab_list li.active span::after{
	display: block;
	content: "";
	position: absolute;
	left: 50%;
	bottom: 0;
	z-index: 2;
}
.tab_list li.active span::before{
	background: #fff;
	transform: translateX(-50%);
	width: 40px;
	height: 5px;
}
.tab_list li.active span::after{
	content: "";
	background: url(../img/arrow_grn_large.png) no-repeat center/contain;
	width: 22px;
	height: 14px;
	transform: translateX(-50%);
	bottom: 0;
	left: 50%;
	bottom: -5px;
}
.tab_list li a:hover{
	opacity: 1;
}

/* timetable
---------------------------------------- */
.timetable{
	margin-top: 145px;
	position: relative;
}
.timetable::before{
	content: "";
	border-left: 10px solid #F1F6CC;
	height: 95%;
	position: absolute;
	transform: translateX(-50%);
	top: 0;
	left: 50%;
}
.timetable li{
	display: flex;
	justify-content: flex-end;
	position: relative;
	margin-bottom: 90px;
}
.timetable li .time{
	background: #B8D200;
	width: 176px;
	height: 47px;
	line-height: 47px;
	color: #fff;
	font-size: 26px;
	text-align: center;
	position: absolute;
	transform: translateX(-50%);
	top: 40px;
	left: 50%;
}
.timetable li > div{
	padding-right: 68px;
}
.timetable li dl{
	width: 50%;
	padding-left: 135px;
}
.timetable li dt{
	margin: 42px 0 10px;
	font-size: 22px;
	font-weight: bold;
	position: relative;
}
.timetable li dt::after{
	content: "";
	border-top: 1px solid #000;
	width: 60px;
	position: absolute;
	top: 20px;
	left: -80px;
}

.timetable li.time_hide dt::after{
	width: 108px;
	left: -133px;
	z-index: 2;
}
.timetable li.time_hide dt::before{
	content: "";
	background: #B8D200;
	width: 20px;
	height: 20px;
	border-radius: 3px;
	position: absolute;
	transform: rotate(-45deg);
	top: 11px;
	left: -145px;
	z-index: 1;
}

.index .timetable li:first-child::before{
	content: "";
	background: url(../img/job/txt_img01.png) no-repeat center/100%;
	width: 213.73px;
	height: 116.78px;
	position: absolute;
	top: -50px;
	left: 0;
}
.timetable li:last-child::before{
	content: "";
	background: url(../img/job/txt_img02.png) no-repeat center/100%;
	width: 532.89px;
	height: 122.37px;
	position: absolute;
	transform: translateX(-50%);
	left: 50%;
	bottom: -125px;
}
.index .timetable li:last-child{
	margin-bottom: 125px;
}

@media screen and (max-width: 1024px) {
	.main_wrap .txt{
		right: 30px;
		bottom: -40px;
	}
	.main_wrap .txt::before{
		left: 18px;
		top: -140px;
		bottom: auto;
	}
	.main_wrap .txt::after{
		left: 9px;
		top: -40px;
		bottom: auto;
	}	
}
/* ▼▼▼ 768px
====================================================== */
@media screen and (max-width: 768px) {

	#main{
		overflow: inherit;
	}

	/* main_wrap
	---------------------------------------- */
	.main_wrap{
		padding: 255px 0 0;
		margin-bottom: 40px;
	}
	.main_wrap::before{
		background: url(../img/job/main_sp.jpg) no-repeat center/100%;
		width: 300px;
		height: 354px;
		top: 0;
		left: auto;
		right: 0;
		bottom: auto;
	}
	.main_wrap::after{
		content: "";
		background: url(../img/job/main_bg_sp.jpg) no-repeat left center/cover;
		width: 100%;
		height: 412px;
		top: 40px;
	}
	.main_wrap .tb-r{
		color: #fff;
		font-size: 16px;
		position: absolute;
		top: 55px;
		left: 15px;
	}
	.main_wrap .comment{
		padding: 15px;
		width: calc(100% - 30px);
		margin: 0 auto 70px;
		font-size: 13px
	}
	.main_wrap .comment::before{
		width: 0;
		height: 0;
		border-style: solid;
		border-width: 0 15px 15px 15px;
		border-color: transparent transparent #fff transparent;
		transform: translate(-50%,0%);
		position: absolute;
		top: -15px;
		left: 50%;
	}
	.main_wrap .txt{
		display: block;
		padding-top: 20px;
		font-size: 16px;
		text-align: center;
		right: auto;
		bottom: auto;
		position: relative;
	}
	.main_wrap .txt::before{
		height: 55px;
		transform: translateX(-50%);
		top: auto;
		left: 50%;
		bottom: 102%;
	}
	.main_wrap .txt::after{
		transform: translateX(-50%);
		top: auto;
		left: 50%;
		bottom: 100%;
	}

	/* tab_list
	---------------------------------------- */
	.tab_list{
		padding: 0 10px;
	}
	.tab_list li{
		border-radius: 4px 4px 0 0;
		border: 2px solid #fff;
		border-bottom: 0;
		margin: 0 5px;
		width: 100%;
		height: 53px;
		font-size: 14px;
	}
	.tab_list li.active{
		height: 63px;
	}
	.tab_list li.active a::before{
		border-bottom: 3px solid #F1F6CC;
		width: 90%;
	}
	.tab_list li.active span::before{
		background: #fff;
		transform: translateX(-50%);
		width: 30px;
		height: 5px;
	}
	.tab_list li.active span::after{
		content: "";
		background: url(../img/arrow_grn_large.png) no-repeat center/contain;
    width: 16px;
    height: 10px;
	}

	/* timetable
	---------------------------------------- */
	.timetable{
		padding: 0 15px 0 35px;
		margin: 70px auto 27vw;
	}
	.timetable::before{
		border-width: 6px;
		height: 100%;
		position: absolute;
		transform: translateX(0%);
		top: 0;
		left: 35px;
	}
	.timetable li{
		display: block;
		padding: 20px 0 0 35px;
		margin-bottom: 45px;
	}
	.timetable li:last-child{
		margin-bottom: 0!important;
	}
	.timetable li .time{
		width: 90px;
		height: 32px;
		line-height: 32px;
		font-size: 18px;
		transform: translateX(-0%);
		top: 0;
		left: -35px;
	}
	.timetable li > div{
		padding-right: 0;
	}
	.timetable li dl{
		width: 100%;
		padding-left: 0;
	}
	.timetable li dt{
		margin: 20px 0 5px;
		font-size: 16px;
	}
	.timetable li dt::after,
	.timetable li.time_hide dt::after{
		width: 20px;
		top: 15px;
		left: -30px;
	}
	.timetable li.time_hide dt::before{
		width: 16px;
		height: 16px;
		top: 7px;
		left: -40px;
	}

	.index .timetable li:first-child::before{
		background: url(../img/job/txt_img01_sp.png) no-repeat center/100%;
		width: 50%;
		height: 30%;
		top: -40px;
		left: auto;
		right: -15px;
	}
	.timetable li:last-child::before{
		content: "";
		background: url(../img/job/txt_img02.png) no-repeat center bottom/100%;
		width: calc(100% + 35px);
		height: 27vw;
		transform: translateX(0%);
		top: 100%;
		left: -20px;
		bottom: auto;
	}
}

@media screen and (max-width: 340px) {
	.main_wrap .tb-r{
		left: -5px;
	}
}
