/* 全ディバイスに適用するCSS */
/* ボディ */
body
{
	margin: 0;				/* スペース */
	padding: 0;			/* 余白 */
	font-size: 15px;		/* 文字サイズ */
	line-height:140%;	/* 行の高さ */
	background-image: url(../item/back10.jpg);
	background-attachment: fixed;
}

a:link {
	text-decoration: none;
}
a:visited {
	text-decoration: none;
}
a:hover {
	text-decoration: underline;
	color: #FF0000;
}
a:active {
	text-decoration: none;
}



/* メイン*/
.main
{
	width: 1000px;
	margin: 10px auto;	/* 左右に[auto]を指定することで、真ん中に寄る */
	padding: 0;		/* 上下左右の余白を0にしておく */
	text-align: center;

}

.index
{
    width: 100%;
	margin: 10px auto 0;
	padding: 0 ;		/* 余白 */
	text-align: left;
}

.index-logo
{
	width: 200px ;		/* 横幅 */
	height: auto ;		/* 高さ */
}

h1
{
    color: #FF9966;
	text-align: center;
	padding: 10px 0 10px;	
}

h2
{
    color: #FF9966;
	text-align: center;
}

/* 目次*/
ul.list-top
{
    display:table;
    table-layout:fixed;
	width: 300px ;
	margin: 0 auto ;		/* スペース */
	padding: 5px 0 5px;	/* 余白 */
}

/* 目次リスト*/
ul.list-top li
{
    display:table-cell;
    vertical-align:middle;
    text-align:center;
    border-left:1px solid white;
	background-color: #FFCC99;
}

table {
  border: 3px solid #FF9966;
  border-collapse: collapse;
  margin: 0;
  padding: 0;
  table-layout: fixed;
  width: 100%;
}
table tr {
  background: #FFFFFF;
  border: 1px solid #FF9966;
  padding: .35em;
}
table th,
table td {
  padding: .625em;
  text-align: left;
}

table th.width
{
  width: 15%;
}

.closing
{
    text-align: center;
	width: 100% ;
}

.ads
{
    width: 100% ;
	height: 90px;
	margin: 30px 0 ;
}

.logo
{
	width: 100% ;
    height: auto ;		
}

/* PC以外だけに適用するCSS */
@media screen and ( max-width:1000px )
{
	.main
	{
		width: 100% ;
		padding: 0 10px ;		/* 左右の余白 */
	}
}

@media screen and ( max-width:800px )
{
	/* ボディ */
	body
	{
		font-size: 13px ;	/* 文字サイズ */
	}
}

@media screen and (max-width: 600px) {
  table thead {
    display: none;
  }
  table tr {
    border-bottom: 3px solid #FF9966;
    display: block;
  }
  table td {
    border-bottom: 1px solid #FF9966;
    display: block;
    text-align: centert;
  }
  table td:before {
    content: attr(aria-label);
    float: left;
  }
}