@charset "utf-8";

/* pagetitle
----------------------------------------------- */
.pagetitle {
	margin-bottom: 20px;
}

h5 {
	margin-top: 100px !important;
}

/* employees-group
----------------------------------------------- */
.employees-group {
	width: calc(100% - 270px);
	max-width: 1200px;
	margin: 0 auto;
	padding: 50px 0 0;
}
.employees-group:last-child {
	margin-bottom: 80px;
}
.employees-group-title {
	padding: 0 0 20px;
	margin-bottom: 30px;
	font-size: 23px;
	font-weight: bold;
	position: relative;
}
.employees-group-title::after {
	content: "";
	width: 100%;
	height: 4px;
	box-sizing: border-box;
	background: #e8e8e8;
	border-left: 160px solid #5646b3;
	position: absolute;
	bottom: 0;
	left: 0;
}
.employees-group ul {
	display: flex;
	justify-content: flex-start;
	flex-wrap: wrap;
	gap: 10px 30px;
}

.employees-group ul li {
	width: calc(100% / 4 - 23px);
	display: flex;
}
.employees-group ul li a {
	display: block;
	margin-bottom: 5%;
	padding: 0 8px 20px;
	background: #fff;
	overflow: hidden;
	transition: all 0.5s;
}

.employees-group ul li .photo img {
	width: calc(100% + 16px);
	height: auto;
	margin-bottom: 20px;
	margin-left: -8px;
	overflow: hidden;
	background: #f0f3f6;
	transition: background-color 0.5s;
}

.employees-group ul li .employees-name {
	margin-top: -5px;
	margin-bottom: 10px;
	font-size: 20px;
	font-weight: bold;
	color: #5646b3;
}
.employees-group ul li .employees-category {
	margin-bottom: 5px;
	font-size: 16px;
	font-weight: bold;
	line-height: 1.3;
	text-align: justify;
}
.employees-group ul li .employees-post {
	margin-bottom: 5px;
	font-size: 13px;
	line-height: 1.3;
	text-align: justify;
}
.employees-group ul li .employees-year {
	font-size: 11px;
	line-height: 1.3;
	text-align: justify;
}

/* pc
----------------------------------------------- */

@media print, screen and (min-width: 1000px) {
	/* employees-group
	----------------------------------------------- */
	.employees-group ul li a:hover {
		box-shadow: 0 20px 15px rgba(0, 0, 0, 0.1);
		transform: translateY(-10px);
		transition-timing-function: cubic-bezier(0.165, 0.84, 0.44, 1);
		cursor: pointer;
	}
	.employees-group ul li a:hover .photo img {
		background: #a293f7;
	}
}
/* tablet
----------------------------------------------- */

@media screen and (min-width: 641px) and (max-width: 1000px) {
}

/* mobile
----------------------------------------------- */

@media only screen and (max-width: 999px) {
	/* section
	----------------------------------------------- */

	.section {
		padding: 0 0 0px;
	}

	h5 {
		margin-right: 20px !important;
		margin-left: 20px !important;
		margin-top: 50px !important;
	}

	/* employees-group
	----------------------------------------------- */
	.employees-group {
		width: calc(100% - 40px);
		margin: 0 auto;
		padding: 30px 0 0;
	}
	.employees-group:last-child {
		margin-bottom: 50px;
	}
	.employees-group-title {
		padding: 0 0 16px;
		max-width: 820px;
		margin: 0 auto 20px;
		font-size: 16px;
		line-height: 1.5;
	}
	.employees-group-title::after {
		height: 4px;
		border-left: 60px solid #5646b3;
	}
	.employees-group ul {
		max-width: 820px;
		margin: 0 auto;
		justify-content: center;
		gap: 1rem;
	}

	.employees-group ul li {
		width: calc(50% - 2.2rem);
		flex: 1 1 158px;
	}
	.employees-group ul li a {
		padding: 0;
	}
	.employees-group ul li .photo img {
		width: 100%;
		margin-bottom: 15px;
		margin-left: 0;
	}

	.employees-group ul li .employees-name {
		margin-bottom: 5px;
		font-size: 16px;
	}
	.employees-group ul li .employees-post {
		margin-bottom: 5px;
		font-size: 12px;
	}
	.employees-group ul li .employees-year {
		font-size: 12px;
	}
	.employees-group ul li .arrow {
		width: 50px;
		height: 50px;
		bottom: -5px;
		right: -5px;
	}
	.employees-group ul li .arrow:after {
		width: 8px;
		height: 15px;
		background-size: 8px 15px;
	}
}
