@charset "utf-8";

/* ------------------------------
 フォーム（PC）
------------------------------ */
.req,
.any {
	display: inline-block;
	width: 38px;
	height: 18px;
	margin: 0 0 0 10px;
	border-radius: 9px;
	color: #fff;
	font-size: 1.2rem;
	line-height: 18px;
	font-weight: bold;
	text-align: center;
	vertical-align: middle;
}
.req {
	background-color: #c11920;
}
.any {
	background-color: #6c7889;
}
.req.hide,
.any.hide {
	display: none;
}
.w7em {
	display: inline-block;
	width: 7em;
}
@media print, screen and (min-width: 768px) {
	.contents form table th,
	.contentsWide form table th {
		width: 32%;
	}
	.req,
	.any {
		display: block;
		float: right;
		margin: 4px 9em 0 0;
	}
	.contents .req3em table th .req,
	.contents .req3em table th .any,
	.contentsWide .req3em table th .req,
	.contentsWide .req3em table th .any {
		margin: 4px 3em 0 0;
	}
}
/* フォーム */
label {
	display: inline-block;
	position: relative;
	cursor: pointer;
}
textarea::placeholder,
input::placeholder {
	color: #9a9d9e;
}
input[type='text'],
input[type='number'],
input[type='tel'],
input[type='email'],
input[type='password'],
textarea {
	-webkit-appearance: none;
	width: 100%;
	padding: 5px 20px;
	border: 1px solid #ddd;
	border-radius: 20px;
	color: #2b2b2b;
	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 3px 3px #e0e0e0 inset;
}
input[type='text']:disabled,
input[type='number']:disabled,
input[type='tel']:disabled,
input[type='email']:disabled,
textarea:disabled {
	background-color: #ddd;
	cursor: default;
}
textarea {
	height: calc( 2em * 9 );
}
input[type='text'].w200 {
	width: 200px;
}
@media print, screen and (min-width: 768px) {
	.mailform input[type='text'],
	.mailform textarea {
		width: 75%;
	}
	input[type='text'].w420 {
		width: 420px;
	}
	input[type='text'].w420 + input[type='text'].w420 {
		margin-left: 20px;
	}
}
/* ラジオボタン */
input[type=radio] {
	position: absolute;
	top: 8px;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}
input[type=radio] + span {
	display: inline-block;
	position: relative;
	top: 1px;
	width: 14px;
	height: 14px;
	margin-right: 6px;
	border-radius: 50%;
	background-color: #ddd;
}
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 {
	background-color: #c11920;
}
input[type=radio]:checked + span:before {
	background-color: #fff;
}
input[type=radio]:focus {
	outline: 0;
}
input[type=radio]:focus + span {
	outline: 0;
	box-shadow: 0 0 2px 2px #e0e0e0;
}
/* チェックボックス */
input[type=checkbox] {
	position: absolute;
	top: 3px;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}
input[type=checkbox] + span {
	display: inline-block;
	position: relative;
	top: 1px;
	width: 14px;
	height: 14px;
	margin-right: 6px;
	border-radius: 3px;
	background-color: #ddd;
}
input[type=checkbox]:checked + span {
	background-color: #c11920;
}
input[type=checkbox]:checked + span:before {
	content: "";
	display: block;
	position: absolute;
	top: 2px;
	left: 3px;
	width: 7px;
	height: 4px;
	border-left: 2px solid #fff;
	border-bottom: 2px solid #fff;
	-webkit-transform: rotate(-45deg);
	transform: rotate(-45deg);
}
input[type=checkbox]:focus {
	outline: 0;
}
input[type=checkbox]:focus + span {
	outline: 0;
	box-shadow: 0 0 2px 2px #e0e0e0;
}
input[type=checkbox]#checklist + span {
	margin-bottom: 2px;
}
@media print, screen and (min-width: 768px) {
	/* ラジオボタン・チェックボックス横並び */
	.cms_block.formBlock label:not(.pc_block) + label:not(.pc_block) {
		margin-left: 2em;
	}
}
/* プルダウン */
select {
	-webkit-appearance: none;
	position: relative;
	width: auto;
	padding: 5px 62px 5px 20px;
	border: solid 1px #ddd;
	border-radius: 20px;
	background: #fff url("../img/select.svg") no-repeat right 14px center / 9px 8px;
	color: #2b2b2b;
	font-family: "游ゴシック", YuGothic, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	line-height: 1.5;
	font-weight: 500;
}
select:focus {
	outline: 0;
	box-shadow: 0 0 2px 2px #e0e0e0;
}
select.w8em {
	width: 8em;
}
select.w12em {
	width: 12em;
}
/* ボタン基本 */
button.btn {
	display: inline-block;
	position: relative;
	padding: 16px;
	border-radius: 30px;
	background-color: #c11920;
	color: #fff;
	font-weight: bold;
	text-decoration: none;
	text-align: center;
	cursor: pointer;
}
button.btn::after {
	content: "";
	display: inline-block;
	position: absolute;
	top: 0;
	bottom: 0;
	right: 20px;
	width: 18px;
	height: 10px;
	margin: auto 0;
	background: url(../img/icon_arrow_r_white.svg) no-repeat 0 0 / cover;
}
/* ボタン閉じる */
button.btn.close::after {
	content: none;
}
/* ボタン無効 */
button.btn:disabled {
	background-color: #b3b3b3;
	pointer-events: none;
}
/* ボタン戻る */
button.btn.back {
	border: 2px solid #c11920;
	padding: 14px 16px;
	background-color: transparent;
	color: #c11920;
}
button.btn.back::after {
	content: none;
}
/* 条件クリア */
button.btn.btn_clear {
	float: left;
	margin-left: 40px;
	margin-right: -200px;
	background-color: #b3b3b3;
}
button.btn.btn_clear::after {
	content: none;
}
@media print, screen and (min-width: 768px) {
	/* ボタン基本 */
	button.btn {
		min-width: 260px;
		transition: .3s ease-in-out;
	}
	button.btn:hover {
		opacity: .7;
	}
	/* ボタン戻る */
	button.btn.back {
		float: left;
		min-width: 190px;
		margin-right: -190px;
	}
	/* 条件クリア */
	button.btn.btn_clear {
		min-width: 160px;
	}
}
/* ------------------------------
 フォーム（SP）
------------------------------ */
@media screen and (max-width: 767px) {
	.req.sp {
		display: inline-block !important;
	}
	.checklist {
		padding: 27px;
	}
	.checklist strong {
		line-height: 1.4;
	}
	.checklist strong span {
		display: block;
	}
	.w7em {
		display: block;
	}
	/* フォーム */
	label {
		display: block;
		padding-left: 1.4em;
		text-indent: -1.4em;
	}
	input[type='text'],
	input[type='number'],
	input[type='tel'],
	input[type='email'],
	input[type='password'],
	textarea {
		font-size: medium;
	}
	/* ラジオボタン・チェックボックス横並び */
	.cms_block.formBlock label + label {
		margin-top: 10px;
	}
	/* プルダウン */
	select {
		font-size: medium;
	}
	select.sp_w100p {
		width: 100%;
	}
	/* ボタン基本 */
	button.btn {
		min-width: 208px;
		padding: 10px 9px;
		border-radius: 24px;
	}
	/* 戻るボタン */
	button.btn.back {
		margin-top: 15px;
		padding: 8px 9px;
	}
	button.btn.btn_clear {
		display: block;
		float: none;
		margin: 0 auto;
		margin-top: 15px;
	}
}
