@charset "utf-8";

/**************************************************************
*
* インプットフォーム基本スタイル
*
**************************************************************/

/*************************************
* インプット - テキスト
*************************************/

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="password"],
textarea {
  width: 100%;
  
  border: #cfcfcf 1px solid;
  border-radius: 3px;
  
  padding: 3px 10px 1px;
  
  transition: all 400ms cubic-bezier(0.215, 0.61, 0.355, 1);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
textarea:focus {
  border-color: #fefeff;
  background-color: #dbe6f5;
  outline: none;
}

input:placeholder-shown { color: #909090;}

input::-webkit-input-placeholder { color: #909090;}

input:-moz-placeholder { color: #909090;}

input::-moz-placeholder { color: #909090;}

input:-ms-input-placeholder { color: #909090;}

input[type="tel"] {
  width: 150px;
}

input[type="email"] {
  width: 100%;
}

input[type="text"] {
  width: 60%;
}

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

}

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

}

/*************************************
* インプット - テキストエリア
*************************************/

textarea {
  width: 100%;
  min-height: 100px;
  resize: vertical;

  line-height: 1.65;
}

textarea.large {
  height: 300px;
}

textarea.middle {
  height: 200px;
}

textarea.small {
  height: 100px;
}

/*************************************
* インプット - ボタン
*************************************/

form button[type="submit"],
form button[type="button"]{
  margin: auto;
  margin-bottom: 20px;
}

button.disabled {
  filter: grayscale(100%);
  
  pointer-events: none;
  opacity: 0.6;
}

/*************************************
* インプット - セレクト
*************************************/

select {
  border: #cfcfcf 1px solid;
  border-radius: 0px;

  padding: 15px;
  padding-right: 35px;

  outline: none;

  width: 100%;
}

.select-wrap{
  position:relative;
  overflow:hidden;
  display:inline-block;
  vertical-align: middle;

  margin-right: 10px;

  background-color:#ffffff;
  border:1px solid #cfcfcf;
}

.select-wrap select{
  position:relative;
  z-index:2;
  display:block;

  background:transparent;
  border:0;
  outline:none;

  line-height:1.5;
}

.entypo-down-open-mini:before{
  content:'';
  font-family:'entypo',sans-serif;
  position:absolute;
  z-index:1;
  top: 0;
  bottom: 0;
  right: 10px;

  margin: auto;

  width: 0;
  height: 0;
  border-style: solid;
  border-width: 16px 9px 0 9px;
  border-color: #cfcfcf transparent transparent transparent;

  line-height:1;
  color:#333;
}

@media screen and (max-width: 599px) {
  select {
    width: 100%;
  }
}

/*************************************
* インプット - チェックボックス
*************************************/

.check_item {
  display: inline-block;

  margin-bottom: 16px;
}

.recruit.subpage .check_item {
  margin-bottom: 0;
}

.check_item label {
  margin-right: 20px;
}

input[type="checkbox"] {
  opacity: 0;
  width: 5px;
}

input[type="checkbox"] + .check {
  width: 20px;
  height: 20px;
  display: inline-block;
  border: #9c9898 2px solid;
  position: relative;
  top: 4px;
  margin-right: 4px;
	
  background-color: #fff;
}

input[type="checkbox"] + .check::after {
  content: '';
  position: absolute;
  top: -9px;
  bottom: 0;
  left: 5px;
  display: block;
  /* margin-top: -7px; */
  margin: auto;
  width: 10px;
  height: 20px;
  border-right: 4px solid #1d218b;
  border-bottom: 4px solid #1d218b;
  opacity: 0;
  -ms-transform: rotate(45deg);
      transform: rotate(45deg);
  
  transition: opacity 100ms cubic-bezier(0.215, 0.61, 0.355, 1);
}

input[type="checkbox"]:checked + .check::after {
  opacity: 1;
}

/*************************************
* インプット - ラジオボタン
*************************************/

.radio_box label {
  display: block;
  float: left;
  margin-right: 25px;
}

input[type="radio"] {
  opacity: 0;
  width: 5px;
}

input[type="radio"] + .radio {
  width: 16px;
  height: 16px;
  display: block;
  float: left;
  border-radius: 50%;
  border: #9c9898 2px solid;
  position: relative;
  margin-top: 3px;
}

input[type="radio"] + .radio::after {
  content: "";
  width: 70%;
  height: 70%;
  display: block;
  float: left;
  
  margin: auto;
  margin-right: 15px;
  
  background-color: #1d218b;
  border-radius: 50%;
  opacity: 0;
  
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  
  transition: opacity 200ms cubic-bezier(0.215, 0.61, 0.355, 1);
}

input[type="radio"]:checked + .radio::after {
  opacity: 1;
}

/**************************************************************
*
* テンプレートクラス
*
**************************************************************/

.relation_item {
  display: none;
}

.form_notes {
  margin-left: 10px;
  font-size: 0.8em;
}

.asterisk {
  float: right;
  
  background-color: #f8b62a;
  
  padding: 3px;
  
  color: #fff;
  font-size: 0.9em;
  font-weight: normal;
}

.error{
  display: block;
  clear: both;
  color: red;
}