html, body {
	height: 100%;
	margin: 0;
	padding: 0;
	}
body {
	margin: 0;
	padding: 0;
	font-family: 'ヒラギノ角ゴ Pro W3','Hiragino Kaku Gothic Pro','メイリオ',Meiryo,'ＭＳ Ｐゴシック',sans-serif;
	}

*html body { background: url(null) fixed }

img { border: none; vertical-align: bottom; }

.container {
	min-width: 99%;
	max-width: 99%;
	padding-right: 0;
	padding-left: 0;
	}

#wait-png {
	z-index: 9100;
	position: absolute;
	display: none;
	}
#wait-frame {
	z-index: 9000;
	width: 100%;
	position: absolute;
	top: 0;
	left: 0;
	background-color: #fff;
	opacity: 0.7;
	display: none;
	}

.alert {
	margin-bottom: 0 !important
	}

#contents {
	margin: 0;
	padding: 10px;
	}

#contents h1 {
	margin: 0 8px 0 0;
	}

#page-header {
	padding-bottom: 10px;
	}
#page-header button {
	margin-right: 8px;
	}

.bg-white {
	background-color: #fff;
	}

/* フォームを横並びにさせる為のtable */
.table-form-inline {
	border-collapse: collapse;
	max-width: 100%;
	}
.table-form-inline td {
	padding: 5px 0 5px 10px;
	}
.table-form-inline tr td:first-child {
	padding-left: 0;
	}

/****************************
 ヘッダー
****************************/
header {
	color: #fff;
	background-color: #0c0c0c;
	background: -moz-linear-gradient(top, #3a3a3a 0%, #0c0c0c 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#3a3a3a), color-stop(100%,#0c0c0c)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, #3a3a3a 0%,#0c0c0c 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, #3a3a3a 0%,#0c0c0c 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top, #3a3a3a 0%,#0c0c0c 100%); /* IE10+ */
	background: linear-gradient(to bottom, #3a3a3a 0%,#0c0c0c 100%); /* W3C */
	}
header:after {
	content: "";
	clear: both;
	display: block;
	}

header .h-nav {
	float: left;
	}
header .h-links {
	float: right;
	}

header nav > ul {
	margin: 0;
	padding: 0;
	list-style-type: none;
	}
header nav > ul > li {
	position: relative;
	float: left;
	margin: 0;
	padding: 0;
	text-align: center;
	}
header nav > ul > li a {
	display: block;
	margin: 0;
	padding: 10px;
	color: #fff;
	font-size: 14px;
	line-height: 1;
	text-decoration: none;
	}
header nav > ul > li ul {
	list-style: none;
	position: absolute;
	z-index: 50;
	top: 100%;
	left: 0;
	margin: 0;
	padding: 0;
	}
header .h-links > li:last-child ul {
	left: -100%;
	width: 100%
	}
header nav > ul > li ul li {
	overflow: hidden;
	width: 200%;
	height: 0;
	color: #fff;
	}
header nav > ul > li ul li a {
	padding: 10px;
	background-color: #333;
	text-align: left;
	font-size: 14px;
	}
header nav > ul > li:hover > a {
	background: #666;
	color: #fff;
	}
header nav > ul > li:hover > ul li:hover a {
	background: #337ab7;
	color: #fff;
	}
header nav > ul > li:hover ul li {
	overflow: visible;
	height: 35px;
	border-top: 1px solid #777;
	border-bottom: 1px solid #222;
	}
header nav > ul > li:hover ul li:first-child {
	border-top: 0;
	}
header nav > ul > li:hover ul li:last-child {
	border-bottom: 0;
	}

/****************************
 ログイン画面
****************************/
#login {
	margin: 0 auto;
	width: 400px;
	}

/****************************
 メイン画面
****************************/
#update-info .date {
	padding-right: 10px;
	}

/****************************
 顧客登録
****************************/
#addr-table {
	margin-top: 10px;
	margin-bottom: 10px;
	}

/****************************
 商品登録
****************************/
#item-table {
	margin-top: 10px;
	margin-bottom: 10px;
	}

/****************************
 受注一覧
****************************/
#contents #order-list .print {
	background-color: #3366cc;
	color: #fff;
	}

/****************************
 請求登録
****************************/
#bill-list-dialog {
	display: none;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	width: 430px;
	height: 220px;
	margin: auto;
	z-index: 9001;
}

/****************************
 広告管理 経費登録
****************************/
.ad #s-date {
	margin-bottom: 15px;
	}

.ad .ui-datepicker {
	width: 100%;
	}

.ad #date-range {
	text-align: center;
	}

.ad #ad-list-wrapper {
	overflow-x: none;
	overflow-y: scroll;
	margin-top: 15px;
	}

.ad #ad-list tbody .google {
	background-color: #e0e0ff;
	}
.ad #ad-list tbody .yahoo {
	background-color: #e5ffcc;
	}

.ad #ad-list tbody .impression,
.ad #ad-list tbody .click,
.ad #ad-list tbody .cost,
.ad #ad-list tbody .cpc {
	text-align: right;
	}

/****************************
 404 Page Not Found
****************************/
#error-404 img {
	float: left;
	margin: 30px;
	}
