@charset "UTF-8";	/*	form.css */
/* ===============================================

	Form系リセット

================================================ */

button,
input,
select,
textarea {
	outline: none;
	box-sizing: border-box;
	background-color: transparent;
	border-style: none;
	color: inherit;
}

button,
input,
optgroup,
select,
textarea {
  font: inherit; /* Specify font inheritance of form elements */
}

button,
select {
  text-transform: none; /* Firefox 40+, Internet Explorer 11- */
}

/* Select */
select {
  -moz-appearance: none; /* Firefox 36+ */
  -webkit-appearance: none; /* Chrome 41+ */
}

select::-ms-expand {
  display: none; /* Internet Explorer 11+ */
}

select::-ms-value {
  color: currentColor; /* Internet Explorer 11+ */
}

/* ===============================================

	共通

================================================ */

/* Label Fontsize */
label{
	font-size: 16px;
}

/* Placeholder */
input:placeholder-shown {color: #ccc;}
::-webkit-input-placeholder {color: #ccc; }
:-ms-input-placeholder {color: #ccc; }

/* Error Massage */
.errorText{
	display: block;
	padding: 5px 10px;
	margin-top: 10px;
	color:#e1435b;
	border-radius: 6px;
	background: #f7dbe0;
}

/* モーダルリンク設定 */
.modalLink{
	display: inline-block;
	padding-right: 20px;
	margin-right: 5px;
	background: url(/form/common/img/icon_blank.svg) no-repeat right center;
	background-size: 13px;
}

@media screen and (min-width: 960px){

	.formBlock{
		width: 960px;
		margin: 20px auto 0;
	}

}

/* ===============================================

	テキストボックス系

================================================ */

input[type='text'],
input[type='email'],
input[type='number']{
	display: inline-block;
	width: 100%;
	border-radius: 8px;
	padding: 10px 15px;
	font-size: 16px;
	border: 1px solid #B3C8CB;
}


#desired_number_id li,
#desired_number_id label{
	width: 100%;
}

input[type='text']:focus,
input[type='email']:focus,
input[type='number']:focus{
    box-shadow: 0 0 7px #50c7de;
    border: 1px solid #50C7DE;
}

input[type='text']:disabled,
input[type='email']:disabled,
input[type='number']:disabled{
    opacity: 0.7;
		background: #f1f1f1;
}

/* ===============================================

	テキストエリア

================================================ */

textarea{
	display: inline-block;
	width: 100%;
	border-radius: 8px;
	padding: 10px 15px;
	font-size: 16px;
	line-height: 1.4;
	border: 1px solid #B3C8CB;
}

textarea:focus {
	box-shadow: 0 0 7px #50c7de;
	border: 1px solid #50C7DE;
}

/* ===============================================

	セレクトボックス

================================================ */

.typeSelect select{
	/* デフォルトクリア */
/*
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
*/
	outline:none;
	text-overflow: '';
	width: 100%;
	vertical-align: middle;
	line-height: 1;
	padding:15px 30px 15px 10px;
	border-radius: 8px;
	background-color: #fff;
	border: 1px solid #B3C8CB;
	position: relative;
	cursor: pointer;
	box-shadow: 5px 5px 20px -15px rgb(0, 0, 0, 0.03);
	display: inline-block;
}

.typeSelect select:focus{
	box-shadow: 0 0 7px #50c7de;
	border: 1px solid #50C7DE;
}

.typeSelect select:disabled{
	opacity: 0.7;
	background: #f1f1f1;
	pointer-events: none;
}

.typeSelect select::-ms-expand {
	display: none;
}

#entryPlan ul,
#entryType ul,
#number_of_payments ul,
#pay_type ul,
#maintenance_id ul{
	width: 100%;
}
#entryType li,
#number_of_payments li,
#maintenance_id li
{
	width: 50%;
}
#entryPlan label,
#entryType label,
#number_of_payments label,
#maintenance_id label
{
	display: block;
}

.typeSelect label{
	position: relative;
}

.typeSelect label::before{
	display: block;
	content: '';
	width: 1px;
	height: 40px;
	background: #B3C8CB;
	margin-top: -17px;
	position: absolute;
	top: 50%;
	right: 28px;
	z-index: 3;
}

.typeSelect label:after {
	display: block;
	content: "";
	width: 5px;
	height: 5px;
	border-right: 2px solid #477f88;
	border-bottom: 2px solid #477f88;
	transform: rotate(45deg);
	margin-top: -3px;
	pointer-events: none;
	position: absolute;
	top: 50%;
	right: 13px;
}

.typeSelect .after-label{
	vertical-align: middle;
	font-size: 12px;
}

@media screen and (min-width: 960px){

	.typeSelect label::before{
		right: 35px;
	}

	.typeSelect label:after {
		right: 15px;
	}

	#entryPlan ul,
	#entryType ul,
	#number_of_payments ul,
	#pay_type ul,
	#maintenance_id ul{
		width: auto;
	}
	#entryType li,
	#number_of_payments li,
	#maintenance_id li
	{
		width: auto;
	}
	#entryPlan label,
	#entryType label,
	#number_of_payments label,
	#maintenance_id label
	{
		display: inline-block;
	}

	/* #entryPlan ul,
	#pay_type ul{
		width: 100%;
	}
	#entryPlan li,
	#pay_type li{
		width: 50%;
	}
	#entryPlan label,
	#pay_type label{
		display: block;
	} */

}

/* ===============================================

	ラジオボタン

================================================ */

ul.typeRadio{
	display: inline-block;
	font-size: 0;
	border-radius: 8px;
	border: 1px solid #B3C8CB;
	box-shadow: 5px 5px 20px -15px rgb(0, 0, 0, 0.03);
	overflow: hidden;
}

.typeRadio li{
	display: inline-block;
	font-size: inherit;
	border-right: 1px solid #B3C8CB;
	border-bottom: none;
}

.typeRadio li:last-child{
	border: none;
}

.typeRadio input{
	display: none;
}

.typeRadio label{
	position: relative;
	display: inline-block;
	line-height: 1.4;
	padding: 15px 10px 15px 45px;
	padding-right: 15px;
	cursor: pointer;
}

.typeRadio label span{
	font-size: 12px;
}

.typeRadio label::after {
	position: absolute;
	content: '';
	top: 50%;
	left: 50%;
	transition: all .2s;
}

.typeRadio label::before {
	position: absolute;
	content: '';
	top: 50%;
	border-radius: 100%;
	transition: all .4s;
	left: 10px;
	width: 26px;
	height: 26px;
	margin-top: -15px;
	background: #E1E1E1;
	z-index: 2;
}

.typeRadio label:hover::before {
	background: #263D50;
}

.typeRadio label:hover {
	opacity: 0.8;
}

.typeRadio label::after {
	opacity: 0;
	top: 50%;
	left: 13px;
	width: 10px;
	height: 10px;
	margin-top: -7px;
	margin-left: 5px;
	background: #FFFFFF;
	border: none;
	border-radius: 100%;
	transform: scale(.5);
	z-index: 3;
}

.typeRadio input:checked + label{
	background: #B7BDC7;
}

.typeRadio input:checked + label::before {
	background: #263D50;
}

.typeRadio input:checked + label::after {
	opacity: 1;
	transform: scale(1);
}

/* ===============================================

	チェックボックス

================================================ */

ul.typeCheckbox{
	border-radius: 8px;
	border: 1px solid #B3C8CB;
	box-shadow: 5px 5px 20px -15px rgb(0, 0, 0, 0.03);
	overflow: hidden;
}

.typeCheckbox li{
	border-bottom: 1px solid #B3C8CB;
}

.typeCheckbox li:last-child{
	border: none;
}

.typeCheckbox input{
	display: none;
}

.typeCheckbox label{
	position: relative;
	display: block;
	line-height: 1.4;
	padding: 15px 10px 15px 45px;
	cursor: pointer;
}

.typeCheckbox label span{
	font-size: 12px;
}

.typeCheckbox label::after {
	position: absolute;
	content: '';
	top: 50%;
	left: 50%;
	transition: all .2s;
}

.typeCheckbox label::before {
	position: absolute;
	content: '';
	top: 50%;
	border-radius: 8px;
	transition: all .4s;
	left: 10px;
	width: 26px;
	height: 26px;
	margin-top: -15px;
	background: #E1E1E1;
}

.typeCheckbox label:hover::before {
	background: #477f88;
}

.typeCheckbox label:hover {
	opacity: 0.8;
}

.typeCheckbox label::after {
	opacity: 0;
	top: 50%;
	left: 13px;
	width: 10px;
	height: 5px;
	margin-top: -7px;
	margin-left: 4px;
	border-left: 2px solid #FFFFFF;
	border-bottom: 2px solid #FFFFFF;
	transform: rotate(180deg) scale(.5);
}

.typeCheckbox input:checked + label{
	background: #B7BDC7;
}

.typeCheckbox input:checked + label::before {
	background: #263D50;
}

.typeCheckbox input:checked + label::after {
	opacity: 1;
	transform: rotate(-45deg) scale(1);
}

/* ===============================================

	ボタン

================================================ */

/* ------------------------------------
	レイアウト
------------------------------------ */
ul.formBtn{
	padding: 20px 20px 40px;
}

ul.formBtn li{
	padding-bottom: 20px;
}

@media screen and (min-width: 960px){

	ul.formBtn{
		width: 960px;
		margin: 0 auto;
		text-align: center;
		padding: 40px 0;
		position: relative;
	}

	ul.formBtn li{
		display: inline-block;
		padding-bottom: 0;
	}

	.btnNext{
		width: 300px !important;
	}

	.subBtn{
		position: absolute;
		top: 40px;
		left: 0;
	}

	a.btnPrev{
		padding-left: 50px !important;
		padding-right: 30px !important;
	}

}

/* ------------------------------------
	ボタンベースデザイン
------------------------------------ */

/* Button And A */
.btnForm{
	cursor: pointer;
	display: block;
	width: 100%;
	padding: 15px 20px;
	text-align: center;
	color: #FFFFFF;
	text-decoration: none;
	font-size: 18px;
	border-radius: 30px;
	letter-spacing: 2px;
	box-shadow: inset 0 -2px 0 0 rgba(0,0,0,0.2);
	overflow: hidden;
	position: relative;
	transition: .3s;	
}

/* Arrow Common */
.btnForm::after{
	display: block;
	content: '';
	width: 0;
	height: 0;
	border-style: solid;
	position: absolute;
	margin-top: -7px;
	top:50%;
}

/* ------ Hover Action -------  */
.btnForm:hover{
	transform: translateY(2px);
	box-shadow: none;
	opacity: 0.9;
}

.btnForm:hover::before{
	position: absolute;
	top: -5px;
	left: -5px;
}

/* ------------------------------------
	次へ（Next）
------------------------------------ */
/* Color */
.btnForm.btnNext{background: #263D50;}

/* Arrow Direction（Next） */
.btnForm.btnNext::after{
	border-width: 5px 0 5px 5px;
	border-color: transparent transparent transparent #ffffff;
	right:20px;
}

@media screen and (min-width: 960px){
	.btnNext{
		width: 300px !important;
	}
}

/* ------------------------------------
	戻る（Prev）
------------------------------------ */
/* Color */
.btnForm.btnPrev{background: #949B9D;}

/* Arrow Direction（Prev） */
.btnForm.btnPrev::after{
	border-width: 5px 5px 5px 0;
	border-color: transparent #ffffff transparent transparent;
	left:20px;
}

@media screen and (min-width: 960px){
	/* Size */
	.btnForm.btnPrev{
		padding-left: 40px;
	}
	/* Left Position */
	.subBtn{
		position: absolute;
		top: 40px;
		left: 0;
	}
}

/* ------------------------------------
	担当者のご確認
------------------------------------ */
#is_representative .typeRadio li{
	border-right: none;
	border-bottom: 1px solid #B3C8CB;
	width: 100%;
}
#is_representative .typeRadio li:last-child{
	border-bottom: none;
}
#is_representative .typeRadio li label{
	display: block;
}
