/* ------------------------------
モーダルウィンドウ（PC）
------------------------------ */
/* モーダルが表示されたらスクロールバー消す */
body.modal-enable {
	position: fixed;
	width: 100%;
	overflow: hidden;
}
/* モーダル */
.modal {
	display: none;
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 3001;
	width: 100vw;
	margin: auto;
	padding: 50px 0 0;
	overflow-y: auto;
	background: #fff;
	text-align: center;
}

/* 閉じるボタン */
.modal i {
	display: block;
	position: fixed;
	top: 10px;
	right: 35px;
	z-index: 3002;
	width: 50px;
	height: 50px;
	font-size: 0;
	line-height: 0;
	cursor: pointer;
}
.modal i::before,
.modal i::after {
	content: "";
	display: block;
	position: absolute;
	top: 50%;
	left: 50%;
	right: 0;
	width: 36px;
	height: 2px;
	margin: -1px 0 0 -18px;
	background-color: #a64c5d;
}
.modal i::before {
	transform: rotate(45deg);
}
.modal i::after {
	transform: rotate(-45deg);
}
.modalIn {
	text-align: left;
}
.modalIn > p {
	font-size: 3rem;
	line-height: 1;
	text-align: center;
}
.modalIn table th {
	text-decoration: underline;
	text-underline-offset: 0.25em;
}
@keyframes accordion {
	0% {
		opacity: 0;
		height: 0;
	}
	20% {
		opacity: 0;
		height: 25%;
	}
	40% {
		opacity: .25;
		height: 50%;
	}
	60% {
		opacity: .5;
		height: 75%;
	}
	80% {
		opacity: .75;
		height: 100%;
	}
	100% {
		opacity: 1;
	}
}

/* モーダル背景 */
.overlay {
	display: none;
	background: #fff;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 3000;
	width: 100vw;
	height: 100vh;
}
@media print, screen and (min-width: 768px) {
	.overlay.notfixed .modal {
		display: flex;
		align-items: center;
		width: 50%;
		height: 50%;
		padding-top: 0px;
	}
	.overlay.notfixed .modalIn {
		width: auto;
	}
	.modalIn {
		width: 1140px;
		margin: 0 auto;
	}
	
	/* モーダル背景 */
	.overlay.notfixed {
		background-color: rgba(100,100,100,0.8);
	}
}
/* ------------------------------
モーダルウィンドウ（SP）
------------------------------ */
@media screen and (max-width: 767px) {
	/* モーダルが表示されたらヘッダーにz-indexを入れる */
	body.modal-enable .header {
		position: relative;
		z-index: 1;
	}
	/* モーダル */
	.modal {
		padding-top: 15px;
	}
	.modal.modal1 {
		padding-bottom: 160px;
	}
	.modal i {
		top: 7px;
		right: 7px;
	}
	.modalIn {
		padding: 50px 5% 0;
	}
	.modalIn > i {
		right: 5%;
	}
	.modalIn > p {
		margin-bottom: 20px;
		font-size: 2.6rem;
		text-align: left;
	}
	
}
@media screen and (max-width: 359px) {
	.modalIn > p {
		font-size: 2.3rem;
	}
}
/* ------------------------------------------------------------ */
/* お仕事情報
/* ------------------------------------------------------------ */
/* ---------------------------------------- */
/* 検索条件
/* ---------------------------------------- */
.modal-jobsearch {
	padding-bottom: 110px;
}

.modal-jobsearch .btnBox {
	display: flex;
	justify-content: center;
	align-items: center;
	position: fixed;
	bottom: 0;
	z-index: 3003;
	width: 100%;
	height: 110px;
	box-shadow: 0 -3px 10px -5px rgba(0,0,0,0.2);
	background-color: #fff;
}
/* PCサイズ */
@media print, screen and (min-width: 768px) {
	.modal-jobsearch .btnBox {
		width: calc(100% - 17px);
		height: 110px;
		left: 0;
	}
}
/* SPサイズ */
@media screen and (max-width: 767px) {
	.modal-jobsearch .btnBox {
		flex-flow: row wrap;
		padding: 0 15px;
	}
}
/* ---------------------------------------- */
/* 申込み画面
/* ---------------------------------------- */
.modal-entry .modalIn {
	padding: 3em;
}
.modal-entry .btnBox {
	display: flex;
	justify-content: space-between;
	margin-top: 40px;
}
.modal-entry button {
	display: block;
	min-width: 120px;
	padding: 16px 10px;
	border-radius: 3px;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-align: center;
	cursor: pointer;
}
/* 「はい」ボタン */
.modal-entry .btn-yes {
	background: #a64c5d;
	color: #fff;
}
.modal-entry .btn-yes > span {
	padding-bottom: 2px;	/* 文字と下線の間の余白 */
	border-bottom: 1px solid rgba(255, 255, 255, 0.5);	/* 下線の色 */
}
/* 「いいえ」ボタン */
.modal-entry .btn-no {
	border: 1px solid #cfc6c8;
	background: #f5f4f4;
	color: #401922;
}
.modal-entry .btn-no > span {
	padding-bottom: 2px;	/* 文字と下線の間の余白 */
	border-bottom: 1px solid #b59ca1;	/* 下線の色 */
}
/* SPサイズ */
@media screen and (max-width: 767px) {
	.modal-entry .modalIn {
		padding: 50px 5% 0;
	}
	.modal-entry .btnBox {
		display: block;
		/* justify-content: space-between; */
		/* margin-top: 40px; */
	}
	.modal-entry button {
		width: 100%;
		margin-bottom: 10px;
	}
}