@charset "UTF-8";
/* ============================================================================
   entry-form.css
   キャリア採用エントリーフォーム専用スタイル
   - 既存の default.css / normalize.min.css / layout.css / other.css を
     読み込んだ上で、このファイルのみを追加する想定です。
   - 既存クラス（#pageTitle, #contentsWrap, .contents, .blueBtn 等）は
     一切上書きせず、body#entry 配下の .entryForm 内だけに限定しています。
   - 配色・角丸・シャドウ・フォントは other.css / layout.css で使われている
     サイト共通のトークンに合わせています。
     teal      : #34b2c6
     blue grad : #37c0d5 → #459de1（.blueBtn と同じグラデーション）
     border    : #e2decc
     table-bg  : #e3eff6
     text      : #444 / #5a5a5a
     bg        : #f7f8f2
     radius    : 10px（カード） / 50px（ボタン）
     shadow    : 0 0 20px -5px rgba(0,0,0,0.2)
============================================================================ */

#entry .entryForm{
	max-width: 900px;
	margin: 0 auto;
}

/* ---- 案内文 ---------------------------------------------------------- */
#entry .entryForm-lead{
	background-color: #fff;
	border: solid thin #e2decc;
	border-radius: 10px;
	box-shadow: 0 0 20px -5px rgba(0, 0, 0, 0.1);
	padding: 1.6em 2em;
	margin-bottom: 2.5em;
}
#entry .entryForm-lead h4{
	font-family: "Josefin Sans", sans-serif;
	font-size: 1.2em;
	font-weight: 700;
	letter-spacing: 0.06em;
	color: #1a9bad;
	margin: 0 0 0.6em;
}
#entry .entryForm-lead ol{
	font-size: 0.9em;
	color: #5a5a5a;
	padding-left: 1.4em;
	margin: 0;
}
#entry .entryForm-lead ol li{
	margin: 0.25em 0;
}
#entry .entryForm-lead .entryForm-notice{
	color: #5a5a5a;
	padding-top: 0.8em;
	margin-top: 1em;
}
#entry .entryForm-required-inline{
	display: inline-block;
	font-size: 0.72em;
	font-weight: 700;
	color: #fff;
	background-color: #e2564f;
	border-radius: 3px;
	padding: 0.05em 0.5em;
}

/* ---- セクションカード -------------------------------------------------- */
#entry .entryForm-section{
	background-color: #fff;
	border: solid thin #e2decc;
	border-radius: 10px;
	box-shadow: 0 0 20px -5px rgba(0, 0, 0, 0.1);
	overflow: hidden;
	margin-bottom: 2em;
}
#entry .entryForm-section h3{
	font-family: "Josefin Sans", sans-serif;
	font-size: 1.05em;
	font-weight: 700;
	letter-spacing: 0.08em;
	color: #fff;
	background-color: #34b2c6;
	padding: 0.9em 1.2em;
	margin: 0;
}
#entry .entryForm-body{
	padding: 0.2em 1.6em 0.4em;
}

/* ---- 行（テーブルを使わない代替レイアウト） ---------------------------- */
#entry .entryForm-row{
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 0.4em 1.6em;
	border-bottom: dashed thin #e2decc;
	padding: 1.2em 0;
}
#entry .entryForm-row:last-child{
	border-bottom: none;
}

#entry .entryForm-label{
	flex: 0 0 200px;
	display: flex;
	align-items: center;
	gap: 0.6em;

	font-weight: 700;
	color: #444;
	padding-top: 0.4em;
}
#entry .entryForm-badge{
	flex-shrink: 0;
	font-size: 0.72em;
	font-weight: 700;
	letter-spacing: 0.05em;
	color: #fff;
	background-color: #e2564f;
	border-radius: 3px;
	padding: 0.15em 0.6em;
	white-space: nowrap;
}
#entry .entryForm-badge.is-optional{
	background-color: #a8a69a;
}

#entry .entryForm-field{
	flex: 1 1 320px;
	width: 100%;
	color: #444;
}
#entry .entryForm-hint{
	display: block;
	margin-bottom: 0.5em;
}

/* ---- フォーム部品 ------------------------------------------------------ */
#entry .entryForm input[type="text"],
#entry .entryForm input[type="tel"],
#entry .entryForm input[type="email"],
#entry .entryForm select,
#entry .entryForm textarea{
	box-sizing: border-box;
	max-width: 100%;
	font-family: inherit;
	font-size: 1em;
	color: #444;
	background-color: #f7f8f2;
	border: solid thin #e2decc;
	border-radius: 6px;
	padding: 0.6em 0.7em;
}
/* 郵便番号リンクや案内文など、幅の狭い画面でも折り返して欲しい要素 */
#entry .entryForm-zipGroup a,
#entry .entryForm-hint,
#entry .entryForm-fileNote{
	max-width: 100%;
	word-break: break-word;
	overflow-wrap: break-word;
}
#entry .entryForm input[type="text"]:focus,
#entry .entryForm input[type="tel"]:focus,
#entry .entryForm input[type="email"]:focus,
#entry .entryForm select:focus,
#entry .entryForm textarea:focus{
	outline: none;
	background-color: #fff;
	border-color: #34b2c6;
}
#entry .entryForm textarea{
	width: 100%;
	min-height: 7em;
	resize: vertical;
}

#entry .entryForm-nameGroup,
#entry .entryForm-telGroup,
#entry .entryForm-birthGroup,
#entry .entryForm-zipGroup{
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.6em;
}
#entry .entryForm-nameGroup .entryForm-piece{
	display: flex;
	align-items: center;
	gap: 0.5em;
	min-width: 0;
	max-width: 100%;
}
#entry .entryForm-nameGroup .entryForm-piece > span:first-child{
	flex-shrink: 0;
	white-space: nowrap;
}
#entry .entryForm-nameGroup input{
	width: 10em;
	flex: 1 1 auto;
	min-width: 0;
}
#entry .entryForm-smallLabel{
	font-size: 0.82em;
	color: #a8a69a;
}
#entry .entryForm-telGroup input{
	width: 4.5em;
	text-align: center;
}
#entry .entryForm-zipGroup input{
	width: 7em;
}

#entry .entryForm-emailGroup{
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.7em;
	margin-bottom: 0.6em;
}
#entry .entryForm-emailGroup:last-child{
	margin-bottom: 0;
}
#entry .entryForm-emailGroup input[type="email"]{
	flex: 1 1 260px;
	min-width: 0;
}
#entry .entryForm-emailGroup span{
	flex-shrink: 0;
	white-space: nowrap;
}

#entry .entryForm-sexGroup label{
	display: inline-flex;
	align-items: center;
	gap: 0.4em;
	margin-right: 1.4em;
}

#entry .entryForm-addrFields{
	display: flex;
	flex-direction: column;
	gap: 0.7em;
}
/* #entry .entryForm-addrFields input{
	width: 100%;
} */

#entry .entryForm-fileRow{
	margin-bottom: 0.7em;
}
#entry .entryForm-fileRow:last-child{
	margin-bottom: 0;
}
#entry .entryForm-fileRow input[type="file"]{
	max-width: 100%;
	font-size: 0.9em;
	background-color: #fff;
}
#entry .entryForm-fileNote{
	margin: 0 0 1em;
}

/* ---- 個人情報の取り扱い（同意書iframe＋同意チェック） -------------------- */
#entry .entryForm-consentLead{
	margin: 1.2em 0 0.8em;
	color: #444;
}
#entry .entryForm-consentFrame{
	display: block;
	width: 100%;
	height: 300px;
	border: solid thin #e2decc;
	border-radius: 6px;
	background-color: #fff;
}
#entry .entryForm-consentCheck{
	text-align: center;
	padding: 1.2em 0 1.2em;
}
#entry .entryForm-consentCheck label{
	display: inline-flex;
	align-items: center;
	gap: 0.6em;
	font-weight: 700;
	cursor: pointer;
}
#entry .entryForm-consentCheck input[type="checkbox"]{
	width: 1.3em;
	height: 1.3em;
	margin: 0;
	cursor: pointer;
}
#entry .entryForm-consentNote{
	font-size: 0.85em;
	color: #a8a69a;
	margin: 0.6em 0 0;
}

/* ---- 送信ボタン（.blueBtn のグラデーションと統一） ---------------------- */
#entry .entryForm-submit{
	text-align: center;
	padding-top: 1em;
}
#entry .entryForm-submit button{
	font-family: inherit;
	font-size: 1.05em;
	letter-spacing: 0.08em;
	color: #fff;
	background: #37c0d5;
	background: -moz-linear-gradient(left, #37c0d5 0%, #459de1 100%);
	background: -webkit-linear-gradient(left, #37c0d5 0%, #459de1 100%);
	background: linear-gradient(to right, #37c0d5 0%, #459de1 100%);
	box-shadow: 0 0 20px -5px rgba(0, 0, 0, 0.1), inset 0 0 0 200px rgba(75, 75, 75, 0);
	border: none;
	border-radius: 50px;
	padding: 1em 4em;
	cursor: pointer;
	transition: box-shadow 0.3s, color 0.3s;
}
#entry .entryForm-submit button:hover{
	box-shadow: 0 0 20px -5px rgba(0, 0, 0, 0.1), inset 0 0 0 200px rgba(75, 75, 75, 1);
}
#entry .entryForm-reset{
	display: block;
	font-size: 0.8em;
	color: #a8a69a;
	text-decoration: underline;
	margin-top: 0.9em;
	transition: color 0.3s;
}
#entry .entryForm-reset:hover{
	color: #34b2c6;
}

/* ---- 「求人情報一覧へ戻る」導線（#entry 配下限定・他ページの .blueBtn には影響なし） ----
   キャリア詳細ページのフッターボタン（#career-recruit.careerSingle #footer .contents .btn）と
   同じ配色・ホバー挙動（緑系グラデーション塗り→ホバーで白背景＋グレー文字）を踏襲。
   配置はフッターのような絶対配置・浮き出し演出は行わず、フォーム下の静的な位置のまま。 */
#entry .contents.entryForm > p.blueBtn{
	text-align: center;
	margin: 4.5em 0 3em;
	padding-top: 2.4em;
	border-top: dashed thin #e2decc;
}
#entry .contents.entryForm > p.blueBtn a{
	display: inline-flex;
	align-items: center;
	gap: 0.5em;
	font-family: "Josefin Sans", sans-serif;
	font-size: 1.05em;
	letter-spacing: 0.06em;
	color: #fff;
	background: linear-gradient(to right, #b6e88a 0%, #8ddb9a 25%, #5fcda3 50%, #38bd9e 75%, #1fa887 100%);
	border: none;
	border-radius: 100px;
	box-shadow: 0 0 20px -5px rgba(0, 0, 0, 0.2), inset 0 0 0 300px rgba(255, 255, 255, 0);
	padding: 1em 4em;
	text-decoration: none;
	transition: box-shadow 0.3s, color 0.3s;
}
#entry .contents.entryForm > p.blueBtn a:hover{
	box-shadow: 0 0 20px -5px rgba(0, 0, 0, 0.2), inset 0 0 0 300px rgba(255, 255, 255, 1);
	color: #505050;
}

/* ---- 確認・エラー・完了画面 共通 -------------------------------------- */
#entry .entryForm-msgBox{
	background-color: #fff;
	border: solid thin #e2decc;
	border-radius: 10px;
	box-shadow: 0 0 20px -5px rgba(0, 0, 0, 0.1);
	padding: 1.6em 2em;
	margin-bottom: 2em;
	color: #5a5a5a;
	line-height: 1.8;
}
#entry .entryForm-msgBox.is-error{
	border-color: #e2564f;
}
#entry .entryForm-msgBox.is-error strong{
	color: #e2564f;
}

/* 確認テーブル（!key! / !val! ループ） */
#entry .entryForm-confirmTable{
	background-color: #fff;
	border: solid thin #e2decc;
	border-radius: 10px;
	box-shadow: 0 0 20px -5px rgba(0, 0, 0, 0.1);
	overflow: hidden;
	margin-bottom: 2em;
}
#entry .entryForm-confirmTable table{
	width: 100%;
	border-collapse: collapse;
	table-layout: fixed;
}
#entry .entryForm-confirmTable th,
#entry .entryForm-confirmTable td{
	padding: 0.9em 1.2em;
	border-bottom: 1px solid #e2decc;
	text-align: left;
	vertical-align: top;
	word-break: break-word;
	overflow-wrap: break-word;
}
#entry .entryForm-confirmTable tr:last-child th,
#entry .entryForm-confirmTable tr:last-child td{
	border-bottom: none;
}
#entry .entryForm-confirmTable th{
	width: 200px;
	background-color: #e3eff6;
	color: #444;
	font-weight: 700;
	white-space: nowrap;
}

/* エラー画面：不備のある項目を赤文字＋赤い行でわかりやすく表示 */
#entry .entryForm-confirmTable .msg{
	color: #e2564f;
	font-weight: 700;
}
#entry .entryForm-confirmTable .msg::before{
	content: "！";
	margin-right: 0.2em;
}
#entry .entryForm-confirmTable tr.is-error th{
	background-color: #fbe3e1;
	color: #e2564f;
	box-shadow: inset 4px 0 0 #e2564f;
}
#entry .entryForm-confirmTable tr.is-error td{
	background-color: #fff5f4;
}

/* 送信・戻るボタン（確認画面／エラー画面共通） */
#entry .entryForm-confirmBtns{
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 1em;
	padding-top: 1em;
	text-align: center;
}
#entry .entryForm-confirmBtns input[type="submit"]{
	font-family: inherit;
	font-size: 1.05em;
	letter-spacing: 0.08em;
	color: #fff;
	background: #37c0d5;
	background: linear-gradient(to right, #37c0d5 0%, #459de1 100%);
	box-shadow: 0 0 20px -5px rgba(0, 0, 0, 0.1), inset 0 0 0 200px rgba(75, 75, 75, 0);
	border: none;
	border-radius: 50px;
	padding: 1em 3.5em;
	cursor: pointer;
	transition: box-shadow 0.3s, color 0.3s;
}
#entry .entryForm-confirmBtns input[type="submit"]:hover{
	box-shadow: 0 0 20px -5px rgba(0, 0, 0, 0.1), inset 0 0 0 200px rgba(75, 75, 75, 1);
}
#entry .entryForm-confirmBtns input[type="button"]{
	font-family: inherit;
	font-size: 1.05em;
	letter-spacing: 0.08em;
	color: #5a5a5a;
	background-color: #fff;
	border: solid thin #a8a69a;
	border-radius: 50px;
	padding: 1em 3.5em;
	cursor: pointer;
	transition: all 0.3s;
}
#entry .entryForm-confirmBtns input[type="button"]:hover{
	background-color: #f7f8f2;
	border-color: #34b2c6;
	color: #34b2c6;
}

/* 送信完了画面 */
#entry .entryForm-thanksBox{
	background-color: #fff;
	border: solid thin #e2decc;
	border-radius: 10px;
	box-shadow: 0 0 20px -5px rgba(0, 0, 0, 0.1);
	padding: 3em 2em;
	margin-bottom: 2.5em;
	text-align: center;
	color: #444;
	line-height: 2;
}
#entry .entryForm-thanksBtn{
	text-align: center;
}
#entry .entryForm-thanksBtn input[type="button"]{
	font-family: "Josefin Sans", sans-serif;
	font-size: 1.05em;
	letter-spacing: 0.06em;
	color: #fff;
	background: #37c0d5;
	background: linear-gradient(to right, #37c0d5 0%, #459de1 100%);
	box-shadow: 0 0 20px -5px rgba(0, 0, 0, 0.15), inset 0 0 0 200px rgba(75, 75, 75, 0);
	border: none;
	border-radius: 50px;
	padding: 1em 4em;
	cursor: pointer;
	transition: box-shadow 0.3s, color 0.3s;
}
#entry .entryForm-thanksBtn input[type="button"]:hover{
	box-shadow: 0 0 20px -5px rgba(0, 0, 0, 0.15), inset 0 0 0 200px rgba(75, 75, 75, 1);
}

/* ---- レスポンシブ（サイト共通のブレークポイントに合わせる） -------------- */
@media screen and (max-width: 979px){
	#entry .entryForm-body{
		padding: 0.2em 1.2em 0.4em;
	}
}
@media screen and (max-width: 768px){
	#entry .entryForm-consentFrame{
		height: 260px;
	}
	#entry .entryForm-consentCheck label{
		text-align: left;
		flex-wrap: wrap;
	}

	#entry .entryForm-thanksBox{
		text-align: left;
	}

	#entry .entryForm-label{
		flex: 1 1 100%;
		padding-top: 0;
	}
	#entry .entryForm-row{
		padding: 1em 0;
	}
	#entry .entryForm-nameGroup .entryForm-piece{
		flex: 1 1 100%;
	}
	#entry .entryForm-zipGroup input{
		width: 100%;
	}
	#entry .entryForm-telGroup input{
		width: 4em;
	}
	#entry .entryForm-section h3{
		font-size: 1.2em;
	}
	#entry .entryForm-emailGroup input[type="email"]{
		flex: 1 1 120px;
	}

	/* 確認テーブルはラベルと値を縦積みにして読みやすく */
	#entry .entryForm-confirmTable table,
	#entry .entryForm-confirmTable tbody,
	#entry .entryForm-confirmTable tr,
	#entry .entryForm-confirmTable th,
	#entry .entryForm-confirmTable td{
		display: block;
		width: 100% !important;
	}
	#entry .entryForm-confirmTable th{
		white-space: normal;
		border-bottom: none;
		padding: 0.9em 1.2em 0.9em;
	}
	#entry .entryForm-confirmTable td{
		padding: 0.9em 1.2em 0.9em;
	}
	#entry .entryForm-confirmBtns input[type="submit"],
	#entry .entryForm-confirmBtns input[type="button"]{
		width: 100%;
		padding: 1em 2em;
	}
}