@charset "UTF-8";

/* VP Form */
#formWrap {
	font-size: 1.0rem;
	line-height: 120%;
	color: #555;
}
#formWrap h4 {
	margin: 0 0 1.6em;
}
p.error_messe {
	margin: 5px 0;
	color: red;
}
@media (max-width: 640px) {
	#formWrap {
		width: 89.6%;
		padding: 240px 0 200px;
		margin: 0 auto;
	}
}
@media (min-width: 641px) {
	#formWrap {
		padding: 240px 0 320px;
	}
}

#preview-index #formWrap {
	width: 700px;
	padding: 0;
	margin: 0 auto;
	color: #555;
	line-height: 120%;
	font-size: 1.0rem;
}
#preview-index #formWrap h4 {
	margin: 0 0 1.6em;
}
#preview-index #formWrap p#check {
	margin: 0 0 2.4em;
}

#preview-index table.formTable{
	width: 100%;
	margin: 0 auto 2.4em;
	border-collapse: collapse;
}
#preview-index table.formTable td,table.formTable th {
	border: 1px solid #ccc;
	padding: 1.6em 2.4em;
}
#preview-index table.formTable th {
	width: 30%;
	background: #efefef;
	text-align: left;
}
#preview-index p.error_messe {
	margin: 5px 0;
	color: red;
}
@media screen and (max-width:640px) {
#preview-index #formWrap {
	width: 89.6%;
	padding: 0;
	margin: 0 auto;
}
#preview-index table.formTable{
	width: 100%;
	margin: 0 auto 2.4em;
	border-collapse: collapse;
	border-bottom: 1px solid #ccc;
}
#preview-index table.formTable th, table.formTable td {
	width: auto;
	display: block;
}
#preview-index table.formTable td,table.formTable th {
	padding: 1.2em 1.6em;
	border-bottom: 0;
}
#preview-index input[type="submit"], input[type="reset"], input[type="button"] {
	display: inline-block;
	width: 46%;
	height: 54px;
	background: #fd3e3e;
	color: #fff;
	border: 1px solid;
	border-radius: 8px;
	-webkit-border-radius: 8px;
	-moz-border-radius: 8px;
	letter-spacing: 0.1em;
	cursor: pointer;
}
}

@media (min-width: 641px) {
#preview-index input[type="submit"], input[type="reset"], input[type="button"] {
	display: inline-block;
	width: 210px;
	height: 54px;
	background: #000;
	color: #fff;
	border: 1px solid;
	border-radius: 8px;
	-webkit-border-radius: 8px;
	-moz-border-radius: 8px;
	letter-spacing: 0.1em;
	cursor: pointer;
	-webkit-transition: 0.3s;
	transition: 0.3s;
	backface-visibility: hidden; 
	-webkit-backface-visibility: hidden;
}
#preview-index input[type="submit"]:hover, input[type="reset"]:hover, input[type="button"]:hover {
	border: 1px solid;
	opacity: 0.6;
}
}


@media (max-width: 640px) {
#thanks-index #thanks-box {
	width: 89.6%;
	text-align: center;
	margin: 0 auto;
}
#thanks-index #thanks-box h3 {
	font-size: 1.25rem;
	margin: 0 0 1.6em;
}
#thanks-index #thanks-box p {
	line-height: 1.8;
	margin: 0 0 3.2em;
}
}

@media (min-width: 641px) {
#thanks-index #thanks-box {
	width: 980px;
	text-align: center;
	margin: 0 auto;
}
#thanks-index #thanks-box h3 {
	font-size: 1.25rem;
	margin: 0 0 1.6em;
}
#thanks-index #thanks-box p {
	line-height: 1.8;
	margin: 0 0 3.2em;
}
}
