/* =========================================================
 * PR Newswire / フィード表示スタイル
 *
 * 注意（詳細度）：media.css に `.page-media img { height:auto }` (0,0,1,1) があり、
 * 単一クラスのロゴ指定では height が上書きされてしまう。
 * そのためロゴ系セレクタは親クラスを付けて (0,0,2,0) 以上にしている。
 * ======================================================= */

/* セクション（メディアポータル内：幅をポータルに合わせて中央寄せ） */
.qp-feed-section {
	max-width: 1200px;
	margin: 3rem auto;
	padding: 0 16px;
}
.qp-feed-section__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1.25rem;
	padding-bottom: .75rem;
	border-bottom: 1px solid #ececec;
}
/* ロゴは控えめに。詳細度を上げて .page-media img に勝たせる */
.qp-feed-section .qp-feed-section__logo {
	height: 24px;
	width: auto;
	max-width: 150px;
	display: block;
}
.qp-feed-section__more {
	font-size: .85rem;
	color: #6b7280;
	text-decoration: none;
	white-space: nowrap;
}
.qp-feed-section__more:hover { color: #111; }

/* グリッド（ゆったり目で“すっきり”見せる） */
.qp-feed-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
	gap: 1.5rem;
}

/* カード */
.qp-feed-card {
	background: #fff;
	border: 1px solid #eee;
	border-radius: 12px;
	overflow: hidden;
	transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.qp-feed-card:hover {
	box-shadow: 0 8px 24px rgba(0, 0, 0, .07);
	border-color: #e2e2e2;
	transform: translateY(-2px);
}
.qp-feed-card__link { display: block; height: 100%; color: inherit; text-decoration: none; }
.qp-feed-card__thumb img {
	width: 100%;
	height: 160px;
	object-fit: cover;
	display: block;
	background: #f6f7f8;
}
.qp-feed-card__body { padding: 1rem 1.1rem 1.15rem; }
.qp-feed-card__title {
	font-size: .98rem;
	line-height: 1.55;
	font-weight: 600;
	color: #1f2937;
	margin: 0 0 .7rem;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
/* メタ行：日付のみ（ソースはセクション見出しのロゴで示すためカードからは省略） */
.qp-feed-card__meta {
	display: flex;
	align-items: center;
	gap: .5rem;
}
.qp-feed-card__date { font-size: .78rem; color: #9aa0a6; }

/* 専用固定ページ（すっきりした中央寄せレイアウト） */
.qp-feed-archive { max-width: 1140px; margin: 0 auto; padding: 2.5rem 16px 3.5rem; }
.qp-feed-archive__head {
	text-align: center;
	margin-bottom: 2.5rem;
	padding-bottom: 1.5rem;
	border-bottom: 1px solid #ececec;
}
.qp-feed-archive .qp-feed-archive__logo {
	height: 30px;
	width: auto;
	max-width: 220px;
	display: inline-block;
}
.qp-feed-archive__lead { color: #6b7280; font-size: .9rem; margin-top: .9rem; }
.qp-feed-empty { text-align: center; color: #888; padding: 3rem 0; }

/* ページネーション */
.qp-feed-pagination {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: .5rem;
	margin-top: 3rem;
}
.qp-feed-pagination .page-numbers {
	padding: .5rem .85rem;
	border: 1px solid #e3e3e3;
	border-radius: 8px;
	text-decoration: none;
	font-size: .9rem;
	color: #374151;
}
.qp-feed-pagination .page-numbers.current {
	background: #111;
	color: #fff;
	border-color: #111;
}

@media (max-width: 600px) {
	.qp-feed-section { margin: 2rem auto; }
	.qp-feed-section .qp-feed-section__logo { height: 20px; }
	.qp-feed-archive .qp-feed-archive__logo { height: 26px; }
	.qp-feed-grid { gap: 1rem; }
	.qp-feed-card__thumb img { height: 140px; }
}

/* =========================================================
 * 出典表示（個別ページ：取り込み記事の転載元リンク）
 * 詳細度メモ: .page-media img (0,0,1,1) に勝つため
 * ロゴは親クラス付き (0,0,2,0) で指定する。
 * ======================================================= */
.qp-feed-attr--top {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 14px;
	margin: 0 0 24px;
	background: #f8f9fa;
	border: 1px solid #ececf0;
	border-radius: 8px;
}
.qp-feed-attr__label {
	font-size: .72rem;
	font-weight: 600;
	letter-spacing: .08em;
	color: #9aa0a6;
	white-space: nowrap;
}
.qp-feed-attr__brand { display: inline-flex; align-items: center; }
.qp-feed-attr .qp-feed-attr__logo {
	height: 18px;
	width: auto;
	max-width: 140px;
	display: block;
}

.qp-feed-attr--bottom {
	margin: 32px 0 0;
	padding: 22px;
	border: 1px solid #ececf0;
	border-radius: 12px;
	background: #fafafa;
	text-align: center;
}
.qp-feed-attr__note {
	margin: 0 0 14px;
	font-size: .85rem;
	line-height: 1.7;
	color: #6b7280;
}
.qp-feed-attr__cta {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 11px 26px;
	border-radius: 999px;
	background: #D55C25;
	color: #fff;
	font-size: .88rem;
	font-weight: 600;
	text-decoration: none;
	transition: opacity .2s ease, transform .2s ease;
}
.qp-feed-attr__cta:hover {
	opacity: .92;
	transform: translateY(-1px);
}
