/*
 * base css 
 * pc width 1000px fixed
 */

@media (max-width: 599px) {
} /* end -599 */

@media (min-width: 600px) and (max-width:959px) {
} /* end 600-959 */

@media (min-width: 960px) {
} /* 960- */


@media (max-width: 768px) {
} /* end -768px */

@media (min-width: 769px) {
} /* 769px- */


@media (max-width: 768px) {
} /* end -768px */

@media (min-width: 769px) and (max-width:1048px) {
} /* end 769px-1048px */

@media (min-width: 1049px) {
} /* 1049px- */


/* ---------------------------------------- common */

#contact table th { background: #eee; }

@media (min-width: 751px) and (max-width:959px) {
	#contact table th { width: 30%; }
}

@media (min-width: 960px) {
	#contact table th { width: 25%; }
}

/* ---------------------------------------- form */

.inside > .required { margin: 0 0 1em; }

.required { 
	display: inline-block;
	color: #fff; 
	background: red; 
	font-size: 1.1rem;
	font-weight: bold;
	line-height: 1;
	padding: 4px 1em;
	margin: 0 0 0 .5em;
	-webkit-border-radius: 40px;
	border-radius: 40px;
}

#contact input[type="text"],
#contact input[type="email"],
#contact textarea {
	width: 100%;
	border: 1px #ccc solid;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	padding: 4px;
}
#contact input[type="text"].middle {
	width: 60%;
}
#contact input[type="text"].short {
	width: 4em;
}

#contact select {
	border: 1px #ccc solid;
	padding: .5em 1em;
	border-radius: 8px;
}

#contact .submits { text-align: center; }
#contact input[type="submit"] {
	color: #fff;
	background: #009644;
	border: 1px #009644 solid;
	font-size: 120%;
	padding: 0.75em;
	border-radius: 10px;
	-webkit-transition: all 0.3s ease-out;
	transition: all 0.3s ease-out;
}
#contact input[type="submit"]:hover {
	color: #009644;
	background: #fff;
}

#contact .mwform-radio-field.horizontal-item {
	display: inline-block;
	margin-right: 1em;
}
#contact .mw_wp_form .horizontal-item + .horizontal-item {
    margin-left: 0 !important;
}

span.error {
	color: #f16199;
	font-weight: 700;
}

#submits {
	text-align: center;
	margin: 2em 0 0;
}

@media (max-width: 599px) {

	#contact input[type="submit"] {
		width: 100%;
	}

}
@media (min-width: 600px) and (max-width:959px) {

	#contact input[type="submit"] {
		width: 75%;
	}

}

@media (min-width: 960px) {

	#contact input[type="submit"] {
		width: 40%;
	}

}


