/* =============================================================
   SHISEILABO Core — サービス見積もりツール
   ============================================================= */

.slabo-estimator {
	--est-accent: var(--slabo-accent, #0bb4aa);
	max-width: 860px;
	margin: 0 auto;
	padding: 28px;
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 8px 40px rgba(0, 0, 0, .07);
}
.slabo-est__h {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 18px;
	margin: 0 0 18px;
}
.slabo-est__h span {
	flex: none;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .08em;
	color: #fff;
	background: var(--est-accent);
	padding: 4px 10px;
	border-radius: 999px;
}
.slabo-est__step + .slabo-est__step { margin-top: 36px; }

/* --- 悩みチップ --- */
.slabo-est__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}
.slabo-est__chip {
	position: relative;
	cursor: pointer;
}
.slabo-est__chip input { position: absolute; opacity: 0; pointer-events: none; }
.slabo-est__chip span {
	display: inline-block;
	padding: 11px 18px;
	border: 1.5px solid #e0e0e0;
	border-radius: 999px;
	font-size: 14px;
	transition: all .2s var(--slabo-ease, ease);
	background: #fff;
}
.slabo-est__chip:hover span { border-color: var(--est-accent); }
.slabo-est__chip input:checked + span {
	background: var(--est-accent);
	border-color: var(--est-accent);
	color: #fff;
	font-weight: 600;
}
.slabo-est__chip input:focus-visible + span { outline: 2px solid var(--est-accent); outline-offset: 2px; }

/* --- 結果サービス --- */
.slabo-est__services {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 16px;
}
.slabo-est-service {
	border: 1px solid #ececec;
	border-radius: 12px;
	padding: 16px 18px;
	animation: slaboEstIn .35s var(--slabo-ease, ease) both;
}
@keyframes slaboEstIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.slabo-est-service__name { font-size: 15px; font-weight: 700; margin: 0 0 6px; }
.slabo-est-service__desc { font-size: 12.5px; line-height: 1.6; color: var(--slabo-muted, #6b7280); margin: 0 0 10px; }
.slabo-est-service__price { font-size: 14px; font-weight: 700; color: var(--est-accent); }
.slabo-est-service__price small { font-weight: 400; color: #9aa0a6; }

/* --- 合計 --- */
.slabo-est__total {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 8px;
	margin: 28px 0 6px;
	padding: 20px 24px;
	background: #0f1115;
	color: #fff;
	border-radius: 12px;
}
.slabo-est__total-label { font-size: 14px; opacity: .85; }
.slabo-est__total-amount { font-size: 28px; font-weight: 800; letter-spacing: .01em; }
.slabo-est__total-amount small { font-size: 15px; font-weight: 500; }
.slabo-est__note { font-size: 11.5px; color: #9aa0a6; margin: 10px 0 22px; line-height: 1.6; }

.slabo-est__cta {
	display: block;
	text-align: center;
	padding: 16px;
	background: var(--est-accent);
	color: #fff;
	font-weight: 700;
	border-radius: 999px;
	text-decoration: none;
	transition: filter .2s, transform .2s;
}
.slabo-est__cta:hover { filter: brightness(1.07); transform: translateY(-2px); color: #fff; }

.slabo-est__empty { color: var(--slabo-muted, #6b7280); font-size: 14px; margin-top: 18px; }

@media (max-width: 600px) {
	.slabo-estimator { padding: 20px 16px; }
	.slabo-est__total-amount { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) {
	.slabo-est-service { animation: none; }
}
