@charset "utf-8";

/* ----- Reset CSS ----- */
html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, a, blockquote,
pre, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, small,
strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li, fieldset, form, label,
input, select, textarea, button, legend, table, caption, tbody, tfoot, thead,
tr, th, td, article, aside, canvas, details, figcaption, figure, footer,
header, hgroup, menu, nav, section, summary, time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-size: 100%;
	font-weight: normal;
	vertical-align: baseline;
	background: transparent;
	box-sizing: border-box;
}
body {
	line-height: 1;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
}
ul, ol {
	list-style: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
input, button, textarea, select {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}
label, button {
	cursor: pointer;
	user-select: none;
}

/* ----- Common CSS ----- */
body {
	font-size: 16px;
	background: #eee;
}

a {
	color: #0073aa;
}
a:hover {
	color: #dc143c;
}
strong {
	font-weight: bold;
}
.smaller {
	font-size: 0.8em;
}
.attention {
	color: #dc143c;
}

input[type="text"],
input[type="date"],
textarea,
select {
	width: 25em;
	padding: 5px 10px;
	border: 1px solid #ccc;
	display: block;
	line-height: 1;
	background: #fff;
	transition: border-color .2s;
}
textarea {
	height: 5em;
}
input[type="text"]:focus,
input[type="date"]:focus,
textarea:focus,
select:focus {
	border-color: #0073aa;
}

input[type="radio"] + i {
	width: 18px;
	height: 18px;
	margin-right: 5px;
	border: 2px solid #337ab7;
	border-radius: 100%;
	display: inline-block;
	position: relative;
	vertical-align: middle;
}
input[type="radio"]:checked + i::before {
	content: '';
	width: 12px;
	height: 12px;
	border-radius: 100%;
	display: inline-block;
	position: absolute;
	top: 1px;
	left: 1px;
	background: #337ab7;
}
::placeholder {
	color: #ccc;
}

/* Container */
#wrappar {
	position: relative;
}

#container {
	margin-left: 160px;
}

#contents {
	padding: 20px;
}

#contents a {
	transition: all .2s;
}

#contents h1 {
	margin: 0 1em 0 0;
	font-size: 1.5em;
	display: inline-block;
}

.error-message {
	margin-bottom: 1em;
	padding: 10px;
	border-left: 5px solid #dc143c;
	display: none;
	color: #dc143c;
	font-size: 14px;
	background: #fff;
}
.success-message {
	margin-bottom: 1em;
	padding: 10px;
	border-left: 5px solid #3cb371;
	display: none;
	color: #3cb371;
	font-size: 14px;
	background: #fff;
}

/* Sidebar */
#sidebar {
	width: 160px;
	height: 100vh;
	position: fixed;
	top: 0;
	left: 0;
	background: #222;
}
.sidebar-parent a {
	padding: 10px;
	display: block;
	color: #fff;
	text-decoration: none;
	background: #222;
}
.sidebar-parent a:hover {
	background: #1e90ff;
}
.sidebar-parent a.active {
	background: #1e90ff;
}
.sidebar-child a {
	padding: 10px 10px 10px 20px;
	font-size: 14px;
	background: #333;
}
.sidebar-child a:hover {
	background: #555;
}
.sidebar-child a.active {
	color: #1e90ff;
	font-weight: bold;
	background: #333;
}

/* ----- Common Parts ----- */

/* Button */
.btn {
	margin: 0 auto;
	padding: 7px 10px;
	border-radius: 3px;
	display: inline-block;
	font-size: 14px;
	background: #eee;
	text-align: center;
	text-decoration: none;
}
.btn-100 {
	width: 100%;
}
.btn-white {
	border: 1px solid #ccc;
	background: #fff;
}
.btn-blue {
	color: #fff;
	background: #337ab7;
}
.btns {
	margin-bottom: 1em;
}

/* List Table */
.list-table {
	width: 100%;
	margin-bottom: 1em;
	table-layout: fixed;
	font-size: 14px;
}
.list-table tr:nth-of-type(even) {
	background: #fff;
}
.list-table td,
.list-table th {
	padding: 10px;
	border: 1px solid #ddd;
	word-wrap: break-word;
}
.list-table th {
	font-weight: bold;
	text-align: center;
	vertical-align: middle;
	background: #fff;
}
.list-count {
	display: inline-block;
}
.list-display {
	width: auto;
	margin-right: 10px;
	padding: 2px 5px;
	display: inline-block;
	font-size: 14px;
}

/* Edit Table */
.edit-table {
	width: 100%;
}
.edit-table tr {
	margin-bottom: 1em;
}
.edit-table td,
.edit-table th {
	padding: 10px 0 30px;
}
.edit-table th {
	width: 200px;
	font-weight: bold;
	text-align: left;
	vertical-align: top;
}
.edit-table label {
	margin-right: 10px;
	display: inline-block;
}
.edit-table p {
	margin: 5px 0;
	color: #999;
	font-size: 14px;
}

/* Add Row */
.add-row td {
	padding: 0;
}
.add-row a {
	padding: 10px;
	display: block;
	font-weight: bold;
	text-align: center;
	text-decoration: none;
	background: #fff;
}
.add-row a:hover {
	color: #fff;
	background: #0073aa;
}

/* Pagination */
.pagination {
	margin-bottom: 1em;
}
.pagination ul {
	font-size: 0;
}
.pagination li {
	display: inline-block;
	font-size: 12px;
}
.pagination li.active {
	width: 32px;
	padding: 10px;
	text-align: center;
	color: #fff;
	font-weight: bold;
	text-shadow: 1px 1px 1px #333;
	background: #1e90ff;
	box-shadow: 1px 1px 1px #ccc;
}
.pagination li.nonactive{
	width: 32px;
	padding: 10px;
	color: #333;
	text-align: center;
}
.pagination a {
	width: 32px;
	padding: 10px;
	display: block;
	color: #333;
	text-align: center;
	text-decoration: none;
	background: #fff;
	box-shadow: 1px 1px 1px #ccc;
}
.pagination a:hover {
	transform: translateY(-5px);
}
.first a,
.last a,
.prev a,
.next a {
	background: #fafafa;
}

/* ---------- Dashboard ---------- */
.dashboard-row {
	display: flex;
}
.dashboard-row .dashboard-box {
	flex: 1;
}
.dashboard-row .dashboard-box:first-of-type {
	margin-right: 1em;
}
.dashboard-box {
	margin-bottom: 1em;
	background: #fff;
}
.dashboard-box h2 {
	padding: 10px;
	border-bottom: 1px solid #ddd;
	font-weight: bold;
}
.box-inner {
	padding: 10px;
}
.news-list li {
	margin-bottom: 10px;
}
.main-menu a {
	margin-bottom: 10px;
	padding: 10px;
	border: 1px solid #ddd;
	border-left: 5px solid #1e90ff;
	display: block;
	text-decoration: none;
}
.main-menu h3 {
	margin: 0 0 10px;
	color: #1e90ff;
	font-weight: bold;
}
.main-menu p {
	color: #333;
	font-size: 14px;
}

/* ---------- Customer ---------- */
.page-title {
	margin-bottom: 1em;
}
.page-title h1 {
	margin-right: 1em;
	display: inline-block;
	font-size: 1.5em;
	vertical-align: middle;
}
.data-info {
	margin-bottom: 1em;
	overflow: hidden;
}
.status-list {
	float: right;
}
.status-list li {
	display: inline-block;
	font-size: 14px;
}
.status-list li:not(:last-of-type) {
	margin-right: 1em;
}
.status-list li::before {
	width: 1em;
	height: 1em;
	margin-right: 5px;
	border: 1px solid #ccc;
	content: '';
	display: inline-block;
	vertical-align: middle;
}
.status-list li.unknown::before {
	background: #fffacd;
}
.status-list li.common::before {
	background: #fff;
}
.status-list li.special::before {
	background: #d7ffd7;
}
.status-list li.caution::before {
	background: #ffc0cb;
}
.status-list li.danger::before {
	color: #fff;
	background: #dc143c;
}
.status-list li.dormant::before {
	background: #a2d1ff;
}
.status-list li.quitted::before {
	background: #777;
}

.list-table tr.unknown {
	background: #fffacd;
}
.list-table tr.common {
	background: #fff;
}
.list-table tr.special {
	background: #d7ffd7;
}
.list-table tr.caution {
	background: #ffc0cb;
}
.list-table tr.danger {
	color: #fff;
	background: #dc143c;
}
.list-table tr.dormant {
	background: #a2d1ff;
}
.list-table tr.quitted {
	background: #777;
}

.list-table .edit {
	width: 70px;
}
.list-table .claim {
	width: 50px;
}
.list-table .id {
	width: 70px;
}
.list-table .name {
	width: 110px;
}
.list-table .phonetic {
	width: 150px;
}
.list-table .gender {
	width: 50px;
}
.list-table .age {
	width: 50px;
}
.list-table .birthday {
	width: 110px;
}
.list-table .zipcode {
	width: 100px;
}
.list-table .address {
	width: 300px;
}
.list-table .phone {
	width: 130px;
}
.list-table .mail {
	width: 200px;
}
.list-table .join {
	width: 110px;
}
.list-table .quit {
	width: 110px;
}
.list-table .gym {
	width: 100px;
}
.list-table .status {
	width: 100px;
}
.list-table .memo {
	width: 200px;
}

/* Customer New */
.pref {
	margin-bottom: 10px;
	position: relative;
}
.pref::after {
	content: '▼';
	position: absolute;
	top: 50%;
	right: 10px;
	transform: translateY(-50%);
	pointer-events: none;
}
.pref select {
	width: 6.5em;
}

/* Customer Search */
.search-box {
	overflow: hidden;
}
.search-box dl {
	width: 30em;
	float: left;
}
.search-box dt {
	margin-bottom: 10px;
}
.search-box dt label {
	font-size: 14px;
	font-weight: bold;
}
.search-box dd {
	height: 30px;
	margin-bottom: 20px;
}

/* Login Form */
#login {
	width: 100%;
	max-width: 320px;
	margin: 100px auto 0;
	padding: 20px;
	background: #fff;
}
#login label {
	margin-bottom: 10px;
	display: block;
	color: #777;
}
#login input {
	width: 100%;
	margin-bottom: 30px;
	padding: 5px 10px;
	border: 1px solid #ccc;
	border-radius: 3px;
}
#login input:focus {
	border: 1px solid #0073aa;
}
#login-error {
	margin-bottom: 30px;
	color: #dc143c;
	font-size: 14px;
}