/* CSS Document */
.mainImg02 {
	margin-bottom: 97px;
}

.mainImg02:after {
	width: 9999px;
	height: 406px;
	background: url(../img/contact/main_bg.jpg) no-repeat right bottom;
	position: absolute;
	bottom: -0;
	right: 0;
	content: "";
}

#main {
	padding-bottom: 63px;
}

#main .mainBox {
	padding-bottom: 0;
}

#main .text {
	margin-bottom: 49px;
	font-size: 18px;
	line-height: 1.6;
	color: #272727;
	text-align: center;
}

#main .text span {
	display: block;
	font-size: 16px;
	color: #ff0000;
}

#main .whiteBox {
	padding: 78px 50px 57px;
	box-shadow: 0 0 10px #999;
	position: relative;
}

#main .whiteBox .tabList {
	position: absolute;
	top: -63px;
	left: 50px;
}

#main .whiteBox .tabList li {
	margin-right: 10px;
	float: left;
	width: 126px;
	height: 126px;
	background: url(../img/contact/contact.png) no-repeat center top;
	background-size: cover;
	text-align: center;
	position: relative;
}

#main .whiteBox .tabList li a:hover {
	opacity: 0.7;
	text-decoration: none;
}

#main .whiteBox .tabList li:last-child {
	margin-right: 0;
}

#main .whiteBox .tabList li a {
	font-size: 13px;
	line-height: 126px;
	color: #fff;
	display: block;
	background: url(../img/contact/icon01.png) no-repeat center bottom 25px;
}

#main .whiteBox .tabList li.on a {
	line-height: 110px;
}

#main .whiteBox .tabList li.on:before {
	width: 126px;
	height: 63px;
	background: url(../img/contact/icon02.png) no-repeat center bottom;
	position: absolute;
	bottom: 0;
	left: 0;
	content: "";
}

#main {
	margin-bottom: 55px;
}

#main .formBox {
	display: none;
}

#main table {
	margin-bottom: 55px;
	width: 100%;
	border-collapse: collapse;
}

#main table th,
#main table td {
	padding: 14px 0 15px;
	vertical-align: middle;
	text-align: left;
}

#main table th {
	width: 18.5%;
	font-size: 18px;
}

#main table th span {
	color: #ff0000;
}

#main table td {
	width: 81.5%;
}

#main table td input[type="text"] {
	padding: 2px 10px;
	width: 100%;
	height: 30px;
	border: 1px solid #ccc;
	box-sizing: border-box;
	appearance: none;
	moz-appearance: none;
	-ms-appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	font-size: 14px;
	border-radius: 0;
}

#main table td select {
	width: 158px;
	height: 30px;
	border: 1px solid #ccc;
	box-sizing: border-box;
	padding: 2px 5px;
}

#main table td textarea {
	padding: 10px 10px;
	height: 144px;
	width: 100%;
	border: 1px solid #ccc;
	box-sizing: border-box;
	appearance: none;
	moz-appearance: none;
	-ms-appearance: none;
	-webkit-appearance: none;
    -moz-appearance: none;
	border-radius: 0;
	font-size: 14px;
}

#main table td checkbox {
	margin: 0;
	vertical-align: middle;
	display: inline-block;
}

#main table .trStyle th,
#main table .trStyle td {
	padding: 10px 0 0;
}

#main .submit {
	text-align: center;
}

#main .submit li {
	margin: 0 12px;
	width: 205px;
	display: inline-block;
}

#main .submit li input[type="submit"] {
	padding: 7px 10px 5px;
	width: 205px;
	box-sizing: border-box;
	border: none;
	font-size: 19px;
	font-weight: bold;
	color: #fff;
	cursor: pointer;
	background: #00B395;
	appearance: none;
	moz-appearance: none;
	-ms-appearance: none;
	-webkit-appearance: none;
    -moz-appearance: none;
	border-radius: 0;
}

#main .submit li input[type="submit"]:hover {
	opacity: 0.7;
}

#main .whiteBox .privacy{
	margin-top: 40px;
}

#main .whiteBox .privacy a {
	color: #3fa00d;
	text-decoration: underline;
}

#main .whiteBox .privacy a:hover {
	text-decoration: none;
}

@media all and (min-width: 0px) and (max-width: 767px) {
	#main .text {
		margin-bottom: 84px;
		font-size: 14px;
		line-height: 1.7;
	}

	#main .text span {
		font-size: 14px;
	}

	.mainImg02 {
		margin-bottom: 86px;
	}

	#main .whiteBox {
		margin: 0 -15px 15px;
		padding: 50px 20px 46px;
		box-shadow: 0 0 5px #999;
	}

	#main .whiteBox .tabList {
		margin: -100px auto 18px;
		width: 200px;
		position: static;
		text-align: center;
	}

	#main .whiteBox .tabList li {
		margin-right: 0;
		width: 100px;
		height: 100px;
		background-size: cover;
	}

	#main .whiteBox .tabList li a {
		line-height: 100px;
		font-size: 12px;
		background: url(../img/contact/icon01.png) no-repeat center bottom 18px;
		background-size: 14px 8px;
	}

	#main .whiteBox .tabList li.on a {
		line-height: 85px;
	}

	#main .whiteBox .tabList li.on:before {
		width: 100px;
		height: 50px;
		background-size: 100px 50px;
	}

	#main table th,
	#main table td {
		float: left;
		width: 100%;
	}

	#main table th {
		padding: 0;
		font-size: 14px;
		font-weight: normal;
	}

	#main table td {
		padding: 5px 0 17px;
	}

	#main table td select {
		width: 180px;
		text-align: left;
		padding: 2px 5px;
	}

	#main table td textarea {
		height: 103px;
	}

	#main table .trStyle th {
		padding: 0;
	}

	#main table .trStyle td {
		padding-top: 5px;
		font-size: 12px;
	}

	#main table .trStyle td label {
		display: table;
		width: 100%;
	}

	#main table .trStyle td label span {
		display: table-cell;
		vertical-align: middle;
	}

	#main table .trStyle td label .span01 {
		width: 26px;
	}

	#main .submit li {
		margin: 0 10px 0 0;
		width: 130px;
	}

	#main table td input[type="text"] {
		padding: 2px 5px;
	}

	#main table td textarea {
		padding: 10px 5px;
		font-size: 14px;
	}

	#main .submit li:first-child  input[type="submit"] {
		background: #CACACA;
		color: #000;
	}

	#main .submit li input[type="submit"]:hover {
		opacity: 1;
	}

	#main .submit li:last-child {
		margin-right: 0;
	}

	#main .submit li input[type="submit"] {
		padding: 15px 10px 13px;
		width: 130px;
		font-size: 14px;
	}

	#main table {
		margin-bottom: 15px;
	}

	#main {
		margin-bottom: 38px;
	}

	#main .privacy {
		font-size: 12px;
		line-height: 1.58;
	}

	#main .whiteBox .privacy a:hover {
		text-decoration: underline;
	}

	#main {
		padding-bottom: 13px;
	}
	
	#main .add_contact{
		margin: 0px 5px 15px;
		padding: 0;
	}
	
	#main .add_contact .tabList{
		margin: 0 auto 18px;
		width: auto;
		position: unset;
	}
	
	#main .add_contact .tabList li{
		position: absolute;
		left: 0;
		right: 0;
		margin: auto;
		top: -70px;
	}
	
	#main .add_contact .tabList li:last-child{
		margin-right: auto;
	}
	
	#main .add_contact table{
		margin: 35px 10px 15px;
	}
	
	#main .add_contact table td input[type="text"],
	#main .add_contact table td input[type="email"]{
		width: 84%;
    height: 30px;
    border: 1px solid #ccc;
    box-sizing: border-box;
    appearance: none;
    moz-appearance: none;
    -ms-appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    font-size: 14px;
    border-radius: 0;
	}
	
	#main .add_contact table td textarea{
		width: 84%;
		border: 1px solid #ccc;
		box-sizing: border-box;
		font-size: 14px;
		border-radius: 0;
	}
}
