@charset "utf8";

html {
	font-family: sans-serif;
	font-size: 16px;
	line-height: 1.75;
	overflow: auto;
}

header {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	padding: 32px 16px;
	border-bottom: 1px solid #666;
}
header form {
	display: none;
}
#h1 {
	margin: 0;
	font-weight: bold;
	font-size: 40px;
}
header p {
	margin: 0;
}
header button {
	border-style: none;
	color: #333;
	background-color: #fff;
	cursor: pointer;
}
#user-name {
	font-size: 32px;
	margin-right: 16px;
}
.link-text {
	text-decoration: underline;
	color: #00f;
}

body {
	width: 100%;
	text-align: left;
	color: #333;
	background-color: #fff;
	margin: 0 auto;
	overflow-x: hidden;
}
main {
	display: flex;
	justify-content: center;
}

#side_column {
	display: flex;
	flex-wrap: wrap;
	width: 10%;
	padding: 32px 64px;
	border-right: 1px dotted #666;
	box-sizing: border-box;
}
#main_contents {
	width: 90%;
	padding: 32px 64px;
	margin: 0;
	/*
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	*/
}

.pc_genre {
	margin: 0;
}
.product_id {
	margin: 0;
	font-size: 32px;
}

#main_container {
	width: 100%;
	display: flex;
}

form {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: end;
	margin: 64px auto;
	height: max-content;
}

*[class^="input_area_"] {
	display: flex;
	justify-content: center;
	align-items: center;
	margin: 16px 0 0;
}
.input_area_l {
	width: 100%;
}
.input_area_m {
	width: 47%;
	display: flex;
	justify-content: end;
}
.input_area_s {
	width: 32%;
	display: flex;
	justify-content: end;
}

*[class^="input_area_"] label {
	text-align: right;
}
.input_area_l label {
	width: 30%;
}
.input_area_l input, .input_area_l select, .input_area_l textarea {
	width: 70%;
	padding: 4px 8px;
}
.input_area_l span {
	display: block;
	width: 70%;
}
*[class^="input_area_"] button {
	padding: 8px 16px;
	margin: 0 32px;
}

#preview_area {
	display: block;
	padding: 32px;
	box-sizing: border-box;
	width: max-content;
	margin-left: 32px;
	border: 3px solid #8aa;
}
#preview_area p {
	margin-bottom: 0;
}
#preview_area textarea {
	width: 100%;
}
#preview_area .memoview {
	display: block;
	padding: 8px 16px;
	border: 1px solid #aaa;
	background-color: #eee;
}

#error {
	display: block;
	padding: 1em 2em;
	text-align: center;
	margin: 1em 2em;
	border-radius: 8px;
	color: #fff;
	background-color: #f00;
}

/* トップページ */

#top_menu form {
	width: 100%;
}
#top_menu button {
	width: 256px;
	height: 128px;
	font-size: 48px;
	margin: 0px 32px 48px;
}

/**/

#edit_message {
	display: block;
	padding: 1em 2em;
	text-align: center;
	margin: 1em 2em;
	border: 2px solid #aaa;
	border-radius: 8px;
}


.ShippingRegList {
	margin: auto;
}
.ShippingRegList td {
	padding: 0.5em 1em;
	border: 1px solid #aaa;
	box-sizing: border-box;
	height: 2em;
}
.ShippingRegList td:first-of-type {
	width: 10em;
}
.ShippingRegList td:last-of-type {
	width: 20em;
}


#login_user_list {
	display: block;
	width: 100%;
	text-align: center;
}
#login_user_list > .input_area_l {
	display: block;
}

#user_list {
	width: 100%;
	text-align: center;
	margin-top: 16px;
}
#user_list td {
	border: 1px solid #aaa;
}

#user_edit_form {
	display: flex;
	flex-wrap: wrap;
	width: 50%;
	margin: 0 auto;
}
#user_edit_form .input_area_m {
	width: 100%;
}
#user_edit_form .input_area_s {
	width: 25%;
}
