@charset "utf-8";

/* -----------------------------
	募集要項（タブ周り）
-------------------------------- */
#job-description .recruitinfo-area{
    padding: 70px 0 150px;
    margin: 0 auto 0;
}

.tab-label {
	color: var(--brown);
	background: var(--gray);
	font-weight: bold;
	/* border: solid 2px #13c3ac; */
	position: relative;
	z-index: 1;
	cursor: pointer;
	flex: 1;
	padding: 8px 0 ;
	/* margin: 0 5px; */
	float: left;
	font-family: var(--basefont-jp);
	font-size: 1.8rem;
	line-height: 1.5;
	text-align: center;
	width: 250px;
	/*width: 240px;　5項目　*/
	height: 60px;
	display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
	}
.tab-label:not(:last-of-type):before{
	position: absolute;
	content: "";
	width: 2px;
	height: 100%;
	background-color: var(--base-color);
	right: 0;
	top: 0px;
}
.tab-label span.sub{
	font-size: 1.3rem;
	display: block;
	width: 100%;
}
.tab-label:hover {
opacity: 0.75;
}

.tab-content {
flex: 100%;
display: none;
overflow: hidden;
}

input[name="tab-switch"] {
display: none;
}

input:checked + .tab-label {
color: #fff;
background: rgb(187,125,177);
background: var(--gradation);
}
input:checked + .tab-label.sougou{
	background-color: #ddd;
}
input:checked + .tab-label.area{
	background-color: #ddd;
}
input:checked + .tab-label.facility{
	background-color: #ddd;
}
input:checked + .tab-label.dx{
	background-color: #ddd;
}
input:checked + .tab-label.keiri{
	background-color: #ddd;
}
input:checked + .tab-label::after {
	content: '';
	width:calc(100% * 4);
	height: 2px;
	display: block;
	position: absolute;
	top: 100%;
	transition: all 0.3s ease 0s;
}
input:checked + .tab-label.sougou::after {
	background-color: var(--sougou-color);
	left:0;
}
input:checked + .tab-label.area::after {
	background-color: var(--area-color);
	left:-100%;
}
input:checked + .tab-label.facility::after {
	background-color: var(--facility-color);
	left:-200%;
}
input:checked + .tab-label.dx::after {
	background-color: var(--dx-color);
	left:-300%;
}
input:checked + .tab-label.keiri::after {
	background-color: var(--keiri-color);
	left:-400%;
}

#tab01:checked ~ #tab01-content,
#tab02:checked ~ #tab02-content,
#tab03:checked ~ #tab03-content,
#tab04:checked ~ #tab04-content,
#tab05:checked ~ #tab05-content {
display: block;
}

.tab-content{
position: relative;
animation: fadeIn 1s ease;
width: 100%;
padding: 60px 0 60px 0;
	border: solid 1px var(--purple);

}

.flow-area .ttl-type02-m span {
	display: none;
}

.recruitinfo-area .description-area .ttl-type02-m {
	display: none;
}
@media screen and (max-width: 768px){
	#job-description .recruitinfo-area{
		padding: 50px 20px 50px;
		margin: 0 auto 0;
	}
	.tab-label{
		width: 50%;
		height: 50px;
		border-bottom: solid 1px var(--base-color);
		font-size: 1.6rem;
	}
	.tab-label:hover {
	opacity: 1;
	}


	input:checked + .tab-label::after{
		display: none;
	}
	.tab-label span.sub{
		font-size: 1.2rem;
	}
	
	.tab-content{
		padding: 20px 0 0;
		margin: 100px 0 0;
	}

	#tab01-content.tab-content,
	#tab02-content.tab-content{
	padding: 30px 10px 30px 10px;
	}
	#tab01-content{
		border-top: solid 3px var(--sougou-color);
	}
	#tab02-content{
		border-top: solid 3px var(--area-color);
	}
	#tab03-content{
		border-top: solid 3px var(--facility-color);
	}
	#tab04-content{
		border-top: solid 3px var(--dx-color);
	}
	#tab05-content{
		border-top: solid 3px var(--keiri-color);
	}
	
	.flow-area {
		padding: 30px 0 0!important;
	}

}
/* -----------------------------

-------------------------------- */
.tab-content .section-ttl{
	font-size: 2.4rem;
	text-align: center;
	line-height: 1.2;
	margin: 0 0 20px;
}
.tab-content .section-ttl span.txt01 {
	font-size: 2.0rem;
}
.tab-content .section-ttl span.txt02 {
	display: inline-block;
	padding: 0 0 0 10px;
}
/* .tab-content .ttl-type02-s{
	margin: 60px 0 0;
} */
.tab-content .table{
	margin: 30px 0 0;
}
.tab-content .table td{
	width: auto;
	line-height: 2;
}
.tab-content .table th{
	width: 18%;
}

.tab-content .table li{
	position: relative;
	padding: 0 0 0 20px;
	line-height: 2;
}
.tab-content .table li::before{
	content: '■';
	position: absolute;
	top: 0;
	left: 0;
}

@media screen and (max-width: 768px){
	.tab-content .section-ttl{
		font-size: 2rem;
		margin: 0 0 20px;
		line-height: 1.3;
	}
	.tab-content .section-ttl span.txt01 {
		font-size: 1.6rem;
	}
	.tab-content .section-ttl span.txt02 {
		display: block;
		padding:0px 0 0
	}
	.tab-content .table th{
		width: auto;
	}
}
