/**
 * 職人BIZサーチとはページ専用CSS。
 *
 * 対象固定ページIDは未確定です。ID確定後、functions.phpから
 * is_page( 確定ID ) の場合にだけ、このファイルを読み込んでください。
 * 見た目のルールはすべて .sbiz-about 名前空間内に限定しています。
 */

.sbiz-about {
	--sbiz-about-black: #111111;
	--sbiz-about-charcoal: #202020;
	--sbiz-about-gold: #bd9134;
	--sbiz-about-gold-light: #e2c77d;
	--sbiz-about-ink: #272727;
	--sbiz-about-muted: #666666;
	--sbiz-about-surface: #f6f4ee;
	--sbiz-about-border: #ddd8cc;
	--sbiz-about-white: #ffffff;
	width: 100%;
	max-width: 72rem;
	margin-inline: auto;
	color: var(--sbiz-about-ink);
	font-size: clamp(1rem, 0.97rem + 0.1vw, 1.0625rem);
	line-height: 1.9;
	overflow-x: clip;
	overflow-wrap: break-word;
	word-break: normal;
}

.sbiz-about,
.sbiz-about * {
	box-sizing: border-box;
}

.sbiz-about :where(h1, h2, h3, p) {
	margin-top: 0;
}

.sbiz-about :where(h1, h2, h3) {
	letter-spacing: 0.01em;
}

.sbiz-about-hero {
	position: relative;
	min-height: clamp(28rem, 56vw, 39rem);
	display: flex;
	align-items: center;
	padding: clamp(4rem, 9vw, 8rem) clamp(1.5rem, 7vw, 5.5rem);
	border-top: 5px solid var(--sbiz-about-gold);
	background: var(--sbiz-about-black);
	color: var(--sbiz-about-white);
	overflow: hidden;
}

.sbiz-about-hero::before,
.sbiz-about-hero::after {
	position: absolute;
	content: "";
	pointer-events: none;
}

.sbiz-about-hero::before {
	top: 0;
	right: 0;
	width: min(38vw, 27rem);
	height: 100%;
	background: linear-gradient(135deg, transparent 35%, rgba(189, 145, 52, 0.13));
	clip-path: polygon(46% 0, 100% 0, 100% 100%, 0 100%);
}

.sbiz-about-hero::after {
	right: -8rem;
	bottom: -13rem;
	width: 30rem;
	height: 30rem;
	border: 1px solid rgba(226, 199, 125, 0.25);
	transform: rotate(32deg);
}

.sbiz-about-hero__inner {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 58rem;
}

.sbiz-about-kicker,
.sbiz-about-eyebrow {
	margin-bottom: 0.8rem;
	color: var(--sbiz-about-gold);
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.15em;
	line-height: 1.5;
}

.sbiz-about-hero .sbiz-about-kicker,
.sbiz-about-cta .sbiz-about-kicker {
	color: var(--sbiz-about-gold-light);
}

.sbiz-about-hero h1 {
	max-width: 12em;
	margin-bottom: 1.75rem;
	color: var(--sbiz-about-white);
	font-size: clamp(2.5rem, 1.65rem + 3.3vw, 5rem);
	font-weight: 900;
	line-height: 1.25;
	text-wrap: balance;
}

.sbiz-about-hero__lead {
	max-width: 47rem;
	margin-bottom: 0;
	color: rgba(255, 255, 255, 0.82);
	font-size: clamp(1.05rem, 0.98rem + 0.35vw, 1.3rem);
	line-height: 2;
}

.sbiz-about-section {
	padding: clamp(4rem, 8vw, 7rem) clamp(1.25rem, 6vw, 5rem);
}

.sbiz-about-section + .sbiz-about-section {
	border-top: 1px solid var(--sbiz-about-border);
}

.sbiz-about-section__inner {
	width: 100%;
	max-width: 54rem;
	margin-inline: auto;
}

.sbiz-about-section__inner--wide {
	max-width: 64rem;
}

.sbiz-about-section h2 {
	margin-bottom: clamp(1.75rem, 4vw, 3rem);
	font-size: clamp(1.75rem, 1.35rem + 1.45vw, 2.75rem);
	font-weight: 850;
	line-height: 1.45;
	text-wrap: balance;
}

.sbiz-about-message > p:not(.sbiz-about-eyebrow, .sbiz-about-lead, .sbiz-about-free__note, .sbiz-about-vision__statement) {
	max-width: 48rem;
}

.sbiz-about-message > p:last-child {
	margin-bottom: 0;
}

.sbiz-about-lead,
.sbiz-about-intro {
	font-size: clamp(1.08rem, 1rem + 0.38vw, 1.3rem);
	font-weight: 700;
	line-height: 1.9;
}

.sbiz-about-lead {
	max-width: 49rem;
	margin-bottom: 1.75rem;
}

.sbiz-about-intro {
	max-width: 48rem;
	margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.sbiz-about-section--surface {
	background: var(--sbiz-about-surface);
}

.sbiz-about-grid {
	display: grid;
	gap: 1.25rem;
}

.sbiz-about-grid--three,
.sbiz-about-grid--audience {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sbiz-about-grid--four {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.sbiz-about-card,
.sbiz-about-audience,
.sbiz-about-plain-card {
	min-width: 0;
	height: 100%;
	padding: clamp(1.5rem, 3vw, 2.25rem);
}

.sbiz-about-card {
	border: 1px solid var(--sbiz-about-border);
	border-top: 4px solid var(--sbiz-about-gold);
	background: var(--sbiz-about-white);
}

.sbiz-about-card__number {
	display: block;
	margin-bottom: 1.4rem;
	color: var(--sbiz-about-gold);
	font-size: 0.8rem;
	font-weight: 900;
	letter-spacing: 0.15em;
}

.sbiz-about-card h3,
.sbiz-about-audience h3,
.sbiz-about-plain-card h3 {
	margin-bottom: 0.8rem;
	font-size: 1.25rem;
	font-weight: 850;
	line-height: 1.5;
}

.sbiz-about-card p,
.sbiz-about-audience p,
.sbiz-about-plain-card p {
	margin-bottom: 0;
	color: var(--sbiz-about-muted);
	font-size: 0.95rem;
	line-height: 1.8;
}

.sbiz-about-audience {
	position: relative;
	padding-left: clamp(1.5rem, 3vw, 2.25rem);
	border-left: 2px solid var(--sbiz-about-gold);
}

.sbiz-about-feature {
	border-top: 5px solid var(--sbiz-about-gold) !important;
	background: var(--sbiz-about-charcoal);
	color: var(--sbiz-about-white);
}

.sbiz-about-feature__inner {
	max-width: 64rem;
	display: grid;
	grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
	gap: clamp(2.5rem, 7vw, 6rem);
	align-items: start;
}

.sbiz-about-feature h2 {
	margin-bottom: 0;
	color: var(--sbiz-about-white);
}

.sbiz-about-feature__body p {
	color: rgba(255, 255, 255, 0.78);
}

.sbiz-about-feature__body .sbiz-about-lead {
	color: var(--sbiz-about-white);
}

.sbiz-about-feature__body p:last-child {
	margin-bottom: 0;
}

@media (min-width: 640.02px) {
	.sbiz-about-feature__pc-line {
		white-space: nowrap;
	}
}

.sbiz-about-free {
	background: #f3eddf;
}

.sbiz-about-free__note {
	display: inline-flex;
	margin: 1.25rem 0 0;
	padding: 0.75rem 1.1rem;
	border: 1px solid var(--sbiz-about-gold);
	background: var(--sbiz-about-white);
	color: #765414;
	font-size: 0.9rem;
	font-weight: 850;
	letter-spacing: 0.04em;
}

.sbiz-about-plain-card {
	border: 1px solid var(--sbiz-about-border);
	background: var(--sbiz-about-white);
}

.sbiz-about-plain-card h3::before {
	display: block;
	width: 2.5rem;
	height: 3px;
	margin-bottom: 1.2rem;
	background: var(--sbiz-about-gold);
	content: "";
}

.sbiz-about-vision {
	background: var(--sbiz-about-surface);
}

.sbiz-about-vision__statement {
	max-width: 48rem;
	margin-bottom: 2rem;
	font-size: clamp(1.35rem, 1.05rem + 1vw, 2rem);
	font-weight: 850;
	line-height: 1.7;
	text-wrap: balance;
}

.sbiz-about-cta {
	position: relative;
	padding: clamp(4.5rem, 9vw, 8rem) clamp(1.25rem, 6vw, 5rem);
	border-top: 5px solid var(--sbiz-about-gold);
	background: var(--sbiz-about-black);
	color: var(--sbiz-about-white);
	text-align: center;
	overflow: hidden;
}

.sbiz-about-cta__inner {
	position: relative;
	z-index: 1;
	max-width: 48rem;
	margin-inline: auto;
}

.sbiz-about-cta h2 {
	margin-bottom: 1.25rem;
	color: var(--sbiz-about-white);
	font-size: clamp(2rem, 1.5rem + 1.8vw, 3.25rem);
	font-weight: 900;
	line-height: 1.4;
	text-wrap: balance;
}

.sbiz-about-cta p:not(.sbiz-about-kicker) {
	margin-bottom: 2rem;
	color: rgba(255, 255, 255, 0.76);
}

.sbiz-about-cta__lead {
	text-align: center;
}

.sbiz-about-cta__lead span {
	display: block;
}

.sbiz-about-button {
	display: inline-flex;
	min-width: min(100%, 19rem);
	min-height: 3.5rem;
	align-items: center;
	justify-content: center;
	padding: 0.9rem 1.75rem;
	border: 1px solid var(--sbiz-about-gold);
	border-radius: 3px;
	background: var(--sbiz-about-gold);
	color: var(--sbiz-about-black);
	font-weight: 850;
	line-height: 1.4;
	text-decoration: none;
	transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.sbiz-about-button:hover,
.sbiz-about-button:focus-visible {
	border-color: var(--sbiz-about-gold-light);
	background: var(--sbiz-about-gold-light);
	color: var(--sbiz-about-black);
	transform: translateY(-1px);
}

.sbiz-about-button:focus-visible {
	outline: 3px solid var(--sbiz-about-gold-light);
	outline-offset: 4px;
}

@media (max-width: 991.98px) {
	.sbiz-about-grid--three,
	.sbiz-about-grid--audience,
	.sbiz-about-grid--four {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.sbiz-about-feature__inner {
		grid-template-columns: 1fr;
		gap: 2rem;
	}
}

@media (max-width: 640px) {
	.sbiz-about-feature__pc-break {
		display: none;
	}

	.sbiz-about-hero {
		min-height: auto;
		padding: 4rem 1.25rem;
	}

	.sbiz-about-hero::before,
	.sbiz-about-hero::after {
		display: none;
	}

	.sbiz-about-hero h1 {
		max-width: 100%;
		font-size: clamp(2rem, 9vw, 2.6rem);
		letter-spacing: 0;
	}

	.sbiz-about-hero__line {
		display: block;
		white-space: nowrap;
	}

	.sbiz-about-hero__line-break {
		display: none;
	}

	.sbiz-about-hero__lead {
		width: 100%;
		max-width: 100%;
		font-size: 1rem;
		line-height: 1.8;
		letter-spacing: normal;
		text-wrap: pretty;
		word-break: auto-phrase;
	}

	.sbiz-about-section h2 {
		max-width: 100%;
		font-size: clamp(1.55rem, 6.8vw, 1.9rem);
		line-height: 1.5;
		text-wrap: pretty;
		word-break: auto-phrase;
	}

	.sbiz-about-section,
	.sbiz-about-cta {
		padding-right: 1.25rem;
		padding-left: 1.25rem;
	}

	.sbiz-about-grid--three,
	.sbiz-about-grid--audience,
	.sbiz-about-grid--four {
		grid-template-columns: 1fr;
	}

	.sbiz-about-audience {
		padding: 1.5rem;
		border: 1px solid var(--sbiz-about-border);
		border-top: 3px solid var(--sbiz-about-gold);
	}

	.sbiz-about-free__note,
	.sbiz-about-button {
		width: 100%;
	}

	.sbiz-about-free__note {
		justify-content: center;
		text-align: center;
	}
}

@media (prefers-reduced-motion: reduce) {
	.sbiz-about * {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
}
