* {
  text-rendering: optimizelegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
      -ms-box-sizing: border-box;
       -o-box-sizing: border-box;
          box-sizing: border-box;
}

html, body {
  height: 100%;
  background: transparent;
}

html {
  /* 16px * 62.5% = 10px */
  font-size: 62.5%;
}
body {
  color: #666;
  /*font-family: 'Helvetica Neue', Helvetica, Arial, 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', 'メイリオ', Meiryo, 'ＭＳ Ｐゴシック', sans-serif;*/
  font-family: sans-serif;
  font-size: 1.2rem;
  line-height: 1.4;
  margin: 0;
  padding: 0;
  background-color: #f4f4f4;
}
html.check body { background-color: #333; }

body > iframe { position: absolute; top: 0; left: 0; z-index: -1; }

h1, h2, h3, h4, h5, h6 { font-size: 1.2rem; }

h1, h2, h3, h4, h5, h6,
p, ul, ol {
  margin-top: 0; margin-bottom: 1.5em;
}

a { color: #000; }

hr { margin: 3em 0; border: none; }

img {
  width: 100%;
  max-width: 100%;
  border: none;
  vertical-align: top;
}

ol.none { padding-left: 1em; list-style-type: none; }

dl dd { margin-left: 0; }

.clearfix {
  zoom: 1;
}
.clearfix:after {
  display: block;
  content: "";
  clear: both;
  height: 0;
}

.btn { display: inline-block; }
.btn img { margin-bottom: 0 !important; }

.section { position: relative; }

.navigation {
  display: table;
  width: 100%;
  margin: 0; padding: 0;
  list-style-type: none;
}
.navigation > li {
  display: table-cell;
}

.container {
  max-width: 640px;
  margin: 0 auto;
}

.inner {
  padding: 0 4.6875%;
  list-style-type: none;
}

#wrapper {
  width: 100%; height: 100%;
  font-size: 1.2rem;
  margin: 0 auto;
  z-index: 1;
}

#contents {
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  padding-bottom: 20%;
  background-color: #fff;
  box-shadow: 0 2px 2px 0 rgba(0,0,0,0.2);
}

#close {
  position: fixed;
  top: 10px; right: 10px;
}

#refresh {
  position: fixed;
  bottom: 10px; right: 10px;
}

#main-title { display: none; }

#pagetop {
  position: fixed;
  bottom: -100%; left: 0;
  bottom: 0 !important;
  width: 100%;
  text-align: right;
  z-index: 888;
  -webkit-transition: all 1s linear;
          transition: all 1s linear;
}
#pagetop.active { bottom: 0%; }
#pagetop .btn {
  display: inline-block;
  width: 18.75%;
  max-width: 119px;
  margin-right: 5%;
}


/******************************************************************************************/
#credit {}

#credit #main {
  margin-bottom: 1.5em;
}
#credit #members dl {
  margin-bottom: 1.5em;
}
#credit #members dl dt {
  color: #000;
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 0.25em;
}
#credit #members dl dd {
  font-size: 1.2rem;
}

#credit hr {
  border: none;
  border-bottom: 1px solid #ddd;
  width: 90.625%;
  margin-left: auto;
  margin-right: auto;
}

#credit #company ul > li {
  margin-bottom: 3em;
}
#credit #company ul > li a {
  display: block;
}


/******************************************************************************************/
#terms {}

#terms #main {
  margin-bottom: 1.5em;
}
#terms h2.title { color: #000; text-align: center; }

#terms #guideline .section { font-size: 1.0rem; margin-bottom: 3em; }
#terms #guideline .section .subtitle { margin-bottom: 1em; }

#terms #guideline .section ul,
#terms #guideline .section ol,
#terms #guideline .section dl,
#terms #guideline .section dl dd p { margin: 0; }

#terms #guideline .section ol ol { margin-left: 1em; list-style-type: lower-latin; }
