@charset "utf-8";

/********* HTMLリセット *********************************************/

body, div, h1, h2, h3, h4, h5, h6, p, ul, ol, li, dl, dt, dd, pre, blockquote, th, td, form, fieldset, input, textarea {
	margin: 0;
	padding: 0;
}
h1, h2, h3, h4, h5, h6 {
	font-size: 100%;
	font-weight: normal;
}
em, strong, code, address, th {
	font-weight: normal;
	font-style: normal;
}
ul, ol {
	list-style: none;
}
q:before, q:after {
	content: "";
}
abbr, acronym {
	border: 0;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
th {
	text-align: left;
}
fieldset, img {
	border: 0;
}

/********* HTML再定義 ***********************************************/

body {
	line-height: 1.4;
	margin: 0 auto;
	padding: 10px;
	background-color: #EEEEEE;
	color: #000000;
	font-size: 80%;
	font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", sans-serif;
}

h1 {
	line-height: 1.0;
	font-size: 200%;
	font-weight: bold;
}
h2 {
	margin: 10px 0;
	padding: 5px 0;
	border-top: 1px solid #AAAAAA;
	border-bottom: 1px solid #AAAAAA;
	font-weight: bold;
}
h3 {
	font-weight: bold;
}

p {
	margin: 10px 0;
}
em, strong {
	font-style: normal;
	font-weight: bold;
}
ul {
	margin: 10px 20px;
}
ul li {
	list-style: disc;
}
ol {
	margin: 10px 30px;
}
ol li {
	list-style: decimal;
}
dl {
	margin: 10px 0;
}
dl dd {
	margin-left: 30px;
}
pre {
	overflow: auto;
	margin: 10px 0;
	padding: 10px;
	border: 1px solid #DDDDDD;
}
code {
	color: #000080;
}
pre, code {
	line-height: 1.2;
	font-size: 100%;
	font-family: "ＭＳ ゴシック", monospace;
}
blockquote {
	overflow: auto;
	margin: 10px 0;
	padding: 0 15px;
	border-left: 2px solid #7777AA;
}
blockquote div, blockquote p, blockquote li, blockquote dt, blockquote dd {
	color: #777777;
}
address {
	padding-top: 10px;
	border-top: 1px solid #999999;
}

table {
	margin: 15px 0;
	border: 1px solid #666666;
}
table tr th {
	padding: 5px;
	border: 1px solid #AAAAAA;
	background-color: #EEEEEE;
	font-weight: bold;
	text-align: center;
}
table tr td {
	padding: 5px;
	border: 1px solid #AAAAAA;
}
table tr td input {
	margin: -2px 0;
}


form legend {
	display: none;
}
form input, form textarea {
	padding: 1px;
}
form dl dt {
	float: left;
	clear: left;
	width: 6em;
}
form ul {
	margin: 15px 0px;
}
form ul li {
	list-style: none;
}
form p input {
	padding: 2px;
}
img {
	vertical-align: middle;
	margin: auto 1px;
}

a:link, a:visited {
	color: #0000CC;
	text-decoration: underline;
}
a:active, a:hover {
	color: #FF7700;
	text-decoration: underline;
}

/********* 基本構造 *************************************************/

div#container {
	width: 550px;
	margin: 0 auto;
	padding: 20px;
	border: 1px solid #666666;
	background-color: #FFFFFF;
}
div#menu {
	border-top: 1px solid #999999;
	border-bottom: 1px solid #999999;
}
div#form {
	margin-top: 10px;
	padding-top: 10px;
	border-top: 1px solid #999999;
}
div#work {
	margin-bottom: 20px;
}

/********* メニュー *************************************************/

div#menu h2 {
	display: none;
}
div#menu ul {
	margin: 5px 0;
}
div#menu ul li {
	display: inline;
	list-style: none;
	margin-right: 10px;
}

/********* 投稿フォーム *********************************************/

div#form h2 {
	display: none;
}

/********* 記事一覧 *************************************************/

div#article h2 {
	display: none;
}
div#article div.article {
	margin: 15px 0;
	padding: 10px;
	border: 1px solid #AAAAAA;
}
div#article ul.info {
	margin: 0;
	text-align: right;
}
div#article ul.info li {
	display: inline;
	margin-left: 5px;
}

/********* ページ移動 ***********************************************/

div#page h2 {
	display: none;
}
div#page ul {
	margin: 5px 0;
}
div#page ul li {
	display: inline;
	margin-right: 10px;
}

/********* ナビゲーション *******************************************/

div#navi h2 {
	display: none;
}
div#navi ul {
	margin: 5px 0;
	text-align: right;
}
div#navi ul li {
	display: inline;
	margin-left: 5px;
}

/********* 処理選択 *************************************************/

div#work form {
	margin: 10px 0;
}
div#work form dl dt {
	display: none;
}
div#work form dl dd {
	margin: 0;
}

/********* 設定編集 *************************************************/

div#config form div.data {
	margin-bottom: 20px;
}
div#config form div.data h3 {
	margin: 20px 0 15px 0;
	padding: 3px;
	background-color: #EEEEEE;
}
div#config form div.data p.comment {
	margin: 0 3px 3px 3px;
}
div#config form div.data p.config {
	margin: 0 3px 10px 3px;
}

/********* 個別指定 *************************************************/

.attention {
	color: #FF0000;
	font-weight: bold;
}

/********* IE6用設定 ************************************************/

* html body {
	text-align: center;
}
* html body div#container {
	width: 590px;
	text-align: left;
}
* html body pre {
	width: 100%;
}
* html body table tr th, * html body table tr td {
	font-size: 80%;
}

/********* テーブル追加要素 ************************************************/
.row-head {
  border-collapse: collapse;
  vertical-align: middle;
  width: 100%;
}
 
.row-head th,
.row-head td {
  border: 1px solid #AAAAAA;  
  padding: 8px;
}
 
.row-head th {
  background: #EEEEEE;
}
 
.row-head label {
  line-height: 34px;
  margin: 0;
}

/********* レスポンシブ *********************************************/

@media (max-width: 480px) {
	body {
		padding: 5px;
	}
	form textarea {
		width: 95%;
	}
	img {
		max-width : 100%;
		height: auto;
	}
	div#container {
		width: 100%;
		padding: 0px;
	}
	div#content {
		float: none;
		width: 100%;
	}
div#menu {
	border-bottom: none;
}

table {
	border: none;
}

  .row-head thead {
    display: none;
  }
    
  .row-head tr,
  .row-head td {
    display: block;
    width: auto;
  }
  
  .row-head tr {
    border: 1px solid #AAAAAA;
    border-radius: 5px;
    box-shadow: 3px 3px rgba(0, 0, 0, .1);
    margin-bottom: 20px;
    padding: 8px 8px 0;
  }
  
  .row-head td {
    border: none;
    border-bottom: 1px solid #AAAAAA;
    display: flex;
    justify-content: space-between;
    text-align: right;
    }
  .row-head td:last-child {
    border-bottom: none;
  }
  .row-head td::before {
    content: attr(aria-label);
    display: inline-block;
    font-weight: bold;
    float: left;
    text-align: left;
    padding-right: 20px;
    white-space: nowrap;
  }


}

