/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/
html {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
*, *:before, *:after {
  -webkit-box-sizing: inherit;
  -moz-box-sizing: inherit;
  box-sizing: inherit;
  }
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
    color: #4A4A4A;
}
body,html {
    width: 100%;
    height: 100%;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,     
footer, header, hgroup, menu, nav, section {
    display: block;
}
body {
    line-height: 1;
    background: #fff;
    -webkit-font-smoothing: antialiased;
}
ol, ul {
    list-style: none;
}
blockquote, q {
    quotes: none;
}
a,a:hover{
    text-decoration: none;
    color: #1E63B3;
}
blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}
small {
    font-size: smaller;
}
b {
  font-weight: bold;
}
option {
    color: #000;
    text-align: left;
    background: #f1f1f1;
}
input[type="submit"].button {
  border: none;
  font-size: .9em;
  margin: 0;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
input[type="text"],
input[type="password"],
textarea,
select {
  font-size: 1.2em;
  padding: .5em;
  background-color: #fff;
  border: 1px solid #ccc;
  margin: 0 0 1.5em;
  border-radius: .2em;
  width: 100%;
  color: #5E5E5E;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
textarea {
  height: 10em;
}
label {
  display: block;
  margin-bottom: .5em;
}
div#wrapper {
  width: 100%;
  height: 100%; 
}

div.main_visual {
  width: 100%;
  height: 33em;
  background: url("../images/main_visual.png") top center no-repeat;
  overflow: hidden;
  min-width: 35em;
}

div.main_visual h1 {
  text-indent: -900000px;
}

nav {
  background: #f0f0ea;
  height: 4.3em;
  min-width: 35em;
}

nav ul {
  background: linear-gradient(180deg,#6758a4 0%,#796caf 70%);
  border-top: 2px solid #fff;
  border-bottom: 2px solid #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,.2);
  text-align: center;
  display: block;
  z-index: 2;
  position: relative;
  margin-bottom: .5em;
  height: 3.8em;
}

nav ul li {
  display: inline-block;
  margin: 0 .2em; 
}

nav ul li a {
  display: block;
  border: 1px solid #5f4fa0;
  font-size: 1.4em;
  font-family: 'Hiragino Mincho Pro','MS Mincho', serif;
  font-weight: bold;
  color: #fff;
  text-shadow: 0 1px 1px rgba(0,0,0,.5);
  height: 2em;
  width: 12em;
  line-height: 2;
  border-radius: .3em;
  background: linear-gradient(180deg,#796caf 0%,#6455a2 70%);
}

body.contact nav ul li a {
  margin-top: .3em;
}

nav ul li a:hover {
  background: linear-gradient(180deg,#6455a2 0%,#796caf 70%);
  color: #fff;
}

body.howtoplay nav ul li a.howtoplay,
body.home nav ul li a.home {
  color: #796caf;
  background: #f0f0ea;
  text-shadow: 0 1px 1px rgba(0,0,0,.3);
  border: 1px solid #f0f0ea;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  margin-top: .3em;
  height: 2.7em;
}

div#main {
  background: #f0f0ea url("../images/bg_tile.png");
  min-height: 60em;
  position: relative;
}

div#content {
  width: 35em;
  margin: 0 auto;
  padding: 1em 0;
  text-align: center;
  position: relative;
}

div.section {
  padding: 1.6em 1em 1em;
  border-radius: .5em;
  border: 2px solid #fff;
  margin: 1em .8%;
  background: #f0f0ea;
  box-shadow: inset 1px 1px 4px rgba(0,0,0,0.1);
}

div.section h2 {
  font-size: 1.2em;
  font-family: serif;
  font-weight: bold;
  color: #333;
  margin-bottom: 1em;
}


div.news img { 
  width: 100%;
  margin-bottom: 1em
}

div.news {
  text-align: left;
  font-family: sans-serif;
  line-height: 1.4;
}

div.news h3 {
  font-weight: bold;
}

div.downloads a {
  display: inline-block;
  width: 45%;
  height: 4.5em;
  margin: 0 .4em;
  overflow: hidden;
  text-indent: -900000px;
}

div.downloads a.google_play {
  background: url("../images/google-play-badge.png") top center no-repeat;
  background-size: contain;
}

div.downloads a.app_store {
  background: url("../images/app-store-badge.png") top center no-repeat;
  background-size: contain;
}

div.cols_2 div.section {
  width: 48%;
  float: left;
  margin: 1em .8%;
}

div.cols_2:after {
  content: "";
  display: block;
  clear: both;
}

div.twitter {
  height:500px;
  overflow-y: scroll;
  padding: .3em;
}

div.pv {
  padding: 1em 1em 1em;
  height:500px;
}

div.pv h2 {
  padding: 1em 0 0;
  text-align: left;
  color: #796CAF;
}

div.section p, div.section ol, div.section ul {
  text-align: left;
  line-height: 1.4;
  font-size: .9em;
  font-family: sans-serif;
  margin: 1em 0;
}

div.section li, div.section li {
  margin-bottom: 1em;
}

h2.title {
  display: block;
  overflow: hidden;
  text-indent: -900000px;
  line-height: 2;
  background-size: contain;
  font-family: serif;
}

h2.title_0 {
  background: url("../images/title_0.png") center top no-repeat;
  background-size: contain;
  height: 4em;
  margin-bottom: 1em;
}


div.game h2.title_1 {
  background: url("../images/title_1.png") center top no-repeat;
  background-size: contain;
}

div.game h2.title_2 {
  background: url("../images/title_2.png") center top no-repeat;
  background-size: contain;
}

div.screens {
  margin-bottom: 2em;
}

div.screens img {
  width: 30%;
  margin: 0 .5%;
  border: 2px solid #fff;
  box-shadow: 0 0 6px rgba(0,0,0,.4);
}

a.button,
input[type="submit"] {
  display: block;
  border: 2px solid #5f4fa0;
  font-size: 1.4em;
  font-family: serif;
  font-weight: bold;
  color: #fff;
  text-shadow: 0 1px 1px rgba(0,0,0,.5);
  height: 4em;
  line-height: 4;
  border-radius: .3em;
  margin: 1em .8%;
  background: linear-gradient(180deg,#6455a2 0%,#796caf 70%);
  box-shadow: 0 0 6px rgba(0,0,0,.4);
}

input[type="submit"] {
  font-size: 1em;
  height: 3em;
  width: 7em;
  line-height: 2.6;
  font-family: sans-serif;
}

div.share {
  margin-bottom: 4em;
}

div.share a {
  display: block;
  float: right;
  width: 40px;
  height: 40px;
  margin: -.3em .6em 0;
  overflow: hidden;
  text-indent: -900000px;
}

div.share a.facebook {
  background: url("../images/btn_facebook.png") center top no-repeat;
  background-size: contain;
}

div.share a.twitter {
  background: url("../images/btn_twitter.png") center top no-repeat;
  background-size: contain;
}

.line-it-button {
  float: right;
  margin: -.3em .6em 0;
}

div.share h2 {
  display: block;
  float: left;
  line-height: 2;
  margin: 0;
  color: #796caf;
  margin-left: 1em;
}

div.share:after {
  content: "";
  display: block;
  clear: both;
}

div#footer {
  background: #fff;
  height: 10em;
  padding: 3em 2em;
  text-align: center;
  font-size: .8em;
  width: 100%;
}

div#footer span {
  margin: 0 1em;
  line-height: 1.6;
}

a.button_top {
  overflow: hidden;
  text-indent: -900000px;
  width: 4em;
  height: 4em;
  display: block;
  position: absolute;
  right: 0;
  bottom: -1em;
  background: url("../images/btn_top.png") center top no-repeat;
  background-size: contain;
}

div.overview img {
  float: right;
  width: 40%;
}

div.overview h2.title_3 {
  background: url("../images/title_3.png") left top no-repeat;
    background-size: contain;
}

div.overview h2.title_4 {
  margin-top: 2em;
  background: url("../images/title_4.png") left top no-repeat;
    background-size: contain;
}

div.easy h2.title_5 {
  background: url("../images/title_5.png") left top no-repeat;
    background-size: contain;
}

div.normal h2.title_6 {
  background: url("../images/title_6.png") left top no-repeat;
    background-size: contain;
}

div.overview {
  text-align: left;
}

div.overview h2 {
  float: left;
  width: 60%;
}

div.section:after {
  content: "";
  display: block;
  clear: both;
}

div.board {
  width: 50%;
  float: left;
  padding: 1em;
  height: 19em;
}

div.board img {
  width: 100%;
}

div.contact {
  text-align: left;
}

div.section h2.title_7 {
  background: url("../images/title_7.png") left top no-repeat;
  margin-bottom: 1.4em;
}

@media only screen and (max-width: 600px) {
  
  div.main_visual {
    width: 100%;
    padding-top: 73%;
    position: relative;
    height: initial;
    background-size: cover;
    min-width: 320px;
  }

  div#content, nav {
    min-width: 320px;
    width: 100%;
  }

  nav ul {
    padding: 0 .6em 0 0;
  }

  nav ul li {
    display: block;
    margin: 0;
    float: left;
    width: 50%;
    padding: 0 0 0 .6em;
  }

  nav ul li a {
    width: 100%;
    margin-top: 0.3em;
  }

  div.section {
    margin: 0 1.2em .8em;
    padding: 1.2em 1em 1em;
  }

  div.downloads a {
    width: 48%;
    height: auto;
    padding-top: 9%;
    margin: 0 .1em;
  }

  div.cols_2 div.section {
    width: initial;
    margin: 0 1.2em .8em;
  }

  div.cols_2 div.twitter {
    width: 89%;
  }

  div.cols_2 div.pv {
    height: auto;
  }

  div.section h2 {
    margin-bottom: .5em;
    font-family: 'Hiragino Mincho Pro','MS Mincho', serif;
  }
  
  div.screens img {
    width: 100%;
    margin: 0 .5% 1em;
  }

  a.button, input[type="submit"] {
    margin: 1em; 
  }

  div.share a, .line-it-button {
    float: none;
    display: inline-block;
    margin: 0 .5em;
    position: relative;
    top: -1.6em;
  }

  div.share a {
    vertical-align: baseline;
  }
  
  div.share h2 {
      float: none;
  }
  div.overview h2 {
    float: none;
    width: 100%;
  }
  div.overview img {
    float: none;
    width: 100%;
  }

  div.board {
    width: 100%;
    float: none;
    padding: 1em;
    height: auto;
  }
}

@media only screen and (max-width: 345px) {
  div.downloads a {
    width: 47%;
    margin: 0 .1em;
  }

  .privacy a {
    display: block;
  }
}
