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

/*オリジナル追加*/
.daytime{
    width: 700px;
    padding: 1rem 0;
    font-weight: bold;
    font-size: 32px;
    color: #fff;
    background-image: -webkit-gradient(linear, left top, right top, from(#87cefa), to(#ff69b4));
    background-image: -webkit-linear-gradient(left,transparent 0%, #87cefa 20%, #ff69b4 80%, transparent 100%);
    background-image: linear-gradient(to right, rgba(135, 206, 250, 0.8) 0%, rgba(255, 105, 180, 0.8+) 100%);
}

.place{
    padding: 0.5rem 1.5rem;
    font-weight: bold;
    font-size: 24px;
    color: #fff;
    letter-spacing: 0.1em;
    overflow: hidden; 
}

.place span {
    padding: 0.5rem 3rem;
    background-image:
        linear-gradient(135deg, transparent 0 20px, #353535 30px calc(100% - 30px), transparent calc(100% - 20px)),
        radial-gradient(#d8afc1 30%, transparent 30%);
    background-repeat: no-repeat, repeat;
    background-size: 100% 100%, 10px 10px;
    background-color: #353535;
    color: white;
    font-weight: bold;
    font-size: 26px;
    text-align: center;

   
    position: relative; /* bottomを指定するために必要 */
    animation: popfadeIn 1s ease-out forwards,popfadeOut 1s ease-in forwards;
    animation-delay: 0s, 3s;

}

@keyframes popfadeIn {
    from {
        bottom: -52px;
    }
    to {
        bottom: 0px;
    }
}
@keyframes popfadeOut {
    from {
        top: 0px;
    }
    to {
        top: -53px;
    }
}

.note{
    background-color: #f9f9f9; /* ノートの紙の色 */
    padding: 1.5rem 4rem 1rem 4rem;
    border: 1px solid #ddd;
    border-radius: 5px;

    /* --- ここからが罫線の設定 --- */
    background-image: linear-gradient(#eee 1px, transparent 1px);
    background-size: 100% 1.5rem; /* 100%は横幅、2emは線の間隔 */
    line-height: 1.5rem; /* 文字の行の高さを線の間隔を調整 */
}