div.wpcf7 {
	margin: 0;
	padding: 0;
}

div.wpcf7 h4 {
	width: 200px;
	margin-top: 15px!important;
	margin-bottom: 11px!important;
	float: left;
}

div.wpcf7 h4 em {
	display: none;
}

div.wpcf7 p {
	width: 100%;
	margin-top: 12px!important;
	margin-bottom: 12px!important;
	padding-top: 10px;
	border-top: 1px solid #c1c1c1;
}

div.wpcf7 div.payment-notice,
div.wpcf7 div.q-cate-notice { 
	font-size: 80%;
	margin-bottom: 12px;
	color: #e82727;
}

div.wpcf7 p.wpcf7Notice {
	font-size: 80%;
	border: none!important;
}

p.chkbox span.required {
	padding-left: 30px!important;
	padding-right: 0!important;
	background: url("../../../../themes/jea/img/common/required.png") 0% 50% no-repeat;
}

.your-name input, .your-kana-name input, .your-email input, .your-zipcode input, .your-subject input, .your-city input, .your-address input, .your-phone input, .your-fax input, .payment-date input {
	height: 23px;
}

.q-category select, .your-pref select, .your-age select {
	height: 30px;
	line-height: 25px;
}

div.wpcf7-response-output {
	margin: 2em 0.5em 1em;
	padding: 0.2em 1em;
}

div.wpcf7 .screen-reader-response {
	position: absolute;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	height: 1px;
	width: 1px;
	margin: 0;
	padding: 0;
	border: 0;
}

div.wpcf7-mail-sent-ok {
	border: 2px solid #398f14;
}

div.wpcf7-mail-sent-ng {
	border: 2px solid #ff0000;
}

div.wpcf7-spam-blocked {
	border: 2px solid #ffa500;
}

div.wpcf7-validation-errors {
	border: 2px solid #f7e700;
}

.wpcf7-form-control-wrap {
	position: relative;
}

span.wpcf7-not-valid-tip {
	color: #f00;
	font-size: 1em;
	display: block;
}

.use-floating-validation-tip span.wpcf7-not-valid-tip {
	position: absolute;
	top: 20%;
	left: 20%;
	z-index: 100;
	border: 1px solid #ff0000;
	background: #fff;
	padding: .2em .8em;
}

span.wpcf7-list-item {
	margin-left: 0.5em;
}

.wpcf7-display-none {
	display: none;
}

div.wpcf7 img.ajax-loader {
	border: none;
	vertical-align: middle;
	margin-left: 4px;
}

div.wpcf7 div.ajax-error {
	display: none;
}

div.wpcf7 .placeheld {
	color: #888;
}

.wpcf7_submit input {
	width: auto;
	height: 35px;
	padding: 8px;
	font-family: Meiryo;
	font-weight: bold;
	text-decoration: none;
	border-style: none;
	background:#ccc;
	-moz-border-radius:4px;
	-khtml-border-radius:4px;
	-webkit-border-radius:4px;
	border-radius:4px;
}

.wpcf7_submit input:hover {
	color: #ccc;
	background: #146eb4;
	cursor: pointer;
	-webkit-transition: 400ms ease-in-out;
	-moz-transition: 400ms ease-in-out;
	-o-transition: 400ms ease-in-out;
	-ms-transition: 400ms ease-in-out;
	transition: 400ms ease-in-out; 
}

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

	div.wpcf7 h4 { width: 170px; }
	.your-name input, .your-kana-name input, .your-email input, .your-city input, .your-address input, .your-phone input, .your-fax input, .your-message textarea { width: 280px; }

}

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

	div.wpcf7 h4 { width: 95%; margin-top: 5px!important; margin-right: 10px!important; margin-bottom: 0!important; float: none; }
	div.wpcf7 p { margin-top: 5px!important; padding-top: 0; padding-bottom: 10px; border-top: none; border-bottom: 1px solid #c1c1c1; }
	div.wpcf7 p.payment, div.wpcf7 p.q-cate { margin-bottom: 5px!important; padding-bottom: 0; border-bottom: none; }
	div.wpcf7 div.payment-notice, div.wpcf7 div.q-cate-notice { padding-bottom: 10px; border-bottom: 1px solid #c1c1c1; }
	.your-message textarea { width: 100%; }

}
