@charset "Shift_JIS";

#main {
/*	width: 1200px;
	margin: 0 auto 60px auto;*/
	margin: 0 0 20px 0;
}

#contants {
/*    width: 1020px;*/
    margin: 0 auto;
}

#contants h2 {
    margin: 0 0 40px 0;
}

#contants #contact {
    margin: 0 0 70px 20px;
}

#contants #contact h3 {
    margin: 0 0 30px 0;
}

#contants #contact h3 img {
	width: 700px;
	height: auto;
}

#contants #contact table {
	margin-left: 0;
}

#contants #contact th {
    position: relative;
    text-align: left;
    vertical-align: top;
    font-weight: normal;
    width: 280px;
    padding-left: 2px;
}
#contants #contact th p {
    width: 280px;
}

#contants #contact th img {
    vertical-align: middle;
}

#contants #contact th img.required {
    position: absolute;
    right: 30px;
}

#contants #contact td input {
    width: 98%;
    height: 30px;
}

#contants #contact td #tel input {
    width: 70px;
}

#contants #contact td textarea {
    width: 98%;
    height: 200px;
}

#contants #contact td p {
	word-wrap: break-word;
}

#contants #contact .submit {
	text-align: center;
}

#contants #contact .submit #button {
    width: 150px;
    height: 50px;
    font-size: 18px;
    color: #8e7134;
    background-color: #fcf6e8;
	border: 1px #ccc solid;
	-moz-border-radius: 16px;
	-webkit-border-radius: 16px;
	border-radius: 16px;
}
#contants #contact .submit #button:hover {
	font-weight: bold;
	border: 1px #999 solid;
}

#contants #contact .submit #ret {
    width: 150px;
    height: 50px;
    font-size: 18px;
    color: #8e7134;
    background-color: #eee;
    margin-right: 10px;
	border: 1px #ccc solid;
	-moz-border-radius: 16px;
	-webkit-border-radius: 16px;
	border-radius: 16px;
}
#contants #contact .submit #ret:hover {
	font-weight: bold;
	border: 1px #999 solid;
}

#contants #contact input.my_error,
#contants #contact textarea.my_error {
	border: 1px dotted #f00;
	background-color: #ffe4c4;
}

#contants #contact #form_sendmail {
	margin-left: 0;
}

label.my_error {
	color: #d40029;
}

#contants #contact div.error_text {
	line-height: 24px;
	margin: 0 0 20px 0;
}


#contants #contact table>tbody>tr {
    display: block;
}

#contants #contact table>tbody>tr>td {
    display: block;
}


@media print, screen and (min-width:420px) {

	#contants #contact h3 img {
		width: 968px;
	}

}


@media print, screen and (min-width:430px) {

	#contants #contact td input {
	    width: 320px;
	}

	#contants #contact td textarea {
	    width: 400px;
	}

	#contants #contact td p {
		width: 600px;
	}

}


@media print, screen and (min-width:710px) {

	#contants #contact table>tbody>tr {
	    display: table-row;
	}

	#contants #contact table>tbody>tr>td {
	    display: table-cell;
	}

}


@media print, screen and (min-width:800px) {

	#contants #contact table {
	    margin: 0 0 20px 70px;
	}

}


@media print, screen and (min-width:880px) {

	#contants #contact #form_sendmail {
		margin-left: 100px;
	}


}


@media print, screen and (min-width:1130px) {

	#main {
		width: 1020px;
		margin: 0 auto 20px auto;
	}


}

