@charset "UTF-8";
/* 2026-10-14 改修：採用エントリーへの誘導／訪問看護・リハビリのページ上部へ戻る */

/* 採用エントリーの「任意」ラベル（MW WP Form 本文の .must--any） */
.sub-recruit__entry .must.must--any {
	background-color: #fff;
	color: #3D7829;
	outline: 1px solid #99BE41;
	outline-offset: -1px;
}
.sub-recruit__entry .form__note {
	color: #fff;
	font-size: 0.875rem;
	line-height: 1.7;
	margin-top: 1rem;
}

/* 共通ボタン（既存の送信ボタンと同じ緑の角丸） */
.guide-btn {
	align-items: center;
	background-color: #3D7829;
	border: 2px solid #3D7829;
	border-radius: 1.875rem;
	color: #fff;
	display: inline-flex;
	font-size: 1rem;
	font-weight: bold;
	gap: 0.625rem;
	justify-content: center;
	line-height: 1.4;
	padding: 0.875rem 2rem;
	text-align: center;
	transition: 0.3s;
}
.guide-btn::after {
	content: "\203A";
	font-size: 1.25rem;
	line-height: 1;
}
.guide-btn:hover {
	background-color: #fff;
	color: #3D7829;
	opacity: 1;
}
.guide-btn--down::after {
	content: "\203A";
	transform: rotate(90deg);
}

/* ① お問い合わせ：種類（必須）を選ぶと、該当するフォームだけを出す */
.contact-kind {
	margin: 2.5rem auto 0;
	max-width: 42.5rem;
}
.contact-kind__title {
	align-items: center;
	display: flex;
	font-size: 1rem;
	font-weight: bold;
	gap: 1.875rem;
}
.contact-kind__list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.625rem;
	margin-top: 0.75rem;
}
.contact-kind__item {
	cursor: pointer;
	position: relative;
}
.contact-kind__item input {
	opacity: 0;
	position: absolute;
}
.contact-kind__item span {
	background-color: #fff;
	border: 2px solid #C8E87D;
	border-radius: 1.875rem;
	color: #3D7829;
	display: inline-block;
	font-size: 0.875rem;
	font-weight: bold;
	padding: 0.625rem 1.25rem;
	transition: 0.3s;
}
.contact-kind__item input:checked + span {
	background-color: #3D7829;
	border-color: #3D7829;
	color: #fff;
}
.contact-kind__item input:focus-visible + span {
	outline: 2px solid #99BE41;
	outline-offset: 2px;
}
.contact-kind__hint {
	color: #3D7829;
	font-size: 0.875rem;
	font-weight: bold;
	margin-top: 1rem;
}
.contact-kind.is-selected .contact-kind__hint {
	display: none;
}
.contact-form {
	margin-top: 2.5rem;
}
.sub-contact__inner.is-ready .contact-form:not(.is-show) {
	display: none;
}
.contact-form__lead {
	font-size: 0.875rem;
	line-height: 1.8;
	margin: 0 auto 1.5rem;
	max-width: 42.5rem;
}
.contact-form__lead a {
	color: #3D7829;
	font-weight: bold;
	text-decoration: underline;
}
.contact-form .sub-recruit__entry {
	margin-top: 0;
}

/* ① 採用情報：エントリーへのジャンプ（B） */
.entry-jump {
	margin-top: 1.5rem;
	text-align: center;
}
.entry-jump__note {
	color: #3D7829;
	display: block;
	font-size: 0.8125rem;
	font-weight: bold;
	margin-top: 0.5rem;
}
.tab__content > .entry-jump {
	margin-bottom: 2.5rem;
	margin-top: 2.5rem;
}

/* ③ 訪問看護・リハビリ：もう一方のタブへ（B） */
.tab-switch {
	margin-top: 3.75rem;
	position: relative; /* 直前の .cooperation-bottom の背景（::after）より上に出して押せるようにする */
	text-align: center;
	z-index: 1;
}
.tab-switch__lead {
	font-size: 0.875rem;
	font-weight: bold;
	margin-bottom: 0.75rem;
}
.tab-switch .guide-btn {
	cursor: pointer;
	font-family: inherit;
}

/* ③ 訪問看護・リハビリ：ページ上部へ戻る（A）。reCAPTCHA バッジ（右下 60px）の上に置く */
.page-top {
	align-items: center;
	background-color: #3D7829;
	border: 2px solid #fff;
	border-radius: 50%;
	bottom: 90px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	color: #fff;
	cursor: pointer;
	display: flex;
	flex-direction: column;
	font-family: inherit;
	font-size: 11px;
	font-weight: bold;
	height: 60px;
	justify-content: center;
	opacity: 0;
	pointer-events: none;
	position: fixed;
	right: 16px;
	transform: translateY(10px);
	transition: opacity 0.3s, transform 0.3s, background-color 0.3s, color 0.3s;
	width: 60px;
	z-index: 90;
}
.page-top.is-show {
	opacity: 1;
	pointer-events: auto;
	transform: translateY(0);
}
.page-top:hover {
	background-color: #fff;
	color: #3D7829;
	border-color: #3D7829;
}
.page-top__arrow {
	border-left: 2px solid currentColor;
	border-top: 2px solid currentColor;
	height: 10px;
	margin-bottom: 2px;
	margin-top: 4px;
	transform: rotate(45deg);
	width: 10px;
}

/* ③ 訪問看護・リハビリ：画面下の中央に浮かせる、もう一方のタブへのボタン */
.tab-float {
	align-items: center;
	background-color: #3D7829;
	border: 2px solid #fff;
	border-radius: 1.875rem;
	bottom: 24px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	color: #fff;
	cursor: pointer;
	display: inline-flex;
	font-family: inherit;
	font-size: 1rem;
	font-weight: bold;
	gap: 0.625rem;
	left: 50%;
	line-height: 1.4;
	opacity: 0;
	padding: 0.875rem 2rem;
	pointer-events: none;
	position: fixed;
	transform: translate(-50%, 10px);
	transition: opacity 0.3s, transform 0.3s, background-color 0.3s, color 0.3s;
	white-space: nowrap;
	z-index: 90;
}
.tab-float::after {
	content: "\203A";
	font-size: 1.25rem;
	line-height: 1;
}
.tab-float.is-show {
	opacity: 1;
	pointer-events: auto;
	transform: translate(-50%, 0);
}
.tab-float:hover {
	background-color: #fff;
	border-color: #3D7829;
	color: #3D7829;
}
/* PC は本文にかぶらないよう、画面右端の縦中央に縦書きのタブとして置く */
@media (min-width: 900px) {
	.tab-float {
		border-radius: 1rem 0 0 1rem;
		border-right: none;
		bottom: auto;
		left: auto;
		letter-spacing: 0.1em;
		padding: 1.5rem 0.875rem 1.25rem;
		right: 0;
		top: 50%;
		transform: translate(10px, -50%);
		writing-mode: vertical-rl;
	}
	.tab-float.is-show {
		transform: translate(0, -50%);
	}
	.tab-float::after {
		display: none;
	}
}

@media (max-width: 899px) {
	.tab-float {
		bottom: 20px;
		font-size: 0.875rem;
		padding: 0.75rem 1.5rem;
	}
	.guide-btn {
		font-size: 0.9375rem;
		padding: 0.75rem 1.5rem;
	}
	.page-top {
		bottom: 84px;
		height: 52px;
		right: 12px;
		width: 52px;
	}
}
