/* ━━━ サイドバーウィジェット共通 ━━━ */
.widget {
	background: var(--c-white);
	border-radius: var(--r-card);
	padding: 1.25rem;
	box-shadow: var(--shadow-card);
	margin-bottom: 1.25rem;
	border: 2px solid var(--c-border);
}
.widget:last-child { margin-bottom: 0; }

/* ━━━ ランキング ━━━ */
.ranking-list { }
.ranking-item {
	display: flex;
	align-items: flex-start;
	gap: .75rem;
	padding: .75rem 0;
	border-bottom: 1px dashed var(--c-border);
	transition: transform .2s ease;
}
.ranking-item:first-child { padding-top: 0; }
.ranking-item:last-child  { border-bottom: none; padding-bottom: 0; }
.ranking-item:hover { transform: translateX(4px); }
.ranking-num {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 28px; height: 28px;
	border-radius: 50%;
	font-size: .78rem;
	font-weight: 900;
	flex-shrink: 0;
	background: var(--c-border);
	color: var(--c-muted);
}
.ranking-item:nth-child(1) .ranking-num { background: var(--c-yellow); color: #7B5E00; }
.ranking-item:nth-child(2) .ranking-num { background: #C0C0C0; color: #444; }
.ranking-item:nth-child(3) .ranking-num { background: #CD7F32; color: #fff; }
.ranking-item__body { flex: 1; min-width: 0; }
.ranking-item__title {
	display: block;
	font-size: .84rem;
	font-weight: 700;
	line-height: 1.5;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.ranking-item__title:hover { color: var(--c-blue); }
.ranking-item__date { font-size: .72rem; color: var(--c-muted); margin-top: .2rem; }

/* ━━━ お知らせリスト ━━━ */
.notice-list .notice-item {
	display: flex;
	gap: .75rem;
	padding: .65rem 0;
	border-bottom: 1px dashed var(--c-border);
	align-items: flex-start;
}
.notice-list .notice-item:first-child { padding-top: 0; }
.notice-list .notice-item:last-child  { border-bottom: none; padding-bottom: 0; }
.notice-item__date { font-size: .72rem; color: var(--c-muted); white-space: nowrap; margin-top: .15rem; }
.notice-item__title {
	font-size: .83rem;
	font-weight: 600;
	line-height: 1.5;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.notice-item__title:hover { color: var(--c-blue); }

/* ━━━ お問い合わせ CTA ━━━ */
.contact-widget {
	background: linear-gradient(135deg, #0055FF 0%, #003ACC 100%);
	border-color: var(--c-blue);
	text-align: center;
	color: #fff;
}
.contact-widget .section-title { color: #fff; justify-content: center; margin-bottom: .75rem; }
.contact-widget .section-title__icon { background: rgba(255,255,255,.25); }
.contact-widget__text { font-size: .85rem; opacity: .9; margin-bottom: 1.1rem; line-height: 1.6; }
.btn-contact {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	padding: .7rem 1.5rem;
	background: #fff;
	color: var(--c-blue);
	border-radius: var(--r-pill);
	font-weight: 800;
	font-size: .9rem;
	transition: var(--trans);
	border: 2.5px solid #fff;
}
.btn-contact:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(0,0,0,.25); }

/* ━━━ カテゴリ別記事 ━━━ */
.category-section { margin-bottom: 1.75rem; }
.category-section__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: .7rem 1rem;
	background: var(--c-blue-lt);
	border-radius: var(--r-sm) var(--r-sm) 0 0;
	border: 2px solid var(--c-blue);
	border-bottom: none;
}
.category-section__name { font-size: .95rem; font-weight: 800; color: var(--c-blue); }
.category-section__more { font-size: .78rem; font-weight: 700; color: var(--c-blue); transition: opacity .2s; }
.category-section__more:hover { opacity: .65; }
.category-section__posts {
	background: var(--c-white);
	border: 2px solid var(--c-blue);
	border-radius: 0 0 var(--r-sm) var(--r-sm);
	overflow: hidden;
}
.category-post-item {
	display: flex;
	gap: .75rem;
	padding: .75rem 1rem;
	border-bottom: 1px dashed var(--c-border);
	transition: background .2s;
}
.category-post-item:last-child { border-bottom: none; }
.category-post-item:hover { background: var(--c-blue-lt); }
.category-post-item__thumb {
	width: 72px; height: 54px;
	flex-shrink: 0;
	border-radius: var(--r-sm);
	overflow: hidden;
	background: var(--c-border);
}
.category-post-item__thumb img { width: 100%; height: 100%; object-fit: cover; }
.category-post-item__body { flex: 1; min-width: 0; }
.category-post-item__title {
	font-size: .88rem;
	font-weight: 700;
	line-height: 1.5;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.category-post-item:hover .category-post-item__title { color: var(--c-blue); }
.category-post-item__date { font-size: .72rem; color: var(--c-muted); margin-top: .2rem; }

/* ━━━ X（Twitter）フォローボタン ━━━ */
.twitter-follow-wrap {
	display: flex;
	justify-content: center;
	padding: .5rem 0;
}

/* ━━━ ページネーション ━━━ */
.pagination { margin-top: 2rem; display: flex; justify-content: center; }
.pagination .nav-links { display: flex; gap: .5rem; flex-wrap: wrap; justify-content: center; }
.pagination .page-numbers {
	display: flex; align-items: center; justify-content: center;
	width: 42px; height: 42px;
	border-radius: 50%;
	font-weight: 700; font-size: .88rem;
	background: var(--c-white);
	border: 2.5px solid var(--c-border);
	color: var(--c-text);
	transition: var(--trans);
}
.pagination .page-numbers:hover,
.pagination .page-numbers.current {
	background: var(--c-blue);
	border-color: var(--c-blue);
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0,85,255,.35);
}
.pagination .page-numbers.dots { border-color: transparent; background: none; }
