﻿/* sidebar螳溯｣・2025/11/23 */
/* 繧ｵ繧､繝峨ヰ繝ｼ蝓ｺ譛ｬ繧ｹ繧ｿ繧､繝ｫ */
.sidebar {
	width: 100%;
	max-width: 350px;
	min-width: 350px;
}

/* Blog/article pages: make sidebar follow on desktop */
@media screen and (min-width: 769px) {
	/* Sticky does not work when ancestor has overflow:hidden.
     Theme base sets #wrapper overflow hidden, so override on article pages. */
	body.single-post #wrapper,
	body.blog #wrapper,
	body.archive #wrapper,
	body.category #wrapper,
	body.tag #wrapper,
	body.date #wrapper,
	body.author #wrapper,
	body.search #wrapper {
		overflow: visible;
	}

	.page_post .inner > .sidebar {
		position: sticky;
		top: var(--sidebar-sticky-top, 100px);
		bottom: auto;
		align-self: flex-start;
		padding-bottom: 207px;
	}
}

@media screen and (max-width: 768px) {
	.page_post .inner > .sidebar {
		position: static;
	}
}

#interview .sidebar {
	padding-top: 100px;
}

.sidebar-section {
	margin-bottom: 40px;
	padding: 0 0 20px 20px;
	background-color: transparent;
	border-radius: 8px;
}
@media screen and (max-width: 768px) {
	#interview .sidebar {
		padding-top: 0px;
	}
	.sidebar-section {
		padding: 0;
	}
}

.sidebar-title {
	font-size: 18px;
	font-weight: bold;
	margin-bottom: 20px;
	color: #fff;
	background-color: #01bfbd;
	text-align: center;
	padding: 10px 0;
	border-radius: 6px;
	margin-top: 0;
}

.articles-list {
	display: flex;
	flex-direction: column;
	gap: 15px;
}

/* WPP險倅ｺ九い繧､繝・Β */
.wpp-list {
	display: flex;
	flex-direction: column;
	gap: 15px;
	padding-inline-start: 0px;
	margin-top: 0;
}

.wpp-post-item {
	padding: 12px;
	background-color: white;
	border-radius: 6px;
	border-left: 3px solid #01bfbd;
	transition: all 0.3s ease;
	display: flex;
	gap: 12px;
	align-items: center;
}

.wpp-post-item:hover {
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	border-left-color: #fb7005;
}

.wpp-post-item .wpp-thumbnail {
	flex: 0 0 40%;
	overflow: hidden;
	border-radius: 4px;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: #fff;
	margin: 0 0 0 0;
	width: auto;
	height: auto;
	max-width: 113px;
	max-height: 100%;
	object-fit: contain;
	transition: transform 0.3s ease;
}

.wpp-post-item .wpp-thumbnail a {
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	transition: transform 0.3s ease;
}

.wpp-post-item:hover .wpp-thumbnail a {
	transform: scale(1.05);
}

.wpp-content {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.wpp-meta {
	display: flex;
	gap: 8px;
	align-items: center;
	flex-wrap: wrap;
}

.wpp-badge {
	display: inline-block;
	font-size: 11px;
	font-weight: bold;
	background-color: #fb7005;
	color: white;
	padding: 3px 8px;
	border-radius: 3px;
	text-transform: uppercase;
	flex-shrink: 0;
	margin-right: 6px;
}

.wpp-content a {
	font-size: 14px;
	line-height: 1.4;
	color: #333;
	text-decoration: none;
	margin: 0 0;
}

.wpp-content a:hover {
	color: #01bfbd;
}

.wpp-date {
	font-size: 12px;
	color: #999;
	flex-shrink: 0;
}

.no-articles {
	color: #999;
	font-size: 14px;
	text-align: center;
	padding: 10px 0;
}

/* 繝ｬ繧ｹ繝昴Φ繧ｷ繝門ｯｾ蠢・*/
@media (max-width: 768px) {
	.sidebar {
		max-width: 100%;
		min-width: 100%;
		margin-top: 40px;
	}

	.sidebar-title {
		font-size: 16px;
	}

	.wpp-post-item {
		padding: 10px;
	}

	.wpp-content a {
		font-size: 13px;
	}
}
/* 繧ｫ繝・ざ繝ｪ繝ｼ蛻･繝ｪ繝ｳ繧ｯ繧ｻ繧ｯ繧ｷ繝ｧ繝ｳ */

.sidebar-title-category {
	font-size: 18px;
	font-weight: bold;
	margin: 0;
	padding: 15px 20px;
	color: white;
	background-color: #01bfbd;
	text-align: center;
	border: none;
}

.category-links-list {
	background-color: white;
	padding: 15px 20px;
}

.category-link-item {
	padding: 10px 0;
	border-bottom: 1px solid #e0e0e0;
}

.category-link-item:last-child {
	border-bottom: none;
}

.category-link-item a {
	color: #333;
	text-decoration: none;
	font-size: 14px;
	display: block;
	transition: color 0.3s ease;
}

.category-link-item a:hover {
	color: #01bfbd;
}

.no-categories {
	color: #999;
	font-size: 14px;
	text-align: center;
	padding: 10px 0;
}
/* 逕ｻ蜒上Μ繝ｳ繧ｯ繧ｻ繧ｯ繧ｷ繝ｧ繝ｳ */
.sidebar-section.sidebar-image-link {
	margin-bottom: 0;
}

.sidebar-section.sidebar-image-link a {
	display: block;
	overflow: hidden;
	border-radius: 8px;
}

.sidebar-section.sidebar-image-link img {
	width: 100%;
	height: auto;
	display: block;
	transition: transform 0.3s ease;
}

.sidebar-section.sidebar-image-link a:hover img {
	transform: scale(1.05);
}

/* Original category sidebar for recruit_interview */
.side-area {
	width: 100%;
	max-width: 350px;
	min-width: 350px;
}

.side-area .sideBox {
	background-color: #fff;
	border-radius: 10px;
	box-shadow: 0 0 16px rgba(0, 0, 0, 0.1);
	overflow: hidden;
}

.side-area .side_ttl h2 {
	margin: 0;
	padding: 14px 20px;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.4;
	color: #fff;
	background-color: #01bfbd;
	text-align: center;
}

.side-area .side_ttl .en {
	display: block;
	margin-top: 4px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
}

.side-area ul {
	margin: 0;
	padding: 16px 20px;
	list-style: none;
}

.side-area li + li {
	border-top: 1px solid #e0e0e0;
}

.side-area li a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 12px 0;
	color: #333;
	text-decoration: none;
	transition: color 0.3s ease;
}

.side-area li a:hover,
.side-area li.current a {
	color: #01bfbd;
}

.side-area li .ttl {
	font-size: 14px;
	line-height: 1.5;
}

.side-area li .num {
	flex-shrink: 0;
	min-width: 2.5em;
	padding: 2px 8px;
	font-size: 12px;
	line-height: 1.4;
	color: #fff;
	text-align: center;
	background-color: #fb7005;
	border-radius: 999px;
}

/* recruit_interview 荳隕ｧ/隧ｳ邏ｰ縺ｫ繧ょ酔縺倥し繧､繝峨ヰ繝ｼ繧帝・鄂ｮ縺吶ｋ縺溘ａ縺ｮ繝ｬ繧､繧｢繧ｦ繝・*/
@media screen and (min-width: 769px) {
	.page_interview .inner.has-sidebar {
		display: flex;
		max-width: 1100px;
		margin: 0 auto;
		align-items: flex-start;
	}

	.page_interview .inner.has-sidebar .sc_interviewList,
	.page_interview .inner.has-sidebar .sc_post_single {
		width: 720px;
	}

	.page_interview .inner.has-sidebar .sidebar,
	.page_interview .inner.has-sidebar .side-area {
		margin-left: 30px;
	}
}

@media screen and (max-width: 768px) {
	.side-area {
		max-width: 100%;
		min-width: 100%;
		margin-top: 40px;
	}

	.side-area .side_ttl h2 {
		font-size: 16px;
		padding: 12px 16px;
	}

	.side-area ul {
		padding: 12px 16px;
	}

	.page_interview .inner.has-sidebar {
		display: block;
	}

	.sidebar-section.sidebar-image-link {
		margin-bottom: 2rem;
	}
}
