@charset "UTF-8";

/* 採用応募ページ */

.oya-entry {
	color: #292929;
	background: #fff;
	font-size: 16px;
	line-height: 1.8;
}

.oya-entry,
.oya-entry *,
.oya-entry *::before,
.oya-entry *::after {
	box-sizing: border-box;
}

.oya-entry__inner {
	width: min(1040px, calc(100% - 48px));
	margin-inline: auto;
}

/* ページ案内 */

.oya-entry__intro {
	padding: 60px 0 36px;
	text-align: center;
}

.oya-entry__en {
	margin: 0 0 12px;
	color: #e88318;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .15em;
}

.oya-entry__intro h1 {
	margin: 0 0 24px;
	font-size: clamp(26px, 3.5vw, 36px);
	font-weight: 700;
	line-height: 1.5;
}

.oya-entry__intro p {
	margin: 12px 0;
	line-height: 1.9;
}

.oya-entry__intro a {
	display: inline-block;
	margin-top: 20px;
	color: #167ba5;
	text-decoration: underline;
	text-underline-offset: 4px;
}

.oya-entry__guide {
	margin: 0 0 18px;
	color: #666;
	font-size: 14px;
}

/* 必須・任意 */

.oya-entry .cms-required,
.oya-entry .cms-optional {
	display: inline-block;
	flex-shrink: 0;
	padding: 3px 8px;
	border-radius: 3px;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.5;
	vertical-align: middle;
}

.oya-entry .cms-required {
	color: #fff;
	background: #ef8b1e;
}

.oya-entry .cms-optional {
	color: #666;
	background: #e7e3de;
}

/* フォーム */

.oya-entry .CMS-FORM {
	width: 100%;
	margin: 0;
	padding: 0;
}

.oya-entry .CMS-FORM-GROUP {
	display: grid;
	grid-template-columns: 260px minmax(0, 1fr);
	align-items: start;
	gap: 24px;
	margin: 0;
	padding: 24px 0;
	border: 0;
	border-top: 1px solid #e3dfda;
}

.oya-entry .CMS-FORM-GROUP>label,
.oya-entry .CMS-FORM-CHECKBOX-LABEL {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: 0;
	padding: 14px 18px;
	border-radius: 4px;
	background: #f7f5f2;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.8;
}

/* 入力欄 */

.oya-entry .CMS-FORM-INPUT,
.oya-entry .CMS-FORM-EMAIL,
.oya-entry .CMS-FORM-SELECT,
.oya-entry .CMS-FORM-TEXTAREA {
	display: block;
	width: 100%;
	min-width: 0;
	max-width: 100%;
	min-height: 52px;
	margin: 0;
	padding: 13px 16px;
	border: 1px solid #c9c5c0;
	border-radius: 5px;
	color: #292929;
	background: #fff;
	box-shadow: none;
	font-family: inherit;
	font-size: 16px;
	line-height: 1.8;
}

.oya-entry .CMS-FORM-TEXTAREA {
	min-height: 200px;
	resize: vertical;
}

.oya-entry input::placeholder,
.oya-entry textarea::placeholder {
	color: #777;
	opacity: 1;
}

.oya-entry input:focus-visible,
.oya-entry select:focus-visible,
.oya-entry textarea:focus-visible,
.oya-entry a:focus-visible {
	outline: 3px solid #ef8b1e;
	outline-offset: 3px;
}

/* 同意チェック */

.oya-entry .CMS-FORM-CHECKBOX {
	display: flex !important;
	flex-direction: row !important;
	align-items: flex-start !important;
	justify-content: flex-start !important;
	gap: 12px;
	width: 100%;
	padding: 14px 0;
	text-align: left;
}

.oya-entry .CMS-FORM-CHECKBOX input[type="checkbox"] {
	position: static !important;
	display: block !important;
	float: none !important;
	flex: 0 0 20px;
	width: 20px !important;
	height: 20px !important;
	min-height: 0 !important;
	margin: 4px 0 0 !important;
	padding: 0 !important;
	appearance: auto !important;
	accent-color: #ef8b1e;
	transform: none !important;
}

.oya-entry .CMS-FORM-CHECKBOX>label {
	display: block !important;
	flex: 1;
	float: none !important;
	min-width: 0;
	width: auto !important;
	margin: 0 !important;
	padding: 0 !important;
	background: transparent;
	font-size: 14px;
	line-height: 1.8;
	text-align: left;
	cursor: pointer;
}

.oya-entry .CMS-FORM-CHECKBOX a {
	color: #167ba5;
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 4px;
}

/* 送信ボタン */

.oya-entry .CMS-FORM-GROUP.cms-submit {
	display: flex;
	justify-content: center;
	padding: 32px 0;
}

.oya-entry .cms-submit input[type="submit"] {
	width: min(100%, 400px);
	min-height: 64px;
	margin: 0;
	padding: 18px 24px;
	border: 0;
	border-radius: 5px;
	color: #fff;
	background: #ef8b1e;
	font-family: inherit;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.6;
	cursor: pointer;
	transition: background .2s ease;
}

.oya-entry .cms-submit input[type="submit"]:hover {
	background: #d8750e;
}

/* 下部の案内 */

.oya-entry__notes {
	margin: 12px 0 60px;
	padding: 24px 28px;
	border-radius: 6px;
	background: #f7f5f2;
	color: #555;
	font-size: 14px;
}

.oya-entry__notes h2 {
	margin: 0 0 12px;
	font-size: 17px;
	font-weight: 700;
}

.oya-entry__notes ul {
	margin: 0;
	padding-left: 1.4em;
	list-style: disc;
}

.oya-entry__notes li+li {
	margin-top: 8px;
}

.oya-entry__notes a {
	color: #167ba5;
	text-decoration: underline;
}

/* スマートフォン */

@media (max-width: 767px) {
	.oya-entry__inner {
		width: calc(100% - 32px);
	}

	.oya-entry__intro {
		padding: 40px 0 30px;
	}

	.oya-entry__intro p {
		font-size: 14px;
	}

	.oya-entry .CMS-FORM-GROUP {
		grid-template-columns: minmax(0, 1fr);
		gap: 12px;
		padding: 20px 0;
	}

	.oya-entry .CMS-FORM-GROUP>label,
	.oya-entry .CMS-FORM-CHECKBOX-LABEL {
		justify-content: flex-start;
		padding: 12px 14px;
		font-size: 14px;
	}

	.oya-entry .CMS-FORM-CHECKBOX {
		padding: 8px 0;
	}

	.oya-entry__notes {
		padding: 22px 20px;
		font-size: 13px;
	}
}

/* 写真付きの採用メッセージ */

.oya-entry {
	background: linear-gradient(to bottom,
			#f8f5ee 0,
			#f8f5ee 520px,
			#fff 520px);
}

.oya-entry .oya-entry__intro--photo {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
	align-items: center;
	gap: 36px;
	padding: 56px 0 48px;
	text-align: left;
}

.oya-entry .entry-photo {
	grid-column: 2;
	grid-row: 1;
	min-width: 0;
	margin: 0;
}

.oya-entry .entry-photo img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 12px;
	box-shadow: 0 12px 30px rgba(35, 45, 55, .12);
}

.oya-entry .entry-photo figcaption {
	margin-top: 12px;
	color: #666;
	font-size: 12px;
	letter-spacing: .08em;
	text-align: right;
}

.oya-entry .entry-message {
	grid-column: 1;
	grid-row: 1;
	min-width: 0;
}

.oya-entry .entry-message h1 {
	margin: 0 0 20px;
	font-size: clamp(22px, 2.4vw, 30px);
	line-height: 1.5;
}

.oya-entry .entry-message .entry-message__catch {
	margin: 0 0 24px;
	color: #18364a;
	font-size: clamp(28px, 3vw, 38px);
	font-weight: 700;
	line-height: 1.6;
}

.oya-entry .entry-message>p:not(.oya-entry__en):not(.entry-message__catch) {
	color: #555;
	font-size: 14px;
	line-height: 1.9;
}

.oya-entry .entry-message a {
	margin-top: 14px;
	font-size: 14px;
}

/* フォームを白いカードに */

.oya-entry .CMS-FORM {
	padding: 12px 28px 0;
	border: 1px solid #e8e3db;
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 8px 24px rgba(35, 45, 55, .04);
}

@media (max-width: 767px) {
	.oya-entry {
		background: linear-gradient(to bottom,
				#f8f5ee 0,
				#f8f5ee 720px,
				#fff 720px);
	}

	.oya-entry .oya-entry__intro--photo {
		grid-template-columns: minmax(0, 1fr);
		gap: 26px;
		padding: 30px 0 36px;
	}

	.oya-entry .entry-photo,
	.oya-entry .entry-message {
		grid-column: auto;
		grid-row: auto;
	}

	.oya-entry .entry-photo figcaption {
		text-align: center;
	}

	.oya-entry .entry-message {
		text-align: center;
	}

	.oya-entry .entry-message .entry-message__catch {
		font-size: 28px;
	}

	.oya-entry .CMS-FORM {
		padding: 8px 16px 0;
	}
}

/* 背景の固定高さを解除 */

.oya-entry {
	background: #fff;
}

.oya-entry .oya-entry__intro--photo {
	position: relative;
	isolation: isolate;
}

/* 写真・メッセージ全体に背景を付ける */
.oya-entry .oya-entry__intro--photo::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: #f8f5ee;
	box-shadow: 0 0 0 100vmax #f8f5ee;
	clip-path: inset(0 -100vmax);
}

/* スマートフォンの配置 */
@media (max-width: 767px) {
	.oya-entry {
		background: #fff;
	}

	.oya-entry .oya-entry__inner {
		width: calc(100% - 32px);
		min-width: 0;
	}

	.oya-entry .oya-entry__intro--photo {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		gap: 24px;
		padding: 28px 0 32px;
	}

	.oya-entry .entry-photo {
		width: 100%;
		margin: 0;
	}

	.oya-entry .entry-photo img {
		display: block;
		width: 100%;
		max-width: 100%;
		height: auto;
	}

	.oya-entry .entry-message {
		width: 100%;
		text-align: center;
	}

	.oya-entry .entry-message h1 {
		font-size: 23px;
		line-height: 1.6;
	}

	.oya-entry .entry-message .entry-message__catch {
		font-size: clamp(23px, 6vw, 28px);
		line-height: 1.6;
	}

	/* 説明文は画面幅に合わせて自然に折り返す */
	.oya-entry .entry-message>p:not(.entry-message__catch) br {
		display: none;
	}

	.oya-entry .entry-message>p {
		overflow-wrap: anywhere;
	}

	.oya-entry .oya-entry__guide {
		margin: 24px 0 16px;
	}

	.oya-entry .CMS-FORM {
		width: 100%;
		padding: 8px 16px 0;
	}

	.oya-entry .CMS-FORM-GROUP {
		grid-template-columns: minmax(0, 1fr);
		min-width: 0;
	}
}

@media (max-width: 767px) {
	.oya-entry .entry-message__description>span {
		display: block;
	}

	.oya-entry .entry-message__description>.entry-pc-break {
		display: none;
	}
}