/* ▼ Google Webフォントのライブラリ */
@import url(https://fonts.googleapis.com/css?family=Open+Sans:400);

/* ▼ フォントオーサム（フォントとアイコンのツールキット） */
@import url(http://weloveiconfonts.com/api/?family=fontawesome);
[class*="fontawesome-"]:before {
  font-family: 'FontAwesome', sans-serif;
}

/* ▼ 全要素（初期セット） */
* { 
  margin: 0;      /* 外側余白 */
  padding: 0;     /* 内側余白 */
  box-sizing: border-box; 
  /*要素の幅（width）と高さ（height）の中にpaddingとborderを含めるかどうか*/
}

/* body */
body {
  background: #e9e9e9;                  /* 背景色 */
  color: #5e5e5e;                       /* 文字色 */
  font: 400 87.5%/1.5em 'Open Sans', sans-serif;　/* 文字 */
  border-top-color: rgba(0, 0, 0, 0);   /* 上段罫線色（透明） */
}

/* Form Layout */
.form-wrapper {
  background: #fafafa;
  margin: 3em auto;
  padding: 0 1em;
  max-width: 370px;
}

h1 {
  text-align: center;
  padding: 1em 0;
}

form {
  padding: 0 1.5em;
}

.form-item {
  margin-bottom: 0.75em;
  width: 100%;
}

.form-item input {
  background: #fafafa;
  border: none;
  border-bottom: 2px solid #e9e9e9;
  color: #666;
  font-family: 'Open Sans', sans-serif;
  font-size: 1em;
  height: 50px;
  transition: border-color 0.3s;
  width: 100%;
}

.form-item input:focus {
  border-bottom: 2px solid #c0c0c0;
  outline: none;
}

.button-panel {
  margin: 2em 0 0;
  width: 100%;
}

.button-panel .button {
  background: royalblue;
  border: none;
  color: #fff;
  cursor: pointer;
  height: 50px;
  font-family: 'Open Sans', sans-serif;
  font-size: 1.2em;
  letter-spacing: 0.05em;
  text-align: center;
  /*text-transform: uppercase;*/
  transition: background 0.3s ease-in-out;
  width: 100%;
}

.button:hover {
  background: dodgerblue;
}

.form-footer {
  font-size: 1em;
  padding: 2em 0;
  text-align: center;
}

.form-footer a {
  color: #8c8c8c;
  text-decoration: none;
  transition: border-color 0.3s;
}

.form-footer a:hover {
  border-bottom: 1px dotted #8c8c8c;
}