/* ========================================
   WORKS ARCHIVE
======================================== */

.works-page {
	padding: 48px 0 80px;
}

.works-page__inner {
	width: calc(100% - 60px);
	max-width: 1280px;
	margin: 0 auto;
}

.works-page__header {
	margin: 0 0 28px;
}

.works-page__title {
	margin: 0 0 12px;
	font-size: 26px;
	font-weight: 500;
	line-height: 1;
	letter-spacing: 0.02em;
}

.works-page__subtitle {
	margin: 0;
	font-size: 12px;
	font-weight: 400;
	line-height: 1.5;
	letter-spacing: 0;
}


/* ========================================
   WORKS GRID
======================================== */

.works-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	column-gap: 40px;
	row-gap: 36px;
}


/* ========================================
   WORKS CARD
======================================== */

.works-card {
	min-width: 0;
}

.works-card__image-link {
	display: block;
	text-decoration: none;
}



/* ========================================
   WORKS IMAGE
======================================== */

.works-card__image-link {
	display: block;

	width: 100%;

	margin: 0;
	padding: 0;

	line-height: 0;

	text-decoration: none;
}


.works-card__image {
	position: relative;

	width: 100%;
	aspect-ratio: 16 / 9;

	margin: 0;
	padding: 0;

	overflow: hidden;

	line-height: 0;

	background: #eeeeee;
}


/*
 * WordPressがpictureを挟んだ場合にも対応
 */
.works-card__image picture {
	position: absolute;

	inset: 0;

	display: block;

	width: 100%;
	height: 100%;

	margin: 0;
	padding: 0;
}


/*
 * 一覧画像
 * 元画像の縦横比に関係なく16:9いっぱいに表示
 */
.works-card__image img {
	position: absolute !important;

	inset: 0 !important;

	display: block !important;

	width: 100% !important;
	height: 100% !important;

	max-width: none !important;
	max-height: none !important;

	margin: 0 !important;
	padding: 0 !important;

	object-fit: cover !important;

	border: 0;
}


/* 画像なし */
.works-card__image-placeholder {
	position: absolute;

	inset: 0;

	display: flex;
	align-items: center;
	justify-content: center;

	font-family: var(--font-en);
	font-size: 11px;
	line-height: 1;

	color: #999999;

	background: #eeeeee;
}

.works-card__info {
	margin-top: 12px;
}

.works-card__company {
	font-size: 14px;
	font-weight: 600;
	line-height: 1.5;
}

.works-card__category {
	margin-top: 3px;
	font-size: 12px;
	font-weight: 400;
	line-height: 1.5;
}


/* ========================================
   TABLET
======================================== */

@media (max-width: 900px) {

	.works-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

}


/* ========================================
   MOBILE
======================================== */

@media (max-width: 600px) {

	.works-page {
		padding: 36px 0 60px;
	}

	.works-page__inner {
		width: calc(100% - 40px);
	}

	.works-page__header {
		margin-bottom: 22px;
	}

	.works-page__title {
		margin-bottom: 10px;
		font-size: 24px;
	}

	.works-grid {
		grid-template-columns: 1fr;
		row-gap: 32px;
	}

}