*{
	margin:0;
	padding:0;
	border:0;
	font-size:100%;
	font:inherit;
	vertical-align:baseline;
}

article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{
	display:block;
}

body{
	line-height:1;
}

ol,ul{
	list-style:none;
}
blockquote,q{
	quotes:none;
}

blockquote:before,blockquote:after,q:before,q:after{
	content:'';content:none;
}

table{
	border-collapse:collapse;
	border-spacing:0;
}

body {
 margin: 0;
 padding: 0 0 200px 0;
/* background: #ebe7d2;*/
	background: #ffffff;
/*	background: #faf0e6;*/
 color: #222;
 font-size : 13px;
 font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro",Osaka, "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}

/* clear用のセレクタ */
.clear { 
	clear:both; 
}  

h1 { 
	font-size:48px; 
	font-family: 'Tangerine', cursive;
	text-align: center;
 }

/*============================================
ヘッダ
============================================*/
#header { 
	width: 100%;
	max-width: 1080px;
	padding: 8px 0;
	margin: 4px auto -1px auto;
	background: #ffffff;
/*	border: 1px solid #e6e6fa;*/
}
#header .hleft{
		width:208px;
		float:left;
		padding-left: 4px;
}
#header .hleft .hltxt h1{
		text-decoration: none;
		font-weight: normal;
		color:#999999;
		font-size:74.2%;
		padding-left:0px;
		padding-top: 2px;
}

#header .hleft .hlimg{
		margin:0;
		padding-top:12px;
		padding-left:2px;
		float:reft;
		color:#fff;
}
#header .hright{
			width:496px;
			float:right;
			padding-right: 4px;
}
#header .hright .hrtxt{
		color:#999999;
		font-size:12px;
		text-align: right;
		padding-right: 2px;
}
#header .hright .hrimg{
		padding-left:0px;
		padding-top: 5px;
		float:left;
}

#header .hrights{
			width:240px;
			float:right;
			padding-right: 2px;
}
#header .hrights .hrtxt{
		color:#999999;
		font-size:12px;
		text-align: right;
		padding-right: 2px;
}
#header .hrights .hrimg{
		padding-left:0px;
		padding-top: 5px;
		float:left;
}

/*============================================
コンテンツ
============================================*/
#main-conteiner{
	background:#ffffff;
	
}


#contents {
	width: 100%;
	max-width: 1080px;
	margin: 0 auto;
	padding: 0;
	background: #ffffff;
/*	height: 100%;*/
	border-top: 1px solid #fdf5e6;
/*	border-right: 1px solid #e6e6fa;*/
}

#main{
	float: left;
	width: 76%;
	margin: 0;
	padding: 0;
	
}

#main-in { 
	margin-left: 4px;
	padding: 15px 15px 40px 15px;
	background: #ffffff;
/*	border: 1px solid #808080;*/

}


#left-contents{

	padding: 15px 15px 15px 15px;
	background: #ffffff;
	border-left: 2px solid #8d990f;

}
/*============================================
フッタ
============================================*/
#footer {
	clear: both;	
	width: auto;
	max-width: 1080px;
	color: #9966ff;
	font-size : 12px;
	background:  #ffffff;
	text-align: center;
	border-top: 1px solid  #e6e6fa;
	padding: 12px 0px 12px 0px;

}
/*============================================
 ページブロック
============================================*/

.page_brock{
	font-size : 16px;
	padding: 1em;
	text-align: center;
}
.page_brock ul {
	margin: 0;
	padding: 0;
	text-align: center;
}
.page_brock ul li {
	list-style: none;
	display: inline;
	margin: 0;
	padding: 0;

}
.page_brock ul li strong {
	display: -moz-inline-box; 
	display: inline-block;
	padding: 0.25em 0.4em;
	background-color: #EEEEEE;
	border: 1px #CCCCCC solid;
}
.page_brock ul li a {
	display: -moz-inline-box; 
	display: inline-block;
	padding: 0.25em 0.4em;
	background-color: #fff;
	border: 1px #cccccc solid;
}

.page_brock ul li a:link,
.page_brock ul li a:visited {
	border-color: #cccccc;
	background-color: #fff;
}
.page_brock ul li a:hover,
.page_brock ul li a:active {
	border-color: #003399;
	background-color: #2d56be;
	color: #FFFFFF;
}


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

#navigation{
	float: left;
	width: 24%;
	margin: 0;
	padding: 0;
}

#navigation h3{
 	margin: 0;
 	padding: 8px 5px 5px;
	background: #8d990f;
	color: #fff;
	font-size: 14px;
	text-align: center;
}


#menu h3:nth-of-type(1){ background: #8d990f; }
#menu h3:nth-of-type(2){ background: #99820f; }
#menu h3:nth-of-type(3){ background: #995f0f; }
#menu h3:nth-of-type(4){ background: #993d0f; }
#menu h3:nth-of-type(4){ background: #a52a2a; }


/*
#menu h3:nth-of-type(1){ background: #888888; }
#menu h3:nth-of-type(2){ background: #888888; }
#menu h3:nth-of-type(3){ background: #888888; }
#menu h3:nth-of-type(4){ background: #888888; }
#menu h3:nth-of-type(5){ background: #888888; }
*/

#navigation ul{
	list-style-type: none;
	margin: 0;
	padding: 0;
	background: #fff;
	border-left: 2px solid #8d990f;

}


#menu ul:nth-of-type(1){ border-color: #8d990f; }
#menu ul:nth-of-type(2){ border-color: #99820f; }
#menu ul:nth-of-type(3){ border-color: #995f0f; }
#menu ul:nth-of-type(4){ border-color: #993d0f; }
#menu ul:nth-of-type(4){ border-color: #a52a2a; }

/*
#menu ul:nth-of-type(1){ border-color: #888888; }
#menu ul:nth-of-type(2){ border-color: #888888; }
#menu ul:nth-of-type(3){ border-color: #888888; }
#menu ul:nth-of-type(4){ border-color: #888888; }
#menu ul:nth-of-type(5){ border-color: #993d0f; }
*/

#navigation ul li{
	width: 100%;
	margin: 0;
	padding: 0;
}

#navigation ul li a{
	display: block;
	margin: 0;
    height: 16px; /* my */
	padding: 8px 10px;
	color: #333;
	font-size: 14px;
	text-align: left;
	border-bottom: #dcdddd 1px solid;	/* my */
	border-right: #dcdddd 1px solid;	/* my */
	text-decoration: none;
}

#navigation li a:hover{
	background: #eee;
}
#toggle{
	display: none;
}
.end_line{
		border: 1px solid #888888;
}
#header .hrights{
				display: none;
}

/* ================================================================ */

@media only screen and (max-width: 980px) {
#header { 
	margin: 0;
}
#main {
	float: none;
	clear: both;
	width: 100%;
}
#main-in {
	margin-left: 0;
}

#navigation{
	float: none;
	width: 100%;
	background: #ebe7d2;
}

#navigation h3{
    clear: both;
    position: relative;
    z-index: 9999;
 }

#menu {
 display: none; 
 position: relative; 
}

#menu:after {
    position: absolute;
    content:"";
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: #d6cea3;
  }
#navigation ul{
    border-left-width: 3px;
    border-right-width: 3px;
    border-right-style: solid;
    background: #ebe7d2;
}
#navigation ul:before,
#navigation ul:after{
    content: "";
    display: table;
}
#navigation ul:after{ clear: both; }
#navigation ul{ *zoom: 1; }
#navigation ul li{
    float: left;
    width: 25%;
    box-sizing: border-box;
    border-right: 1px solid #d6cea3;
    border-bottom: 1px solid #d6cea3;
}
#navigation ul li:nth-of-type(4n){ border-right: 0; }
#navigation ul li a{
    text-align: center;
    padding: 12px 0px;
}
#navigation ul li a:hover{ background: #f5f4ea; }
#toggle{
    display: block;
    position: relative;
    width: 100%;
    background: #222;
}
#toggle a{
    display: block;
    position: relative;
    padding: 15px 0 10px;
    color: #fff;
    text-align: center;
    text-decoration: none;
}
#toggle:before{
    display: block;
    content: "";
    position: absolute;
    top: 50%;
    left: 10px;
    width: 20px;
    height: 20px;
    margin-top: -10px;
    background: #fff;
}
#toggle a:before, #toggle a:after{
    display: block;
    content: "";
    position: absolute;
    top: 50%;
    left: 10px;
    width: 20px;
    height: 4px;
    background: #222;
}
#toggle a:before{ margin-top: -6px; }
#toggle a:after{ margin-top: 2px; }

}

/* ================================================================ */

@media only screen and (max-width: 767px) {
#navigation ul li{
		 width: 50%;
 }
 #navigation ul li:nth-of-type(2n){ 
	border-right: 0;
 }
#header .hright{
		display:none;
}
#header .hrights{
		display:inline;
}

}


/* ================================================================ */

@media only screen and (max-width: 479px) {
#navigation ul li{
    float: none;
    width: 100%;
  }

#header .hright{
		display:none;
}
#header .hrights{
		display:none;
}


}
