@charset "UTF-8";
/* ==========================================================================
   応募フォーム(Figma VD 7/28 > 応募フォーム 準拠)
   フォームの骨格は contact.css を流用し、ここでは差分だけを持つ
   ========================================================================== */

.entry__intro {
	text-align: left;
}

/* 文中に置く「必須」バッジは行の高さに馴染ませる */
.entry__intro .form-row__required {
	margin-inline: 2px;
	vertical-align: 1px;
}

/* 任意項目のバッジ(必須=赤に対してグレー) */
.form-row__optional {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 19px;
	background: #9aa0a6;
	border-radius: 3px;
	font-size: 11px;
	font-weight: 500;
	line-height: 1;
	color: #ffffff;
}

/* 希望勤務地のように選択肢が長いもの用 */
.contact-form .w-l {
	max-width: 380px;
}

.contact-form textarea {
	height: 150px;
}

/* --------------------------------------------------------------------------
   履歴書・職務経歴書のドロップエリア
   -------------------------------------------------------------------------- */
.file-drop {
	position: relative;
}

.file-drop__area {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-height: 120px;
	padding: 24px 16px;
	background: #fafafa;
	border: 1px dashed #c4c9cd;
	border-radius: 4px;
	text-align: center;
	cursor: pointer;
	transition: background 0.2s, border-color 0.2s;
}

.file-drop.is-dragover .file-drop__area {
	background: #eef6fb;
	border-color: var(--color-recruit);
}

.file-drop__icon {
	color: #6b7075;
}

.file-drop__lead {
	font-size: 14px;
	font-weight: 700;
	line-height: 22px;
	color: var(--color-heading);
}

.file-drop__note {
	font-size: 11px;
	line-height: 18px;
	color: #8a9095;
}

/* input は見た目だけ隠してフォーカスは受けられるようにする */
.file-drop__input {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	border: 0;
	opacity: 0;
}

.file-drop:focus-within .file-drop__area {
	border-color: var(--color-recruit);
	outline: 2px solid rgba(9, 136, 190, 0.35);
	outline-offset: 2px;
}

.file-drop__list {
	margin-top: 10px;
	font-size: 13px;
	line-height: 22px;
	color: var(--color-text-sub);
}

.file-drop__list li::before {
	content: "・";
}

.file-drop__list .is-error {
	color: var(--color-accent);
}

/* --------------------------------------------------------------------------
   レスポンシブ
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
	.contact-form .w-l {
		max-width: none;
	}

	.file-drop__area {
		min-height: 108px;
		padding: 20px 12px;
	}

	.file-drop__lead {
		font-size: 13px;
	}
}
