@charset "utf-8";

body{
  margin: 0;
}
form.form{
  margin: 0 !important;
  padding: .5em 1em;
}
form.form .form-field{
  display: flex;
  align-items: flex-start;
}
form.form p{
  font-size: 12px;
  line-height: 1.16666;
  color: #444;
}
form.form p a{
  color: #007fc3;
  text-decoration: none;
}
form.form p label,
form.form span label{
  font-weight: 400 !important;
  font-size: 12px !important;
  color: #444 !important;
  width: 130px !important;
  box-sizing: border-box !important;
  padding: 0 5px 0 10px !important;
  line-height: 1.428 !important;
}
/* checkbox */
form.form p.pd-checkbox{
  display: flex;
  justify-content: center;
}
form.form p.pd-checkbox label{
  width: 100% !important;
  max-width: 292px;
}

/* select */
form.form p.pd-select{
  position: relative;
}


/* お問い合わせ内容 */
form.form p.pd-select.Custom_Maps_Qcategory{
  margin-bottom: 65px;
}
form.form p.pd-select span.description{
  display: block;
  position: absolute;
  bottom: -54px;
  left: 0;
  font-size: 10px;
  line-height: 1.16666;
  padding: 0 10px;
  color: #5a5757;
}

form.form p.required label,
form.form span.required label{
  background: none !important;
  position: relative;
}

form.form p.required label::before,
form.form span.required label::before{
  position: absolute;
  content: '*';
  top: 0;
  left: 3px;
  font-size: 11px;
  color: #ff1d43;
}
form.form input.text,
form.form select{
  width: 100% !important;
  max-width: 290px;
  box-sizing: border-box;
  border: 1px solid #bbdcf5;
  border-radius: 4px;
  background-color: #f5fafd;
  padding: 5px;
}

/* 送信ボタン */
form.form p.submit input[type="submit"]{
  margin: 0 auto;
  display: block;
  font-size: 18px;
  font-weight: bold;
  color: #fff;
  background: linear-gradient(120deg, #0270c0 0%, #2e96ce 100%);
  max-width: 240px;
  width: 100%;
  border-radius: 30px;
  border: none;
  padding: 12px;
  cursor: pointer;
}

/* submitの下のテキスト */
form.form p.submit + p{
  display: none;
}

/* エラー */
form.form .errors{
  display: none;
}
form.form p.error{
  color: #ff1d43 !important;
}

@media only screen and (min-width: 450px){
  form.form p label,
  form.form span label{
    font-size: 14px !important;
  }
  /* checkbox */
  form.form p.pd-checkbox label{
    max-width: 340px;
  }
  /* お問い合わせ内容 */
  form.form p.pd-select span.description{
    font-size: 12px;
    bottom: -62px;
  }
  form.form input.text,
  form.form select{
    padding: 7px;
  }
  /* dodaMapsを知ったきっかけ */
  form.form p.pd-select.Custom_Maps_keiro{
    margin-bottom: 15px;
  }
  /* 送信ボタン */
  form.form p.submit input[type="submit"]{
    font-size: 21px;
    max-width: 258px;
    padding: 14px;
  }
}