body {
    font-family: "Hiragino Kaku Gothic ProN", "メイリオ", sans-serif;
    color: #FFF;
    background: #000;
    background-position: center 0px;
    font-size: 16px;
    margin: 10px;
    padding: 0px;
    overflow-x: hidden;
}

h1 {
    font-size: 48px;
    margin-top: 40px;
    margin-bottom: 60px;
    text-align: center;
}

h2 {
    font-size: 30px;
    margin-top: 20px;
    margin-bottom: 20px;
}

h3 {
    font-size: 24px;
    margin-top: 32px;
    margin-bottom: 10px;
}
div#main {
    width: 800px;
    margin: 10px auto 20px;
}
#carousel {
    text-align: center;
}
#carousel-container {}

.title_img{
    width: 480px;
    margin: 0 auto;
}
.storeButton {
    width: 200px;
    height: 60px;
    padding: 0 5px;
}
@media (max-width: 768px) {
    div#main {
    width: 100%;
    }
    .title_img {
     width: 300px;
    }
    .storeButton{
    width: 140px;
    height: 42px;
    padding: 0 2px;
    }
}

#gallery-container .bx-viewport {
    max-width: 100%;
}

#links {}

#about_container {
    clear: both;
    line-height: 20px;
    margin-top: 20px;
    margin-bottom: 16px;
    color: #eeffee;
    padding: 8px;
}

#about_container p {
    margin-bottom: 20px;
    line-height: 25px;
}

#about_container center a {
    margin: 0 10px;
}

#about_container img {
    padding-right: 32px;
}

#about_container .messageblock {
  display: flex;
  align-items: center;
    padding-top: 16px;
}

#about_container .messageblock p {
  max-width: 60%;
}

#about_container .messageblock img {
  max-width: 30%;
  height: auto;
}

@media (max-width: 450px) {
  #about_container .messageblock {
    display: block;
  }

  #about_container .messageblock img {
      display: block;
      max-width: 60%;
      height: auto;
      margin: 10px auto;
      padding: 0;
  }

  #about_container .messageblock p {
    max-width: 100%;
    text-align: justify;
  }
}

#templates {
    display: none;
}

#social-bar {
    margin-top: 20px;
    height: 32px;
    line-height: 16px;
}

#social-bar span {
    display: inline-block;
    vertical-align: middle;
    margin-bottom: 16px;
}

.button-link {
    padding: 10px 15px;
    background: #4479BA;
    color: #FFF;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    border: solid 1px #20538D;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.4);
    -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 1px 1px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 1px 1px rgba(0, 0, 0, 0.2);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 1px 1px rgba(0, 0, 0, 0.2);
    -webkit-transition-duration: 0.2s;
    -moz-transition-duration: 0.2s;
    transition-duration: 0.2s;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    text-decoration: none;
}

.button-link:hover {
    background: #356094;
    border: solid 1px #2A4E77;
    text-decoration: none;
}

.button-link:active {
    -webkit-box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.6);
    -moz-box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.6);
    box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.6);
    background: #2E5481;
    border: solid 1px #203E5F;
}



.text-link {
    color: #DDF;
    text-decoration: none;
}

.text-link:hover {
    color: #FFA;
}

.text-link:active {
    color: #EE9;
}
/* Assume english by default */

body #main *[lang=ja] {
    display: none;
}

body#ja #main *[lang=ja] {
    display: block;
}

body#ja #main *[lang=en] {
    display: none;
}

#contact_us {
    height: 32px;
    text-align: right;
}

#contact_us img {}

#contact_us a {
    color: white;
    text-decoration: none;
}

#contact_us a:active {
    color: #888;
    text-decoration: none;
}

#media_container {
    margin-top: 32px;
    text-align: center;
}
#help_translation {
    line-height: 20px;
    margin-top: 32px;
    text-align: center;
}
#get_presskit {
    margin-top: 64px;
}

#ebiten {
    text-align: center;
    padding-top: 30px;
}

#ebiten a {
    color: #FB9;
    text-decoration: none;
}

#ebiten a:active {
    color: #C88;
    text-decoration: none;
}
