* {
	padding: 0px;
	margin: 0px;
	font: 12px/1.5 "Meiryo UI", "メイリオ", Meiryo, "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", "ＭＳ Ｐゴシック", "Lucida Grande", "Lucida Sans Unicode", Arial, Verdana, sans-serif;
}

p.head_link {
	background: #333333;
	text-align: right;
	padding: 5px 10px 0px;
	color: #FFFFFF;
	margin: 0px;
}

p.head_link a:link { color:#FFFFFF; }
p.head_link a:active { color:#FFFFFF; }
p.head_link a:visited { color:#FFFFFF; }
p.head_link a:hover { color:#FF0000; }


h1 {
	font-size: 24px;
	background: #333333;
	text-align: center;
	padding: 0px 10px 10px;
	color: #FFFFFF;
	margin: 0px;
	border-bottom: 2px solid #669933;
	font-weight: bold;
}


h2.top_head {
}

h2,
h2 a {
	font-size: 20px;
	text-align: center;
	padding: 10px;
	background: #99CC00;
	margin: 0px 0px 20px;
	font-weight: bold;
}

h2 {
	color: #FFFFFF;
}

h2 a {
	font-weight: normal;
}

h1.admin {
	font-size: 24px;
	background: #333333;
	text-align: center;
	padding: 0px 10px 10px;
	color: #FFFFFF;
	margin: 0px;
	border-bottom: 2px solid #669933;
	font-weight: bold;
}
h2.admin,
h2.admin a {
	font-size: 20px;
	text-align: center;
	padding: 10px;
	background: #99CC00;
	margin: 0px 0px 20px;
	font-weight: bold;
}

h2.admin {
	color: #FFFFFF;
}

div.head {
	background: #F9F8F2;
	margin-bottom: 20px;
	padding:10px 0;
}

div.head table{
	margin: 0px auto;
}

div.head td{
	padding: 0px;
	background: url(../img/bar02.png) no-repeat;
	white-space: nowrap;
}

div.head a:hover { color:#FF0000; }

div.login {
	margin: 30px auto;
	padding: 0px;
	width: 500px;
	text-align: center;
}


div.main {
	padding: 0px 10px 15px;
}


p.bot {
	padding-right: 15px;
	padding-bottom: 15px;
	padding-left: 15px;
	text-align: center;
}

span.red {
	color: #ff2d00;
}

.alert {
	color:#F00;
}


table.main_list{
	border-top:1px solid #999999;
	border-left:1px solid #999999;
	/*border-collapse:collapse;*/
	
	border-collapse:separate;
	border-spacing:0;
	empty-cells:show;
	width: 100%;
	margin-bottom: 10px;
}

table.sub_list{
	width: auto;
}


td.bodytext {
}


.notice {
	color: #999999;
}


/* ----------　オンマウスの指定　---------- */


table.main_list tr:hover td {
	background-color: #FFCC66;
}

table.sub1_list tr:hover td {
	background-color: #FFCC66;
}


/* ----------　テーブル一段毎の色指定　---------- */

.trcolor1 {
    background-color: #F9F8F2;
}
.trcolor2 {
    background-color: #FFFFFF;
}


/* ----------　　　ここまで　　　---------- */


table.main_list th {
	border-right:1px solid #999999;
	border-bottom:1px solid #999999;
	color:#FFFFFF;
	padding:5px;
	text-align:center;
	background-color: #99CC00;
}

table.main_list thead.sticky {
    position: sticky;
    top: 0;
    left: 0;
}

table.main_list th.cate{
	background: url(../img/tr-bg03.png);
}

table.main_list th a:link { color:#FFFFFF; }
table.main_list th a:active { color:#FFFFFF; }
table.main_list th a:visited { color:#FFFFFF; }
table.main_list th a:hover { color:#FF0000; }



table.main_list th,
table.main_list td{
	border-right:1px solid #999999;
	border-bottom:1px solid #999999;
	padding:5px;
}


table.main_list .red {
	color: #FF3300;
	font-weight: normal;
}
table.main_list .blue {
	color: #0066CC;
	font-weight: normal;
}


.td_center {
	text-align: center;
	white-space: nowrap;
}

.td_center img {
	max-width: 100px;
	height: auto;
	max-height: 50px;
}

.td_right {
	text-align: right;
	white-space: nowrap;
}

.td_left {
	text-align: left;
}

.td_bar {
	white-space: nowrap;
	color: #006699;
}

.print_display_none {
	text-align: center;
	white-space: nowrap;
}

/* ----------　問題トップ用テーブル　---------- */


table.sub1_list{
	border-top:1px solid #999999;
	border-left:1px solid #999999;
	border-collapse:collapse;
	border-spacing:0;
	empty-cells:show;
	width: 700px;
	margin-right: auto;
	margin-left: auto;
	margin-bottom: 20px;
}

table.sub1_list th{
	border-right:1px solid #999999;
	border-bottom:1px solid #999999;
	color:#FFFFFF;
	padding:5px;
	text-align:center;
	background: url(../img/tr-bg01.png);
}

table.sub1_list td{
	border-right:1px solid #999999;
	border-bottom:1px solid #999999;
	padding:5px;
}

p.sub1_list{
	border-collapse:collapse;
	border-spacing:0;
	empty-cells:show;
	width: 696px;
	margin-right: auto;
	margin-left: auto;
	background: #F9F8F2;
	border: 1px solid #999999;
	text-align: center;
	padding-top: 10px;
	padding-bottom: 10px;
	margin-bottom: -1px;
}

p.sub1_list a:link { color:#0000FF; }
p.sub1_list a:active { color:#0000FF; }
p.sub1_list a:visited { color:#0000FF; }
p.sub1_list a:hover { color:#FF0000; }



/* ----------　編集画面　---------- */


h2.maintenance {
	font-size: 18px;
	text-align: center;
	color: #FFFFFF;
	background: #99CC00;
	padding: 17px;
}




table.maintenance{
	border-top:1px solid #999999;
	border-left:1px solid #999999;
	border-collapse:collapse;
	border-spacing:0;
	empty-cells:show;
	width: 920px;
	margin: 0px auto 15px;
}

table.maintenance th{
	border-right:1px solid #999999;
	border-bottom:1px solid #999999;
	padding:8px;
	background: #ECE9D8;
	width: 150px;
	font-weight: normal;
	text-align: left;
}


table.maintenance td{
	border-right:1px solid #999999;
	border-bottom:1px solid #999999;
	padding:8px;
	background: #F9F8F2;
}


em {
	color: #FF0000;
	font-style: normal;
}

/* ----------　ユーザ　---------- */


table.user{
	border-top:1px solid #999999;
	border-left:1px solid #999999;
	border-collapse:collapse;
	border-spacing:0;
	empty-cells:show;
	width: 500px;
	margin-right: auto;
	margin-left: auto;
}

table.user th{
	border-right:1px solid #999999;
	border-bottom:1px solid #999999;
	color:#FFFFFF;
	padding:5px;
	text-align:center;
	background: url(../img/tr-bg01.png);
	white-space: nowrap;
}

table.user td{
	border-right:1px solid #999999;
	border-bottom:1px solid #999999;
	padding:5px;
}

/* ----------　マウスオーバーによるポップアップ　---------- */

div.tooltip	{
	width: 400px;
	position: absolute;
	left: -9999px;
	background: #EEE;
	padding: 5px;
	border: 1px solid #CCCCCC;
	margin: 0px;
}

div.tooltip p{
	color: #000000;
	background: #FFFFFF;
	padding: 5px;
	margin: 0px;
}

/* ----------　画像ギャラリー　---------- */
#main .inner{
	width:80%;
	max-width:1150px;
	margin:0 auto;
}
#main .inner #listContainer ul{
	padding:0;
	margin:0;
}
#main .inner #listContainer li{
	list-style:none;
	width:36%;
	margin:0 1% 1em 0;
	box-sizing:border-box;
	float:left;
	padding:1em 0;
	border:1px solid #cccccc;
	background:#e8e8e8;
	height:270px;
	text-align: center;
}
#main .inner #listContainer li img{
	display:block;
	margin:0 auto;
	width:auto;
	height:120px;
	max-width:100%;
}
#main .inner #listContainer li p.center{
	text-align:center;
}
#main .inner #listContainer li p.replace{
	overflow:hidden;
}
#main .inner #listContainer li input{
	max-width:90%;
}
#main .inner #listContainer li form{
	display:inline;
}
#main .inner #listContainer li form input[name="comment"]{
	margin-bottom:0.4em;
}
#main .inner p.bot{
	clear:both;
}



/* ----------　タグ　---------- */
.tag_block {
    overflow: hidden;
}
.tag_block ul {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	margin-bottom:15px;
	list-style: none;
}
p.cate {
	font-weight:bold;
}
.tag_block input[type=checkbox] {
	display: none; /* チェックボックスを非表示にする */
}
.tag_block input[type="checkbox"]:checked + label {
	background: #99CC00;/* マウス選択時の背景色を指定する */
	color: #ffffff; /* マウス選択時のフォント色を指定する */
}
.tag_block label:hover {
	background-color: #E2EDF9; /* マウスオーバー時の背景色を指定する */
}
.tag_block label {
	display: block;
	margin: 5px;
	padding: 5px 10px;
	cursor: pointer;
	color: #000;
	border: 1px solid #999999;
	border-radius: 5px;
}



.btn,
.btn_close {
	margin: 0 auto 15px;
}
.btn a {
	display: block;
	text-align: right;
	text-decoration: none;
}

.btn a span,
.btn a:hover span {
	padding: 0 0 0 15px;
	position: relative;

}
.btn a span:after,
.btn a:hover span:after {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 0.73333rem;
  content: "\f078";
  left: 0;
  position: absolute;
  top: 50%;
  -webkit-transform: translate(0%, -50%);
  -moz-transform: translate(0%, -50%);
  -ms-transform: translate(0%, -50%);
  -o-transform: translate(0%, -50%);
  transform: translate(0%, -50%);
}

.btn_close a {
	display: block;
	text-align: right;
	text-decoration: none;
}
.btn_close span,
.btn_close a:hover span {
	padding: 0 0 0 15px;
	position: relative;
}
.btn_close span:after,
.btn_close a:hover span:after {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 0.73333rem;
  content: "\f077";
  left: 0;
  position: absolute;
  top: 50%;
  -webkit-transform: translate(0%, -50%);
  -moz-transform: translate(0%, -50%);
  -ms-transform: translate(0%, -50%);
  -o-transform: translate(0%, -50%);
  transform: translate(0%, -50%);
}
