@charset "UTF-8";
/* CSS Document */
/* Y・PiECE EC 一覧ページ専用（/news/・/voice/） */


/******************************************************

PC設定 1200px以上の場合に適用

*******************************************************/

/* 記事リスト */
.yp-postlist {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	width: 95%;
	max-width: 1400px;
	margin: 0 auto;
	padding: 46px 0;
	}

.yp-postcard {
	display: block;
	background: #FFF;
	border: 1px solid #e7eaf0;
	border-radius: 2px;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0,0,0,0.06);
	cursor: pointer;
	transition: border-color .15s, transform .15s, box-shadow .15s;
	}

.yp-postcard:hover {
	border-color: #1A2A5E;
	transform: translateY(-4px);
	box-shadow: 0 8px 24px rgba(0,0,0,0.14);
	}

.yp-postcard__thumb {
	display: block;
	width: 100%;
	height: 180px;
	object-fit: cover;
	background: #eef0f4;
	}

.yp-postcard__body {
	padding: 16px 18px;
	}

.yp-postcard__date {
	font-family: 'Poppins', sans-serif;
	font-size: 12px;
	color: #9aa3b2;
	margin-bottom: 8px;
	}

.yp-postcard__title {
	font-weight: 600;
	color: #1A2A5E;
	line-height: 1.6;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
	}

/* 記事なし */
.yp-postempty {
	text-align: center;
	padding: 80px 20px;
	color: #9aa3b2;
	font-size: 14px;
	}



/******************************************************

タブレットの設定 960px〜1199pxの場合に適用

*******************************************************/

@media screen and (max-width: 1199px){



}



/******************************************************

タブレットの設定 768px〜959pxの場合に適用

*******************************************************/

@media screen and (max-width: 959px){

.yp-postlist {
	grid-template-columns: repeat(2, 1fr);
	}

}



/******************************************************

SPの設定 767px以下の場合に適用

*******************************************************/

@media screen and (max-width: 767px){

.yp-postlist {
	grid-template-columns: 1fr;
	gap: 18px;
	padding: 32px 20px;
	}

.yp-postcard__thumb {
	height: 200px;
	}

}

/* ---- お客様の声（voices） ---- */
.yp-voicelist {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px 24px;
	}
.yp-voiceitem {
	background: #fff;
	border: 1px solid #e7eaf0;
	border-radius: 8px;
	overflow: hidden;
	}
.yp-voiceitem__img {
	display: block;
	width: 100%;
	aspect-ratio: 3 / 2;
	object-fit: cover;
	background: #f0f2f6;
	}
.yp-voiceitem__body {
	padding: 16px 18px 20px;
	}
.yp-voiceitem__meta {
	font-size: 13px;
	font-weight: 700;
	color: #1A2A5E;
	margin-bottom: 8px;
	padding-bottom: 8px;
	border-bottom: 1px solid #eef0f4;
	}
.yp-voiceitem__comment {
	font-size: 14px;
	color: #333;
	line-height: 1.8;
	}
@media screen and (max-width: 959px) {
	.yp-voicelist { grid-template-columns: repeat(2, 1fr); }
	}
@media screen and (max-width: 767px) {
	.yp-voicelist { grid-template-columns: 1fr; }
	}
