@charset "utf-8";



@import url("../common/css/reset.css");
@import url("../common/css/base.css");




#contact_all {
	max-width: 820px;
}
#contact_form {
	padding: 0 0 60px;
	background: url('../images/contact/tree.jpg') no-repeat right bottom;
	line-height: 1.2;
}

.text {
	padding: 0 0 40px;
	line-height: 1.6;
}



table#form_table, table#chek_table {
	width: 94%;
	max-width: 800px;
	margin: 0 auto;
}
table#form_table tr td, table#chek_table tr td {
	padding: 16px 20px;
	background-color: rgba(255,255,255,0.8);
	border-top: 1px solid #bbb;
}

table#form_table tr:first-child td, table#chek_table tr:first-child td {
	border-top: none;
}
table#form_table tr td:first-child, table#chek_table tr td:first-child {
	width: 30%;
	background-color: #ddd;
}




label {
	display: inline-block;
	margin: 0 2em 0 0;
	padding: 6px 0;
	white-space: nowrap;
}
input[type=text], textarea {
	box-sizing: border-box;
	width: 100%;
	padding: 8px;
	background: #efefef;
	border: 1px solid #fff;
	font-size: 120%;
}
input[type=text]:focus, textarea:focus {
	background: #fcfcfc !important;
	border: 1px solid #69f !important;
}

input[type=text]#company,
input[type=text]#div,
input[type=text]#email_s {
	max-width: 28em;
}
input[type=text]#name_s,
input[type=text]#name_yomi {
	max-width: 22em;
}

input[type=text]#tel1,
input[type=text]#tel2 {
	max-width: 14em;
}
textarea {
	max-width: 46em;
	height: 12em;
}

.submit {
	text-align: center;
}

.submit input[type="submit"] {
	background-color: #1f2a65;
	color: #fff;
	-webkit-appearance: none;
	width: 8em;
	max-width: 40%;
	margin: 0 10px 10px;
	padding: 12px 0;
	border-style: none;
	border-radius: 6px;
	font: inherit;
	font-size: 120%;
	cursor: pointer;
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
	-o-transition: all 0.3s ease;
	transition: all 0.3s ease;
}

.submit input[type="submit"]:hover,
.submit input[type="submit"]:hover {
	background-color: #2d3d83;
	box-shadow: 0 3px 8px 0 rgba(0,0,0,0.5), 0 0 0 1px rgba(0,0,0,0.03);
}
.submit input[type="submit"]#back {
	background-color: #eee;
	color: #1f2a65;
}
.submit input[type="submit"]#back:hover {
	background-color: #ccc;
}

#contact_form_text {
	font-weight: 500;
	color: #1f2a65;
	line-height: 2.2;
}

#contact_tel {
	font-weight: 500;
	color: #666;
}



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

a.to_tel {
	cursor: pointer;
	text-decoration: underline;
}

table#form_table, table#chek_table {
	width: 100%;
}
table#form_table {
	box-sizing: border-box;
	display: block;
	background-color: rgba(255,255,255,0.8);
}
table#form_table tr {
	display: block;
	width: auto;
	padding: 0 0 20px;
}
table#form_table tr td {
	display: block;
	padding: 0 2%;
	background-color: transparent;
	border: none;
}
table#chek_table tr td {
	padding-left: 2%;
	padding-right: 2%;
}
table#form_table tr td:first-child {
	width: auto;
	background-color: transparent;
	font-weight: bold;
}
label {
	margin-left: 1em;
}


.submit input {
	margin: 20px 10px 0;
}
}




.notes {
	font-size: 90%;
	color: #9aa;
}
.red {
	color: #f30;
}

.err {
	background-color: #fec !important;
	border: 1px solid #f96 !important;
}

.message {
	margin: 20px 60px 200px;
	text-align: center;
}




