:root {
	--ymh-orange: #df4d22;
	--ymh-orange-dark: #bd3518;
	--ymh-orange-soft: #fce9e1;
	--ymh-navy: #292929;
	--ymh-navy-light: #3b3b3b;
	--ymh-ink: #2f2f2f;
	--ymh-muted: #6b6965;
	--ymh-line: #d8d5cf;
	--ymh-cream: #f3eee3;
	--ymh-white: #ffffff;
	--ymh-shadow: 0 18px 50px rgba(45, 40, 34, 0.12);
	--ymh-radius: 3px;
}

html {
	scroll-behavior: smooth;
}

body {
	color: var(--ymh-ink);
	font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
	letter-spacing: 0.035em;
}

a {
	text-underline-offset: 0.2em;
}

.ymh-utility {
	background: #f5f1e8;
	border-bottom: 1px solid rgba(47, 47, 47, 0.1);
	color: #56534f;
	font-size: 0.7rem;
	letter-spacing: 0.08em;
}

.ymh-utility__inner {
	align-items: center;
	display: flex;
	justify-content: space-between;
	margin-inline: auto;
	max-width: 1240px;
	min-height: 42px;
	padding-inline: 24px;
}

.ymh-utility p {
	font-family: Arial, sans-serif;
	font-size: 0.62rem;
	letter-spacing: 0.16em;
	margin: 0;
}

.ymh-utility nav {
	align-items: stretch;
	display: flex;
	height: 42px;
}

.ymh-utility nav a {
	align-items: center;
	color: #45423e;
	display: flex;
	font-weight: 700;
	padding-inline: 1.1rem;
	text-decoration: none;
}

.ymh-utility nav .ymh-utility__contact {
	background: var(--ymh-orange);
	color: var(--ymh-white);
}

#header {
	border-top: 0;
	box-shadow: 0 3px 18px rgba(45, 40, 34, 0.07);
	position: relative;
	z-index: 20;
}

#header [data-row="middle"] {
	background: rgba(255, 255, 255, 0.98);
}

#header [data-row="middle"] > div {
	min-height: 76px;
}

.site-title-container {
	align-items: center;
	display: flex;
	gap: 0.72rem;
}

.site-title-container::before {
	align-items: center;
	background: var(--ymh-orange);
	color: var(--ymh-white);
	content: "Y";
	display: inline-flex;
	font-family: Georgia, serif;
	font-size: 1.2rem;
	font-weight: 700;
	height: 31px;
	justify-content: center;
	line-height: 1;
	transform: skewX(-8deg);
	width: 31px;
}

.site-title a {
	color: var(--ymh-navy);
	font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
	font-size: clamp(1rem, 1.55vw, 1.32rem);
	font-weight: 700;
	letter-spacing: 0.09em;
}

#header-menu-1 .menu {
	align-items: center;
	gap: clamp(0.25rem, 1vw, 1rem);
}

#header-menu-1 .ct-menu-link {
	color: var(--ymh-navy);
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.06em;
}

#header-menu-1 .menu-item:last-child .ct-menu-link {
	background: var(--ymh-orange);
	color: var(--ymh-white);
	min-height: 46px;
	padding-inline: 1.35rem;
}

#header-menu-1 .menu-item:last-child .ct-menu-link:hover {
	background: var(--ymh-orange-dark);
}

.home .hero-section,
.home .page-title {
	display: none;
}

.home #main,
.home #main > .ct-container,
.home #main > .ct-container-full,
.home .site-main,
.home article.page,
.home .entry-content {
	margin: 0;
	max-width: none;
	padding: 0;
	width: 100%;
}

.ymh-home {
	overflow: hidden;
}

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

.ymh-home :where(.wp-block-group, .wp-block-columns) {
	margin-bottom: 0;
}

.ymh-section {
	padding: clamp(5rem, 9vw, 8.5rem) max(5vw, calc((100vw - 1180px) / 2));
}

.ymh-kicker {
	align-items: center;
	color: var(--ymh-orange);
	display: flex;
	font-size: 0.76rem;
	font-weight: 800;
	gap: 0.75rem;
	letter-spacing: 0.2em;
	margin-bottom: 1.25rem;
	text-transform: uppercase;
}

.ymh-kicker::before {
	background: var(--ymh-orange);
	content: "";
	height: 2px;
	width: 38px;
}

.ymh-heading {
	color: var(--ymh-navy);
	font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
	font-size: clamp(2rem, 4vw, 3.75rem);
	font-weight: 600;
	letter-spacing: 0.06em;
	line-height: 1.45;
	margin-bottom: 1.6rem;
}

.ymh-heading--light {
	color: var(--ymh-white);
}

.ymh-lead {
	color: var(--ymh-muted);
	font-size: clamp(1rem, 1.4vw, 1.08rem);
	line-height: 2;
	max-width: 730px;
}

.ymh-hero {
	background: #f4efe4;
	min-height: min(690px, calc(100vh - 118px));
	padding: 0 max(4vw, calc((100vw - 1240px) / 2));
	position: relative;
}

.ymh-hero::after {
	background: linear-gradient(115deg, rgba(255, 255, 255, 0.42), transparent 46%);
	content: "";
	inset: 0;
	pointer-events: none;
	position: absolute;
}

.ymh-hero__columns {
	gap: 0;
	min-height: min(690px, calc(100vh - 118px));
	position: relative;
	z-index: 2;
}

.ymh-hero__content {
	padding: clamp(4rem, 7vw, 6.7rem) clamp(2rem, 5vw, 5rem) clamp(4rem, 7vw, 6rem) 0;
}

.ymh-hero__eyebrow {
	color: var(--ymh-orange);
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.2em;
	margin-bottom: 1.7rem;
}

.ymh-hero__title {
	color: var(--ymh-navy);
	font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
	font-size: clamp(3rem, 5.2vw, 5rem);
	font-weight: 600;
	letter-spacing: 0.055em;
	line-height: 1.3;
	margin-bottom: 2rem;
}

.ymh-hero__title strong {
	color: var(--ymh-orange);
	font-weight: inherit;
}

.ymh-hero__copy {
	color: #4d4a46;
	font-size: clamp(0.92rem, 1.35vw, 1.03rem);
	font-weight: 600;
	line-height: 2.15;
	max-width: 650px;
}

.ymh-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 0.8rem;
	margin-top: 2.25rem;
}

.ymh-buttons .wp-block-button__link {
	align-items: center;
	border: 1px solid var(--ymh-orange);
	border-radius: 0;
	display: inline-flex;
	font-size: 0.9rem;
	font-weight: 800;
	justify-content: center;
	letter-spacing: 0.08em;
	min-height: 58px;
	min-width: 210px;
	padding: 0.9rem 1.55rem;
	transition: 180ms ease;
}

.ymh-buttons .wp-block-button__link:not(.has-background) {
	background: var(--ymh-orange);
	color: var(--ymh-white);
}

.ymh-buttons .is-style-outline .wp-block-button__link {
	background: transparent;
	border-color: var(--ymh-orange) !important;
	color: var(--ymh-navy) !important;
}

.ymh-buttons .wp-block-button__link:hover {
	background: var(--ymh-orange-dark);
	border-color: var(--ymh-orange-dark);
	color: var(--ymh-white);
	transform: translateY(-2px);
}

.ymh-hero-photo {
	background-image: linear-gradient(90deg, rgba(244, 239, 228, 0.72), rgba(244, 239, 228, 0.02) 30%), url("../images/hero-legal-professional-v1.jpg");
	background-position: center;
	background-size: cover;
	height: min(690px, calc(100vh - 118px));
	min-height: 560px;
	position: relative;
	width: calc(100% + max(4vw, (100vw - 1240px) / 2));
}

.ymh-hero-photo::before {
	background: linear-gradient(90deg, #f4efe4 0%, rgba(244, 239, 228, 0.66) 12%, transparent 36%);
	content: "";
	inset: 0;
	pointer-events: none;
	position: absolute;
}

.ymh-hero-photo span {
	background: rgba(255, 255, 255, 0.76);
	bottom: 12px;
	color: #625e58;
	font-size: 0.58rem;
	letter-spacing: 0.08em;
	padding: 0.2rem 0.45rem;
	position: absolute;
	right: 12px;
}

.ymh-topics {
	background: #f4f4f3;
	border-bottom: 1px solid #d8d6d2;
	color: var(--ymh-ink);
	padding: 0 max(4vw, calc((100vw - 1240px) / 2));
}

.ymh-topics__inner {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin-inline: auto;
	max-width: 1240px;
}

.ymh-topic {
	align-items: baseline;
	border-left: 1px solid #d8d6d2;
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem;
	justify-content: center;
	min-height: 112px;
	padding: 1.3rem 1rem;
	text-align: center;
}

.ymh-topic:last-child {
	border-right: 1px solid #d8d6d2;
}

.ymh-topic span {
	flex-basis: 100%;
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.08em;
}

.ymh-topic strong {
	color: var(--ymh-orange);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 2.65rem;
	font-weight: 500;
	line-height: 1;
}

.ymh-topic small {
	font-size: 0.72rem;
	font-weight: 700;
}

.ymh-topic--message strong {
	font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
	font-size: 1.35rem;
	letter-spacing: 0.08em;
}

.ymh-field {
	background: var(--ymh-white);
}

.ymh-service-grid {
	display: grid !important;
	gap: 1.35rem;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin-top: clamp(2.8rem, 5vw, 4.5rem);
}

.ymh-service-card {
	background: var(--ymh-white);
	border: 1px solid var(--ymh-line);
	box-shadow: 0 12px 35px rgba(23, 36, 49, 0.045);
	min-height: 100%;
	overflow: hidden;
	padding: clamp(2rem, 3vw, 2.8rem);
	position: relative;
	transition: 200ms ease;
}

.ymh-service-card::before {
	background: var(--ymh-orange);
	content: "";
	height: 5px;
	left: 0;
	position: absolute;
	top: 0;
	width: 76px;
}

.ymh-service-card:hover {
	box-shadow: var(--ymh-shadow);
	transform: translateY(-5px);
}

.ymh-service-card__number {
	color: #c7cfd4;
	font-family: Georgia, serif;
	font-size: 1.2rem;
	letter-spacing: 0.08em;
	margin-bottom: 2rem;
}

.ymh-service-card h3 {
	color: var(--ymh-navy);
	font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
	font-size: clamp(1.5rem, 2vw, 2rem);
	letter-spacing: 0.08em;
	margin-bottom: 1.5rem;
}

.ymh-service-card ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.ymh-service-card li {
	border-top: 1px solid var(--ymh-line);
	color: #46535d;
	font-size: 0.9rem;
	font-weight: 600;
	padding: 0.82rem 0 0.82rem 1.05rem;
	position: relative;
}

.ymh-service-card li::before {
	background: var(--ymh-orange);
	content: "";
	height: 5px;
	left: 0;
	position: absolute;
	top: 1.16rem;
	width: 5px;
}

.ymh-service-note {
	color: var(--ymh-muted);
	font-size: 0.75rem;
	margin-top: 1.25rem;
}

.ymh-values {
	background: var(--ymh-cream);
}

.ymh-value-grid {
	display: grid !important;
	gap: clamp(2rem, 5vw, 4rem);
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin-top: 3.5rem;
}

.ymh-value-card {
	border-top: 1px solid #bfc7cc;
	padding-top: 1.8rem;
}

.ymh-value-card__num {
	color: var(--ymh-orange);
	font-family: Georgia, serif;
	font-size: 0.82rem;
	letter-spacing: 0.15em;
}

.ymh-value-card h3 {
	color: var(--ymh-navy);
	font-size: 1.15rem;
	letter-spacing: 0.06em;
	margin: 0.9rem 0 1rem;
}

.ymh-value-card p:last-child {
	color: var(--ymh-muted);
	font-size: 0.9rem;
	line-height: 1.9;
}

.ymh-about {
	background: var(--ymh-navy);
	color: var(--ymh-white);
}

.ymh-about__columns {
	gap: clamp(3rem, 8vw, 7rem);
}

.ymh-about .ymh-kicker {
	color: #ff9368;
}

.ymh-about .ymh-kicker::before {
	background: #ff9368;
}

.ymh-about .ymh-buttons .is-style-outline .wp-block-button__link {
	border-color: #ff9368 !important;
	color: var(--ymh-white) !important;
}

.ymh-about__copy {
	color: #d6dde2;
	line-height: 2.1;
}

.ymh-about-art {
	background: linear-gradient(145deg, #f4e8dc, #e7cdbc);
	min-height: 390px;
	position: relative;
}

.ymh-about-art::before,
.ymh-about-art::after {
	content: "";
	position: absolute;
}

.ymh-about-art::before {
	background: var(--ymh-orange);
	bottom: 0;
	height: 74%;
	right: 13%;
	transform: skewX(-16deg);
	width: 31%;
}

.ymh-about-art::after {
	border: 1px solid rgba(23, 36, 49, 0.35);
	inset: 32px;
}

.ymh-about-art__label {
	bottom: 3rem;
	color: var(--ymh-navy);
	font-family: Georgia, serif;
	font-size: clamp(2.3rem, 5vw, 4.5rem);
	left: 3rem;
	letter-spacing: 0.05em;
	line-height: 1.05;
	position: absolute;
	z-index: 2;
}

.ymh-news {
	background: var(--ymh-white);
}

.ymh-news-list {
	border-top: 1px solid var(--ymh-navy);
	margin-top: 2.75rem;
}

.ymh-news-item {
	align-items: center;
	border-bottom: 1px solid var(--ymh-line);
	color: var(--ymh-ink);
	display: grid;
	gap: 1.2rem;
	grid-template-columns: 100px 90px 1fr 24px;
	padding: 1.35rem 0;
	text-decoration: none;
}

.ymh-news-item time {
	color: var(--ymh-muted);
	font-family: Arial, sans-serif;
	font-size: 0.78rem;
}

.ymh-news-item__category {
	background: var(--ymh-orange-soft);
	color: var(--ymh-orange-dark);
	font-size: 0.67rem;
	font-weight: 800;
	padding: 0.35rem 0.5rem;
	text-align: center;
}

.ymh-news-item__title {
	font-size: 0.9rem;
	font-weight: 600;
}

.ymh-news-item__arrow {
	color: var(--ymh-orange);
}

.ymh-news-empty {
	border-bottom: 1px solid var(--ymh-line);
	border-top: 1px solid var(--ymh-line);
	color: var(--ymh-muted);
	margin-top: 2.75rem;
	padding: 1.5rem 0;
}

.ymh-contact {
	background: var(--ymh-orange);
	color: var(--ymh-white);
	padding-bottom: clamp(4rem, 7vw, 6rem);
	padding-top: clamp(4rem, 7vw, 6rem);
	text-align: center;
}

.ymh-contact .ymh-heading {
	color: var(--ymh-white);
	font-size: clamp(2rem, 4vw, 3.3rem);
	margin-bottom: 1rem;
}

.ymh-contact .ymh-kicker {
	color: rgba(255, 255, 255, 0.82);
	justify-content: center;
}

.ymh-contact .ymh-kicker::before {
	background: var(--ymh-white);
}

.ymh-contact__copy {
	font-size: 0.95rem;
	line-height: 1.9;
}

.ymh-contact .ymh-buttons {
	justify-content: center;
}

.ymh-contact .wp-block-button__link:not(.has-background) {
	background: var(--ymh-white);
	border-color: var(--ymh-white);
	color: var(--ymh-orange-dark);
}

#footer [data-row="bottom"] {
	background: #242424;
}

.ct-footer-copyright {
	color: #bfc8cf;
	font-size: 0.72rem;
	letter-spacing: 0.08em;
}

@media (max-width: 999px) {
	.ymh-hero {
		min-height: 0;
		padding: 0;
	}

	.ymh-hero::after {
		display: none;
	}

	.ymh-hero__columns,
	.ymh-about__columns {
		flex-wrap: wrap !important;
	}

	.ymh-hero__columns > .wp-block-column,
	.ymh-about__columns > .wp-block-column {
		flex-basis: 100% !important;
	}

	.ymh-hero__content {
		padding: 5rem 6vw 4rem;
	}

	.ymh-hero-photo {
		height: 520px;
		min-height: 0;
		width: 100%;
	}

	.ymh-topics__inner {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ymh-topic:nth-child(3) {
		border-top: 1px solid #d8d6d2;
	}

	.ymh-topic:nth-child(4) {
		border-top: 1px solid #d8d6d2;
	}

	.ymh-service-grid,
	.ymh-value-grid {
		grid-template-columns: 1fr;
	}

	.ymh-service-card {
		min-height: auto;
	}
}

@media (max-width: 689px) {
	.ymh-utility {
		display: none;
	}

	#header [data-row="middle"] > div {
		min-height: 68px;
	}

	.ymh-section,
	.ymh-hero__content {
		padding-left: 6vw;
		padding-right: 6vw;
	}

	.ymh-hero__content {
		padding-top: 4.25rem;
	}

	.ymh-hero__title {
		font-size: clamp(2.3rem, 11vw, 3.35rem);
	}

	.ymh-buttons,
	.ymh-buttons .wp-block-button,
	.ymh-buttons .wp-block-button__link {
		width: 100%;
	}

	.ymh-hero-photo {
		background-position: 60% center;
		height: 410px;
	}

	.ymh-topic {
		min-height: 104px;
		padding-inline: 0.55rem;
	}

	.ymh-topic strong {
		font-size: 2.25rem;
	}

	.ymh-topic--message strong {
		font-size: 1.05rem;
	}

	.ymh-heading {
		font-size: clamp(1.8rem, 9vw, 2.65rem);
	}

	.ymh-news-item {
		gap: 0.55rem 0.8rem;
		grid-template-columns: 86px 1fr 18px;
	}

	.ymh-news-item__category {
		grid-column: 1;
		grid-row: 2;
	}

	.ymh-news-item__title {
		grid-column: 2;
		grid-row: 1 / span 2;
	}

	.ymh-news-item__arrow {
		grid-column: 3;
		grid-row: 1 / span 2;
	}
}

/* Site-wide layout adjustments. */
.ymh-utility__inner {
	max-width: 1280px;
	padding-right: 0;
}

.ymh-utility nav .ymh-utility__contact {
	gap: 0.42rem;
	min-width: 118px;
	justify-content: center;
}

.ymh-utility nav .ymh-utility__contact--mail {
	background: #2b2b2b;
}

#header [data-row="middle"] > div {
	max-width: 1280px;
	min-height: 82px;
}

#header-menu-1 .menu {
	gap: clamp(0.2rem, 0.7vw, 0.75rem);
}

#header-menu-1 .ct-menu-link {
	font-size: clamp(0.72rem, 0.95vw, 0.84rem);
	padding-inline: clamp(0.55rem, 1.1vw, 1rem);
}

.ymh-hero,
.ymh-hero__columns {
	min-height: min(650px, calc(100vh - 124px));
}

.ymh-hero {
	background: #f3eee2;
}

.ymh-hero__content {
	padding-bottom: clamp(3.25rem, 5vw, 5rem);
	padding-top: clamp(3.5rem, 6vw, 5.5rem);
}

.ymh-hero__eyebrow {
	font-family: Arial, sans-serif;
	font-size: 0.68rem;
	margin-bottom: 1.45rem;
}

.ymh-hero__title,
.ymh-hero__title strong {
	color: #cf3f1d;
}

.ymh-hero__title {
	font-size: clamp(3.6rem, 5.4vw, 5.25rem);
	font-weight: 500;
	letter-spacing: 0.06em;
	line-height: 1.23;
	margin-bottom: 1.8rem;
}

.ymh-hero__copy {
	font-size: clamp(0.84rem, 1.1vw, 0.98rem);
	font-weight: 600;
	line-height: 2.1;
	margin-bottom: 1.3rem;
}

.ymh-hero__message {
	align-items: center;
	color: #302e2b;
	display: flex;
	font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
	font-size: clamp(1rem, 1.45vw, 1.25rem);
	font-weight: 700;
	gap: 1rem;
	letter-spacing: 0.06em;
	margin-bottom: 0;
}

.ymh-hero__message span {
	background: #56514a;
	display: inline-block;
	height: 1px;
	width: 62px;
}

.ymh-hero__buttons {
	margin-top: 1.85rem;
}

.ymh-hero__buttons .wp-block-button__link {
	font-size: 0.78rem;
	justify-content: space-between;
	min-height: 50px;
	min-width: 190px;
}

.ymh-hero-photo {
	height: min(650px, calc(100vh - 124px));
	min-height: 540px;
}

.ymh-topics__inner {
	max-width: 1180px;
}

.ymh-topic {
	min-height: 116px;
}

.ymh-media-portals {
	background: #fff;
	padding: 34px max(5vw, calc((100vw - 1180px) / 2)) 42px;
}

.ymh-media-portals__inner {
	display: grid;
	gap: 18px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ymh-media-portal {
	background: linear-gradient(115deg, #ce401f 0%, #e76a39 100%);
	color: #fff;
	cursor: not-allowed;
	display: grid;
	min-height: 170px;
	overflow: hidden;
	padding: 25px 86px 24px 30px;
	position: relative;
}

.ymh-media-portal--debt {
	background: linear-gradient(115deg, #323232 0%, #505050 100%);
}

.ymh-media-portal::after {
	border: 1px solid rgba(255, 255, 255, 0.34);
	content: "";
	height: 150px;
	position: absolute;
	right: -53px;
	top: 9px;
	transform: rotate(45deg);
	width: 150px;
}

.ymh-media-portal__badge {
	background: #fff;
	color: #a73419;
	font-size: 0.64rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	padding: 0.35rem 0.65rem;
	position: absolute;
	right: 14px;
	top: 13px;
}

.ymh-media-portal--debt .ymh-media-portal__badge {
	color: #2e2e2e;
}

.ymh-media-portal__label {
	font-size: 0.66rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	opacity: 0.8;
}

.ymh-media-portal strong {
	font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
	font-size: clamp(1.35rem, 2.2vw, 2rem);
	letter-spacing: 0.08em;
	line-height: 1.35;
}

.ymh-media-portal small {
	font-size: 0.72rem;
	opacity: 0.85;
}

.ymh-media-portal__url {
	align-items: center;
	display: flex;
	font-family: Arial, sans-serif;
	font-size: 0.68rem;
	justify-content: space-between;
	margin-top: 0.75rem;
	opacity: 0.85;
}

.ymh-media-portal__url b {
	font-size: 1rem;
}

.ymh-news--top {
	padding-bottom: clamp(4rem, 6vw, 5.5rem);
	padding-top: clamp(4rem, 6vw, 5.5rem);
}

.ymh-news__heading {
	align-items: flex-end;
	display: flex;
	gap: 3rem;
	justify-content: space-between;
}

.ymh-news__heading .ymh-heading {
	font-size: clamp(2rem, 3vw, 3rem);
	margin-bottom: 0;
}

.ymh-news-tabs {
	border-bottom: 1px solid #bbb8b3;
	display: flex;
	min-width: min(650px, 60vw);
}

.ymh-news-tabs span {
	color: #7c7974;
	font-size: 0.8rem;
	font-weight: 700;
	padding: 0.9rem clamp(1.2rem, 2.4vw, 2.3rem);
	position: relative;
	text-align: center;
}

.ymh-news-tabs .is-active {
	color: #292929;
}

.ymh-news-tabs .is-active::after {
	background: var(--ymh-orange);
	bottom: -1px;
	content: "";
	height: 2px;
	left: 0;
	position: absolute;
	right: 0;
}

.ymh-news-list {
	border-top: 0;
	margin-top: 2.1rem;
}

.ymh-news-item {
	grid-template-columns: 110px 104px 1fr 24px;
	padding: 0.9rem 0;
}

.ymh-news-item__category {
	background: #efefef;
	color: #4e4b47;
}

.ymh-news-item--empty {
	cursor: default;
}

.ymh-field {
	background: #efefef;
	position: relative;
}

.ymh-section-title {
	position: relative;
	text-align: center;
}

.ymh-section-title__ghost {
	color: rgba(255, 255, 255, 0.84);
	font-family: Georgia, serif;
	font-size: clamp(5rem, 12vw, 10rem);
	font-style: italic;
	left: 50%;
	letter-spacing: 0.04em;
	line-height: 0.8;
	pointer-events: none;
	position: absolute;
	top: -3.2rem;
	transform: translateX(-50%);
}

.ymh-section-title .ymh-kicker {
	justify-content: center;
	position: relative;
	text-transform: uppercase;
}

.ymh-section-title .ymh-heading {
	color: #a7351d;
	font-size: clamp(2.1rem, 3.4vw, 3.25rem);
	margin-bottom: 1rem;
	position: relative;
}

.ymh-section-title .ymh-lead {
	margin-inline: auto;
	position: relative;
}

.ymh-service-grid {
	align-items: stretch;
	gap: 28px;
	margin-top: clamp(3rem, 5vw, 4.75rem);
}

.ymh-service-card {
	background: #fff;
	border: 0;
	box-shadow: none;
	color: var(--ymh-ink);
	display: flex;
	flex-direction: column;
	min-width: 0;
	overflow: hidden;
	padding: 0;
	text-decoration: none;
}

.ymh-service-card::before {
	display: none;
}

.ymh-service-card:hover {
	box-shadow: 0 18px 42px rgba(35, 31, 27, 0.14);
	color: var(--ymh-ink);
	transform: translateY(-7px);
}

.ymh-service-card__image {
	background-position: center;
	background-size: cover;
	height: 225px;
	margin: 0;
	overflow: hidden;
	position: relative;
}

.ymh-service-card__image::after {
	background: var(--ymh-orange);
	bottom: 0;
	content: "";
	height: 4px;
	left: 0;
	position: absolute;
	width: 100%;
}

.ymh-service-card__image--fraud {
	background-image: url("../images/service-fraud-v1.jpg");
	background-position: 64% center;
}

.ymh-service-card__image--debt {
	background-image: url("../images/service-debt-v1.jpg");
}

.ymh-service-card__image--inheritance {
	background-image: url("../images/service-inheritance-v1.jpg");
}

.ymh-service-card__image span {
	background: rgba(255, 255, 255, 0.76);
	bottom: 10px;
	color: #655f59;
	font-size: 0.56rem;
	padding: 0.18rem 0.4rem;
	position: absolute;
	right: 10px;
	z-index: 2;
}

.ymh-service-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 28px 28px 26px;
}

.ymh-service-card__number {
	color: var(--ymh-orange);
	font-family: Arial, sans-serif;
	font-size: 0.64rem;
	font-weight: 700;
	letter-spacing: 0.15em;
	margin-bottom: 0.7rem;
}

.ymh-service-card h3 {
	font-size: clamp(1.35rem, 1.8vw, 1.75rem);
	margin-bottom: 1rem;
	text-align: center;
}

.ymh-service-card__body > p:not(.ymh-service-card__number) {
	color: #5e5b57;
	font-size: 0.82rem;
	line-height: 1.9;
	min-height: 6.1em;
}

.ymh-service-card ul {
	display: flex;
	flex-wrap: wrap;
	gap: 0 1rem;
	margin-top: 0.6rem;
}

.ymh-service-card li {
	border-top: 0;
	font-size: 0.76rem;
	padding: 0.28rem 0 0.28rem 0.72rem;
}

.ymh-service-card li::before {
	top: 0.68rem;
}

.ymh-service-card__more {
	align-items: center;
	border-top: 1px solid var(--ymh-line);
	display: flex;
	font-size: 0.78rem;
	font-weight: 800;
	justify-content: space-between;
	letter-spacing: 0.08em;
	margin-top: auto;
	padding-top: 1.2rem;
}

.ymh-service-card__more b {
	align-items: center;
	background: var(--ymh-orange);
	border-radius: 50%;
	color: #fff;
	display: inline-flex;
	height: 31px;
	justify-content: center;
	transition: 180ms ease;
	width: 31px;
}

.ymh-service-card:hover .ymh-service-card__more b {
	transform: translateX(4px);
}

.ymh-contact {
	background: linear-gradient(110deg, #a82f1b 0%, #dd5732 100%);
	padding: clamp(4.5rem, 7vw, 6.5rem) max(5vw, calc((100vw - 1180px) / 2));
	text-align: left;
}

.ymh-contact__inner {
	display: grid;
	grid-template-columns: 290px 1fr;
	margin-inline: auto;
	max-width: 1100px;
}

.ymh-contact__title {
	align-content: center;
	color: #fff;
	display: grid;
	padding: 2.5rem 2rem 2.5rem 0;
}

.ymh-contact__title p {
	font-family: Georgia, serif;
	font-size: 0.78rem;
	letter-spacing: 0.16em;
	margin-bottom: 0.7rem;
}

.ymh-contact__title h2 {
	color: #fff;
	font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
	font-size: clamp(1.7rem, 2.8vw, 2.45rem);
	letter-spacing: 0.08em;
	margin: 0;
	white-space: nowrap;
}

.ymh-contact__title > span {
	color: rgba(255, 255, 255, 0.82);
	font-size: 0.74rem;
	letter-spacing: 0.04em;
	margin-top: 1rem;
}

.ymh-contact__content {
	background: #fff;
	padding: 0;
}

.ymh-contact-tabs {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ymh-contact-tab {
	appearance: none;
	background: #f3eee8;
	border: 0;
	border-bottom: 1px solid #d9d3cc;
	border-right: 1px solid #d9d3cc;
	color: #4a4642;
	cursor: pointer;
	font-family: inherit;
	font-size: 0.86rem;
	font-weight: 800;
	line-height: 1.4;
	min-height: 66px;
	padding: 0.8rem 0.55rem;
	position: relative;
	transition: background 180ms ease, color 180ms ease;
}

.ymh-contact-tab:last-child {
	border-right: 0;
}

.ymh-contact-tab:hover,
.ymh-contact-tab:focus-visible {
	background: #ebe2d9;
	outline: 0;
}

.ymh-contact-tab.is-active {
	background: #fff;
	border-bottom-color: #fff;
	color: var(--ymh-orange);
}

.ymh-contact-tab.is-active::after {
	background: var(--ymh-orange);
	content: "";
	height: 4px;
	left: 0;
	position: absolute;
	right: 0;
	top: 0;
}

.ymh-contact-panel {
	padding: 24px 40px 20px;
}

.ymh-contact__panel-heading {
	align-items: end;
	display: flex;
	justify-content: space-between;
	margin-bottom: 0.35rem;
}

.ymh-contact__panel-heading p {
	align-items: center;
	display: flex;
	gap: 0.8rem;
	margin: 0;
}

.ymh-contact__panel-heading p span {
	background: #2d2d2d;
	color: #fff;
	font-size: 0.66rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	padding: 0.34rem 0.58rem;
}

.ymh-contact__panel-heading p strong {
	color: var(--ymh-orange);
	font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
	font-size: 1.35rem;
	letter-spacing: 0.05em;
}

.ymh-contact__panel-heading > small {
	color: #8b8580;
	font-size: 0.66rem;
}

.ymh-contact__intro {
	color: #67635f;
	font-size: 0.78rem;
	line-height: 1.8;
	margin-bottom: 0.8rem;
}

.ymh-contact-row {
	align-items: center;
	border-top: 1px solid #ddd9d4;
	display: grid;
	gap: 2rem;
	grid-template-columns: 1fr minmax(230px, 310px);
	padding: 1.25rem 0;
}

.ymh-contact-row__label {
	align-items: center;
	display: flex;
	gap: 0.8rem;
}

.ymh-contact-row__label > div {
	display: grid;
	gap: 0.22rem;
}

.ymh-contact-row__label small {
	color: #89837e;
	font-size: 0.7rem;
}

.ymh-contact-row__icon {
	color: var(--ymh-orange);
	font-size: 1.3rem;
}

.ymh-contact-row__label strong {
	color: #2d2d2d;
	font-size: clamp(1rem, 1.5vw, 1.22rem);
}

.ymh-contact-row__button {
	align-items: center;
	background: var(--ymh-orange);
	color: #fff;
	display: flex;
	font-size: 0.78rem;
	font-weight: 800;
	justify-content: space-between;
	min-height: 60px;
	padding: 0 1.3rem;
	text-decoration: none;
}

.ymh-contact-row__button > span {
	display: grid;
	gap: 0.2rem;
}

.ymh-contact-row__button > span > small {
	color: inherit;
	font-size: 0.62rem;
	font-weight: 600;
	line-height: 1.35;
	opacity: 0.86;
}

.ymh-contact-row__button > span > strong {
	color: inherit;
	font-size: 0.83rem;
}

.ymh-contact-row__button--phone > span {
	display: flex;
	flex-wrap: wrap;
	gap: 0.1rem 0.45rem;
}

.ymh-contact-row__button--phone > span small {
	flex-basis: 100%;
}

.ymh-contact-row__button--phone > span strong {
	font-family: Arial, sans-serif;
	font-size: clamp(1.2rem, 2vw, 1.55rem);
	letter-spacing: 0.03em;
}

.ymh-contact-row__button--phone > span em {
	align-self: center;
	font-size: 0.66rem;
	font-style: normal;
}

.ymh-contact-row__button--dark {
	background: #2d2d2d;
}

.ymh-contact-row__button.is-disabled {
	cursor: not-allowed;
	opacity: 0.82;
	pointer-events: none;
}

.ymh-subpage-hero {
	background: #f3eee2;
	padding: clamp(4.5rem, 8vw, 7rem) 6vw;
}

.ymh-subpage-hero > * {
	max-width: 1000px;
}

.ymh-subpage-hero h1 {
	color: #cf3f1d;
	font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
	font-size: clamp(2.8rem, 5vw, 4.7rem);
	letter-spacing: 0.08em;
	margin-bottom: 1.2rem;
}

.ymh-subpage-hero > p:last-child {
	color: #5e5a55;
	line-height: 1.9;
}

.ymh-subpage-services {
	background: #efefef;
	padding: clamp(4rem, 8vw, 7rem) 6vw;
}

.ymh-sub-service {
	background: #fff;
	border-left: 4px solid var(--ymh-orange);
	margin-bottom: 1.5rem;
	max-width: 1000px;
	padding: clamp(2rem, 4vw, 3.5rem);
}

.ymh-sub-service h2 {
	font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
	font-size: clamp(1.7rem, 3vw, 2.6rem);
	margin-bottom: 1.1rem;
}

.ymh-sub-service > p:last-child {
	color: #5f5b56;
	line-height: 1.95;
}

@media (max-width: 999px) {
	#header [data-row="middle"] > div {
		min-height: 72px;
	}

	.ymh-hero,
	.ymh-hero__columns {
		min-height: 0;
	}

	.ymh-hero-photo {
		height: 540px;
		min-height: 0;
	}

	.ymh-media-portals__inner {
		grid-template-columns: 1fr;
	}

	.ymh-news__heading {
		align-items: stretch;
		flex-direction: column;
		gap: 1.5rem;
	}

	.ymh-news-tabs {
		min-width: 0;
		width: 100%;
	}

	.ymh-contact__inner {
		grid-template-columns: 1fr;
	}

	.ymh-contact__title {
		padding: 0 0 1.8rem;
	}
}

@media (max-width: 689px) {
	.ymh-hero__title {
		font-size: clamp(2.2rem, 10vw, 3rem);
		letter-spacing: 0.025em;
	}

	.ymh-hero__message {
		display: block;
		font-size: 0.82rem;
		line-height: 1.8;
	}

	.ymh-hero__message span {
		display: none;
	}

	.ymh-media-portals {
		padding: 22px 6vw 28px;
	}

	.ymh-media-portal {
		min-height: 182px;
		padding: 25px 56px 23px 22px;
	}

	.ymh-news-tabs {
		overflow-x: auto;
	}

	.ymh-news-tabs span {
		flex: 1;
		font-size: 0.72rem;
		padding-inline: 0.65rem;
		white-space: nowrap;
	}

	.ymh-service-card__image {
		height: 230px;
	}

	.ymh-service-card__body > p:not(.ymh-service-card__number) {
		min-height: 0;
	}

	.ymh-contact {
		padding-inline: 6vw;
	}

	.ymh-contact__content {
		padding: 0;
	}

	.ymh-contact-tabs {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ymh-contact-tab:nth-child(2) {
		border-right: 0;
	}

	.ymh-contact-tab:nth-child(-n + 2) {
		border-bottom-color: #d9d3cc;
	}

	.ymh-contact-tab.is-active {
		border-bottom-color: #fff;
	}

	.ymh-contact-panel {
		padding: 20px 18px 16px;
	}

	.ymh-contact__panel-heading {
		align-items: flex-start;
		flex-direction: column;
		gap: 0.65rem;
	}

	.ymh-contact-row {
		gap: 1rem;
		grid-template-columns: 1fr;
	}

	.ymh-contact-row__button {
		min-height: 56px;
	}
}

/* Header and FV are intentionally one continuous cream canvas. */
.ymh-utility,
#header [data-row="middle"],
#header [data-row="middle"] > div {
	background: #f3eee2;
}

#header {
	border: 0;
	box-shadow: none;
}

#header [data-row="middle"] {
	border: 0;
}

#header [data-id="search"] {
	display: none;
}

.ymh-custom-page .hero-section {
	display: none;
}

.ymh-custom-page #main,
.ymh-custom-page #main > .ct-container,
.ymh-custom-page #main > .ct-container-full,
.ymh-custom-page .site-main,
.ymh-custom-page article.page,
.ymh-custom-page .entry-content {
	margin: 0;
	max-width: none;
	padding: 0;
	width: 100%;
}

.ymh-hero,
.ymh-hero__columns,
.ymh-hero__columns > .wp-block-column,
.ymh-hero-photo,
.ymh-topics {
	border: 0;
	margin-bottom: 0 !important;
	margin-top: 0 !important;
}

.ymh-hero-photo {
	display: block;
}

.ymh-representative {
	background: #fff;
	position: relative;
}

.ymh-representative__heading {
	align-items: end;
	display: grid;
	gap: 3rem;
	grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
	position: relative;
}

.ymh-representative__ghost {
	color: #f3f1ee;
	font-family: Georgia, serif;
	font-size: clamp(4.5rem, 10vw, 9rem);
	font-style: italic;
	left: -1rem;
	line-height: 0.8;
	pointer-events: none;
	position: absolute;
	top: -1.7rem;
}

.ymh-representative__heading > div,
.ymh-representative__heading > p {
	position: relative;
}

.ymh-representative__heading .ymh-heading {
	font-size: clamp(2rem, 3.6vw, 3.4rem);
	margin-bottom: 0;
}

.ymh-representative__heading > p {
	color: #6a6661;
	font-size: 0.9rem;
	line-height: 2;
}

.ymh-representative-card {
	background: #f1f1ef;
	color: #2d2d2d;
	display: grid;
	grid-template-columns: minmax(320px, 0.85fr) minmax(0, 1.15fr);
	margin: clamp(3rem, 5vw, 4.8rem) auto 0;
	max-width: 920px;
	min-height: 430px;
	overflow: hidden;
	text-decoration: none;
	transition: 220ms ease;
}

.ymh-representative-card:hover {
	box-shadow: 0 22px 55px rgba(38, 32, 28, 0.14);
	color: #2d2d2d;
	transform: translateY(-5px);
}

.ymh-representative-card__photo,
.ymh-profile-photo {
	align-items: center;
	background: linear-gradient(145deg, #e7e4de, #cac6bd);
	display: flex;
	justify-content: center;
	min-height: 430px;
	overflow: hidden;
	position: relative;
}

.ymh-representative-card__photo::after,
.ymh-profile-photo::after {
	background: linear-gradient(90deg, #bc351b, #e65a30);
	bottom: 0;
	content: "";
	height: 7px;
	left: 0;
	position: absolute;
	right: 0;
}

.ymh-representative-card__photo--ready img,
.ymh-profile-photo--ready img {
	display: block;
	height: 100%;
	min-height: 430px;
	object-fit: cover;
	object-position: 50% 28%;
	width: 100%;
}

.ymh-representative-card__photo small,
.ymh-profile-photo small {
	bottom: 22px;
	color: rgba(255, 255, 255, 0.9);
	font-family: Arial, sans-serif;
	font-size: 0.6rem;
	letter-spacing: 0.18em;
	position: absolute;
}

.ymh-representative-card__silhouette {
	background: #a9a59e;
	border-radius: 50%;
	height: 112px;
	position: relative;
	transform: translateY(-34px);
	width: 112px;
}

.ymh-representative-card__silhouette::after {
	background: #a9a59e;
	border-radius: 52% 52% 12% 12%;
	content: "";
	height: 190px;
	left: 50%;
	position: absolute;
	top: 92px;
	transform: translateX(-50%);
	width: 220px;
}

.ymh-representative-card__body {
	align-content: center;
	display: grid;
	padding: clamp(2.2rem, 5vw, 4.8rem);
}

.ymh-representative-card__role,
.ymh-profile-copy > span {
	color: var(--ymh-orange);
	font-size: 0.74rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	margin-bottom: 0.85rem;
}

.ymh-representative-card h3,
.ymh-profile-copy h2 {
	font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
	font-size: clamp(1.55rem, 2.4vw, 2.2rem);
	letter-spacing: 0.08em;
	margin-bottom: 0.5rem;
}

.ymh-representative-card__roman,
.ymh-profile-copy__roman {
	color: #8b8781;
	font-family: Arial, sans-serif;
	font-size: 0.64rem;
	letter-spacing: 0.13em;
	margin-bottom: 1.6rem;
}

.ymh-representative-card__body > p:not(.ymh-representative-card__roman) {
	color: #66615c;
	font-size: 0.86rem;
	line-height: 1.95;
}

.ymh-representative-card__more {
	align-items: center;
	border-top: 1px solid #cfcac3;
	display: flex;
	font-size: 0.8rem;
	font-weight: 800;
	justify-content: space-between;
	margin-top: 1.5rem;
	padding-top: 1.2rem;
}

.ymh-representative-card__more b {
	align-items: center;
	background: var(--ymh-orange);
	border-radius: 50%;
	color: #fff;
	display: inline-flex;
	height: 34px;
	justify-content: center;
	width: 34px;
}

.ymh-recruit-banner {
	background: #e8e8e5;
	overflow: hidden;
	padding: clamp(4rem, 7vw, 6.5rem) max(5vw, calc((100vw - 1180px) / 2));
	position: relative;
}

.ymh-recruit-banner::before {
	color: rgba(255, 255, 255, 0.82);
	content: "RECRUIT";
	font-family: Georgia, serif;
	font-size: clamp(6rem, 16vw, 14rem);
	font-style: italic;
	line-height: 1;
	position: absolute;
	right: -2rem;
	top: -1.2rem;
}

.ymh-recruit-banner__inner {
	align-items: end;
	display: flex;
	gap: 3rem;
	justify-content: space-between;
	position: relative;
}

.ymh-recruit-banner__inner h2 {
	font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
	font-size: clamp(2.2rem, 4vw, 3.8rem);
	letter-spacing: 0.08em;
	line-height: 1.45;
	margin: 0 0 1.2rem;
}

.ymh-recruit-banner__inner > div > p:last-child {
	color: #625e59;
	font-size: 0.88rem;
	line-height: 1.9;
}

.ymh-recruit-banner__inner > a {
	align-items: center;
	background: #292929;
	color: #fff;
	display: flex;
	font-size: 0.82rem;
	font-weight: 800;
	justify-content: space-between;
	min-height: 66px;
	min-width: 280px;
	padding: 0 1.6rem;
	text-decoration: none;
}

.ymh-profile-page {
	background: #fff;
	padding: clamp(4rem, 8vw, 7rem) 6vw;
}

.ymh-profile-intro {
	display: grid;
	grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1.18fr);
	margin: 0 auto clamp(4rem, 7vw, 6.5rem);
	max-width: 1000px;
}

.ymh-profile-copy {
	align-content: center;
	background: #f1f1ef;
	display: grid;
	padding: clamp(2.3rem, 5vw, 5rem);
}

.ymh-profile-copy h3 {
	font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
	font-size: clamp(1.35rem, 2.4vw, 2rem);
	line-height: 1.65;
	margin: 1rem 0;
}

.ymh-profile-copy > p:last-child {
	color: #65615d;
	font-size: 0.88rem;
	line-height: 2;
}

.ymh-profile-details {
	margin-inline: auto;
	max-width: 900px;
}

.ymh-profile-details h2,
.ymh-recruit-section h2,
.ymh-recruit-openings h2 {
	font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
	font-size: clamp(1.8rem, 3vw, 2.7rem);
	margin-bottom: 1.7rem;
}

.ymh-profile-details dl {
	border-top: 1px solid #cfcac3;
	margin: 0;
}

.ymh-profile-details dl > div {
	border-bottom: 1px solid #dcd8d2;
	display: grid;
	grid-template-columns: 190px 1fr;
	padding: 1.25rem 0;
}

.ymh-profile-details dt {
	font-weight: 800;
}

.ymh-profile-details dd {
	color: #66615c;
	margin: 0;
}

.ymh-recruit-hero {
	align-items: center;
	background: linear-gradient(120deg, #dddcd7 0%, #f1f0ec 62%, #d3d1ca 100%);
	display: flex;
	min-height: 610px;
	overflow: hidden;
	padding: 7vw max(6vw, calc((100vw - 1180px) / 2));
	position: relative;
}

.ymh-recruit-hero::before {
	background: repeating-linear-gradient(90deg, transparent 0, transparent 96px, rgba(255, 255, 255, 0.34) 97px);
	content: "";
	inset: 0;
	position: absolute;
}

.ymh-recruit-hero__mark {
	font-family: Arial, sans-serif;
	font-size: clamp(1.15rem, 2vw, 1.75rem);
	font-weight: 800;
	left: max(4vw, calc((100vw - 1240px) / 2));
	letter-spacing: 0.06em;
	line-height: 0.95;
	position: absolute;
	top: 38px;
}

.ymh-recruit-hero__copy {
	position: relative;
	z-index: 2;
}

.ymh-recruit-hero__copy > p {
	color: var(--ymh-orange);
	font-family: Arial, sans-serif;
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.18em;
}

.ymh-recruit-hero__copy h1 {
	font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
	font-size: clamp(3rem, 6vw, 5.8rem);
	font-weight: 500;
	letter-spacing: 0.08em;
	line-height: 1.32;
	margin: 1.2rem 0;
}

.ymh-recruit-hero__copy > span {
	font-family: Arial, sans-serif;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.08em;
}

.ymh-recruit-hero__shape {
	background: linear-gradient(145deg, #c7361d, #eb663b);
	clip-path: polygon(30% 0, 100% 0, 70% 100%, 0 100%);
	height: 130%;
	position: absolute;
	right: 4vw;
	top: -15%;
	transform: rotate(-4deg);
	width: 34vw;
}

.ymh-recruit-page {
	background: #fff;
}

.ymh-recruit-message,
.ymh-recruit-section,
.ymh-recruit-openings {
	margin-inline: auto;
	max-width: 1000px;
	padding: clamp(4.5rem, 8vw, 7rem) 6vw;
}

.ymh-recruit-message h2 {
	font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
	font-size: clamp(2.2rem, 4.2vw, 3.8rem);
	line-height: 1.5;
	margin-bottom: 1.5rem;
}

.ymh-recruit-message > p:last-child,
.ymh-recruit-section > p:last-child {
	color: #625e59;
	line-height: 2;
}

.ymh-recruit-links {
	display: grid;
	gap: 1px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin: 0 auto;
	max-width: 1000px;
}

.ymh-recruit-links a {
	background: #2d2d2d;
	color: #fff;
	display: grid;
	gap: 0.8rem;
	min-height: 170px;
	padding: 1.6rem;
	text-decoration: none;
}

.ymh-recruit-links a:nth-child(2) {
	background: #3c3c3c;
}

.ymh-recruit-links a:nth-child(3) {
	background: var(--ymh-orange);
}

.ymh-recruit-links span {
	font-family: Georgia, serif;
	opacity: 0.65;
}

.ymh-recruit-links strong {
	font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
	font-size: 1.3rem;
}

.ymh-recruit-links b {
	justify-self: end;
}

.ymh-recruit-section--gray {
	background: #efefed;
	max-width: none;
	padding-inline: max(6vw, calc((100vw - 1000px) / 2));
}

.ymh-recruit-values {
	display: grid;
	gap: 1.2rem;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ymh-recruit-values > div {
	background: #fff;
	padding: 2rem;
}

.ymh-recruit-values span {
	color: var(--ymh-orange);
	font-family: Georgia, serif;
}

.ymh-recruit-values h3 {
	font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
	font-size: 1.25rem;
	margin: 0.9rem 0;
}

.ymh-recruit-values p {
	color: #66615c;
	font-size: 0.84rem;
	line-height: 1.8;
}

.ymh-recruit-status {
	align-items: center;
	border-bottom: 1px solid #cbc6bf;
	border-top: 1px solid #cbc6bf;
	display: grid;
	gap: 2rem;
	grid-template-columns: 160px 1fr;
	padding: 2rem 0;
}

.ymh-recruit-status span {
	background: #343434;
	color: #fff;
	font-size: 0.76rem;
	font-weight: 800;
	padding: 0.8rem 1rem;
	text-align: center;
}

.ymh-recruit-status p {
	color: #635f5a;
	margin: 0;
}

@media (max-width: 999px) {
	.ymh-representative__heading {
		align-items: start;
		grid-template-columns: 1fr;
	}

	.ymh-representative-card,
	.ymh-profile-intro {
		grid-template-columns: minmax(230px, 0.8fr) minmax(0, 1.2fr);
	}

	.ymh-recruit-hero {
		min-height: 540px;
	}

	.ymh-recruit-hero__shape {
		opacity: 0.88;
		right: -8vw;
		width: 40vw;
	}
}

@media (max-width: 689px) {
	#header,
	#header [data-row="middle"],
	#header [data-row="middle"] > div {
		background: #f3eee2;
	}

	.ymh-hero__content {
		padding-top: 3.2rem;
	}

	.ymh-representative-card,
	.ymh-profile-intro {
		grid-template-columns: 1fr;
	}

	.ymh-representative-card__photo,
	.ymh-profile-photo {
		min-height: 360px;
	}

	.ymh-representative-card__photo--ready img,
	.ymh-profile-photo--ready img {
		min-height: 360px;
	}

	.ymh-representative-card__body,
	.ymh-profile-copy {
		padding: 2rem 1.4rem;
	}

	.ymh-recruit-banner__inner {
		align-items: stretch;
		flex-direction: column;
	}

	.ymh-recruit-banner__inner > a {
		min-width: 0;
		width: 100%;
	}

	.ymh-profile-details dl > div,
	.ymh-recruit-status {
		gap: 0.6rem;
		grid-template-columns: 1fr;
	}

	.ymh-recruit-hero {
		min-height: 530px;
		padding-inline: 7vw;
	}

	.ymh-recruit-hero__copy h1 {
		font-size: clamp(2.5rem, 12vw, 3.6rem);
	}

	.ymh-recruit-hero__shape {
		height: 48%;
		opacity: 0.25;
		right: -12vw;
		top: 52%;
		width: 70vw;
	}

	.ymh-recruit-links,
	.ymh-recruit-values {
		grid-template-columns: 1fr;
	}

	.ymh-recruit-links {
		margin-inline: 6vw;
	}

	.ymh-recruit-links a {
		min-height: 125px;
	}
}

/* Specialist media colors and iconography. */
.ymh-media-portal--fraud {
	background: linear-gradient(115deg, #1f1f1f 0%, #3d3d3d 100%);
}

.ymh-media-portal--debt {
	background: linear-gradient(115deg, #ce401f 0%, #e76a39 100%);
}

.ymh-media-portal--fraud .ymh-media-portal__badge {
	color: #252525;
}

.ymh-media-portal--debt .ymh-media-portal__badge {
	color: #a73419;
}

.ymh-media-portal__icon {
	color: rgba(255, 255, 255, 0.38);
	position: absolute;
	right: 58px;
	top: 52px;
	width: 66px;
	z-index: 1;
}

.ymh-media-portal__icon svg,
.ymh-campaign-link__icon svg {
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.8;
	width: 100%;
}

.ymh-media-portal > :not(.ymh-media-portal__icon):not(.ymh-media-portal__badge) {
	position: relative;
	z-index: 2;
}

/* Campaign links below practice areas. */
.ymh-campaign-links {
	display: grid;
	gap: 28px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin-top: 34px;
}

.ymh-campaign-link {
	align-items: center;
	background: #fff;
	border: 2px solid currentColor;
	color: #323232;
	display: grid;
	gap: 0.9rem;
	grid-template-columns: 42px 1fr 24px;
	min-height: 88px;
	padding: 24px 22px 17px;
	position: relative;
	text-decoration: none;
	transition: 180ms ease;
}

.ymh-campaign-link--debt {
	color: var(--ymh-orange);
}

.ymh-campaign-link:hover {
	background: #323232;
	color: #fff;
	transform: translateY(-3px);
}

.ymh-campaign-link--debt:hover {
	background: var(--ymh-orange);
}

.ymh-campaign-link__badge {
	background: #323232;
	color: #fff;
	font-size: 0.67rem;
	font-weight: 800;
	left: -2px;
	letter-spacing: 0.05em;
	padding: 0.42rem 1.7rem 0.42rem 0.8rem;
	position: absolute;
	top: -2px;
}

.ymh-campaign-link--debt .ymh-campaign-link__badge {
	background: var(--ymh-orange);
}

.ymh-campaign-link__badge::after {
	border-bottom: 14px solid transparent;
	border-right: 14px solid #fff;
	border-top: 14px solid transparent;
	content: "";
	position: absolute;
	right: -1px;
	top: 0;
}

.ymh-campaign-link:hover .ymh-campaign-link__badge {
	color: #fff;
}

.ymh-campaign-link__icon {
	margin-top: 10px;
	width: 38px;
}

.ymh-campaign-link strong {
	font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
	font-size: clamp(1rem, 1.4vw, 1.2rem);
	letter-spacing: 0.04em;
	margin-top: 10px;
	text-align: center;
}

.ymh-campaign-link__arrow {
	font-size: 1.1rem;
	margin-top: 10px;
}

.ymh-contact-row__icon--line {
	align-items: center;
	background: #06c755;
	border-radius: 5px;
	color: #fff;
	display: inline-flex;
	font-family: Arial, sans-serif;
	font-size: 0.56rem;
	font-weight: 800;
	height: 27px;
	justify-content: center;
	letter-spacing: -0.04em;
	width: 27px;
}

.ymh-contact-row__button--line {
	background: #06c755;
}

/* Temporary destinations for the two future advertising LPs. */
.ymh-lp-placeholder {
	align-items: center;
	display: flex;
	min-height: calc(100vh - 125px);
	overflow: hidden;
	padding: clamp(5rem, 10vw, 9rem) max(6vw, calc((100vw - 1100px) / 2));
	position: relative;
}

.ymh-lp-placeholder--fraud {
	background: linear-gradient(120deg, #1c1c1c 0%, #353535 68%, #111 100%);
	color: #fff;
}

.ymh-lp-placeholder--debt {
	background: linear-gradient(120deg, #f4eee2 0%, #f4eee2 68%, #df4d22 68%, #bd3518 100%);
	color: #292929;
}

.ymh-lp-placeholder::after {
	border: 1px solid currentColor;
	content: "";
	height: 480px;
	position: absolute;
	right: -120px;
	top: 50%;
	transform: rotate(45deg) translateY(-50%);
	width: 480px;
	opacity: 0.15;
}

.ymh-lp-placeholder__inner {
	max-width: 720px;
	position: relative;
	z-index: 2;
}

.ymh-lp-placeholder__badge {
	background: var(--ymh-orange);
	color: #fff;
	display: inline-block;
	font-size: 0.7rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	margin-bottom: 2rem;
	padding: 0.6rem 0.9rem;
}

.ymh-lp-placeholder__inner > p:first-of-type {
	font-family: Arial, sans-serif;
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.18em;
	opacity: 0.72;
}

.ymh-lp-placeholder h1 {
	color: inherit;
	font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
	font-size: clamp(2.7rem, 5.8vw, 5.5rem);
	font-weight: 500;
	letter-spacing: 0.06em;
	line-height: 1.4;
	margin: 1rem 0 1.5rem;
}

.ymh-lp-placeholder__lead {
	font-size: 0.95rem;
	line-height: 2;
	max-width: 620px;
	opacity: 0.84;
}

.ymh-lp-placeholder__status {
	border-bottom: 1px solid currentColor;
	border-top: 1px solid currentColor;
	font-weight: 800;
	margin: 2rem 0;
	opacity: 0.72;
	padding: 1rem 0;
}

.ymh-lp-placeholder__inner > a {
	align-items: center;
	background: var(--ymh-orange);
	color: #fff;
	display: flex;
	font-size: 0.82rem;
	font-weight: 800;
	justify-content: space-between;
	max-width: 320px;
	min-height: 62px;
	padding: 0 1.4rem;
	text-decoration: none;
}

.ymh-lp-placeholder--debt .ymh-lp-placeholder__inner > a {
	background: #292929;
}

@media (max-width: 689px) {
	.ymh-media-portal__icon {
		right: 38px;
		top: 65px;
		width: 56px;
	}

	.ymh-campaign-links {
		gap: 18px;
		grid-template-columns: 1fr;
	}

	.ymh-campaign-link {
		min-height: 92px;
	}

	.ymh-lp-placeholder {
		min-height: calc(100vh - 72px);
		padding-inline: 7vw;
	}

	.ymh-lp-placeholder--debt {
		background: linear-gradient(145deg, #f4eee2 0%, #f4eee2 80%, #df4d22 80%, #bd3518 100%);
	}
}
