/**
 * UI components & page-pattern sections (SP first).
 * Cleaning pattern: .p-pattern-cleaning
 * Handyman pattern: .p-pattern-handyman
 * Price pattern: .p-pattern-price
 * Flow pattern: .p-pattern-flow
 * Area pattern: .p-pattern-area
 * FAQ pattern: .p-pattern-faq / Q&A セット: .c-faq-item
 * Contact pattern: .p-pattern-contact（CF7 マークアップ: .c-cf7-*）
 * Company pattern: .p-pattern-company
 */

/* ----- Cleaning page pattern (Figma service-cleaning-sp / pc) ----- */

.p-pattern-cleaning {
	max-width: none;
	margin-inline: 0;
}

.p-page--cleaning .p-pattern-cleaning .p-section-cleaning__heading {
	position: relative;
	margin: 0 0 1.5rem;
	padding-top: 1rem;
	padding-left: 0;
	font-family: var(--font-heading);
	font-size: clamp(1.25rem, 4.5vw, 1.5rem);
	font-weight: 800;
	line-height: 1.2;
	text-align: center;
	color: var(--color-text-sub);
	border-left: none;
}

.p-page--cleaning .p-pattern-cleaning .p-section-cleaning__heading::before {
	content: "";
	position: absolute;
	top: 0;
	left: 50%;
	width: 2.125rem;
	height: 1.75rem;
	background: url("/wp-content/themes/jennings/assets/images/common/heading-paw.svg") center top / contain no-repeat;
	transform: translateX(-50%);
	pointer-events: none;
}

.p-page--cleaning .p-pattern-cleaning .p-section-cleaning__heading--flow::after,
.p-page--cleaning .p-pattern-cleaning .p-section-cleaning__heading--faq::after {
	display: block;
	margin-top: 0.2rem;
	font-size: 0.875rem;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0.04em;
	color: var(--color-leaf);
}

.p-page--cleaning .p-pattern-cleaning .p-section-cleaning__heading--flow::after {
	content: "FLOW";
}

.p-page--cleaning .p-pattern-cleaning .p-section-cleaning__heading--faq::after {
	content: "FAQ";
}

.p-section-cleaning-hero {
	padding-block: 1.5rem;
}

.p-section-cleaning-hero .wp-block-post-title {
	margin: 0;
}

.p-section-cleaning-shell {
	display: flex;
	flex-direction: column;
	gap: 2rem;
	padding: 2.5rem 1.5rem 5rem;
	background-color: var(--color-bg);
}

.p-section-cleaning-shell > .wp-block-group {
	width: 100%;
	max-width: 22.125rem;
	margin-inline: auto;
}

.p-section-cleaning-fv__figure {
	margin: 0;
	border-radius: 0;
	overflow: hidden;
}

.p-section-cleaning-fv__figure img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.p-section-cleaning-lead__title {
	margin: 0 0 1rem;
	font-family: var(--font-heading);
	font-size: clamp(1.25rem, 4.5vw, 1.5rem);
	font-weight: 800;
	line-height: 1.35;
	color: var(--color-text-sub);
}

.p-section-cleaning-lead p,
.p-section-cleaning-pricing p {
	margin: 0 0 0.75rem;
	font-family: var(--font-heading);
	font-size: 1.125rem;
	font-weight: 500;
	line-height: 1.5;
	color: var(--color-text-sub);
}

.p-section-cleaning-target__figure,
.p-section-cleaning-menu__figure {
	margin: 0 0 1.5rem;
	border-radius: var(--radius-sm);
	overflow: hidden;
}

.p-section-cleaning-target__figure img,
.p-section-cleaning-menu__figure img {
	display: block;
	width: 100%;
	height: auto;
}

.p-section-cleaning-target__list,
.p-section-cleaning-option__list {
	margin: 0;
	padding-left: 1.35rem;
	font-family: var(--font-heading);
	font-size: 1.125rem;
	font-weight: 500;
	line-height: 1.5;
	color: var(--color-text-sub);
}

.c-cleaning-menu-category__list {
	margin: 0;
	padding-left: 1.6875rem;
	font-family: var(--font-heading);
	font-size: 1.125rem;
	font-weight: 500;
	line-height: 1.5;
	color: #534741;
}

.p-section-cleaning-target__list li,
.c-cleaning-menu-category__list li,
.p-section-cleaning-option__list li {
	margin-bottom: 0.35rem;
}

.p-pattern-cleaning .c-cleaning-menu-categories {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 2rem;
	width: 100%;
}

.p-pattern-cleaning .c-cleaning-menu-category {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	min-width: 0;
	margin: 0;
}

.c-cleaning-menu-category__label,
.p-section-cleaning-option__label {
	margin: 0;
	padding: 0.25rem 0.5rem;
	font-family: var(--font-body);
	font-size: 1.125rem;
	font-weight: 700;
	line-height: 1.5;
	text-align: center;
	color: #000000;
	background: #ffffff;
	border-radius: 4px;
}

.p-section-cleaning-option {
	margin-top: 0.5rem;
	padding: 1rem;
	border: 1px dashed var(--color-text-sub);
	border-radius: var(--radius-sm);
	background: #f4f4f4;
}

.p-section-cleaning-pricing__note {
	margin-top: 1rem;
	font-size: 1rem;
}

.p-section-cleaning-flow {
	padding: 2.5rem 1.5rem 5rem;
	background: var(--color-bg);
}

.p-section-cleaning-flow__inner,
.p-section-cleaning-reason__inner,
.p-section-cleaning-faq__inner {
	width: 100%;
	max-width: 22.125rem;
	margin-inline: auto;
}

.p-section-cleaning-flow__list {
	display: flex;
	flex-direction: column;
	gap: 2.5rem;
	margin: 0;
}

.c-cleaning-flow-card {
	position: relative;
	padding: 1.5rem 1.5rem 1.25rem;
	background: var(--color-white);
	border-radius: var(--radius-sm);
	box-shadow: var(--shadow-soft);
}

.c-cleaning-flow-card__num {
	position: absolute;
	top: -1.25rem;
	left: 1.5rem;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	margin: 0;
	font-family: var(--font-display);
	font-size: 1.5rem;
	font-weight: 700;
	line-height: 1;
	color: var(--color-text-sub);
	background: var(--color-accent);
	border-radius: var(--radius-pill);
}

.c-cleaning-flow-card__title {
	margin: 0 0 0.5rem;
	font-family: var(--font-heading);
	font-size: 1rem;
	font-weight: 800;
	line-height: 1.35;
	color: var(--color-text-sub);
}

.c-cleaning-flow-card__text {
	margin: 0;
	font-size: 0.9375rem;
	line-height: 1.5;
	color: var(--color-text-sub);
}

.p-section-cleaning-reason {
	padding: 3.75rem 1.5rem;
	background: var(--color-bg-pink);
}

.p-section-cleaning-reason__inner {
	display: flex;
	flex-direction: column;
	gap: 2rem;
}

.c-cleaning-reason-cards {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	width: 100%;
}

.c-cleaning-reason-card {
	padding: 1rem;
	background: var(--color-white);
	border-radius: var(--radius-xl);
	box-shadow: var(--shadow-soft);
	text-align: center;
}

.c-cleaning-reason-card__num {
	margin: 0 0 0.5rem;
	font-family: var(--font-display);
	font-size: 2rem;
	font-weight: 600;
	line-height: 1;
	color: var(--color-primary-dark);
}

.c-cleaning-reason-card__title {
	margin: 0 0 0.75rem;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.4;
	color: var(--color-ink);
}

.c-cleaning-reason-card__figure {
	margin: 0 0 0.75rem;
	border-radius: 0;
	overflow: hidden;
}

.c-cleaning-reason-card__figure img {
	display: block;
	width: 100%;
	height: auto;
}

.c-cleaning-reason-card__text {
	margin: 0;
	font-size: 1rem;
	line-height: 1.5;
	color: var(--color-ink);
	text-align: left;
}

/* FAQ section shell: .p-section-page-faq (see lower-page FAQ block) */

.c-cleaning-faq-snippet {
	margin-bottom: 1.5rem;
}

.c-cleaning-faq-snippet__q,
.c-cleaning-faq-snippet__a {
	margin: 0 0 0.35rem;
	font-size: 1.0625rem;
	line-height: 1.45;
	color: var(--color-text-sub);
}

.c-cleaning-faq-snippet__q strong,
.c-cleaning-faq-snippet__a strong {
	font-family: var(--font-display);
	font-weight: 700;
}

.c-cleaning-faq-snippet__a {
	margin-bottom: 0;
	font-size: 0.9375rem;
	font-weight: 500;
}

.c-cleaning-faq-snippet__link .wp-block-button__link {
	min-width: 15rem;
	padding: 0.75rem 1.125rem;
	font-size: 1.125rem;
	font-weight: 700;
	color: var(--color-text-sub);
	background: var(--color-white);
	border: 2px solid var(--color-text-sub);
	border-radius: var(--radius-pill);
}

.p-section-cleaning-cta {
	border-radius: 12px;
}

.p-section-cleaning-cta__title {
	margin-top: 0;
	margin-bottom: 0.5rem;
	color: var(--wp--preset--color--surface, #fff);
}

.p-section-cleaning-cta__lead {
	margin-top: 0;
	margin-bottom: 1.25rem;
	font-size: 0.9375rem;
	line-height: 1.65;
	opacity: 0.95;
}

.p-section-cleaning-cta .wp-block-button__link {
	font-weight: 700;
}

@media (min-width: 1024px) {
	.p-section-cleaning-shell > .wp-block-group,
	.p-section-cleaning-flow__inner,
	.p-section-cleaning-reason__inner,
	.p-section-cleaning-faq__inner {
		max-width: 50rem;
	}
}

/* ----- Handyman page pattern (Figma service-handyman-sp / pc) ----- */

.p-pattern-handyman {
	max-width: none;
	margin-inline: 0;
}

.p-pattern-handyman .p-section-handyman__heading {
	position: relative;
	margin: 0 0 1.5rem;
	padding-top: 1rem;
	padding-left: 0;
	font-family: var(--font-heading);
	font-size: clamp(1.25rem, 4.5vw, 1.5rem);
	font-weight: 800;
	line-height: 1.2;
	text-align: center;
	color: var(--color-text-sub);
	border-left: none;
}

.p-pattern-handyman .p-section-handyman__heading::before {
	content: "";
	position: absolute;
	top: 0;
	left: 50%;
	width: 2.125rem;
	height: 1.75rem;
	background: url("/wp-content/themes/jennings/assets/images/common/heading-paw.svg") center top / contain no-repeat;
	transform: translateX(-50%);
	pointer-events: none;
}

.p-pattern-handyman .p-section-handyman__heading--flow::after,
.p-pattern-handyman .p-section-handyman__heading--faq::after {
	display: block;
	margin-top: 0.2rem;
	font-size: 0.875rem;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0.04em;
	color: var(--color-accent-2);
}

.p-pattern-handyman .p-section-handyman__heading--flow::after {
	content: "FLOW";
}

.p-pattern-handyman .p-section-handyman__heading--faq::after {
	content: "FAQ";
}

.p-pattern-handyman .p-section-handyman__sub {
	margin: 0 0 1.5rem;
	font-size: 1rem;
	line-height: 1.65;
	color: var(--color-text-sub);
}

/* Hero（タイトル帯のみ） */

.p-section-handyman-hero {
	padding-block: 1.5rem;
}

.p-section-handyman-hero .wp-block-post-title {
	margin: 0;
}

/* Shell / lead / trouble / menu */

.p-section-handyman-shell {
	display: flex;
	flex-direction: column;
	gap: 2rem;
	padding: 2.5rem 1.5rem 5rem;
	background-color: var(--color-bg);
}

.p-section-handyman-shell > .wp-block-group {
	width: 100%;
	max-width: 22.125rem;
	margin-inline: auto;
}

.p-section-handyman-fv__figure {
	margin: 0;
	border-radius: 0;
	overflow: hidden;
}

.p-section-handyman-fv__figure img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.p-section-handyman-lead__title {
	margin: 0 0 1rem;
	font-family: var(--font-heading);
	font-size: clamp(1.25rem, 4.5vw, 1.5rem);
	font-weight: 800;
	line-height: 1.35;
	color: var(--color-text-sub);
}

.p-section-handyman-lead p {
	margin: 0 0 0.75rem;
	font-family: var(--font-heading);
	font-size: 1.125rem;
	font-weight: 500;
	line-height: 1.5;
	color: var(--color-text-sub);
}

.p-section-handyman-lead p:last-child {
	margin-bottom: 0;
}

.p-section-handyman-trouble__figure,
.p-section-handyman-menu__figure {
	margin: 0 0 1.5rem;
	border-radius: var(--radius-sm);
	overflow: hidden;
}

.p-section-handyman-trouble__figure img,
.p-section-handyman-menu__figure img {
	display: block;
	width: 100%;
	height: auto;
}

.p-section-handyman-trouble__list,
.c-handyman-menu-category__list {
	margin: 0;
	padding-left: 1.35rem;
	font-family: var(--font-heading);
	font-size: 1.125rem;
	font-weight: 500;
	line-height: 1.5;
	color: var(--color-text-sub);
}

.p-section-handyman-trouble__list li,
.c-handyman-menu-category__list li {
	margin-bottom: 0.35rem;
}

.p-pattern-handyman .c-handyman-menu-categories {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 2rem;
	width: 100%;
}

.p-pattern-handyman .c-handyman-menu-category {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	min-width: 0;
	margin: 0;
}

.c-handyman-menu-category__label {
	margin: 0;
	padding: 0.25rem 0.5rem;
	font-family: var(--font-body);
	font-size: 1.125rem;
	font-weight: 700;
	line-height: 1.5;
	text-align: center;
	color: #000000;
	background: #ffffff;
	border-radius: 4px;
}

.c-handyman-menu-category__list {
	margin: 0;
	padding-left: 1.6875rem;
	font-family: var(--font-heading);
	font-size: 1.125rem;
	font-weight: 500;
	line-height: 1.5;
	color: #534741;
}

/* 対応不可（メニュー内・破線枠） */

.p-section-handyman-menu .p-section-handyman-restrictions {
	margin-top: 0.5rem;
	padding: 1rem;
	border: 1px dashed var(--color-text-sub);
	border-radius: var(--radius-sm);
	background: #f4f4f4;
}

.p-section-handyman-restrictions__label {
	margin: 0 0 0.75rem;
	padding: 0.25rem 0.5rem;
	font-size: 1.125rem;
	font-weight: 700;
	line-height: 1.5;
	text-align: center;
	color: var(--color-ink);
	background: var(--color-white);
	border-radius: var(--radius-xs);
}

.p-section-handyman-restrictions__list {
	margin: 0;
	padding-left: 1.35rem;
	font-size: 1.125rem;
	line-height: 1.5;
	color: var(--color-text-sub);
}

/* Pricing tables */

.p-section-handyman-pricing p {
	margin: 0 0 0.75rem;
	font-family: var(--font-heading);
	font-size: 1.125rem;
	font-weight: 500;
	line-height: 1.5;
	color: var(--color-text-sub);
}

.p-section-handyman-pricing__note {
	margin-top: 1rem;
	font-size: 1rem;
}

/* Handyman FAQ — shared .c-faq-excerpt (Figma 214:4487) */

/* Handyman FAQ: .p-section-page-faq.p-section-handyman-faq */

/* CTA（共通CTA利用のため非表示） */

.p-section-handyman-cta {
	border-radius: 12px;
}

.p-section-handyman-cta__title {
	margin-top: 0;
	margin-bottom: 0.5rem;
	color: var(--wp--preset--color--surface, #fff);
}

.p-section-handyman-cta__lead {
	margin-top: 0;
	margin-bottom: 1.25rem;
	font-size: 0.9375rem;
	line-height: 1.65;
	opacity: 0.95;
}

.p-section-handyman-cta .wp-block-button__link {
	font-weight: 700;
}

@media (min-width: 1024px) {
	.p-section-handyman-shell > .wp-block-group {
		max-width: 50rem;
	}

	.p-pattern-handyman .c-handyman-menu-categories {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 2rem;
	}

	.p-section-handyman-fv__figure img {
		aspect-ratio: 800 / 600;
		max-height: 37.5rem;
	}
}

/* ----- Price page pattern (Gutenberg) ----- */

/* ----- Price page pattern (Figma price-sp / pc) ----- */

.p-pattern-price {
	max-width: none;
	margin-inline: 0;
}

.p-page--price .p-pattern-price .p-section-price__heading,
.p-page--area .p-pattern-area .p-section-area__heading {
	position: relative;
	margin: 0 0 1.5rem;
	padding-top: 1rem;
	padding-left: 0;
	font-family: var(--font-heading);
	font-size: clamp(1.25rem, 4.5vw, 1.5rem);
	font-weight: 800;
	line-height: 1.2;
	text-align: center;
	color: var(--color-text-sub);
	border-left: none;
}

.p-page--price .p-pattern-price .p-section-price__heading::before,
.p-page--area .p-pattern-area .p-section-area__heading::before {
	content: "";
	position: absolute;
	top: 0;
	left: 50%;
	width: 2.125rem;
	height: 1.75rem;
	background: url("/wp-content/themes/jennings/assets/images/common/heading-paw.svg") center top / contain no-repeat;
	transform: translateX(-50%);
	pointer-events: none;
}

.p-page--price .p-pattern-price .p-section-price__heading--faq::after,
.p-page--area .p-pattern-area .p-section-area__heading--faq::after {
	display: block;
	margin-top: 0.2rem;
	font-size: 0.875rem;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0.04em;
	color: var(--color-primary);
	content: "FAQ";
}

.p-section-price-hero .wp-block-post-title {
	margin: 0;
}

.p-section-price-shell,
.p-section-area-shell {
	display: flex;
	flex-direction: column;
	gap: 2rem;
	padding: 2.5rem 1.5rem 5rem;
	background-color: var(--color-bg);
}

.p-section-price-shell > .wp-block-group,
.p-section-area-shell > .wp-block-group {
	width: 100%;
	max-width: 22.125rem;
	margin-inline: auto;
}

.p-section-price-fv__figure {
	margin: 0;
	border-radius: 0;
	overflow: hidden;
}

.p-section-price-fv__figure img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 3 / 2;
	object-fit: cover;
}

.p-section-area-fv__figure {
	margin: 0;
	border-radius: 0;
	overflow: visible;
}

.p-section-area-fv__figure img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: auto;
	object-fit: contain;
}

.p-section-price-handyman p,
.p-section-price-minpaku p,
.p-section-price-payment p,
.p-section-area-lead p {
	margin: 0 0 0.75rem;
	font-family: var(--font-heading);
	font-size: 1.125rem;
	font-weight: 500;
	line-height: 1.5;
	color: var(--color-text-sub);
}

.p-section-price-handyman .wp-block-list,
.p-section-price-minpaku .wp-block-list,
.p-section-price-payment__list,
.p-section-area-outside__list {
	margin: 0 0 1rem;
	padding-left: 1.35rem;
	font-family: var(--font-heading);
	font-size: 1.125rem;
	font-weight: 500;
	line-height: 1.5;
	color: var(--color-text-sub);
}

.p-section-price-handyman .wp-block-list li,
.p-section-price-minpaku .wp-block-list li,
.p-section-price-payment__list li,
.p-section-area-outside__list li {
	margin-bottom: 0.35rem;
}

.p-section-price__note,
.p-section-area__note,
.p-section-area-price-link {
	margin-top: 1rem;
	font-size: 1rem;
}

.p-section-area-price-link a {
	font-weight: 700;
	color: var(--color-primary-dark);
}

/* Price/Area FAQ: .p-section-page-faq (see lower-page FAQ block) */

.p-page--price .c-lp-faq-snippet,
.p-page--area .c-lp-faq-snippet {
	margin-bottom: 1.5rem;
}

.p-page--price .c-lp-faq-snippet__q,
.p-page--price .c-lp-faq-snippet__a,
.p-page--area .c-lp-faq-snippet__q,
.p-page--area .c-lp-faq-snippet__a {
	margin: 0 0 0.35rem;
	font-size: 1.0625rem;
	line-height: 1.45;
	color: var(--color-text-sub);
}

.p-page--price .c-lp-faq-snippet__q strong,
.p-page--price .c-lp-faq-snippet__a strong,
.p-page--area .c-lp-faq-snippet__q strong,
.p-page--area .c-lp-faq-snippet__a strong {
	font-family: var(--font-display);
	font-weight: 700;
}

.p-page--price .c-lp-faq-snippet__a,
.p-page--area .c-lp-faq-snippet__a {
	font-size: 0.9375rem;
	font-weight: 500;
}

.p-page--price .c-lp-faq-snippet__link .wp-block-button__link,
.p-page--area .c-lp-faq-snippet__link .wp-block-button__link {
	min-width: 15rem;
	padding: 0.75rem 1.125rem;
	font-size: 1.125rem;
	font-weight: 700;
	color: var(--color-text-sub);
	background: var(--color-white);
	border: 2px solid var(--color-text-sub);
	border-radius: var(--radius-pill);
}

.p-section-price-cta {
	border-radius: 12px;
}

.p-section-price-cta__title {
	margin-top: 0;
	margin-bottom: 0.5rem;
	color: var(--wp--preset--color--surface, #fff);
}

.p-section-price-cta__lead {
	margin-top: 0;
	margin-bottom: 1.25rem;
	font-size: 0.9375rem;
	line-height: 1.65;
	opacity: 0.95;
}

.p-section-price-cta .wp-block-button__link {
	font-weight: 700;
}

@media (min-width: 1024px) {
	.p-section-price-shell > .wp-block-group,
	.p-section-area-shell > .wp-block-group,
	.p-section-price-faq__inner,
	.p-section-area-faq__inner {
		max-width: 50rem;
	}

	.p-pattern-cleaning .c-cleaning-menu-categories {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 2rem;
	}

	.c-cleaning-reason-cards {
		flex-direction: row;
		align-items: stretch;
		gap: 1rem;
	}

	.c-cleaning-reason-card {
		flex: 1 1 0;
		min-width: 0;
	}

	.p-pattern-area .c-area-city-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 1rem;
	}
}

/* ----- Flow page pattern (Gutenberg) ----- */

.p-pattern-flow {
	max-width: min(100%, 1100px);
	margin-inline: auto;
}

.p-pattern-flow .p-section-flow__heading {
	margin-top: 0;
	margin-bottom: 1rem;
	padding-left: 0.65rem;
	font-size: clamp(1.25rem, 4vw, 1.5rem);
	font-weight: 800;
	line-height: 1.3;
	color: var(--color-ink);
	border-left: 4px solid var(--color-primary);
}

.p-pattern-flow .p-section-flow__sub {
	margin-top: 0;
	margin-bottom: 1.5rem;
	font-size: 0.9375rem;
	color: var(--wp--preset--color--text-muted, #5c5c5c);
}

/* Hero */

.p-section-flow-hero {
	border-radius: 0 0 12px 12px;
	overflow: hidden;
}

.p-section-flow-hero .wp-block-post-title {
	margin-top: 0;
	margin-bottom: 0.75rem;
	text-align: center;
	font-weight: 800;
	letter-spacing: 0.02em;
}

.p-section-flow-hero__lead {
	margin-top: 0;
	margin-bottom: 1.25rem;
	font-size: 0.9375rem;
	line-height: 1.65;
	color: var(--wp--preset--color--text-muted, #5c5c5c);
}

.p-section-flow-hero__figure {
	margin-top: 0;
	margin-bottom: 0;
	border-radius: 10px;
	overflow: hidden;
}

.p-section-flow-hero__figure img {
	display: block;
	width: 100%;
	height: auto;
}

/* 縦タイムライン（SP・PC共通レイアウト） */

.p-flow-timeline {
	position: relative;
	margin-top: 0.5rem;
	padding-left: 0.25rem;
}

.p-flow-timeline::before {
	content: "";
	position: absolute;
	left: 1.3125rem;
	top: 0.35rem;
	bottom: 0.35rem;
	width: 3px;
	margin-left: -1.5px;
	background-color: var(--color-border);
	border-radius: 3px;
	z-index: 0;
}

.c-flow-step {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: 2.75rem minmax(0, 1fr);
	gap: 0 1.25rem;
	align-items: flex-start;
	padding-bottom: 1.75rem;
}

.c-flow-step:last-child {
	padding-bottom: 0;
}

.c-flow-step__badge {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.75rem;
	min-height: 2.75rem;
	margin: 0;
	padding: 0.2rem 0.15rem;
	font-size: 0.5625rem;
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: 0.02em;
	text-align: center;
	color: var(--color-white);
	background-color: var(--wp--preset--color--primary, #e85d04);
	border-radius: 999px;
	box-shadow: 0 0 0 3px var(--color-bg);
}

.c-flow-step__body {
	min-width: 0;
}

.c-flow-step__title {
	margin: 0 0 0.35rem;
	font-size: 1.0625rem;
	font-weight: 700;
	line-height: 1.35;
}

.c-flow-step__text {
	margin: 0;
	font-size: 0.875rem;
	line-height: 1.65;
	color: var(--wp--preset--color--text-muted, #5c5c5c);
}

/* 連絡手段カード */

.p-section-flow-contact {
	border-radius: 12px;
	border: 1px solid var(--color-border);
}

.p-flow-contact-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0.75rem;
	margin-top: 0;
	margin-bottom: 0;
}

.c-flow-contact-card {
	background-color: var(--color-bg);
	border: 1px solid var(--color-border-soft);
	border-radius: 10px;
}

.c-flow-contact-card__label {
	margin: 0;
	font-size: 0.875rem;
	font-weight: 700;
	color: var(--wp--preset--color--text, #2b2b2b);
}

.c-flow-contact-card__value {
	margin: 0;
	font-size: 0.875rem;
	line-height: 1.5;
	word-break: break-word;
}

.c-flow-contact-card__value a {
	font-weight: 600;
}

/* 対応時間 */

.p-section-flow-hours {
	border-radius: 12px;
}

.p-section-flow-hours p {
	margin-top: 0;
	line-height: 1.7;
	font-size: 0.9375rem;
}

/* CTA */

.p-section-flow-cta {
	border-radius: 12px;
}

.p-section-flow-cta__title {
	margin-top: 0;
	margin-bottom: 0.5rem;
	color: var(--wp--preset--color--surface, #fff);
}

.p-section-flow-cta__lead {
	margin-top: 0;
	margin-bottom: 1.25rem;
	font-size: 0.9375rem;
	line-height: 1.65;
	opacity: 0.95;
}

.p-section-flow-cta .wp-block-button__link {
	font-weight: 700;
}

@media (min-width: 768px) {
	.p-flow-contact-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 1rem;
	}
}

/* ----- Area page pattern (Figma area-sp / pc) — shell/見出しは Price と共有 ----- */

.p-pattern-area {
	max-width: none;
	margin-inline: auto;
}

.p-section-area-hero .wp-block-post-title {
	margin: 0;
}

.p-pattern-area .p-area-map-illustration__figure,
.p-pattern-area .p-section-area-map .p-area-map-illustration__figure {
	margin: 0 0 1.5rem;
	padding: 0;
	border: none;
	border-radius: 0;
	background: transparent;
	overflow: visible;
}

.p-pattern-area .p-area-map-illustration__figure img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 0;
}

.p-pattern-area .c-area-city-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 1rem;
	width: 100%;
	margin-bottom: 1rem;
}

.p-pattern-area .c-area-city-card {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	min-width: 0;
}

.c-area-region-label {
	margin: 0;
	padding: 0.25rem 0;
	font-family: var(--font-body);
	font-size: 1.125rem;
	font-weight: 700;
	line-height: 1.5;
	text-align: center;
	color: #000000;
	background: #ffffff;
	border-radius: 4px;
}

.p-area-town-list {
	margin: 0;
	font-family: var(--font-heading);
	font-size: 1.125rem;
	font-weight: 500;
	line-height: 1.55;
	color: var(--color-text-sub);
	word-break: break-word;
}

.p-section-area-outside {
	margin: 0.5rem 0 1rem;
	padding: 1rem;
	border: 1px dashed var(--color-text-sub);
	border-radius: var(--radius-sm);
	background: #f4f4f4;
}

.p-section-area-cta {
	border-radius: 12px;
}

.p-section-area-cta__title {
	margin-top: 0;
	margin-bottom: 0.5rem;
	color: var(--wp--preset--color--surface, #fff);
}

.p-section-area-cta__lead {
	margin-top: 0;
	margin-bottom: 1.25rem;
	font-size: 0.9375rem;
	line-height: 1.65;
	opacity: 0.95;
}

.p-section-area-cta .wp-block-button__link {
	font-weight: 700;
}

/* ----- FAQ page pattern (Figma faq-sp / pc) ----- */

.p-pattern-faq {
	max-width: none;
	margin-inline: 0;
}

.p-page--faq .p-pattern-faq .p-section-faq__heading {
	position: relative;
	margin: 0 0 1.5rem;
	padding-top: 1rem;
	padding-left: 0;
	font-family: var(--font-heading);
	font-size: clamp(1.25rem, 4.5vw, 1.5rem);
	font-weight: 800;
	line-height: 1.2;
	text-align: center;
	color: var(--color-text-sub);
	border-left: none;
}

.p-page--faq .p-pattern-faq .p-section-faq__heading::before {
	content: "";
	position: absolute;
	top: 0;
	left: 50%;
	width: 2.125rem;
	height: 0.35rem;
	border-radius: var(--radius-xs);
	background: var(--color-accent-2);
	transform: translateX(-50%);
	opacity: 0.85;
}

.p-section-faq-hero .wp-block-post-title {
	margin: 0;
}

.p-section-faq-shell {
	display: flex;
	flex-direction: column;
	gap: 2rem;
	padding: 2.5rem 1.5rem 5rem;
	background-color: var(--color-bg);
}

.p-section-faq-shell > .wp-block-group {
	width: 100%;
	max-width: 22.125rem;
	margin-inline: auto;
}

.p-section-faq-fv__figure {
	margin: 0;
	border-radius: 0;
	overflow: hidden;
}

.p-section-faq-fv__figure img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.p-section-faq-lead p,
.p-section-faq-notes p,
.p-section-faq-contact-hint {
	margin: 0 0 0.75rem;
	font-family: var(--font-heading);
	font-size: 1.125rem;
	font-weight: 500;
	line-height: 1.5;
	color: var(--color-text-sub);
}

.p-page--faq .p-section-faq-notes > .p-faq-note {
	width: 100%;
	max-width: none;
	margin-inline: 0;
}

.p-section-faq-contact-hint a {
	font-weight: 700;
	color: var(--color-primary-dark);
}

.p-section-faq-empty {
	margin: 0;
	padding: 1.5rem 0;
	text-align: center;
	font-size: 0.9375rem;
	line-height: 1.6;
	color: var(--color-text-sub);
}

.p-faq-category-nav__label {
	margin: 0 0 0.75rem;
	font-size: 0.9375rem;
	font-weight: 700;
	text-align: center;
	color: var(--color-text-sub);
}

.p-faq-category-nav__list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	justify-content: center;
	margin: 0;
	padding: 0;
	list-style: none;
}

.p-faq-category-nav__list li {
	margin: 0;
}

.p-faq-category-nav__list a {
	display: inline-block;
	padding: 0.45rem 0.85rem;
	font-size: 0.875rem;
	font-weight: 700;
	line-height: 1.3;
	color: var(--color-text-sub);
	text-decoration: none;
	background: var(--color-white);
	border: 1px solid rgba(83, 71, 65, 0.2);
	border-radius: var(--radius-pill);
}

/* ----- /faq/ dynamic list (Figma 316:2094 SP / 316:4330 PC) ----- */

.p-section-faq-shell > .p-faq-category-nav,
.p-section-faq-shell > .p-section-faq-list {
	width: 100%;
	max-width: min(100%, 22.125rem);
	margin-inline: auto;
}

.p-section-faq-list {
	display: flex;
	flex-direction: column;
	gap: 2rem;
}

.p-section-faq-list__group {
	scroll-margin-top: 5.5rem;
}

.p-section-faq-list__category-title {
	position: relative;
	margin: 0 0 1.5rem;
	padding-top: 1rem;
	font-family: var(--font-heading);
	font-size: 1.5rem;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	overflow-wrap: anywhere;
	word-break: break-word;
	color: var(--color-text-sub);
}

.p-section-faq-list__category-title::before {
	content: "";
	position: absolute;
	top: 0;
	left: 50%;
	width: 2.125rem;
	height: 1.75rem;
	background: url("/wp-content/themes/jennings/assets/images/common/heading-paw.svg") center top / contain no-repeat;
	transform: translateX(-50%);
	pointer-events: none;
}

@media (max-width: 767px) {
	.p-section-faq-list__category-title::before {
		width: 1.75rem;
		height: 1.4375rem;
	}
}

.p-section-faq-list__items {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	width: 100%;
}

.p-section-faq-list__item {
	width: 100%;
	max-width: 100%;
	min-width: 0;
}

.p-section-faq-list__question,
.p-section-faq-list__answer {
	display: flex;
	gap: 1rem;
	align-items: flex-start;
	width: 100%;
	min-width: 0;
	padding: 0.25rem 0;
	color: var(--color-text-sub);
}

.p-section-faq-list__question {
	margin: 0;
	font-size: 1.0625rem;
	line-height: 1.45;
}

.p-section-faq-list__answer {
	margin: 0;
	font-size: 0.9375rem;
	line-height: 1.5;
}

.p-section-faq-list__label {
	flex: 0 0 auto;
	font-family: var(--font-display);
	line-height: 1.35;
}

.p-section-faq-list__label--q {
	font-size: 1.0625rem;
	font-weight: 700;
}

.p-section-faq-list__label--a {
	font-size: 1.0625rem;
	font-weight: 500;
}

.p-section-faq-list__question-text,
.p-section-faq-list__answer-text {
	flex: 1 1 auto;
	min-width: 0;
	margin: 0;
	overflow-wrap: anywhere;
	word-break: break-word;
}

.p-section-faq-list__question-text {
	font-weight: 700;
}

.p-section-faq-list__answer-text {
	font-weight: 500;
}

.p-section-faq-list__answer-text p {
	margin: 0;
}

/* ----- Lower-page FAQ section (Figma 177:3092 SP / 214:5120 PC) ----- */

.p-section-page-faq {
	width: 100%;
	max-width: none;
	margin-inline: calc(50% - 50vw);
	padding: 2.5rem 1.5rem 5rem;
	background: var(--color-bg-soft);
	box-sizing: border-box;
}

.p-section-page-faq__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2rem;
	width: 100%;
	max-width: min(100%, 22.125rem);
	margin-inline: auto;
}

.p-section-page-faq__header {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.25rem;
	width: 100%;
	margin: 0;
	padding-top: 1rem;
	text-align: center;
}

.p-section-page-faq__header::before {
	content: "";
	position: absolute;
	top: 0;
	left: 50%;
	width: 2.125rem;
	height: 1.75rem;
	background: url("/wp-content/themes/jennings/assets/images/common/heading-paw.svg") center top / contain no-repeat;
	transform: translateX(-50%);
	pointer-events: none;
	z-index: 0;
}

.p-section-page-faq__title {
	margin: 0;
	font-family: var(--font-heading);
	font-size: 1.5rem;
	font-weight: 700;
	line-height: 1.2;
	color: var(--color-text-sub);
}

.p-section-page-faq__label {
	margin: 0;
	font-family: var(--font-heading);
	font-size: 0.875rem;
	font-weight: 700;
	line-height: 1.2;
	color: var(--color-accent-2);
}

.p-section-page-faq__title,
.p-section-page-faq__label {
	position: relative;
	z-index: 1;
}

@media (max-width: 767px) {
	.p-section-page-faq__header::before {
		width: 1.75rem;
		height: 1.4375rem;
	}
}

.p-section-page-faq__lead {
	width: 100%;
	margin: 0;
	font-size: 0.9375rem;
	line-height: 1.65;
	text-align: center;
	color: var(--color-text-muted);
}

.p-section-page-faq__body {
	width: 100%;
}

.p-section-faq-list--page {
	display: block;
	width: 100%;
}

.p-section-page-faq .p-section-faq-list--page .p-section-faq-list__items {
	gap: 1.5rem;
}

.p-section-page-faq__more {
	width: 100%;
	margin: 0;
	text-align: center;
}

.p-section-page-faq__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: min(100%, 15rem);
	min-width: 15rem;
	min-height: 2.9375rem;
	padding: 0.875rem 1.125rem;
	border: 2px solid var(--color-text-sub);
	border-radius: 2.5rem;
	background: var(--color-white);
	color: var(--color-text-sub);
	font-family: var(--font-heading);
	font-size: 1.125rem;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.p-section-page-faq__btn:hover,
.p-section-page-faq__btn:focus-visible {
	background: var(--color-text-sub);
	color: var(--color-white);
}

@media (min-width: 1024px) {
	.p-section-page-faq__inner {
		max-width: 50rem;
	}

	.p-section-page-faq .p-section-faq-list--page .p-section-faq-list__items {
		gap: 1rem;
	}

	.p-section-page-faq .p-section-faq-list__question {
		padding: 0.25rem;
		border-bottom: 1px solid #b4b4b4;
	}

	.p-section-page-faq .p-section-faq-list__answer {
		padding: 0.25rem;
	}
}

/* Legacy accordion / category (old DB markup) */
.p-faq-category {
	margin-bottom: 2rem;
	scroll-margin-top: 5.5rem;
}

.p-page--faq .p-faq-category .c-faq-item {
	margin: 0 0 1.5rem;
	padding: 0;
	border: none;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
}

.p-page--faq .p-faq-category .c-faq-item__q,
.p-page--faq .p-faq-category summary.c-faq-item__q {
	position: relative;
	display: block;
	margin: 0 0 0.35rem;
	padding: 0 0 0 1.75rem;
	font-family: var(--font-display);
	font-size: 1.0625rem;
	font-weight: 700;
	line-height: 1.45;
	color: var(--color-text-sub);
	list-style: none;
	cursor: pointer;
}

.p-page--faq .p-faq-category .c-faq-item__q::-webkit-details-marker,
.p-page--faq .p-faq-category summary.c-faq-item__q::-webkit-details-marker {
	display: none;
}

.p-page--faq .p-faq-category .c-faq-item__q::before,
.p-page--faq .p-faq-category summary.c-faq-item__q::before {
	content: "Q.";
	position: absolute;
	left: 0;
	font-weight: 700;
}

.p-page--faq .p-faq-category .c-faq-item__a {
	margin: 0;
	padding-left: 1.75rem;
	font-size: 0.9375rem;
	font-weight: 500;
	line-height: 1.5;
	color: var(--color-text-sub);
}

.p-page--faq .p-faq-category .c-faq-item__a::before {
	content: "A.";
	font-family: var(--font-display);
	font-weight: 500;
	margin-right: 0.25rem;
}

/* Legacy group-based FAQ items (pre-11.22 DB) */
.p-page--faq .wp-block-group.c-faq-item {
	margin: 0 0 0.65rem;
	padding: 1rem;
	border: 1px solid var(--color-border);
	border-radius: var(--radius-lg);
	background: var(--color-white);
	box-shadow: var(--shadow-soft);
}

.p-section-faq-cta {
	border-radius: 12px;
}

.p-section-faq-cta__title {
	margin-top: 0;
	margin-bottom: 0.5rem;
	color: var(--wp--preset--color--surface, #fff);
}

.p-section-faq-cta__lead {
	margin-top: 0;
	margin-bottom: 1.25rem;
	font-size: 0.9375rem;
	line-height: 1.65;
	opacity: 0.95;
}

.p-section-faq-cta .wp-block-button__link {
	font-weight: 700;
}

@media (min-width: 1024px) {
	.p-section-faq-shell > .wp-block-group {
		max-width: 50rem;
	}

	.p-section-faq-shell > .p-faq-category-nav,
	.p-section-faq-shell > .p-section-faq-list {
		max-width: 50rem;
	}

	.p-section-faq-list {
		gap: 2rem;
	}

	.p-section-faq-list__items {
		gap: 1rem;
	}

	.p-section-faq-list__question {
		padding: 0.25rem;
		border-bottom: 1px solid #b4b4b4;
	}

	.p-section-faq-list__answer {
		padding: 0.25rem;
	}

	.p-page--faq .p-faq-category-nav__list {
		justify-content: flex-start;
	}
}

/* ----- Step 11.8: 下層ページ共通（見出し・FAQ・エリア・重複CTA抑制） ----- */

.site-main--page .p-section-handyman__heading,
.site-main--page .p-section-cleaning__heading,
.site-main--page .p-section-price__heading,
.site-main--page .p-section-area__heading,
.site-main--page .p-section-faq__heading,
.site-main--page .p-section-company__heading,
.site-main--page .p-company-info__table-heading {
	position: relative;
	margin: 0 0 1rem;
	padding-top: 1rem;
	padding-left: 0;
	font-family: var(--font-heading);
	font-size: clamp(1.125rem, 3.5vw, 1.375rem);
	font-weight: 800;
	line-height: 1.35;
	text-align: center;
	color: var(--color-text-sub);
	border-left: none;
}

.site-main--page .p-section-handyman__heading::before,
.site-main--page .p-section-cleaning__heading::before,
.site-main--page .p-section-price__heading::before,
.site-main--page .p-section-area__heading::before,
.site-main--page .p-section-faq__heading::before {
	content: "";
	position: absolute;
	top: 0;
	left: 50%;
	width: 2.125rem;
	height: 1.75rem;
	background: url("/wp-content/themes/jennings/assets/images/common/heading-paw.svg") center top / contain no-repeat;
	transform: translateX(-50%);
	pointer-events: none;
}

.site-main--page .p-section-company__heading::before,
.site-main--page .p-company-info__table-heading::before {
	content: "";
	position: absolute;
	top: 0;
	left: 50%;
	width: 3rem;
	height: 0.3rem;
	border-radius: var(--radius-xs);
	background: var(--color-accent-2);
	transform: translateX(-50%);
	opacity: 0.75;
}

@media (max-width: 767px) {
	.p-pattern-handyman .p-section-handyman__heading::before,
	.p-page--cleaning .p-pattern-cleaning .p-section-cleaning__heading::before,
	.p-page--price .p-pattern-price .p-section-price__heading::before,
	.p-page--area .p-pattern-area .p-section-area__heading::before,
	.site-main--page .p-section-handyman__heading::before,
	.site-main--page .p-section-cleaning__heading::before,
	.site-main--page .p-section-price__heading::before,
	.site-main--page .p-section-area__heading::before,
	.site-main--page .p-section-faq__heading::before {
		width: 1.75rem;
		height: 1.4375rem;
	}
}

.site-main--page .p-section-handyman-cta,
.site-main--page .p-section-cleaning-cta,
.site-main--page .p-section-price-cta,
.site-main--page .p-section-area-cta,
.site-main--page .p-section-faq-cta {
	display: none;
}

/* Legacy work-card (pre-11.20); hidden if old markup remains in DB */
.p-pattern-cleaning .c-cleaning-work-card {
	display: none;
}

/* Legacy category title (pre-11.22) */
.p-page--faq .p-faq-category__title {
	margin: 2rem 0 0.75rem;
	padding: 0.65rem 0.85rem;
	border-radius: var(--radius-sm);
	background: var(--color-bg-soft);
	font-family: var(--font-heading);
	font-size: 1rem;
	font-weight: 800;
	color: var(--color-primary-dark);
}

.p-area-group__title {
	margin: 1.25rem 0 0.5rem;
	font-size: 0.9375rem;
	font-weight: 800;
	color: var(--color-text-sub);
}

.p-area-town-chip {
	display: inline-block;
	margin: 0 0.35rem 0.35rem 0;
	padding: 0.25rem 0.55rem;
	border-radius: var(--radius-xs);
	background: var(--color-bg-soft);
	font-size: 0.75rem;
	font-weight: 600;
}

.p-area-map-slot__placeholder {
	margin: 0;
	padding: 0.75rem;
	font-size: 0.75rem;
	color: var(--color-text-placeholder);
}

.c-company-info-table {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	border: 1px solid var(--color-border);
	border-radius: var(--radius-lg);
	background: var(--color-white);
	box-shadow: var(--shadow-soft);
}

.c-company-info-table table {
	width: 100%;
	min-width: 16rem;
	border-collapse: collapse;
	font-size: 0.875rem;
}

.c-company-info-table th,
.c-company-info-table td {
	padding: 0.75rem 0.85rem;
	border-bottom: 1px solid var(--color-border-soft);
	text-align: left;
	vertical-align: top;
}

.c-company-info-table th {
	width: 38%;
	font-weight: 700;
	color: var(--color-text-muted);
	background: var(--color-bg-soft);
}

.p-section-company-trust {
	border-radius: var(--radius-lg);
	border: 1px solid var(--color-border);
	box-shadow: var(--shadow-soft);
}

/* ----- お問い合わせページ（/contact/）コンプ ----- */

.p-pattern-contact.alignfull {
	width: 100%;
	max-width: none;
	margin-inline: 0;
	box-sizing: border-box;
}

.p-pattern-contact__content {
	width: min(100% - 2.5rem, 22.125rem);
	max-width: 100%;
	margin-inline: auto;
	box-sizing: border-box;
}

@media (min-width: 768px) {
	.p-pattern-contact__content {
		width: min(100% - 2.5rem, 36rem);
	}
}

/* 旧パターン内パンくず（後方互換・非推奨） */

.p-contact-breadcrumb {
	margin: 0 0 0.25rem;
	padding-top: var(--wp--preset--spacing--20, 1.25rem);
}

.p-contact-breadcrumb__list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.35rem 0.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 0.8125rem;
	line-height: 1.4;
	color: var(--wp--preset--color--text-muted, #5c5c5c);
}

.p-contact-breadcrumb__item {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
}

.p-contact-breadcrumb__item:not(:last-child)::after {
	content: ">";
	font-size: 0.7rem;
	font-weight: 700;
	color: var(--wp--preset--color--text-muted, #5c5c5c);
	opacity: 0.65;
}

.p-contact-breadcrumb__link {
	color: var(--wp--preset--color--primary, #e85d04);
	font-weight: 600;
	text-decoration: none;
}

.p-contact-breadcrumb__link:hover {
	text-decoration: underline;
}

.p-contact-breadcrumb__item--current {
	font-weight: 600;
	color: var(--wp--preset--color--text, #2b2b2b);
}

/* タイトル帯 */

.p-contact-title-band {
	margin-top: 0;
	margin-bottom: 0;
}

.p-contact-title-band__title {
	margin: 0;
	font-size: clamp(1.375rem, 4vw, 1.75rem);
	font-weight: 800;
	line-height: 1.25;
	letter-spacing: 0.04em;
}

/* リード（contact 11.23: page.css で上書き） */

.p-contact-lead {
	margin: 0 0 1.5rem;
}

/* フォーム枠 — /contact/ の見た目は page.css + form.css（Figma contact-sp） */

.c-contact-form-shell {
	margin: 0;
}

/* CF7 form UI → assets/css/form.css（contact / contact-thanks で読み込み） */

/* ----- 会社情報ページ（/company/） ----- */

.p-pattern-company {
	width: 100%;
	max-width: none;
	margin-inline: 0;
	box-sizing: border-box;
}

.p-section-company-hero .wp-block-post-title {
	margin: 0 0 0.75rem;
}

.p-section-company-hero__lead {
	margin: 0 auto;
	max-width: 40rem;
	font-size: 0.9375rem;
	line-height: 1.7;
	color: var(--color-text-muted);
	text-align: center;
}

.p-pattern-company__content {
	width: min(100% - 2.5rem, 720px);
	max-width: 100%;
	margin-inline: auto;
	padding-top: 0;
	box-sizing: border-box;
}

.p-section-company__heading {
	margin: 0 0 0.75rem;
	padding-left: 0.65rem;
	font-family: var(--font-heading);
	font-size: clamp(1.125rem, 3.5vw, 1.375rem);
	font-weight: 800;
	line-height: 1.35;
	color: var(--color-ink);
	border-left: 4px solid var(--color-primary);
}

.p-section-company-trust {
	border-radius: var(--radius-lg);
	border: 1px solid var(--color-border);
	box-shadow: var(--shadow-soft);
}

.p-section-company-trust p {
	margin-top: 0;
	line-height: 1.7;
}

.p-section-company-trust__list {
	margin: 0.75rem 0 0;
	padding-left: 1.25rem;
	line-height: 1.7;
	font-size: 0.9375rem;
}

.p-section-company-trust__list li::marker {
	color: var(--color-primary);
}

.p-section-company-local p {
	line-height: 1.7;
}

.p-section-company-local__figure {
	margin: 1rem 0 0;
	border-radius: var(--radius-lg);
	overflow: hidden;
	box-shadow: var(--shadow-soft);
}

.p-section-company-local__figure img {
	display: block;
	width: 100%;
	height: auto;
}

.p-section-company-contact {
	border-radius: var(--radius-lg);
}

.p-section-company-contact__title {
	margin: 0 0 0.5rem;
}

.p-section-company-contact__lead {
	margin: 0 0 1.25rem;
	font-size: 0.9375rem;
	line-height: 1.65;
	opacity: 0.95;
}

.p-section-company-links {
	margin-top: 0.5rem;
}

.c-company-info-scroll {
	margin: 0 0 var(--wp--preset--spacing--32, 2rem);
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	border-radius: 12px;
	box-shadow: 0 2px 12px rgba(43, 43, 43, 0.06);
}

.p-company-info__table-heading {
	margin: 0;
	font-size: 1.0625rem;
	font-weight: 800;
	line-height: 1.35;
	color: var(--wp--preset--color--text, #2b2b2b);
}

.c-company-info-scroll .wp-block-table.c-company-info-table {
	margin: 0;
	border-radius: 12px;
	overflow: hidden;
}

.c-company-info-scroll .wp-block-table.c-company-info-table table {
	width: 100%;
	min-width: 17.5rem;
	border-collapse: collapse;
	border: 1px solid var(--color-border);
	border-radius: 12px;
	overflow: hidden;
	background-color: var(--wp--preset--color--surface, #fff);
	font-size: 0.9375rem;
	line-height: 1.55;
}

.c-company-info-scroll .wp-block-table.c-company-info-table tbody tr {
	border-bottom: 1px solid var(--color-border);
}

.c-company-info-scroll .wp-block-table.c-company-info-table tbody tr:last-child {
	border-bottom: none;
}

.c-company-info-scroll .wp-block-table.c-company-info-table th,
.c-company-info-scroll .wp-block-table.c-company-info-table td {
	padding: 0.75rem 1rem;
	text-align: left;
	vertical-align: top;
}

.c-company-info-scroll .wp-block-table.c-company-info-table th {
	width: 38%;
	max-width: 11rem;
	background-color: var(--color-bg-soft);
	font-weight: 700;
	color: var(--wp--preset--color--text, #2b2b2b);
}

.c-company-info-scroll .wp-block-table.c-company-info-table td {
	color: var(--wp--preset--color--text, #2b2b2b);
	word-break: break-word;
}

.c-company-info-scroll .wp-block-table.c-company-info-table td a {
	color: var(--wp--preset--color--primary, #e85d04);
	font-weight: 600;
	text-decoration: none;
}

.c-company-info-scroll .wp-block-table.c-company-info-table td a:hover {
	text-decoration: underline;
}

@media (max-width: 599.98px) {
	.c-company-info-scroll .wp-block-table.c-company-info-table table,
	.c-company-info-scroll .wp-block-table.c-company-info-table tbody,
	.c-company-info-scroll .wp-block-table.c-company-info-table tr,
	.c-company-info-scroll .wp-block-table.c-company-info-table th,
	.c-company-info-scroll .wp-block-table.c-company-info-table td {
		display: block;
		width: 100%;
		max-width: none;
	}

	.c-company-info-scroll .wp-block-table.c-company-info-table tbody tr {
		padding: 0;
		border-bottom: 1px solid var(--color-border);
	}

	.c-company-info-scroll .wp-block-table.c-company-info-table th {
		padding: 0.65rem 1rem 0.25rem;
		border-bottom: none;
	}

	.c-company-info-scroll .wp-block-table.c-company-info-table td {
		padding: 0 1rem 0.85rem;
	}
}

.p-company-links__heading {
	margin: 0 0 0.75rem;
	font-size: clamp(1.0625rem, 3vw, 1.25rem);
	font-weight: 800;
	line-height: 1.35;
	color: var(--wp--preset--color--text, #2b2b2b);
}

.p-company-links__list {
	margin: 0;
	padding-left: 1.25rem;
	font-size: 0.9375rem;
	line-height: 1.65;
	color: var(--wp--preset--color--text-muted, #5c5c5c);
}

.p-company-links__list li {
	margin-bottom: 0.5rem;
}

.p-company-links__list li:last-child {
	margin-bottom: 0;
}

.p-company-links__list a {
	color: var(--wp--preset--color--primary, #e85d04);
	font-weight: 600;
	text-decoration: none;
}

.p-company-links__list a:hover {
	text-decoration: underline;
}

/* ----- Common template parts (Step 6) ----- */

/* パンくず帯（Figma 214:5768）— main の外に出力されるため .c-breadcrumb 直下で指定 */
.c-breadcrumb {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0.25rem 1.5rem;
	background-color: #f5f2ef;
	border-bottom: none;
}

.c-breadcrumb__list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0;
	max-width: 50rem;
	margin: 0 auto;
	padding: 0;
	list-style: none;
	font-family: var(--font-heading);
	font-size: 0.8125rem;
	font-weight: 500;
	line-height: 1.5;
	color: #534741;
	overflow-wrap: anywhere;
	word-break: break-word;
}

.c-breadcrumb__item {
	display: inline-flex;
	align-items: center;
	gap: 0;
	color: #534741;
}

.c-breadcrumb__item:not(:last-child)::after {
	content: " / ";
	font-size: inherit;
	font-weight: 500;
	color: #534741;
}

.c-breadcrumb__link {
	color: #534741;
	font-weight: 500;
	text-decoration: none;
}

.c-breadcrumb__link:hover,
.c-breadcrumb__link:focus-visible {
	color: #534741;
	text-decoration: underline;
}

.c-breadcrumb__item--current {
	font-weight: 500;
	color: #534741;
}

/* ----- Global contact CTA (Figma common-contact-cta 119:522 / PC 208:3533) ----- */

.c-contact-cta {
	padding: 1.5rem var(--container-gutter);
	background: var(--color-bg-pink);
}

.c-contact-cta__outer {
	width: 100%;
	max-width: 100%;
	margin-inline: auto;
}

.c-contact-cta__stack {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
	max-width: 22.125rem;
	margin-inline: auto;
}

.c-contact-cta__card {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1rem;
	width: 100%;
	text-align: center;
}

.c-contact-cta__card--phone {
	padding: 2rem 1.5rem;
	border-radius: 1rem 1rem 0 0;
	background: var(--color-white);
}

.c-contact-cta__card--line {
	padding: 2.5rem 1.5rem;
	border-radius: 0 0 1rem 1rem;
	background: var(--color-line);
}

.c-contact-cta__mascot {
	width: 11.25rem;
	height: 11.25rem;
	overflow: hidden;
	border-radius: 50%;
}

.c-contact-cta__mascot img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.c-contact-cta__mascot--placeholder {
	background: rgba(240, 138, 107, 0.15);
}

.c-contact-cta__phone-block,
.c-contact-cta__form-block {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.5rem;
	width: 100%;
}

.c-contact-cta__label {
	margin: 0;
	color: #534741;
	font-size: 1.0625rem;
	font-weight: 700;
	line-height: 1.4;
}

.c-contact-cta__phone {
	margin: 0;
}

.c-contact-cta__phone a {
	color: var(--color-primary);
	font-family: var(--font-display);
	font-size: clamp(2rem, 10vw, 2.75rem);
	font-weight: 600;
	line-height: 1;
	letter-spacing: 0.04em;
	text-decoration: none;
}

.c-contact-cta__hours {
	margin: 0;
	color: #b8a398;
	font-size: 0.9375rem;
	font-weight: 600;
	line-height: 1.4;
}

.c-contact-cta__form-lead {
	display: flex;
	flex-direction: column;
	gap: 0;
	margin: 0;
	color: #534741;
	font-size: 1.0625rem;
	font-weight: 700;
	line-height: 1.2;
}

.c-contact-cta__form-lead-strong {
	display: block;
}

.c-contact-cta__form-lead-text {
	display: block;
}

.c-contact-cta__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: min(100%, 15rem);
	min-height: 2.9375rem;
	padding: 0.875rem 1.125rem;
	border-radius: 2.5rem;
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
}

.c-contact-cta__btn--form {
	border: 1px solid var(--color-primary);
	background: var(--color-primary);
	color: var(--color-white);
}

.c-contact-cta__btn--form:hover,
.c-contact-cta__btn--form:focus-visible {
	border-color: var(--color-primary-dark);
	background: var(--color-primary-dark);
	color: var(--color-white);
}

.c-contact-cta__line-visual {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 11.25rem;
	height: 11.25rem;
	overflow: hidden;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.2);
}

.c-contact-cta__line-visual-image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.c-contact-cta__line-content {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1rem;
	width: 100%;
}

.c-contact-cta__line-lead,
.c-contact-cta__line-text {
	margin: 0;
	color: #534741;
	font-size: 1.0625rem;
	font-weight: 700;
	line-height: 1.4;
}

.c-contact-cta__line-qr {
	display: none;
	align-items: center;
	justify-content: center;
	width: 9.375rem;
	height: 9.375rem;
	padding: 0;
	background: var(--color-white);
	text-decoration: none;
	color: inherit;
}

.c-contact-cta__line-qr-image {
	display: block;
	width: 100%;
	max-width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
	object-fit: contain;
}

.c-contact-cta__btn--line {
	border: 2px solid var(--color-white);
	background: var(--color-white);
	color: var(--color-line);
}

.c-contact-cta__btn--line:hover,
.c-contact-cta__btn--line:focus-visible {
	background: rgba(255, 255, 255, 0.92);
	border-color: rgba(255, 255, 255, 0.92);
	color: var(--color-line);
}

body.has-fixed-cta-sp .c-contact-cta {
	padding-bottom: calc(1.5rem + var(--fixed-cta-sp-height));
}

/* FAQ excerpt — shared (Figma 214:4487) */

.c-faq-excerpt {
	padding: 2.5rem 1.5rem 5rem;
	background: #ffefdb;
}

.c-faq-excerpt__inner {
	display: flex;
	flex-direction: column;
	gap: 2rem;
	align-items: center;
	width: 100%;
	max-width: 50rem;
	margin-inline: auto;
}

.c-faq-excerpt__heading {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.25rem;
	padding-top: 1rem;
	margin: 0;
	text-align: center;
}

.c-faq-excerpt__heading::before {
	content: "";
	position: absolute;
	top: 0;
	left: 50%;
	width: 2.125rem;
	height: 1.75rem;
	background: url("/wp-content/themes/jennings/assets/images/heading-accent.png") center top / contain no-repeat;
	transform: translateX(-50%);
}

.c-faq-excerpt__title {
	margin: 0;
	font-family: var(--font-heading);
	font-size: clamp(1.25rem, 4.5vw, 1.5rem);
	font-weight: 700;
	line-height: 1.2;
	color: #534741;
}

.c-faq-excerpt__label {
	margin: 0;
	font-family: var(--font-heading);
	font-size: 0.875rem;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0.02em;
	color: #ffb4a2;
}

.c-faq-excerpt__lead {
	width: 100%;
	max-width: 40rem;
	margin: -1rem 0 0;
	font-family: var(--font-heading);
	font-size: 1rem;
	font-weight: 500;
	line-height: 1.6;
	text-align: center;
	color: #534741;
}

.c-faq-excerpt__list {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	width: 100%;
}

.c-faq-excerpt__item {
	width: 100%;
}

.c-faq-excerpt__q,
.c-faq-excerpt__a {
	display: flex;
	gap: 1rem;
	align-items: flex-start;
	margin: 0;
	padding: 0.25rem;
	font-family: var(--font-heading);
	line-height: 1.5;
	color: #534741;
	word-break: break-word;
}

.c-faq-excerpt__q {
	padding-bottom: 0.5rem;
	font-size: 1.0625rem;
	font-weight: 700;
	border-bottom: 1px solid #b4b4b4;
}

.c-faq-excerpt__a {
	font-size: 0.9375rem;
	font-weight: 500;
}

.c-faq-excerpt__mark {
	flex-shrink: 0;
	font-family: var(--font-display, "Quicksand", sans-serif);
	font-weight: 700;
}

.c-faq-excerpt__a .c-faq-excerpt__mark {
	font-weight: 500;
}

.c-faq-excerpt__more {
	margin: 0;
	text-align: center;
}

.c-faq-excerpt__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 15rem;
	height: 2.9375rem;
	padding: 0.875rem 1.125rem;
	font-family: var(--font-heading);
	font-size: 1.125rem;
	font-weight: 700;
	line-height: 1.25;
	color: #534741;
	text-decoration: none;
	background: #ffffff;
	border: 2px solid #534741;
	border-radius: 2.5rem;
	box-sizing: border-box;
}

.c-faq-excerpt__btn:hover,
.c-faq-excerpt__btn:focus-visible {
	color: #534741;
	background: rgba(255, 255, 255, 0.92);
}

@media (min-width: 768px) {
	.c-contact-cta {
		padding-block: 2.5rem;
	}

	body.has-fixed-cta-sp .c-contact-cta {
		padding-bottom: 2.5rem;
	}

	.c-contact-cta__stack {
		flex-direction: row;
		align-items: stretch;
		max-width: 44.25rem;
	}

	.c-contact-cta__card--phone {
		flex: 0 0 22.125rem;
		min-height: 25.4375rem;
		padding: 2rem 1.5rem;
		border-radius: 1rem 0 0 1rem;
	}

	.c-contact-cta__card--line {
		flex: 0 0 22.125rem;
		padding: 2.5rem 1.5rem;
		border-radius: 0 1rem 1rem 0;
	}

	.c-contact-cta__mascot,
	.c-contact-cta__line-visual {
		width: 7.5rem;
		height: 7.5rem;
	}

	.c-contact-cta--has-line-qr .c-contact-cta__line-action--button {
		display: none;
	}

	.c-contact-cta--has-line-qr .c-contact-cta__line-qr {
		display: flex;
	}

}

/* ----- Post card (archive / front-page news) ----- */

.c-post-card {
	margin: 0;
	height: 100%;
	border: 1px solid var(--color-border);
	border-radius: var(--radius-lg);
	background: var(--color-white);
	box-shadow: var(--shadow-soft);
	overflow: hidden;
}

.c-post-card__link {
	display: flex;
	flex-direction: column;
	height: 100%;
	color: inherit;
	text-decoration: none;
}

.c-post-card__thumb {
	overflow: hidden;
}

.c-post-card__thumb img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 10;
	object-fit: cover;
}

.c-post-card__thumb-image--default {
	object-fit: cover;
	object-position: center;
}

.c-post-card__thumb--placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 9rem;
	background: linear-gradient(135deg, var(--color-bg-soft) 0%, var(--color-bg-pink) 100%);
}

.c-post-card__placeholder-label {
	font-size: 0.8125rem;
	font-weight: 700;
	color: var(--color-text-muted);
}

.c-post-card__body {
	display: flex;
	flex-direction: column;
	flex-grow: 1;
	padding: 1rem 1.1rem 1.15rem;
}

.c-post-card__date {
	margin: 0 0 0.35rem;
	font-size: 0.75rem;
	color: var(--color-text-muted);
}

.c-post-card__title {
	margin: 0 0 0.5rem;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.45;
}

.c-post-card__excerpt {
	margin: 0;
	flex-grow: 1;
	font-size: 0.875rem;
	line-height: 1.65;
	color: var(--color-text-muted);
}

.c-post-card__more {
	margin-top: 0.75rem;
	font-size: 0.8125rem;
	font-weight: 700;
	color: var(--color-primary-dark);
}

.c-post-card--placeholder .c-post-card__body {
	padding: 1.15rem;
}
