@charset "Shift_JIS";

/* 企業情報：インデックス
============================ */

#corp .flex4 a.line {
	position: relative;
	margin-bottom: 20px;
}
#corp .flex4 a.line figure {
	display: block;
	overflow: hidden;
	width: 100%;
	padding-top: 61.80257510729614%;
	background: #f2f2f2;
	position: relative;
}
#corp .flex4 a.line figure img {
	position: absolute;
	top: 0;
	bottom: 0;
	right: 0;
	left: 0;
	margin: auto;
	width: auto;
	height: 70%;
	padding-bottom: 16px;
	transition: 0.7s;
	}
	@media print, screen and (min-width:768px) {
	#corp .flex4 a.line figure img {
		padding-bottom: 24px;
		height: 64%;
	}
	}
	@media print, screen and (min-width:1305px) {
	#corp .flex4 a.line figure img {
		padding-bottom: 40px;
	}
}
#corp .flex4 a.line:hover figure img {
	transform: scale(1.1);
}
#corp.company .flex4 li span {
	display: block;
	background: #fff;
	margin-top: -16px;
	position: relative;
	z-index: 3;
	padding: 14px 0 12px 6px;
	width: calc(100% - 24px);
	font-size: 0.750rem; /* 12px */
	line-height: 1.6;
	box-sizing: border-box;
	}
	@media print, screen and (min-width:768px) {
	#corp.company .flex4 li span {
		margin-top: -24px;
		padding: 20px 12px 16px;
		width: calc(100% - 36px);
		line-height: 1.6;
	}
	}
	@media print, screen and (min-width:1305px) {
	#corp.company .flex4 li span {
		margin-top: -40px;
		padding: 24px 0 16px 12px;
		width: calc(100% - 60px);
		line-height: 1.8;
		font-size: 0.813rem; /* 13px */
	}
}
#corp .flex4 a.line span em {
	display: block;
	font-family: 'Lora', serif;
	font-size: 1.063rem; /* 17px */
	font-weight: normal;
	color: #222;
	margin-bottom: 0.2em;
	vertical-align: text-top;
	font-style: normal;
	position: relative;
	z-index: 10;
	line-height: 1.2;
	}
	@media print, screen and (min-width:768px) {
	#corp .flex4 a.line span em {
		font-size: 1.375rem; /* 22px */
	}
	}
	@media print, screen and (min-width:1305px) {
	#corp .flex4 a.line span em {
		font-size: 1.750rem; /* 28px */
	}
}
/* 矢印 */
#corp .flex4 a.line::before,
#corp .flex4 a.line::after {
	display: block;
	content: "";
	position: absolute;
	transition-duration: 0.3s;
	z-index: 4;
}
#corp .flex4 a.line::before {
	top: 100%;
	left: 6px;
	width: 40%;
	height: 1px;
	background: #8c8c8c;
	}
	@media print, screen and (min-width:768px) {
	#corp .flex4 a.line::before {
		left: 12px;
	}
}
#corp .flex4 a.line::after {
	left: calc(40% - 2px);
	bottom: -4px;
	width: 6px;
	height: 6px;
	border-bottom: 1px solid #8c8c8c;
	-webkit-transform: rotate(-135deg);
	transform: rotate(-135deg);
	}
	@media print, screen and (min-width:768px) {
	#corp .flex4 a.line::after {
		left: calc(40% + 4px);
	}
}
#corp .flex4 a.line:hover::before {
	width: calc(40% + 10px);
}
#corp .flex4 a.line:hover::after {
	left: calc(40% + 12px);
}
	@media print, screen and (min-width:1305px) {
	#corp .flex4 a.line:hover::before {
		width: calc(40% + 16px);
	}
	#corp .flex4 a.line:hover::after {
		left: calc(40% + 20px);
	}
}