@charset "utf-8";

body {
	margin: 0;
	padding: 0 0 20px 0;
}
* {
	/*
	font-family:"メイリオ", Meiryo, "ヒラギノ角ゴｴPro W3", "Hiragino Kaku Gothic Pro", Osaka, "ＭＳ Ｐゴシック", sans-serif;
	*/
	font-family:'Lucida Grande','Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', Meiryo, メイリオ, sans-serif;
	font-size:11pt;
}
table {
	border-collapse: collapse;
}

input[type="text"],input[type="password"],
select{
	font-size:1em;
	border:1px solid #ccc;
	padding: 2px;
}

a {
	text-decoration: none;
}

#logout {
	background-color:#c4ab8d;

	padding:5px;
	text-align:center;
	width:150px;
	font-size:10pt;
	color:#333333;

	text-decoration: none;
    	font-weight:bold;

	border-radius: 10px;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
}
#logout:hover {
	background-color:#e3c1c1;
	color:#fff;
}

/*-----------------------------------------------
	ヘッダー設定
-----------------------------------------------*/
#head{
	margin:0px;
	width:100%;

	background-color: #F9F3DE;
	/*background-image:url(../contents/headbg.gif);*/
}

#headcon{
	margin:0px auto;
	padding:6px 0px;
	width:980px;
	color:#638c0b;
	font-weight:bold;
	font-size:12px;
}

#hcontents {
	height:52px;
	/*margin:2px auto auto auto;*/
	background-color:#fff2e4;
	text-align:center;
	padding:8px 0px 6px 0px;
}

.btnmenu {
	display:inline-block;

	width:159px;
	height:40px;

	background-size:contain;
	background-image:url(../contents/3ico_bg.png);
	background-repeat:no-repeat;
	border:none;
}
.btnmenu:hover {
	background-image:url(../contents/3ico_bg_on.png);
	color:#fff;
}
.btnmenu tr {
	/*height:26px;*/
}
.btnmenu td {
	padding-left:4px;
	text-align:left;
	font-size:18px;
	font-weight:bold;
	color:#834e00;
}

#head_kamoku_text {
	font-size:18pt;
	line-height:1.4em;

	width:150px;
	height:30px;

	text-align:center;
	font-weight:normal;

	background-color:#DA81F5;

	color:#fff;

	border-radius: 4px;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
}
/*
div#header {
	top: 0;
	left: 0;
	width: 100%;
	height: 120px;
	background-color: #ffffff;
	background-image:url("../images/header_bg.png");
	background-size:100% 160px;
	z-index:999;
}
*/
/* フッターの固定 */
#footer {
	position: fixed; /* フッターの固定 */
	bottom: 0px; /* 位置(下0px) */
	left: 0px; /* 位置(左0px) */
	width: 100%; /* 横幅100%　*/
	clear:both;
	text-align:center;
	font-size:12px;
	color:#999999;

	background-color: #F9F3DE;
	/*background-image: url(../contents/headbg.gif);*/
}
/*
#footer p{
	display:block;
	margin:5px auto;
	padding:2px;
	background-color:#fff2e4;
	width:600px;
}
*/

* html div#contents{
	height: 100%;
	overflow: auto;
}

div#contents{
	/*padding-top:-5px;*/
}
/*textarea*/
input,
select {
	color:#000;
	font-size:inherit;
}

.bt_menu {
	width:215px;
	height:58px;
	vertical-align:middle;
	text-align:left;
    	background-image:url("../images/2ico_bg.png");
    	border:none;

    	font-size:14pt;
    	color:#8e4e00;
    	font-weight:bold;
}
.bt_menu:hover {
    	background-image:url("../images/2ico_bg_on.png");
}
.bt_menu img {
	/*text-align:left;*/
	vertical-align:middle;
	padding-left:8px;
	padding-right:20px;
	/*padding-right:12px;*/
}

/* 新規問題ボタン */
#new_question,
#new_question_im {
	width:150px;
}
/*
#new_question {
	width:150px;
	height:30px;
	text-align:center;
	padding-top:4px;
	background-image:url("../images/btn_kaku.png");
	background-repeat: no-repeat;
	color:#888888;
	cursor: pointer;
}
#new_question:hover {
    	background-image:url("../images/btn_kaku_on.png");
	color:orange;
}
*/

/*
#menu {
	margin: 0;
	padding: 0;
	list-style:none;

	position: relative;
}

#menu li {
	position: relative;
	float: left;

	margin: 0;
	padding: 5px;
	width: 150px;
	height: 20px;
	border: solid 1px #ccc;
	font-weight: bold;
}
#menu li:hover {
	color: #fff;
	background: #333;
}
#menu li ul {
	display: none;
	position: absolute;
	top: 30px;
	left: -1px;
	padding: 5px;
	width: 150px;
	background: #eee;
	border: solid 1px #ccc;
}
#menu li ul li {
	margin: 0;
	padding: 0;
	width: 150px;
	border: none;
}
#menu li ul li a {
	display: inline-block;
	width: 150px;
	height: 20px;
}
#menu li ul li a:hover {
	background: #999;
	color: #fff;
}
*/
.active {background-color:lightsteelblue;}





input[type="checkbox"] {
    border: 1px solid #aaaaaa;
    vertical-align: -8px;
    -webkit-appearance: none;
    position: relative;
    margin-right: 5px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    -webkit-box-sizing: border-box;
    width: 26px;
    height: 26px;
    /*Other Browser*/
    background: #e2e2e2;
    /*For Old WebKit*/
    background: -webkit-gradient(
        linear, left top, left bottom,
        color-stop(0.00, #ffffff),
        color-stop(1.00, #e2e2e2)
    );
    /*For Modern Browser*/
    background: linear-gradient(
        to bottom,
        #ffffff 0%,
        #e2e2e2 100%
    );
}

input[type="checkbox"]:checked {
    /*Other Browser*/
    background: #99cc00;
    /*For Old WebKit*/
    background: -webkit-gradient(
        linear, left top, left bottom,
        color-stop(0.00, #99cc00),
        color-stop(1.00, #87b400)
    );
    /*For Modern Browser*/
    background: linear-gradient(
        to bottom,
        #99cc00 0%,
        #87b400 100%
    );
    border: 1px solid #336600;
}

input[type="checkbox"]:checked:before {
    position: absolute;
    left: 1px;
    top: 16px;
    display: block;
    -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .5);
    content: "";
    width: 10px;
    height: 4px;
    background: #ffffff;
    -webkit-transform: rotate(45deg);
    -webkit-transform-origin: right center;
}

input[type="checkbox"]:checked:after {
    display: block;
    position: absolute;
    left: 9px;
    top: 16px;
    content: "";
    -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .5);
    width: 16px;
    height: 4px;
    background: #ffffff;
    -webkit-transform: rotate(-53deg);
    -webkit-transform-origin: left center;
}


/*タブ*/
.class_tab_table td {
}

ul {
	list-style:none;
}
/*
//----------------------------------------------------------------------
// タブ1
//----------------------------------------------------------------------
*/
#tab1 ul {
	left:0;
	right:0;
	top:0;

	height:30px;
	/*background:#959DA5;*/
	border-bottom:1px solid #333;
	margin:0;
	padding:1px 16px 0;
	list-style:none;
}

#tab1 ul li {
	float:left;
	margin:0 10px 0 0;
	padding:0;
}

/* 裏の時 */
#tab1 ul div {
	display:block;
	color:#fff;
	text-decoration:none;
	padding:0 15px;
	line-height:29px;
	height:29px;
	/*font-weight:bold;*/
	background:#808080;

	border:1px solid #333;
	border-bottom:none;
	-webkit-font-smoothing:antialiased;
	-webkit-border-top-left-radius:8px;
	-webkit-border-top-right-radius:8px;
	-moz-border-radius:8px 8px 0 0;
	border-top-left-radius:8px;
	border-top-right-radius:8px;
	text-shadow:#000 0 -1px 0;
	/* This is to prevent jagged borders in Webkit. */
	-webkit-background-clip: padding-box;
	
	cursor:pointer;
}

/* タブ検索件数
#tab_cnt { */
#tab1 ul div #tab_cnt {
	display: inline-block;

	line-height:20px;

	padding:0;
	margin:0;

	margin-top:2px;
	width:52px;
	height:20px;

	text-align:center;
	font-weight:bold;

	background-color:orange;

	border:1px solid orange;

	color:#fff;
	text-shadow:none;

	border-radius: 18px;
	-webkit-border-radius: 18px;
	-moz-border-radius: 18px;
}



#tab1 ul li.current div {
	background:#ffffff;
	color:#222;
	height:30px;
	text-shadow:#fff 0 1px 0;
	/* This is to prevent jagged borders in Webkit. */
	-webkit-background-clip: padding-box;
}
#tab1 ul li.current div #tab_cnt {
	color:#000;
	font-weight:normal;
}



/*
問題検索条件の項目
*/
.class_mi1 {
	width:100px;
	height:24px;
	text-align:left;
	padding-top: 3px;
	padding-left: 8px;

	color:#888888;
	background-color:#fff;

	font-size:14px;

	border:1px solid green;
	border-left:4px solid orange;

	border-radius: 3px;        /* CSS3草案 */  
	-webkit-border-radius: 3px;    /* Safari,Google Chrome用 */  
	-moz-border-radius: 3px;   /* Firefox用 */
}
label {
	font-style:normal;
}
/* 検索項目の中項目 */
.kensaku_c2 {
	padding-top:1px;
	padding-left:10px;
	height:24px;
	width:100%;
	border:1px solid green;
	color:#444;
	background-color:lightblue;

	border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
}
/*
.cl_ck:nth-child(even) {
    background:#dedede;
}
.cl_ck:nth-child(odd) {
    background:#c6e2e2;
}
*/


/*
 問題リストで使用
*/

.qlist {
	display: block;

	width:100%;

	/*font-size:12pt;*/
	padding:0px;
	margin-top:8px;

	background-color:#fff;

	border-top:solid 3px #888888;

/*
	border-radius: 6px;
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
*/
	clear: both;
}
/* 問題No */
.qno {
	width:100%;

	height:42px;
	border: 1px solid #dcdcdc;

	border-radius: 6px;
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
}
.qq {
	padding-left:3px;
	font-family:Arial;
}
.qid {
	width:100%;
	text-align:right;
	font-family:Arial;
}
/* 問題リスト出題基準 */
.qcate {
	margin-top:-3px;
	background-color:#FFA500;
	padding:0px;
	padding-left:12px;
	text-align:left;
	width:120px;
	font-size:11pt;
	color:#000;
	text-decoration: none;
	border-radius: 10px;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
}

#id_kijun {
	margin-top:1px;
	background-color:#FFA500;
	padding:0px;
	padding-left:12px;
	text-align:left;
	width:120px;
	font-size:11pt;
	color:#000;
	text-decoration: none;
	border-radius: 10px;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
}

/* 問題引用元 */
.qinyou {
	color:#888;
	font-size:10pt;
}

/* 問題の１件のテーブル */
table.qlist_tb {
	border-collapse: collapse;
	border: 1px none green; /* 外枠 */
}
table.qlist_tb td {
	border-style: none solid; /* 線種 */
	border-width: 1px; /* 線の太さ */
	border-color: green; /* 線色 */
	padding:4px;
}

#alllist div.qlist:nth-child(even) {
	background-color:#efefef;
}

/* css3 */
table.qlist_tb td:first-child,
table.qlist_tb td:last-child {
	list-style: none;
	border: 0;
}

/* 中のテーブル */
table.qlist_tb_in {
	border-collapse: collapse;
	border: 1px none green; /* 外枠 */
}
table.qlist_tb_in tr {
	border-style: dotted none; /* 線種 */
	border-width: 1px; /* 線の太さ */
	border-color: green; /* 線色 */
}

/* css3 */
table.qlist_tb_in tr:first-child,
table.qlist_tb_in tr:last-child {
	list-style: none;
	border: 0;
}


/* contenteditable IE 対策 */
#id_reibun p { margin:0; padding:0; }
/*
.class_update p { margin:0; padding:0; }
*/

/*
#choice_question_area {
	height:24px;
	text-align:right;
}
*/


#choice_question_cnt,
#edit_book_question_cnt {
	display: inline-block;

	width:40px;
	height:24px;
	text-align:center;

	padding:2px;

	background-color:red;
	color:#fff;

	border-radius: 20px;
	-webkit-border-radius: 20px;
	-moz-border-radius: 20px;
}
/* サイド 問題選択リスト li  edit_choice_list.php */
.qcho {
	width:100%;
	height:auto;

	text-align:left;

	margin-bottom:2px;

	padding:2px;

	background-color:#fcfcfc;
	border: 1px solid #888;
	color:#2E2E2E;

	border-radius: 2px;
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;

	cursor:pointer;
}
.qcho table th {
	color:#888;
	font-size:9pt;
	font-weight:normal;
}
.qcho table td {
	font-size:10pt;
}
/* サイド 問題選択リスト 内 アイコン */
.qcho img {
	margin-top:-2px;
	padding-right:3px;
}
.qcho:hover {
	background-color:#F6CECE;
	color:#fff;
}
.qcho:active {
	background-color:#088A29;
}

/* こだわり作成時のボタン */
#choice_clear,
#choice_create {
	font-size:9pt;

	width:80px;
	text-align:center;

	border: 1px solid #fff;

	border-radius: 24px;
	-webkit-border-radius: 24px;
	-moz-border-radius: 24px;
}
#choice_clear {
	background-color:#F5ECCE;
	color:#2E2E2E;

}
#choice_create {
	background-color:#FE642E;
	color:#fff;
}
#choice_clear:hover {
	background-color:#dcdcdc;
}
#choice_create:hover {
	background-color:#FA5858;
}
#choice_create:disabled {
	background-color:#dcdcdc;
}

/* サイド */
#list_side {
	border-radius: 2px;
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
}
#list_side td {
	padding:2px;
}
/* かんたん */
.kantan_bt {
	font-size:14pt;
	color:#fff;
	width:250px;
	height:65px;
	border:none;
	background-image:url('../images/btn_bg.png');
}
.kantan_bt:hover {
	background-image:url('../images/btn_bg_on.png');
}

table.kantan_mon {
	border:none;
}

table.kantan_mon th {
	height:32px;
	background-color:#FFFFCE;

	font-weight:normal;

	padding:-2px;
	padding-left:12px;
	line-height:1.0em;

	border: 1px solid #FFD700;

	border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
}

table.kantan_mon tr {
	border-style: dotted none; /* 線種 */
	border-width: 1px; /* 線の太さ */
	border-color: #8B0000; /* 線色 */
}

/* css3 */
table.kantan_mon tr:first-child,
table.kantan_mon tr:last-child {
	list-style: none;
	border: 0;
}


table.kantan_mon td select {
	width:auto;
	/*max-width:700px;*/
}

.kantan_kou {
	display:block;
	float:left;
/*	width:110px;*/
	padding-top:4px;
	padding-left:5px;
}
.kantan_ti1,
.kantan_ti2 {
	border: 1px solid #FFD700;
	padding:2px;

	border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;

	color:#fff;
}
.kantan_ti1 {
	background-color:#FFB6C1;
}
.kantan_ti2 {
	background-color:#00BFFF;
}

/* 問題リスト */
.e_zumi,
.e_chuu {
	font-size:10pt;
	text-align:center;
	width:95px;
	border:solid 1px #ccc;

	border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px 5px;

	color:#fff;
}
.e_zumi {	/* 登録済み */
	background-color:#FF0099;
}
.e_chuu {	/* 編集中 */
	background-color:#0000CC;

}
.ql_diff {
	font-size:10pt;
	text-align:center;
	width:30px;
	border:solid 1px #ccc;

	border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px 5px;

	color:#444;
	background-color:#ddd;
}
/*
	textarea {
		margin:0 0;
		border:#888 1px solid;
		border-radius:5px;
		-webkit-border-radius:5px;
		-moz-border-radius:5px;

		box-shadow:0 0 3px #999;
		-webkit-box-shadow:0 0 3px #999;
		-moz-box-shadow:0 0 3px #999;

		overflow:auto;

		transition:box-shadow 0.4s, border 0.4s;
		-webkit-transition:-webkit-box-shadow 0.4s, border 0.4s;
		-moz-transition:-moz-box-shadow 0.4s, border 0.4s;
		-o-transition:-o-box-shadow 0.4s, border 0.4s;




		padding:10px;
		background:#FFF;
		min-height:40px;
		max-height:900px;
		overflow:auto;
		outline:none;
		word-wrap:break-word;
		-ms-word-wrap:break-word;
		resize:vertical
	}
	textarea:focus {
		color: black;
		border: 2px solid green;
	}
	.wysihtml5-command-active {
		font-weight: bold;
	}
*/
table.bnone,
table.bnone tr,
table.bnone td,
table.bnone tr:first-child,
table.bnone tr:last-child,
table.bnone td:first-child,
table.bnone td:last-child {
	list-style: none;
	border: 0;
/*
	border:1px sold #fff;
*/
}
/* back and edit */
#back {
	top:0px;
	left:0px;
	width:100%;
	height:100%;
	/*position:absolute;*/
	position: fixed !important;
	background: #333;
	/*border: 5px solid #000;*/
	color: #fff;
	opacity: 0.6;
	display:none;
	
	z-index:700;
}
#edit {
	position: fixed !important;
/*
	top:15%;
	left:15%;
	width:70%;
	height:70%;
*/
	background: #fff;

	border-radius: 10px;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	display:none;

	z-index:750;
}
/* back2 and edit2 */
#back2 {
	top:0px;
	left:0px;
	width:100%;
	height:100%;
	/*position:absolute;*/
	position: fixed !important;
	background: #333;
	/*border: 5px solid #000;*/
	color: #fff;
	opacity: 0.6;
	display:none;
	
	z-index:800;
}
#edit2 {
	position: fixed !important;

	background: #fff;

	border-radius: 10px;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	display:none;

	overflow-x:none;
	overflow-y:auto;

	z-index:850;
}
/* ローティング */
#loading {
	position: absolute;
	display:none;
	background-color:#000;

	width:40px;
	height:32px;
	padding-top:4px;
	text-align:center;

	border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px 5px;

	z-index:999;
}

/* カテゴリリスト */
.catetable {
	width: 100%;
	border-collapse: collapse;
}
.catetable th {
	padding: 6px;
	font-weight:normal;
	text-align: center;
	vertical-align: top;
	color: #fff;
	background-color: #666;
	border: 1px solid #000;
	border-bottom: 4px solid green;
}
.catetable td {
	border: 1px solid #000;
	padding:1px;
	padding-left:4px;
	padding-right:4px;
}
.catetable tr:nth-child(even) {
	background:#dedede;
}
.catetable tr:nth-child(odd) {
	background:#fff;
}
/**/
.tbnone {
	border-collapse: collapse;
}
