@charset "utf-8";

.panel-left {
	background-color: #eaeaea;
	background-color: #f4f4f4;
	color: #003;
	position: fixed;
	left: 0;
	top: 60px;
	height: calc(100vh - 60px - 22px);
}
.panel-center {
	background-color: #fffdf8;
	color: #002;
	width: 100%;
}

/**************/
/* 将棋リスト */
/**************/
.gameBoard {
	margin: 0px 10px 10px 4px;
	width: 180px;
}
h3 {
	font-size: 1rem;
}
.gameBoard nav ul {
	width: 100%;
}
.gameBoard nav li {
}
.gameBoard nav a {
	display: block;
	background-color: #f0f0f0;
	color: #000;
	padding-left: 10px;
	font-size: 100%;
	line-height: 25px;
}
.gameBoard nav a.selected {
	background-color: #e0f0ff;
}
.gameBoard nav a:hover {
	background-color: #44a;
	color: #fff;
	transition: 0.3s;
}
.game_select {
	margin-left: 10px;
	width: 180px;
}
.game_select option {
	width: 180px;
	font-size: 0.9rem;
	padding-top: 2px;
	padding-left: 10px;
}
.game_select option:hover {
	background-color: wheat;
	color: #800;
}

/********************/
/* ボードレイアウト */
/********************/
.shogi-room {
	background-image: url("/static/djblog/html/img/tatami");
	background-repeat: repeat;
	background-color: #d0d0d0;
	width: 580px;
	padding: 10px;
}
.shogi-title {
	font-size: 0.9rem;
	height: 2rem;
	padding-top: 6px;
	text-align: center;
}
.shogi-space {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
}
.shogi-left {
	vertical-align: top;
	/*horizontal-align: right;*/
}
.shogi-right {
	display: flex;
	flex-direction: column-reverse;
	vertical-align: bottom;
	/*horizontal-align: left;*/
}
#whiteSideTray {
	margin-left: 8px;
}
#blackSideTray {
	margin-right: 8px;
}
.shogi-board-new {
	background-image: url("/static/djblog/html/img/board");
	width: 344px;
	height: 380px;
	padding: 0px;
}
.shogi-board {
	background-image: url("/static/djblog/html/img/board");
	width: 344px;
	height: 380px;
	padding: 7px 5px 15px 7px;
}
#shogiBoard {
	width: 326px;
	height: 364px;
	margin-top: 13px;
	margin-left: 13px;
}
.tray-left {
	background-image: url("/static/djblog/html/img/handtray2");
	position: relative;
	top:0px;
	left:0px;
	background-color: #e0e0f0;
	background-size: 108px;
	width: 108px;
	height: 128px;
}
.tray-right {
	background-image: url("/static/djblog/html/img/handtray1");
	position: relative;
	top:0px;
	left:0px;
	background-color: #e0e0f0;
	background-size: 108px;
	width: 108px;
	/*width: 118px;*/
	height: 128px;
}
.tray-text {
	font-size: 0.8rem;
	text-align: center;
	line-height: 120%;
}
.pieace-cell {
	width: 28px;
	height: 32px;
	font-size: 9px;
	text-align: center;
	background-repeat: no-repeat;
}
.comment {
	font-size: 0.9rem;
	height: 16px;
	margin: 10px 2px;
	border: 0px;
}

/**************/
/* 操作ボタン */
/**************/
.panel-move {
	text-align: center;
	padding: 4px 0 0 0;
	line-height: 100%;
	margin: 4px;
}
.panel-auto {
	display: flex;
	flex-direction: row;
	justify-content: center;
	font-size: small;
	line-height: 100%;
	padding: 0px 10px 0px 10px;
}
.current-pos {
	margin-left: 20px;
	width: 100px;
}

input {
	border-width: 1px;
	padding: 0px 20px 0px 20px;
	height: 16px;
	cursor: pointer;
	border: 1px solid #a0a0a0;
	border-radius: 3px;
	background-color: #ddd;
	opacity: 1;
}
/*****
@media screen and (min-width: 750px) {
	input:hover {
		border: 1px solid #ffffc0;
	}
}
*****/
input[disabled] {
	pointer-events: none;
	background-color: #0aaa;
	opacity: 0.3;
}

input.move-head {
	background: #ddd url("/static/djblog/html/images/ar_head.png");
	background-repeat: no-repeat;
	background-position: center;
}
input.move-back {
	background: #ddd url("/static/djblog/html/images/ar_back.png");
	background-repeat: no-repeat;
	background-position: center;
}
input.move-prev {
	background: #ddd url("/static/djblog/html/images/ar_prev.png");
	background-repeat: no-repeat;
	background-position: center;
}
input.move-next {
	background: #ddd url("/static/djblog/html/images/ar_next.png");
	background-repeat: no-repeat;
	background-position: center;
}
input.move-fore {
	background: #ddd url("/static/djblog/html/images/ar_fore.png");
	background-repeat: no-repeat;
	background-position: center;
}
input.move-tail {
	background: #ddd url("/static/djblog/html/images/ar_tail.png");
	background-repeat: no-repeat;
	background-position: center;
}
input.move-auto {
	background: #ddd url("/static/djblog/html/images/bumboo.png");
	background-repeat: repeat;
	background-position: center;
}

