@charset "UTF-8";
@import url("reset.css");
@import url("ie.css");

/*------------------------------------------------------------*/
/*目次　INDEX
	=0 global
	=1 heading
	=2 basic structure
	=3 navigation
	=4 login
	=5 detail
	=6 list
	=7 popup
	=8 find
	=9 commonClass
	=10 clearfix

search key "="+"n"

//last update 2011/11/30

--------------------------------------------------------------
base color
-------------------------------------------------------------

-------------------------------------------------------------*/

/*=0 admin
-------------------------------------------------------------*/
body {
	font-size: 80%;
	font-family: 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', 'メイリオ', Meiryo, 'ＭＳ Ｐゴシック', sans-serif;
	line-height: 1.5;
	background: url(../img/admin/body-back.png) repeat-x top;
}

h1,
h2,
h3,
h4,
p {
	margin-bottom: 15px;
}

table {
	xborder-top: 1px solid #052a44;
	width: 100%;
	margin-bottom: 20px;
}

table,
th,
td {
	border-collapse: collapse;
	border: 1px solid #CCC;
}

td table {
	margin: 0px;
}

tr {
	xborder-bottom: 1px solid #052a44;
}

th,
td {
	padding: 7px;
	vertical-align: top;
}

th {
	background: url(../img/admin/arr03.png) no-repeat 10px 10px #EEE;
	padding-left: 18px;
}

td table,
td th,
td td,
td tr {
	width: auto;
}

td th {
	padding-left: 18px;
	background: url(../img/admin/arr02.png) no-repeat 10px 12px #052a44;
	color: #FFF;
}

tr.even {
	background: #EEE;
}

td input,
td textarea {
	/* font-size: 14px; */
	padding: 3px;
}

td textarea {
	height: 10em;
}

th img {
	margin-left: 10px;
}

input,
textarea {
	/* font-size: 1em; */
	font-size: 14px;
	padding: 3px;
}

/*=1 heading
-------------------------------------------------------------*/
h1 {
	background: url(../img/admin/h1-back.png) no-repeat left center;
	line-height: 44px;
	padding-left: 22px;
	font-size: 120%;
	font-weight: bold;
	margin-bottom: 20px;
}

h1 span {
	background: url(../img/admin/h1-backR.png) no-repeat right center;
	display: block;
}

h2 {
	border-bottom: 3px solid #EEE;
	line-height: 2;
	font-weight: bold;
	padding-left: 3px;
	clear: both;
	font-size: 110%;
	color: #052a44;
}

h3 {
	font-weight: bold;
}

/*=2 basic structure
-------------------------------------------------------------*/
#wrapper {
	width: 100%;
	text-align: left;
	margin: 0 auto;
}

#header {
	padding: 6px 30px 0px 30px;
}

.btn-logout {
	float: right;
	margin-top: -45px;
}

#container {
	margin: 30px;
	clear: both;
}

#primary {
	margin-bottom: 20px;
}

#secondary {
	float: right;
	width: 220px;
	background: #DDD;
}

#footer {
	background: #052a44;
	clear: both;
	padding: 15px 30px;
	color: #FFF;
}

#footer p {
	margin: 0px;
}

#footer a {
	color: #FFF;
}

#footer a:hover {
	text-decoration: none;
}

.copy {
	margin: 15px 30px;
	text-align: right;
}

.caution {
	color: red;
}

.flleft {
	float: left;
}

.flright {
	float: right
}

/*=3 navigation
-------------------------------------------------------------*/
#globalNav {
	margin-top: 19px;
}

#globalNav li {
	float: left;
	text-align: center;
	font-weight: bold;
	margin-right: 10px;
}

#globalNav li a {
	color: #000;
	display: block;
	background: url(../img/admin/tab.png) no-repeat center;
	width: 171px;
	height: 31px;
	line-height: 31px;
}

#globalNav li a:hover {
	background: url(../img/admin/tab_o.png) no-repeat center;
}

#globalNav li.this a {
	background: url(../img/admin/tab_o.png) no-repeat center;
}

.btn-back,
btn-submit {
	float: left;
	margin-right: 5px;
}

.btn-back a,
.btn-submit input {
	display: block;
	border: 0px;
	background: none;
	width: 235px;
	height: 58px;
	line-height: 58px;
	font-size: 1em;
	font-weight: bold;
	text-align: center;
	margin-bottom: 15px;
	cursor: pointer;
}

.btn-back a {
	background: url(../img/admin/btn-back0.png) no-repeat center;
	color: #000;
}

.btn-back a:hover {
	background: url(../img/admin/btn-back0_o.png) no-repeat center;
}

.btn-submit input {
	background: url(../img/admin/btn-back1.png) no-repeat center;
}

.btn-submit input:hover {
	background: url(../img/admin/btn-back1_o.png) no-repeat center;
}

/*=4 login
-------------------------------------------------------------*/
#panelBox {
	margin: 30px auto 50px auto;
	padding: 0px 20px;
	border: 5px solid #EEE;
	width: 334px;
}

#panelBox ul {
	margin: 0px;
}

#login #panelBox .btn-submit {
	float: none;
	text-align: center;
	padding-left: 50px;
}

#login #panelBox table,
#login #panelBox th,
#login #panelBox td {
	border: 0px;
}

#login #panelBox .text {
	width: 200px;
}

/*=5 stockadd
-------------------------------------------------------------*/
#stockadd td img {
	margin-right: 10px;
}

#stockadd #grades {
	border: 1px solid #ccc;
	padding: 10px;
}

#stockadd #gradeWrap,
#syousaiWrap {
	position: relative;
	background: #d8eeff;
	border: 1px solid #3eacff;
	width: 30em;
	padding: 25px 10px 5px 10px;
	margin-top: 25px;
}

#syousaiWrap {
	width: 57em;
}

#stockadd #gradeWrap dt,
#syousaiWrap dt {
	float: left;
	width: 12em;
	padding-bottom: 5px;
}

#stockadd #gradeWrap dd,
#syousaiWrap dd {
	margin-left: 12em;
	padding-bottom: 5px;
}

#stockadd #gradeWrap p,
#syousaiWrap p {
	background: #3eacff;
	width: 10em;
	text-align: center;
	font-weight: bold;
	color: #FFF;
	padding: 5px;
	position: absolute;
	left: 10px;
	top: -15px;
}

/*=6 stocklist
-------------------------------------------------------------*/
#stocklist .searchBox {
	width: auto;
}

#stocklist tr.head th,
#news tr.head th {
	background: #052a44;
	text-align: center;
	color: #FFF;
	padding: 3px;
}

#stocklist td {
	vertical-align: middle;
}

/*=7 popup
-------------------------------------------------------------*/
#popup {
	background: url(../img/admin/popup-back.png) repeat-x top;
	width: 960px;
	box-sizing: border-box;
}

#popup #header {
	padding-bottom: 0px;
	margin-bottom: -10px;
}

#popup .photoBox {
	clear: both;
	margin: 15px 0px;
}

#popup .box {
	width: 15%;
	/*	height: 14em;*/
	height: 8.7em;
	float: left;
	margin: 0px 2% 2% 0px;
	/*	padding: 7px;*/
	border: 1px solid #CCC;
	box-sizing: border-box;
}

#popup .box:nth-child(6n) {
	margin-right: 0;
}

#popup .box p {
	margin-bottom: 0;
	/*	margin-bottom: 10px;*/
}

#popup .box p.name {
	background: #EEE;
	padding: 3px;
	font-size: 10px;
}

#popup .box p.name input {
	float: right;
}

#popup .box p.thumb {
	width: 100px;
	margin: 0 auto;
	margin-bottom: 0;
	padding: 7px;
}

#popup .box p.thumb img {
	max-width: 100%;
	height: auto;
}

#popup #drag-drop-area {
	border: 4px dashed #b4b9be;
	height: 150px;
	background-color: #ededed;
	margin-bottom: 30px;
}

#popup #drag-drop-area .drag-drop-inside {
	margin: 30px auto 0;
	width: 250px;
}

#popup #drag-drop-area .drag-drop-inside p {
	text-align: center;
}

#popup .box-l,
#popup .box-r {
	width: 100%;
	/*	float: left;*/
}

#popup .box-r {
	/*	margin-left: 4%;*/
}

#popup .btn-submit,
#popup .btn-delete {
	display: inline-block;
}

#popup .btn-delete {
	float: right;
}

#popup .btn-delete #delete_button {
	border: none;
	border-radius: 3px;
	padding: 5px 10px;
	color: #fff;
	background: #a90329;
	/* Old browsers */
	background: -moz-linear-gradient(top, #a90329 0%, #a90329 50%, #8f0222 50%, #6d0019 100%);
	/* FF3.6-15 */
	background: -webkit-linear-gradient(top, #a90329 0%, #a90329 50%, #8f0222 50%, #6d0019 100%);
	/* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom, #a90329 0%, #a90329 50%, #8f0222 50%, #6d0019 100%);
	/* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#a90329', endColorstr='#6d0019', GradientType=0);
	/* IE6-9 */
}

/*=8 find
-------------------------------------------------------------*/
.narrow {
	background: url(../img/admin/icon-search.png) no-repeat left center;
	padding-left: 20px;
}

#find .box,
#stockstatus .box {
	border: 1px solid #CCC;
	padding: 10px 10px 0px 10px;
	margin-bottom: 15px;
}

#find .box h3,
#stockstatus .box h3 {
	margin-bottom: 10px;
	background: #052a44;
	padding: 5px;
	color: #FFF;
}

#find .box h4,
#stockstatus .box h4 {
	font-weight: bold;
	background: url(../img/admin/arr03.png) no-repeat left center;
	padding-left: 10px;
	margin-bottom: 5px;
}

#find .box input,
#stockstatus .box input {
	margin-bottom: 10px;
}

#find .box table,
#stockstatus .box table {
	margin-bottom: 10px;
}

#find .box th,
#find .box td,
#stockstatus .box th,
#stockstatus .box td {
	font-size: 90%;
	padding: 3px 5px;
}

#find .box th,
#stockstatus .box th {
	white-space: nowrap;
	background: #EEE;
}

/*= stockstatus
-------------------------------------------------------------*/
#stockstatus #comp_diagnosis_area label {
	/* font-size: 20px; */
	font-size: 16px;
}

#stockstatus #comp_diagnosis_area label input {
	/* font-size: 12.8px; */
	font-size: 14px;
}

/*= business
-------------------------------------------------------------*/
#mainvis {
	width: 800px;
}

#mainvis span {
	color: #ff0000;
}

#mainvis p {
	margin-top: 10px;
	padding: 5px 8px;
	background: #ffce00;
	border: 1px solid #eee;
	width: 150px;
}

#mainvis p a {
	color: #000;
	text-decoration: none;
}

#mainvis p a:hover {
	text-decoration: underline;
}

#mainvis p a:active {
	color: #ff0000;
}

#priceboard #pprr span {
	font-size: 70%;
}

#priceboard #pprr {
	white-space: nowrap;
}

#priceboard td {
	word-break: keep-all;
}

/*=9 commonClass
-------------------------------------------------------------*/
.center {
	text-align: center;
}

.popup th,
.status th {
	width: 8em;
	padding-left: 18px;
	background: url(../img/admin/arr02.png) no-repeat 10px 12px #052a44;
	color: #FFF;
}

/*=10 clearfix
-------------------------------------------------------------*/
.clearfix:after,
#container:after,
#header:after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}

.clearfix,
#container,
#header {
	display: inline-table;
	zoom: 1;
	/*for IE 5.5-7*/
}

/*Hide from IE-Mac\*/
*html .clearfix,
*html #container,
*html #header {
	height: 1%;
}

.clearfix,
#container,
#header {
	display: block;
}

/*Hide from IE-Mac*/
.clearfix,
#container,
#header {
	overflow: visible;
}

/*=11 staff
-------------------------------------------------------------*/
#staff .box {
	border: 1px solid #CCC;
	padding: 10px 10px 0px 10px;
	margin-bottom: 15px;
}

#staff .box h3 {
	margin-bottom: 10px;
	background: #052a44;
	padding: 5px;
	color: #FFF;
}

#staff table {
	margin-top: 20px;
	border: none;
}

#staff .truck_image {
	position: relative;
	width: 24%;
	padding-bottom: 15%;
}

#staff .truck_image img {
	position: absolute;
	width: 70%;
	height: auto;
	margin: auto;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
}

#staff th {
	background: #eeeeee;
}

#staff .business_detail {
	height: 100%;
}

/*#staff tbody{
	display: flex;
	flex-wrap: wrap;
}

#staff th{
	background: #eeeeee;
	padding-left: 10px;
}
#staff td{
	padding-left: 10px;
}
#staff .truck_image{
	display: flex;
	flex-direction: column;
	width: 24%;
}
#staff .detail_contents{
	height: 100%;
	display: flex;
	flex-wrap: wrap;
	width: 75%;
	max-width: 1020px;
}
#staff .detail_contents th{
	width: 15%;
	border-bottom:none;
}
#stuff .detail_contents td{
	border-bottom:none;
}
#staff .detail_contents th:nth-child(5),
#staff .detail_contents th:nth-child(7),
#staff .detail_contents th:nth-child(9){
	width: 15%;
}
#staff .detail_contents td:nth-child(2),
#staff .detail_contents td:nth-child(4){
	width: 31.27%;
	border-bottom:none;
}
#staff .detail_contents td:nth-child(6),
#staff .detail_contents td:nth-child(8),
#staff .detail_contents td:nth-child(10){
	width: 14.6%;
	border-bottom:none;
}
#staff .detail_contents .detail_content_long{
	width: 100%;
}
#staff .detail_contents .detail_content_long{
	width: 100%;
}
#staff .truck_image img {
	display: block;
	margin: 0 auto;
	width: 100%;
	height: auto;
	max-width: 312px;
	max-height: 234px;
}
#staff .truck_contents{
	width: 100%;
	flex-direction: row;
	flex-wrap: wrap;
}*/
/*IE7 hack*/