@charset "utf-8";
/* ------------------------------
 社員紹介トップ（PC）
------------------------------ */
.contentsMenu li {
	border-radius: 0;
	background-color: transparent;
	line-height: 1.4;
}
.contentsMenu li div {
	position: relative;
	top: 0;
	left: 0;
	border-radius: 0;
}
.contentsMenu li div img {
	width: 100%;
	height: auto;
	border-bottom: none;
	border-radius: 0;
}
.contentsMenu li h2 {
	top: -185px;
	padding: 0 30px 0 46px;
	font-size: 1.8rem;
}
.contentsMenu li h2::before {
	top: 8px;
}
.contentsMenu li h2::after {
	content: "STAFF01";
	display: inline-block;
	position: absolute;
	top: -18px;
	left: 30px;
	color: #693;
	font-family: "Arial", sans-serif;
	font-size: 1.4rem;
	font-weight: bold;
}
.contentsMenu li:nth-child(2) h2::after {
	content: "STAFF02";
}
.contentsMenu li:nth-child(3) h2::after {
	content: "STAFF03";
}
.contentsMenu li:nth-child(4) h2::after {
	content: "STAFF04";
}
.contentsMenu li:nth-child(5) h2::after {
	content: "STAFF05";
}
.contentsMenu li:nth-child(6) h2::after {
	content: "STAFF06";
}
.contentsMenu li:nth-child(7) h2::after {
	content: "STAFF07";
}
.contentsMenu li:nth-child(8) h2::after {
	content: "STAFF08";
}
.contentsMenu li p {
	position: relative;
	top: -150px;
	width: 295px;
	padding: 0 0 0 30px;
}
@media print, screen and (min-width: 768px) {
	.contentsMenu li {
		width: 546px;
		height: 253px;
		margin-bottom: 30px;
	}
	.contentsMenu li:not(:nth-child(3n+1)) {
		margin-left: 0;
	}
	.contentsMenu li:not(:nth-child(2n+1)) {
		margin-left: 48px;
	}
	.contentsMenu li:hover {
		background-color: transparent;
	}
}
/* ------------------------------
 社員紹介トップ（SP）
------------------------------ */
@media screen and (max-width: 767px) {
	.contentsMenu {
		flex-flow: column wrap;
		width: 372px;
		margin-left: auto;
		margin-right: auto;
	}
	.contentsMenu li {
		width: 372px;
		height: 172px;
		margin-bottom: 20px;
	}
	.contentsMenu li:not(:nth-child(2n+1)) {
		margin-left: 0;
	}
	.contentsMenu li a { 
		padding-bottom: 0;
	}
	.contentsMenu li div img {
		border-bottom: none;
	}
	.contentsMenu li h2 {
		top: -125px;
		padding: 0 5px 0 25px;
		font-size: 1.4rem;
	}
	.contentsMenu li h2::before {
		top: 5px;
		left: 14px;
	}
	.contentsMenu li h2::after {
		top: -13px;
		left: 15px;
		font-size: 1rem;
	}
	.contentsMenu li p {
		display: block;
		top: -105px;
		width: 60%;
		padding: 0 0 0 15px;
		font-size: 1.2rem;
	}
}
@media screen and (max-width: 413px) {
	.contentsMenu {
		width: 337px;
	}
	.contentsMenu li {
		width: 337px;
		height: 156px;
	}
	.contentsMenu li h2 {
		top: -115px;
	}
	.contentsMenu li p {
		top: -97px;
		font-size: 1.1rem;
	}
}
@media screen and (max-width: 374px) {
	.contentsMenu {
		width: 324px;
	}
	.contentsMenu li {
		width: 324px;
		height: 150px;
	}
	.contentsMenu li h2 {
		top: -110px;
	}
	.contentsMenu li p {
		top: -93px;
		width: 55%;
	}
	.contentsMenu li p br {
		display: none;
	}
}
@media screen and (max-width: 359px) {
	.contentsMenu {
		width: 288px;
	}
	.contentsMenu li {
		width: 288px;
		height: 133px;
	}
	.contentsMenu li h2 {
		top: -98px;
	}
	.contentsMenu li p {
		top: -85px;
	}
}

/* ------------------------------
 社員紹介下層（PC）
------------------------------ */
.staffMain h2 {
	border-bottom: none;
}
.staffMain h2 span {
	display: block;
	width: 180px;
	height: 36px;
	margin-bottom: 20px;
	border-radius: 18px;
	background: rgb(102, 153, 51);
	background: -webkit-linear-gradient(0deg, rgb(252, 238, 33) 0%, rgb(102, 153, 51) 100%);
	background: linear-gradient(90deg, rgb(252, 238, 33) 0%, rgb(102, 153, 51) 100%);
	color: #fff;
	font-family: "Arial", sans-serif;
	font-size: 1.8rem;
	line-height: 36px;
	font-weight: bold;
	text-align: center;
	letter-spacing: .1em;
}
.staffMain .name strong {
	display: inline-block;
	margin-bottom: 5px;
	margin-right: .5em;
	font-size: 3.2rem;
	font-weight: bold;
}
.staffMain .name span {
	display: inline-block;
	color: #693;
	font-family: "Arial", sans-serif;
	font-size: 1.5rem;
	font-style: italic;
}
.messageBox {
	position: relative;
	clear: both;
	margin-bottom: 40px;
	padding: 50px 40px 30px;
	border-radius: 20px;
	background-color: #f6f3ec;
}
.messageBox .message {
	display: block;
	position: absolute;
	top: -18px;
	left: 40px;
	width: 180px;
	height: 36px;
	margin-bottom: 0;
	border-radius: 18px;
	background: rgb(102, 153, 51);
	background: -webkit-linear-gradient(0deg, rgb(252, 238, 33) 0%, rgb(102, 153, 51) 100%);
	background: linear-gradient(90deg, rgb(252, 238, 33) 0%, rgb(102, 153, 51) 100%);
	color: #fff;
	font-family: "Arial", sans-serif;
	font-size: 1.8rem;
	line-height: 36px;
	font-weight: bold;
	text-align: center;
	letter-spacing: .1em;
}
.messageBox .face {
	float: left;
	width: 100px;
	margin-bottom: 10px;
	margin-right: 15px;
}
.cms_block.messageBox + .cms_block .cms_link.pc_tac.arrow {
	margin-top: -15px;
}
@media print, screen and (min-width: 768px) {
	.staffMain {
		position: relative;
		padding-left: 150px;
	}
	.staffMain h2 {
		position: absolute;
		top: -18px;
		left: 190px;
		z-index: 1;
		width: 550px;
	}
	.staffMain .name {
		position: absolute;
		top: 155px;
		left: 192px;
		z-index: 1;
	}
	.staffMain .name.below {
		top: 191px;
	}
	.messageBox {
		width: 840px;
		margin-left: auto;
		margin-right: auto;
	}
	.messageBox .f21 br {
		display: none;
	}
	.messageBox .cms_text.f21 + .cms_text {
		padding-left: 115px;
	}
}
/* ------------------------------
 社員紹介下層（SP）
------------------------------ */
@media screen and (max-width: 767px) {
	.staffMain {
		margin-top: -20px;
	}
	.staffMain h2 {
		margin-bottom: 20px;
		padding: 0;
		text-align: center;
	}
	.staffMain h2 span {
		width: 134px;
		height: 26px;
		margin: 0 auto 15px;
		border-radius: 13px;
		font-size: 1.3rem;
		line-height: 26px;
	}
	.staffMain .cms_image.sp {
		margin-bottom: 10px;
	}
	.staffMain .name strong {
		font-size: 2rem;
	}
	.staffMain .name span {
		font-size: 1.4rem;
	}
	.staffMain .cms_text + .cms_text {
		padding-bottom: 20px;
		border-bottom-left-radius: 20px;
		border-bottom-right-radius: 20px;
	}
	.messageBox {
		margin-top: 43px;
		padding: 20px 5.5% 15px;
		border-radius: 10px;
	}
	.messageBox .message {
		top: -13px;
		left: 50%;
		width: 134px;
		height: 26px;
		margin-left: -67px;
		border-radius: 13px;
		font-size: 1.3rem;
		line-height: 26px;
	}
	.messageBox .face {
		width: 60px;
		margin-bottom: 5px;
	}
	.messageBox .f21.mb0 {
		margin-top: 10px;
		margin-bottom: 20px !important;
		line-height: 1.3;
	}
}
@media screen and (max-width: 413px) {
	.staffMain h2 {
		margin-left: -5%;
		margin-right: -5%;
	}
}
