/* BEGIN JPN MARRIAGE SERVICES 20260902 */
.jpn-service-hub,
.jpn-service-page {
	--jpn-navy: #0d3b66;
	--jpn-blue: #155b9f;
	--jpn-sky: #eaf4fc;
	--jpn-line: #d6e2ec;
	--jpn-ink: #172b3a;
	--jpn-muted: #5d7180;
	color: var(--jpn-ink);
	font-family: Arial, sans-serif;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	overflow-wrap: anywhere;
}

.jpn-service-hub *,
.jpn-service-hub *::before,
.jpn-service-hub *::after,
.jpn-service-page *,
.jpn-service-page *::before,
.jpn-service-page *::after {
	box-sizing: border-box;
}

.jpn-service-hub__hero,
.jpn-service-page__intro {
	margin: 0 0 26px;
	padding: 17px 20px;
	border: 1px solid #bcd3e7;
	border-radius: 10px;
	background: #f2f8fd;
}

.jpn-service-hub__hero::after {
	display: none;
}

.jpn-service-hub__eyebrow,
.jpn-service-detail__header small {
	display: block;
	margin-bottom: 4px;
	color: var(--jpn-blue);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.jpn-service-hub__hero h2,
.jpn-service-detail__header h2 {
	margin: 0;
	color: var(--jpn-navy);
	font-size: clamp(25px, 3vw, 37px);
	line-height: 1.2;
}

.jpn-service-hub__hero p,
.jpn-service-page__intro p {
	max-width: 760px;
	margin: 0;
	color: #405b6e;
	font-size: 15px;
	line-height: 1.55;
}

.jpn-service-group {
	margin: 30px 0;
}

.jpn-service-group > header {
	margin-bottom: 17px;
	padding-left: 16px;
	border-left: 4px solid var(--jpn-blue);
}

.jpn-service-group > header h3 {
	margin: 0 0 4px;
	color: var(--jpn-navy);
	font-size: 21px;
}

.jpn-service-group > header p {
	margin: 0;
	color: var(--jpn-muted);
}

.jpn-service-card-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

.jpn-service-card-grid--single {
	grid-template-columns: minmax(0, 680px);
}

.jpn-service-card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	min-height: 125px;
	min-width: 0;
	max-width: 100%;
	padding: 18px;
	border: 1px solid var(--jpn-line);
	border-radius: 10px;
	background: #fff;
	box-shadow: 0 3px 12px rgba(13, 59, 102, .055);
	transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.jpn-service-card:hover,
.jpn-service-card:focus-within {
	border-color: #84b4dc;
	box-shadow: 0 12px 28px rgba(13, 59, 102, .12);
	transform: translateY(-2px);
}

.jpn-service-number {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 37px;
	height: 28px;
	padding: 0 9px;
	border-radius: 999px;
	background: var(--jpn-sky);
	color: var(--jpn-blue);
	font-size: 13px;
	font-weight: 700;
}

.jpn-service-card h3,
.jpn-service-card h4 {
	margin: 11px 0 8px;
	color: var(--jpn-navy);
	font-size: 17px;
	line-height: 1.35;
}

.jpn-service-card p {
	margin: 0 0 17px;
	color: var(--jpn-muted);
	line-height: 1.6;
}

.jpn-service-card a,
.jpn-service-back {
	margin-top: auto;
	color: var(--jpn-blue) !important;
	font-weight: 700;
	text-decoration: none !important;
}

.jpn-service-card a:hover,
.jpn-service-card a:focus,
.jpn-service-back:hover,
.jpn-service-back:focus {
	text-decoration: underline !important;
}

.jpn-service-detail {
	margin: 0 0 26px;
	padding: clamp(19px, 2.5vw, 26px);
	border: 1px solid var(--jpn-line);
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 8px 26px rgba(13, 59, 102, .07);
}

.jpn-service-detail__header {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	align-items: start;
	gap: 15px;
	margin-bottom: 19px;
}

.jpn-service-detail__header .jpn-service-number {
	justify-self: start;
}

.jpn-service-detail__header h2 {
	font-size: clamp(22px, 2.7vw, 31px);
}

.jpn-quick-facts {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 10px;
	margin: 0 0 19px;
}

.jpn-quick-fact {
	padding: 14px 15px;
	border: 1px solid #c9ddeb;
	border-radius: 12px;
	background: #f7fbff;
}

.jpn-quick-fact h3 {
	margin: 0 0 8px;
	color: var(--jpn-navy);
	font-size: 15px;
}

.jpn-quick-fact p,
.jpn-service-accordion__content p {
	margin: 0 0 10px;
	line-height: 1.65;
}

.jpn-quick-fact p:last-child,
.jpn-service-accordion__content p:last-child {
	margin-bottom: 0;
}

.jpn-service-accordion {
	margin-top: 11px;
	border: 1px solid var(--jpn-line);
	border-radius: 11px;
	background: #fff;
}

.jpn-service-accordion summary {
	padding: 16px 48px 16px 18px;
	color: var(--jpn-navy);
	font-weight: 700;
	cursor: pointer;
}

.jpn-service-accordion[open] summary {
	border-bottom: 1px solid var(--jpn-line);
	background: #f8fbfd;
}

.jpn-service-accordion__content {
	padding: 18px;
	color: #334e60;
}

.jpn-service-action {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 10px 14px;
	border-radius: 8px;
	background: var(--jpn-blue);
	color: #fff !important;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none !important;
}

.jpn-service-action:hover,
.jpn-service-action:focus {
	background: var(--jpn-navy);
}

.jpn-service-source {
	margin: 18px 0;
	padding: 12px 15px;
	border-left: 4px solid #88afd0;
	background: #f5f8fa;
	color: var(--jpn-muted);
	font-size: 13px;
}

@media (max-width: 720px) {
	.jpn-service-hub__hero,
	.jpn-service-page__intro,
	.jpn-service-detail {
		width: 100%;
		max-width: 100%;
		padding: 17px;
	}

	.jpn-service-card-grid,
	.jpn-quick-facts {
		grid-template-columns: 1fr;
		width: 100%;
		max-width: 100%;
	}

	.jpn-service-card {
		min-height: 0;
	}

	.jpn-service-detail__header {
		grid-template-columns: 1fr;
	}

	.jpn-service-detail__header .jpn-service-number {
		justify-self: start;
	}
}
/* END JPN MARRIAGE SERVICES 20260902 */
