@charset "utf-8";

*,
*::before,
*::after {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}
body {
	color: #454545;
	font-family: sans-serif;
	background: #fdfbf4;
}

header {
	background-color: #fff;
	padding: 20px;
	text-align: center;
}

footer {
	padding: 30px 0;
	background-color: #a57e39;
	color: #fff;
	text-align: center;
}
footer .copy {
	font-size: 12px;
}


#formWrap {
	width: 800px;
	margin: auto;
	padding: 80px 0;
	color: #555;
	line-height: 120%;
	font-size: 90%;
}

#formWrap > h2 {
	text-align: center;
	margin-bottom: 30px;
}

#formWrap > .inner {
	border: 1px solid #CCC;
	padding: 20px 20px;
}

#formWrap > .inner > .read {
	font-size: 12px;
	text-align: center;
	color: #f00c21;
	margin-bottom: 15px;
}

p.legend { margin-bottom: 1em; }
p.legend em { color:#CC0000; font-style: normal; }

#errors { margin: 0 0 10px 0; padding: 5px 10px; border:#FFCC66 1px solid; background-color:#FFFFCC; }
#errors p { margin: 0; }
#errors p em { color:#CC0000; font-style: normal; font-weight: bold; }

#formWrap form p {
margin: 0;
}
#formWrap form p.note {
margin-left: 170px;
font-size: 10px;
color: 333;
}
#formWrap form fieldset { margin: 10px 0; padding: 10px; border:#DDDDDD 1px solid; }
#formWrap form legend { font-weight: bold; color:#666666; }
#formWrap form fieldset div { padding: 3px 0; }
#formWrap label,
#formWrap span.label {
margin-right: 10px;
padding-right: 10px;
width: 120px;
display: block;
float: left;
text-align: right;
position: relative;
font-size:12px;
}
#formWrap label.error,
#formWrap span.error { color:#CC0000; }
#formWrap label em,
#formWrap span.label em { position: absolute; right: 0; font-size: 14px; font-style: normal; color:#CC0000; }
#formWrap input.error { border-color:#CA2D58; background-color:#FFFBFF; }
#formWrap input:focus,
#formWrap input.error:focus,
#formWrap textarea:focus {	background-color:#FFFFCC; border-color:#FFCC66; }
#formWrap #controlset label,
#formWrap #controlset input { display: inline; float: none; }
#formWrap #controlset div { margin-left: 170px; }
#formWrap #buttonrow { margin-left: 180px; }

#formWrap input,
#formWrap select,
#formWrap textarea {
	padding:2px;
	font-size: 12px;
}

input.long30 {
width:30px;
}
input.long50 {
width:50px;
}
input.long80 {
width:80px;
}
input.long100 {
width:100px;
}
input.long150 {
width:150px;
}
input.long200 {
width:200px;
}
input.long300 {
width:300px;
}
textarea.longtxt {
width:300px;
}

#formWrap input[type="submit"] {
  border-radius: 6px;
  margin-top: 18px;
  margin-left: auto;
  margin-right: auto;
  padding-top: 12px;
  padding-bottom: 8px;
  width: 42%;
  display: block;
  letter-spacing: 0.05em;
  background: #b59350;
  color: #fff;
	font-size: 16px;
  font-weight: bold;
	cursor: pointer;
}
#formWrap input[type="submit"]:hover {
	background-color: #d0a85b;
}

/*table*/
#formWrap table a,
#formWrap table a:link,
#formWrap table a:visited {
	border:none;
}
#formWrap table {
	border-top:1px solid #ccc;
	border-collapse:collapse;
	width: 96%;
	box-sizing: border-box;
	margin: 0 auto 10px;
}
#formWrap th,
#formWrap td {
	border-bottom: 1px solid #ccc;
	box-sizing: border-box;
	padding: 10px;
}
#formWrap th {
	text-align:left;
	font-size: 14px;
	font-weight: normal;
	white-space: nowrap;
	background-color: #f2efe6;
}
#formWrap th span {
	color: #f00c21;
	font-weight: normal;
}
#formWrap td {
	color:#454545;
	text-align:left;
	font-size: 14px;
	background-color: #FFF;
}
#formWrap td .bikou {
	padding: 5px 0 0 5px;
	font-size: 11px;
}

#formWrap input[type='text'],
#formWrap input[type='tel'],
#formWrap input[type='email'],
#formWrap textarea {
	font: 15px/24px sans-serif;
	box-sizing: border-box;
	width: 100%;
	padding: 0.3em;
	transition: 0.3s;
	letter-spacing: 1px;
	border: 1px solid #ffffff;
	box-shadow: 1px 1px 2px 0 #707070 inset;
	border-radius: 4px;
}
#formWrap textarea {
	resize: vertical;
	max-height: 500px;
}
#formWrap input[type='text']:focus,
#formWrap textare:focus {
	outline: none;
	box-shadow: inset 1px 1px 2px 0 #c9c9c9;
}

#formWrap .form-btn {
text-align:center;
}

p.form-point {
font-size:12px;
}

.buybox form {
letter-spacing:0;
font-size:12px;
}


#formWrap .note {
	text-align:left;
	margin: 0 15px;
	padding: 15px;
  background-color: #FFF;
	list-style: none;
}
#formWrap .note p,
#formWrap .note li {
	font-size: 12px;
	line-height: 1.5;
}
#formWrap .note p {
	margin-bottom: 10px;
}
#formWrap .note li {
	list-style: none;
	text-indent: -1em;
	margin-left: 1em;
}
#formWrap .note li+li {
	margin-top: 10px;
}


#formMes {
	text-align:left;
	padding: 15px;
  background-color: #FFEEEC;
}
#formMes p {
	background-color: #FFEEEC;
	font-size: 12px;
	line-height: 120%;
}
#formMes p+p {
	margin-top: 10px;
}



#thanks .thanks--inner {
	width: 880px;
	margin: auto;
	padding: 80px 0;
}
.thanks--inner > h2 {
	text-align: center;
	margin: 0 auto 30px;
}
.thanks--mes {
	padding: 30px;
	background-color: #FFF;
	border: 1px solid #CCC;
	border-radius: 10px;
}
.thanks--read {
	margin-bottom: 12px;
}
.thanks--note {
	font-size: 12px;
}


@media screen and (max-width: 768px) {
	#formWrap {
		width: 95%;
		margin: 0 auto;
	}
	table.formTable th,
	table.formTable td {
		width: auto;
		display: block;
	}
	table.formTable th {
		margin-top: 5px;
		border-bottom: 0;
	}
	form input[type="text"],
	form textarea {
		width: 80%;
		padding: 5px;
		font-size: 110%;
		display: block;
	}
	form input[type="submit"],
	form input[type="reset"],
	form input[type="button"] {
		display: block;
		width: 100%;
		height: 40px;
	}
	
	#thanks .thanks--inner {
		width: 90%;
		padding: 50px 0;
	}
	.thanks--inner > h2 {
		font-size: 21px;
		margin: 0 auto 20px;
	}
}
