/* --------------------------------- list-office */
.contact section {
	position: relative;
	width: 100%;
	margin: 90px 0 0;
}
.contact div.bg-container {
	padding: 60px 100px;
}

.contact form {
	width: 100%;
	max-width: 800px;
	margin: 0 auto;
	position: relative;
	z-index: 5;
}

.contact input,
.contact textarea {
	outline: none;
}

.contact p.prepare {
	text-align: right;
	font-weight: 700;
	color: #f89a71;
}
.contact .mw_wp_form_confirm p.prepare,
.contact .mw_wp_form_complete p.prepare {
	display: none;
}

.contact table {
	text-align: left;
}

.contact table tr th {
	width: 35%;
	vertical-align: middle;
	font-size: 1.3em;
	font-family: 'Kiwi Maru', serif;
	font-weight: 500;
	color: #9ec855;
	border-bottom: 3px dotted #9ec855;
	padding: 30px 1em 30px 0;
}

.contact table tr td {
	padding: 30px 0;
	border-bottom: 3px dotted #9ec855;
	vertical-align: middle;
}

.contact table tr td input[type="text"],
.contact table tr td input[type="email"],
.contact table tr td textarea {
	border: none;
	padding: 1em 1em;
	width: 100%;
	max-width: 520px;
	box-shadow: 1px 1px 3px 0px rgb(0 0 0 / 30%);
	border-radius: 5px;
}
.contact table tr.tel td input[type="text"] {
	margin: 0 3px;
}
.contact table tr.tel td input[type="text"]:nth-child(1) {
	margin-left: unset;
}
.contact table tr.tel td input[type="text"]:nth-child(3) {
	margin-right: unset;
}
.contact table tr.tel td span.mwform-tel-field {
	display: flex;
	align-items: center;
}

.contact .btn {
	text-align: center;
	margin: 50px 10px 0;
	transition: opacity .3s;
}
.contact div.btn {
	display: flex;
	justify-content: space-around;
	align-items: center;
	flex-wrap: wrap;
}
.contact div.btn div {
	position: relative;
	display: block;
	width: 100%;
	max-width: 300px;

	font-size: 1.3em;
  border-radius: 60px;
  background-color: #f89a71;
  border: 1px solid #f89a71;
  color: #ffffff;
  transition: all 0.3s;
	margin: 0 16px 16px;
}
.contact div.btn div::after {
  content: '';
  position: absolute;
  width: 9px;
  height: 8px;
  background: url('../images/icon-arw.svg') no-repeat;
  top: 50%;
  right: 10px;
  transform: translate(0, -50%);
  transition: transform 0.5s;
}
.contact div.btn div:hover {
  background-color: #ffffff;
  color: #f89a71;
}
.contact div.btn div:hover::after {
  background: url('../images/icon-arw-on.svg') no-repeat;
  transform: translate(6px, -50%);
}
.contact div.btn div.gray {
	background-color: #a2a2a2;
	border: 1px solid #a2a2a2;
}
.contact div.btn div input {
	width: 100%;
  padding: 7px 24px;
	background-color: transparent;
}

/* input */
.contact div.mw_wp_form_input div.btn div.back {
	display: none;
}

/* thanks */
div.inner.thanks {
	width: 100%;
	max-width: 800px;
	margin: 0 auto;
	text-align: center;
}
div.inner.thanks h2 {
	text-align: center;
	margin: 0 0 50px;
}
div.inner.thanks p {
	margin: 0 0 50px;
}
div.inner.thanks a {
	max-width: 250px;
	margin: 0 auto;
}

@media screen and (max-width: 768px) {
	.contact section {
		margin: 50px 0 0;
	}
	.contact div.bg-container {
		padding: 50px 20px;
	}
	.contact div.btn {
		flex-direction: column;
	}
}

@media screen and (max-width: 520px) {
	.contact .inner {
		padding: 30px 0 60px;
	}
	.contact table tr th {
		padding: 20px 0 5px;
		width: 100%;
		display: block;
	}
	.contact table tr td {
		padding: 10px 0 0;
		display: block;
		width: 100%;
		border-bottom: none;
	}

}