.homeplan365-company-index {
	--company-index-ink: #2f2723;
	--company-index-muted: #746d67;
	--company-index-accent: #ffc94f;
	--company-index-accent-deep: #b88012;
	--company-index-paper: #fffdfa;
	--company-index-line: #ece8e1;
	overflow: clip;
	color: var(--company-index-ink);
	background:
		radial-gradient(circle at 8% 5%, rgba(255, 235, 188, 0.22), transparent 22%),
		var(--company-index-paper);
	font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", "Noto Sans JP", sans-serif;
	font-size: 16px;
	line-height: 1.8;
	-webkit-font-smoothing: antialiased;
}

.homeplan365-company-index,
.homeplan365-company-index *,
.homeplan365-company-index *::before,
.homeplan365-company-index *::after {
	box-sizing: border-box;
}

.homeplan365-company-index :where(a) {
	color: inherit;
	text-decoration: none;
}

.homeplan365-company-index :where(img) {
	max-width: 100%;
	display: block;
}

.homeplan365-company-index :where(a):focus-visible {
	outline: 3px solid rgba(181, 128, 18, 0.58);
	outline-offset: 4px;
}

.company-index-container {
	width: min(calc(100% - 64px), 1240px);
	margin-inline: auto;
}

.company-index-breadcrumb {
	min-height: 52px;
	display: flex;
	align-items: center;
	gap: 10px;
	color: #625e57;
	font-size: 14px;
	white-space: nowrap;
 flex-wrap: wrap; line-height: 1.7; }

.company-index-breadcrumb a:hover { color: var(--company-index-accent-deep); }

.company-index-kicker {
	margin: 0 0 10px;
	color: #9c7a3e;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.18em;
}

.company-index-hero {
	overflow: hidden;
	border-top: 1px solid var(--company-index-line);
	border-bottom: 1px solid var(--company-index-line);
	background:
		radial-gradient(circle at 85% 18%, rgba(210, 231, 201, 0.56), transparent 30%),
		linear-gradient(116deg, #fffdfa 0%, #fff8e9 58%, #f4f7ee 100%);
}

.company-index-hero-inner {
	min-height: 420px;
	padding-block: 72px 76px;
	display: grid;
	grid-template-columns: minmax(0, 62%) minmax(280px, 38%);
	align-items: center;
	gap: 48px;
}

.company-index-hero-copy {
	min-width: 0;
	position: relative;
	z-index: 2;
}

.company-index-hero h1 {
	margin: 0 0 28px;
	font-size: clamp(42px, 4vw, 58px);
	font-weight: 800;
	line-height: 1.42;
	letter-spacing: 0.06em;
}

.company-index-hero-copy > p:last-child {
	max-width: 650px;
	margin: 0;
	color: #5f5852;
	font-size: 15px;
	line-height: 2.05;
}

.company-index-hero-scene {
	min-height: 245px;
	position: relative;
}

.company-index-sun {
	width: 86px;
	height: 86px;
	position: absolute;
	top: 8px;
	right: 22%;
	border: 18px solid rgba(255, 201, 79, 0.7);
	border-radius: 50%;
}

.company-index-hill {
	width: 118%;
	height: 170px;
	position: absolute;
	right: -22%;
	bottom: -34px;
	border-radius: 54% 0 0 0;
	background: rgba(226, 238, 219, 0.86);
	transform: rotate(-3deg);
}

.company-index-house {
	width: 126px;
	height: 98px;
	position: absolute;
	right: 28%;
	bottom: 22px;
	border: 2px solid rgba(103, 127, 91, 0.55);
	border-top: 0;
	border-radius: 4px 4px 10px 10px;
	background: rgba(255, 253, 250, 0.78);
}

.company-index-house::before {
	content: "";
	width: 88px;
	height: 88px;
	position: absolute;
	top: -44px;
	left: 17px;
	border-top: 2px solid rgba(103, 127, 91, 0.55);
	border-left: 2px solid rgba(103, 127, 91, 0.55);
	transform: rotate(45deg);
}

.company-index-house i {
	width: 30px;
	height: 50px;
	position: absolute;
	left: 48px;
	bottom: 0;
	border-radius: 12px 12px 0 0;
	background: rgba(255, 201, 79, 0.72);
}

.company-list-section { padding: 104px 0 124px; }

.company-list-header {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 32px;
}

.company-list-header h2 {
	margin: 0;
	font-size: clamp(30px, 3vw, 42px);
	line-height: 1.45;
	letter-spacing: 0.05em;
}

.company-list-order {
	margin: 0 0 5px;
	color: #7f776f;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
}

.company-list-order::before {
	content: "";
	width: 7px;
	height: 7px;
	margin-right: 8px;
	border-radius: 50%;
	display: inline-block;
	background: var(--company-index-accent);
}

.company-area-filter {
	margin-top: 46px;
	padding: 26px 28px;
	border: 1px solid #e7e3dc;
	border-radius: 20px;
	display: flex;
	align-items: center;
	gap: 28px;
	background: rgba(255, 255, 255, 0.78);
}

.company-area-filter > p {
	flex: 0 0 auto;
	margin: 0;
	color: #706961;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.08em;
}

.company-area-chips {
	min-width: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 9px;
}

.company-area-chips a {
	min-height: 42px;
	padding: 7px 18px;
	border: 1px solid #ddd8d0;
	border-radius: 999px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: #fff;
	color: #655e57;
	font-size: 13px;
	font-weight: 700;
	transition: transform 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

.company-area-chips a.is-current {
	border-color: var(--company-index-accent);
	background: var(--company-index-accent);
	color: #3d3328;
}

.company-list-summary {
	margin: 46px 0 20px;
	display: flex;
	justify-content: flex-end;
}

.company-list-summary p {
	margin: 0;
	color: #7b746d;
	font-size: 12px;
}

.company-list-summary strong {
	margin-right: 3px;
	color: var(--company-index-ink);
	font-size: 18px;
}

.company-card-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 34px 28px;
	align-items: stretch;
}

.company-card {
	min-width: 0;
	display: flex;
}

.company-card-link {
	width: 100%;
	height: 100%;
	overflow: hidden;
	border: 1px solid #e6e1d9;
	border-radius: 24px;
	display: flex;
	flex-direction: column;
	background: #fff;
	accent-color: var(--company-index-accent);
	box-shadow: 0 10px 30px rgba(63, 51, 40, 0.07);
	transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.company-card-media {
	width: 100%;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	position: relative;
	display: grid;
	place-items: center;
}

.company-card-media.has-photo .company-card-photo {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.company-card-media.is-fallback {
	background:
		radial-gradient(circle at 80% 18%, rgba(255, 255, 255, 0.92) 0 9%, transparent 9.5%),
		linear-gradient(145deg, #fff9ea, #eaf3e5);
}

.company-card-media.is-fallback::before {
	content: "";
	width: 86px;
	height: 86px;
	position: absolute;
	left: -21px;
	bottom: 22px;
	border: 16px solid rgba(255, 201, 79, 0.56);
	border-radius: 50%;
}

.company-card-orbit {
	width: 130px;
	height: 62px;
	position: absolute;
	top: 18px;
	right: -26px;
	border-top: 2px solid rgba(103, 127, 91, 0.24);
	border-right: 2px solid rgba(103, 127, 91, 0.24);
	border-radius: 0 70px 0 0;
	transform: rotate(-8deg);
}

.company-card-logo-frame {
	width: min(78%, 292px);
	min-height: 122px;
	padding: 24px;
	border: 1px solid rgba(224, 218, 207, 0.9);
	border-radius: 19px;
	display: grid;
	place-items: center;
	position: relative;
	z-index: 1;
	background: rgba(255, 255, 255, 0.92);
	box-shadow: 0 13px 30px rgba(68, 57, 45, 0.09);
	transform: rotate(-1deg);
}

.company-card-logo-frame img {
	width: 100%;
	max-height: 74px;
	object-fit: contain;
}

.company-card-body {
	flex: 1;
	padding: 27px 28px 25px;
	display: flex;
	flex-direction: column;
}

.company-card-area {
	min-height: 22px;
	margin: 0 0 11px;
	display: flex;
	align-items: center;
	gap: 8px;
	color: #7d756d;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
}

.company-card-area span {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--company-index-accent);
	box-shadow: 0 0 0 4px rgba(255, 201, 79, 0.18);
}

.company-card h3 {
	min-height: 3.1em;
	margin: 0;
	font-size: 22px;
	line-height: 1.55;
	letter-spacing: 0.035em;
}

.company-card-intro {
	min-height: 5.7em;
	margin: 15px 0 24px;
	display: -webkit-box;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	color: #68615b;
	font-size: 13px;
	line-height: 1.9;
}

.company-card-more {
	min-height: 46px;
	margin-top: auto;
	padding-top: 12px;
	border-top: 1px solid #eee9e2;
	display: flex;
	align-items: center;
	justify-content: space-between;
	color: #5e574f;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.07em;
}

.company-card-more span {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	background: var(--company-index-accent);
	color: #40362b;
	font-size: 16px;
	line-height: 1;
}

.company-empty-state {
	max-width: 850px;
	margin: 54px auto 0;
	padding: 60px 42px;
	border: 1px solid #e6e1d9;
	border-radius: 28px;
	text-align: center;
	background: linear-gradient(135deg, #fff8e8, #eef5e8);
}

.company-empty-state h2 {
	margin: 0 0 18px;
	font-size: clamp(26px, 3vw, 38px);
	line-height: 1.55;
}

.company-empty-state > p:last-child {
	margin: 0;
	color: var(--company-index-muted);
	font-size: 14px;
}

.company-pagination { margin-top: 58px; }

.company-pagination .page-numbers {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
}

.company-pagination .page-numbers a,
.company-pagination .page-numbers .current,
.company-pagination .page-numbers .dots {
	min-width: 44px;
	min-height: 44px;
	padding: 8px 12px;
	border: 1px solid #ddd8d0;
	border-radius: 999px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: #fff;
	font-size: 13px;
	font-weight: 700;
}

.company-pagination .page-numbers .current {
	border-color: var(--company-index-accent);
	background: var(--company-index-accent);
}

@media (hover: hover) {
	.company-area-chips a:not(.is-current):hover,
	.company-pagination a.page-numbers:hover {
		border-color: #cabf9f;
		background: #fffaf0;
		transform: translateY(-1px);
	}

	.company-card-link:hover {
		border-color: #ddd2bc;
		box-shadow: 0 16px 38px rgba(63, 51, 40, 0.11);
		transform: translateY(-3px);
	}
}

@media (max-width: 980px) {
	.company-index-hero-inner {
		grid-template-columns: minmax(0, 58%) minmax(240px, 42%);
		gap: 28px;
	}

	.company-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
	.company-index-container { width: min(calc(100% - 40px), 1240px); }
	.company-index-breadcrumb { min-height: 46px; }

	.company-index-hero-inner {
		min-height: 390px;
		padding-block: 58px 0;
		grid-template-columns: minmax(0, 1fr);
		gap: 18px;
	}

	.company-index-hero h1 {
		margin-bottom: 20px;
		font-size: clamp(34px, 9vw, 42px);
		line-height: 1.5;
		overflow-wrap: anywhere;
	}

	.company-index-hero-copy > p:last-child {
		font-size: 14px;
		line-height: 1.95;
		overflow-wrap: anywhere;
	}

	.company-index-pc-break { display: none; }

	.company-index-hero-scene {
		width: 76%;
		min-height: 130px;
		margin-left: auto;
		opacity: 0.86;
	}

	.company-index-sun {
		width: 58px;
		height: 58px;
		top: 2px;
		right: 20%;
		border-width: 12px;
	}

	.company-index-hill { height: 96px; bottom: -28px; }

	.company-index-house {
		width: 84px;
		height: 64px;
		right: 27%;
		bottom: 9px;
	}

	.company-index-house::before {
		width: 58px;
		height: 58px;
		top: -29px;
		left: 11px;
	}

	.company-index-house i {
		width: 20px;
		height: 34px;
		left: 31px;
	}

	.company-list-section { padding: 72px 0 88px; }

	.company-list-header {
		align-items: start;
		flex-direction: column;
		gap: 10px;
	}

	.company-list-header h2 { font-size: 31px; }
	.company-list-order { margin: 0; }

	.company-area-filter {
		margin-top: 32px;
		padding: 22px 18px;
		align-items: stretch;
		flex-direction: column;
		gap: 14px;
	}

	.company-area-chips {
		margin-inline: -2px;
		padding: 2px 2px 8px;
		flex-wrap: nowrap;
		overflow-x: auto;
		scroll-snap-type: x proximity;
		overscroll-behavior-inline: contain;
		scrollbar-width: thin;
	}

	.company-area-chips a {
		flex: 0 0 auto;
		min-height: 44px;
		scroll-snap-align: start;
	}

	.company-list-summary { margin: 34px 0 16px; }
	.company-card-grid { grid-template-columns: 1fr; gap: 24px; }
	.company-card h3 { min-height: 0; font-size: 21px; }
	.company-card-body { padding: 25px 23px 23px; }
	.company-card-intro { min-height: 0; }

	.company-empty-state {
		margin-top: 38px;
		padding: 46px 24px;
		border-radius: 23px;
	}
}

@media (max-width: 420px) {
	.company-index-container { width: min(calc(100% - 32px), 1240px); }
	.company-index-hero-inner { min-height: 372px; padding-top: 48px; }
	.company-index-hero h1 { font-size: 32px; letter-spacing: 0.035em; }
	.company-index-hero-scene { width: 82%; }
	.company-area-filter { margin-inline: -2px; }
}

@media (prefers-reduced-motion: reduce) {
	.company-card-link,
	.company-area-chips a { transition: none; }
}
