/* ----------------------- */
/* fv
/* ----------------------- */
.fv_contact {
  background-image: url(../images/hero-image_contact.jpg);
  background-size: cover;
}

/* ----------------------- */
/* common
/* ----------------------- */
h3 {
  position: relative;
  font-size: 2.4rem;
  font-weight: bold;
  padding-left: 14px;
  margin-bottom: 45px;
}

h3::before {
  position: absolute;
  top: 25%;
  left: 0;
  content: "";
  display: block;
  width: 6px;
  height: 22px;
  background-color: #080F73;
}

/* ----------------------- */
/* request
/* ----------------------- */
.request_btn {
  margin: 30px auto;
  height: 60px;
}

.request_btn a {
  display: block;
  line-height: 1.8;
}

/* ----------------------- */
/* form
/* ----------------------- */
.contact-form {
  width: 100%;
}

.form_field {
  padding: 22px 60px;
  border-bottom: 1px solid #bababa;
  box-sizing: border-box;
}

.form_field dl dt, dd {
  display: inline-block;
}

.form_field:first-of-type {
  border-top: 1px solid #bababa;
}

.required, .option {
  position: relative;
  display: inline-block;
  margin-right: 60px;
  width: 240px;
  vertical-align: top;
}

.required::after {
  content: '必須';
  position: absolute;
  top: 3px;
  right: -50px;
  display: block;
  width: 35px;
  background-color: #FF7D7D;
  border-radius: 3px;
  font-size: 1.2rem;
  color: #fff;
  text-align: center;
  line-height: 20px;
}

.option::after {
  content: '任意';
  position: absolute;
  top: 3px;
  right: -50px;
  display: block;
  width: 35px;
  background-color: #969696;
  border-radius: 3px;
  font-size: 1.2rem;
  color: #fff;
  text-align: center;
  line-height: 20px;
}

#company, #mail, #mail_confirm, #detail {
  width: 560px;
  background-color: #E4E3E3;
  border: 1px solid #bababa;
}

#name, #tel {
  width: 185px;
  background-color: #E4E3E3;
  border: 1px solid #bababa;
}

#detail {
  height: 197px;
}

.cb_label {
  margin-right: 30px;
}

.submit_btn {
  position: relative;
  display: block;
  height: 60px;
  margin: 45px auto 0;
}

/* ----------------------- */
/* RWD
/* ----------------------- */

@media screen and (max-width: 768px) {
  /* ----------------------- */
  /* common_tab
  /* ----------------------- */
  h3 {
    font-size: 1.8rem;
    padding-left: 10px;
    margin-bottom: 30px;
  }

  h3::before {
    width: 4px;
    height: 18px;
  }

  .form_field {
    padding: 12px 0;
    border-bottom: initial;
  }

  .form_field dl dt {
    display: block;
  }
  
  .form_field:first-of-type {
    border-top: initial;
  }

  .required, .option {
    display: table;
    margin-right: 0;
    margin-bottom: 5px;
    width: initial;
  }

  #company, #mail, #mail_confirm, #detail {
    width: 100%;
  }

  #name, #tel {
    width: 120px;
  }

  #name {
    margin-right: 10px;
  }

  .submit_btn {
    margin: 30px auto 0;
  }
  }

@media screen and (max-width: 411px) {
  .form_field dl dd {
    display: block;
  }

  #detail {
    height: 150px;
  }
}