/*reset css */
@import url("./css/font.css");
@import url("./css/animate.css");
@import url("./css/glink.css");

body,
div,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
form,
fieldset,
input,
textarea,
p,
blockquote,
th,
td {
    padding: 0;
    margin: 0;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}
fieldset,
img {
    border: 0;
}
address,
caption,
cite,
code,
dfn,
em,
strong,
th,
var {
    font-weight: normal;
    font-style: normal;
}
ol,
ul {
    list-style: none;
}
caption,
th {
    text-align: left;
}
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: normal;
    font-size: 100%;
}
q:before,
q:after {
    content: "";
}
abbr,
acronym {
    border: 0;
}

/*smart novel original css */

.vertical_text {
    font-family: "@ＭＳ 明朝";
    /*color:white;*/
    writing-mode: tb-rl;
    writing-mode: vertical-rl;
    -webkit-writing-mode: vertical-rl;
    float: right;
    height: 100%;
}

.layer_menu {
    display: none;
    font-size: 1.3em;
    font-weight: bold;
    position: absolute;
    width: 100%;
    height: 100%;
}

/*メニュ－ボタン系*/
.menu_item {
    position: relative;
    margin-top: 3%;
    text-align: center;
    cursor: pointer;
}
.menu_item img {
    width: auto;
    max-width: 80%;
    max-height: 10%;
}
.display_menu .button:first-child {
    margin-top: 0;
}
.display_menu {
    overflow: visible;
    padding: 0;
    z-index: 10000;
    width: 100%;
    height: 100%;
    position: absolute;
    display: block;
    /*overflow:visible;padding:2%;display:table-cell;vertical-align:middle*/
}

/* セーブ時の画面の設定
--------------------------*/
/* セーブデータリスト全体の設定 */
.save_list {
    display: table;
    table-layout: fixed;
    width: 70%;
    height: 76px;
    font-size: 14px;
    font-weight: normal;
    border-top: 1px dotted #ccc;
}

/* セーブデータの設定 */
.save_list_item {
    display: table-row;
    cursor: pointer;
}

/* セーブデータのサムネイル部分の設定 */
.save_list_item_thumb {
    display: table-cell;
    width: 96px;
    height: 72px;
    padding-top: 5px;
    padding-left: 10px;
    border-bottom: 1px dotted #ccc;
}

.save_list_item_thumb img {
    width: 96px;
    height: 72px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}

/* セーブデータのテキスト部文の設定 */
.save_list_item_area {
    display: table-cell;
    vertical-align: top;
    padding: 0 10px;
    border-bottom: 1px dotted #ccc;
}
/* セーブデータの日付の設定 */
.save_list_item_date {
    display: block;
    padding: 5px 0;
    line-height: 1;
    color: #48d1cc;
}
/* セーブデータのテキストの設定 */
.save_list_item_text {
    display: block;
    line-height: 1.3;
    height: 48px;
    overflow: hidden;
    color: #666;
}

.layer_event_click {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    background-color: rgba(0, 0, 0, 0);
}

.layer {
    background-size: 100% 100%;
}

.button_menu {
    position: absolute;
    z-index: 99999;
    top: 20px;
    cursor: pointer;
}

/*
 CSSを修正することで、ゲーム画面をカスタマイズすることが可能です
 * */

/*ゲーム枠の外側の色を指定します*/

body {
    background-color: #e4d2d4;
    -webkit-tap-highlight-color: transparent;
    overflow: hidden;
    touch-action: manipulation;
}

/*次へのクリックを促すアイコン*/

.img_next {
    padding-left: 3px;
}

/*テキストボックスの共通スタイル*/
.text_box {
}

.tyrano_base {
    -moz-user-select: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -webkit-text-size-adjust: none;
    /*
	position: absolute;
	*/

    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
}

/* 反転 */
.reflect {
    -webkit-transform: scaleX(-1);
    -moz-transform: scaleX(-1);
    -ms-transform: scaleX(-1);
    -o-transform: scaleX(-1);
    transform: scaleX(-1);
    filter: FlipH;
}

/*ダイアログボックス*/
#alertify {
    z-index: 9999999;
}
