/*--------------------------------------
 全体
--------------------------------------*/
html {
	scrollbar-base-color: #000;
	scrollbar-arrow-color: #FFF;
}
body {
	margin: 0 5px;
	padding: 0 5px;
	/* font-family: vertical; */
	color: #FFF;
	/* font-family: "MS PGothic", IPAMonaPGothic, Monapo, Mona, submona, sans-serif; */
	/* font-size: 0.8em; */
	background-color: #000;
}

h1 {
	margin: 0;
	padding: 0;
}
h3 {
	margin: 0;
	padding: 0;
}

img       { vertical-align: middle; border: 0; }
a:hover   { background-color: #FCC; }
a:link    { color:#69F; }
a:visited { color:#F0F; }
a:active  { color:#F00; }
ul,li     { text-align: left; }
li        { margin: 0.3em; }
hr        { border: -1px solid #666; }

/* --------------------------------------
 Indexﾍﾟｰｼﾞ
-------------------------------------- */
#page {
	max-width: 800px;
/*	border: 2px solid #222; */
	margin: 0 auto;
	padding: 0;
	text-align: left;
}
#header {
	margin-bottom: 3px;
	background: url(../bgimg/top1.gif);
	/* height: 90px; */
	height: 180px; /* mod */
}
#header a:hover{ background-color: transparent; }
#navigation {
	float: left;
	width: 180px;
}
#navigation ul {
	margin: 0;
	padding: 0;
}
#navigation ul li {
	margin: 0;
	padding: 0 0 0 10px;
	list-style: none;
	font-size: 1.2em;
	border-top: 1px solid #C0C;
	border-bottom: 1px solid #C0C;
	display: block;
}
#navigation ul li a {
	width: 100%;
	display: block;
	text-decoration: none;
}

#contents {
	margin-left: 180px;
}
#footer {
	clear: both;
	text-align: center;
	font-size: 0.875em;
}
.login_list {
	height: 200px;
	/* width: 400px; */
	max-width: 400px;
	padding: 5px;
	text-align: left;
	border: 3px solid #CCC;
	background-color: #333;
	overflow: auto;
	overflow-y: auto;
}


.menu_button {
	/* width: 90%; */
	font-size: 1.3em;
	text-decoration: none;
	font-weight: bold;
	margin: 2px;

}
.menu_button a {
	padding-left: 7px;
	display: block;
	text-decoration: none;
	border: 1px solid #99C;
	background: url(../bgimg/back1.gif);
}
.menu_button a:hover {
	color: #FF0;
	border: 1px solid #CFC;
	background: url(../bgimg/back2.gif);
}
.menu_button .text_small {
	font-size: 0.6875em;
	color: #FFF;
	font-weight: normal;
}

/*--------------------------------------
 エラー画面、ヘッダー部分
--------------------------------------*/
.mes {
	padding: 3px;
	border: 1px solid #FFF;
	background-color: #336;
}

/*--------------------------------------
 文字色
--------------------------------------*/
/* 行動することはできません、戦う相手が見つかりませんなど強調文字 */
.strong { font-weight: bold; color: #FF6; }

/* ダメージの数字 */
.damage { font-weight: bold; color: #F00; }

/* ○○をたおした！、○○はやられてしまった！ */
.die { font-weight: bold; color: #F00; }

/* Regenerationの数字 */
.heal { font-weight: bold; color: #0CC; }

/* 生き返った */
.revive { font-weight: bold; color: #0FF; }

/* ステータス異常 */
.state { color: #C9C; }

/* 一時的状態 */
.tmp { color: #6FC; }

/* テンションの数字 */
.tenshon { font-weight: bold; color: #FF0; }

/* ステータス増大 */
.st_up { color: #9CF; }

/* ステータス減少 */
.st_down { color: #F99; }

/* レベルが上がった♪ */
.lv_up { color: #FF0; }

/* 経験値とお金を手に入れた */
.get { color: #9FC; }

/* ささやき */
.whisper { color: #0FF; }

/* 会心の一撃！ */
.kaishin { font-weight: bold; }

/* コンプリート */
.comp { font-weight: bold; font-style: italic; color: #FF0; }

/* クエスト時の名前部分 */
.battle-disp {
	/* width: 70px;  */
	width: 140px; /* mod */
	/* font-size: 0.75em; */
	background-color: #333;
}

/* 冒険に出るの上部分 */
.view {
	width: 100%;
	height: 200px;
	overflow-y: scroll;
}


/*--------------------------------------
 ゲージ
--------------------------------------*/
/* 次の行動のゲージ */
.gage_bar1 {
	height: 8px;
	border: 1px outset #66F;
	background-color: #33F;
	vertical-align: top;
}
/* 次の行動のゲージ(フルゲージ) */
.gage_bar1_full {
	height: 8px;
	border: 1px outset #66F;
	border-right: 0px;
	background-color: #3FF;
	vertical-align: top;
}
/* 次の行動のゲージ背景(getElementIdを使うのでid) */
#gage_back1 {
	background-color: #666;
	border-right: 1px solid #666;
	height: 10px;
	overflow: hidden;
}

/* HPゲージ */
.gage_bar2 {
	height: 5px;
	border: 1px outset #933;
	background-color: #F66;
	vertical-align: top;
}
/* HPゲージ背景 */
.gage_back2 {
	margin: 0px 5px 2px 5px;
	text-align: left;
	background-color: #900;
	/* width: 60px; */
	width: 120px; /* mod */
	height: 7px;
	overflow: hidden;
}

/*--------------------------------------
 テーブル
--------------------------------------*/
.table1 {
	border: 1px solid #FFF;
	padding: 10px;
}
td,th {
	color: #FFF;
	font-size: 0.9rem;
	/* white-space: nowrap;  */
}

.table2 {
	border: 2px solid #999;
	border-collapse: collapse;
	border-spacing: 0;
	empty-cells: show;
}
.table2 th {
	border: 2px solid #999;
	background: #336;
	white-space: nowrap;
}
.table2 td {
	border: 1px solid #999;
	background: #333;
	white-space: nowrap;
}
tr.stripe1 td { background-color: #222; }
tr.stripe2 td { background-color: #C00; }

/*--------------------------------------
 セレクト
--------------------------------------*/
select {
	color: #FFF;
	background-color: #003;
}
.select1 {
	color: #FFF;
	background-color: #003;
	width: 120px;
}

/*--------------------------------------
 テキストボックス
--------------------------------------*/
.text_box1,
.text_box_s,
.text_box_b {
	width: 120px;
	height: 20px;
	color: #FFC;
	border: 1px solid #FFF;
	background-color: #003;
}
.text_box_s {
	width: 70px;
}
.text_box_b {
	width: 360px;
}

.textarea1 {
	width: 500px;
	color: #FFC;
	background-color: #003;
}

#form {
	margin-top : 1px;
}

/*--------------------------------------
 Custom
--------------------------------------*/

/* body {
	font-family: Meiryo, Verdana, Arial, sans-serif;
} */

body {
	overflow-wrap: break-word;
}

/* img {
	image-rendering: pixelated;
	image-rendering: crisp-edges;
} */

.menu_button {
	/* border: 1px solid #99C; */
	margin-left: 0;
	margin-right: 6px;
	font-size: 1.125em;
}

.text_box1,
.text_box_s,
.text_box_b {
	max-width: 100%;
}

.textarea1 {
	max-width: 100%;
}

font[size="1"] {
	font-size: 0.75em;
}

*[onclick^="text_set"] {
	cursor: pointer;
}

.strong {
	max-width: 640px;
}

#form,
.strong {
	line-height: 1.5;
}

/* span[onclick^="text_set"], */
.nowrap {
	white-space: nowrap;
}

.wrap {
	white-space: normal !important;
}

#header img {
	max-width: 100%;
}

/* #loginTable td {
	display: inline-block;
} */

img[src^="./icon/etc"] {
	vertical-align: text-bottom;
}

.view {
	height: 200px;
}

@media screen and (max-width: 480px) {
	body {
		font-size: 1em;
	}

	#form,
	.strong {
		line-height: 2;
	}

	span[onclick^="text_set"],
	.nowrap {
		white-space: nowrap;
	}

	.battle-disp {
		/* width: 105px; */
		width: unset;
		font-size: 0.8125em;
	}

	.gage_back2 {
		width: 90px;
	}

	.text_box1,
	.text_box_s,
	.text_box_b {
		height: unset;
		font-size: 1em;
	}

	#navigation {
		float: none;
		margin: 0 auto;
		width: 100%;
	}

	.menu_button {
		/* display: inline-block; */
		vertical-align: top;
		margin-right: 0;
		/* width: 48%; */
		/* min-height: 50px; */
	}

	#contents {
		margin-left: 0;
	}

	.login_list {
		height: 100px;
	}

	#loginFormCell {
		width: 100%;
	}

	#loginFormCell table {
		margin: 0 auto !important;
	}

	#loginTable td {
		display: inline-block;
	}
}