@charset "UTF-8";

.contactWrap p {
	line-height: 29px;
	margin: 0;
}

.formWrap ul {
	overflow: hidden;
	display: flex;
	-js-display: flex;
	display: -webkit-flex;
	-webkit-justify-content: space-between; /* Safari */
  	justify-content: space-between;
  	padding: 50px 0 30px;
}

.formWrap ul li {
	width: 300px;
	display: block;
	padding: 13px 0;
	line-height: 1.0;
	text-align: center;
	box-sizing: border-box;
	border-top: 1px solid #489bcb;
	border-left: 1px solid #489bcb;
	border-bottom: 1px solid #489bcb;
	background-color: #f6f6f6;
	color: #489bcb;
	position: relative;
}

.formWrap ul li.active {
	background-color: #489bcb;
	color: #fff;
}



.formWrap ul li:before {
	content: "";
	position: absolute;
	top: -1px;
	right: -20px;
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 21px 0 21px 20px;
	border-color: transparent transparent transparent #489bcb;
}

.formWrap ul li:after {
	content: "";
	position: absolute;
	top: 0px;
	right: -19px;
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 20px 0 20px 19px;
	border-color: transparent transparent transparent #f6f6f6;
}

.formWrap ul li.active:after {
	border-color: transparent transparent transparent #489bcb;
}

.formWrap ul li:last-child {
	border-right: 1px solid #489bcb;
}

.formWrap ul li:last-child:before,
.formWrap ul li:last-child:after {
	display: none;
}

.formWrap table tr {
	overflow: hidden;
	padding: 20px 0;
	border-bottom: 1px solid #c6c6c6;
}

.formWrap table tr th {
	width: 247px;
	padding: 28px 0;
	vertical-align: middle;
}

.formWrap table tr th span {
	float: right;
	display: inline-block;
	color: #fff;
	background-color: #f84545;
	padding: 0 10px;
	margin-right: 10px;
	border-radius: 5px
}

.formWrap table tr td {
	width: 753px;
	padding: 28px 0;
}

.formWrap table tr td input {
	width: 80%;
	padding: 10px 5px;
	background-color: #cee6f4;
	border: 2px solid #489bcb;
	border-radius: 5px;
	font-size: 14px;
}

.formWrap table tr td select{
	width: 80%;
	padding: 10px 5px;
	background-color: #489bcb;
	border: 2px solid #489bcb;
	border-radius: 5px;
	color: #fff;
	position: relative;
	font-size: 14px;
}

.formWrap table tr td select:before {
	content: "";
	position: absolute;
	display: block;
	width: 0;
	height: 0;
	top: 10px;
	right: 10px;
	border-style: solid;
	border-width: 15px 10px 0 10px;
	border-color: #ffffff transparent transparent transparent;
}

.formWrap table tr td textarea {
	width: 98%;
	height: 300px;
	background-color: #cee6f4;
	border: 2px solid #489bcb;
	border-radius: 5px;
	color: #000;
	box-sizing: border-box;
	padding: 5px;
	font-size: 14px;
}
p.read {
	padding: 20px 0 0 0;
}

p.read a {
	color: #489bcb;
	text-decoration: underline;
	padding: 20px 0 0 0;
}

input.send {
	width: 390px;
	padding: 15px 0;
	font-size: 14px;
	text-align: center;
	border: 2px solid #7ac12e;
	color: #7ac12e;
	border-radius: 25px;
	background-color: #f6f6f6;
	display: block;
	margin: 40px auto;
}

.contactWrap p.confirm {
	padding: 40px 0;
}

p.complate {
	padding: 40px 0;
}

.contactWrap p {
	padding: 40px 0 0 0;
	text-align: center;
}

a.topBtn {
	float: none;
	margin: 40px auto;
	padding: 15px 0;
	display: block;
}

@media screen and (max-width: 1000px) {
	.formWrap ul li {
		width: 30%;
	}
}

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

	.formWrap table  {
		width: 100%;
	}

	.formWrap table tr {
		border-bottom: 3px solid #c6c6c6;
	}

	.formWrap table tr th {
		width: 100%;
		float: none;
		vertical-align: center;
		border-bottom: 1px solid #c6c6c6;
		padding: 10px 0;
		display: list-item;
		list-style: none;
	}

	.formWrap table tr td {
		width: 100%;
		float: none;
		display: list-item;
		list-style: none;
	}

	.formWrap table tr td input {
		width: 96%;
		padding: 10px 1%;
		background-color: #cee6f4;
		border: 2px solid #489bcb;
		border-radius: 5px;
	}

	input.send {
		width: 80%;
		margin: 40px 10%;
	}
}