/* ===================================
   デフォルト投稿アーカイブページ用スタイル
   Figmaデザインに基づいたシンプルなリストスタイル
   =================================== */

/* メインコンテナ */
.p-newsArchive {
	display: flex;
	flex-direction: column;
	gap: 24px;
	width: 100%;
}

/* アイテム */
.p-newsArchive__item {
	display: flex;
	flex-direction: column;
	gap: 24px;
	width: 100%;
}

/* リンク */
.p-newsArchive__link {
	text-decoration: none;
	color: inherit;
	display: block;
	width: 100%;
	transition: opacity 0.2s ease;
}

.p-newsArchive__link:hover {
	opacity: 0.7;
}

/* コンテナ（日付・カテゴリー・タイトルを横並び） */
.p-newsArchive__container {
	display: flex;
	gap: 32px;
	align-items: center;
	width: 100%;
}

/* 左側（日付とカテゴリー） */
.p-newsArchive__left {
	display: flex;
	gap: 32px;
	align-items: center;
	justify-content: flex-start;
	width: 280.31px;
	flex-shrink: 0;
	padding-right: 8.31px;
	padding-bottom: 0.92px;
	min-height: 25.92px;
}

/* 日付 */
.p-newsArchive__date {
	font-family: 'Noto Sans JP', sans-serif;
	font-weight: normal;
	font-size: 14.4px;
	line-height: 25.92px;
	color: #666666;
	letter-spacing: 0.4px;
	white-space: nowrap;
	width: 120px;
	flex-shrink: 0;
}

/* カテゴリーバッジ（custom.cssの通常時を参考にボーダーのみ適用） */
.p-newsArchive__category {
	font-family: 'Noto Sans JP', sans-serif;
	font-weight: normal;
	font-size: 14.4px;
	line-height: 25.92px;
	letter-spacing: 0.4px;
	white-space: nowrap;
	border-radius: 9999px;
	padding: 4px 12px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: auto;
	flex-shrink: 0;
	border: 1px solid;
	text-decoration: none;
	transition: all 0.3s ease;
	box-sizing: border-box;
	/* border-colorとcolorはインラインスタイルで設定 */
}

/* タイトル */
.p-newsArchive__title {
	flex: 1;
	min-width: 0;
	width: 622.09px;
	display: flex;
	align-items: center;
	gap: 8px;
}

.p-newsArchive__titleText {
	font-family: 'Noto Sans JP', sans-serif;
	font-weight: normal;
	font-size: 14.4px;
	line-height: 21.6px;
	color: #333333;
	letter-spacing: 0.4px;
	margin: 0;
	padding: 0;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	/* flex: 1; */
	min-width: 0;
}

/* Newラベルは縮小しない */
.p-newsArchive__title .new-label {
	flex-shrink: 0;
}

/* 区切り線 */
.p-newsArchive__separator {
	width: 100%;
	height: 1px;
	background-color: #DDDDDD;
	flex-shrink: 0;
}

/* 投稿が見つからない場合 */
.p-newsArchive--notfound {
	padding: 2rem;
	text-align: center;
	color: #666666;
	font-size: 14.4px;
}

/* 最初の区切り線 */
.p-newsArchive::before {
	content: '';
	width: 100%;
	height: 1px;
	background-color: #DDDDDD;
	display: block;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
	.p-newsArchive__container {
		flex-direction: column;
		align-items: flex-start;
		gap: 12px;
	}
	
	.p-newsArchive__left {
		width: 100%;
		padding-right: 0;
		padding-bottom: 0;
		min-height: auto;
		gap: 16px;
	}
	
	.p-newsArchive__date {
		width: auto;
	}
	
	.p-newsArchive__title {
		width: 100%;
	}
	
	.p-newsArchive__titleText {
		white-space: normal;
		overflow: visible;
		text-overflow: clip;
	}
}

