@charset "UTF-8";
/* 品番リスト 印刷用（A4縦・1枚 4列×4段。印刷のため文字サイズは固定） */

/*---------------------------------------------*/
/* common -> base */
/*---------------------------------------------*/
@page {
	size: A4 portrait;
	margin: 8mm;
}
*,
*::before,
*::after {
	box-sizing: border-box;
}
body,
h1,
p,
ul {
	margin: 0;
	padding: 0;
}
ul {
	list-style: none;
}
body {
	font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", "Yu Gothic", "メイリオ", Meiryo, sans-serif;
	font-size: 11px;
	line-height: 1.4;
	color: #222;
	background: #e9e6e1;
	-webkit-print-color-adjust: exact;
	print-color-adjust: exact;
}
img {
	max-width: 100%;
	height: auto;
	vertical-align: middle;
}

/*---------------------------------------------*/
/* print-bar（画面表示のみ） */
/*---------------------------------------------*/
.print-bar {
	position: sticky;
	top: 0;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	margin-bottom: 16px;
	padding: 10px;
	background: #1b1817;
	color: #cfc6bb;
	font-size: 12px;
}
.print-bar button {
	min-height: 36px;
	padding: 0 20px;
	border: 0;
	border-radius: 6px;
	background: #b3232b;
	color: #fff;
	font: inherit;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
}

/*---------------------------------------------*/
/* sheet（A4 1枚） */
/*---------------------------------------------*/
.sheet {
	width: 194mm;
	margin: 0 auto 16px;
	padding: 6mm;
	background: #fff;
	box-shadow: 0 2px 10px rgba(0, 0, 0, .12);
	break-after: page;
}
.sheet:last-child {
	break-after: auto;
}
.sheet__head {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 4mm;
	padding-bottom: 2mm;
	border-bottom: 2px solid #1b1817;
}
.sheet__head h1 {
	flex: 1;
	font-size: 14px;
}
.sheet__head span {
	color: #777;
}
.sheet__list {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 3mm;
}
.sheet__list li {
	break-inside: avoid;
	border: 1px solid #ededed;
	padding: 2px 1px 1px 1px;
}
.sheet__list img {
	display: block;
	width: 32mm;
	margin: 1mm auto 0;
	aspect-ratio: 190 / 270;
	object-fit: cover;
}
.sheet__info {
	height: 17mm;
	padding: 1mm 1.5mm;
	overflow: hidden;
}
.sheet__code {
	display: flex;
	align-items: center;
	gap: 4px;
	color: #a52a2a;
	font-weight: 700;
}
.sheet__rank {
	padding: 0 4px;
	border-radius: 2px;
	background: #1b1817;
	color: #fff;
}
.sheet__time {
	margin-left: auto;
	color: #222;
}
.sheet__title {
	display: -webkit-box;
	overflow: hidden;
	font-size: 10px;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}
.sheet__date {
	color: #2e7d32;
	font-size: 10px;
}

/*---------------------------------------------*/
/* print（印刷時） */
/*---------------------------------------------*/
@media print {
	body {
		background: #fff;
	}
	.print-bar {
		display: none;
	}
	.sheet {
		width: auto;
		margin: 0;
		padding: 0;
		box-shadow: none;
	}
}
