/*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: 0;
	text-align: center;
	cursor: pointer;
}

.menu_item img {
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: 100%;
}

/* セーブ */
.menu_save {
	display: inline-block;
	position: absolute;
	margin: 0;
	padding: 0;
	top:  222px;
	left: 110px;
}

/* ロード */
.menu_load {
	display: inline-block;
	position: absolute;
	margin: 0;
	padding: 0;
	top: 302px;
	left: 320px;
}

/* テキスト消去 */
.menu_window_close {
	display: inline-block;
	position: absolute;
	margin: 0;
	padding: 0;
	top: 222px;
	left: 530px;
}

/* メッセージスキップ */
.menu_skip {
	display: inline-block;
	position: absolute;
	margin: 0;
	padding: 0;
	top: 302px;
	left: 740px;
}

/* タイトルに戻る */
.menu_back_title {
	display: inline-block;
	position: absolute;
	margin: 0;
	padding: 0;
	top:  222px;
	left: 950px;
}
/*
.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;
}
*/


/* バックログ画面の設定
--------------------------------------*/
.log_body {
	position: absolute;
	top: 210px;
	left: 200px;
	width: 900px;
	height: 400px;
	margin: 0;
	padding: 0 60px 0 30px;
	border: none;
	border-radius: none;
	color: #DDDDDD;
	background: none;
	font-weight: normal;
	text-align: left;
	line-height: 1.6em;
	overflow-y: scroll;
	-webkit-overflow-scrolling: touch;
	-webkit-transform: translateZ(0);
	transform: translateZ(0);
	box-sizing: border-box;
}

/* スクロールバー */
.log_body::-webkit-scrollbar {
	width: 16px;
}
.log_body::-webkit-scrollbar-thumb {
	border-radius: none;
	background: #ffdf0d;
}

.log_body::-webkit-scrollbar-track {
	background: #000000;
}


/* セーブ・ロード画面の設定
--------------------------------------*/
.area_save_list {
	display: block;
	width: 920px;
	height: 450px;
	margin: 90px 0 0 0;
	overflow-y: scroll;
	-webkit-overflow-scrolling: touch;
	-webkit-transform: translateZ(0);
	transform: translateZ(0);
}

/* スクロールバー */
.area_save_list::-webkit-scrollbar {
	width:16px;
}

.area_save_list::-webkit-scrollbar-thumb {
	border-radius: none;
	background: #ffdf0d;
}

.area_save_list::-webkit-scrollbar-track {
	border-radius: none;
	background: #000000;
}


/* セーブデータリスト全体の設定 */
.save_list {
	display: table;
	table-layout: fixed;
	position: absolute;
	width: 850px;
	height: 130px;
	margin: 0;
	padding: 0;
	font-size: 16px;
	font-weight: normal;
	background-color: none;
	border: none;
	border-collapse: separate;
	border-spacing: 0 12px;
	box-sizing: border-box;
}

/* セーブデータの設定 */
.save_list_item {
	display:table-row;
	width: 850px;
	height: 130px;
	margin: 0;
	padding: 0;
	border: none;
	box-sizing: border-box;
	cursor: pointer;
}

.save_list_item:hover > .save_list_item_thumb{
	background: url('image/system/saveslot2.png');
	background-repeat: y-repeat;
	background-position: right top;
	background-color: none;
}

.save_list_item:hover > .save_list_item_area{
	background: url('image/system/saveslot2.png');
	background-repeat: y-repeat;
	background-position: left top;
	background-color: none;
}

.save_list_item:hover {
	background: none;
}

/* セーブデータのサムネイル部分の設定 */
.save_list_item_thumb {
	display: table-cell;
	width: 200px;
	height: 130px;
	margin: 0;
	padding: 0;
	border: none;
	background: url('image/system/saveslot.png');
	background-repeat: y-repeat;
	background-position: right top;
	box-sizing: border-box;
}

/* サムネイル画像の設定 */
.save_list_item_thumb img {
	width: 160px;
	height: 90px;
	margin: 18px 0 0 -20px;
	padding: 0;
	border: none;
	border-radius: 0px;
}

/* セーブデータのテキスト部文の設定 */
.save_list_item_area {
	display: table-cell;
	width: 650px;
	height: 130px;
	padding: 24px 0 0 100px;
	margin: 0;
	border-radius: none;
	border: none;
	background: url('image/system/saveslot.png');
	background-repeat: y-repeat;
	background-position: left top;
	text-align: left;
	vertical-align: top;
	box-sizing: border-box;
}

/* セーブデータの日付の設定 */
.save_list_item_date {
	display: block;
	margin: 0;
	padding: 0;
	height: 20px;
	line-height: 1;
	color: #f1f1f1;
	font-weight: bold;
	box-sizing: border-box;
}

/* セーブデータのテキストの設定 */
.save_list_item_text {
	display: block;
	height: 65px;
	margin: 0;
	padding: 10px 16px 16px 0;
	line-height: 1.3;
	color: #ddd;
	overflow: hidden;
	box-sizing: border-box;
}


.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;
}

/* 通常 */
.bth02 {
	position: relative;
    display: inline-block;
    padding: .7em .6em;
    background-color: #111;
    color: #ccc;
    text-shadow: none;
    border-radius: 0;
    box-shadow: 0 2px 0 #000;
    box-sizing: border-box;
    transition: .25s;
}

.bth02::after {
	position: absolute;
    content: "";
    background-color: none;
    top: 4px;
    right: 4px;
    bottom: 4px;
    left: 4px;
    border-radius: 0;
    border: 1px solid #444;
	transition: .25s;
}


/* ホバー */
.bth02:hover {
	color: #f1f1f1;
}

.bth02:hover::after {
	border: 1px solid #ffdf0d;
}

/* アクティブ */
.bth02:active {
	background-color: #cbc9c6;
	color: #4c4c4b;
	font-weight: bolder;
	transform: translateY(2px);
	box-shadow: none;
}

.bth02:active::after {
	border: 2px solid #878787;
}

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

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

body{
	
    background-color:black;
    -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;

/*Mac safari でtyrano_base の overfllow:hiddenが効かない対策*/
	-webkit-transform: translateZ(0);
	-webkit-mask-image: -webkit-radial-gradient(circle, white 100%, black 100%);


/*  
  	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;
}


/*vchat **************************/

/*——————–
 吹き出しを作る
——————–*/

.vchat_base{
    
    width:100%;
    height:100px;
    background-color:red;
    position:relative;
    display:none;
    overflow:scroll;    
       
}

/* 全体のスタイル */
.vchat {
  margin-top: 25px;
}

/*名前欄*/
.vchat-name {
    margin-top:20px;
    font-family: Quicksand, 游ゴシック体, "Yu Gothic", YuGothic, "ヒラギノ角ゴシック Pro", "Hiragino Kaku Gothic Pro", メイリオ, Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif; 
}

/*吹き出しテキスト */
.vchat-text {
  -webkit-text-size-adjust:none;
  position: relative;
  margin-left: 10px;
  padding: 10px;
  border-radius: 10px;
  margin-right: 12%;
  box-shadow: 0px 3px 3px -3px rgba(0,0,0,0.6);
  -webkit-box-shadow: 0px 3px 3px -3px rgba(0,0,0,0.6);
  -moz-box-shadow: 0px 3px 3px -3px rgba(0,0,0,0.6);
  font-size:"xx-large";
 
  word-break: keep-all;
  line-break: strict;
  word-wrap: break-word;
  overflow-wrap: break-word;
  -webkit-touch-callout:none;
  -webkit-user-select: none;
  font-family: Quicksand, 游ゴシック体, "Yu Gothic", YuGothic, "ヒラギノ角ゴシック Pro", "Hiragino Kaku Gothic Pro", メイリオ, Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif; 
  /*float: left;*/
}

.ribbon20-wrapper {  
  display: block;
  position: relative;
  margin: 0 auto;
  padding: 20px 0;
  width: 300px;
  background: #f1f1f1;
  }
.ribbon20 {
  display: inline-block;
  position: absolute;
  left: 0;
  top: 5px;
  box-sizing: border-box;
  padding: 0 12px;
  margin: 0;
  height: 24px;
  line-height: 24px;
  font-size: 14px;
  letter-spacing: 0.1em;
  color: white;
  background: #70c7ff;
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.12);
}
.ribbon20:before {
  position: absolute;
  content: '';
  top: 0;
  left: -7px;
  border: none;
  height: 24px;
  width: 7px;
  background: inherit;
  border-radius: 5px 0 0 5px;
}

/*
.ribbon20:after {
  position: absolute;
  content: '';
  bottom: -7px;
  left: -5px;
  border: none;
  height: 7px;
  width: 5px;
  background: #4d99ca;
  border-radius: 5px 0 0 5px;
}
*/

/* 回り込み解除 */
.vchat:after,.vchat:before {
  clear: both;
  content: "";
  display: block;
}






