/*==================================================
  FORM CSS
==================================================*/

/*----------------------------------------
  基本
----------------------------------------*/
#form *:focus {
  outline: none;
}


/*----------------------------------------
  フォームコンテンツ
----------------------------------------*/

/*========== イントロダクション ==========*/

#form .form-introduction-wrapper {
  margin-bottom: 30px;
  padding: 10px;
}

/*#form .form-introduction-title {
  margin-bottom: 15px;
  padding: 5px 30px;
  color: #fff;
  font-size: 2rem;
  border-radius: 10px;
  background-color: rgba(0, 65, 28, 1);
}*/

#form .contents-txt {
  margin-top:25px;
}
@media screen and (min-width:769px) {
  #form .contents-txt {
    text-align: center;
  }
}

.form-introduction-text {
  margin-bottom: 15px;
}
@media screen and (min-width:769px) {
  .form-introduction-text {
    margin-bottom: 15px;
  }
}

#form .form-introduction-text .highlight {
  color: #a00064;
  font-weight: bold;
  text-decoration: underline;
}

.form-introduction-link:link,
.form-introduction-link:visited {
  color: #a00064;
  padding: 1px;
  border-bottom: 1px solid #a00064;
}


/*========== 個人情報の取扱について ==========*/

#form .form-privacy-wrapper {
  margin-top: 50px;
  padding: 30px;
  background-color: #f0f0f0;
}

#form .form-privacy-title {
  margin-bottom: 15px;
  font-size: 1.8rem;
  font-weight: 700;
  text-align: center;
}

#form .form-privacy-text {
  text-align: center;
}


/*========== エラーメッセージ ==========*/

#form .form-error-message-wrapper {
  margin-bottom: 30px;
}

#form .form-error-message {
  padding: 5px 10px;
  color: #a94442;
  border: 1px solid #ebccd1;
  border-radius: 3px;
  background-color: #f2dede;
}

#form .form-error-message:not(:last-of-type) {
  margin-bottom: 10px;
}

#form .form-error-message i {
  margin-right: 5px;
}

#form .form-error-message .highlight {
  font-weight: 700;
}


/*----------------------------------------
  フォーム
----------------------------------------*/

#form .form-wrapper {
  padding: 10px;
}

#form .form-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.form-list-ttl {
  font-size: 1.6rem;
  text-align: center;
  margin-top: 25px;
  padding: 8px 0;
  border-top: 1px dashed #cccccc;
  background: rgba(77, 105, 167, 0.1);
}

#form .form-list:not(:last-of-type ) {
  border-bottom: 1px solid #ccc;
}

#form .form-item {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  padding: 10px;
}

#form .form-item-alt {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  width: 100%;
  padding: 0 10px 10px;
}

@media screen and (min-width:769px) {
  .form-list-ttl {
    font-size: 2rem;
    margin-top: 50px;
    text-align: left;
    padding: 8px 65px;
  }
  #form .form-list:first-of-type {
    border-top: 1px solid #ccc;
  }
  #form .form-list:last-of-type {
    border-bottom: 1px solid #ccc;
  }
  #form .form-item {
    width: 25%;
    justify-content: flex-end;
    padding: 12.5px 25px;
  }
  #form .form-item-alt {
    width: 75%;
    padding: 12.5px 25px;
  }
}

/*========== ラベル ==========*/

#form .form-label {
  font-weight: 700;
  text-align: right;
  line-height: 1.6;
}

/*========== 必須項目 ==========*/

#form .required-icon {
  display: inline-block;
  margin-left: 20px;
  padding: 5px 10px;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1;
  text-shadow: rgba(0, 0, 0, .25) 0 1px 1px;
  border-radius: 3px;
  background-color: #e57373;
}

/*========== 任意項目 ==========*/

#form .optional-icon {
  display: inline-block;
  margin-left: 20px;
  padding: 5px 10px;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1;
  text-shadow: rgba(0, 0, 0, .25) 0 1px 1px;
  border-radius: 3px;
  background-color: #ccc;
}

/*========== ご希望職種 ==========*/

#form .form-notice {
  line-height: 1.3;
  font-size: 1.3rem;
  margin-top: 15px;
}

#form .form-notice .emphasis {
  color: #004986;
  font-weight: bold;
  font-size: 1.8rem;
}

/*========== 入力例 ==========*/

#form .example-text {
  width: 100%;
  margin-top: 5px;
  color: #999;
  font-size: 1.2rem;
  line-height: 1.3;
}

#form .example-text::before {
  content: "入力例：";
  font-weight: 700;
}


/*----------------------------------------
  フォームエレメント
----------------------------------------*/

/*========== インプット ==========*/

#form .input-general {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  line-height: 1;
}

#form .input-general:focus {
  border: 1px solid rgba(0, 65, 28, 1);
}

#form .input-narrow {
  width: 50%;
}

.date-spe {
  padding: 0 25px 0 8px;
}

#form .input-general.input-three {
  width: 70%;
}
@media screen and (min-width:769px) {
  #form .input-general {
    padding: 10px;
  }
  #form .input-general.input-three {
    width: 20%;
    margin-right: 5px;
  }
}


/*========== ラジオボタン・チェックボックス ==========*/

/*#form input[type=radio],
#form input[type=checkbox] {
  display: none;
}*/
#form .input-radio,
#form .input-checkbox {
  position: relative;
  padding: 10px 10px 10px 30px;
  line-height: 1;
  border-radius: 3px;
  background-color: #eeeeee;
  /*background-color: #f0f0f0;*/
  transition: all .3s;
  cursor: pointer;
}

#form .input-radio:not(:last-child),
#form .input-checkbox:not(:last-child) {
  margin-right: 10px;
}

/*#form .input-radio:hover,
#form .input-checkbox:hover {
  background-color: #e6e6e6;
}

#form .input-radio:hover::after,
#form .input-checkbox:hover::after {
  border-color: #7e0043;
}

#form .input-radio::after,
#form .input-checkbox::after {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  left: 15px;
  width: 15px;
  height: 15px;
  margin-top: -7.5px;
  border: 2px solid #ccc;
  border-radius: 3px;
  transition: all .3s;
}

#form .input-radio::before {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  left: 19px;
  width: 7px;
  height: 7px;
  margin-top: -3.5px;
  border-radius: 50%;
  background-color: #7e0043;
  transition: all .3s;
  opacity: 0;
  z-index: 10;
}

#form input[type=radio]:checked + .input-radio::before {
  opacity: 1;
}

#form .input-checkbox::before {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  left: 20px;
  width: 5px;
  height: 10px;
  margin-top: -5px;
  border-right: 3px solid #7e0043;
  border-bottom: 3px solid #7e0043;
  transition: all .3s;
  transform: rotate(45deg);
  opacity: 0;
  z-index: 10;
}

#form input[type=checkbox]:checked + .input-checkbox::before {
  opacity: 1;
}*/

#form .input-radio {
  position: relative;
  margin-top: 7px;
}

#form .input-radio input[type=radio] {
  position: absolute;
  top: 50%;
  left: 10px;
  margin-top: -6px;
}

@media screen and (min-width:769px) {
  #form .input-radio {
    margin-top: 0;
  }
}

/*========== テキストエリア ==========*/

#form .textarea-general {
  width: 100%;
  min-height: 150px;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 3px;
}

#form .textarea-general:focus {
  border: 1px solid rgba(100, 100, 100, 1);
}

/*========== ボタン ==========*/

#form .button-wrapper {
  display: flex;
  justify-content: space-around;
  padding: 10px;
}

#form .submit-button {
  width: 60%;
  padding: 15px;
  color: #fff;
  line-height: 1;
  border: 2px solid #7e0043;
  border-radius: 3px;
  background-color: #7e0043;
  transition: all .3s;
}

#form .submit-button:hover {
  color: #7e0043;
  background-color: #fff;
  transition: all .3s;
  cursor: pointer;
}

#form .return-button {
  width: 35%;
  padding: 15px;
  color: #7e0043;
  line-height: 1;
  border: 2px solid #7e0043;
  border-radius: 3px;
  transition: all .3s;
}

#form .return-button:hover {
  color: #fff;
  background-color: #7e0043;
  transition: all .3s;
  cursor: pointer;
}

#form .return-button-alt {
  width: 50%;
  padding: 15px;
  color: #7e0043;
  line-height: 1;
  border: 2px solid #7e0043;
  border-radius: 3px;
  transition: all .3s;
}

#form .return-button-alt:hover {
  color: #fff;
  background-color: #7e0043;
  transition: all .3s;
  cursor: pointer;
}

@media screen and (min-width:769px) {
  #form .button-wrapper {
    padding: 0 150px;
    margin-top: 30px;
    margin-bottom: 30px;
  }
  #form .submit-button {
    width: 50%;
  }
}


/*========== セレクトボックス ==========*/

#form .select-list {
  position: relative;
  width: 100%;
  line-height: 1;
  border: 1px solid #ccc;
  border-radius: 3px;
  background-color: #f0f0f0;
  transition: all .3s;
}

#form .select-list:hover {
  background-color: #e3f2fd;
  transition: all .3s;
}

#form .select-list:before,
#form .select-list:after {
  content: "";
  position: absolute;
  top: 11.5px;
  right: 10px;
  width: 0;
  height: 0;
  border: 5px dashed;
  border-color: #999 transparent;
  pointer-events: none;
  z-index: 5;
}

#form .select-list:before {
  border-top: none;
  border-bottom-style: solid;
}

#form .select-list:after {
  margin-top: 8px;
  border-top-style: solid;
  border-bottom: none;
}

#form .select-item {
  width: 100%;
  padding: 10px;
  cursor: pointer;
  line-height: 1;
}

#form .select-list.input-three {
  width: 30%;
  margin: 15px 0;
}

@media screen and (min-width:769px) {
  #form .select-item {
    width: 100%;
    padding: 10px 35px 10px 10px;
    cursor: pointer;
  }
  #form .select-list.input-three {
    width: 20%;
    margin: 0;
  }
}
