@import "https://use.fontawesome.com/releases/v5.13.0/css/all.css";

*,
*:before,
*:after {
	-webkit-box-sizing: inherit;
	box-sizing: inherit;
}

html {
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	font-size: 62.5%;
	scroll-behavior: smooth;
}

.btn,
a.btn,
button.btn {
	font-size: 1.6rem;
	font-weight: 700;
	line-height: 1.5;
	position: relative;
	display: inline-block;
	padding: 1rem 4rem;
	cursor: pointer;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	-webkit-transition: all 0.3s;
	transition: all 0.3s;
	text-align: center;
	vertical-align: middle;
	text-decoration: none;
	letter-spacing: 0.1em;
	color: #212529;
	border-radius: 0.5rem;
}

.btn-wrap {
	margin: 30px auto;
	max-width: 90%;
}

a.btn-c {
	max-width: 100%;
	font-size: 2.2rem;
	position: relative;
	padding: 0.25rem 2rem 2rem 3.5rem;
	color: #fff;
	background: #ff8439;
	-webkit-box-shadow: 0 5px 0 #bf632b;
	box-shadow: 0 5px 0 #bf632b;
	width: 400px;
	height: fit-content;
	line-height: 1.1;
	margin: auto;
	display: block;
}

a.btn-c span {
	font-size: 1.5rem;
	line-height: 1.5;
	position: absolute;
	inset: 0;
	margin: auto;
	top: -70px;
	display: block;
	width: fit-content;
	height: 30px;
	padding: 0.2rem 0.8rem;
	color: #ff8439;
	border: 2px solid #ff8439;
	border-radius: 0.5rem;
	background: #fff;
	-webkit-box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
}

a.btn-c i {
	position: absolute;
	right: 1rem;
	-webkit-transform: translateY(-50%);
	transform: translateY(-50%);
	top: 36px;
}

a.btn-c:hover {
	-webkit-transform: translate(0, 3px);
	transform: translate(0, 3px);
	color: #fff;
	opacity: 0.7;
}

a.btn-c:hover:before {
	left: 2rem;
}

.h-header {
	justify-content: space-between;
}

a.link_searchjob {
	color: #fff;
	background: #004268;
	text-decoration: none;
	padding: 0.8rem 2rem;
}

@media screen and (max-width: 768px) {
	.c-ttl1 {
		font-size: 1.6rem;
	}

	a.btn-c {
		font-size: 1.8rem;
		padding: 0.45rem 2rem 1.8rem 3.5rem;
		height: fit-content;
		line-height: 1.1;
		margin: auto;
		display: block;
	}

	a.btn-c span {
		font-size: 1.2rem;
		line-height: 1.5;
		position: absolute;
		inset: 0;
		margin: auto;
		top: -70px;
		width: fit-content;
		height: 30px;
		padding: 0.2rem 0.8rem;
	}

	a.btn-c i {
		position: absolute;
		right: 1rem;
		top: 32px;
	}

	.h-header {
		padding: 15px 10px 0;
		justify-content: space-between;
		height: auto;
	}

	.h-header h1 {
		width: 40%;
		font-size: 0.9rem;
	}

	.h-header .h-logo {
		width: 100%;
	}

	a.link_searchjob {
		align-self: self-end;
		color: #fff;
		background: #004268;
		text-decoration: none;
		font-size: 1.5rem;
		padding: 0.5rem 0.8rem;
	}
}

/* // 採用ページのモーダルウィンドウ */
.saiyou-modal {
	display: none;
	position: fixed;
	z-index: 1000;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	/* overflow: auto; */
	background-color: rgba(0, 0, 0, 0.6);
}
.saiyou-modal-content {
	background-color: #fefefe; /* モーダルウィンドウの背景色 */
	margin: 15% auto;
	max-width: 500px;
	width: 985; /* モーダルウィンドウの横幅 */
	max-height: 80vh;
	overflow-y: auto;
}
.saiyou-modal-title {
	background-color: #3171b0;
	color: white;
	padding: 30px;
	text-align: center;
	font-size: 28px;
}
.saiyou-close-button:hover,
.saiyou-close-button:focus {
	color: black;
	text-decoration: none;
	cursor: pointer;
}

.saiyou-modal-btns {
	padding: 40px 30px;
}

.saiyou-modal-btns a {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	padding: 20px;
	margin-bottom: 20px;
	border: none;
	border-radius: 5px;
	color: white;
	font-size: 18px;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	height: 90px;
	font-weight: normal;
}
.saiyou-modal-btns .btn-orange {
	background-color: #f6914d;
}
.saiyou-modal-btns .btn-gray {
	background-color: #545454;
}

.modal-open {
	overflow: hidden;
	position: fixed;
	width: 100%;
	height: 100%;
}
