@charset "utf-8";

/* ページタイトル */
.page_title {
	background: url("../../common/img/title/company.png");
	background-size: cover;
}

/* ------------------
 コンテンツ
------------------ */
.page_company {
	position: relative;
	padding: 0 5%;
}
.page_company--box {
	max-width: 1024px;
	width: 100%;
	padding: 35px;
	margin: auto;
	background: var(--bg-color);
	box-shadow: 0px 0px 20px #00000078;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 35px;
	text-align: center;
	position: relative;
	top: 35px;
	margin-bottom: 55px;
	z-index: 2;
	& > p {
		color: #fff;
	}
}
@media print, screen and (min-width: 768px) {
	.page_company--bk {
		width: 100%;
		height: calc(100% - 150px);
		position: absolute;
		z-index: 1;
		top: 0;
		left: 0;
		background: url("../../common/img/bg_img01.png") center center no-repeat;
		background-size: cover;
	}
}
.page_company--list {
	width: 100%;
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 20px;
	
	li {
		max-width: 283px;
		width: 100%;
		height: 239px;
	}
	
	a {
		width: 100%;
		height: 100%;
		padding: 24px;
		display: flex;
		align-items: flex-end;
		justify-content: center;
		gap: 35px;
		line-height: 1.5;
	}
	
	p {
		width: 100%;
		height: 48px;
		display: flex;
		align-items: center;
		justify-content: center;
		background: #fff;
		position: relative;
		
		&::after {
			content: "";
			display: inline-block;
			height: 10px;
			width: 10px;
			border-top: 2px solid var(--main-color);
			border-right: 2px solid var(--main-color);
			transform: rotate(45deg) translateY(-50%);
			position: absolute;
			right: 25px;
			top: 50%;
		}
	}
}
.page_company--item {
	&:nth-child(1) a {background: url("../img/img01.png") center center no-repeat;background-size: cover;}
	&:nth-child(2) a {background: url("../img/img02.png") center center no-repeat;background-size: cover;}
	&:nth-child(3) a {background: url("../img/img03.png") center center no-repeat;background-size: cover;}
	&:nth-child(4) a {background: url("../img/img04.png") center center no-repeat;background-size: cover;}
	&:nth-child(5) a {background: url("../img/img05.png") center center no-repeat;background-size: cover;}
}

.page_aside {
	margin-top: 100px;
}

@media screen and (max-width: 767px) {
	.page_company--box {
		padding: 5%;
	}
	.page_company--list {
		gap: 16px;
		
		li {
			max-width: 100%;
		}
	}
	.page_aside {
		margin: 140px auto -30px;
	}
}