@charset "utf-8";


/* ===============================================
  リセット・基本設定
=============================================== */
html {
  height:100%;
}
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td {
  margin: 0;
  padding: 0;
}
address,caption,cite,code,dfn,em,strong,th,var {
  font-style: normal;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
caption,th {
  text-align: left;
}
q:before,q:after {
  content: '';
}
object,
embed {
  vertical-align: top;
}
hr,legend {
  display: none;
}
h1,h2,h3,h4,h5,h6 {
  font-size: 100%;
}
img,abbr,acronym,fieldset {
  border: 0;
}
li {
  list-style-type: none;
}

::-moz-selection {
  background: #ffff00;
  color: #333333;
}

::selection {
  background: #ffff00;
  color: #333333;
}



/*  .clearfix
------------------------------------------------*/
.clearfix:after {
  content: ".";
  display: block;
  clear: both;
  height: 0;
  visibility: hidden;
}
.clearfix {
  min-height: 1px;
}
* html .clearfix {
  height: 1px;
  /*\*//*/
  height: auto;
  overflow: hidden;
  /**/
}



/*  #header
------------------------------------------------*/

#header{
  height:50px;
  border-bottom:solid 3px #21b9f0;
  background:#fff;
  overflow:hidden;
}
#header p.logo{
  position:absolute;
  left:10px;
  top:17px;
}
#header p.btn{
  position:absolute;
  left:170px;
  top:10px;
}

/*iOSアプリ*/
#af-section{
  display: none;
}

#back-top{
  display: block;
  width: 222px;
  height: 46px;
  line-height: 46px;
  text-align: center;
  margin: 0 auto 15px auto;
  background: #eee;
  color: #333;
  font-weight: bold;
  font-size: 18px;
  border-radius: 5px;
  border: 1px solid #999;
}
#iframe-wrapper{
  width: 100%;
  height: 280px;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  overflow-scrolling: touch;
  display: block;
  box-sizing: border-box;
  border: 2px solid #eee;
  position: relative;
  z-index: 0;
}

#af-iframe{
  display: block;
  /*iframe hack for iOS*/
  width: 10px;
  min-width: 100%;
  *width: 100%;
  /* end iframe hack for iOS*/
  height: 100%;
  margin: 0;
  padding: 0;
  background: #eee;
  border: none;
}

/* 画面サイズが大きいデバイス用 */
/*コンテンツを真ん中に寄せる*/
#wrapper{
  width: 320px;
  margin: 0 auto;
}

/*ゲームやった後のモーダルを中央表示*/
#socialBonus{
  width: 100% !important;
}