/*
 :title "common stylesheet";
 :shortdesc "Common stylesheet for HTML pages of this site";
*/

/* ------------------------------------------------------------------------- */
/* clear
/* ------------------------------------------------------------------------- */


/*要素のフォントサイズやマージン・パディングをリセットしています*/
html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, var,
b, i,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
    font-size:100%;
}



/* ------------------------------------------------------------------------- */
/* base
/* ------------------------------------------------------------------------- */

*{
	padding: 0px;
	margin: 0px;
}

body{
	text-align:center;
	font-family: "Hiragino Kaku Gothic ProN","メイリオ", sans-serif;
	color: #333;
	min-width: 720px;
	}

a{
	color: #333;
	text-decoration: underline;
}

a img{
	vertical-align: middle;
	margin-right: 10px;
}

img{
	border: none;
}

a:hover{
	text-decoration: none;
}



/* ------------------------------------------------------------------------- */
/* Layout
/* ------------------------------------------------------------------------- */

#all{
	margin:0 auto;
	text-align:left;
	font-size: 12px;
	line-height: 1.5em;
	}


/* header
/* ------------------------------------------------------------------------- */

#header{
}

h1{
	float: left;
	width: 100%;
	padding:10px 0;
	background-color: #262626;
	color: #a3a3a3;
}

h1 #logo{
	display: inline-block;
	width: 176px;
	height: 45px;
	margin: 0 10px;
	background-image: url(../image/logo.png);
	text-indent: -9999px;
	vertical-align: bottom;
}

h1 span{
	float: right;
	display: inline-block;
	margin: 10px 20px 0 0;
}

h1 span a{
	color: #fff;
	margin-left: 30px;
}


#head_data{
	float: left;
	width: 100%;
	background-color: #ededed;
}

#head_data #head_name{
	float: left;
	display: inline-block;
	margin: 10px 0 0 20px;
	color: #005dba;
}

#head_data #head_name img{
	margin-right: 10px;
	vertical-align: middle;
}

#head_data #head_menu{
	float: right;
}

#head_data #head_menu .head_tit{
	display: inline-block;
	margin: 10px;
}

#head_data #head_menu ul{
	float: right;
}

#head_data #head_menu ul li{
	float: left;
	list-style: none;
	border-left: 1px solid #262626;
	padding: 10px 15px;
}


/* breadline
/* ------------------------------------------------------------------------- */

#breadline{
	float: left;
	width: 100%;
	color: #84a813;
	padding: 10px 0;
	border-bottom: 1px solid #444;
	text-indent: 20px;
}

#breadline li{
	display: inline;
}

#breadline a{
	padding-right: 20px;
	margin-right: 5px;
	background-image: url(../image/icon_navi.png);
	background-repeat: no-repeat;
	background-position: right;
	color: #333;
}


/* コンテンツ
/* ------------------------------------------------------------------------- */

#container{
	float: left;
	width: 100%;
}

/* secondary
------------------------------------------------- */

#secondary{
	float: left;
	width: 200px;
	margin: 25px 0 0 20px;
}

#secondary section{
	margin-bottom: 20px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	overflow: hidden;
	background-color: #c1c1c1;
}


#secondary section li{
	border-top: 1px solid #ddd;
}

#secondary section a{
	display: block;
	text-decoration: none;
}

#secondary section a:hover, #secondary section .current{
	background-color: #262626;
	color: #fff;
}

#secondary section ul a{
	padding-left: 20px;
	background-image: url(../image/icon_arrow_globalmenu.png);
	background-repeat: no-repeat;
	background-position: 5% center;
	
}

#secondary section li li a{
	padding-left: 30px;
	text-indent: -1em;
}

#secondary section ul a:hover{
	background-image: url(../image/icon_arrow_globalmenu_white.png);
}

#secondary section ul ul{
	background-color: #ededed;
}
#secondary section ul ul a, #secondary section ul ul a:hover{
	padding-right: 10px;
	background-image: none;
}
#secondary h2{
	color: #fff;
	font-size: 14px;
	padding: 15px;
}

.contributor h2{
	background-color: #e05a90;
}

.contributor li{
	line-height: 3em;
}

.contributor li li{
	line-height: 1.5em;
}

.contributor li li a{
	padding: 10px 0;
}

.administrator h2{
	background-color: #146ea5;
}

.administrator li a{
	padding: 10px 0;
}

.administrator .tmp_list a{
	background-color: #ededed;
}

/* primary
------------------------------------------------- */
#primary{
	margin-right: 20px;
	margin-left: 250px;
}

#primary section{
	float: left;
	width: 100%;
	margin: 25px 0 10px 0;
}

#primary h2{
	padding: 10px;
	margin-bottom: 10px;
	background-color: #ededed;
	border: 1px solid #999999;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	font-size: 17px;
}

#primary h3{
	float: left;
	width: 100%;
	padding: 5px 0;
	border-bottom: 1px solid #aaa;
	font-size: 14px;
	font-weight: bold;
}

#primary h3 strong{
	float: right;
	display: inline-block;
	font-size: 11px;
	color: #d32d71;
}

.hissu{
	padding: 3px;
	margin: 0 5px;
	display: inline-block;
	background-color: #d32d71;
	color: #fff;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	line-height: 1em;
	font-size: 11px;
	font-weight: bold;
}

/* コンテンツボタン */
#primary .coment ul{
	float: right;
	list-style: none;
	padding-bottom: 10px;
}

#primary .coment ul li{
	display: inline-block;
}

#primary .coment ul li a{
	display: block;
	padding: 5px 20px;
	margin: 5px 0 5px 5px;
	background-color: #333;
	color: #fff;
	-webkit-border-radius: 5px;
	border-radius: 5px;
}

#primary .coment ul li a:hover{
	background-color: #555;
}

#primary .coment strong{
	padding: 0 5px;
	font-size: 130%;
}

.link_admin{
	float: left;
	width: 100%;
	text-align: right;
}

.link_admin a{
	display: inline-block;
	margin-right: 10px;
	color: #005dba;
}

.btn_sort{
	float: right;
	display: block;
	width: 16px;
	height: 16px;
	background-position: top;
	background-repeat: no-repeat;
	text-indent: -9999px;
	background-image: url(../image/icon_sort_arrow.png);
}

.btn_sort.up{
	background-image: url(../image/icon_sort_arrowup.png);
}

.btn_sort.down{
	background-image: url(../image/icon_sort_arrowdown.png);
}

.btn_sort:hover{
	background-position: bottom;
}



/* テーブル
----------------------------- */

.table_default{
	float: left;
	width: 100%;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	overflow: hidden;
	border: 1px solid #333;
	margin: 15px 0;
}

table{
	width: 100%;
	border-collapse: collapse;
	font-size: 100%;
}

#primary section table th, #primary section table td{
	padding: 10px;
	border: 1px solid #aaa;
}

#primary section table th{
	background-color: #ededed;
	text-align: left;
}

#primary section table a{
	color: #005dba;
}


/* 公開区分 */

#primary section table th.classification, #primary section table td.classification{
	width: 100px;
	text-align: center;
}

.classification span{
	display: block;
	padding: 5px 0;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	color: #fff;
	font-weight: bold;
}

.classification span.release{
	background-color: #84a813;
}

.classification span.private{
	background-color: #424242;
}

.classification span.designation{
	background-color: #146ea5;
}

/* 投稿日時 */

#primary section table th.post_time, #primary section table td.post_time{
	width: 130px;
	text-align: center;
}

/* チェックボックス */

.checkbox{
	width: 15px;
	text-align: center;
}

/* 中央寄せ列(PG追加分) */

#primary section table th.center, #primary section table td.center{
	text-align: center;
}

#primary section table th.center_id, #primary section table td.center_id{
	width: 80px;
	text-align: center;
}

#primary section table th.center_normal, #primary section table td.center_normal{
	width: 200px;
	text-align: center;
}

/* 赤文字(PG追加分) */
.string_red {
	color: #ff0000;
}

/* ページャー
----------------------------- */
.pager{
	float: left;
	width: 100%;
}

.pager a{
	display: inline-block;
	padding: 5px 10px;
	margin-right: 5px;
	border: 1px solid #999;
	background-color: #ededed;
	text-decoration: none;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	line-height: 1.5em;
}

.pager a:hover, .pager a.current{
	background-color: #333;
	border: 1px solid #333;
	color: #fff;
}



/* フォーム
----------------------------- */

form input, form select{
	-webkit-border-radius: 3px;
	border-radius: 3px;
	border: 1px solid #aaa;
	font-size: 12px;
	padding: 5px;
	margin: 3px 0;
	font-family: "Hiragino Kaku Gothic ProN","メイリオ", sans-serif;
	vertical-align: middle;
}

form input[type="text"]{
	width: 130px;
}

form .long{
	width: 95% !important;
}

form .middle{
	width: 80% !important;
}

.bikou{
	margin-top: 10px;
	font-size: 11px;
}

.posting th{
	width: 150px;
}

.posting_article{
	height: 500px;
	min-height: 500px;
}

.form_btn{
	float: left;
	width: 100%;
	margin: 15px 0;
}

.form_btn a{
	display: inline-block;
	padding: 10px 20px;
	margin-right: 10px;
	margin-bottom: 10px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	color: #fff;
	font-size: 15px;
}

.form_btn a:hover{
	opacity: 0.7;
	filter: alpha(opacity=70);
	-ms-filter: "alpha( opacity=70 )";
}

.form_btn a.replace{
	background-color: #84a813;
}

.form_btn a.preview{
	background-color: #146ea5;
}

.form_btn a.cancel{
	background-color: #4c4c4c;
}

.form_btn a.delete{
	background-color: #C92F00;
}


/* メッセージ
----------------------------- */

#alert, #msg{
	float: left;
	width: 100%;
	background-color: #FFF58C;
	margin: 10px 0 10px 0;
	border: 5px solid #E2D434;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	font-size: 14px;
}

#alert{
	background-color: #FFB2B2;
	border: 5px solid #BF4141;
}

#alert:first-child, #msg:first-child{
	margin: 25px 0 10px 0;
}


#alert small, #msg small{
	display: block;
	padding: 15px 10px;
}

#msg_close{
	display: block;
	float: right;
	width: 30px;
	height: 30px;
	background-image: url(../image/icon_close.png);
	margin: 10px;
	cursor: pointer;
}




/* pagetop
/* ------------------------------------------------------------------------- */

/* pagetop
---------------------------------------------------------- */

.pagetop{
	width: 100%;
	float: left;
}

.pagetop a{
	display: block;
	width: 125px;
	height: 45px;
	float: right;
	margin-right: 20px;
	margin-top: 10px;
	background: url(../image/icon_pagetop.png)  no-repeat center #262626;
	text-indent: -9999px;
	outline: none;
	-webkit-border-radius: 5px 5px 0 0;
	border-radius:  5px 5px 0 0;
}

.pagetop a:hover{
	opacity: 0.7;
	filter: alpha(opacity=70);
	-ms-filter: "alpha( opacity=70 )";
}


/* footer
/* ------------------------------------------------------------------------- */

#footer{
	float: left;
	width: 100%;
	padding-bottom: 15px;
	background-color: #4c4c4c;
	text-align:center;
	color: #fff;
	line-height: 2em;
}

#footer #footer_menu{
	padding: 15px 0;
	margin-bottom: 15px;
	background-color: #262626;
	text-align: left;
}

#footer a{
	display: inline-block;
	margin-left: 20px;
	color: #fff;
}

.footer_logo{
	display: inline-block;
	height: 18px;
	margin-right: 10px;
	vertical-align: middle;
}

address{
	color: #a3a3a3;
	font-style: normal;
}


/* ------------------------------------------------------------------------- */
/* ログイン
/* ------------------------------------------------------------------------- */

.login{
	max-width: 800px;
	margin: auto !important;
}

.login #alert,.login #msg{
	
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}


#login{
	clear: both;
	width: 400px;
	padding-top: 100px;
	margin: 0 auto 400px auto;
	font-size: 14px;
}

#login div{
	margin-bottom: 30px;
}

#login table th, #login table td{
	padding: 10px;
	border: 1px solid #aaa;
}

#login table th{
	width: 90px;
	background-color: #ededed;
}

#login table td input{
	width: 95%;
}

#login a{
	clear: both;
	display: block;
	padding: 10px 0;
	margin: 0 50px;
	background-color: #262626;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	text-align: center;
	color: #fff;
	text-decoration: none;
	font-size: 16px;
}

#login a:hover{
	opacity: 0.7;
	filter: alpha(opacity=70);
	-ms-filter: "alpha( opacity=70 )";
}
