/*
カード型記事リスト（サムネイル左・本文右・しおりアイコン右上・日付右下）
検索結果・カテゴリ・タグ・新着記事・おすすめ更新記事の一覧で共通利用する。
マークアップは entry-card.php。
*/

/* リスト全体 */
.c_postCard_list {
	margin-bottom: 24px;
	border-top: 1px solid #e0e0e0;
}

/* 1記事カード */
.c_postCard {
	position: relative;
	border-bottom: 1px solid #e0e0e0;
}

.c_postCard_link {
	display: flex;
	align-items: stretch;
	column-gap: 12px;
	padding: 14px 40px 14px 0;
	color: #333333;
}

/* サムネイル */
.c_postCard_thumb {
	flex-shrink: 0;
	width: 100px;
}

.c_postCard_thumbImg {
	display: block;
	width: 100%;
	height: auto;
	max-width: 100%;
	border-radius: 4px;
}

/* 本文 */
.c_postCard_body {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	row-gap: 6px;
}

.c_postCard_title {
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.5;
}

.c_postCard_link:hover .c_postCard_title {
	text-decoration: underline;
}

.c_postCard_excerpt {
	font-size: 0.8rem;
	line-height: 1.7;
}

.c_postCard_more {
	color: #003399;
}

.c_postCard_date {
	margin-top: auto;
	font-size: 0.7rem;
	color: #888888;
	text-align: right;
}

/* しおりアイコン（あとで読む） */
.c_postCard_bookmark {
	position: absolute;
	top: 14px;
	right: 8px;
	display: inline-flex;
	line-height: 1;
}

/* しおりアイコンのツールチップ（あとで読む） */
.c_postCard_tooltip {
	position: absolute;
	top: calc(-120%);
	right: -25px;
	z-index: 2;
	padding: 4px 8px;
	white-space: nowrap;
	font-size: 0.7rem;
	line-height: 1.3;
	color: #ffffff;
	background-color: #333333;
	border-radius: 3px;
	box-shadow: 0 1px 2px #00000040;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease-in, visibility 0.3s ease-in;
}

.c_postCard_bookmark:hover .c_postCard_tooltip,
.c_postCard_bookmark:focus-within .c_postCard_tooltip {
	opacity: 1;
	visibility: visible;
}

/* しおりアイコン（保存済み＝あとで読む登録済み） */
.c_postCard_bookmark.is-saved svg path {
	fill: #003399;
	stroke: #003399;
}

/* 検索結果・記事なし */
.no-results {
	padding: 24px 0;
}

@media (min-width: 768px) {
	.c_postCard_thumb {
		width: 160px;
	}

	.c_postCard_title {
		font-size: 1.2rem;
	}

	.c_postCard_excerpt {
		font-size: 1rem;
		line-height: 1.7;
	}
}

@media (min-width: 1024px) {
	.c_postCard_link {
		column-gap: 20px;
	}

	.c_postCard_thumb {
		width: 200px;
	}
}
