.csd-container {
	max-width: 960px;
	margin: 0 auto;
	padding: 40px 20px;
}

.csd-container h1 {
	font-size: x-large;
}

#headerimg,
#headerimg .csd-site-branding {
	font-size: x-large;
}

.csd-company-header h1 {
	margin-bottom: 4px;
}

.csd-furigana {
	color: #777;
	font-size: 0.9em;
	margin-top: 0;
}

.csd-tags {
	margin: 8px 0 20px;
}

.csd-overview {
	line-height: 1.8;
	background: #fafafa;
	border-left: 3px solid #1a56db;
	padding: 14px 18px;
	margin: 0 0 20px;
}

.csd-tag {
	display: inline-block;
	font-size: 0.8em;
	padding: 3px 10px;
	border-radius: 999px;
	margin: 0 6px 6px 0;
	text-decoration: none;
	transition: opacity 0.15s ease;
}

.csd-tag:hover {
	opacity: 0.75;
}

.csd-tag-region {
	background: #e8f0fe;
	color: #1a56db;
}

.csd-tag-industry {
	background: #eafaf0;
	color: #0f7a45;
}

.csd-tag-kana {
	background: #fdf1e0;
	color: #a15c00;
}

.csd-tag-employee-range {
	background: #f3e8fd;
	color: #6b21a8;
}

.csd-info-table {
	width: 100%;
	border-collapse: collapse;
	margin: 20px 0;
}

.csd-info-table th,
.csd-info-table td {
	text-align: left;
	padding: 10px 12px;
	border-bottom: 1px solid #e5e5e5;
	vertical-align: top;
}

.csd-info-table th {
	width: 220px;
	color: #555;
	font-weight: 600;
	background: #fafafa;
}

.csd-back-link {
	margin-top: 24px;
}

.csd-filter-form {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
	margin-bottom: 24px;
	padding: 16px;
	background: #f7f7f7;
	border-radius: 8px;
}

.csd-filter-form input[type="text"],
.csd-filter-form select {
	padding: 8px 10px;
	border: 1px solid #ccc;
	border-radius: 6px;
}

.csd-filter-form .csd-keyword-input {
	padding: 14px 16px;
	font-size: 1.1em;
	min-width: 280px;
	flex-grow: 1;
}

.csd-filter-form button {
	padding: 8px 20px;
	border: none;
	border-radius: 6px;
	background: #1a56db;
	color: #fff;
	cursor: pointer;
}

.csd-clear-link {
	font-size: 0.9em;
	color: #777;
}

.csd-result-count {
	color: #666;
	margin-bottom: 16px;
}

.csd-company-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.csd-company-card {
	border-bottom: 1px solid #e5e5e5;
	padding-bottom: 24px;
}

.csd-company-card > a {
	text-decoration: none;
	color: inherit;
}

.csd-card-title {
	font-size: 1.6em;
	font-weight: 700;
	margin: 0 0 14px;
}

.csd-card-table {
	width: 100%;
	border-collapse: collapse;
	border: 1px solid #ddd;
}

.csd-card-table th,
.csd-card-table td {
	border: 1px solid #ddd;
	padding: 10px 16px;
	text-align: left;
	vertical-align: middle;
}

.csd-card-table th {
	width: 110px;
	background: #f2f2f2;
	font-weight: 600;
	white-space: nowrap;
}

.csd-card-table td a {
	color: #1a56db;
	text-decoration: none;
}

.csd-card-table td a:hover {
	text-decoration: underline;
}

.csd-sublabel {
	display: inline-block;
	background: #e9e9e9;
	color: #555;
	font-size: 0.85em;
	padding: 2px 8px;
	border-radius: 3px;
	margin-right: 6px;
}

.csd-subvalue {
	margin-right: 24px;
}

.csd-pagination {
	margin-top: 30px;
	display: flex;
	gap: 8px;
	justify-content: center;
}

.csd-pagination .page-numbers {
	padding: 6px 12px;
	border: 1px solid #ddd;
	border-radius: 4px;
	text-decoration: none;
	color: inherit;
}

.csd-pagination .page-numbers.current {
	background: #1a56db;
	color: #fff;
	border-color: #1a56db;
}
