@charset "utf-8";

body section .form-input-section {
  font-size: 80%;
  color: #FFF;
  margin: 50px auto 30px;
  text-align: center;
  padding: 10px 0 20px;
  width: 100%;
  max-width: 1100px;
}
.center-set {
	text-align: center;
}
.left-pos {
	text-align: left;
	margin-left: 30%;
}
form {
  width: 70%;
  margin: 0 auto;
}
form .field {
  width: 100%;
  position: relative;
  margin-top: 40px;
}
form .field label {
  position: absolute;
  top: 0;
  left: 0;
  background: #313A3D;
  width: 100%;
  padding: 10px 0;
  font-size: 1.45em;
  letter-spacing: 0.075em;
  -webkit-transition: all 333ms ease-in-out;
  -moz-transition: all 333ms ease-in-out;
  -o-transition: all 333ms ease-in-out;
  -ms-transition: all 333ms ease-in-out;
  transition: all 333ms ease-in-out;
}
form .required::before {
	content: '必須';
	color: #FFF;
	background-color:#E21C64;
	font-size: 0.8em;
	padding: 2px 10px;
	margin-right: 10px;
}
form label.required:hover::before {
	content: none;
}
form .field label + span {
  opacity: 0;
  color: white;
  display: block;
  position: absolute;
  top: 12px;
  left: 7%;
  font-size: 2.5em;
  text-shadow: 1px 2px 0 #cd6302;
  -webkit-transition: all 333ms ease-in-out;
  -moz-transition: all 333ms ease-in-out;
  -o-transition: all 333ms ease-in-out;
  -ms-transition: all 333ms ease-in-out;
  transition: all 333ms ease-in-out;
}
form .field input,
form .field textarea {
  border: none;
  background: #E8E9EA;
  width: 80.5%;
  margin: 0;
  padding: 18px 0;
  padding-left: 19.5%;
  color: #313A3D;
  font-size: 1.2em;
  letter-spacing: 0.05em;
}
form#recruit-entry-form .field input, form#recruit-entry-form .field textarea {
	background: #FFF;
}
form .date-input {
	margin-left: 10px;
	padding: 5px 15px;
	border: 1px solid #707070;
	border-radius: 10px;
}
form .field input:focus, form .field input.focused, form .field textarea:focus, form .field textarea.focused {
  outline: none;
}
form .field input:focus#msg, form .field input.focused#msg,
form .field textarea:focus#msg,
form .field textarea.focused#msg {
  padding-bottom: 150px;
}
form .field input:focus + label, form .field input.focused + label,
form .field textarea:focus + label,
form .field textarea.focused + label {
  width: 18%;
  background: #7699F5;
  color: #FFF;
  font-size: 1em;
  padding-top: 1.5em;
  height: 5em;
}

form .field input[type=text]#msg,
form .field textarea#msg {
  height: 18px;
  resize: none;
  -webkit-transition: all 333ms ease-in-out;
  -moz-transition: all 333ms ease-in-out;
  -o-transition: all 333ms ease-in-out;
  -ms-transition: all 333ms ease-in-out;
  transition: all 333ms ease-in-out;
}
form .field input:focus + label::before, form .field input.focused + label::before, form .field textarea:focus + label::before, form .field textarea.focused  + label::before  {
	content: none;
}
form .field input[type=text]:focus#msg, form .field input[type=text].focused#msg,
form .field textarea:focus#msg,
form .field textarea.focused#msg {
  padding-bottom: 150px;
}

form .field input.focused + label, form .field textarea.focused  + label  {
  color: #7699F5;
}
form .field:hover label {
  width: 18%;
  background: #313A3D;
  color: white;
}
form .field input:user-valid + label, form .field textarea:user-valid + label  {
  width: 18%;
  background: #7699F5;
  color: #FFF;
  font-size: 1em;
  padding-top: 1.5em;
  height: 5em;
}

#input-check {
	padding: 3em 0;
}
#e-text {
	background-color: #F2F2F2;
	border: none;
	width: 250px;
	padding: 3px;
}
#entry-page-btn {
	margin-top: 100px;
}

@media (max-width: 1150px) {
	form {
		width: 90%;
	}
}
@media (max-width: 1000px) {
	.left-pos {
		margin-left: 20%;
	}
}
@media (max-width: 840px) {
	form .field:hover label {
	  font-size: 0.7em;
	  padding-top: 1.5em;
	  height: 6em;
	}
}
@media (max-width: 800px) {
	form .field input,
	form .field textarea {
	  font-size: 0.8em;
	}
	form .field label {
	  font-size: 1em;
	}
	form .field input,
	form .field textarea {
	  padding-left: 10%;
	}
}
@media (max-width: 460px) {
	.left-pos {
	  margin-left: 5%;
	}
	form .field input,
	form .field textarea {
	  width: 92%;
	  padding-left: 17%;
	}
	.alert-txt {
	  padding-top: 0.9em;
	  margin-bottom: 0;
	  font-size: 0.9em;
	}
}

