@charset "UTF-8";


/* ====================================
	共通スタイル
 ==================================== */

/* メインコンテンツコンテナ */
.lineup-container {
	margin-top: 2rem;
}

/* 製品アイテム */
.product-item {
	position: relative;
}

/* リンクエリア設定 */
.product-link {
	display: block;
	text-align: center;
	text-decoration: none;

	img {
		transition: opacity 0.3s ease;
	}

	&:hover {
		text-decoration-thickness: 2px;
		text-underline-position: from-font;

		img {
			opacity: 0.7;
		}
	}
}

.product-new-badge {
	position: absolute;
	top: 0;
	left: 0;
	display: inline-flex;
	align-items: center;
	gap: 0.3em;
	z-index: 1;
}

.product-new-badge__label {
	padding: 0.1em 0.5em;
	font-size: 1.2rem;
	font-weight: 500;
	color: #fff;
	background-color: var(--sharp-red);
	line-height: 1.5;
}

.product-new-badge__caption {
	font-size: 1.2rem;
	font-weight: 400;
}

.product-info {
	text-align: center;
}

.product-category {
	font-size: 1.2rem;
	margin-top: 0.8rem;
}

.product-model {
	font-size: 2rem;
	font-weight: 700;
	line-height: 1.2;
	margin-top: 0.2rem;
}

.product-capacity {
	font-size: 1.2rem;
	font-weight: 400;
}

/* カラーアイコンリスト */
.product-color-list {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	margin-top: 0.6rem;
}

.product-image {
	display: grid;
	place-items: center;
	aspect-ratio: 1 / 1;
	padding: 1rem;
	background: #f5f5f5;
	position: relative;
}

.product-year {
	position: absolute;
	right: 0.5rem;
	bottom: 0.5rem;
	font-size: 1.2rem;
	font-weight: 400;
}

/* 製品リスト */
.product-list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
	gap: 3rem 5%;
	margin-top: 4rem;
}

/* カラーアイコンリスト */
.product-color-list {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	margin-top: 0.8rem;
}

/* 製品コピー */
.product-copy {
	font-size: 1.4rem;
	margin-top: 0.8rem;
	line-height: 1.5;
}

/* アイコンリスト */
.product-icon-list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem 1.6rem;
	margin-top: 1rem;

	img {
		block-size: 25px;
		inline-size: auto;
	}
}

/* 機能タグ */
.product-feature-list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
	margin-top: 1rem;

	&>li {
		padding: 0.3em 0.5em;
		border: 1px solid #727272;
		font-size: 1.1rem;
		line-height: 1;
	}
}

/* 対応畳数リスト */
.room-size-list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(50px, 1fr));
	gap: 0.5rem 2%;
	margin-top: 1rem;

	&>li {
		background: var(--gray-100);
		color: #000;
		border-radius: 5px;
		font-size: 1.2rem;
		text-align: center;
		padding: 0.2rem 0.5rem;
	}
}

/* ====================================
	768px以上専用スタイル
===================================== */
@media screen and (width >=768px) {

	/* メインコンテンツコンテナ */
	.lineup-container {
		margin-top: 4rem;
	}

	.product-new-badge__label {
		font-size: 1.2rem;
	}

	/* カテゴリ */
	.product-category {
		font-size: 1.4rem;
		margin-top: 1rem;
	}

	.product-model {
		font-size: 2.4rem;
	}

	.product-capacity {
		font-size: 1.4rem;
	}

	/* 製品コピー */
	.product-copy {
		font-size: 1.5rem;
		margin-top: 1.2rem;
	}

	/* 製品リスト - 2カラムグリッド */
	.product-list {
		grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
		gap: 4rem 3.33%;
	}

	/* 機能タグ */
	.product-feature-list {
		gap: 0.6rem;
		margin-top: 0.8rem;

		&>li {
			padding: 0.3em 0.5em;
			font-size: 1.2rem;
		}
	}

	/* 対応畳数リスト */
	.room-size-list {
		margin-top: 1.2rem;

		&>li {
			font-size: 1.4rem;
			padding: 0.2rem 0.5rem;
		}
	}
}