/*
 * index style sheet
 * date: 2012-08-10
 */
 
* {
	margin: 0px;
	padding: 0px;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
}

h1 {}
h2 {}
h3 {
    font-size: 1.15em;
	
    font-weight: bold;
    color: rgb(51,51,153);
}
body {
	background-color: rgb(250,250,250);
	font-family: Arial, Helvetica, sans-serif;
	font-size: 0.8em;
	color: rgb(85,85,85);
	width: 100%;
}

button {
	font-family: Arial, Helvetica, sans-serif;
	background: rgb(238,238,238);
	border: 1px solid rgb(187,187,187);
	border-radius: 3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	box-shadow: inset 0 0 1px 1px rgb(246,246,246);
	-moz-box-shadow: inset 0 0 1px 1px rgb(246,246,246);
	-webkit-box-shadow: inset 0 0 1px 1px rgb(246,246,246);
	color: rgb(51,51,51);
	line-height: 1em;
	padding: 5px 0 6px;
	text-align: center;
	text-shadow: 0 1px 0 rgb(255,255,255);
	white-space: nowrap;
	width: 150px;
}
button:hover {
	background: rgb(217,217,217);
	box-shadow: inset 0 0 1px 1px ;
	-webkit-box-shadow: inset 0 0 1px 1px rgb(234,234,234);
	-moz-box-shadow: inset 0 0 1px 1px rgb(234,234,234);
	color: #222;
	cursor: pointer;
}
button:active {
	background: rgb(208,208,208);
	box-shadow: inset 0 0 1px 1px rgb(227,227,227);
	-webkit-box-shadow: inset 0 0 1px 1px rgb(227,227,227);
	-moz-box-shadow: inset 0 0 1px 1px rgb(227,227,227);
	color: rgb(0,0,0);
}
button:disabled {
	color: rgb(153,153,153);
}

.red {
	color: red!important;
}

ruby {
  display:inline-table !important;
  text-align:center !important;
  white-space:nowrap !important;
  text-indent:0 !important;
  margin:0 !important;
  vertical-align:text-bottom !important;
  line-height:1 !important;
}

ruby>rb,ruby>rbc {
  display:table-row-group !important;
  line-height:1.0 !important;
}

ruby>rt,ruby>rbc+rtc {
  display:table-header-group !important;
  font-size:71% !important;
  line-height:1.0 !important;
  letter-spacing:0 !important;
}

ruby>rbc+rtc+rtc {
  display:table-footer-group !important;
  font-size:71% !important;
  line-height:1.0 !important;
  letter-spacing:0 !important;
}

rbc>rb,rtc>rt {
  display:table-cell !important;
  letter-spacing:0 !important;
}
rp {
  display:none !important;
}

#sub_article {
	position: fixed;
	/*bottom: -35px;*/
	bottom: 0px;
	display: none;
	left: 0px;
	width: 100%;
	z-index: 500;
	background-color: rgba(179,179,179,0.4);
	border: 1px solid #B3B3B3;
	box-shadow: 0 0 10px 5px rgba(255,255,255,0.5) inset, 0 0 10px 2px rgba(0,0,0,0.3);
	-webkit-box-shadow: 0 0 10px 5px rgba(255,255,255,0.5) inset, 0 0 10px 2px rgba(0,0,0,0.3);
}

#sub_article_menu {
	line-height: 2em;
	height: 35px;
	display: block;
}

#sub_article_menu:after {
	content: "";
	clear: both;
	height: 0px;
	display: block;
	visibility: hidden;
}

#sub_article_menu #close_tag {
	position: absolute;
	right: 5px;
	width: 70px;
}

#sub_article_tools {
	display: none;
	height: 235px;
}

#sub_article_menu button {
	margin: 5px;
	height: 25px;
}
#sub_article_menu #reserve_tag {
	background-color: rgba(150,0,0,0.9);
	color: white;
	text-shadow: none;
	box-shadow: inset 0 0 8px #F6F6F8;
	-webkit-box-shadow: inset 0 0 8px #F6F6F8;
}
#sub_article_menu #reserve_sheet_tag {
	background-color: rgba(240,240,0,0.9);
	color: black;
	text-shadow: none;
	box-shadow: inset 0 0 8px #F6F6F8;
	-webkit-box-shadow: inset 0 0 8px #F6F6F8;
}
#sub_article_menu #customer_tag {
	background-color: rgba(0,128,0,0.9);
	color: white;
	text-shadow: none;
	box-shadow: inset 0 0 8px #F6F6F8;
	-webkit-box-shadow: inset 0 0 8px #F6F6F8;
}
#sub_article_menu #customer_register_tag {
	background-color: rgba(0,64,128,0.9);
	color: white;
	text-shadow: none;
	box-shadow: inset 0 0 8px #F6F6F8;
	-webkit-box-shadow: inset 0 0 8px #F6F6F8;
}

#fullscreen_wrap {
	display: none;
	position: fixed;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	background-color: rgba(0,0,0,0.5);
	z-index: 900;
	overflow: scroll;
}
#fullscreen_wrap .window_def {
	display: block;
	position: absolute;
	top: 50%;
	left: 50%;
	width: 500px;
	min-height: 500px;
	margin: -250px 0 0 -250px;
	padding: 0px 20px 20px;
	background-color: #FFFFFF;
	border: 1px solid #777777;
	font-size: 1.1em;
	color: #333333;
	text-align: left;
}
#fullscreen_wrap .window_def > h1 {
	font-size: 1.3em;
	line-height: 40px;
	height: 40px;
	margin: 0px -20px 10px -20px;
	color: #FFFFFF;
	background-color: #000000;
	background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #5d5d5d), color-stop(100%, #0e0e0e));
	background-image: -webkit-linear-gradient(top, #5d5d5d, #0e0e0e);
	background-image: -moz-linear-gradient(top, #5d5d5d, #0e0e0e);
	background-image: -ms-linear-gradient(top, #5d5d5d, #0e0e0e);
	background-image: -o-linear-gradient(top, #5d5d5d, #0e0e0e);
	background-image: linear-gradient(top, #5d5d5d, #0e0e0e);
	filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr=#5d5d5d, endColorstr=#0e0e0e);
	text-align: center;
}
#fullscreen_wrap .window_def > h1 .window_menu_button {
	position: absolute;
	top: 7px;
	left: 10px;
	width: auto;
	height: 26px;
	background: transparent;
	border: 1px solid #222;
	border-radius: 3px;
	-webkit-box-shadow: inset 0 0 1px 1px #7d7d7d;
	box-shadow: inset 0 0 1px 1px #7d7d7d;
	color: #ddd;
	line-height: 1em;
	padding: 5px 10px 6px;
	text-align: center;
	text-shadow: 0 1px 0 #fff;
}
#fullscreen_wrap .window_def > h1 .window_close_button {
	position: absolute;
	top: 7px;
	right: 10px;
	width: auto;
	height: 26px;
	background: transparent;
	border: 1px solid #222;
	border-radius: 3px;
	-webkit-box-shadow: inset 0 0 1px 1px #7d7d7d;
	box-shadow: inset 0 0 1px 1px #7d7d7d;
	color: #ddd;
	line-height: 1em;
	padding: 5px 10px 6px;
	text-align: center;
	text-shadow: 0 1px 0 #fff;
}
#fullscreen_wrap .window_def .window_menu {
	display: none;
	position: absolute;
	top: 45px;
	left: 10px;
	width: 160px;
	padding: 4px;
	border-radius: 3px;
	background-color: #0E0E0E;
	-webkit-box-shadow: 1px 1px 3px 1px rgba(0,0,0,0.5);
	box-shadow: 1px 1px 3px 1px rgba(0,0,0,0.5);
}
#fullscreen_wrap .window_def .window_menu button {
	width: 100%;
}
/**
 * login_form
 */
#login_form {
	background-color: rgb(255,255,255);
	margin: 30px;
	box-shadow: 0 0 2px  rgba(0,0,0,0.5);
	padding: 30px;
	text-align: center;
}
#login_form p {
	max-width: 400px;
	margin: 10px auto;
	text-align: left;
}
#login_form label {
	display: inline-block;
	width: 30%;
	color: rgb(51,51,153);
}
#login_form input {
	width: 70%;
	padding: 2px;
}
#login_form button {
	display: block;
	margin: 10px auto;
}

/**
 * 	user tool
 */
header {
	position: relative;
	height: 50px;
	background: white;
	border-bottom: 1px solid rgb(179,179,179);
}
header img {
	height: 40px;
	margin: 5px;
}

#user_tool {
	position: absolute;
	bottom: -1px;
	right: 10px;
	padding: 5px 20px;
	background-color: #fafafa;
	border-radius: 10px 10px 0 0;
	border: 1px solid rgb(179,179,179);
	border-bottom: none;
}
#user_tool * {
	vertical-align: middle;
}
#user_tool p {
	display: inline-block;
	line-height: 100%;
	margin-right: 10px;
}
#user_tool label {
	margin-right: 10px;
	color: rgb(51,51,153);
}
#user_tool a {
	font-size: 0.9em;
	display: inline-block;
	color: black;
	text-shadow: none;
	box-shadow: 0 0 2px rgba(0,0,0,0.5), inset 0 0 5px 3px rgba(255,255,255,1);
	-webkit-box-shadow: 0 0 2px rgba(0,0,0,0.5), inset 0 0 5px 3px rgba(255,255,255,1);
	padding: 5px 15px;
	line-height: 1em;
	margin-left:  10px;
	text-decoration: none;
	-webkit-border-radius: 3px;
}
#user_tool a:hover {
	cursor: pointer;
}

#user_tool .store_logout {
	display: none;
	width: 0px;
	overflow: hidden;
	background-color: rgba(0,64,128,0.9);
	color: white;
	text-shadow: none;
	box-shadow: inset 0 0 8px #F6F6F8;
	-webkit-box-shadow: inset 0 0 8px #F6F6F8;
}
#user_tool .clock {
	display: inline-block;
	margin-left: 10px;
	background-color: white;
	padding: 5px 10px;
    border: 1px solid rgb(179,179,179);
	border-radius: 5px;
	-webkit-border-radius: 5px;
	font-family: "Lucida Grande", "segoe UI", "ヒラギノ丸ゴ ProN W4", "Hiragino Maru Gothic Pro", "メイリオ", Meiryo, Verdana, Arial, sans-serif;
}
#user_tool .clock p:last-of-type {
	margin-right: 0px;
}