
.sp-only { display: none; }
.pc-only { display: block; }

/* 2カラムレイアウトベース */
.news-flex-container {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 4%;
}

.news-main-content {
	flex: 1;
	min-width: 0;
}

.news-sidebar {
	width: 22%;
	min-width: 150px;
}

/* 左側：カードグリッド（3列） */
.news-card-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 30px 2%;
}


.news-card-item a {
	text-decoration: none;
	color: var(--color-bk);
	display: block;
}

.news-card-img {
	overflow: hidden;
	border-radius: 10px;
	margin-bottom: 5px;
}

.news-card-img img {
	width: 100% !important;
	height: 140px !important;
	object-fit: cover;
	object-position: center;
	transition: 0.3s;
}

.news-card-item a:hover .news-card-img img {
	transform: scale(1.05);
}

.news-card-date {
	font-size: var(--fz-13);
	font-weight: var(--fw-bold);
	color: var(--color-bk);
	padding-bottom: .5em;
}
.news-card-cat-wrapper {
	display: flex;
	flex-wrap: wrap;
	gap: 5px; /* ラベル同士の隙間 */
	margin-bottom: 5px;
}
.news-card-cat {
	display: inline-block;
	background: var(--color-bk);
	color: var(--color-wh);
	font-size: var(--fz-16);
	font-weight: var(--fw-bold);
	padding: 0 12px;
	line-height: 1.2;
}

.news-card-title {
	font-size: var(--fz-16);
	font-weight: var(--fw-bold);
	line-height: 1.5;
}

/* 右側：サイドバー（作成いただいたものを統合） */
.sidebar-title {
	font-size: var(--fz-28);
	font-weight: var(--fw-bold);
	margin-bottom: 10px;
	padding-bottom: 5px;
	border-bottom: 1px dotted var(--color-bk);
}

.sidebar-cat-list li {
	font-size: var(--fz-16);
	font-weight: var(--fw-bold);
	padding: 6px 0;
}

.sidebar-cat-list li a {
	text-decoration: none;
	color: var(--color-bk);
	position: relative;
	display: flex;
	align-items: center;
}

.sidebar-cat-list li a::before {
	content: '';
	display: inline-block;
	width: 24px;
	height: 24px;
	background: var(--color-bk);
	margin-right: 10px;
	position: relative;
	flex-shrink: 0;
}

.sidebar-cat-list li a::after {
	content: '';
	display: inline-block;
	width: 8px;
	height: 8px;
	border-top: 1px solid var(--color-wh);
	border-right: 1px solid var(--color-wh);
	transform: rotate(45deg);
	position: absolute;
	left: 6px;
	top: 8px;
}


.entry-title {
	font-size: var(--fz-28);
	font-weight: var(--fw-bold);
	border: none;
}






/* スマホ対応：ニュースSP版のイメージ */
@media (max-width: 768px) {
	
	.sp-only { display: block; }
	.pc-only { display: none; }
	
	/* プルダウン（セレクトボックス）の装飾 */
	.cat-select {
		width: 100%;
		padding: 12px 15px;
		font-size: var(--fz-16);
		border: 1px solid #ccc;
		border-radius: 5px;
		background-color: #fff;
		appearance: none; /* デフォルトの矢印を消す */
		-webkit-appearance: none;
		background-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><path d="M6 9l6 6 6-6"/></svg>'); /* 下向き矢印をにゅっと追加 */
		background-repeat: no-repeat;
		background-position: right 15px center;
		cursor: pointer;
	}
	
	.news-flex-container {
		flex-direction: column;
	}

	.news-sidebar {
		width: 100%;
		order: -1; /* カテゴリーを上に */
		margin-bottom: 30px;
	}

	.news-card-grid {
		grid-template-columns: repeat(2, 1fr); /* 2列 */
		gap: 30px 15px;
	}
}