@charset "UTF-8";

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

main {
	overflow: hidden;
	background-color: #e9f0f2;
}

.layer-ttl {
	padding: 80px 0;
	color: #fff;
	font-size: 32px;
	text-align: center;
	background-image: linear-gradient( -5deg, rgb(255,221,131) 0%, rgb(242,105,57) 12%, rgb(207,46,146) 34%, rgb(76,100,211) 100%);
}

.layer-content {
	max-width: 1000px;
	margin: -40px auto 120px;
	padding: 80px 100px 120px;
	border-radius: 10px;
	background-color: #fff;
}

.layer-content h3 {
	margin: 60px 0 30px;
	padding-bottom: 10px;
	font-size: 24px;
	border-bottom: 1px solid #9ebbc3;
}

.layer-content h4 {
	position: relative;
	margin: 40px 0 20px;
	padding-left: 18px;
	font-size: 16px;
}
.layer-content h4:before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	width: 6px;
	border-radius: 3px;
	background-color: #ec4756;
}

.layer-content p + p {
	margin-top: 30px;
}

.layer-content table {
	width: 100%;
	font-size: 14px;
	line-height: 1.4285714286;
	border-top: 1px solid #9ebbc3;
}
.layer-content th {
	width: 120px;
	padding: 17px 20px;
	text-align: left;
	vertical-align: top;
	background-color: #e9f0f2;
	border-bottom: 1px solid #9ebbc3;
}
.layer-content td {
	padding: 17px 20px;
	text-align: left;
	vertical-align: top;
	border-bottom: 1px solid #9ebbc3;
}


@media screen and (max-width:500px) {
	
	.layer-ttl {
		padding: 30px 0;
		font-size: 24px;
	}
	
	.layer-content {
		margin: 0;
		padding: 40px 20px 120px;
	}
}

/* ==========================================================================
   # contact
   ========================================================================== */
.form-ttl {
	padding: 30px 0;
	color: #fff;
	font-size: 24px;
	text-align: center;
	background-image: linear-gradient( -5deg, rgb(255,221,131) 0%, rgb(242,105,57) 12%, rgb(207,46,146) 34%, rgb(76,100,211) 100%);
}

.form-content {
	padding: 40px 20px 120px;
	background-color: #fff;
}

.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;
}

.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: #ec4756;
	border-radius: 2px;
}
.form-head .nini { background-color: #999; }

.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;
}

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

.form-checkbox input { display: none; }
.form-checkbox label {
	position: relative;
	padding-left: 25px;
	font-size: 16px;
	line-height: 1;
}
.form-checkbox 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%);
}
.form-checkbox label:after {
	content: "";
	position: absolute;
	top: 50%;
	left: 5px;
	width: 10px;
	height: 10px;
	background-color: #cf2e92;
	border-radius: 50%;
	opacity: 0;
	transition: opacity 0.3s;
	transform: translateY(-50%);
}
.form-checkbox input:checked + label { color: #cf2e92; }
.form-checkbox input:checked + 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;
	color: #333;
  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;
	bottom: 0;
	left: 0;
	color: #ec4756;
	font-size: 12px;
	line-height: 1;
}

.form-confirm {
	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: #cf2e92;
	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: 20px; }

@media screen and (min-width:501px) {
	
	.form-ttl {
		padding: 80px 0;
		font-size: 32px;
	}
	
	.form-content {
		max-width: 1000px;
		margin: -40px auto 120px;
		padding: 60px 60px 120px;
		background-color: #fff;
		border-radius: 10px;
	}
	
	.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; }
	.form-checkbox {
		float: left;
		margin-right: 20px;
	}
	.form-txt {
		padding: 0 20px;
	}
}















