form {
  width: 100%;
  padding: 90px 7%;
  margin: auto;
}

@media (max-width: 768px) {
  form {
    width: 100%;
  }
}

.form_item {
  display: flex;
  align-items: flex-start;
  padding-bottom: 30px;
  margin-bottom: 32px;
  border-bottom: 1px solid #ccc;
}
.form_item.your_company_wapper {
display: none;
}
.form_item.your_company_wapper.active {
  display: flex;
}

@media (max-width: 768px) {
  .form_item {
    padding-bottom: 15px;
    margin-bottom: 16px;
  }
}

.form_item:nth-child(3) {
  padding-bottom: unset;
  margin-bottom: unset;
  border-bottom: unset;
}
/* ================================================== */
/* 必須 */
/* ================================================== */
.form_item .head_box {
  width: 260px;
}
.form_item .head_box p.must {
  margin-bottom: unset;
  font-size: calc(12px + 2 * (100vw - 320px) / 1046);
  color: #fff;
  padding: 5px 7px;
  background-color: #EE3A3A;
}
.head_box_inner {
  padding: 10px 0;
  display: flex;
  align-items: center;
}
.head_box_inner .head {
  width: 190px;
  margin-bottom: unset;
}
.element_box {
  width: calc(100% - 260px);
}
.input_wrap {
  width: 80%;
}
.double_text_input_wrapper{
  display: flex;
  flex-wrap: wrap;
}

/* ================================================== */
/* add_class_name */
/* ================================================== */
.input_item.half{
  width: 49%;
}
.double_input{
  width: 49% !important;
}
.double_input:nth-child(n+3){
  margin-top: 20px;
}
.double_input:nth-child(2n){
  margin-left: 15px;
}
@media (max-width: 1400px) {
  .double_input:nth-child(2n){
    margin-left: unset;
  }
  .double_input{
    margin-right: 50px;
    margin-bottom: 5px;
  }
}
@media (max-width: 768px) {
  .form_item {
    display: block;
  }
  .form_item.your_company_wapper.active {
    display: block;
  }
  .element_box {
    width: 100%;
  }
  .input_wrap {
    width: 100%;
  }
  .input_item.half{
    width: 100%;
  }
  .double_input{
    margin-right: unset;
    width: 100% !important;
  }
}
.form_item.your_name{
  padding-bottom: unset;
  margin-bottom: unset;
  border-bottom: unset;
}
.form_item.your_company_wrapper{
  display: none;
}

/* ======================== */
/* ======================== */
.form_item.your_company_wrapper.active{
  display: flex;
}
/* ================================================== */
/* エラー文 */
/* ================================================== */
.form_container p.errors {
  color: #dc0000;
  margin-top: 5px;
}

/* ================================================== */
/* submitボタン */
/* ================================================== */
.submit_btn_wrapper{
  width: 40%;
  min-width: 350px;
  margin: 50px auto 0;
  background-color: #000;

  position: relative;
}
.submit_btn_wrapper::after{
  content: "";
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  width: 28px;
  height: 8px;
  background: url(../../../../img/ob-arrow.png)no-repeat center;
  background-size: contain;
}

.submit_btn {
  width: 100%;
  padding: 1.464128843vw;
  text-align: center;
  cursor: pointer;
  transition: all 0.5s;
  color: #fff;
  font-weight: bold;
}
.submit_btn:hover {
  background-color: var(--red);
  color: var(--white);
}

@media screen and (max-width: 768px) {
  .submit_btn_wrapper{
    min-width: 250px;
    margin: 30px auto 0;
  }
  .submit_btn {
    padding: 12px;
  }
}

/* ================================================== */
/* チェックボックス */
/* ================================================== */

/* 個人個人情報保護方針 */
.contact_privacy {
  margin-top: 20px;
  display: flex;
  justify-content: center;
}
.contact_privacy a {
  text-decoration: underline;
}
.custum-checkbox {
  position: relative;
  padding-left: 30px;
  cursor: pointer;
  user-select: none;
}

.custum-checkbox input {
  display: none;
}

.custum-mark {
  position: absolute;
  top: 0;
  left: 0;
  height: 23px;
  width: 23px;
  border: solid 2px gray;
  border-radius: 5px;
  box-sizing: border-box;
}

.custum-mark:after {
  content: "";
  position: absolute;
  left: 5px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 6px;
  height: 11px;
  border: solid #ffffff;
  border-width: 0 3px 3px 0;
  opacity: 0;
}
.custum-checkbox input:checked + .custum-mark {
  background: red;
  border-color: red;
}

.custum-checkbox input:checked + .custum-mark:after {
  opacity: 1;
}

.custum-checkbox {
  position: relative;
  padding-left: 30px;
  cursor: pointer;
  user-select: none;
}

.custum-checkbox input {
  display: none;
}

.custum-mark {
  position: absolute;
  top: 0;
  left: 0;
  height: 23px;
  width: 23px;
  border: solid 2px gray;
  border-radius: 5px;
  box-sizing: border-box;
}

.custum-mark:after {
  content: "";
  position: absolute;
  left: 5px;
  top: 1px;
  width: 6px;
  height: 11px;
  border: solid #ffffff;
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
  opacity: 0;
}

.custum-checkbox input:checked + .custum-mark {
  background: red;
  border-color: red;
}
.privacy_text{
  margin-top: 60px;
  margin-bottom: unset;
}
.privacy_text a{
  text-decoration: underline;
}
/* ================================================== */
/* テキストボックス用スタイル */
/* ================================================== */
.input_item.text {
  width: 100%;
  padding: 10px 12px;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 5px;
}
/* ================================================== */
/* セレクト用スタイル */
/* ================================================== */
.input_item.select {
  width: 100%;
  padding: 10px 12px;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 5px;
}
/* ================================================== */
/* テキストエリア用スタイル */
/* ================================================== */
.input_item.textarea {
  width: 100%;
  padding: 15px;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 5px;
  height: 20vw;
  max-height: 270px;
  min-height: 160px;
}
.textarea{
  width: 100%;
}
/* ================================================== */
/* radio */
/* ================================================== */
.radio_label{
  margin-right: 50px;
}
.radio_label [type=radio]{
  /* width: 18px;
  height: 18px;
  border-radius: 5px;
  background-color: #ffffff; */

  -webkit-appearance: auto;
    -moz-appearance: auto;
    appearance: auto;
}
.radio_wrapper{
  padding: 10px 0;
}

.radio_span{
  font-weight: bold;
  margin-left: 10px;
}

#form_agree-err{
  color: #dc0000;
}

input, textarea, select{
  font-size: 16px;
}

/* ====================================================================================================== */
/* レスポンシブ */
/* ====================================================================================================== */
