@charset "UTF-8";

/* init */
html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, dialog, figure, footer, header,
hgroup, menu, nav, section,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
}

html {
    font-family: "メイリオ","Hiragino Kaku Gothic Pro",Meiryo,"ヒラギノ角ゴ Pro W3","MS PGothic","MS UI Gothic",Helvetica,Arial,sans-serif;
    -webkit-text-size-adjust: 100%;
}

body {
    position: relative;
    background-color: #fff;
}

body, html {
    width: 100%;
    height: 100%;
}

header, footer {
    display: none;
}

main {
    position: relative;
    width: 100%;
    display: block;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: bold;
    color: #333;
}

h5 {
    font-size: 80%;
    font-weight: normal;
}

ul, ol, li {
    list-style: none;
}

img {
    border: 0;
    vertical-align: middle;
}

a, a:hover {
    text-decoration: none;
}

iframe {
    border-style: none;
    overflow: hidden;
}

.hidden {
    display: none;
}
.visible {
    display: block;
}

.inactive {
    visibility: hidden;
}
.active {
    visibility: visible;
}

div.table {
    position: relative;
    width: 100%;
    display: table;
    table-layout: fixed;
}

div.tr {
    display: table-row;
}

div.td {
    display: table-cell;
    text-align: center;
}

div.frames {
    display: none;
}

#main_header, #main_footer {
    display: none;
}

#game_link_block, #featured_block {
    display: none;
}

#content_block {
    position: relative;
}

#ad_block {
    width: 100%;
    height: 100%;
    display: block;
}

#game_disp {
    position: relative;
    width: 100%;
    height: 100%;
    display: block;
    margin: auto;
}

#game_block {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

#game_bottom_block {
    display: none;
}

#menu_block {
    position: absolute;
    width: 85%;
    height: 100%;
    top: 0px;
    left: -85%;
    display: none;
}

.manu_in {
    -webkit-animation: yMenuIn 0.5s ease 0s 1 normal;
    -moz-animation:    yMenuIn 0.5s ease 0s 1 normal;
    -ms-animation:     yMenuIn 0.5s ease 0s 1 normal;
    -o-animation:      yMenuIn 0.5s ease 0s 1 normal;
    animation:         yMenuIn 0.5s ease 0s 1 normal;

    -webkit-animation-fill-mode: forwards;
    -moz-animation-fill-mode:    forwards;
    -ms-animation-fill-mode:     forwards;
    -o-animation-fill-mode:      forwards;
    animation-fill-mode:         forwards;
}
@-webkit-keyframes yMenuIn {
    0%      { left: -85%; }
    100%    { left: 0%; }
}
@-moz-keyframes yMenuIn {
    0%      { left: -85%; }
    100%    { left: 0%; }
}
@-ms-keyframes yMenuIn {
    0%      { left: -85%; }
    100%    { left: 0%; }
}
@-o-keyframes yMenuIn {
    0%      { left: -85%; }
    100%    { left: 0%; }
}
@keyframes yMenuIn {
    0%      { left: -85%; }
    100%    { left: 0%; }
}

.manu_out {
    -webkit-animation: yMenuOut 0.5s ease 0s 1 normal;
    -moz-animation:    yMenuOut 0.5s ease 0s 1 normal;
    -ms-animation:     yMenuOut 0.5s ease 0s 1 normal;
    -o-animation:      yMenuOut 0.5s ease 0s 1 normal;
    animation:         yMenuOut 0.5s ease 0s 1 normal;

    -webkit-animation-fill-mode: forwards;
    -moz-animation-fill-mode:    forwards;
    -ms-animation-fill-mode:     forwards;
    -o-animation-fill-mode:      forwards;
    animation-fill-mode:         forwards;
}
@-webkit-keyframes yMenuOut {
    0%      { left: 0%; }
    100%    { left: -85%; }
}
@-moz-keyframes yMenuOut {
    0%      { left: 0%; }
    100%    { left: -85%; }
}
@-ms-keyframes yMenuOut {
    0%      { left: 0%; }
    100%    { left: -85%; }
}
@-o-keyframes yMenuOut {
    0%      { left: 0%; }
    100%    { left: -85%; }
}
@keyframes yMenuOut {
    0%      { left: 0%; }
    100%    { left: -85%; }
}

#yahoo_menu {
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    display: inline-block;
    overflow: hidden;
    background-color: #f1f1f1;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;}
    -moz-border-top-right-radius: 4px;
    -moz-border-bottom-right-radius: 4px;}
    -webkit-border-top-right-radius: 4px;
    -webkit-border-bottom-right-radius: 4px;
}

#menu_content {
    position: relative;
    width: 100%;
    height: 100%;
    display: block;
    border: none;
}

#yahoo_menu_icon {
    position: absolute;
    width: 45px;
    height: 45px;
    left: 100%;
    background-image: url("../images/menu_icon.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: left;
}

#result_dialog {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0px;
    display: none;
}

#dialog_content {
    position: absolute;
    width: 100%;
    height: 100%;
    display: block;
    border: none;
}

#in_game_frame {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0px;
    display: none;
}

#in_game_content, #game_bottom_content {
    display: block;
}
