/*ボディ共通*/
body {
	margin: 0px;padding: 0px;
	color: #000000;
	background: #ffffff url("../image/kabe01.gif");
}
h1,h2,h3,h4,h5,p,ul,ol,li,dl,dt,dd,form,form {margin: 0px;padding: 0px;font-size:100%;}
ul {list-style-type: none;}
ol {padding-left: 40px;padding-bottom: 15px;}
img {border: none;max-width: 100%;height: auto;vertical-align: middle;}
table {border-collapse:collapse;font-size: 100%;border-spacing: 0;}
iframe {width: 100%;}

p {line-height: 1.3;}

/*カラー設定*/
.c-Lblue {color: #0080ff;}
.c-blue {color: #0033cc;}
.c-pink {color: #0033cc;}
.c-red {color: #d63333;}
.c-or {color: #ff8000;}
.c-pr {color: #8533d6;}
.c-gr {color: #1a6600;}

a {color: #0080ff;}

a:hover {
	color: #004d99;	
	text-decoration: none;	
}



/*ヘッダー*/

header {
	background: #ffffff url("../image/kabe01.gif");

	color: #0033cc;
    padding:5px 10px 5px 10px;
}
}
header .inner {
　　padding-left: 20px; 
	height: 120px;
	position: relative;
}

/*ロゴ画像*/

#logo img {
	width: 500px;
}

/*メニューS*/
#menubar-s {
	display: block;	
	overflow: hidden;
}

#menubar-s li {
	float: left;
	width: 100%;
}
#menubar-s li a {
	text-decoration: none;
	display: block;
	text-align: center;
	line-height: 50px;	
	color: blue;
}

#menubar-s li a:hover {
	background: #bbddff;
	color:#0033cc;
}


/*コンテンツ*/
#contents {
	overflow:visible;
	clear: both;
	margin: 3%;
}


#main {
	float: right;
	width: 73%;	
}

#main h2 {
	clear: both;
	margin: 12px 0px;
	padding: 8px 20px;
	background: #66b3ff;
	color: #fff;
	border-radius: 18px;
}

#main h3 {
	clear: both;
	margin-bottom: 12px;
	padding: 6px 20px;
	border: 1.5px solid #0080ff;
	background: #fff;
	border-radius: 18px;
}

#main p {
	padding: 15px 20px 20px;
}
#main h2 + p,
#main h3 + p {
	margin-top: -10px;
}

/*おしらせ*/
#new dl {
	padding: 0px 15px;
	height: 150px;	
	overflow: auto;
}

#new dt {
	font-weight: bold;
	float: left;
	width: 50px;
}

#new dd {
 	line-height: 1.3;
	padding-left: 8em;
	padding-bottom: 5px;
}


/*ぴっくあっぷ*/

#sub {
	float: left;
	width: 24%;	
}

/*subコンテンツ内のh2タグ設定*/
#sub h2 {
	padding: 5px 15px;	
	font-weight: bold;
	font-size: 20px;
	line-height: 1.5;
	color: #fff;
	background: #335cd6;
	border-top: 1px solid #335cd6;
	border-bottom: 1px solid #335cd6;
}

/*navの直後にnavとh2が続いた場合と、navタグの直後にh2が続いた場合に、h2の上のラインを消す設定*/
#sub nav + nav h2,
#sub nav + h2 {
	border-top: none;
}
/*sub*/
#sub h2 span {
	display: block;
	font-size: 13px;
	letter-spacing: normal;	
}

#sub p {
	padding: 15px;
}

#sub ul.submenu {
	background: #fff;
	border-top: 1px solid #335cd6;
}
/*h2タグの直後にsubmenuが入った場合にsubmenuの上のラインを消す設定*/
#sub h2 + ul.submenu {
	border-top: none;
}

#sub ul.submenu li a {
	text-decoration: none;
	display: block;
	padding: 15px;
	color: #335cd6;
	border-bottom: 1px solid #335cd6;
}

#sub ul.submenu li a:hover {
	background: #668cff;
	color: #fff;
}

#sub ul.subicon li a {
	text-decoration: none;
	display: block;
	padding: 10px;
}


/*フッター*/
footer {
	clear: both;

}
footer p{
	padding-left:10px;
	position:relative
}
footer a {
	color:  #0080ff;
}
footer a:hover {
	color: #fff;
}

#foot-menu {
	background: #335cd6;
	overflow: hidden;
	padding-top:20px;
}

#foot-menu li {
	margin-left: 5px;
	float: left;
	overflow: hidden;
	font-size: small;
}
#foot-menu li a {
	text-decoration: none;
	display: block;
	color: #fff;	
	line-height: 10px;
	padding: 8px 8px 8px 8px;
	margin-bottom:10px;
	border: solid 1px #fff;	
}

#foot-menu li a:hover {
	border: solid 1px #aabbee;	
	color: #aabbee;
}

/*バナー欄*/
#banner {
	margin-left:15px;
}

#banner img{
	margin:3px;
}


/*TOPへ*/
#pagetop {
	clear: both;
	position:absolute; 
	bottom:0px; 
	right: 3px;
	margin-left: 10px;
}
#pagetop a {
	text-decoration: none;
	text-align: center;
	display: block;
	float: right;
	margin-right: 1%;
	color: #FFF;
	font-size: 15px;
	padding: 10px 15px;
	background: #335cd6;
	border-radius: 4px 4px 0px 0px;
}
#pagetop a:hover {
	background: #aabbee;
	color: #FFF;
}

/*NEW*/
.newicon {
	background: orange;
	color: #FFF;
	font-size: 70%;
	line-height: 1.5;
	padding: 0 5px;
	border-radius: 4px;
	margin: 0px 5px;
	display: inline-block;
	vertical-align: text-top
}

/*メニューアイコン*/
#nav-drawer {
  position: relative;
}

/*チェックボックス等は非表示に*/
.nav-unshown {
  display:none;
}

/*アイコンのスペース*/
#nav-open {
  display: inline-block;
  width: 30px;
  height: 22px;
  vertical-align: middle;
}

#menu {
  font-size: medium;
}

/*ハンバーガーアイコンをCSSだけで表現*/
#nav-open span, #nav-open span:before, #nav-open span:after {
  position: absolute;
  height: 5px;/*線の太さ*/
  width: 20px;/*長さ*/
  border-radius: 2px;
  background: #3399ff;
  display: block;
  content: '';
  cursor: pointer;
}
#nav-open span:before {
  bottom: -8px;
}
#nav-open span:after {
  bottom: -16px;
}

/*閉じる用の薄黒カバー*/
#nav-close {
  display: none;/*はじめは隠しておく*/
  position: fixed;
  z-index: 99;
  top: 0;/*全体に広がるように*/
  left: 0;
  width: 100%;
  height: 100%;
  background: black;
  opacity: 0;
  transition: .3s ease-in-out;
}

/*中身*/
#nav-content {
  overflow: auto;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;/*最前面に*/
  width: 90%;/*右側に隙間を作る（閉じるカバーを表示）*/
  max-width: 260px;/*最大幅（調整してください）*/
  height: 100%;
  background: #fff;/*背景色*/
  transition: .3s ease-in-out;/*滑らかに表示*/
  -webkit-transform: translateX(-105%);
  transform: translateX(-105%);/*左に隠しておく*/
}

/*チェックが入ったらもろもろ表示*/
#nav-input:checked ~ #nav-close {
  display: block;/*カバーを表示*/
  opacity: .5;
}

#nav-input:checked ~ #nav-content {
  -webkit-transform: translateX(0%);
  transform: translateX(0%);/*中身を表示（右へスライド）*/
  box-shadow: 6px 0 25px rgba(0,0,0,.15);
}