@charset "utf-8";

/*
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
原則として、許可なしの再配布は禁止させていただきます。
また、無料でお使いの方は、【ＰＲ枠】のリンクは全て削除禁止です。
加工後の削除も禁止させていただきます。
ご不明な点は、http://www.s-hoshino.com/info.htmlまたは、
http://www.megapx.com/info.htmlのフォームよりお問い合わせください。
よろしくお願いします！(・∀・)/
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
*/

* {
	color:#333333;
	padding:0;
	font-size: 12px;
	line-height: 140%;
	margin: 0;
	background-image: none;
}

body {
	background-color: #D9D9D0;
	background-image: url(img/bg.gif);
	background-repeat: repeat-x;
	position: relative;
}

a {
	color:#657E29;
}

a:hover {
	text-decoration: none;
}

a img {
	border:none;
}

hr {
	clear: both;
	height: 1px;
}

strong {
	color: #394D4E;
}

li {
	list-style-type: none;
}

.chui {
	color: #CC3300;
}

.text1 {
	font-size: 18px;
	color: #999999;
	font-weight: bold;
	
}

.text2 {

font-size: 18px;
	color: #000000;
	font-weight: bold;
	
}

.text2 a {

font-size: 18px;
	color: #000000;
	font-weight: bold;
	text-decoration: none;
	
}

.text2 a:hover {

font-size: 18px;
	color: #FF0000;
	font-weight: bold;
	text-decoration: none;
	
}

.text3 {

font-size: 12px;
	color: #666666;
	font-weight: normal;
}



.text4 {

font-size: 24px;
	color: #000000;
	font-weight: bold;
}

.text5 {

font-size: 12px;
	color: #666666;
	font-weight: normal;
}

.text7 {

	font-size: 12px;
	color: #666666;
	font-weight: normal;
}

.text7 a {

	font-size: 14px;
	color: #000000;
	font-weight: bold;
	text-decoration: none;
	padding-top: 10px;
}

.text7 a:hover {
	color: #FF0000;
	text-decoration: none;
	
	
}

.text8 {

font-size: 12px;
	color: #000000;
	font-weight: normal;
}

.text8 a {

text-decoration: none;
	color: #000000;
	font-size: 1.5em;
	font-family: Arial;
	font-style: bold;

}

.text8 a:hover {

color: #039;
}

.text9 {
	font-style: normal;
	color: #FFFFFF;
	font-size: 10px;
}

.text9 a {
	color: #FFFFFF;
	text-decoration: none;
	font-size: 10px;
}

.text9 a:hover {
	text-decoration: underline;
	color: #eeeeee;
}

.space15 {

height: 15px;
}

.linknav {
  margin: 0px;
  text-align: right;
  font-size: 12px;
	color: #666666;
	font-weight: normal;
	line-height: 5px;
}

.text6 {

font-size: 14px;
	color: #666666;
	font-weight: bold;
	text-align: right;
	
}

.linknav a {
  margin: 0px;
  text-align: right;
  font-size: 12px;
	color: #666666;
	font-weight: normal;
	text-decoration: none;
	line-height: 5px;
}


/*
ベース
-------------------------------------------------------------------*/
#base {
	width:800px;
	margin-right: auto;
	margin-left: auto;
	background-color: #FFFFFF;
	margin-top: 0px;
	border-right-width: 1px;
	border-left-width: 1px;
	border-right-style: solid;
	border-left-style: solid;
	border-right-color: #666666;
	border-left-color: #666666;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #666666;
	margin-bottom: 20px;
}

#wrap {
	float: left;
	padding: 5px;
	background-image: url(img/side_base.gif);
	background-repeat: repeat-y;
	background-position: left;
}


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

#header {
	width:800px;
	margin-right: auto;
	margin-left: auto;
	position: relative;
}

h1 {
	font-size: 10px;
	line-height: 18px;
	color: #666666;
	font-weight: normal;
	float: left;
	padding-left: 5px;
	padding-right: 10px;
}

#header #sub {
	font-size: 10px;
	color: #666666;
	position: absolute;
	top: 2px;
	right: 10px;
	text-align: right;
}
#header #logo {
	clear: both;
	padding-top: 10px;
	padding-left: 10px;
	float: left;
}
#header h2 {
	font-size: 10px;
	font-weight: normal;
	color: #777777;
	line-height: 18px;
}

#header #head_ul {
	position: absolute;
	top: 30px;
	right: 15px;
}
#header #head_ul li {
	font-size: 10px;
	background-image: url(img/li.gif);
	background-repeat: no-repeat;
	background-position: left center;
	line-height: 18px;
	padding-left: 7px;
}

#header #head_ul li a {
	font-size: 10px;
}

/*ナビゲーション
----------------------------------------------- */
#nav {
	width: 765px;
	margin-right: auto;
	margin-left: auto;
	background-image: url(img/nav.gif);
	height: 35px;
	clear: both;
	padding-left: 37px;
} 

#nav li {
	display: block;
	float: left;
	text-align: center;
  }
  
#nav li a {
	color: #555555;
	text-decoration: none;
	background-image: url(img/g_menu_li.gif);
	background-repeat: no-repeat;
	display: block;
	float: left;
	height: 25px;
	width: 120px;
	padding-top: 10px;
	line-height: 25px;
}

#nav li a:hover {
	color: #000000;
	background-image: url(img/g_menu_li_ov.gif);
	background-color: #DDDDDD;
}

#nav li strong {
	line-height: 30px;
	color: #FFFFFF;
	background-image: url(img/g_menu_st.gif);
	height: 30px;
	width: 120px;
	display: block;
	padding-top: 5px;
}

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

#top_img {
	padding-top: 5px;
	padding-bottom: 5px;
	background-color: #DFDFDB;
	text-align: center;
	border: 1px solid #FFFFFF;
}

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

#contents p{
	padding-top: 5px;
	padding-bottom: 5px;
	background-image: url(img/note_line.gif);
	margin-right: 28px;
	margin-left: 28px;
	line-height: 20px;
	padding-right: 10px;
	padding-left: 10px;
	margin-top: 5px;
	margin-bottom: 10px;
}

#contents h3 {
	font-size: 16px;
	padding-left: 25px;
	color: #222222;
	margin-top: 5px;
	margin-bottom: 0px;
	margin-right: 5px;
	margin-left: 5px;
	font-weight: bold;
	line-height: 31px;
	background-image: url(img/h3.gif);
	height: 35px;
	background-repeat: no-repeat;
}


#contents h4 {
	font-size: 14px;
	border-left-width: 5px;
	border-left-style: solid;
	border-left-color: #A9B59B;
	padding-left: 7px;
	color: #555555;
	line-height: 18px;
	margin-top: 15px;
	margin-bottom: 10px;
	margin-left: 13px;
}

#contents h4 a {
	font-size: 14px;
}

#contents h5 {
	font-size: 13px;
	color: #FFFFFF;
	line-height: 18px;
	margin-top: 15px;
	margin-bottom: 10px;
	margin-left: 20px;
	background-color: #9EAD70;
	margin-right: 20px;
	padding-left: 10px;
}

#contents ul {
	list-style-type: none;
	margin-top: 5px;
	margin-right: 15px;
	margin-bottom: 5px;
	margin-left: 15px;
}
#contents li a {
	font-size: 12px;
}


#contents #c_pad {
	padding-top: 5px;
	padding-right: 10px;
	padding-bottom: 10px;
	padding-left: 10px;
}

/* for IE \*/
* html body #base #contents #c_pad {
	padding: 9px;
}	
/**/

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

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

#contents .img_left {
	float: left;
	background-color: #FFFFFF;
	padding: 5px;
}

#contents .img_left img {
	border: 2px solid #EDEDE9;
}

#contents .c_img_left {
	float: left;
	background-color: #FFFFFF;
	padding: 10px;
	margin-right: 10px;
}

#contents .c_img_left img {
	border: 1px solid #999999;
}

#contents .c_img_right {
	float: right;
	background-color: #FFFFFF;
	padding: 10px;
}

#contents .c_img_right img {
	border: 1px solid #999999;
}

#contents p .chui {
	line-height: 20px;
}
.list li {
	background-image: url(img/li.gif);
	background-repeat: no-repeat;
	background-position: left center;
	padding-left: 8px;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #E3E3E3;
	background-color: #F7F7F7;
	border-top-width: 1px;
	border-top-style: solid;
	border-top-color: #FFFFFF;
	line-height: 25px;
}
ul.list {
	margin-bottom: 10px;
}
.list li:hover {
	background-color: #FFFFFF;
}

/*
２box
-------------------------------------------------------------------*/
#contents .box2 {
	float: left;
	height: 130px;
	width: 270px;
	border: 1px solid #DDDDDD;
	margin: 5px;
	padding: 5px;
	background-image: url(img/box_bg.gif);
	background-repeat: repeat-x;
	background-position: bottom;
	position: relative;
}
#contents .box2 h4 {
	margin: 0px;
	background-color: #6C8143;
	color: #FFFFFF;
	font-size: 12px;
	font-weight: normal;
	border-left-color: #94BA12;
}

#contents .box2 p {
	margin: 0px;
}

#contents .box2 .btn a {
	font-size: 10px;
	line-height: 17px;
	height: 17px;
	padding-right: 5px;
	padding-left: 5px;
	color: #FFFFFF;
	background-color: #7A7A76;
	border: 1px solid #D2D2D2;
	width: 80px;
	display: block;
	text-align: center;
	text-decoration: none;
	background-image: url(img/btn.gif);
	position: absolute;
	right: 10px;
	bottom: 10px;
}

#contents .box2 .btn a:hover {
	background-color: #FF9900;
	background-image: url(img/btn_ov.gif);
}
/*
3box
-------------------------------------------------------------------*/
#contents .box3 {
	float: left;
	height: 130px;
	width: 173px;
	border: 1px solid #DDDDDD;
	margin: 5px;
	padding: 5px;
	background-image: url(img/box_bg.gif);
	background-repeat: repeat-x;
	background-position: bottom;
	position: relative;
	text-align: center;
}
#contents .box3 h4 {
	margin: 0px;
	background-color: #7A7A76;
	color: #FFFFFF;
	font-size: 12px;
	font-weight: normal;
	border-left-color: #81B318;
}

#contents .box3 p {
	margin: 0px;
}
#contents .box3 .btn a {
	font-size: 10px;
	line-height: 17px;
	height: 17px;
	padding-left: 5px;
	color: #FFFFFF;
	background-color: #7A7A76;
	border: 1px solid #D2D2D2;
	width: 93px;
	display: block;
	text-align: center;
	text-decoration: none;
	background-image: url(img/btn.gif);
	position: absolute;
	bottom: 10px;
	padding-right: 5px;
	left: 40px;
}

#contents .box3 .btn a:hover {
	background-color: #FF9900;
	background-image: url(img/btn_ov.gif);
}
.box3 a img {
	border: 2px solid #EDEDE9;
}
.box3 a:hover img {
	border: 2px solid #FCD096;
}


#contents .box3_photo {
	float: left;
	height: 160px;
	width: 173px;
	border: 1px solid #DDDDDD;
	margin: 5px;
	padding: 5px;
	background-image: url(img/box_bg.gif);
	background-repeat: repeat-x;
	background-position: bottom;
	position: relative;
	text-align: center;
}

#contents .box3_photo:hover {
	border: 1px solid #CCCCCC;
	background-color: #F2F2F2;
}

.box3_photo a img {
	border: 2px solid #FFFFFF;
}
.box3_photo a:hover img {
	border: 2px solid #FCD096;
}

/*
リンク集ページ用
-------------------------------------------------------------------*/

#contents dl {
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #D9D9D0;
	margin-bottom: 10px;
	padding-top: 10px;
	padding-right: 20px;
	padding-bottom: 10px;
	padding-left: 20px;
}
#contents dt {
	border-left-width: 5px;
	border-left-style: solid;
	border-left-color: #B5C2A3;
	padding-left: 5px;
}
#contents dd {
	margin: 5px;
}

/*
テーブル
-------------------------------------------------------------------*/
table {
	border-collapse: collapse;
}
table td {
	border-collapse: collapse;
}
#contents table {
	width: 555px;
	margin-top: 5px;
	margin-right: auto;
	margin-bottom: 5px;
	margin-left: auto;
}
#contents table td {
	padding: 5px;
	border: 1px solid #EAE8DF;
}
#contents table th {
	background-color: #EFEDE7;
	padding: 7px;
}
#contents form table th {
	width: 127px;
}

table td.td_head {
	background-color: #9BBC63;
	text-align: right;
	padding: 8px;
	white-space: nowrap;
	color: #FFFFFF;
	border-top-width: 1px;
	border-right-width: 3px;
	border-bottom-width: 1px;
	border-left-width: 1px;
	border-top-style: solid;
	border-right-style: solid;
	border-bottom-style: solid;
	border-left-style: solid;
	border-top-color: #D3CDB4;
	border-right-color: #D3CDB4;
	border-bottom-color: #D3CDB4;
	border-left-color: #D3CDB4;
	font-size: 13px;
	background-image: url(img/td_head.gif);
	background-repeat: repeat-x;
}

table td.td_odd {
	background-color: #F8F3E7;
	text-align: left;
	padding: 8px;
	border: 1px solid #D3CDB4;
	font-size: 13px;
	background-image: url(img/td_odd.gif);
	background-repeat: repeat-x;
}

.td_head .eng {
	margin: 0px;
	padding: 0px;
	font-size: 10px;
	color: #68823E;
}

/*
パンくずリスト
-------------------------------------------------------------------*/
#contents #pan {
	padding: 5px;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #EAEAEA;
}
#contents #pan a {
	margin-right: 7px;
	margin-left: 7px;
}
#contents #pan strong {
	margin-left: 7px;
}

/*
サイド・メニュー
-------------------------------------------------------------------*/
#side {
	float: left;
	width: 175px;
	background-color: #DFDFD2;
	margin-left: 2px;
	padding-bottom: 10px;
}

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

.side_box {
	padding-top: 2px;
	margin-bottom: 5px;
	width: 160px;
	margin-right: auto;
	margin-left: auto;
	margin-top: 5px;
	border: 1px solid #CECEB9;
	background-color: #EFEFE9;
}

.side_box h3 {
	display: block;
	width: 146px;
	line-height: 24px;
	color: #FFFFFF;
	margin-right: auto;
	margin-left: auto;
	margin-bottom: 0px;
	margin-top: 3px;
	font-size: 12px;
	text-align: center;
	background-color: #666666;
	background-image: url(img/side_h3.gif);
	border-right-width: 1px;
	border-left-width: 1px;
	border-right-style: solid;
	border-left-style: solid;
	border-right-color: #969583;
	border-left-color: #969583;
	height: 24px;
	font-weight: normal;
}

.side_box ul {
	margin-bottom: 5px;
}

.side_box li a {
	display: block;
	width:120px;
	font-size: 12px;
	color:#555555;
	line-height: 24px;
	margin-right: auto;
	margin-left: auto;
	padding-right: 10px;
	padding-left: 20px;
	background-image:url(img/side_li.gif);
	background-repeat: no-repeat;
	background-color: #EEEEEE;
	text-decoration: none;
	height: 24px;
}


.side_box li a:hover {
	background-color: #FFFFCC;
	color: #000000;
	text-decoration: none;
	background-image: url(img/side_li_ov.gif);
}


#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;
}

#side #side_pr {
	margin: 10px;
	padding: 10px;
	border: 1px solid #DBD9D0;
	background-color: #F8F8F5;
}

#template_by {
	font-size: 10px;
	padding: 10px;
	background-color: #EDEDE4;
	margin-top: 20px;
	margin-right: 10px;
	margin-bottom: 10px;
	margin-left: 10px;
	color: #555555;
}
#template_by a {
	font-size: 10px;
	color: #808080;
}

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

#f_menu {
	clear: both;
	background-image: url(img/foot_bg.gif);
	background-repeat: repeat-x;
	border: 1px solid #E2E2DE;
	padding: 10px;
	background-color: #F5F4F0;
	background-position: bottom;
}
#f_menu li {
	list-style-type: none;
	display: inline;
	border-right-width: 1px;
	border-right-style: solid;
	border-right-color: #999999;
	padding-right: 5px;
	padding-left: 5px;
	font-size: 10px;
	line-height: 20px;
}
#f_menu ul {
	margin-top: 5px;
	margin-bottom: 5px;
}
#f_menu li a {
	font-size: 12px;
}

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

#f_menu #tmplby {
	font-size: 10px;
	color: #888888;
	text-align: right;
	padding: 5px;
}
#f_menu #tmplby a {
	font-size: 10px;
	color: #888888;
}

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

address {
	font-style: normal;
	color: #FFFFFF;
	text-align: right;
	display: block;
	background-color: #7A8D41;
	font-size: 10px;
	padding: 5px;
	font-family: Arial, Helvetica, sans-serif;
}



.footer {
	font-style: normal;
	color: #FFFFFF;
	text-align: right;
	display: block;
	background-color: #7A8D41;
	font-size: 10px;
	padding: 5px;
	font-family: Arial, Helvetica, sans-serif;
}

.clear {
  display: inline-block;
  text-deocaration: none;
  margin-left: 13px;
}

dl {
  margin: 10px 0px 0px 0px;
  width: 49%;
  float: left;
}

/* forms */
form {
  margin: 0px;
}
input, textarea {
  font: normal 13px tahoma, geneva, verdana, sans-serif;
}
input.text, input.password, textarea {
  padding: 1px 0px 1px 2px;
  border: 1px solid #57594b;
}

/* forms */
.row {
  margin-bottom: 1px;
  padding: 4px;
}
.row label.name {
  padding-right: 5px;
  width: 25%;
  float: left;
}
.row label.name span {
  color: #8c3030;
}
.row .value.wrappedtext {
  margin-left: 25%;
  padding-left: 5px;
}
/* hack for ie 5.5 text/textarea resizing */
.row .value input.text, .row .value input.password, .row .value textarea {
  width: expression(this.parentNode.offsetWidth * 0.74 + 'px');
}
/* the previous style causes problems with long sidebars in ie6 */
.row .value input.text, .row .value input.password, .row .value textarea {
  w\idth: 72%;
}
.row .value input.text.shorttext {
  width: 100px;
}
.row.required {
  background: #e2e1eb;
}
.row.invalid {
  color: #8c3030;
  background: #eedddd;
  font-weight: bold;
}
.formsubmit {
  margin-top: 10px;
  text-align: right;
}

/* generic messages */
.errormessage {
  color: #8c3030;
  font-weight: bold;
}
.infomessage {
  color: #3a5841;
  font-weight: bold;
}

/* treecats */
#content .treecats-selection-summary ul, #content .treecats-selection ul {
  margin: 0px;
}
.treecats-selection-summary li a, .treecats-selection li a {
  margin-top: 2px;
  margin-left: 5px;
}
.treecats-selection-summary a, .treecats-selection a {
  font-size: 9px;
}
.treecats-selection-summary a:visited, .treecats-selection a:visited {
  color: #212126;
}
.treecats-selection-current {
  font-weight: bold;
}
.treecats-category-info img {
  border: 0px;
  padding: 2px;
  vertical-align: middle;
}
.treecats-children {
  padding-left: 15px;
}
.treecats-selected span, li.treecats-selected {
  font-weight: bold;
}
.treecats-category a:link, .treecats-category a:visited {
  color: #212126;
  text-decoration: none;
}
.treecats-category a:hover {
  text-decoration: underline;
}
#content ul.treecats-links {
  padding-left: 15px;
  margin: 0px;
}
.treecats-links li {
  line-height: 1.25em;
  list-style: circle;
}

.clear:after {
  height: 0px;
  clear: both;
  display: block;
  visibility: hidden;
  content: ".";
}
.clear {
  display: inline-block;
}
/* start non ie/mac css \*/
* html .clear {
  height: 1%;
}
.clear {
  display: block;
  }
 .errormessage {
  color: #8c3030;
  font-weight: bold;
  }
