/* --- import.css conflict overrides (layout shell / body) --- */
body {
	min-width: 0;
	background: var(--color-bg);
	color: var(--color-text);
	font-family: var(--font-sans) !important;
	font-size: 16px;
	line-height: 1.8;
	--color-gold: #c9a86b;
	--color-bg: #f8f4ef;
	--color-text: #666666;
	--color-white: #ffffff;
	--color-badge: #b51d2b;
	--color-cta-text: #fffbba;
	--font-sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
	--font-serif: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
}

#header {
	height: 0;
	overflow: hidden;
	background: none;
}

#wrapper {
	width: 100%;
	margin: 0;
	padding: 0;
}

body #mainBlock {
	width: 100%;
	float: none;
	padding: 0;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
}

#mainBlock h1 {
	margin: 0;
}

body #mainBlock p {
	letter-spacing: normal;
}

/* --- LP components --- */
main img {
	height: auto;
}

section {
	padding-inline: 5%;
}

.container {
	max-width: 1080px;
	margin-inline: auto;
}

.hero picture,
.hero img {
	display: block;
	width: 100%;
}

.section-heading {
	margin: 0 0 16px;
	min-height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0 1em;
	background: var(--color-gold);
	color: var(--color-white);
	font-family: var(--font-serif);
	font-size: 20px;
	font-weight: 700;
	line-height: 1.3;
	text-align: center;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.55);
}

.cta {
	background: var(--color-gold);
	padding-block: 32px;
	text-align: center;
}

.cta__text {
	position: relative;
	display: inline-block;
	max-width: 100%;
	margin: 0 0 16px;
	padding-inline: 32px;
	color: var(--color-white);
	font-family: var(--font-serif);
	font-size: 22px;
	font-weight: 700;
	line-height: 1.6;
}

.cta__highlight {
	color: var(--color-cta-text);
}

.cta__text::before,
.cta__text::after {
	content: "";
	position: absolute;
	top: 50%;
	height: 3em;
	border-left: 1px solid currentColor;
}

.cta__text::before {
	left: 6px;
	transform: translateY(-50%) rotate(-22deg);
}

.cta__text::after {
	right: 6px;
	transform: translateY(-50%) rotate(22deg);
}

.cta__btns {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.cta__btn {
	display: block;
	flex: 1 1 0;
	width: 100%;
	min-width: 0;
	line-height: 0;
}

.cta__btn img {
	width: 100%;
}

.cta--bottom {
	margin-top: 44px;
}

.about {
	padding-top: 40px;
}

.areas,
.job-details {
	padding-top: 44px;
}

.about__intro {
	margin: 0 0 1em;
	font-weight: 700;
	font-size: 18px;
}

.about__body {
	margin: 0;
	font-size: 16px;
}

.area-cards {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
}

.area-card {
	width: 100%;
	max-width: 420px;
	min-height: 156px;
	padding: 20px;
	background: var(--color-white);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.area-card__heading,
.job-spec__row dt {
	font-family: var(--font-serif);
	font-size: 16px;
	font-weight: 400;
	text-align: center;
}

.area-card__heading {
	padding: 8px;
	background: var(--color-bg);
}

.area-card__list {
	margin: 16px 0 0;
	padding: 0 16px;
}

.area-card__item {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 16px;
}

.badge {
	display: inline-block;
	flex-shrink: 0;
	padding: 2px 4px;
	background: var(--color-badge);
	color: var(--color-white);
	font-size: 10px;
	font-weight: 700;
	line-height: 1.4;
	white-space: nowrap;
}

.section-note {
	margin: 0;
	font-size: 16px;
}

.areas .section-note {
	margin: 24px 0 0;
}

.job-details .section-note {
	margin: 20px 0 0;
	text-align: left;
}

.job-panel {
	padding: 20px;
	background: var(--color-white);
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.job-spec__row {
	display: flex;
	flex-direction: column;
}

.job-spec__row dt {
	padding: 5px;
	background: var(--color-bg);
}

.job-spec__row dd {
	padding: 12px 0 20px;
	background: var(--color-white);
	font-size: 16px;
}

@media (min-width: 768px) {
	body {
		font-size: 13px;
	}

	.section-heading {
		min-height: 64px;
		font-size: 28px;
		margin-bottom: 40px;
	}

	.cta {
		padding-block: 56px;
	}

	.cta__text {
		margin-bottom: 8px;
		padding-inline: 40px;
		font-size: 22px;
	}

	.cta__text::before,
	.cta__text::after {
		height: 1.3em;
	}

	.cta__break,
	.salary-break {
		display: none;
	}

	.cta__btns {
		flex-direction: row;
		gap: 32px;
	}

	.cta--bottom {
		margin-top: 120px;
	}

	.about,
	.areas,
	.job-details {
		padding-top: 80px;
	}

	.about__panel {
		padding-inline: 64px;
	}

	.about__intro {
		font-size: 22px;
	}

	.area-cards {
		flex-direction: row;
		justify-content: center;
		align-items: stretch;
		gap: 48px;
	}

	.area-card {
		width: 420px;
		min-width: 0;
		min-height: 320px;
		padding: 36px;
	}

	.area-card__heading {
		font-size: 20px;
	}

	.area-card__item {
		gap: 14px;
	}

	.badge {
		font-size: 12px;
	}

	.areas .section-note {
		margin-top: 60px;
		padding-inline: 64px;
	}

	.job-panel {
		padding: 48px 40px;
	}

	.job-spec__row {
		flex-direction: row;
		align-items: stretch;
		min-height: 96px;
		gap: 26px;
	}

	.job-spec__row + .job-spec__row {
		margin-top: 26px;
	}

	.job-spec__row dt {
		flex: 0 0 29%;
		display: flex;
		align-items: center;
		justify-content: center;
		padding-inline: 6px;
		font-size: 22px;
	}

	.job-spec__row dd {
		flex: 1;
		min-width: 0;
		align-content: center;
		padding: 0 6px;
		font-size: 18px;
	}

	.job-details .section-note {
		margin-top: 48px;
		text-align: center;
	}
}
