/*
Theme Name: HoDX ESJ
Description: HoDXエグゼクティブサーチジャパン コーポレートサイト用ブロックテーマ
Version: 0.1.0
Requires at least: 6.6
Requires PHP: 8.1
Text Domain: hodx-esj
*/

.hodx-card {
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.hodx-card:hover {
	box-shadow: var(--wp--preset--shadow--card);
	transform: translateY(-2px);
}

.hodx-eyebrow {
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.wpcf7-form input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
.wpcf7-form textarea,
.wpcf7-form select {
	width: 100%;
	padding: 0.75em 1em;
	border: 1px solid var(--wp--preset--color--line);
	border-radius: 4px;
	font: inherit;
	background: var(--wp--preset--color--base);
}

.hodx-header-cta .wp-block-button__link,
.wp-block-table th {
	white-space: nowrap;
}

.wp-block-table th {
	background: var(--wp--preset--color--surface);
	font-weight: 600;
}

h1,
h2,
h3 {
	word-break: auto-phrase;
	text-wrap: pretty;
}

.hodx-sample-note {
	margin-block: var(--wp--preset--spacing--30);
	padding: 0.75rem 1rem;
	border: 1px dashed #c9971c;
	border-radius: 4px;
	background: #fff8e1;
	color: #5c4400;
	font-size: var(--wp--preset--font-size--small);
}

.hodx-section {
	padding-block: var(--wp--preset--spacing--60);
}

.hodx-hero {
	padding-block: clamp(4rem, 10vw, 7rem);
}

.hodx-box {
	height: 100%;
	padding: var(--wp--preset--spacing--40);
	border: 1px solid var(--wp--preset--color--line);
	border-radius: 6px;
}

.hodx-number {
	margin-block: 0;
	color: var(--wp--preset--color--primary);
	font-family: var(--wp--preset--font-family--heading);
	font-size: clamp(2rem, 5vw, 2.75rem);
	line-height: 1.2;
}

.hodx-photo {
	display: flex;
	align-items: center;
	justify-content: center;
	max-width: 220px;
	aspect-ratio: 1;
	border-radius: 6px;
	background: var(--wp--preset--color--surface);
	color: var(--wp--preset--color--muted);
	font-size: var(--wp--preset--font-size--small);
}

.wp-block-details {
	padding-block: 1rem;
	border-bottom: 1px solid var(--wp--preset--color--line);
}

.wp-block-details summary {
	color: var(--wp--preset--color--primary);
	font-weight: 600;
	cursor: pointer;
}
