/* 全体のセンタリングと余白 */
.recruit-area {
	text-align: center;
	padding: 30px 20px;
}

/* 各h3タイトルの修飾 */
.contents-area h3 {
	font-size: 24px;
	font-weight: normal;
	color: #333;
	display: flex;
	align-items: center;
	margin: 40px 0px;
	letter-spacing: 0.1em;
}

/* 各h3タイトルのiタグ修飾 */
.contents-area h3 i {
	font-size: 10px;
	color: #005BAC;
	/* 青系の色（画像に近い） */
	margin-right: 8px; 
}

/* 募集要項テーブル th修飾 */
.recruit-area #shinsotsu-table th {
	width: 20%;
	color: #ffffff;
	background-color: #0088a9;
	text-align: center;
	vertical-align: middle;
}

/* 募集要項テーブル td修飾 */
.recruit-area #shinsotsu-table td {
	letter-spacing: 0.2em;
	background-color: #e9f2f2;
}

/* エントリーフォームの全体のスタイル */
#entry #entry-form {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0 15px;
	background-color: #ffffff;
	box-shadow: none;
}

/* エントリーフォームのtrの修飾 */
#entry #entry-form tr {
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: #ffffff;
	border-bottom: 1px #3f3f3f solid;
}

/* 最後のliのみborderを削除する */
#entry #entry-form tr:last-child {
	border: none;
}

/* エントリーフォームのthの修飾 */
#entry #entry-form th {
	display: flex;
	align-items: center;
	flex: 1;
	gap: 8px;
	font-size: 14px;
	padding: 10px 10px;
	background-color: #ffffff;
}

/* エントリーフォームのtdの修飾 */
#entry #entry-form td {
	flex: 4;
	background-color: #ffffff;
	text-align: left;
}

/* 必須マーク（::before） */
#entry #entry-form th.required::after {
	content: "必須";
	display: inline-block;
	background-color: #004f78;
	color: #fff;
	font-size: 12px;
	font-weight: bold;
	padding: 2px 8px;
	border-radius: 4px;
	white-space: nowrap;
}

/* th内の<p>をインラインにすることで二段落ちを防止 */
#entry #entry-form th.required p {
	margin: 0;
	display: inline;
}

/* 各入力欄（input, textarea）のスタイル */
#entry #entry-form td input[type="text"],
#entry #entry-form td input[type="email"],
#entry #entry-form td input[type="tel"],
#entry #entry-form td textarea {
	width: 100%;
	padding: 10px;
	border: 1px solid #ccc;
	background-color: #f6f6f6;
	font-size: 14px;
	border-radius: 4px;
}

/* input number */
#entry #entry-form td input[type="number"] {
	border: 1px solid #ccc;
	background-color: #f6f6f6;
}

/* フォーカス時のハイライト */
#entry #entry-form td input[type="text"]:focus,
#entry #entry-form td input[type="email"]:focus,
#entry #entry-form td input[type="tel"]:focus,
#entry #entry-form td input[type="number"]:focus,
textarea:focus {
	border-color: #007BFF;
	box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
	outline: none;
}

/* テキストエリアを少し大きく */
#entry #entry-form td textarea {
	height: 150px;
}

/* ラジオボタン全体の行間調整 */
#entry #entry-form td .wpcf7-radio {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 20px;
}

/* ラジオボタンのラベル間隔調整 */
#entry #entry-form td .wpcf7-list-item {
	margin: 0;
}

#entry .contact-table td p {
	margin: 0;
}

/* タイトル部分 */
.recruit-area h2.second-top-page-title {
	font-family: 'Jost';
	font-size: 30px;
	letter-spacing: 3px;
	margin-bottom: 10px;
	color: #3f3f3f;
	border-bottom: none;
}

.recruit-area p.second-top-page-subtitle {
	color: #3f3f3f;
	font-size: 14px;
	letter-spacing: 0.1em;
	margin-bottom: 40px;
}

/* セクション全体の余白と中央寄せ */
#flow {
	padding: 80px 20px;
	text-align: center;
}

/* 見出し */
#flow h3 {

}

#flow .flow-background-area {
	width: 99vw;
	position: relative;
	left: 50%;
	transform: translateX(-50%);
	background-color: #f5f5f5;
	box-sizing: border-box;
}
/* アイテム全体を横並び（スマホ対応も可） */
#flow-area {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 10px;
	align-items: center;
	padding: 60px 20px;
}

/* 各フローアイテムの基本スタイル */
.flow-item {
	padding: 10px 10px;
	width: 120px;
	min-height: 100px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	position: relative;
}

/* 採用フロー テキスト部分 */
.flow-item p {
	display: flex;
	justify-content: center;
	align-items: center;
	height: 2.5em;
	padding-top: 10px;
}

/* 矢印アイコンのスタイル */
.fa-solid.fa-angles-right {
	margin-bottom: 2.5em;
	font-size: 1.5em;
	color: #0a4d8c;
}

#entry {
	padding: 0px 20px;
}

#submit input.wpcf7-submit {
	background-color: #0089a7;
	/* 青色（画像の色に近い） */
	color: #fff;
	/* 文字色：白 */
	padding: 10px 50px;
	/* 上下・左右の余白 */
	font-size: 14px;
	/* フォントサイズ調整 */
	border: none;
	/* 枠線をなしに */
	border-radius: 50px;
	/* 丸みを持たせる（ピル型） */
	cursor: pointer;
	/* カーソルをポインターに */
	transition: background-color 0.3s ease;
	/* ホバー時の滑らかな変化 */
}

#submit input.wpcf7-submit:hover {
	background-color: #007896;
	/* ホバー時に少し濃い青に */
}

/* フォーカス時（キーボード操作などの視認性向上） */
input.wpcf7-submit:focus {
	outline: none;
	box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.4);
}

/* 無効状態（disabled） */
#submit input.wpcf7-submit:disabled {
	background-color: #cccccc;
	cursor: not-allowed;
	opacity: 0.7;
	box-shadow: none;
}

/* タブレットレイアウト */
@media screen and (min-width:768px) and (max-width:1049.99px) {
	#flow-area {
		max-width: 600px;
		margin: 0px auto;
		padding: 80px 20px;
		text-align: center;
	}
}

/* スマートフォンレイアウト */
@media screen and (max-width: 767px) {

	.recruit-area {
		text-align: center;
		padding: 30px 0px;
	}

	#flow-area {
		flex-direction: column;
		max-width: 600px;
		margin: 0px auto;
		padding: 80px 20px;
		text-align: center;
	}

	/* 矢印アイコンのスタイル */
	#flow-area .fa-solid.fa-angles-down {
		font-size: 1.5em;
		color: #0a4d8c;
	}

	.contents-area #shinsotsu-table,
	.contents-area #shinsotsu-table tbody,
	.contents-area #shinsotsu-table tbody tr,
	.contents-area #shinsotsu-table tbody th,
	.contents-area #shinsotsu-table tbody td {
		display: block;
		width: 100%;
		box-sizing: border-box;
		text-align: left;
	}

	.contents-area #shinsotsu-table tbody td {
		padding: 20px 10px;
		text-align: left;
	}

	#entry {
		padding-left: 0px;
		padding-right: 0px;
	}

	#entry #entry-form,
	#entry #entry-form tbody,
	#entry #entry-form tbody tr,
	#entry #entry-form tbody th,
	#entry #entry-form tbody td {
		display: block;
		width: 100%;
		box-sizing: border-box;
		text-align: left;
	}

	#entry #entry-form tbody td {
		padding: 0px 10px 10px;
		text-align: left;
	}

}