/*
Theme Name: yStandard Child (printbag)
Template: ystandard
Version: 1.0.0
Description: yStandard 子テーマ（printbag 用カスタマイズ）
*/

/* 制作事例 アーカイブ アイキャッチ */
img.archive__image {
	object-fit: contain !important;
}

/* お知らせ一覧ページのみ container に padding */
/* .category .container,
.date .container {
	padding-top: clamp(40px, 7.27vw + 12px, 100px);
	padding-bottom: clamp(40px, 7.27vw + 12px, 100px);
} */

.category div#content .container,
.date div#content .container {
	margin-top: clamp(40px, 7.27vw + 12px, 100px);
	margin-bottom: clamp(40px, 7.27vw + 12px, 100px);
}

/* お知らせ詳細ページ */
.post-template-default div#content .container{
	margin-top: clamp(40px, 7.27vw + 12px, 100px);
	margin-bottom: clamp(40px, 7.27vw + 12px, 100px);
}

/* お知らせ一覧 リストデザイン（TOPページのhome-newsと統一） */
.news-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.news-list__item {
	border-bottom: 1px solid #e0e0e0;
}

.news-list__item:first-child {
	border-top: 1px solid #e0e0e0;
}

.news-list__link {
	display: flex;
	align-items: center;
	gap: 20px;
	padding: 24px 0;
	text-decoration: none;
	color: inherit;
}

.news-list__date {
	flex-shrink: 0;
	font-size: 0.875rem;
	color: #888;
	white-space: nowrap;
}

.news-list__cat {
	flex-shrink: 0;
	border-radius: 100px;
	border: 1px solid #000;
	padding: 10px 16px;
	color: #000;
	font-size: 12px;
	font-weight: 400;
	background: none;
	white-space: nowrap;
}

.news-list__title {
	flex-grow: 1;
	font-size: 1rem;
	line-height: 1.6;
}

.news-list__arrow {
	flex-shrink: 0;
	width: 50px;
	height: 50px;
	background-image: url(https://bizhomely1.xbiz.jp/printbag/wp-content/uploads/2026/04/Group-17.png);
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
}

/* お知らせ一覧 レスポンシブ（599px以下） */
@media screen and (max-width: 599px) {
	.news-list__link {
		flex-wrap: wrap;
		gap: 8px 10px;
		padding: 16px 0;
	}

	.news-list__arrow {
		display: none;
	}

	.news-list__cat {
		padding: 4px 12px;
		font-size: 10px;
	}

	.news-list__title {
		order: 3;
		flex-basis: 100%;
		flex-grow: 0;
	}
}

/* 制作事例 カード メタ情報（日付＋カテゴリー） */
.archive__item.is-card .archive__meta {
	display: flex;
	justify-content: space-between;
	gap: 1em;
	flex-wrap: wrap;
}
