/*==================================================
コンタクト
===================================*/
/* 全般
------------------------------------------------------------*/
#contact {
	margin: 0 auto 80px;
	width: 600px;
}

/* ステップ
------------------------------------------------------------*/
#contact .fm-step {
	margin: 20px auto 0;
	text-align: center;
	width: 500px;
	font-size: 15px;
}

#contact .fm-step p {
	margin: 15px 0 10px;
	text-align: left;
}

#contact .fm-step em {
	font-style: normal;
}

#contact .step-on {
	color: #ff0101;
	font-size: 1.2em;
	font-weight: bold;
}

/* データ入力
------------------------------------------------------------*/
.fm-input {
	margin: 10px auto 10px;
	width: 500px;
	padding: 20px 12px 10px 20px;
}

.fm-input li {
	padding: 0;
	display: block;
	list-style: none;
	margin: 10px 0 0 0;
}
.fm-input label{
	margin:0 0 3px 0;
	padding:0px;
	display:block;
	font-weight: nomal;
}

.fm-input textarea {
	height: 80px;
}

.fm-input select {
	font-size: 1em;
}

.fm-input input, 
.fm-input textarea {
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	border:1px solid #BEBEBE;
	padding: 12px 8px;
	margin:0px;
	-webkit-transition: all 0.30s ease-in-out;
	-moz-transition: all 0.30s ease-in-out;
	-ms-transition: all 0.30s ease-in-out;
	-o-transition: all 0.30s ease-in-out;
	outline: none;	
	border-radius: 3px;
}

.fm-input select {
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	border:1px solid #BEBEBE;
	padding: 8px 8px 9px 8px;
	margin: 0;
	-webkit-transition: all 0.30s ease-in-out;
	-moz-transition: all 0.30s ease-in-out;
	-ms-transition: all 0.30s ease-in-out;
	-o-transition: all 0.30s ease-in-out;
	outline: none;	
	border-radius: 3px;
	-webkit-appearance: none;
	appearance: none;
	background-color: #fff;
	color: #666;
}

.fm-input input:focus, 
.fm-input textarea:focus, 
.fm-input select:focus {
	-moz-box-shadow: 0 0 8px #fd0107;
	-webkit-box-shadow: 0 0 1px #fd0107;
	box-shadow: 0 0 1px #fd0107;
	border: 1px solid #fd0107;
}

.fm-input .field-long {
	width: 100%;
}

.fm-input .required {
	margin-left: 15px;
	color:red;
	font-size: 12px;
}

/* CHECKBOX
------------------------------------------------------------*/
.fm-input input[type=checkbox] {
	display: none;
}
.fm-input .checkbox01 {
	box-sizing: border-box;
	cursor: pointer;
	display: inline-block;
	padding: 5px 10px 5px 30px;
	position: relative;
	width: auto;
}
.fm-input .checkbox01::before {
	background: #fff;
	border: 1px solid #231815;
	content: '';
	display: block;
	height: 16px;
	left: 5px;
	margin-top: -9px;
	position: absolute;
	top: 50%;
	width: 16px;
}
.fm-input .checkbox01::after {
	border-right: 3px solid #ed7a9c;
	border-bottom: 3px solid #ed7a9c;
	content: '';
	display: block;
	height: 9px;
	left: 10px;
	margin-top: -7px;
	opacity: 0;
	position: absolute;
	top: 50%;
	transform: rotate(45deg);
	width: 5px;
}

.fm-input input[type=checkbox]:checked + .checkbox01::after {
	opacity: 1;
}

/* 入力データ確認
------------------------------------------------------------*/
#contact .customer{
	width: 500px;
	margin: 10px auto 0;
}

#contact table {
	width: 100%;
	margin-top: 15px;
	padding-left: 15px;
	border-collapse: collapse;
}

#contact th,#contact td {
	font-size: 13px;
	font-weight: normal;
	line-height: 1.5em;
	border: solid 1px #ccc;
}

#contact th {
	width: 28%;
	padding: 10px 15px;
	text-align-last: justify;
	background-color: #eee;
	border-right: none;
}

#contact td {
	padding: 10px 10px;
}

.customer p {
	margin: 20px 0;
}

/* コンプリート
------------------------------------------------------------*/
.message {
	margin: 20px auto 0;
	width: 500px;
}

/* エラー
------------------------------------------------------------*/
.error {
	color: red;
	font-size: 18px;
}


/* SubmitButton
------------------------------------------------------------*/
.contact-bt {
	margin-top: 60px;
}

.submit-button .btn_cont {
	margin: 0 auto;
	text-align: center;
}

.submit-button .btn {
	height: 30px;
	width: 100px;
	position: relative;
	background: currentColor;
	border: 1px solid currentColor;
	font-size: 14px;
	font-weight: normal;
	padding: 5px 0px 4px;
	color: #999999;
	margin: 0 0 20px 0;
	cursor: pointer;
	overflow: hidden;
 	border-radius: 3px;
}

.submit-button .btn a {
	text-decoration: none;
}

.submit-button .btn span {
	font-size: 0.9em;
	color: #ffffff;
	position: relative;
	z-index: 1;
}
.submit-button .btn::before {
	content: '';
	position: absolute;
	background: #071017;
	border: 50vh solid #1d4567;
	width: 30vh;
	height: 30vh;
	border-radius: 50%;
	display: block;
	top: 50%;
	left: 50%;
	z-index: 0;
	opacity: 1;
}
.submit-button .btn:hover {
	color: #fd0107;
}
.submit-button .btn:focus {
	outline: none;
}




/* RESPONSIVE 設定
------------------------------------------------------------*/
@media only screen and (max-width: 799px){
	#contact {
    		width: 95%;
    		margin: 30px auto 35px;
	}

}

@media only screen and (max-width: 640px){
	===================================*/
	/*コンタクト
	------------------------------------------------------------*/
	/* タイトル
	------------------------------------------------------------*/
	#contact .list-title h2{
		width: 90%;
	}

	#contact .list-title h2 span {
		padding: 0 10px;
	}

	/* メッセージ
	------------------------------------------------------------*/
	#contact .message {
		width: 95%;
		margin-top: 15px;
	}

	/* ステップ
	------------------------------------------------------------*/
	#contact .fm-step {
		width: 95%;
	}

	#contact .fm-step p {
		margin-top: 15px;
	}

	.db-fm-title {
		width: 90%;
	}

	.fm-input {
		width: 90%;
	}

	/* カスタマーデータ
	------------------------------------------------------------*/
	#contact .customer{
		width: 95%;
	}

	#contact th {
		width: 20%;
		padding: 10px 5px;
	}


}



