* {
	font-style: normal;
	text-decoration: none;
	margin: 0;
	padding: 0;
	list-style: none;
	outline: none;
	-webkit-text-size-adjust: 100%;
}
html {
	font-size: 16px;
}
body {
	font-family: 'Hiragino Sans', 'Hiragino Kaku Gothic Pro', 'ヒラギノ角ゴ Pro W3', '游ゴシック Medium', 'Yu Gothic Medium', 'メイリオ', Meiryo, sans-serif;
	font-size: .9em;
	line-height: 1.5;
	background-color: #ccc;
}
p {
	margin-bottom: 1em;
}
section p:last-child,
div p:last-child {
	margin: 0;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
	width: 100%;
}
th,
label {
	color: #555;
	font-size: .8em;
	font-weight: bold;
	text-align: left;
}
input:not([type="radio"]):not([type="checkbox"]),
select {
	font-size: 1em;
	line-height: 1.5;
	-webkit-text-size-adjust: 100%;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}
textarea {
	font-size: 1em;
	line-height: 1.5;
	-webkit-text-size-adjust: 100%;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}
:not(input):not(textarea) {
	user-select: none;
	-moz-user-select: none;
	-webkit-user-select: none;
	-ms-user-select: none;
}
::-webkit-input-placeholder {
	color: #aaa;
}
::-moz-placeholder {
	color: #aaa;
}
:-moz-placeholder {
	color: #aaa;
}
:-ms-input-placeholder {
	color: #aaa;
}
span.button {
	color: #555;
	line-height: 26px;
	margin-right: 10px;
	padding: 0 13px;
	border: 2px solid rgba(0, 0, 0, .6);
	display: inline-block;
	border-radius: 15px;
	cursor: pointer;
}
span.button:hover {
	border-color: rgba(0, 0, 0, .9);
}

/* header */
header {
	background-color: #050;
	width: 100%;
	height: 80px;
	position: fixed;
	top: 0;
	z-index: 3;
}
h1 {
	color: #fff;
	font-size: 1.2em;
	line-height: 50px;
	position: absolute;
	left: 20px;
	top: 30px;
}
header p {
	color: #fff;
	line-height: 30px;
	text-align: right;
	margin: 0;
	padding: 0 20px;
	box-sizing: border-box;
	border-bottom: 1px solid rgba(255, 255, 255, .3);
	height: 30px;
}
a#logout {
	color: rgba(255, 255, 255, .6);
}
a#logout:hover {
	color: rgba(255, 255, 255, .9);
}
nav {
	width: 100%;
}
nav ul {
	float: right;
}
nav li {
	border-left: 1px solid rgba(255, 255, 255, .3);
	width: 8em;
	float: left;
}
nav a {
	color: #fff;
	line-height: 50px;
	text-align: center;
	display: block;
	width: 100%;
	height: 50px;
	position: relative;
}
nav a:hover {
	background-color: #060;
}
#biz nav a[href^="/biz/"]:after,
#category nav a[href^="/category/"]:after,
#account nav a[href^="/account/"]:after {
	content: '';
	margin-left: -7px;
	border: 7px solid transparent;
	border-top-color: #050;
	width: 0;
	height: 0;
	position: absolute;
	left: 50%;
	bottom: -14px;
}
nav a:hover:after {
	border-top-color: #060 !important;
}

/* article */
article {
	padding-top: 130px;
}
div.toolbar {
	background-color: rgba(0, 119, 0, .85);
	padding: 10px 20px;
	box-sizing: border-box;
	width: 100%;
	height: 50px;
	position: fixed;
	top: 80px;
	z-index: 2;
}
.toolbar span.button {
	color: #fff;
	border-color: rgba(255, 255, 255, .7);
}
.toolbar span.button:hover {
	border-color: rgba(255, 255, 255, .9);
}
section {
	margin: 0 auto;
	padding: 20px;
	box-sizing: border-box;
	max-width: 1024px;
	overflow: hidden;
}
p#num {
	margin: 0;
	padding: 0 10px;
}
#list table {
	border-top: 1px solid #999;
	border-left: 1px solid #999;
}
#list tr {
	background-color: #fff;
	border-bottom: 1px solid #999;
	cursor: pointer;
}
#list tr.selected {
	background-color: #cfc;
}
#list td {
	padding: 0 10px;
	height: 60px;
}
#list td[colspan="2"],
#list td[colspan="3"]{
	border-right: 1px solid #999;
}
td.delete {
	text-align: center;
	background-color: #f00;
	width: 1em;
}
td.delete:hover {
	background-color: #f55;
}
td.delete i {
	color: #fff;
}
#card {
	display: none;
}
section input:not([type="radio"]):not([type="checkbox"]):not([type="button"]),
select,
textarea {
	padding: 10px;
	background-color: #fff;
	border: 1px solid #999;
	border-radius: 5px;
	box-sizing: border-box;
	width: 100%;
}
input[type="text"][readonly] {
	background-color: #ddd !important;
}
select::-ms-expand {
	display: none;
}
span.select {
	background-color: #fff;
	display: inline-block;
	border-radius: 5px;
	width: 100%;
	position: relative;
	
}
span.select select {
	padding-right: 30px;
	position: relative;
	background-color: transparent;
	z-index: 1;
	cursor: pointer;
}
span.select:after {
	content: '';
	margin-top: -4px;
	border: 8px solid transparent;
	border-top-color: #aaa;
	position: absolute;
	right: 10px;
	top: 50%;
	z-index: 0;
}

@media screen and (max-width: 610px) {
	.button span {
		display: none;
	}
}

@media screen and (max-width: 580px) {
	header p {
		padding: 0 10px;
	}
	h1 {
		color: #fff;
		font-size: 1em;
		line-height: 30px;
		position: absolute;
		left: 10px;
		top: 0;
	}
	nav ul {
		width: 100%;
	}
	nav li {
		box-sizing: border-box;
		width: 33%;
	}
	nav ul li:first-child {
		border: none;
		width: 34%;
	}
	body[data-account_type="user"] nav li,
	body[data-account_type="user"] nav ul li:first-child{
		width: 50%;
	}
	#list section {
		padding: 0;
	}
	#list table {
		border-left: none;
	}
	#list td[colspan="2"] {
		border-right: none;
	}
	div.toolbar {
		padding: 10px;
	}
	#card section {
		padding: 20px 0;
	}
	#card p label {
		margin-left: 10px;
	}
	span.select {
		border-radius: 0;
	}
	section input:not([type="radio"]):not([type="checkbox"]):not([type="button"]),
	textarea,
	span.select select {
		border-left: none;
		border-right: none;
		border-radius: 0;
	}
}