#wrapper {
	width: 94%;
	max-width: 900px;
	margin-left: auto;
	margin-right: auto;
	border-bottom: 3px solid #666666;
	padding-bottom: 50px;
}
.box {
	border-top: 3px solid #666666;
	padding-top: 20px;
	margin-top: 30px;
	overflow: hidden;
}
.title {
	border-bottom: 1px dashed #666666
}
.title h3 {
	font-size: 20px;
	padding-bottom: 20px;
	color:#666666
}
.box table {
	width: 100%;
	max-width: 900px;
	background-color: #AAA;
	margin-bottom: 20px;
	margin-top: 30px;
}
.box table tr tr {
}
.box table tr th {
	background-color: #DCDCDC;
	font-weight: normal;
	padding-top: 15px;
	padding-bottom: 15px;
	padding-left: 15px;
}
.box table tr td {
	background-color: #FFF;
	padding: .5rem;
}

/*=============================================================
#form
=============================================================*/
#contents input[type="text"]:hover,#contents textarea:hover {
border: 1px solid #666666;
}
#contents input[type="text"]:focus,#contents textarea:focus {
background-color: #ffffcc;
border: 1px solid #333333;
}
#contents input[type="text"],#contents textarea {
border: 1px solid #999999;
padding: 1px;
}
#submit {
	width: 94%;
	max-width: 900px;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}
#submit p {
	text-align: left;
	padding-bottom: 40px;
}
#contents input[type="submit"] {
	text-align: center;
}
#contents input[type="submit"]:hover {
background-color: #FFCCCC;
}
.anq_required {
	background-image: url(/image/required.gif);
	background-repeat: no-repeat;
	background-position: right top;
	padding-right: .5rem;
	padding-bottom: 5px;
	text-align: center;
}
/*===============
thanks
===============*/
.box_thanks {
	border-top: 3px solid #666666;
	padding-top: 20px;
	margin-top: 30px;
	overflow: hidden;
}
.box_thanks p b {
	font-size: 24px;
	padding-top: 30px;
	margin-top: 30px;
	line-height: 300%;
}

@media all and (max-width: 768px) {
	.box table tr th {
		width: calc(100% - 2rem);
		padding: .5rem 1rem;
		display: block;
		position: relative;
	}
	.box table tr td {
		width: calc(100% - 2rem);
		padding: .5rem 1rem;
		display: block;
	}
	.box table tr td span {
		display: block;
		font-size: 14px;
	}
	.box table tr td input.sp100 {
		width: 100%;
	}
	.box table tr td:first-of-type {
		display: none;
	}
	.box table tr td:not(.adress) input[type="text"],#contents .box table tr td textarea {
		width: 100%!important;
		display: block;
	}
	.box table tr th .anq_required::before{
		content: url(image/required.gif);
		display: inline-block;
		width: 27px;
		height: 15px;
		position: absolute;
		top: 50%;
		right: 1rem;
		transform: translateY(-50%);
	}
}