@charset "utf-8";

/* ------------------------------
 フォーム（PC）
------------------------------ */
.res {
	margin-bottom: 50px;
}
.res table tr th span.req,
.res table tr th span.any {
	display: block;
	float: right;
	width: 42px;
	height: 21px;
	margin-top: 3px;
	color: #fff;
	font-weight: bold;
	font-size: 1.3rem;
	line-height: 21px;
	text-align: center;
}
.req {
	background-color: #005aab;
}
.any {
	background-color: #b7c3d2;
}
@media print, screen and (min-width: 768px) {
	#form_box.inBlock {
		width: 900px;
	}
	/* th横幅 */
	.contents .res table th {
		width: 260px;
	}
	.contents .res table td > ul {
		display: flex;
	}
	.contents .res table td > ul > li {
		width: calc(100% / 4);
	}
}
/* フォーム */
label {
	display: inline-block;
	position: relative;
	cursor: pointer;
}
textarea::placeholder,
input::placeholder {
	color: #b7c3d2;
}
input[type='text'],
input[type='number'],
input[type='tel'],
input[type='email'],
input[type='password'],
textarea {
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	width: 100%;
	padding: 3px 10px 4px;
	border: 1px solid #879bb4;
	background: #fff;
	color: #000;
	font-family: "游ゴシック",YuGothic,"ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro","メイリオ",Meiryo,"ＭＳ Ｐゴシック","MS PGothic",sans-serif;
	line-height: 1.75;
	font-weight: 500;
	text-align: left;
	vertical-align: middle;
}
input[type='text']:focus,
input[type='number']:focus,
input[type='tel']:focus,
input[type='email']:focus,
textarea:focus {
	outline: 0;
	box-shadow: 0 0 2px 2px #b7c3d2;
}
input[type='text']:disabled,
input[type='number']:disabled,
input[type='tel']:disabled,
input[type='email']:disabled,
textarea:disabled {
	background-color: #ddd;
	cursor: default;
}
input[type='text'].w200 {
	width: 200px;
}
/* ラジオボタン */
input[type=radio] {
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	position: absolute;
	top: 8px;
}
input[type=radio] + span {
	display: inline-block;
	position: relative;
	top: 3px;
	width: 14px;
	height: 14px;
	margin: 0 .5em 2px 0;
	border: 1px solid #879bb4;
	border-radius: 50%;
	background-color: #fff;
	vertical-align: baseline;
}
input[type=radio] + span::before {
	content: "";
	display: block;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	width: 6px;
	height: 6px;
	border-radius: 100%;
	background-color: transparent;
	margin: auto;
}
input[type=radio]:checked + span:before {
	background: #005aab;
}
input[type=radio]:focus {
	outline: 0;
}
input[type=radio]:focus + span {
	outline: 0;
	box-shadow: 0 0 2px 2px #b7c3d2;
}
/* チェックボックス */
input[type=checkbox] {
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	position: absolute;
	top: 3px;
}
input[type=checkbox] + span {
	display: inline-block;
	position: relative;
	top: 3px;
	width: 14px;
	height: 14px;
	margin: 0 .5em 2px 0;
	border: 1px solid #879bb4;
	background-color: #fff;
}
input[type=checkbox] + span::before {
	content: "";
	display: block;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	width: 6px;
	height: 6px;
	background-color: transparent;
	margin: auto;
}
input[type=checkbox]:checked + span::before {
	background: #005aab;
}
input[type=checkbox]:focus {
	outline: 0;
}
input[type=checkbox]:focus + span {
	outline: 0;
	box-shadow: 0 0 2px 2px #b7c3d2;
}
/* プルダウン */
select {
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	position: relative;
	width: auto;
	padding: 5px 28px 5px 10px;
	background: #f1f4f6 url(../img/select.svg) no-repeat right 10px center / 8px 6px;
	color: #000;
	font-family: "游ゴシック",YuGothic,"ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro","メイリオ",Meiryo,"ＭＳ Ｐゴシック","MS PGothic",sans-serif;
	line-height: 1.75;
	font-weight: 500;
}
select:focus {
	outline: 0;
	box-shadow: 0 0 2px 2px #b7c3d2;
}
/* ボタン基本 */
.contents button.btn {
	display: inline-block;
	position: relative;
	padding: 11px 30px;
	border: 1px solid #005aab;
	border-radius: 28px;
	background-color: #005aab;
	color: #fff;
	font-size: 1.8rem;
	font-weight: bold;
	text-decoration: none;
	text-align: center;
	cursor: pointer;
}
.contents button.btn::after {
	content: "";
	display: inline-block;
	position: absolute;
	top: 0;
	bottom: 0;
	right: 24px;
	width: 8px;
	height: 8px;
	margin: auto 0;
	border-top: solid 2px #fff;
	border-right: solid 2px #fff;
	vertical-align: middle;
	transform: rotate(45deg);
}
/* 戻るボタン */
.contents button.btn.back {
	border: 1px solid #b7c3d2;
	background-color: #b7c3d2;
}
.contents button.btn.back::after {
	right: auto;
	left: 28px;
	transform: rotate(225deg);
}
.contents button.btn:disabled {
	border: 1px solid #b7c3d2;
	background-color: #b7c3d2;
	pointer-events: none;
}
@media print, screen and (min-width: 768px) {
	/* ボタン基本 */
	.contents button.btn {
		min-width: 240px;
		transition: .3s ease-in-out;
	}
	.contents button.btn::after {
		transition: .3s ease-in-out;
	}
	.contents button.btn:hover,
	.contents button.btn:focus {
		background-color: transparent;
		color: #005aab;
	}
	.contents button.btn:hover::after {
		border-top: solid 2px #005aab;
		border-right: solid 2px #005aab;
	}
	/* 戻るボタン */
	.contents button.btn.back {
		float: left;
		min-width: 180px;
		margin-right: -180px;
	}
	.contents button.btn.back:hover,
	.contents button.btn.back:focus {
		color: #b7c3d2;
	}
	.contents button.btn.back:hover::after {
		border-top: solid 2px #b7c3d2;
		border-right: solid 2px #b7c3d2;
	}
}
/* ------------------------------
 フォーム（SP）
------------------------------ */
@media screen and (max-width: 767px) {
	.res {
		margin-bottom: 30px;
	}
	.res table tr th span.req,
	.res table tr th span.any {
		width: 40px;
		height: 20px;
		margin-top: 3px;
		font-size: 1.2rem;
		line-height: 20px;
	}
	/* フォーム */
	input[type='text'],
	input[type='number'],
	input[type='tel'],
	input[type='email'],
	input[type='password'],
	textarea {
		border-radius: 0;
		font-size: medium;
	}
	/* プルダウン */
	select {
		font-size: medium;
		vertical-align: top;
	}
	/* ボタン基本 */
	.contents button.btn {
		width: 214px;
		padding: 8px 26px;
		font-size: 1.6rem;
	}
	.contents button.btn::after {
		right: 20px;
		width: 7px;
		height: 7px;
	}
	/* 戻るボタン */
	.contents button.btn.back {
		margin-top: 15px;
	}
}