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


/*******************************************************************/
/* アフィリエイト情報 */
#aff_info{
	width: 100%;
	top: 0px;
	height: 90px;
	border-width: 1px;
	border-style: solid;
	border-color: #CCCCCC;
	background-color: #FFFFCC;
}

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

.aff_right{
	text-align: right;
	font-size: 12px;
	color: #FFCC33;
	margin-top: 0px;
	margin-right: 5px;
	margin-bottom: 0px;
}

.aff_right a {
	color: #FFCC33;
}

@media (min-width: 768px) {
	.aff_name {
		font-size: 40px;
	}
	
	.aff_right {
		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: 70px;
	display:table-cell;
}

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

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

.pwsend{
	text-align: right;
	font-size: 12px;
	padding-right: 5px;
}
/*******************************************************************/


/*******************************************************************/
/* パスワード送信 */
#pwsend{
	padding-left: 3px;
	padding-bottom: 20px;
}

#pwsend #mail{
	width: 300px;
	height: 20px;
}

@media (min-width: 768px) {
	#pwsend #mail {
		width: 400px;
	}
}
/*******************************************************************/


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


/*******************************************************************/
/* 右メニュー */
#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;
	}
}
/*******************************************************************/


/*******************************************************************/
/* seiyaku.php */
/* 成約一覧のデータ */
#seiyaku .itemname {
	width: 180px;
}

#seiyaku .price {
}

#seiyaku .datetime {
	width: 130px;
}

#seiyaku .pay {
	width: 30px;
}

#seiyaku .receive {
	width: 30px;
}

@media (min-width: 768px) {
	/* 偶数行に色を付ける*/
	#seiyaku tr:nth-child(even) {
		background: #f5f5f5;
	}
}
/*******************************************************************/


/*******************************************************************/
/* affitemlist.php */
/* アフィリエイトURL */
#affurl .itemname {
}

#affurl .itemurl {
	width: 130px;
}

#affurl .accnum {
	width: 85px;
}

#affurl .price {
	width: 80px;
}

#affurl .term {
	width: 80px;
}

#affurl .shinsa {
	width: 40px;
}

#affurl .syousai {
	width: 50px;
}

#affurl .buy {
	width: 40px;
}
/*******************************************************************/


/*******************************************************************/
/* affitem.php */
/* アフィリエイト詳細・申し込み */
#affitem .url{
	width: 320px;
}

@media (max-width: 599px) {
	#affitem .url{
		width: 250px;
	}
}
/*******************************************************************/


/*******************************************************************/
/* affurl.php */
/* アフィリエイトURL */
#affurlhtml table {
	width: 200px;
	border: 1px #808080  solid;
	border-collapse: collapse;
}

#affurlhtml td {
	border: 1px #808080  solid;
	border-collapse: collapse;
}

#affurlhtml textarea {
	width: 300px;
	height: 80px;
}

@media (min-width: 600px) {
	#affurlhtml table {
		width: 600px;
		padding: 10px;
	}
	
	#affurlhtml td {
		padding: 10px;
	}
	
	#affurlhtml tr:nth-child(even) {
		background: #e9e9e9;
	}
	
	#affurlhtml textarea {
		width: 500px;
		height: 80px;
	}
}
/*******************************************************************/


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

#buyer .sei {
	width: 45px;
}

#buyer .mei {
	width: 45px;
}

#buyer .mail {
}

#buyer .orderid {
	width: 80px;
}

#buyer .datetime {
	width: 125px;
}

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


/*******************************************************************/
/* henkou.php */
/* アフィリエイター情報変更 */
#henkou-form .koumoku {
	width: 180px;
}

#henkou-form #No{
}

#henkou-form #kaiinid{
}

#henkou-form #sei{
	width: 100px;
}

#henkou-form #mei{
	width: 100px;
}

#henkou-form #rerakumail{
	width: 300px;
}

#henkou-form #pw{
	width: 200px;
}

#henkou-form #ppmail{
	width: 300px;
}

#henkou-form #ppmid{
	width: 200px;
}

#henkou-form #bankno{
	width: 200px;
}

#henkou-form #shitenno{
	width: 200px;
}

#henkou-form #syumoku{
}

#henkou-form #kouzano{
	width: 200px;
}

#henkou-form #kouzaname{
	width: 200px;
}

#henkou-form .inputtext{
	width: 200px;
}

#henkou-form .inputarea{
	width: 280px;
	height: 100px;
}

#henkou-form .inputselect{
}

#henkou-form .inputchk{
}

@media (max-width: 599px) {
	#henkou-form .koumoku {
		width: 100%;
	}
	
	#henkou-form #No{
		width: 320px;
	}
	
	#henkou-form #kaiinid{
		width: 200px;
	}
	
	#henkou-form #sei{
		width: 100px;
	}
	
	#henkou-form #mei{
		width: 100px;
	}
	
	#henkou-form #rerakumail{
		width: 250px;
	}
	
	#henkou-form #pw{
		width: 200px;
	}
	
	#henkou-form #ppmail{
		width: 250px;
	}
	
	#henkou-form #ppmid{
		width: 200px;
	}
	
	#henkou-form #bankno{
		width: 200px;
	}
	
	#henkou-form #shitenno{
		width: 200px;
	}
	
	#henkou-form #syumoku{
	}
	
	#henkou-form #kouzano{
		width: 200px;
	}
	
	#henkou-form #kouzaname{
		width: 200px;
	}
	
	#henkou-form .inputtext{
		width: 250px;
	}
	
	#henkou-form .inputarea{
		width: 250px;
		height: 100px;
	}
	
	#henkou-form .inputselect{
	}
	
	#henkou-form .inputchk{
	}
}

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

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

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


/*******************************************************************/
/* steptouroku.php */
/* 羅針盤登録 */
#compass-form .koumoku {
	width: 110px;
}

#compass-form #tranurl{
	width: 320px;
}

#compass-form #stepcode{
	width: 200px;
}

#compass-form #kaisuu{
	width: 50px;
}

#compass-form #filter{
	width: 200px;
}

@media (max-width: 599px) {
	#compass-form .koumoku {
		width: 100%;
	}
	
	#compass-form #tranurl{
		width: 270px;
	}
	
	#compass-form #stepcode{
		width: 250px;
	}
	
	#compass-form #kaisuu{
		width: 50px;
	}
	
	#compass-form #filter{
		width: 250px;
	}
}
/*******************************************************************/


/*******************************************************************/
/* touroku.php */
/* アフィリエイター登録 */
#touroku-form .koumoku {
	width: 180px;
}

#touroku-form #No{
}

#touroku-form #kaiinid{
}

#touroku-form #sei{
	width: 100px;
}

#touroku-form #mei{
	width: 100px;
}

#touroku-form #rerakumail{
	width: 300px;
}

#touroku-form #pw{
	width: 200px;
}

#touroku-form #ppmail{
	width: 300px;
}

#touroku-form #ppmid{
	width: 200px;
}

#touroku-form #bankno{
	width: 200px;
}

#touroku-form #shitenno{
	width: 200px;
}

#touroku-form #syumoku{
}

#touroku-form #kouzano{
	width: 200px;
}

#touroku-form #kouzaname{
	width: 200px;
}

#touroku-form .inputtext{
	width: 200px;
}

#touroku-form .inputarea{
	width: 280px;
	height: 100px;
}

#touroku-form .inputselect{
}

#touroku-form .inputchk{
}

@media (max-width: 599px) {
	#touroku-form .koumoku {
		width: 100%;
	}
	
	#touroku-form #No{
		width: 320px;
	}
	
	#touroku-form #kaiinid{
		width: 200px;
	}
	
	#touroku-form #sei{
		width: 100px;
	}
	
	#touroku-form #mei{
		width: 100px;
	}
	
	#touroku-form #rerakumail{
		width: 250px;
	}
	
	#touroku-form #pw{
		width: 200px;
	}
	
	#touroku-form #ppmail{
		width: 250px;
	}
	
	#touroku-form #ppmid{
		width: 200px;
	}
	
	#touroku-form #bankno{
		width: 200px;
	}
	
	#touroku-form #shitenno{
		width: 200px;
	}
	
	#touroku-form #syumoku{
	}
	
	#touroku-form #kouzano{
		width: 200px;
	}
	
	#touroku-form #kouzaname{
		width: 200px;
	}
	
	#touroku-form .inputtext{
		width: 250px;
	}
	
	#touroku-form .inputarea{
		width: 250px;
		height: 100px;
	}
	
	#touroku-form .inputselect{
	}
	
	#touroku-form .inputchk{
	}
}
/*******************************************************************/


/*******************************************************************/
/* affitement.php */
/* 購入時の登録URLクリックで登録 */
#affitemtouroku-form .koumoku {
	width: 180px;
}

#affitemtouroku-form #No{
}

#affitemtouroku-form #kaiinid{
}

#affitemtouroku-form #sei{
	width: 100px;
}

#affitemtouroku-form #mei{
	width: 100px;
}

#affitemtouroku-form #rerakumail{
	width: 300px;
}

#affitemtouroku-form #pw{
	width: 200px;
}

#affitemtouroku-form #ppmail{
	width: 300px;
}

#affitemtouroku-form #ppmid{
	width: 200px;
}

#affitemtouroku-form #bankno{
	width: 200px;
}

#affitemtouroku-form #shitenno{
	width: 200px;
}

#affitemtouroku-form #syumoku{
}

#affitemtouroku-form #kouzano{
	width: 200px;
}

#affitemtouroku-form #kouzaname{
	width: 200px;
}

#affitemtouroku-form .inputtext{
	width: 200px;
}

#affitemtouroku-form .inputarea{
	width: 280px;
	height: 100px;
}

#affitemtouroku-form .inputselect{
}

#affitemtouroku-form .inputchk{
}

@media (max-width: 599px) {
	#affitemtouroku-form .koumoku {
		width: 100%;
	}
	
	#affitemtouroku-form #No{
		width: 320px;
	}
	
	#affitemtouroku-form #kaiinid{
		width: 200px;
	}
	
	#affitemtouroku-form #sei{
		width: 100px;
	}
	
	#affitemtouroku-form #mei{
		width: 100px;
	}
	
	#affitemtouroku-form #rerakumail{
		width: 250px;
	}
	
	#affitemtouroku-form #pw{
		width: 200px;
	}
	
	#affitemtouroku-form #ppmail{
		width: 250px;
	}
	
	#affitemtouroku-form #ppmid{
		width: 200px;
	}
	
	#affitemtouroku-form #bankno{
		width: 200px;
	}
	
	#affitemtouroku-form #shitenno{
		width: 200px;
	}
	
	#affitemtouroku-form #syumoku{
	}
	
	#affitemtouroku-form #kouzano{
		width: 200px;
	}
	
	#affitemtouroku-form #kouzaname{
		width: 200px;
	}
	
	#affitemtouroku-form .inputtext{
		width: 250px;
	}
	
	#affitemtouroku-form .inputarea{
		width: 250px;
		height: 100px;
	}
	
	#affitemtouroku-form .inputselect{
	}
	
	#affitemtouroku-form .inputchk{
	}
}
/*******************************************************************/


/*******************************************************************/
/* 共通 */
.text_left {
	text-align: left;
}

.text_right {
	text-align: right;
}

.text_center{
	text-align: center;
}

.center {
	align: center;
}

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

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

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