* {
	color:#333333;
	padding:0;
	font-size: 14px;
	line-height: 140%;
	margin: 0;
	font-family: Verdana, Arial, sans-serif;
	background-image: none;
}

body {
	background-color: #FFFFFF;
}

a {
	color:#003366;
}

a:hover {
	text-decoration: none;
}

a img {
	border:none;
}

hr {
	clear: both;
	height: 1px;
	width: 100%;
}

strong {
	color: #CC3300;
           font-size: 14px;
}


.chui {
	font-size: 10px;
	color: #FF0000;
}
em {
        font-style: normal;
        color: #3300FF;
        font-weight: bold;
        font-size: 14px;
}

/*
ベース
-------------------------------------------------------------------*/
#base {
	width:800px;
	margin-right: auto;
	margin-left: auto;
	background-image: url(img/base_bg.jpg);
	background-color: #FFFFFF;
	margin-top: 1px;
	font-size: 14px;
}

#wrap {
	float: left;
	padding: 5px;
	margin-top: 5px;
}


/*
ヘッダー
-------------------------------------------------------------------*/

#header {
	width:800px;
	height:60px;
	background-image: url(img/header.gif);
}


h1 a {
	display: block;
	text-decoration: none;
	width: 300px;
	height: 25px;
	margin-left: 35px;
	padding-top: 10px;
	font-size: 18px;
	line-height: 25px;
	color: #339999;
}

#header #sub {
	font-size: 10px;
	color: #17455B;
	margin-left: 35px;
}


/*ナビゲーション
----------------------------------------------- */
#nav {
	width:800px;
	height: 20px;
	background-color: #339999;
}

#nav ul {
	list-style-type:none;
	float: right;
	display: block;
	margin-right: 20px;
	border-right-width: 1px;
	border-right-style: solid;
	border-right-color: #FFFFFF;
  }
  

#nav li {
	display: inline;
	padding-left: 22px;
	padding-right: 20px;
	background-image: url(img/c_li.gif);
	background-repeat: no-repeat;
	background-position: 12px 3px;
	border-left-width: 1px;
	border-left-style: solid;
	border-left-color: #FFFFFF;
  }
  
#nav a {
	color: #FFFFFF;
	font-size: 10px;
	line-height: 20px;
	letter-spacing: 0.1em;
	text-decoration: none;
}

#nav a:hover {
	color: #FF6600;
}


/*
コンテンツ
-------------------------------------------------------------------*/

#contents {
	width: 620px;
	float: right;
}

#contents p {
	padding-top: 5px;
	padding-bottom: 5px;
	background-image: url(img/note_line.gif);
	margin-right: 30px;
	margin-left: 30px;
	line-height: 25px;
	padding-right: 10px;
	padding-left: 10px;
	margin-top: 10px;
	margin-bottom: 10px;
	font-size: 14px;
	color: #17455B;
}

#contents h2 {
	background-image: url(img/h2.jpg);
	background-repeat: no-repeat;
	display: block;
	line-height: 30px;
	font-size: 16px;
	color: #17455B;
	text-indent: 30px;
	margin-top: 10px;
}


#contents h3 {
	background-image: url(img/h3.gif);
	background-repeat: no-repeat;
	display: block;
	line-height: 25px;
	font-size: 14px;
	color: #17455B;
	text-indent: 30px;
	margin-top: 10px;
	background-position: 6px 6px;
	margin-left: 20px;
}

#contents h4 {
	background-image: url(img/h4.gif);
	background-repeat: no-repeat;
	display: block;
	line-height: 25px;
	font-size: 14px;
	color: #17455B;
	text-indent: 20px;
	margin-top: 10px;
	background-position: 8px 8px;
	margin-left: 30px;
}

#contents #c_pad {
	padding: 10px;
}

#contents #c_pad p a {
	line-height: 20px;
}

#contents #c_pad p strong {
	line-height: 20px;
}

#contents #top_img {
	text-align: center;
	padding-top: 10px;
	padding-bottom: 10px;
	background-color: #CCCCCC;
	border: 1px solid #CCCCCC;
}
#contents ul {
          padding-left: 4em;
}


/*
サイド・メニュー
-------------------------------------------------------------------*/
#side {
	float: left;
	width: 170px;
}

#side li {
	list-style-type: none;
}

#side_d {
	padding-top: 2px;
	margin-bottom: 5px;
	width: 160px;

	margin-top: 5px;
}

#side_d h3 {
	display: block;
	width: 170px;
	line-height: 24px;
	color: #17455B;
	margin-right: auto;
	margin-left: auto;
	margin-bottom: 0px;
	margin-top: 3px;
	background-color: #4DC3C3;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #FFFFFF;
	font-size: 12px;
	padding-top: 4px;
	text-align: center;
	background-image: none;
	text-indent: 0px;
}

#side_d ul {
	margin-bottom: 5px;
}

#side_d li a {
	display: block;
	width:170px;
	font-size: 12px;
	text-decoration:none;
	color: #17455B;
	line-height: 19px;
	margin-right: auto;
	margin-left: auto;
	text-indent: 5px;
	background-color: #4DC3C3;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #FFFFFF;
	text-decoration: none;
}


#side_d li a:hover {
	color: #FFFFFF;
	text-decoration: none;
	font-weight: bold;
}


#side img {
	border:none;
}

#side p {
	padding: 10px;
}

#side p a {
	font-size:10px;
	background-color: #E2DECF;
	display: block;
	padding: 10px;
	line-height: 15px;
	border: 2px solid #C6BCB0;
}


/*
フッタメニュー
-------------------------------------------------------------------*/

#f_menu {
	clear: both;
	padding-top: 10px;
	padding-bottom: 0px;
	text-align: center;
	background-image: url(img/foot.jpg);
	height: 70px;
	background-repeat: repeat;
	border: 1px solid #CCCCCC;
	line-height: 0.6em;
}
#f_menu li {
	list-style-type: none;
	display: inline;
	border-right-width: 1px;
	border-right-style: solid;
	border-right-color: #333333;
	padding-right: 5px;
	padding-left: 5px;
	font-size: 10px;
}
#f_menu ul {
	margin-top: 0;
	margin-bottom: 10px;
}
#f_menu li a {
	font-size: 10px;
}

#f_menu p {
	font-size: 10px;
	color: #333333;
}


/*
コピーライト
-------------------------------------------------------------------*/

address {
	font-style: normal;
	color: #FFFFFF;
	text-align: center;
	padding-top: 5px;
	padding-bottom: 5px;
	display: block;
	background-color: #339999;
	font-size: 10px;
}
/*
相互リンク
------------------------------------------------------------------*/
#navi1{
	width:600px;
	
}
#navi1 div ul.navi {
           background-color: yellow;
           color: white;
           margin: 0px;
           padding: 3px;
	width: 580px;
}
#navi1 div ul.navi li {
           display: inline;
           list-style-type: none;
           margin: 0px 2em;
}


#navi1 a{
	font-size:12px;
	text-decoration: none;
}
#navi1 a:visited{color:mediumvioletred; text-decoration:none;}
#navi1 a:hover{
	color:white;
	background-color:dimgray;
	text-decoration:none;
}
#navi1 div.link {
	border-bottom:solid 0px #ff9933;
}

.pagetop{
	font-size:10px;
	margin:6px 6px 6px 6px;
	padding:0px 0px 0px 0px;
	text-align:right;
}

#layer1{width:100%;
	background-color:#ffffff;
	margin:0px auto;	/*センタリング用左右余白の自動設定←削除不可*/
	padding:0px;
}

#layer2{
	width:550px;
	margin:5px 0px 0px 0px;
}

#php #contents2 {
	width: 600px;
	margin-left: 0px;
	padding-right: 0px;
	text-align: left;
}

.ad{
	width:370px;
	height:12px;
	margin:0px 6px 6px 0px;	/*topは確保できず*/
	padding:0px 0px 0px 0px;
}
ul.ad li {
           display: inline;
	list-style-type: none;
           margin: 0px 0.2em;
}
ul.ad a {
	font-size:10px;
	color:#999999;
	margin:10px 0px 0px 0px;
	padding:0px 0px 0px 0px;
}

a.ad{color:dimgray; text-decoration:none;}		

a.ad:hover{color:dimgray; background-color:white; text-decoration:none;}


#contents #ad1 {
       float: left;
}


#contents #php {
      clear: both;
}
