input {
  -webkit-appearance: none;
  -webkit-border-radius: 0;
}

div.mfp_err {
  background-position: 0 5px;
}

::placeholder {
  color: #b0b0b0;
}

/*******************************************

PC SP form

*******************************************/
input[type=text], input[type=email], input[type=tel], input[type=number], input[type=password] {
  width: 100%;
  padding: 0 10px;
  height: 40px;
  box-sizing: border-box;
  font-size: 14px;
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  align-items: center;
  -webkit-appearance: none;
  border: #ccc solid 1px;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
  outline: none;
}
input[type=text].narrow, input[type=email].narrow, input[type=tel].narrow, input[type=number].narrow, input[type=password].narrow {
  width: 20%;
}
input[type=text].middle, input[type=email].middle, input[type=tel].middle, input[type=number].middle, input[type=password].middle {
  width: 40%;
}
input[type=text].wide, input[type=email].wide, input[type=tel].wide, input[type=number].wide, input[type=password].wide {
  width: 60%;
}
input[type=text]:focus, input[type=email]:focus, input[type=tel]:focus, input[type=number]:focus, input[type=password]:focus {
  background: #fff;
}
input[type=text][readonly=readonly], input[type=email][readonly=readonly], input[type=tel][readonly=readonly], input[type=number][readonly=readonly], input[type=password][readonly=readonly] {
  border: 0;
  background: #fcfcfc;
}

textarea {
  -webkit-appearance: none;
  -webkit-border-radius: 0;
  width: 100% !important;
  height: 100px !important;
  padding: 6px !important;
  box-sizing: border-box;
  border: #ccc solid 1px;
  font-size: 13px;
  border-radius: 0;
  background: #fff;
  box-shadow: none !important;
}

.selectBox {
  display: block;
  overflow: hidden;
  position: relative;
  vertical-align: top;
  /* IE11 */
}
.selectBox select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: medium none;
  font-size: 15px;
  width: 100%;
  height: 40px;
  margin: 0;
  padding: 0 40px 0 6px;
  box-sizing: border-box;
  background: #fff;
  border: #ccc solid 1px;
  color: #000;
  max-width: none;
  box-shadow: none;
  border-radius: 0;
  outline: none;
}
.selectBox select option, .selectBox select optgroup {
  color: #000;
  font-style: normal;
}
.selectBox _:lang(x)::-ms-backdrop, .selectBox select {
  width: 110%;
}
.selectBox:after {
  color: #000;
  content: "\e909";
  font-family: "icomoon";
  font-size: 15px;
  height: 100%;
  line-height: 40px;
  pointer-events: none;
  position: absolute;
  right: 0;
  top: 0;
  text-align: center;
  width: 40px;
  box-sizing: border-box;
  border: #ccc solid 1px;
  border-bottom: 0;
  border-radius: 0 0 0 0;
  display: inline-block;
  transform: rotate(90deg);
}
.selectBox:before {
  content: "";
  height: 100%;
  width: 40px;
  line-height: 40px;
  pointer-events: none;
  position: absolute;
  right: 0;
  top: 0;
  background: #fff;
}
.selectBox + .selectBox {
  margin-top: 15px;
}
.selectBox + span {
  padding: 0 5px;
}

.checkBox {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
}
.checkBox .check input[type=checkbox] {
  display: none;
}
.checkBox .check input[type=checkbox]:checked ~ label {
  color: #000;
}
.checkBox .check input[type=checkbox]:checked ~ label:after {
  width: 0px;
  left: 20px;
}
.checkBox .check label {
  display: block;
  width: 100%;
  padding-left: 36px;
  box-sizing: border-box;
  position: relative;
  cursor: pointer;
  color: #000;
  line-height: 1;
}
.checkBox .check label:before {
  display: inline-block;
  content: "";
  width: 22px;
  height: 22px;
  border: #ccc solid 1px;
  position: relative;
  box-sizing: border-box;
  border-radius: 0;
  position: absolute;
  left: 0px;
  top: 0px;
  background: #fff;
}
.checkBox .check label:after {
  display: inline-block;
  content: "";
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 0;
  position: absolute;
  left: 1px;
  top: 1px;
  transition: all 0.2s ease;
  backface-visibility: hidden;
  z-index: 10;
}
.checkBox .check label span {
  display: inline-block;
  line-height: 22px;
  font-size: 14px;
  font-feature-settings: "palt";
  text-align: justify;
}
.checkBox .check label span:before {
  content: "\e901";
  font-family: "icomoon";
  position: absolute;
  left: 1px;
  top: 1px;
  width: 20px;
  height: 20px;
  text-align: center;
  line-height: 20px;
  color: #da380c;
}

.radioBox {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
}
.radioBox.vertical {
  display: block;
  text-align: left;
}
.radioBox.vertical .radio + .radio {
  margin-left: 0px;
  margin-top: 20px;
}
.radioBox .radio input[type=radio] {
  display: none;
}
.radioBox .radio input[type=radio]:checked ~ label {
  color: #000;
}
.radioBox .radio input[type=radio]:checked ~ label:before {
  background: #fff;
}
.radioBox .radio input[type=radio]:checked ~ label span:before {
  transform: scale(1);
}
.radioBox .radio label {
  display: block;
  width: 100%;
  padding-left: 36px;
  box-sizing: border-box;
  position: relative;
  cursor: pointer;
  color: #000;
  font-size: 14px;
  line-height: 1;
}
.radioBox .radio label:before {
  display: inline-block;
  content: "";
  width: 22px;
  height: 22px;
  border: #ccc solid 1px;
  border-radius: 50%;
  position: relative;
  top: 1px;
  box-sizing: border-box;
  position: absolute;
  left: 0px;
  top: 0px;
  background: #fff;
}
.radioBox .radio label span {
  display: inline-block;
  line-height: 22px;
  font-weight: 500;
}
.radioBox .radio label span:before {
  display: inline-block;
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 50%;
  position: relative;
  top: 1px;
  box-sizing: border-box;
  position: absolute;
  left: 4px;
  top: 4px;
  background: #da380c;
  transform: scale(0);
  transition: all 0.2s ease;
  backface-visibility: hidden;
}
.radioBox .radio + .radio {
  margin-left: 30px;
}

.submit input[type=submit] {
  margin: 0 auto;
}

.selectBox_mini {
  display: block;
  overflow: hidden;
  position: relative;
  vertical-align: top;
}
.selectBox_mini select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  font-size: 12px;
  height: 30px;
  margin: 0;
  padding: 0 6px;
  box-sizing: border-box;
  background: #fff;
  border: #ccc solid 1px;
  padding-right: 30px;
  color: #000;
  width: 100%;
  max-width: none;
  box-shadow: none;
  border-radius: 15px;
}
.selectBox_mini select option, .selectBox_mini select optgroup {
  color: #000;
  font-style: normal;
}
.selectBox_mini:after {
  color: #000;
  content: "\e909";
  font-family: "icomoon";
  font-size: 15px;
  height: 100%;
  line-height: 30px;
  pointer-events: none;
  position: absolute;
  right: 0;
  top: 0;
  text-align: center;
  width: 30px;
  box-sizing: border-box;
  border: #ccc solid 1px;
  border-bottom: 0;
  border-radius: 15px 15px 0 0;
  display: inline-block;
  transform: rotate(90deg);
}
.selectBox_mini:before {
  content: "";
  height: 100%;
  width: 30px;
  line-height: 30px;
  pointer-events: none;
  position: absolute;
  right: 0;
  top: 0;
  background: #fff;
}

@media screen and (max-width: 740px) {
  .formBox input[type=text], .formBox input[type=email], .formBox input[type=tel], .formBox input[type=number], .formBox input[type=password] {
    width: 100%;
    height: 40px;
  }
  .formBox input[type=text].narrow, .formBox input[type=email].narrow, .formBox input[type=tel].narrow, .formBox input[type=number].narrow, .formBox input[type=password].narrow {
    width: 30% !important;
  }
  .formBox .radioBox .radio label, .formBox .checkBox .check label {
    padding-left: 30px;
  }
  .formBox .radioBox .radio label span, .formBox .checkBox .check label span {
    font-size: 12px;
  }
  .formBox .selectBox select {
    height: 40px;
  }
  .formBox .selectBox:before, .formBox .selectBox:after {
    height: 40px;
    width: 40px;
  }
}
