
/* 補助金詳細アーカイブのみTOP(not category詳細) */
body.public-page.post-type-archive-hojyo_detail {
	/* 仮 : 全体変えるかも */
	background-color: #fff;
}
/* リスト内カード js置き換え後 */
a.wanted-hojyokin-post {
	width: 100%;
	padding: 20px;
	margin-top: 2rem;
	box-shadow: 0 1px 4px 0 rgb(0 0 0 / 15%);
}
a.wanted-hojyokin-post:hover {
	background-color: inherit;
	opacity: .7;
}
a.wanted-hojyokin-post p {
	margin: 0;
}
a.wanted-hojyokin-post .wanted-hojyokin-post__title {
	font-size: 1.25rem;
	font-weight: 900;
	padding: 0;
	line-height: 1.2;
}
a.wanted-hojyokin-post .wanted-hojyokin-post__upper-limit {
	color: #02a3e8;
	padding: 10px;
	border: 1px solid #02a3e8;
	margin: .5rem 0;
	width: fit-content;
	font-weight: bold;
}
a.wanted-hojyokin-post .wanted-hojyokin-post__upper-limit > small {
	margin-right: 10px;
	vertical-align: middle;
}
a.wanted-hojyokin-post .wanted-hojyokin-post__content {
	margin: 1rem 0;
	line-height: 1.5;

	/* 4行分のみ表示のため */
	position: relative;
	height: calc(23px * 4);
	overflow-y: hidden;
}
a.wanted-hojyokin-post .wanted-hojyokin-post__content::after {
	content: "...";
	position: absolute;
	right: 0;
	bottom: 0;
    background-image: linear-gradient(to right, transparent, #fff 50%);
	font-weight: bold;	
	padding-left: 25px;
}

/* 運営からのお知らせ一覧 */
.widget-index-bottom.widget_recent_entries ul {
	display: flex;
	flex-wrap: wrap;
}
.widget-index-bottom.widget_recent_entries li {
	width: 33%;
	margin-right: .3%;
}

@media screen and (max-width: 768px) {
	.content {
		margin-top: 50px;
	}
	a.wanted-hojyokin-post {
		padding: 10px;
	}
}