@charset "utf-8";
/* CSS Document */
@import url("style.css");
.kaso_img {
	background-image: url("../img/top_img-rules.jpg")
}
.kaso_img h1:before {
	content: "就業規則作成";
}
#about {
	font-size: 12px;
	padding: 80px calc(50% - 425px) 100px;
}
#about img {
	width: 300px;
	position: absolute;
	right: calc(50% - 425px);
	top: 140px;
}
#about p {
	width: 64%;
}
#about ol {
	line-height: 27px;
	font-weight: 700;
}
#about ol li {
	position: relative;
	padding: 0 0 0 20px;
}
#about ol li:before {
	content: "○";
	position: absolute;
	left: 0;
}
#flow {}
.flow {
	counter-reset: num 0;
	display: flex;
	position: relative;
	padding: 35px 0 50px;
	justify-content: space-between;
	font-size: 12px;
	flex-wrap: wrap;
	border-bottom: dotted 2px #ccc;
}
.flow:last-of-type {
	border-bottom: none;
}
.flow strong {
	display: block;
	width: 100%;
	font-size: 24px;
	font-weight: 900;
	margin: 0 0 30px -15px;
}
.flow dl {
	background: #fff;
	border: solid 3px #ccc;
	border-radius: 5px;
	box-sizing: border-box;
	width: calc(100% / 5 - 15px);
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: 25px 10px 10px;
}
.flow dl:before {
	counter-increment: num 1;
	content: counter(num);
	position: absolute;
	width: 30px;
	height: 30px;
	z-index: 1;
	display: flex;
	justify-content: center;
	align-items: center;
	top: -15px;
	left: -15px;
	color: #fff;
	font-size: 16px;
	font-weight: 900;
}
.flow dl:after {
	content: "";
	position: absolute;
	width: 30px;
	height: 30px;
	background: #999;
	border-radius: 50%;
	left: -15px;
	top: -15px;
}
.flow dl dt {
	display: table;
	position: absolute;
	top: -15px;
	left: 0;
	right: 0;
	margin: 0 auto;
	background: #09f;
	font-size: 16px;
	font-weight: 900;
	color: #fff;
	padding: 3px 14px;
	border-radius: 16px;
}
.flow dl dd {}
.flow dl dd img {
	height: 80px;
	margin: auto;
	display: block;
}
.flow dl dd:last-of-type {}
.flow dl dd:last-of-type:before {
	content: "";
	position: absolute;
	top: 30%;
	right: -24px;
	margin-top: -12px;
	border: 12px solid transparent;
	border-left: 12px solid #FFF;
	z-index: 2;
}
.flow dl dd:last-of-type:after {
	content: "";
	position: absolute;
	top: 30%;
	right: -30px;
	margin-top: -14px;
	border: 14px solid transparent;
	border-left: 14px solid #ccc;
	z-index: 1;
}
.flow dl:last-of-type dd:last-of-type:before {
	content: none;
}
.flow dl:last-of-type dd:last-of-type:after {
	content: none;
}
.flow dl.cycle dd:first-of-type:before {
	content: "";
	position: absolute;
	width: 48px;
	height: 57px;
	background: url(../img/rules/icn_01.svg) no-repeat center;
	left: -35px;
	bottom: 30px;
	z-index: 1;
}
.flow dl.fin dd:first-of-type:before {
	content: "";
	position: absolute;
	width: 48px;
	height: 57px;
	background: url(../img/rules/icn_02.svg) no-repeat center;
	left: -35px;
	bottom: 30px;
	z-index: 1;
}
@media (max-width: 768px) {
	#about {
		padding: 50px 20px;
	}
	#about img {
		position: relative;
		right: auto;
		top: auto;
		height: 150px;
		margin: 0 auto 20px;
		display: block;
	}
	#about p {
		width: auto;
	}
	#about ol {
		line-height: normal;
	}
	#about ol li {
		margin: 9px 0;
	}
	#about ol li:before {}
	#flow {}
	.flow {
		flex-direction: column;
		padding: 20px 0;
	}
	.flow:last-of-type {}
	.flow strong {
		font-size: 18px;
	}
	.flow dl {
		width: 100%;
		margin: 0 0 15px;
		flex-direction: row-reverse;
	}
	.flow dl:before {}
	.flow dl:after {}
	.flow dl dt {
		right: auto;
		left: 20px;
	}
	.flow dl dd {
		flex: 1;
	}
	.flow dl dd img {
		height: 40px;
	}
	.flow dl dd:last-of-type {
		flex: none;
		width: 70px;
	}
	.flow dl dd:last-of-type:before {
		top: auto;
		right: auto;
		margin-top: 0;
		bottom: -23px;
		left: 50%;
		margin-left: -15px;
		border: 12px solid transparent;
		border-top: 12px solid #FFF;
	}
	.flow dl dd:last-of-type:after {
		top: auto;
		right: auto;
		margin-top: 0;
		bottom: -29px;
		left: 50%;
		margin-left: -17px;
		border: 14px solid transparent;
		border-top: 14px solid #ccc;
	}
	.flow dl:last-of-type dd:last-of-type:before {}
	.flow dl:last-of-type dd:last-of-type:after {}
	.flow dl.cycle dd:first-of-type:before {
		left: auto;
		right: 10px;
		bottom: auto;
		top: -30px;
	}
	.flow dl.fin dd:first-of-type:before {
		left: auto;
		right: 10px;
		bottom: auto;
		top: -35px;
	}
}