@charset "utf-8";

/* ------------------------------------------------------------------------------------------------------ 共通Layout */

/***********************************************
 共通ボタン
 ***********************************************/

.btn {
	display: block;
	background-color: #bd0a00;
	border: none;
	border-radius: 3px;
	text-align: center;
	line-height: 30px;
	font-weight: bold;
	color: #fff !important;
	
	-webkit-transition: background-color 0.5s;
	-moz-transition: background-color 0.5s;
	-ms-transition: background-color 0.5s;
	-o-transition: background-color 0.5s;
	transition: background-color 0.5s;
}

	.btn:hover {
		background-color: #069499;
		text-decoration: none;
	}

	input.btn[type="reset"],
	input.btn[type="button"] {
		background-color: #000;
		line-height: 20px;	
	}

		input.btn[type="reset"]:hover,
		input.btn[type="button"]:hover {
			background-color: #4d4d4d;
		}


/***********************************************
 テキストボックス 共通指定
 ***********************************************/

select {
	-webkit-appearance: none;
}

textarea,
select,
input[type="text"],
input[type="tel"],
input[type="email"] {
	background: #777;
	border: 1px solid #000;
	border-radius: 3px;
	box-sizing: border-box;
	color: #000;
}

textarea,
select { padding: 5px; }

input[type="text"],
input[type="tel"],
input[type="email"] {
	padding: 0 5px;
}

	textarea:focus,
	select:focus,
	input[type="text"]:focus,
	input[type="tel"]:focus,
  input[type="email"]:focus {
		background: #fff;
		border: 1px solid #07abb1;
	}



/* ------------------------------------------------------------------------------------------------------ Mail Header */

#mail-header {
	margin: 0;
	padding: 0;
}

	#mail-header h1 {
		margin: 0;
		padding: 0;
	}



/* ------------------------------------------------------------------------------------------------------ フォーム */

#form {
	max-width: 600px;
	margin: 40px auto;
}

	#form h1 {
		margin: 0 0 20px;
		padding: 0;
		text-align: center;
		font-size: 1.8em;
		font-weight: normal;
	}

	#form p:first-child {
		text-align: center;
	}

	#form dl {
		margin: 0 0 20px;
		padding: 0;
	}

	#form dt {
		position: relative;
		clear: left;
		float: left;
		width: 150px;
		margin: 0;
		padding: 15px 30px 0 0;
		font-size: 1.2em;
	}

		#form dt.kome:after {
			content: "※";
			position: absolute;
			top: 50%;
			right: 15px;
			margin-top: -0.2em;
			color: #ff0d00;
		}

	#form dd {
		margin: 0;
		padding: 10px 0 10px 150px;
	}

		#form dd input[type="text"],
		input[type="tel"],
		input[type="email"] {
			width: 100%;
			height: 30px;
		}

			#form dd input.w40	{ width: 40px; }
			#form dd input.w80	{ width: 80px; }
			#form dd input.wtel	{ width: 160px; }
			#form dd input.wemail	{ width: 300px; }

		#form dd input[type="radio"],
		#form dd input[type="checkbox"] {
			width: 15px;
			height: 15px;
			margin: 8px 5px 0 0;
		}

		#form dd label {
			font-size: 1.2em;
		}

		#form dd select {
			width: 100%;
			height: 30px;
		}

		#form dd textarea {
			width: 100%;
			height: 200px;
		}

	#form .btn[type="submit"] {
		width: 200px;
		height: 50px;
		margin: 0 auto 16px;
		font-size: 1.2em;
	}

	#form .btn[type="reset"],
	#form .btn[type="button"] {
		width: 120px;
		height: 36px;
		margin: 0 auto;
		font-size: 1.0em;
	}


/***** 確認＆エラー時 *****/

		#form dl.ch {
		}

			#form dl.ch dd {
				min-height: 50px;
				padding-top: 15px;
				border-bottom: 1px dashed #000;
			}


@media screen and (max-width: 768px) {

#form {
	padding: 0 15px;
}

	#form dl {
		margin-bottom: 0;
	}

	#form dt {
		clear: none;
		float: none;
		width: 100%;
		padding: 0 0 6px;
	}

		#form dt.kome:after {
			position: static;
		}

	#form dd {
		padding: 0 0 20px;
	}

		#form dd input[type="text"],
		input[type="tel"],
		input[type="email"] {
			height: 34px;
		}

		#form dd select {
			height: 34px ;
		}


/***** 確認＆エラー時 *****/

			#form dl.ch dt {
				color: #999;
			}

			#form dl.ch dd {
				min-height: 1.0em;
				margin-bottom: 10px;
				padding: 0 0 5px;
			}


}



/* ------------------------------------------------------------------------------------------------------ 送信完了 */

#thanks {
	max-width: 600px;
	margin: 30px auto;
	text-align: center;
}

	#thanks h1 {
		margin: 0 0 30px;
		padding: 0;
		text-align: center;
		font-size: 2.2em;
		font-weight: normal;
	}

	#thanks div {
		margin: 0 80px;
		text-align: left;
		font-size: 0.9em;
		color: #bbb;
	}

	#thanks footer {
		margin-top: 30px;
	}

		#thanks footer a {
			padding: 8px 15px;
			background-color: #000;
			border-radius: 5px;
			color: #fff;
			
			-webkit-transition: background-color 0.5s;
			-moz-transition: background-color 0.5s;
			-ms-transition: background-color 0.5s;
			-o-transition: background-color 0.5s;
			transition: background-color 0.5s;
		}

			#thanks footer a:hover {
				background-color: #333;
				text-decoration: none;
			}


@media screen and (max-width: 768px) {

#thanks {
	padding: 0 15px;
}

}























