/*******************************************************************/
/* 全体の設定 */
* {
	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: 25px;
	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: 120px;
}

#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%;
	}
}
/*******************************************************************/


/*******************************************************************/
/* admin_itemnew.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: 200px;
}

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

#itemnewf_copy .koumoku {
	width: 80px;
}

#itemnewf_copy #itemid{
}

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


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

#itemf_onoff #onoff{
	width: 200px;
}

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

#itemf_itemid .koumoku {
	width: 60px;
}

#itemf_itemid #itemid{
	width: 200px;
}

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

#itemf_itemname .koumoku {
	width: 60px;
}

#itemf_itemname #itemname{
	width: 200px;
}

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

#itemf_price .koumoku {
	width: 50px;
}

#itemf_price #price{
	width: 200px;
}

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

#itemf_subject1 .koumoku {
	width: 50px;
}

#itemf_subject1 #subject1{
	width: 300px;
}

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

#itemf_body1 .koumoku {
	width: 100px;
}

#itemf_body1 #body1{
}

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

#itemf_subject2 .koumoku {
	width: 50px;
}

#itemf_subject2 #subject2{
	width: 250px;
}

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

#itemf_body2 .koumoku {
	width: 100px;
}

#itemf_body2 #body2{
}

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

#itemf_fromname .koumoku {
	width: 80px;
}

#itemf_fromname #fromname{
	width: 320px;
}

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

#itemf_formadd .koumoku {
	width: 130px;
}

#itemf_formadd #formadd{
	width: 300px;
}

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

#itemf_reply .koumoku {
	width: 80px;
}

#itemf_reply #reply{
	width: 250px;
}

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

#itemf_rpath .koumoku {
	width: 80px;
}

#itemf_rpath #rpath{
	width: 250px;
}

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

#itemf_bcc .koumoku {
	width: 50px;
}

#itemf_bcc #bcc{
	width: 350px;
}

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

#itemf_addfile .koumoku {
	width: 80px;
}

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

#itemf_step .koumoku {
	width: 210px;
}

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

#itemf_stepdata .koumoku {
	width: 110px;
}

#itemf_stepdata #stepurl{
	width: 320px;
}

#itemf_stepdata #stepcode{
	width: 200px;
}

#itemf_stepdata #stepmode{
}

#itemf_stepdata #stepunum{
	width: 50px;
}

#itemf_stepdata #stepfilter{
	width: 200px;
}

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


/*******************************************************************/
/* admin_formedit.php */
/* フォーム編集 */
#formf .no {
	width: 14px;
}

#formf .koumoku {
	width: 130px;
}

#formf .hyouji {
/*	width: 50px;*/
}

#formf .nyuuryoku {
/*	width: 50px;*/
}

#formf .inptype {
}

#formf .pullval {
	width: 160px;
	height:40px;
}

#formf .chk {
}

#formf .size {
	width: 100px;
}

#formf .default {
	width: 100px;
}

.redirect {
	width: 500px;
}

@media (max-width: 599px) {
	#formf .koumoku {
		width: 200px;
	}
	
	#formf .pullval {
		width: 250px;
		height:60px;
	}
	
	#formf .size {
		width: 80px;
	}
	
	#formf .default {
		width: 250px;
	}
	
	.redirect {
		width: 300px;
	}
}
/*******************************************************************/


/*******************************************************************/
/* admin_makeform.php */
/* フォーム表示 */
#formtag {
	width: 750px;
	height: auto;
}

@media (max-width: 599px) {
	#formtag {
		width: 300px;
		height: auto;
	}
}
/*******************************************************************/


/*******************************************************************/
/* admin_contactlist.php */
/* 連絡者表示 */
#renrakulist {
	width: 95%;
}

#renrakulist .no {
	width: 20px;
}

#renrakulist .col1 {
	width: 50px;
}

#renrakulist .col2 {
	width: 50px;
}

#renrakulist .col3 {
/*	width: 50px;*/
}

#renrakulist .dt {
	width: 130px;
}

#renrakulist .send {
	width: 40px;
}

@media (max-width: 599px) {
	#renrakulist {
		width: 300px;
		height: auto;
	}
}

/* 未送信 */
.stripe {
	background-color: #EFEEEE;
}
/*******************************************************************/


/*******************************************************************/
/* admin_admin_contact.php */
/* 連絡者情報 */

/* PC・タブレット */
/* フォーム編集（admin_formedit.php）で設定したサイズを使って表示している */
/* cssからサイズを上書きして画面に表示したい場合はコメントを外してwidthを（textareaの場合はheightも）設定できる */
/*
#renraku {
	width: 95%;
}

#renraku .koumoku {
	width: 120px;
}

#renraku #input1 {
	width: 300px;
}

#renraku #input2 {
	width: 300px;
}

#renraku #input3 {
	width: 300px;
}

#renraku #input4 {
	width: 300px;
}

#renraku #input5 {
	width: 300px;
}

#renraku #input6 {
	width: 300px;
}

#renraku #input7 {
	width: 300px;
}

#renraku #input8 {
	width: 300px;
}

#renraku #input9 {
	width: 300px;
}

#renraku #input10 {
	width: 300px;
}

#renraku #input11 {
	width: 300px;
}

#renraku #input12 {
	width: 300px;
}

#renraku #input13 {
	width: 300px;
}

#renraku #input14 {
	width: 300px;
}

#renraku #input15 {
	width: 300px;
}
*/

/* スマホ用 */
/* input typeがわからないので、一律250pxに設定 */
@media (max-width: 599px) {
	#renraku .koumoku {
		width: 100%;
	}
	
	#renraku #input1 {
		width: 250px;
	}
	
	#renraku #input2 {
		width: 250px;
	}
	
	#renraku #input3 {
		width: 250px;
	}
	
	#renraku #input4 {
		width: 250px;
	}
	
	#renraku #input5 {
		width: 250px;
	}
	
	#renraku #input6 {
		width: 250px;
	}
	
	#renraku #input7 {
		width: 250px;
	}
	
	#renraku #input8 {
		width: 250px;
	}
	
	#renraku #input9 {
		width: 250px;
	}
	
	#renraku #input10 {
		width: 250px;
	}
	
	#renraku #input11 {
		width: 250px;
	}
	
	#renraku #input12 {
		width: 250px;
	}
	
	#renraku #input13 {
		width: 250px;
	}
	
	#renraku #input14 {
		width: 250px;
	}
	
	#renraku #input15 {
		width: 250px;
	}
}
/*******************************************************************/


/*******************************************************************/
/* 共通 */
/* ボタンを左右に並列表示 */
.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;
}

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;
}

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

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