/*******************************************************************/
/* 全体の設定 */
* {
	margin-top: 0;
	margin-right: 0;
	margin-bottom: 0;
	margin-left: 0;
	padding-top: 0;
	padding-right: 0;
	padding-bottom: 0;
	padding-left: 0;
}

body{
	word-break: break-all;
	font-size: 14px;						/* 文字サイズ */
}
/*******************************************************************/


/*******************************************************************/
/* 全体の外枠 */
#container {
	width: 99%;
	margin-right: auto;
	margin-left: auto;
	text-align: left;
	line-height: 190%;
	background-color: #FFFFFF;
	border-width: 1px;
	border-style: solid;
	border-color: #CCCCCC;
}

@media (min-width: 768px) {
	#container {
		width: 768px;
		_width: 788px;
	}
}
/*******************************************************************/


/*******************************************************************/
/* ソフト情報 */
#soft_info{
	width: 100%;
	top: 0px;
	height: 90px;
	border-width: 1px;
	border-style: solid;
	border-color: #CCCCCC;
	background-color: #FFFFCC;
}

.soft_name{
	text-align: center;
	font-size: 20px;
	font-weight: bold;
	color: #FFCC33;
	margin-top: 30px;
	margin-left: 10px;
}

.soft_version{
	text-align: right;
	font-size: 14px;
	color: #FFCC33;
	margin-top: 0px;
	margin-right: 20px;
	margin-bottom: 0px;
}


@media (min-width: 768px) {
	.soft_name {
		font-size: 40px;
	}
	
	.soft_version {
		margin-right: 20px;
	}
}
/*******************************************************************/


/*******************************************************************/
/* 1カラムメニュー */
#one_column {
	width: 100%;
	bottom: 0px;
	left: 0px;
	border-width: 1px;
	border-style: solid;
	border-color: #CCCCCC;
}
/*******************************************************************/


/*******************************************************************/
/* ログイン */
#login-form{
	display: table;
	border-collapse: collapse;
	max-width: 768px;
	margin: 0 auto;
}

#login-form .koumoku {
	width: 80px;
	display:table-cell;
}

#login-form .inputbox {
	display:table-cell;
}

#login-form .button{
	text-align: right;
}
/*******************************************************************/


/*******************************************************************/
/* 2カラムメニュー */
#two_column {
	width: 100%;
	border-width: 1px;
	border-style: solid;
	border-color: #CCCCCC;
	overflow:hidden;
}
/*******************************************************************/


/*******************************************************************/
/* 左メニュー */
#left_menu {
	z-index: 99;
	float: left;
	width: 190px;
	_width: 210px;
	padding: 5px;
	border-right: 1px solid #CCCCCC;
	border-bottom: 1px solid #CCCCCC;
}

.left_1{
	margin-top: 5px;
	background-color: powderblue;
	line-height: 150%;
	padding: 5px;
}

.left_2{
	margin-left: 5px;
	background-color: azure;

}

/* ここはPCファースト */
@media (max-width: 767px) {
	/* モバイルだけ画面上部へ背景色を付けて表示 */
	#left_menu {
		width: 70px;
		height: 20px;
		position: fixed;
		top: 0px;
		background-color: #bfefdf;
	}
}
/*******************************************************************/


/*******************************************************************/
/* メニューを左に隠しておく */
/* 隠しチェックボックスを置いてチェックの有り無しで表示非表示を切り替える */

/* ここはPCファースト */
/* PCではクリックでメニュー表示のエレメント類を無効にする */

/* チェックボックス等非表示 */
.left-unshown {
	display:none;
}

/* クリックでメニュー表示 */
#left-open {
	display:none;
}

/* インデックスの中身 */
#left-content {
	padding-bottom: 20px;
}

/* Close非表示 */
#left-close-x {
	display: none;
}

@media (max-width: 767px) {
	/* インデックス格納部分 */
	#left-drawer {
		position: relative;
	}
	
	/* チェックボックス等非表示 */
	.left-unshown {
		display:none;
	}
	
	/* クリックでメニュー表示 */
	#left-open {
		display: inline-block;
		height: 20px;
		color: #FFFFFF;
		cursor: pointer;
	}
	
	#left-open::before {
		content: 'メニュー';
		color: #FFFFFF;
		font-size: 15px;
	}
	
	/* メニュー後ろの薄黒カバークリックでメニュー非表示 */
	#left-close {
		display: none;
		position: fixed;
		z-index: 99;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		background: black;
		opacity: 0;
		transition: .3s ease-in-out;
	}
	
	/* Close）表示 */
	#left-close-x {
		display: block;
		width: 90%;
		font-size: 16px;
		font-weight: bold;
		color: #006DAF;
		padding-top: 10px;
		padding-bottom: 10px;
		padding-left: 15px;
		border-bottom: 25px;
	}
	
	/* メニューの中身 */
	#left-content {
		/* ↓もともとはauto iOSでのスクロールをチェックするためscrollにして-webkit-overflow-scrollingを入れている */
		/*overflow: auto;*/
		overflow: scroll;
		-webkit-overflow-scrolling: touch;
		/* ↑ */
		
		position: fixed;
		top: 0;
		left: 0;
		z-index: 9999;
		width: 90%;
		max-width: 330px;
		height: 100%;
		background: #fff;
		transition: .3s ease-in-out;	/*滑らかに表示*/
		-webkit-transform: translateX(-105%);
		transform: translateX(-105%);	/*左に隠しておく*/
	}
	
	/* チェックが入ったら表示 */
	#left-input:checked ~ #left-close {
		display: block;
		opacity: .5;
	}
	
	#left-input:checked ~ #left-content {
		-webkit-transform: translateX(0%);
		transform: translateX(0%);	/*中身を表示*/
		box-shadow: 6px 0 25px rgba(0,0,0,.15);
	}
	
	/* Closeクリックでメニュー非表示 */
	#left-input:checked ~ #left-close-x {
		display: block;
		opacity: .5;
	}
}
/*******************************************************************/


/*******************************************************************/
/* 左メニュー各商品の項目の表示・非表示切り替え */


/* 商品名ラベル（チェックボックスのラベル表示） */
.itembox label {
	display: block;
	cursor :pointer;
	transition: all 0.5s;
}

/* チェックボックスは隠す */
.itembox input {
	display: none;
}

/* 中身は非表示にしておく */
.itembox .itemshow {
	height: 0;
	padding: 0;
	overflow: hidden;
	opacity: 0;
	transition: 0.1s;
}

/* クリックで中身表示 */
.itemchk:checked + label + .itemshow {
	height: auto;
	opacity: 1;
}

/* 中身を表示する（特定の商品編集時、リロードでメニューを開いておく） */
.itembox .itemunshow {
	height: auto;
	padding: 0;
	overflow: hidden;
	opacity: 1;
	transition: 0.1s;
}

/* クリックで中身非表示（特定の商品編集時） */
.itemchk:checked + label + .itemunshow {
	height: 0;
	opacity: 0;
}

/* 商品名の前に */
.itembox label:before {
	content: '(+) ';
	font-size: 11px;
}
/*******************************************************************/


/*******************************************************************/
/* 右メニュー */
#right_menu {
}

@media (min-width: 768px) {
	#right_menu {
		width: 530px;
		_width: 550px;
		margin-left: 220px;
		padding-left: 5px;
		text-align: left;
	}
}
/*******************************************************************/


/*******************************************************************/
/* 右メニューのテーブル */
#right_menu table {
	font-size: 14px;
	border: 1px #808080  solid;
	border-collapse: collapse;
	padding-left: 5px;
	padding-right: 5px;
	height: 20px;
}

#right_menu tr {
	border: 1px #808080  solid;
	border-collapse: collapse;
	padding-left: 5px;
	padding-right: 5px;
	height: 20px;
}

#right_menu td {
	border: 1px #808080  solid;
	border-collapse: collapse;
	padding-left: 5px;
	padding-right: 5px;
 }

#right_menu th {
	background-color: #D6D6D6;
	border: 1px #808080  solid;
	border-collapse: collapse;
	padding-left: 5px;
	padding-right: 5px;
	height: 20px;
}

/* モバイルではテーブルを1カラム化*/
@media (max-width: 599px) {
	#right_menu table {
		width: 280px;
		border: none;
		margin-left: 10px;
	}
	
	#right_menu tr {
		border: none;
	}
	
	#right_menu td {
		/*background-color: #D6D6D6;*/
	}
	
	#right_menu th {
		border: none;
	}
	
	/* 1番目の子要素 */
	.responsive td:nth-child(1) {
		margin-top:20px;
		background-color: #D6D6D6;
	}
	
	.responsive {
		border-collapse: collapse;
		border-spacing: 0px 20px;
	}
	
	.responsive thead {
		display: none;
	}
	
	.responsive td {
		width: 100%;
		border: none;
		display: block;
		/*box-sizing: border-box;*/
	}
	
	.responsive td.cell-left {
		float: left;
		width: 50%;
	}
	
	.responsive td.cell-right {
		float: right;
		width: 40%;
	}
	
	.responsive td:before {
		content: attr(data-title) " ";
	}
	
	.responsive .clear {
		clear: both;
	}
}
/*******************************************************************/


/*******************************************************************/
/* admin.php */
/* 管理情報 */
#adminf_idpw .koumoku {
	width: 110px;
}

#adminf_idpw #userid{
	width: 200px;
}

#adminf_idpw #userpw{
	width: 200px;
}

@media (max-width: 599px) {
	#adminf_idpw .koumoku {
		width: 100%;
	}
	
	#adminf_idpw #userid{
		width: 200px;
	}
	
	#adminf_idpw #userpw{
		width: 180px;
	}
}

#adminf_insurl .koumoku {
	width: 140px;
}

#adminf_insurl #insurl{
	width: 350px;
}

@media (max-width: 599px) {
	#adminf_insurl .koumoku {
		width: 100%;
	}
	
	#adminf_insurl #insurl{
		width: 250px;
	}
}

#adminf_licence .koumoku {
	width: 120px;
}

#adminf_licence #sei{
	width: 100px;
}

#adminf_licence #mei{
	width: 100px;
}

#adminf_licence #key{
	width: 200px;
}

@media (max-width: 599px) {
	#adminf_licence .koumoku {
		width: 100%;
	}
	
	#adminf_licence #sei{
		width: 100px;
	}
	
	#adminf_licence #mei{
		width: 100px;
	}
	
	#adminf_licence #key{
		width: 200px;
	}
}

#adminf_enter .koumoku {
	width: 80px;
}

#adminf_enter #enter{
}

@media (max-width: 599px) {
	#adminf_enter .koumoku {
		width: 100%;
	}
}

#adminf_ppadd #ppadd{
	width: 350px;
}

@media (max-width: 599px) {
	#adminf_ppadd #ppadd{
		width: 250px;
	}
}


#adminf_spath #spath{
	width: 400px;
}

@media (max-width: 599px) {
	#adminf_spath #spath{
		width: 250px;
	}
}
/*******************************************************************/


/*******************************************************************/
/* admin_paynew.php */
/* 商品登録 */
#itemnewf_itemid .koumoku {
	width: 80px;
}

#itemnewf_itemid #itemname{
	width: 200px;
}

@media (max-width: 599px) {
	#itemnewf_itemid .koumoku {
		width: 100%;
	}
	
	#itemnewf_itemid #itemname{
		width: 200px;
	}
}

#itemnewf_itemname .koumoku {
	width: 80px;
}

#itemnewf_itemname #itemname{
	width: 320px;
}

@media (max-width: 599px) {
	#itemnewf_itemname .koumoku {
		width: 100%;
	}
	
	#itemnewf_itemname #itemname{
		width: 250px;
	}
}
/*******************************************************************/


/*******************************************************************/
/* admin_pay.php */
/* 商品変更 */
#itemedit .koumoku {
	width: 50px;
}

#itemedit #itemid{
	width: 200px;
}

#itemedit #itemname{
	width: 320px;
}

#itemedit .price{
	width: 100px;
}

#itemedit .term{
	width: 50px;
}

#itemedit .mailadd{
	width: 320px;
}

#itemedit .subject{
	width: 400px;
}

#itemedit .url{
	width: 350px;
}

#itemedit .stepcode{
	width: 80px;
}

#itemedit .stepnum{
	width: 50px;
}

#itemedit .stepfilter{
	width: 200px;
}

@media (max-width: 599px) {
	#itemedit .koumoku {
		width: 50px;
	}
	
	#itemedit #itemid{
		width: 200px;
	}
	
	#itemedit #itemname{
		width: 250px;
	}
	
	#itemedit .price{
		width: 100px;
	}
	
	#itemedit .term{
		width: 50px;
	}
	
	#itemedit .mailadd{
		width: 250px;
	}
	
	#itemedit .subject{
		width: 250px;
	}
	
	#itemedit .url{
		width: 250px;
	}
	
	#itemedit .stepcode{
		width: 80px;
	}
	
	#itemedit .stepnum{
		width: 50px;
	}
	
	#itemedit .stepfilter{
		width: 200px;
	}
}
/*******************************************************************/


/*******************************************************************/
/* admin_buyerlist.php */
/* 購入者一覧 */
#buyerlist .name {
	display: none;
}

@media (max-width: 599px) {
	#buyerlist .name {
		display: block;
	}
	
	#buyerlist .sei {
		display: none;
	}
	
	#buyerlist .mei {
		display: none;
	}
}
/*******************************************************************/


/*******************************************************************/
/* admin_err.php */
/* エラーログ一覧 */
#errlist .name {
	display: none;
}

@media (max-width: 599px) {
	#errlist .name {
		display: block;
	}
	
	#errlist .sei {
		display: none;
	}
	
	#errlist .mei {
		display: none;
	}
}
/*******************************************************************/


/*******************************************************************/
/* 共通 */
/* ボタンを左右に並列表示 */
.heiretsu {
	display: table;
	width: 100%;
	/*height: 200px;*/
	margin-top: 10px;
}

.button1 {
	display:table-cell;
	text-align: left;
}

.button2 {
	display:table-cell;
	text-align: right;
}

.text_left {
	text-align: left;
}

.text_right {
	text-align: right;
}

.text_center{
	text-align: center;
}

.center {
	align: center;
}

#left{
	float: left;
}

#right{
	float: right;
}

.title{
	text-align: center;
	font-size: 16px;
	padding: 5px;
}

h1{
	text-align: center;
	font-size: 16px;
	font-weight: normal;
	margin-top: 10px;
	margin-bottom: 10px;
	margin-right: 5px;
	background-color: salmon;
}

h2{
	font-size: 12px;
	font-weight: normal;
	padding-left: 5px;
	padding-right: 5px;
	padding-top: 0px;
	padding-bottom: 0px;
	margin-top: 20px;
	margin-bottom: 7px;
	margin-right: 5px;
	background-color: pink;
}

h3{
	font-size: 12px;
	font-weight: normal;
	background-color: #CCCCCC;
}

.setsumei{
	font-size: 12px;
	margin-right: 10px;
}

.attention{
	font-size: 12px;
	color:red;
}

.migiyose{
	text-align: right;
	margin-right: 20px;
	margin-bottom: 10px;
}

.input{
	background-color: mistyrose;
	margin-right: 5px;
}

.title {
	font-size: 16px;
}
/*******************************************************************/
