@charset "utf-8";
/*
Theme Name: 株式会社ジェミニ設計
Theme URI: https://gem-sekkei.com/
Description: 株式会社ジェミニ設計のテーマです
*/


.works_list {
	display: flex;
	flex-wrap: wrap;
	gap: 6rem;
	position: relative;
	margin-bottom: 6rem;
}

/* 個別ボックス */
.works_list .works_box {
	flex: 0 0 calc((100% - 6rem) / 2);
	max-width: calc((100% - 6rem) / 2);
	display: flex;
	flex-direction: column;
	position: relative;
	padding-bottom: 3rem;
}

/* ボックス間の縦線 */
.works_list .works_box:not(:nth-child(2n))::after {
	content: "";
	position: absolute;
	top: 0;
	right: -3rem;
	width: 1px;
	height: 100%;
	background: #d9d9d9;
}

/* 画像ラップ */
.works_box .img-wrap {
	width: 100%;
	aspect-ratio: 16 / 9;
	position: relative;
	overflow: hidden;
	margin-bottom: 2.5rem;
}

.works_box .img-wrap img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* テキスト */
.works_box .text {}

.works_box .text .area_type {
	margin-bottom: 1rem;
}

.works_box .text .area_type small {
	margin-right: 1rem;
}

.works_box .text .area_type span a {
	padding: 0.5rem 0.75rem;
	border-radius: 3px;
	color: #FFF;
	font-size: clamp(12px, 1vw, 12px);
	line-height: 1;
	background: #0052a4;
}

.works_box .text h3 {
	font-size: clamp(15px, 1.4vw, 16px);
	margin: 0 0 0.5rem;
	line-height: 1.6;
	color: #333;
}

.works_box .text h3 a {
	color: #333;
}

.works_box .text h3 a:hover {
	text-decoration: underline;
}

.works_box .text p {
	color: #333;
	margin-bottom: 0;
	line-height: 2;
	font-size: clamp(12px, 1.2vw, 13px);
}

.works_box .text p a {
	pointer-events: none;
}

.works_box .text p a:hover {
	text-decoration: underline;
}

@media (max-width: 480px) {

	.works_list {
		flex-direction: column;
		gap: 4rem;
		margin-bottom: 4rem;
	}

	.works_list .works_box {
		flex: 0 0 100%;
		max-width: 100%;
		padding-bottom: 0;
	}

	.works_list .works_box::after {
		display: none;
	}
	
	.works_box .img-wrap {
		margin-bottom:1.5rem;
	}

}


.media_list .media_item {
	margin-bottom:9rem;
	padding-bottom:9rem;
	border-bottom:1px solid #DDD;
}

.media_list .media_item:last-child {
	margin-bottom:0;
}

.media_list .media_item h3 {
	margin-bottom:4.5rem;
	text-align:center;
	color:#0052a4;
	font-size:clamp(16px, 1.2vw, 18px);
}

.media_list .media_item p {
	margin-top: 3rem;
	margin-bottom: 3rem;
	line-height: 2;
}

.media_list .media_item p strong {
	font-weight:400;
}

.media_list .media_item p:last-child {
	margin-bottom:0;
}
