@charset "uft-8";
html,body {
	margin :0;
	font-size: 15px;
	font-family: "M PLUS 1c", sans-serif;
	background: mediumorchid;
	color: #404040;
	background: #f8f8f8;
}

/* ヘッダ */
header {
	z-index: 1;
	position: fixed;
	top: 0;
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: space-between;
	width :100%;
	height: 50px;
	margin: 0;
	padding: 0 15px;
	color: #aa93e6;
	font-size: 1em;
	background-color: #f9f4ff;
	border-bottom: 1px solid #aa93e6;
}

header .title_name {
	text-align: center;
	font-size: 2.0em;
	font-weight: bold;
	color: #aa93e6;
}

header .link_area {
	display: flex;
	align-items: center;
	position: relative;
}

header .link_area a {
	display: block;
	padding: 0 15px;
}

header .link_area p a {
	color: #aa93e6;
}

.menu_item {
	position: relative;
	display: inline-block;
	margin-right: 10px;
}

.menu_item div {
	position: absolute;
	top: 2.5em;
	left: 0;
	margin: 0;
	width: 5em;
	padding: 5px 15px;
	background-color: #aa93e6;
	color: #fff;
	border-radius: 3px;
}

/* コンテナ */
#container {
	box-sizing: border-box;
	display: flex;
	width: 100%;
	padding-top: 50px;
	min-height: 100vh;
}


/* これよりサイドバー */
#side_area {
	min-width: 180px;
	padding: 30px 0;
	background-color: #aa93e6;
}

#side_area a {
	display: block;
	padding: 15px 20px;
	font-weight: bold;
	color: #fff;
}

#side_area a img {
	margin-right: 10px; 
}

#side_area img {
	vertical-align: -0.2em;
}

#side_area .menu_name {
	box-sizing: border-box;
	display: flex;
	justify-content: space-between;
	width: 100%;
	padding: 15px 20px;
	font-weight: bold;
	color: #fff;
	cursor: pointer; 
}

#side_area .menu_second a {
	padding: 10px 20px;
	background-color: thistle;
	color: #fff;	
}

#side_area .menu_second a:hover {
	background-color: #fff;
	color: #aa93e6;	
}


/* これよりコンテンツエリア */
#contents_area {
	width: 100%;
}

#title_area {
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	height: 50px;
	padding: 0 20px;
	background-color: #fff;
	border-bottom: 1px solid #aa93e6;
}

#title_area .name_area {
	display: flex;
	align-items: center;
	font-weight: bold;
	font-size: 1.4em;
}

#title_area a.btn_radius {
	padding: 5px 25px;
	border: 1px solid #ba55d3;
	border-radius: 30px;
	color: #ba55d3;
}

#title_area a.btn_radius:hover {
	border: 0;
	background-color: #aa93e6;
	color: #fff;
}

#tab_area {
	box-sizing: border-box;
	display: flex;
	align-items: center;
	width: 100%;
}

#tab_area a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100px;
	height: 35px;
	border-top: 1px solid #aa93e6;
	border-right: 1px solid #aa93e6;
	border-bottom: 1px solid #aa93e6;
	background-color: #fff;
	color: #404040;
}

#tab_area a.selected {
	z-index: 1;
	border-top: 5px solid #aa93e6;
	border-bottom: 1px solid #f8f8f8;
	background-color: #f8f8f8;
	
}

#tab_area .first {
	display: block;
	width: 10px;
	height: 36px;
	border-right: 1px solid #aa93e6;
	border-bottom: 1px solid #aa93e6;
}

#tab_area .end {
	display: block;
	min-width: 300px;
	height: 36px;
	border-bottom: 1px solid #aa93e6;
}

.search_box {
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	margin-bottom: 15px;
	padding: 20px;
	background-color: #fff;
	border: 1px solid #aa93e6;
	border-radius: 3px;
}

.search_box .search_area {
	box-sizing: border-box;
	width: 80%;
}

.search_box .search_area table {
	width: 100%;
	margin: 0;
	border-collapse: collapse;
}

.search_box .search_area table tr {
	height: 45px;
}

.search_box .search_area table tr th {
	min-width: 120px;
	padding-right: 10px;
	text-align: right;
}

.search_box .search_area table tr td {
	padding-right: 15px;
}

.search_box .submit_area {
	width: 20%;
	text-align: center;
}

.search_box .submit_area .btn_reset {
	border: 0;
	background-color: #fff;
	color: #4169e1;
}

.edit_box {
	box-sizing: border-box;
	width: 100%;
	margin-bottom: 15px;
	background-color: #fff;
	border: 1px solid #aa93e6;
	border-radius: 3px;
}

.edit_box .name_area {
	background-color: #f9f4ff;
	padding: 10px 20px;
	
}

.edit_box .edit_area {
	padding: 20px;
}

.edit_area table {
	width: 100%;
	margin: 0;
	border-collapse: collapse;
	font-size: 15px;
}

.edit_area table tr {
	height: 45px;
}

.edit_area table tr th {
	padding: 5px 7px;
	text-align: right;
	border: 1px solid #c0c0c0;
	background-color: #f5f5f5;
	font-weight: normal;
}
.edit_area table tr td {	
	padding: 5px 7px;
	border: 1px solid #c0c0c0;
	background-color: #fff;
}

.edit_area table.border_zero tr th {
	border: 0;
	padding: 2px 5px;
}

.edit_area table.border_zero tr td {	
	border: 0;
	padding: 2px 5px;
}

.edit_area table.list {
	width: 100%;
	margin: 0;
	border-collapse: collapse;
	font-size: 15px;
}

.edit_area table.list tr {
	height: 35px;
}

.edit_area table.list tr th {
	padding: 3px 7px;
	text-align: center;
	border: 1px solid #c0c0c0;
	background-color: #f5f5f5;
	font-weight: normal;
}
.edit_area table.list tr td {	
	padding: 3px 7px;
	border: 1px solid #c0c0c0;
	background-color: #fff;
}

.edit_box .photo_area {
	display: flex;
	align-items: center;
}

.edit_box .photo_area .photo_logo {
	box-sizing: border-box;
	display: flex;
	align-items: center;
	width: 150px;
	height: 150px;
	margin-left: 10px;
}

.edit_box .photo_area .photo_null {
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	width: 150px;
	height: 120px;
	text-align: center;
	margin-left: 10px;
	border: 5px dotted #a9a9a9;
	
}

.count_area {
	box-sizing: border-box;
	display: flex;
	width: 100%;
	margin: 5px 0;
	align-items: center;
	justify-content: space-between;	
}

.list_table table {
	box-sizing: border-box;
	width: 100%;
	margin: 0;
	border-collapse: collapse;
	font-size: 15px;
}

.list_table table tr th {
	padding: 5px 7px;
	border: 1px solid #c0c0c0;
	background-color: #f9f4ff;
	font-weight: normal;
}

.list_table table tr td {
	padding: 5px 7px;
	border: 1px solid #c0c0c0;
	background-color: #fff;
	
}

.page_view {
	display: flex;
	justify-content: center;
	width: 100%;	
}

.page_view span {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 1.5em;
	height: 1.5em;
	margin: 0 2px;
	padding: 0.3em 0.5em;
	border: 1px solid #aa93e6;
	font-size: 0.9em;
	color: #aa93e6;
	background-color: #fff;
	border-radius: 20px;
}

.page_view span.selected {
	color: #fff;
	background-color: #aa93e6;
}

.radio_sw {
  display: none;
}

label.page_btn {
  background-color: #fff;
  padding: 5px 10px;
  border-radius: 50%;
  border: 1px solid #dda0dd;
  color: #dda0dd;
  cursor: pointer;
}

.radio_sw:checked + label.page_btn {
  color: #fff;
  background-color: #dda0dd;
}

table.table_list {
	border-collapse: collapse;
	border: 1px solid #c0c0c0;
}

table.table_list tr:hover {
	background-color: #fff4f4;
}
	
table.table_list tr th {
	position: relative;
	white-space: nowrap;
	font-weight: normal;
	text-align: center;	
	padding: 0 5px;
	border: 1px solid #c0c0c0;
	background: #f5f5dc;
}
	
table.table_list tr td {
	position: relative;
	padding: 3px 5px;
	border: 1px solid #c0c0c0;
	background: #fff;
}

table.table_list tr td.file_name {
	min-width: 200px;
	padding: 5px;
	background: #fff;
}

h2 {
	margin: 5px 0;
	padding: 5px 15px;
	background-color: #fff;
	font-size: 20px;
	color: #404040;
}

.suggestions {
	border: 0px solid #ccc;
	max-height: 150px;
	overflow-y: auto;
	position: absolute;
	background-color: white;
	width: 200px;
	z-index: 1000;
}

.suggestion-item {
	padding: 10px;
	cursor: pointer;
}

.suggestion-item:hover {
	background-color: #f0f0f0;
}

.dialog_select {
	display: none;
	position: absolute;
	top: 300px;
	right: 0;
	left: 0;
	margin: auto;
	width: 600px;
	height: 600px;
	background-color: #fff; 
	border-radius: 3px;
}

.dialog_select .dialog_title {
	display: flex;
	height: 50px;
	padding: 0 20px;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	background-color: #4169e1;
	color: #fff;
	border-radius: 3px 3px 0 0;
	font-size: 18px;
}

.dialog_select .dialog_title img#dialog_close {
	cursor: pointer;
}

.dialog_form {
	font-size: 15px;
	margin: 5px 0;
	padding: 8px;
	border:1px solid #a9a9a9; 
}

.window_photo {
	box-sizing: border-box;
	z-index: 3;
	position: fixed;
	top: 0;
	text-align: center;
	width: 100%;
	min-height: 100%;
	padding: 30px;
	background-color: #000;
}

#product_result {
	width: 100%;
	max-height: 320px;
	overflow-y: auto;
	border:1px solid #a9a9a9;
}

#product_result table {
	width: 100%;
	border-collapse: collapse;
	font-size: 15px;
}

#product_result table tr th {
	border: 1px solid #c0c0c0;
	background-color: #f5f5dc;
	padding: 5px;
	font-weight: normal;
}

#product_result table tr td {
	padding: 5px;
	border: 1px solid #c0c0c0;
	cursor: pointer;
}

.input_dialog {
	position: absolute;
	top: 100px;
	right: 0;
	left: 0;
	margin: auto;
	width: 600px;
	background-color: #fff;
}

.input_dialog .dialog_title {
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	height: 40px;
	padding: 0 15px;
	background-color: #6495ed;
	color: #fff;
}

.input_dialog table {
	width: 100%;
	font-size: 0.9em;
	border-collapse: collapse;
	padding-bottom: 5px;	
	border-bottom: 1px solid #d3d3d3;
}

.input_dialog table tr th {
	border: 1px solid #c0c0c0;
	background-color: #f5f5dc;
	padding: 5px;
	font-weight: normal;
}

.input_dialog table tr td {
	padding: 5px;
	border: 1px solid #c0c0c0;
	cursor: pointer;
}

.box_error {
	box-sizing: border-box;
	width: 100%;
	padding: 15px 20px;
	background-color: #ffe5e5;
	color: #db7093;
	border-radius: 3px;
}

.box_success {
	box-sizing: border-box;
	width: 100%;
	padding: 15px 20px;
	background-color: #e5ffe5;
	color: #2e8b57;
	border-radius: 3px;
}

.box_normal {
	box-sizing: border-box;
	width: 100%;
	padding: 15px 20px;
	background-color: #fff;
	border: 1px solid #c0c0c0;
	border-radius: 3px;
}

@media screen and (max-width: 1024px) {
	
	#side_area {
		display: none;
	}
	
}