@charset "UTF-8";
/* ============================================ */
/*  form  リセットされたものを復活
/* ============================================ */
/* ===== 基本 ===== */
button,
input,
select,
textarea {
  -webkit-appearance: auto;
  -moz-appearance: auto;
       appearance: auto;
  border-width: 1px;
  background-color: #fff;
  font-size: 0.9em;
  padding: 0.4em;
}

/* オートコンプリートの背景色 */
input:-webkit-autofill {
  box-shadow: 0 0 0 1000px #fff inset;
}

/* ===== 選択系パーツ ===== */
input[type=radio],
input[type=checkbox] {
  cursor: pointer;
  vertical-align: initial;
}

/* ===== ボタン ===== */
input[type=submit],
input[type=reset],
input[type=button],
button {
  padding: 0;
  border-width: 0;
  background: transparent;
  /*
  background-color: #f0f0f0;
  border: solid 1px #666;
  border-radius: 3px;
  */
}

/*
input[type="submit"]:hover,
input[type="reset"]:hover,
input[type="button"]:hover,
button:hover {
  background-color: #ddd;
  cursor: pointer;
}
*/
/* ============================================ */
/*  form  カスタム
/* ============================================ */
/* テキスト*/
input[type=text],
input[type=tel],
input[type=email],
textarea {
  width: 100%;
  border-radius: 5px;
  border: 1px solid #ababab;
}

input:focus,
textarea:focus {
  border: 1px solid #ababab;
  outline: none;
}

/* ラジオボタン */
input[type=radio] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

input[type=radio] {
  position: relative;
  width: 20px;
  height: 20px;
  border: 1px solid #ababab;
  border-radius: 50%;
  vertical-align: -5px;
  margin-right: 5px;
}

input[type=radio]:checked:before {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #e50011;
  content: "";
}

/* チェックボックス */
input[type=checkbox] {
  border-radius: 0;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

input[type=checkbox] {
  position: relative;
  width: 20px;
  height: 20px;
  border: 1px solid #ababab;
  vertical-align: -4px;
  margin-right: 10px;
}

input[type=checkbox]:checked:before {
  position: absolute;
  top: 2px;
  left: 5px;
  transform: rotate(50deg);
  width: 8px;
  height: 10px;
  border-right: 3px solid #e50011;
  border-bottom: 3px solid #e50011;
  content: "";
}

/* セレクトボックス*/
select {
  border-radius: 5px;
  border: 1px solid #ababab;
}

select:focus {
  border: #ababab 1px solid;
  outline: none;
}

.select-custom {
  width: 100%;
  max-width: 500px;
  position: relative;
}
.select-custom::before {
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 9px 8px 0 8px;
  border-color: #ababab transparent transparent transparent;
  position: absolute;
  top: 50%;
  right: 8px;
  transform: translateY(-50%);
  pointer-events: none;
}
.select-custom .select-custom-item {
  width: 100%;
  padding: 10px;
  -webkit-appearance: none;
  -moz-appearance: none;
       appearance: none;
}
.select-custom .select-custom-item::-ms-expand {
  display: none;
}

/*# sourceMappingURL=form-base.css.map */