.main-page-wrapper:has(.jsh-cp-service) { padding-top: 0; }
.main-page-wrapper:has(.jsh-cp-service) > .container { max-width: none; padding-inline: 0; }
.main-page-wrapper:has(.jsh-cp-service) > .container > .content-layout-wrapper { margin-inline: 0; }
.main-page-wrapper:has(.jsh-cp-service) .site-content { padding-inline: 0; }

.jsh-cp-service {
	--ink: #292019;
	--copy: #54473c;
	--muted: #f8f4ed;
	--rule: #e6dacb;
	--gold: #f5a623;
	color: var(--copy);
	font-size: 16px;
	line-height: 1.62;
}

.jsh-cp-service .jsh-cp-wrap { width: min(1370px, calc(100% - 64px)); margin-inline: auto; }
.jsh-cp-service .jsh-cp-head { background: var(--ink); color: #f6ebdd; }
.jsh-cp-service .jsh-cp-head-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	padding-block: 28px 30px;
}

.jsh-cp-service .jsh-cp-breadcrumb {
	display: flex;
	align-items: center;
	gap: 9px;
	margin-bottom: 7px;
	font-size: 13px;
}

.jsh-cp-service a { color: #804711; text-underline-offset: 3px; }
.jsh-cp-service a:hover { text-decoration: underline; }
.jsh-cp-service .jsh-cp-breadcrumb a { color: #ffe0af; }
.jsh-cp-service .jsh-cp-head h1 {
	margin: 0 0 8px;
	color: #fffaf3;
	font-size: clamp(30px, 4.2vw, 50px);
	line-height: 1.08;
	letter-spacing: -.02em;
}

.jsh-cp-service .jsh-cp-head p { margin: 0; max-width: 76ch; }
.jsh-cp-service .jsh-cp-head .jsh-cp-date { margin-top: 7px; color: #e1cbb4; font-size: 13px; }
.jsh-cp-service .jsh-cp-button {
	display: inline-flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 8px 20px;
	border-radius: 24px;
	background: var(--gold);
	color: var(--ink);
	font-size: 14px;
	font-weight: 700;
	text-align: center;
}

.jsh-cp-service .jsh-cp-button:hover { background: #ffbb49; text-decoration: none; }
.jsh-cp-service .jsh-cp-resources { background: #f3eadd; border-bottom: 1px solid var(--rule); }
.jsh-cp-service :is(.jsh-cp-resources, .jsh-cp-topics) ul { list-style: none; padding: 0; margin-block: 0; }
.jsh-cp-service .jsh-cp-resources ul { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.jsh-cp-service :is(.jsh-cp-resources, .jsh-cp-topics) li { margin: 0; }
.jsh-cp-service .jsh-cp-resources a {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	min-height: 54px;
	padding: 7px 10px;
	border-bottom: 3px solid transparent;
	color: var(--ink);
	font-size: 15px;
	font-weight: 650;
	text-align: center;
	line-height: 1.25;
}

.jsh-cp-service .jsh-cp-resources a[aria-current="page"] { border-color: #ad5b0b; background: #fff7ea; }
.jsh-cp-service .jsh-cp-content { padding-block: 22px 58px; }
.jsh-cp-service .jsh-cp-topics { margin-bottom: 18px; }
.jsh-cp-service .jsh-cp-topics ul { display: flex; gap: 6px 10px; flex-wrap: wrap; }
.jsh-cp-service .jsh-cp-topics a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 5px 13px;
	border-radius: 20px;
	background: var(--muted);
	color: var(--ink);
	font-size: 14px;
	font-weight: 600;
}

.jsh-cp-service .jsh-cp-topics a::before { content: "↓"; margin-inline-end: 7px; color: #85480e; }
.jsh-cp-service .jsh-cp-layout { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.jsh-cp-service.jsh-cp-faq .jsh-cp-layout { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; }

.jsh-cp-service .jsh-cp-section {
	min-width: 0;
	padding: clamp(16px, 2vw, 27px);
	border: 1px solid var(--rule);
	border-top: 3px solid var(--gold);
	border-radius: 5px;
	background: white;
	overflow-wrap: anywhere;
	scroll-margin-top: 130px;
}

.jsh-cp-service .jsh-cp-section:target { box-shadow: 0 0 0 2px #ad5b0b; }
.jsh-cp-service .jsh-cp-section h2 { margin: 0 0 15px; color: var(--ink); font-size: clamp(20px, 2vw, 25px); line-height: 1.2; }
.jsh-cp-service .jsh-cp-section :is(p, ul) { margin-bottom: 12px; }
.jsh-cp-service .jsh-cp-section > :last-child { margin-bottom: 0; }

.jsh-cp-service details { border-top: 1px solid var(--rule); }
.jsh-cp-service details summary {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 10px;
	min-height: 52px;
	padding-block: 11px;
	color: var(--ink);
	font-size: 15px;
	font-weight: 650;
	line-height: 1.42;
	cursor: pointer;
	list-style: none;
}

.jsh-cp-service details summary::-webkit-details-marker { display: none; }
.jsh-cp-service details summary::after { content: "+" / ""; color: #8f4c0d; font-size: 21px; line-height: 1; }
.jsh-cp-service details[open] summary::after { content: "−" / ""; }
.jsh-cp-service .jsh-cp-contact {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px 24px;
	margin-top: 24px;
	padding: 16px 20px;
	border-radius: 5px;
	background: var(--muted);
}

.jsh-cp-service .jsh-cp-contact p { margin: 0; }
.jsh-cp-service :is(a, summary):focus-visible { outline: 2px solid #aa5a14; outline-offset: 2px; }
.jsh-cp-service .jsh-cp-head a:focus-visible { outline-color: #ffe0af; }

@media (min-width: 1025px) {
	.jsh-cp-service .jsh-cp-content { width: min(1370px, calc(100% - 120px)); }
}

@media (max-width: 960px) {
	.jsh-cp-service.jsh-cp-faq .jsh-cp-layout { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
	.jsh-cp-service .jsh-cp-wrap { width: calc(100% - 32px); }
	.jsh-cp-service .jsh-cp-head-inner,
	.jsh-cp-service .jsh-cp-contact { flex-wrap: wrap; gap: 13px; }
	.jsh-cp-service .jsh-cp-head-inner { padding-block: 18px 20px; }
	.jsh-cp-service .jsh-cp-resources ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.jsh-cp-service .jsh-cp-resources a { min-height: 44px; font-size: 13px; padding-inline: 4px; }
	.jsh-cp-service .jsh-cp-layout { grid-template-columns: minmax(0, 1fr); gap: 14px; }
	.jsh-cp-service .jsh-cp-content { padding-block: 14px 34px; }
	.jsh-cp-service .jsh-cp-topics { margin-bottom: 12px; }
	.jsh-cp-service .jsh-cp-topics ul { gap: 5px; }
	.jsh-cp-service .jsh-cp-topics a { font-size: 13px; padding-inline: 9px; }
	.jsh-cp-service .jsh-cp-section { scroll-margin-top: 92px; }
}
