.main-page {
	width: 100%;
}

/* hero */
.hero-section {
	padding: 32px 0 28px;
}

.hero-inner {
	text-align: center;
	max-width: 900px;
	margin: 0 auto;
}

.hero-badge {
	display: inline-block;
	margin-bottom: 18px;
	padding: 8px 14px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.82);
	border: 1px solid rgba(17, 17, 17, 0.08);
	backdrop-filter: blur(8px);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	color: #111;
}

.hero-title {
	margin: 0;
	font-size: clamp(38px, 6vw, 72px);
	line-height: 1.08;
	letter-spacing: -0.05em;
	font-weight: 800;
	color: #111;
}

.hero-desc {
	margin: 20px auto 0;
	max-width: 620px;
	font-size: 17px;
	line-height: 1.8;
	color: #6b7280;
	word-break: keep-all;
}

/* service */
.service-section {
	padding: 12px 0 0;
}

.service-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
	max-width: 980px;
	margin: 0 auto;
}

.service-card {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	min-height: 280px;
	padding: 30px;
	border-radius: 28px;
	background: rgba(255, 255, 255, 0.8);
	border: 1px solid rgba(17, 17, 17, 0.06);
	box-shadow: 0 14px 32px rgba(15, 23, 42, 0.05);
	backdrop-filter: blur(12px);
	text-decoration: none;
	overflow: hidden;
	transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.service-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 22px 42px rgba(15, 23, 42, 0.08);
	border-color: rgba(17, 17, 17, 0.1);
}

.service-card::before {
	content: "";
	position: absolute;
	top: -50px;
	right: -50px;
	width: 150px;
	height: 150px;
	border-radius: 50%;
	background: rgba(17, 17, 17, 0.035);
}

.service-card::after {
	content: "";
	position: absolute;
	left: 30px;
	right: 30px;
	bottom: 0;
	height: 4px;
	border-radius: 999px;
	background: linear-gradient(90deg, #111 0%, #8c96a5 100%);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.25s ease;
}

.service-card:hover::after {
	transform: scaleX(1);
}

.card-top {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 24px;
}

.service-icon {
	width: 62px;
	height: 62px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 20px;
	background: rgba(255, 255, 255, 0.92);
	box-shadow: inset 0 0 0 1px rgba(17, 17, 17, 0.05);
	font-size: 30px;
}

.service-tag {
	display: inline-block;
	padding: 7px 12px;
	border-radius: 999px;
	background: rgba(17, 17, 17, 0.04);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	color: #4b5563;
}

.service-text {
	position: relative;
	z-index: 1;
}

.service-card h3 {
	margin: 0 0 12px;
	font-size: 28px;
	font-weight: 800;
	letter-spacing: -0.03em;
	color: #111;
}

.service-card p {
	margin: 0;
	font-size: 15px;
	line-height: 1.85;
	color: #6b7280;
	word-break: keep-all;
}

.service-link {
	position: relative;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 26px;
	font-size: 14px;
	font-weight: 700;
	color: #111;
}

.service-link::after {
	content: "→";
	font-size: 15px;
	transition: transform 0.2s ease;
}

.service-card:hover .service-link::after {
	transform: translateX(4px);
}

/* responsive */
@media (max-width: 900px) {
	.service-grid {
		grid-template-columns: 1fr;
		max-width: 680px;
	}
}

@media (max-width: 640px) {
	.main-page {
		width: 100%;
	}

	.hero-section {
		padding: 24px 0 20px;
	}

	.hero-title {
		font-size: 40px;
		line-height: 1.12;
	}

	.hero-desc {
		font-size: 15px;
		line-height: 1.7;
		padding: 0 6px;
	}

	.service-section {
		padding: 8px 0 0;
	}

	.service-grid {
		gap: 16px;
	}

	.service-card {
		min-height: auto;
		padding: 24px 20px;
		border-radius: 22px;
	}

	.card-top {
		margin-bottom: 18px;
	}

	.service-icon {
		width: 56px;
		height: 56px;
		font-size: 26px;
		border-radius: 16px;
	}

	.service-card h3 {
		font-size: 24px;
	}

	.service-card p {
		font-size: 14px;
		line-height: 1.75;
	}

	.service-link {
		margin-top: 20px;
	}
}