/**
 * layer.css
 *
 * # contact
 *
*/

/* ==========================================================================
   # contact
   ========================================================================== */
.wpcf7-form-control-wrap {
	position: static;
}
span.wpcf7-not-valid-tip {
    display: none;
}
.form-ttl {
	margin-bottom: 40px;
	padding: 40px 0;
	color: #fff;
	font-size: 32px;
	line-height: 1;
	text-align: center;
	background-color: #1f4cdf;
}

.form-ttl-img {
	margin: -40px 0;
}

.form-content {
	max-width: 840px;
	margin: 0 auto;
	padding: 0 20px 60px;
}
.form-table {
	overflow: hidden;
	display: block;
}
.form-content tbody,
.form-content tr {
	display: block;
	width: 100%;
}
.form-content td {
	position: relative;
	clear: left;
	float: left;
	display: block;
	width: 100%;
	margin-bottom: 17px;
	padding: 0 0 20px;
	border-bottom: none;
}

.form-head {
	overflow: hidden;
	margin-bottom: 10px;
	position: relative;
	padding-left: 35px;
	font-size: 14px;
	font-weight: bold;
	font-weight: 600;
	line-height: 1.2857142857;
}
.form-head .hissu,
.form-head .nini {
	position: absolute;
	top: 0;
	left: 0;
	display: block;
	width: 30px;
	padding: 3px 0;
	color: #fff;
	font-size: 12px;
	font-weight: normal;
	font-weight: 300;
	line-height: 1;
	text-align: center;
	background-color: #f39800;
	border-radius: 2px;
}
.form-head .nini { background-color: #999; }

.form-table .form-input {
	display: block;
	width: 100%;
	padding: 0 20px;
	height: 60px;
	font-size: 16px;
	line-height: normal;
	border-radius: 4px;
	border: 1px solid #DDDDDD;
	background-color: #EFEFEF;
}
.form-input:-webkit-autofill { box-shadow: 0 0 0 1000px #EFEFEF inset; }

.form-textarea {
	display: block;
	width: 100%;
	padding: 18px 20px;
	height: 120px;
	font-size: 16px;
	line-height: normal;
	line-height: 1.25;
	border-radius: 4px;
	border: 1px solid #DDDDDD;
	background-color: #EFEFEF;
}

::placeholder { color: #b7bec5; }

.form-checkbox-wrap {
	margin-bottom: -10px;
}

.wpcf7-list-item {
	display: block;
	margin-bottom: 	10px;
	margin-left: 0;
}

.wpcf7-list-item input { display: none; }
.wpcf7-list-item label {
	position: relative;
	padding-left: 25px;
	font-size: 16px;
	line-height: 1;
}
.wpcf7-list-item .wpcf7-list-item-label:before {
	content: "";
	position: absolute;
	top: 50%;
	left: 0;
	width: 20px;
	height: 20px;
	border: 1px solid #DDDDDD;
	background-color: #EFEFEF;
	border-radius: 50%;
	transform: translateY(-50%);
}
.wpcf7-list-item .wpcf7-list-item-label:after {
	content: "";
	position: absolute;
	top: 50%;
	left: 5px;
	width: 10px;
	height: 10px;
	background-color: #f39800;
	border-radius: 50%;
	opacity: 0;
	transition: opacity 0.3s;
	transform: translateY(-50%);
}
.wpcf7-list-item input:checked + .wpcf7-list-item-label { color: #f39800; }
.wpcf7-list-item input:checked + .wpcf7-list-item-label:after { opacity: 1; }

.form-select-wrap {
  position: relative;
	margin-bottom: -20px;
	padding-bottom: 20px;
}
.form-select-wrap:before {
  content: "";
  position: absolute;
  top: 30px;
  right: 20px;
  width: 8px;
  height: 8px;
  border-top: 1px solid #999;
  border-right: 1px solid #999;
  transform-origin: top right;
  transform: rotate(135deg);
}
.form-select{
	display: block;
  width: 100%;
  height: 60px;
  margin: 0;
  padding: 0 20px;
  font-size: 16px;
  line-height: normal;
  background: linear-gradient(#fff, #eee);
  border: 1px solid #999;
  border-radius: 4px;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.formError,
.error {
	position: absolute;
	top: 100%;
	left: 0;
	padding-top: 4px;
	color: #D45355;
	font-size: 12px;
	line-height: 1;
}

.form-confirm,
.form-confirm.active {
	display: block;
	width: 280px;
	margin: 0 auto;
	padding: 30px 0;
	color: #fff;
	font-size: 14px;
	line-height: 1;
	text-align: center;
	background-color: #999;
	border-radius: 42px;
}
.form-confirm.active {
	background-color: #f39800;
	cursor: pointer;
}

.form-back-wrap {
	margin-top: 20px;
	text-align: center;
}
.form-back {
	display: inline-block;
	color: #999;
	font-size: 12px;
	line-height: 1;
	text-decoration: underline;
}

.form-txt { margin-bottom: 15px; }

@media screen and (min-width:501px) {
	.form-ttl-img { width: 600px; }
	
	.form-table {
		display: table;
		width: 100%;
		border-collapse: separate;
		border-spacing: 20px;
	}
	.form-content tbody { display: table-row-group; }
	.form-content tr { display: table-row; }
	.form-content td {
		float: none;
		display: table-cell;
		width: 50%;
		vertical-align: top;
	}
	.form-checkbox-wrap { overflow: hidden; }
	.wpcf7-list-item {
		float: left;
		margin-right: 20px;
	}
	.form-txt {
		padding: 0 20px;
	}
}
