/* reset.css */
html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, code, del, dfn, em, img, q, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td{
	margin:0;
	padding:0;
	border:0;
	list-style: none;
	box-sizing: border-box;
}
table{
	border-collapse:separate; border-spacing:0;
}
caption, th, td{
	text-align:left; font-weight:400;
		word-wrap: break-word;     /* 旧プロパティ名 */
	overflow-wrap: break-word; /* 新プロパティ名 */

}
 td{
 padding: 0.5em;
 }
a img{
	border:none;
}
em{
	font-style: normal;
	font-weight: bold;
}

/* clearfix ----------- */
.clearfix:after{
    content: "."; 
    display: block; 
    height: 0; 
    font-size:0;	
    clear: both; 
	visibility:hidden;
}
.clearfix{
	display: inline-block;
	min-height:1%;  /* for IE 7*/
} 
/* IE Mac */
* html .clearfix{
	height: 1%;
}
.clearfix{
	display:block;
}


/*################################################################################*/



body {
	font: 13px/1.6em "メイリオ",Meiryo,"ヒラギノ角ゴPro W3","Hiragino Kaku Gothic Pro","ＭＳ Ｐゴシック",sans-serif;
	margin: 0px;
	padding: 0px;
	color: #291C10;
	min-width: 1000px;
	background: #f5f5f5;
	letter-spacing: 1px;
}
.clear{
	clear:both;
}

/* 画像枠 */
.imgBorder , .imgLink {
	border: 1px solid #CCC;
	margin-right: 5px;
	margin-bottom: 5px;
}


/* 通常リンク色 */
a{
	color: #0262B9;
}
a:hover{
	color: #54B1FE;
	text-decoration: none;
}


/* 全共通横幅（ここを変えると全ての横幅が修正されます） */
.allWide{
	width: 100%;
	max-width: 1000px;
	margin-right: auto;
	margin-left: auto;
}

/* 横ライン */
.sideLine{
	border-right: 1px solid #CCC;
	border-left: 1px solid #CCC;
}

hr{
	margin-top: 30px;
	margin-bottom: 30px;
	border-top: 1px solid #999;
	border-right: none;
	border-bottom: none;
	border-left:none;
}

noscript{
	color:#F00;
	line-height:3em;
	letter-spacing: 3px;
	text-align:center;
	font-weight: bold;
	display: block;
}

/*トップヘ戻る*/
#backTop{
	cursor:pointer;
	position: fixed;
	right: -70px;
	bottom: 10px;
	z-index: 500;
}



/*********************************************************************************
/////　　h e a d e r　 ///////////////////////////////////////////////////////////
*********************************************************************************/
header{
	/*min-width:1000px;*/
	border-bottom: 3px solid #545454;
	box-shadow: 0px 0px 10px #666;
	background: #FFF;
}
header h1{
	height: 65px;
	float: left;
	padding-top: 25px;
	padding-left: 10px;
	font-size: 10px;
	font-weight: normal;
	color: #666;
}

/* ヘッダーメニュー */
header .nav{
	float: right;
	border-right: 1px solid #CCC;
	margin-top: 60px;
	margin-right: 15px;
	text-shadow: 0px 0px 3px #CCC;
	letter-spacing: 1px;
	font-size: 11px;
	line-height: 1.4em;
}
header .nav a{
	color: #666;
	border-left: 1px solid #CCC;
	padding-right: 10px;
	padding-left: 10px;
	text-decoration: none;
	display: inline-block;
}
header .nav a:hover{
	color: #000;
	text-decoration: underline;	
}



/*********************************************************************************
/////　　グ　ロ　ー　バ　ル　メ　ニ　ュ　ー　 ///////////////////////////////////
*********************************************************************************/
nav {
	/*min-width:1000px;*/
	border-top: 1px solid #dadada;
	border-bottom: 3px double #dadada;
	background: url(../img/gnavi_bg.jpg) repeat-x;
}
nav li{
	float: left;
	text-align: center;
	/*width: 249px;*/
	width: 25%;
	font-size: 18px;
	letter-spacing: 2px;
	text-shadow: 0px 0px 3px #999;
	line-height: 1em;
	box-sizing: border-box;
}
nav li em{
	height: 20px;
	font-weight: normal;
	display: block;
	padding-top: 18px;
		box-sizing: content-box;

}
nav li p{
	/* 文字色と背景色は「home.js」で */
	letter-spacing: 2px;
	font-size: 10px;
	text-shadow: 0px 0px 3px #666;
	margin-top: 10px;
	padding-top: 3px;
	height: 13px;
	line-height: 1em;
	border-top: 1px solid #b6b6b6;
	background-color:#4f4f4f;
	color: #999;
	display: block;
	box-sizing: content-box;

}
nav li a , nav li a:hover {
	text-decoration: none;
	color: #4f4f4f;
	display: block;
}
nav li.selected a p{
	background-color:#770000;
	color: #bc8282;
}

/*********************************************************************************
/////　　f o o t e r　 //////////////////////////////////////////////////////////
*********************************************************************************/

footer{
	background: #FFF;
	/*min-width:1000px;*/
	border-top: 3px solid #545454;
	box-shadow: 0px 0px 10px #666;
	position: relative;
	z-index: 10;
}
footer #copyright{
	background: #333;
	border-top: 4px double #999;
	color: #999;
	padding-bottom: 70px;
}
footer #copyright small{
	border-bottom: 1px solid #999;
	font-size: 0.8em;
	line-height: 1.4em;
	padding-top: 15px;
	padding-bottom: 15px;
	display: block;
	margin-bottom: 15px;
}

footer .allWide span{
	display: inline-block;
}
/* フッターメニュー //////////////////////////// */
.gridBox{
	display: grid;
	grid-template-columns:repeat(5, 20%);
}
footer dl{
	border-left: 1px solid #CCC;
	/*float: left;
	width: 189px;*/
	padding:20px 1em;
	/* footerの高さ */
	/*height: 180px;*/
	box-sizing: border-box;
}
footer dt a{
	font-size: 14px;
	line-height: 1.8em;
	font-weight: bold;
	color: #000;
	background: url(../img/footer_circle.png) no-repeat left 3px;
	padding-left: 20px;
	display: inline-block;
	text-decoration: none;
}
footer dt a:hover{
	font-size: 14px;
	line-height: 1.8em;
	font-weight: bold;
	color: #000;
	text-decoration: underline;
}
footer dd{
	font-size: 12px;
	padding-left: 20px;
}
footer dd a{
	color: #666;
	text-decoration: none;
}
footer dd a:hover{
	color: #000;
	text-decoration: underline;
}

/* home専用 */
footer dl#home{
	border-left: none;
}
footer dl#home a{
	background: url(../img/footer_home.png) no-repeat 5px 4px;
	padding-left: 30px;
}


/* コピーライトメニュー ////////////////////// */
footer .nav{
	float: right;
	border-right: 1px solid #999;
	margin-right: 15px;
	letter-spacing: 1px;
	font-size: 1em;
	line-height: 1.4em;
}
footer .nav a,#copyright small a{
	color: #CCC;
	text-decoration: none;
}

footer .nav a{
	border-left: 1px solid #999;
	padding-right: 10px;
	padding-left: 10px;
	display: inline-block;
}
footer .nav a:hover ,#copyright small a:hover{
	color: #FFF;
	text-decoration: underline;	
}
@media (max-width: 1000px) {

nav li{
font-size: 16px;
}
}
@media (max-width: 786px) {
body{
	min-width: 0;
}
header h1{
	padding-top: 1em;
}
header .nav{
margin-top: 2em;
}
nav li{
font-size: 2.3vw;
width: 50%;
}
.gridBox{
	grid-template-columns:repeat(2, 50%);
}
footer dl{
	border-bottom: 1px solid #CCC;

}
footer dl#home{
	 grid-column: span 2;

}
footer #copyright{
padding: 0 1em 70px;
}
footer .nav{
float: none;
display: inline-block;
}
}