@charset "utf-8";

/* CSSリセット */
html,body,header,h1,section,p,input,ul,li,aside,article {
  margin: 0;
  padding: 0;
}

/* 共通設定 */
body {
  font-size: 15px;
  background: #f0f0f0;
  color: #444;
  font-family: "メイリオ", Meiryo, Verdana, Helvetica, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "ＭＳ Ｐゴシック", sans-serif;
  line-height: 2;
}

/* リンク */
a {
  color: #44c0fe;
  font-weight: bold;
  text-decoration: none;
}

/* 要素の幅、中央寄せ */
header, section, aside, article {
  width: 90%;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* ヘッダー */
header {
  padding: 30px 0 20px 0;
}

/* タイトル */
h1 {
  font-size: 25px;
}

/* マージン */
section, #select, article, aside {
  margin-bottom: 30px;
}

/* ボタンの間隔 */
section input {
  margin-right: 20px;
}

/* 「ヒント」のマージンを削除 */
#hint {
  margin: 0;
}

/* 例文番号と日本語訳のマージン */
#count, #word {
  margin-bottom: 15px;
}

/* 数字表示 */
#number {
  width: 40px;
  height: 30px;
  color: #444;
  text-align: center;
}

/* ボタン */
.button {
  width: 48px;
  height: 48px;
  font-family: "メイリオ", Meiryo, Verdana, Helvetica, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "ＭＳ Ｐゴシック", sans-serif;
  color: #444;
  cursor: pointer;
  background: linear-gradient(to bottom, #ffffff 0%, #f3f3f3 50%, #ededed 51%, #ffffff 100%);
  border: solid 1px #d8dadc;
  box-shadow: rgb(216, 218, 220) 0 0 6px 3px;
}

/* ボタンがホバーされたとき */
.button:hover, #start_btn:hover, .hover {
  color: #fff;
  background: linear-gradient(to bottom, #b7deed 0%, #71ceef 50%, #21b4e2 51%, #b7deed 100%);
}

/* スタートボタン */
#start_btn {
  font-family: "メイリオ", Meiryo, Verdana, Helvetica, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "ＭＳ Ｐゴシック", sans-serif;
  color: #444;
  cursor: pointer;
  background: linear-gradient(to bottom, #ffffff 0%, #f3f3f3 50%, #ededed 51%, #ffffff 100%);
  border: solid 1px #d8dadc;
  box-shadow: rgb(216, 218, 220) 0 0 6px 3px;
  padding: 15px 20px;
}

/* フロートの解除 */
ul {
  overflow: hidden;
}

/* 単語 */
li {
  list-style-type: none;
  float: left;
  margin: 0 10px 10px 0;
}

/* 単語の1文字 */
.result input {
  background: #f0f0f0;
  font-size: 18px;
  font-family: 'Inconsolata', monospace;
  color: #444;
  font-weight: bold;
  text-align: center;
  width: 12px;
  height: 24px;
  margin-right: 2px;
  border: none;
  border-bottom: #444 solid 1px;
}

/* 枠を非表示 */
.result input:focus {
  outline: none;
}

/* 正解の文字 */
#correct {
  display: none;
  font-weight: bold;
  color: #44c0fe;
}

/* レスポンシブ */
@media all and (min-width: 560px) {
  body {
    background: #f8f1eb;
  }
  section {
    background: #f0f0f0;
    padding: 20px;
    box-sizing: border-box;
    box-shadow: rgb(216, 218, 220) 0 0 6px 3px;
  }
}
