@charset "utf-8";

.case-contents {
	max-width: 1840px;
	margin: 0 auto;
	padding: 100px 4%;
	overflow-x: hidden;
}
.case-contents img {
	max-width: 100%;
	height: auto;
	vertical-align: top;
	pointer-events: none; /*保存メニューを非表示*/
}
.case-contents__head {
	line-height: 1.8;
}
.case-contents__head-sentence {
	font-size: 18px;
	text-align: center;
}
.case-contents__body {
	padding: 80px 0 0;
}
.case-logo-container {
	padding: 60px;
	border-radius: 8px;
	background: #fff;
}
.case-logo-list {
	display: grid;
	gap: 40px;
	grid-template-columns: repeat(8,1fr);
}
.case-logo-list__item {
	text-align: center;
}
.case-logo-list__item img {
	width: 160px;
	min-width: 130px;
}
.case-logo-list__link {
	position: relative;
	padding: 5px;
	display: inline-block;
	width: 130px;
	background: #fff;
	border: solid 1px currentColor;
	border-radius: 100vh;
	color: #263238;
	font-size: 13px;
	font-weight: 500;
	text-align: center;
	box-shadow: 0 0 5px rgba(0,0,0,0);
	transition: .2s;
}
.case-logo-list__link:hover {
	box-shadow: 0 0 8px rgba(0,0,0,.3);
	background: #263238;
	color: #fff;
	border-color: #263238;
}
@media screen and (max-width: 1599px) {
	.case-logo-list {
		grid-template-columns: repeat(6,1fr);
	}
}
@media screen and (max-width: 1299px) {
	.case-logo-list {
		grid-template-columns: repeat(5,1fr);
	}
}
@media screen and (max-width: 1023px) {
	.case-contents {
		padding: 100px 4% 0;
	}
	.case-logo-container {
		width: 100vw;
    margin: 0 calc(50% - 50vw);
    padding: 40px calc(50vw - 50%) 80px;
		border-radius: 0;
	}
	.case-logo-list {
		gap: 30px;
		grid-template-columns: repeat(4,1fr);
	}
}
@media screen and (max-width: 767px) {
	.case-contents {
		padding: 50px 4% 0;
	}
	.case-contents__body {
		padding: 50px 0 0;
	}
	.case-logo-list {
		grid-template-columns: repeat(3,1fr);
	}
}
@media screen and (max-width: 575px) {
	.case-contents__head-sentence {
		text-align: left;
		font-size: 16px;
	}
	.case-contents__head-line {
		display: none;
	}
	.case-logo-list {
		grid-template-columns: repeat(2,1fr);
	}
}
@media screen and (max-width: 374px) {
	.case-logo-list {
		gap: 20px;
	}
}