

/* =========================================================
 フォームのCSSリセット
========================================================= */

/* 1.テキスト */
/* 2.テキストエリア */
/* 3.ラジオボタン */
/* 4.セレクトボックス */
/* 5.ボタン */


/* テキスト
--------------------------------------------------------- */

input[type="text"],
textarea,
select{ /*属性セレクタ→inputのtypeがtextにCSSを指定*/
  -moz-appearance: none;/*  iOSの表示を解除*/
  -webkit-appearance: none;/*   iOSの表示を解除  */
  appearance: none;/*デフォルトスタイルを無効に*/
  background-color: #fff;/*背景色を初期値（透明）に*/
  background-image: none;/*背景のグラデーションを削除*/
  border: 1px solid rgba(0, 0, 0, 0.16);/*ボーダーを指定して統一*/
  border-radius: 0;/*角丸を削除*/
  color: inherit;/*bodyで指定したcolorを継承*/
  font-family: inherit;/*bodyで指定したfont-familyを継承*/
  font-size: 1em;
  padding: 0.4em 0.8em;
  width: 100%;
}

input[type="text"]:focus,
textarea:focus,
select:focus{ /*入力中のborderを指定*/
  border: 1px solid rgba(0, 0, 0, 0.32);
  box-shadow: none;/*影を削除*/
  outline: none;/*青色の枠を削除*/
}

/* テキストエリア
--------------------------------------------------------- */

/* 日時
--------------------------------------------------------- */

input[type="date"],
textarea,
select{ /*属性セレクタ→inputのtypeがtextにCSSを指定*/
  -moz-appearance: none;/*  iOSの表示を解除*/
  -webkit-appearance: none;/*   iOSの表示を解除  */
  appearance: none;/*デフォルトスタイルを無効に*/
  background-color: #fff;/*背景色を初期値（透明）に*/
  background-image: none;/*背景のグラデーションを削除*/
  border: 1px solid rgba(0, 0, 0, 0.16);/*ボーダーを指定して統一*/
  border-radius: 0;/*角丸を削除*/
  color: inherit;/*bodyで指定したcolorを継承*/
  font-family: inherit;/*bodyで指定したfont-familyを継承*/
  font-size: 1em;
  padding: 0.4em 0.8em;
  width: 100%;
}

input[type="text"]:focus,
textarea:focus,
select:focus{ /*入力中のborderを指定*/
  border: 1px solid rgba(0, 0, 0, 0.32);
  box-shadow: none;/*影を削除*/
  outline: none;/*青色の枠を削除*/
}




/* e-mail
--------------------------------------------------------- */

input[type="email"],
textarea,
select{ /*属性セレクタ→inputのtypeがemailにCSSを指定*/
  -moz-appearance: none;/*  iOSの表示を解除*/
  -webkit-appearance: none;/*   iOSの表示を解除  */
  appearance: none;/*デフォルトスタイルを無効に*/
  background-color: #fff;/*背景色を初期値（透明）に*/
  background-image: none;/*背景のグラデーションを削除*/
  border: 1px solid rgba(0, 0, 0, 0.16);/*ボーダーを指定して統一*/
  border-radius: 0;/*角丸を削除*/
  color: inherit;/*bodyで指定したcolorを継承*/
  font-family: inherit;/*bodyで指定したfont-familyを継承*/
  font-size: 1em;
  padding: 0.4em 0.8em;
  width: 100%;
}

input[type="email"]:focus,
textarea:focus,
select:focus{ /*入力中のborderを指定*/
  border: 1px solid rgba(0, 0, 0, 0.32);
  box-shadow: none;/*影を削除*/
  outline: none;/*青色の枠を削除*/
}

/* e-mail



/* チェックボックス
--------------------------------------------------------- */

input[type="checkbox"] + span::before {
  -webkit-transform: translateY(-50%);
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.16);
  border-radius: 2px;
  content: "";
  display: block;
  height: 1em;
  left: 0;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 1em;
}

input[type="checkbox"] + span::after {
  -webkit-transform: translateY(-50%) rotate(-45deg);
  border-bottom: 3px solid rgba(0, 0, 0, 0.32);
  border-left: 3px solid rgba(0, 0, 0, 0.32);
  content: "";
  display: block;
  height: 0.6em;
  left: 0;
  margin-top: -0.2em;
  opacity: 0;
  position: absolute;
  top: 50%;
  transform: translateY(-50%) rotate(-45deg);
  transition: all 0.3s ease 0s;
  width: 1em;
}


/* セレクトボックス
--------------------------------------------------------- */

select::-ms-expand {
  display: none;
}


/* ボタン
--------------------------------------------------------- */

input[type="submit"] {
  -webkit-appearance: none;
  background-color: rgba(0, 0, 0, 0.32);
  background-image: none;
  border: none;
  border-radius: 0;
  color: #fff;
  cursor: pointer;
  display: inline-block;
  font-size: 1em;
  margin: 0 0 1em;
  padding: 0.6em 2em;
  text-decoration: none;
}

input[type="submit"]:hover,
input[type="submit"]:focus {
  outline: none;
}

input[type="submit"]::-moz-foucus-inner {
  border: none;
  padding: 0;
}

