@charset "UTF-8";

/**
 * Google 翻訳 / non-ja UI 時のレイアウト耐性
 *
 * body.matching-ui-non-ja が付与された求職者向け公開面のみ有効。
 * 固定幅・nowrap 前提の UI を、翻訳後の長い文字列でも折り返せるように緩める。
 */

.matching-ui-non-ja {
	overflow-wrap: break-word;
}

/* ── ヘッダー（翻訳・non-ja UI） ── */
.matching-ui-non-ja .site-header-inner {
	row-gap: 1rem;
	align-items: center;
}

.matching-ui-non-ja .site-header .main-navigation,
.matching-ui-non-ja .matching-header-drawer {
	min-width: 0;
}

.matching-ui-non-ja .header-account-nav--mobile-bar,
.matching-ui-non-ja .site-header .header-account-nav--drawer {
	flex-wrap: nowrap;
	justify-content: flex-end;
	max-width: 100%;
}

.matching-ui-non-ja .site-header .header-account-nav--drawer {
	justify-content: stretch;
}

/* アカウント CTA: pill は1行のまま（翻訳ラベルが折り返して崩れない） */
.matching-ui-non-ja .site-header .header-account-nav--drawer .header-account-link,
.matching-ui-non-ja .site-header .header-account-nav--mobile-bar .header-account-link {
	white-space: nowrap;
	text-wrap: nowrap;
	overflow-wrap: normal;
	line-height: 1;
}

.matching-ui-non-ja .matching-header-toggle {
	white-space: normal;
	text-wrap: balance;
	overflow-wrap: anywhere;
	line-height: 1.35;
	hyphens: auto;
}

.matching-ui-non-ja .site-header:not(.matching-login-topbar) .matching-header-drawer .header-language-switch,
.matching-ui-non-ja .site-header:not(.matching-login-topbar) .header-language-switch {
	flex-shrink: 1;
	min-width: 0;
	max-width: 100%;
}

/* ログイン topbar: 公開ヘッダーと同じ pill 幅・表示を維持 */
.matching-ui-non-ja .matching-login-topbar .header-language-switch,
.matching-ui-non-ja .matching-login-topbar .header-language-switch--login-topbar {
	flex-shrink: 0;
	max-width: 100%;
}

.matching-ui-non-ja .matching-login-topbar .header-language-switch--login-topbar .lang-btn,
.matching-ui-non-ja .matching-login-topbar .header-language-switch--login-topbar .matching-lang-other-trigger {
	white-space: nowrap;
	text-wrap: nowrap;
	overflow-wrap: normal;
	line-height: 1;
	hyphens: manual;
	width: auto;
	height: auto;
	flex: 1 1 0;
	min-width: 0;
}

.matching-ui-non-ja .site-header .matching-lang-other-option {
	white-space: normal;
	overflow-wrap: anywhere;
	line-height: 1.35;
}

.matching-ui-non-ja .site-header .primary-menu {
	row-gap: 0.35rem;
	flex-wrap: wrap;
}

.matching-ui-non-ja .site-header .primary-menu a {
	white-space: normal;
	line-height: 1.35;
	text-align: center;
	width: auto;
	height: auto;
}

/* デスクトップ（769px+）: 長い翻訳ラベルでも横並びを維持しやすく */
@media (min-width: 769px) {
	.matching-ui-non-ja .site-header-inner {
		flex-wrap: wrap;
		column-gap: 1rem;
	}

	.matching-ui-non-ja .site-header .primary-menu {
		justify-content: flex-end;
		gap: 0.4rem 1rem;
	}

	.matching-ui-non-ja .site-header .primary-menu a {
		font-size: var(--matching-public-caption-fs, 1.5rem);
	}

	/* 新規登録 / ログイン: 縦2段で幅を抑え、ヘッダー行のはみ出しを防ぐ */
	.matching-ui-non-ja .site-header .header-account-nav--drawer {
		flex-direction: column;
		align-items: stretch;
		flex-wrap: nowrap;
		gap: 0.35rem;
		width: max-content;
		max-width: 100%;
	}

	.matching-ui-non-ja .site-header .header-account-nav--drawer .header-account-link {
		width: auto;
		min-width: 100%;
		max-width: none;
		box-sizing: border-box;
		text-align: center;
		padding: 0.5rem 0.95rem;
		font-size: var(--matching-public-label-fs, 1.5rem);
	}

	.matching-ui-non-ja .site-header .header-language-switch,
	.matching-ui-non-ja .site-header .matching-header-drawer .header-language-switch {
		display: inline-flex;
		flex-wrap: nowrap;
		align-items: center;
		padding: 0.25rem;
		gap: 0.25rem;
	}

	.matching-ui-non-ja .matching-login-topbar .header-language-switch--login-topbar {
		flex-wrap: nowrap;
	}

	.matching-ui-non-ja .site-header .header-language-switch a.lang-btn,
	.matching-ui-non-ja .site-header .header-language-switch .matching-lang-other-trigger,
	.matching-ui-non-ja .site-header .header-account-link {
		width: auto;
		height: auto;
		flex: 0 0 auto;
		white-space: nowrap;
		text-wrap: nowrap;
		overflow-wrap: normal;
	}

	.matching-ui-non-ja .site-header .header-language-switch .lang-btn,
	.matching-ui-non-ja .site-header .matching-header-drawer .header-language-switch .lang-btn {
		min-height: 2.75rem;
		padding: 0.5rem 0.85rem;
		font-size: var(--matching-public-label-fs, 1.5rem);
	}
}

/* モバイル・タブレット縦（768px以下）: バー上 CTA・ドロワー内 */
@media (max-width: 768px) {
	.matching-ui-non-ja .site-header-inner {
		row-gap: 0;
	}

	.matching-ui-non-ja .site-header-bar-actions {
		flex-wrap: nowrap;
		min-width: 0;
		max-width: 100%;
	}

	/* バー: 新規登録のみ。長い英語ラベルは ellipsis で1行に収める */
	.matching-ui-non-ja .site-header .header-account-nav--mobile-bar {
		flex-direction: row;
		align-items: center;
		justify-content: flex-end;
		gap: 0;
		flex: 1 1 auto;
		min-width: 0;
		max-width: 100%;
		overflow: hidden;
	}

	.matching-ui-non-ja .site-header .header-account-nav--mobile-bar .header-account-link--login {
		display: none;
	}

	.matching-ui-non-ja .site-header .header-account-nav--mobile-bar .header-account-link {
		width: auto;
		max-width: 100%;
		min-height: 3.5rem;
		white-space: nowrap;
		text-wrap: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
		overflow-wrap: normal;
		line-height: 1.2;
		padding: 0.45rem 0.7rem;
		font-size: var(--matching-header-mobile-cta-fs, clamp(1.25rem, 3.4vw, 1.45rem));
		box-shadow: 0 2px 8px rgba(0, 119, 199, 0.18);
	}

	/* ドロワー: ログイン / マイページは従来どおり表示 */
	.matching-ui-non-ja .site-header .header-account-nav--drawer {
		align-items: stretch;
	}

	.matching-ui-non-ja .site-header .header-account-nav--drawer .header-account-link--register {
		display: none;
	}

	.matching-ui-non-ja .site-header .header-account-nav--drawer .header-account-link--login {
		display: inline-flex;
	}

	/* ドロワー内言語切替: その他トリガーは中央、リスト項目は左揃え */
	.matching-ui-non-ja .site-header .matching-header-drawer .header-language-switch .matching-lang-other-trigger {
		justify-content: center;
		text-align: center;
	}

	.matching-ui-non-ja .site-header .matching-header-drawer .matching-lang-other-label {
		white-space: normal;
		text-align: center;
		overflow-wrap: anywhere;
	}

	.matching-ui-non-ja .site-header .matching-header-drawer .matching-lang-other-option {
		justify-content: flex-start;
		text-align: left;
		white-space: normal;
		overflow-wrap: anywhere;
	}

	/* ドロワー内 pill: non-ja でも折り返さない（グリッドセル内で中央表示） */
	.matching-ui-non-ja .site-header .matching-header-drawer .header-language-switch .lang-btn,
	.matching-ui-non-ja .site-header .matching-header-drawer .header-language-switch .matching-lang-other-trigger {
		white-space: nowrap;
		text-wrap: nowrap;
		overflow-wrap: normal;
		line-height: 1;
		hyphens: manual;
	}

	/* ログイン topbar: PC と同じ pill 横並びを維持 */
	.matching-ui-non-ja .matching-login-topbar .header-language-switch--login-topbar {
		flex-wrap: nowrap;
	}
}

.matching-ui-non-ja .btn,
.matching-ui-non-ja a.btn,
.matching-ui-non-ja button.btn,
.matching-ui-non-ja input[type="submit"].btn {
	white-space: normal;
	text-wrap: balance;
	overflow-wrap: anywhere;
	hyphens: auto;
	max-width: 100%;
}

.matching-ui-non-ja .btn > span,
.matching-ui-non-ja .page-login-submit-label,
.matching-ui-non-ja .matching-job-bookmark-btn {
	white-space: normal;
	text-wrap: balance;
	overflow-wrap: anywhere;
}

.matching-ui-non-ja .requirement-detail-sticky-actions .matching-job-bookmark-btn,
.matching-ui-non-ja .requirement-detail-sticky-actions .matching-job-bookmark-btn-label {
	white-space: nowrap;
	text-wrap: nowrap;
	overflow-wrap: normal;
}

.matching-ui-non-ja .matching-job-bookmark-gate-actions .btn {
	height: auto;
	min-height: var(--matching-btn-min-height);
	padding-block: 0.75rem;
	line-height: 1.35;
	white-space: normal;
	text-wrap: balance;
	overflow-wrap: anywhere;
}

.matching-ui-non-ja .matching-job-bookmark-gate-title,
.matching-ui-non-ja .matching-job-bookmark-gate-lead {
	text-wrap: pretty;
	overflow-wrap: anywhere;
}

.matching-ui-non-ja .front-hero-actions-btns {
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
}

.matching-ui-non-ja .front-hero-actions-btns .btn {
	height: auto;
	min-height: var(--matching-btn-min-height);
	padding-block: 0.75rem;
	line-height: 1.35;
}

.matching-ui-non-ja .front-hero-auth-actions {
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
}

.matching-ui-non-ja .front-hero-auth-actions .btn {
	height: auto;
	min-height: var(--matching-btn-min-height);
	padding-block: 0.75rem;
	line-height: 1.35;
}

.matching-ui-non-ja .front-hero-title {
	text-wrap: balance;
	overflow-wrap: anywhere;
}

.matching-ui-non-ja .front-hero-brand-by {
	overflow-wrap: anywhere;
}

.matching-ui-non-ja .front-hero-search-advanced,
.matching-ui-non-ja .front-job-section-more {
	white-space: normal;
	text-wrap: balance;
}

.matching-ui-non-ja .page-jobs-filters-row-selects,
.matching-ui-non-ja .page-jobs .dashboard-filters-row {
	flex-wrap: wrap;
}

.matching-ui-non-ja .page-jobs-field--posted,
.matching-ui-non-ja .page-jobs-field--salary,
.matching-ui-non-ja .page-jobs-field--employment {
	flex: 1 1 12rem;
	max-width: none;
}

.matching-ui-non-ja .dashboard-filter-trigger,
.matching-ui-non-ja .dashboard-filter-trigger-value,
.matching-ui-non-ja .dashboard-active-filter-chip,
.matching-ui-non-ja .dashboard-active-filter-clear {
	white-space: normal;
	text-wrap: balance;
	overflow-wrap: anywhere;
	max-width: 100%;
}

.matching-ui-non-ja .requirement-card-badge-text,
.matching-ui-non-ja .requirement-card-meta-chip,
.matching-ui-non-ja .requirement-card-published,
.matching-ui-non-ja .requirement-detail-tag {
	white-space: normal;
	text-wrap: balance;
	overflow-wrap: anywhere;
	hyphens: auto;
	max-width: 100%;
}

/* 給与: 翻訳で種別ラベルが長くなってもカード・概要内に収める */
.matching-ui-non-ja .requirement-salary {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.2em;
	width: 100%;
	max-width: 100%;
	min-width: 0;
}

.matching-ui-non-ja .requirement-salary-type,
.matching-ui-non-ja .requirement-salary-type--hourly {
	flex: 0 0 auto;
	max-width: 100%;
	white-space: normal;
	text-wrap: balance;
	overflow-wrap: anywhere;
	line-height: 1.35;
}

.matching-ui-non-ja .requirement-salary-range {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.12em 0.35em;
	max-width: 100%;
	min-width: 0;
	white-space: normal;
}

.matching-ui-non-ja .requirement-salary-amount,
.matching-ui-non-ja .requirement-salary-range-sep {
	max-width: 100%;
	white-space: normal;
	overflow-wrap: anywhere;
	word-break: normal;
}

.matching-ui-non-ja .requirement-detail-highlights,
.matching-ui-non-ja .requirement-detail-highlight,
.matching-ui-non-ja .requirement-detail-highlight-value,
.matching-ui-non-ja .requirement-card-dl-row--salary,
.matching-ui-non-ja .requirement-card-dl-dd--salary,
.matching-ui-non-ja .requirement-detail-dl-row--salary .requirement-detail-dl-dd,
.matching-ui-non-ja .requirement-detail-dl-row--salary-hourly .requirement-detail-dl-dd,
.matching-ui-non-ja .recruit-entry-job-card-dl-row--salary dd {
	min-width: 0;
	max-width: 100%;
	overflow-wrap: anywhere;
	word-break: normal;
}

.matching-ui-non-ja .requirement-detail-highlight--salary .requirement-detail-highlight-value,
.matching-ui-non-ja .requirement-detail-highlight--salary-hourly .requirement-detail-highlight-value {
	overflow-wrap: anywhere;
	white-space: normal;
}

.matching-ui-non-ja .requirement-card-more-link {
	white-space: normal;
	text-wrap: balance;
}

.matching-ui-non-ja .requirement-detail-table th,
.matching-ui-non-ja .requirement-detail-table td,
.matching-ui-non-ja .requirement-detail-entry-lead {
	overflow-wrap: anywhere;
	word-break: break-word;
}

.matching-ui-non-ja .my-page-hero-main {
	grid-template-columns: auto minmax(0, 1fr);
}

@media (min-width: 769px) {
	.matching-ui-non-ja .my-page-hero-main {
		grid-template-columns: auto minmax(0, 1fr) minmax(0, auto);
	}
}

.matching-ui-non-ja .my-page-step-actions,
.matching-ui-non-ja .my-page-step-head,
.matching-ui-non-ja .my-page-shortcuts,
.matching-ui-non-ja .my-page-bookmark-actions {
	flex-wrap: wrap;
}

.matching-ui-non-ja .my-page-step-actions {
	width: 100%;
}

.matching-ui-non-ja .my-page-application-date,
.matching-ui-non-ja .my-page-kicker-pill {
	white-space: normal;
	text-wrap: balance;
}

/* マイページ：英語 UI では希望職種ラベルが長くなりやすい */
.matching-ui-non-ja .my-page-summary-row {
	grid-template-columns: minmax(0, 1fr);
	gap: 0.25rem;
}

.matching-ui-non-ja .my-page-summary-row dt,
.matching-ui-non-ja .my-page-summary-row dd,
.matching-ui-non-ja .my-page-desired-jobs li {
	white-space: normal;
	text-wrap: balance;
	overflow-wrap: anywhere;
	word-break: break-word;
}

.matching-ui-non-ja .my-page-desired-jobs {
	min-width: 0;
	max-width: 100%;
}

.matching-ui-non-ja .page-login-market-tabs {
	flex-wrap: wrap;
}

.matching-ui-non-ja .page-login-market-tab {
	flex: 1 1 min(100%, 12rem);
	height: auto;
	min-height: 3.2rem;
	white-space: normal;
	text-wrap: balance;
	overflow-wrap: anywhere;
}

.matching-ui-non-ja .page-login-privacy-note {
	text-wrap: balance;
	overflow-wrap: anywhere;
}

.matching-ui-non-ja .page-login-footer-nav {
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.75rem;
}

.matching-ui-non-ja .page-login-footer-link {
	white-space: normal;
	text-align: center;
	overflow-wrap: anywhere;
}

.matching-ui-non-ja .page-login-footer-sep {
	display: none;
}

.matching-ui-non-ja .site-info p,
.matching-ui-non-ja .site-footer-copyright {
	white-space: normal;
}

.matching-ui-non-ja .site-footer-privacy-link {
	overflow-wrap: anywhere;
	text-align: right;
}

/* Google Translate が挿す font タグで nowrap が継承されないようにする */
.matching-ui-non-ja font {
	white-space: inherit;
}

/* ── プロフィール登録：GT 他言語（vi / ko 等）時のレイアウト耐性 ──
 * 英語ネイティブ（profile-registration-en）は page-staff-registration.css 側で対応。 */
.matching-ui-non-ja.page-profile-registration:not(.matching-ui-locale-ja) {
	overflow-x: clip;
}

.matching-ui-non-ja.page-profile-registration:not(.matching-ui-locale-ja) .entry-content {
	max-width: 100%;
	overflow-x: clip;
}

.matching-ui-non-ja.page-profile-registration:not(.matching-ui-locale-ja) .entry-content .matching-cf7-form {
	--matching-cf7-th-width: min(42%, 20rem);
}

.matching-ui-non-ja.page-profile-registration:not(.matching-ui-locale-ja) {
	--sr-choice-chip-min-w: min(100%, 7.5em);
}

.matching-ui-non-ja.page-profile-registration:not(.matching-ui-locale-ja) .entry-content .contactTable th.title,
.matching-ui-non-ja.page-profile-registration:not(.matching-ui-locale-ja) .entry-content .contactTable th.title label,
.matching-ui-non-ja.page-profile-registration:not(.matching-ui-locale-ja) .entry-content .contactTable th.title .title-ja {
	white-space: normal;
	text-wrap: balance;
	overflow-wrap: anywhere;
	word-break: normal;
	hyphens: auto;
}

.matching-ui-non-ja.page-profile-registration:not(.matching-ui-locale-ja) .entry-content .contactTable .sr-skill-name,
.matching-ui-non-ja.page-profile-registration:not(.matching-ui-locale-ja) .entry-content .contactTable .sr-commute-minutes-suffix,
.matching-ui-non-ja.page-profile-registration:not(.matching-ui-locale-ja) .entry-content .contactTable .input-suffix,
.matching-ui-non-ja.page-profile-registration:not(.matching-ui-locale-ja) .entry-content .contactTable .working-time-label,
.matching-ui-non-ja.page-profile-registration:not(.matching-ui-locale-ja) .entry-content .contactTable .sr-other-field-label {
	white-space: normal;
	text-wrap: balance;
	overflow-wrap: anywhere;
}

.matching-ui-non-ja.page-profile-registration:not(.matching-ui-locale-ja) .entry-content .contactTable .input-row.sr-skill-row,
.matching-ui-non-ja.page-profile-registration:not(.matching-ui-locale-ja) .entry-content .contactTable .sr-skill-row + .input-sub.input-row,
.matching-ui-non-ja.page-profile-registration:not(.matching-ui-locale-ja) .entry-content .contactTable .sr-skill-row.sr-textarea-row,
.matching-ui-non-ja.page-profile-registration:not(.matching-ui-locale-ja) .entry-content .contactTable #uniform-size-top-wrap.sr-skill-row,
.matching-ui-non-ja.page-profile-registration:not(.matching-ui-locale-ja) .entry-content .contactTable #uniform-size-under-wrap.sr-skill-row,
.matching-ui-non-ja.page-profile-registration:not(.matching-ui-locale-ja) .entry-content .contactTable #shoes-size-wrap.sr-skill-row {
	grid-template-columns: minmax(0, 1fr) !important;
	align-items: start;
	text-align: left;
}

.matching-ui-non-ja.page-profile-registration:not(.matching-ui-locale-ja) .entry-content .contactTable .sr-skill-name {
	justify-content: flex-start;
	text-align: left;
	min-height: 0;
}

.matching-ui-non-ja.page-profile-registration:not(.matching-ui-locale-ja) .entry-content .contactTable .wpcf7-list-item {
	display: inline-flex;
	max-width: 100%;
}

.matching-ui-non-ja.page-profile-registration:not(.matching-ui-locale-ja) .entry-content .contactTable .wpcf7-list-item label,
.matching-ui-non-ja.page-profile-registration:not(.matching-ui-locale-ja) .entry-content .contactTable td.input label {
	justify-content: flex-start;
	text-align: left;
	min-width: 0;
	max-width: 100%;
	height: auto;
	min-height: var(--sr-input-h, 3.1rem);
	white-space: normal;
	text-wrap: balance;
	overflow-wrap: anywhere;
}

.matching-ui-non-ja.page-profile-registration:not(.matching-ui-locale-ja) .entry-content .contactTable .wpcf7-list-item-label {
	white-space: normal;
	overflow-wrap: anywhere;
}

.matching-ui-non-ja.page-profile-registration:not(.matching-ui-locale-ja) .entry-content .contactTable .input-row-inline,
.matching-ui-non-ja.page-profile-registration:not(.matching-ui-locale-ja) .entry-content .contactTable #transit-detail > .input-inline,
.matching-ui-non-ja.page-profile-registration:not(.matching-ui-locale-ja) .entry-content .contactTable .transit-minutes-wrap.input-inline,
.matching-ui-non-ja.page-profile-registration:not(.matching-ui-locale-ja) .entry-content .contactTable .commute-minutes-wrap.input-inline,
.matching-ui-non-ja.page-profile-registration:not(.matching-ui-locale-ja) .entry-content .contactTable #children-count-wrap {
	flex-wrap: wrap;
	align-items: flex-start;
	max-width: 100%;
}

.matching-ui-non-ja.page-profile-registration:not(.matching-ui-locale-ja) .entry-content .contactTable .sr-time-pair {
	flex-wrap: wrap;
}

.matching-ui-non-ja.page-profile-registration:not(.matching-ui-locale-ja) .entry-content .studies-wrap .input,
.matching-ui-non-ja.page-profile-registration:not(.matching-ui-locale-ja) .entry-content .career-wrap > .career-period-wrap,
.matching-ui-non-ja.page-profile-registration:not(.matching-ui-locale-ja) .entry-content .qualification-wrap .input {
	flex-wrap: wrap;
	align-items: flex-start;
}

.matching-ui-non-ja.page-profile-registration:not(.matching-ui-locale-ja) .entry-content .matching-cf7-form .form-check,
.matching-ui-non-ja.page-profile-registration:not(.matching-ui-locale-ja) .entry-content .form-check label.form-check-inner,
.matching-ui-non-ja.page-profile-registration:not(.matching-ui-locale-ja) .entry-content .matching-cf7-form .form-check .wpcf7-list-item-label {
	white-space: normal;
	text-wrap: balance;
	overflow-wrap: anywhere;
}

.matching-ui-non-ja.page-profile-registration:not(.matching-ui-locale-ja) .entry-content .btn-wrapper,
.matching-ui-non-ja.page-profile-registration:not(.matching-ui-locale-ja) .entry-content .btn-wrapper.btn-actions-row {
	align-items: stretch;
}

.matching-ui-non-ja.page-profile-registration:not(.matching-ui-locale-ja) .entry-content .btn-wrapper .contact-btn,
.matching-ui-non-ja.page-profile-registration:not(.matching-ui-locale-ja) .entry-content .btn-wrapper input[type="submit"],
.matching-ui-non-ja.page-profile-registration:not(.matching-ui-locale-ja) .entry-content .btn-add-block {
	width: auto;
	max-width: 100%;
	min-height: var(--matching-btn-min-height, 3.2rem);
	height: auto;
}

.matching-ui-non-ja.page-profile-registration:not(.matching-ui-locale-ja) .entry-content .confirmation-screen .contactTable {
	table-layout: auto;
}

.matching-ui-non-ja.page-profile-registration:not(.matching-ui-locale-ja) .entry-content .confirmation-screen .contactTable th.title {
	width: auto;
	min-width: 0;
	max-width: 42%;
	white-space: normal;
	overflow-wrap: anywhere;
}

.matching-ui-non-ja.page-profile-registration:not(.matching-ui-locale-ja) .entry-content .confirmation-screen .contactTable td.input:is(
	:has(#confirm-mobile-tel),
	:has(#confirm-spouse),
	:has(#confirm-transit),
	:has(#confirm-car),
	:has(#confirm-language)
) {
	grid-template-columns: minmax(0, 1fr);
	row-gap: 0.35rem;
}

.matching-ui-non-ja.page-profile-registration:not(.matching-ui-locale-ja) .entry-content .confirmation-screen .contactTable td.input:has(#confirm-experience) > .input-row,
.matching-ui-non-ja.page-profile-registration:not(.matching-ui-locale-ja) .entry-content .confirmation-screen .contactTable td.input:has(#confirm-working_place) > .input-row,
.matching-ui-non-ja.page-profile-registration:not(.matching-ui-locale-ja) .entry-content .confirmation-screen .contactTable td.input:has(#confirm-experience) > .input-sub.input-row,
.matching-ui-non-ja.page-profile-registration:not(.matching-ui-locale-ja) .entry-content .confirmation-screen .contactTable td.input:has(#confirm-working_place) > .input-sub.input-row {
	grid-template-columns: minmax(0, 1fr) !important;
	text-align: left;
}

.matching-ui-non-ja.page-profile-registration:not(.matching-ui-locale-ja) .entry-content .confirmation-screen .contactTable .answer {
	white-space: normal;
	overflow-wrap: anywhere;
}

@media (min-width: 641px) {
	.matching-ui-non-ja.page-profile-registration:not(.matching-ui-locale-ja) .entry-content .matching-cf7-form .contactTable {
		table-layout: auto;
	}

	.matching-ui-non-ja.page-profile-registration:not(.matching-ui-locale-ja) .entry-content .contactTable th.title {
		width: auto;
		min-width: 0;
		max-width: 42%;
		vertical-align: top;
	}

	.matching-ui-non-ja.page-profile-registration:not(.matching-ui-locale-ja) .entry-content .contactTable td.input {
		min-width: 0;
		width: auto;
	}
}

@media (max-width: 960px) {
	.matching-ui-non-ja.page-profile-registration:not(.matching-ui-locale-ja) .entry-content .contactTable th.title,
	.matching-ui-non-ja.page-profile-registration:not(.matching-ui-locale-ja) .entry-content .contactTable td.input {
		display: block;
		width: 100%;
		max-width: 100%;
		box-sizing: border-box;
	}

	.matching-ui-non-ja.page-profile-registration:not(.matching-ui-locale-ja) .entry-content .contactTable th.title {
		max-width: 100%;
		border-bottom: 0;
		padding-bottom: 0.35rem;
	}

	.matching-ui-non-ja.page-profile-registration:not(.matching-ui-locale-ja) .entry-content .contactTable td.input {
		padding-top: 0.65rem;
	}
}

/* ── 求人エントリー：英語 UI レイアウト ── */
body.matching-ui-non-ja .page-recruit-entry {
	overflow-x: clip;
}

body.matching-ui-non-ja .page-recruit-entry .recruit-entry-form-wrap {
	--matching-cf7-th-width: min(42%, 20rem);
	max-width: 100%;
}

body.matching-ui-non-ja .page-recruit-entry .recruit-entry-form-wrap .contactTable th.title,
body.matching-ui-non-ja .page-recruit-entry .recruit-entry-form-wrap .contactTable th.title label {
	white-space: normal;
	word-break: normal;
	overflow-wrap: break-word;
}

body.matching-ui-non-ja .page-recruit-entry .recruit-entry-form-wrap .headling#handling {
	width: 100%;
	max-width: 100%;
	min-width: 0;
}

body.matching-ui-non-ja .page-recruit-entry .recruit-entry-form-wrap .headling#handling .frame_box {
	width: 100%;
	max-width: 100%;
	min-width: 0;
	writing-mode: horizontal-tb;
}

body.matching-ui-non-ja .page-recruit-entry .recruit-entry-form-wrap .headling#handling .frame_box,
body.matching-ui-non-ja .page-recruit-entry .recruit-entry-form-wrap .headling#handling .frame_box p,
body.matching-ui-non-ja .page-recruit-entry .recruit-entry-form-wrap .headling#handling .frame_box li,
body.matching-ui-non-ja .page-recruit-entry .recruit-entry-form-wrap .headling#handling .frame_box h1 {
	white-space: normal;
	word-break: normal;
	overflow-wrap: break-word;
}

body.matching-ui-non-ja .page-recruit-entry .recruit-entry-form-wrap .matching-cf7-form .form-check .wpcf7-list-item-label {
	white-space: normal;
	word-break: normal;
	overflow-wrap: break-word;
}

body.matching-ui-non-ja .page-recruit-entry .recruit-entry-form-wrap input[type="submit"].wpcf7-submit,
body.matching-ui-non-ja .page-recruit-entry .recruit-entry-form-wrap input[type="submit"]:not(.contact-btn) {
	white-space: normal;
	text-wrap: balance;
	min-width: min(100%, 18rem);
	max-width: 100%;
	height: auto;
	min-height: max(var(--matching-btn-min-height), 4.4rem);
	padding-top: 0.85rem;
	padding-bottom: 0.85rem;
	line-height: 1.35;
}

body.matching-ui-non-ja .page-recruit-entry .recruit-entry-form-wrap .submit-wrapper input[type="submit"] {
	min-width: min(100%, 18rem);
	max-width: 100%;
}

body.matching-ui-non-ja .page-recruit-entry .recruit-entry-form-wrap .btn-wrapper,
body.matching-ui-non-ja .page-recruit-entry .recruit-entry-form-wrap .recruit-entry-btn-wrapper {
	padding-top: 1.4rem;
}

body.matching-ui-non-ja .page-recruit-entry .recruit-entry-policy-hint {
	white-space: normal;
	text-wrap: pretty;
}

@media (max-width: 768px) {
	body.matching-ui-non-ja .page-recruit-entry .recruit-entry-form-wrap .contactTable th.title {
		max-width: 100%;
	}
}
