/** -----------------------------
 * Ninja Forms
 * --------------------------- */
.nf-form-fields-required {
  display: none;
}
.ninja-forms-req-symbol {
  display: none;
}
label > span.ninja-forms-required,
.nf-label-span > span.ninja-forms-required {
  background-color: #ef5555;
  color: white;
  padding: 5px;
  display: inline-block;
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  font-size: 0.7em;
  font-weight: bold;
  line-height: 0.7em;
}
label > span.ninja-forms-optional,
.nf-label-span > span.ninja-forms-optional {
  background-color: #6c757d;
  color: white;
  padding: 5px;
  display: inline-block;
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  font-size: 0.7em;
  font-weight: bold;
  line-height: 0.7em;
  margin-left: 0.5em;
}
.nf-form-content input:not([type="button"]).ninja-forms-field.nf-element,
.nf-form-content input:not([type="submit"]).ninja-forms-field.nf-element,
.nf-form-content textarea.ninja-forms-field.nf-element,
.nf-form-content select.ninja-forms-field.nf-element {
  color: #333;
  width: 100%;
  padding: 15px;
  /* margin: 10px 0; */
  height: 50px;
  background-color: #f7f7f7;
  /* border: 0; */
  border: 1px solid #c4c4c4;
  font-size: 1em;
  border-radius: 5px;
}
.nf-form-content select.ninja-forms-field.nf-element {
  /* Ninja Forms selection field */
  padding: 0 15px !important;
  background-color: transparent;
}
.nf-form-content .listselect-wrap.list-select-wrap > div div:after {
  bottom: -3px;
}
.nf-form-content .listselect-wrap.list-select-wrap .nf-field-element > div {
  /* Ninja Forms selection field options */
  background-color: #f7f7f7;
  border: 1px solid #c4c4c4;
  border-radius: 5px;
  box-shadow: none;
  color: #787878;
  transition: all 0.5s;
}
.nf-form-content textarea.ninja-forms-field.nf-element {
  height: 150px !important;
}
.nf-form-content
  input:not(
    [type="button"]
  ).ninja-forms-field.nf-element::-webkit-input-placeholder,
.nf-form-content
  textarea.ninja-forms-field.nf-element::-webkit-input-placeholder {
  /* Chrome/Opera/Safari */
  color: #a6a6a6;
}
.nf-form-content
  input:not([type="button"]).ninja-forms-field.nf-element::-moz-placeholder,
.nf-form-content textarea.ninja-forms-field.nf-element::-moz-placeholder {
  /* Firefox 19+ */
  color: #a6a6a6;
}
.nf-form-content
  input:not([type="button"]).ninja-forms-field.nf-element:-ms-input-placeholder,
.nf-form-content textarea.ninja-forms-field.nf-element:-ms-input-placeholder {
  /* IE 10+ */
  color: #a6a6a6;
}
.nf-form-content
  input:not([type="button"]).ninja-forms-field.nf-element:-moz-placeholder,
.nf-form-content textarea.ninja-forms-field.nf-element:-moz-placeholder {
  /* Firefox 18- */
  color: #a6a6a6;
}

/* Buttons */
.nf-form-content input[type="button"].ninja-forms-field.nf-element,
.nf-form-content input[type="submit"].ninja-forms-field.nf-element,
.nf-next-previous li.nf-next-item input[type="button"] {
  background-color: #111;
  border: 0;
  -webkit-border-radius: 4px;
  border-radius: 4px;
  /* padding: 1em 2em; */
  /* float: right; */
  font-weight: bold;
  min-width: 6em;
  max-width: max-content;
  color: white;
  line-height: 1;
  cursor: pointer;
  transition: all 0.5s;
}
.nf-form-content input[type="button"].ninja-forms-field.nf-element:hover,
.nf-form-content input[type="submit"].ninja-forms-field.nf-element:hover,
.nf-next-previous li.nf-next-item input[type="button"]:hover {
  background-color: #555;
  color: white;
}
.nf-form-content input[type="button"].ninja-forms-field.nf-element:disabled,
.nf-form-content input[type="submit"].ninja-forms-field.nf-element:disabled,
.nf-next-previous li.nf-next-item input[type="button"]:disabled {
  background-color: #999;
  color: white;
}

/* center align buttons */
.nf-form-content .submit-container .nf-field-element {
  text-align: center;
}
.nf-form-content .nf-next-previous li.nf-next-item {
  text-align: center;
  float: none;
}

/* success label */
.nf-pass.field-wrap .nf-field-element:after {
  z-index: 2;
}

/* 2 Columns */
@media (min-width: 801px) {
  .nf-field-container.label-hidden.one-half {
    margin-top: 39.25px;
  }
}
@media (max-width: 800px) {
  .nf-field-container.label-hidden.one-half {
    margin-bottom: 25px;
  }
}

/* align checkbox options */
.nf-form-content .listcheckbox-container .nf-field-element input,
.nf-form-content .listradio-container .nf-field-element input {
  display: none;
}

/* その他用のテキストフィールド */
.nf-form-content
  .nf-field-container.textbox-container.label-hidden:not(.one-half) {
  margin-top: -20px;
}

/* Remove title */
.nf-form-title {
  display: none;
}