@charset "Shift_JIS";

/* 人事メッセージ
============================ */
.message {
	counter-reset: listnum;
}

/* 見出し */
.message h3 {
	margin-bottom: 60px!important;
}
.message .bgW h4 {
	margin-bottom: 0.7em!important;
	position: relative;
	line-height: 1.2!important;
	display: inline-flex;
	align-items: center;
}
.message .bgW h4 .en {
	font-size: 160%;
	font-weight: 300!important;
	padding-right: 0.4em;
}
@media screen and (max-width: 994px) {
	.message h3 {
		margin-bottom: 40px!important;
	}
}
@media screen and (max-width: 767px) {
	.message h3 {
		margin-bottom: 25px!important;
	}
	.message .bgW h4 {
		font-size: 22px;
	}
	/*.message .bgW h4::before {
		margin-right: 7px;
	}*/
}

/* 白ボックス */
.message .bgW {
	background: #fff;
	padding: 60px 80px; 
	margin-bottom: 70px;
}
.message .bgW:last-of-type {
	margin-bottom: 0;
}
.message .bgW .col {
	align-items: flex-end;
}
.message .bgW .txt {
	line-height: 1.9;
}
.message .bgW .box {
	flex-basis: 66%;
}
.message .bgW figure {
	flex-basis: 28%;
}
.message .bgW figure img {
	width: auto;
}
@media screen and (max-width: 994px) {
	.message .bgW {
		padding: 52px 50px; 
		margin-bottom: 60px;
	}
	.message .bgW .box {
		flex-basis: 62%;
	}
	.message .bgW figure {
		flex-basis: 32%;
	}
}
@media screen and (max-width: 767px) {
	.message .bgW {
		padding: 40px 30px; 
		margin-bottom: 45px;
	}
	.message .bgW .box,
	.message .bgW figure {
		flex-basis: 100%;
		min-width: 100%;
	}
	.message .bgW figure {
		text-align: center;
		margin-top: 20px!important;
	}
	.message .bgW figure img {
		width: 80%!important;
	}
	.message .bgW:nth-of-type(2) .box {
		order: -1;
	}
}

/* メッセージ */
.message .bgW.msg .col {
	align-items: flex-start;
}
.message .bgW.msg figure {
	flex-basis: 41%;
}
.message .bgW.msg .box {
	flex-basis: 52%;
}

/* プロフィール */
.message .bgBox {
	background: #f6f6f6;
	border-radius: 12px;
	padding: 40px;
	margin-top: 35px;
}
.message .bgBox dl {
	flex-basis: 45%;
	align-items: center!important;
	justify-content: flex-start;
}
.message .bgBox dt {
	flex-basis: 105px;
}
.message .bgBox dd {
	flex-basis: calc(100% - 105px);
	line-height: 1.7;
	color: #245381;
	font-weight: 600!important;
	position: relative;
	padding: 9px 0 9px 45px;
}
.message .bgBox dd::before,
.message .bgBox dd::after {
	display: block;
	content: "";
	position: absolute;
	left: 25px;
	margin: 0;
	width: 70px;
	height: 3px;
	background: #70cccc;
	transform-origin: top left;
}
.message .bgBox dd::before {
	top: 0;
	transform: rotate(-6deg);
}
.message .bgBox dd::after {
	bottom: 0;
	transform: rotate(6deg);
}
.message .bgBox .profile {
	flex-basis: 50%;
	font-size: 15px;
}
.message .bgBox .profile p:nth-of-type(2) {
	font-size: 13.5px;
	margin-top: 0.8em!important;
	margin-bottom: 0!important;
	line-height: 1.75;
}
@media screen and (max-width: 994px) {
	.message .bgBox {
		flex-direction: column;
		padding: 30px 35px;
	}
	.message .bgBox .profile {
		margin-top: 30px;
	}
}
@media screen and (max-width: 767px) {
	.message .bgBox {
		padding: 30px 20px;
	}
	.message .bgBox dl.col {
		flex-direction: row;
	}
	.message .bgBox dt {
		flex-basis: 80px;
	}
	.message .bgBox dd {
		flex-basis: calc(100% - 80px);
		padding: 9px 0 9px 15px;
		margin-bottom: 20px;
		line-height: 1.4;
		font-size: 14px;
	}
	.message .bgBox dd::before,
	.message .bgBox dd::after {
		left: 5px;
	}
	.message .bgW.msg figure {
		flex-basis: 100%;
	}
	.message .bgW.msg figure img {
		width: 100%!important;
	}
}