@charset"utf-8";

/*common*/
#contents h2{
	background: #f5f5f5;
	margin-bottom: 0.5em;
	clear: both;
}

#contents dt {
	font-weight: bold;
}

.necessary {
	background: #D62828;
	color: #fff;
	vertical-align: middle;
	margin-left: 1em;
	padding: 0.3em;
}

.submit_area {
	margin: 1em;
	text-align: center;
}

.confirmation_btn {
	text-align: center;
	font-family: inherit;
	font-size: 1em;
	cursor: pointer;
	width: 15em;
	padding: 1em;
	border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border: 1px solid #bbb;
	box-shadow: 0 -3px 0 0 #ddd inset;
	background: #eee;
}

input[type="submit"][value="送信"], input[type="button"][value="戻る"] {
	margin-left: 15px;
	display: inline-block;
	text-align: center;
	font-family: inherit;
	font-size: 1em;
	letter-spacing: 0.5em;
	cursor: pointer;
	width: 15em;
	padding: 1em;
	border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border: 1px solid #bbb;
	box-shadow: 0 -3px 0 0 #ddd inset;
	background: #eee;
}

.err {
	color: #f00;
}

	.check {
		display: inline-block;
		background: #000080;
		color: #fff;
		padding: 1em;
		margin: 1em;
		font-size: 1.3em;
		font-weight: bold;
	}

/* Mobile */
@media screen and (max-width: 640px) {
	
	#contents dd {
		margin-bottom: 1em;
	}
	
	.necessary {
		font-size: 0.5em;
	}

	#contents dd input[type="text"], #contents dd select, dd textarea {
		width: 80%;
		font-family: inherit;
		padding: 0.5em;
		/*font-size: 14px;*/
		border: 1px solid #444;
		background: #f5f5f5;
	}

	#contents dd input [type="checkbox"] {
		background: #000;
		border: 2px solid #ccc;
	}

	#contents dd textarea {
		height: 8em;
		box-sizing: border-box;
		resize: vertical;
	}

	#contents h2{
		font-size: 100%;
		border-left: solid 6px #000080;
		padding: 0 0.5em;
	}

	input[type="submit"][value="送信"], input[type="button"][value="戻る"] {
		margin: 0.5em 0;
	}
}

/* Desktop */
@media screen and (min-width: 640px) {
	
	input, select, dt, dd {
		vertical-align: middle;
	}

	#contents h1 {
		border-left: solid 6px #D62828;
		padding: 0.5em 1em;
		margin-bottom: 0.5em;
		background: #f5f5f5;
		clear: both;
	}

	#contents h2 {
	width: 95%;
	border: none;
	border-left: solid 6px #000080;
	box-shadow: none;
	border-radius: 0;
	-webkit-border-radius: 0e;
	-moz-border-radius: 0;
	padding: 0.5em 1em;
	margin: auto auto 0.5em auto;
	text-align: left;
	}

	#contents dl {
		padding: 12px;
		margin-bottom: 4px;
	}

	#contents dt {
		width: 250px;
		display: table-cell;
	}

	#contents dd {
		max-width: 100%;
		padding-left: 8px;
		display: table-cell;
	}

	#contents dd input[type="text"], #contents dd select, dd textarea {
		width: 315px;
		max-width: 100%;
		font-family: inherit;
		padding: 7px 12px;
		font-size: 14px;
		border: 1px solid #444;
		background: #f5f5f5;
		box-shadow: 0 1px 2px rgba(0,0,0,.05) inset;
	}

	#contents dd input [type="checkbox"] {
		background: #000;
		border: 2px solid #ccc;
	}

	#contents dd textarea {
		width: 350px;
		height: 120px;
		box-sizing: border-box;
		resize: vertical;
	}

	#tel {
		margin-bottom: 1em;
		padding: 1.5em;
		border: solid #ccc 1px;
	}

	#tel dl {
		padding: 12px;
		margin-bottom: 4px;
	}

	#tel dt {
		width: 200px;
		display: table-cell;
	}

	#tel dd {
		width: 400px;
		padding-left: 8px;
		display: table-cell;
	}

	.confirmation_btn:hover {
		opacity: .8;
	}

	input[type="submit"][value="送信"]:hover, input[type="button"][value="戻る"]:hover {
		opacity: .8;
	}

	input[type="button"][value="戻る"] .single {
		margin-left: 0;
	}

	.confirmation {
		margin: 3em 0;
		border: 1px solid #f00;
		color: #f00;
		padding: 2em;
	}

	.confirmation_send {
		margin: 3em;
		text-align: center;
	}

	.submit_content dl {
		padding: 12px;
		margin-bottom: 4px;
		border-bottom: 1px solid #ccc;
	}

	.submit_content dt {
		width: 200px;
		display: table-cell;
		vertical-align: middle;
	}

	.submit_content dd {
		width: 368px;
		padding-left: 8px;
		display: table-cell;
		vertical-align: middle;
	}

	.completion {
		margin: 5em 0;
		text-align: center;
	}

	.necessary {
		font-size: 0.8em;
	}

	.check {
		padding: 1em 2em;
		margin: 1em;
	}

}