/*このテンプレートの著作権はテンプレート工房TAKEにあります*/
/*再販売や再配布は禁止です。*/

body {
	color: #666666;
	margin: 0px;
	padding: 0px;
	text-align: center;
	background:#ffffff ;	/*壁色*/
	font: "メイリオ", "ＭＳ Ｐゴシック", Osaka, "ヒラギノ角ゴ Pro W3";
}
h1{
	margin: 0px;
	padding: 0px 10px;
}

p,ul,li{
	margin: 0px;
	padding: 0px;
}



p{
      font-size:90%;/*全体の文字サイズ*/
	  line-height:150%;/*全体で使う、文字と文字の行間*/
}

p img{
      float:left;
          margin-left:5px;  /*写真の左にスペースを空ける*/
	  margin-right:10px;  /:写真と文字の間隔*/
}


ul{
	list-style-type: none;
}


img {
	border: none;
}



/*リンク設定。*/
a {
	color: #000099;
}
a:hover {
	color: #F95902;
}




#contents {
	width: 1024px;
	border: 1px solid #ffcc66;	/*枠の色と幅*/
	text-align: left;
	margin-right: auto;
	margin-left: auto;
}


/*ヘッダー部分の設定*/
#header {
	font-size: 40px;	/*サイト名部分の文字サイズ*/
	font-weight: bold;	/*太字にする*/
	color: #FFFFFF;		/*文字色*/
	background: url(head.gif);	/*背景色と画像の指定*/
	height: 100px;
}
#header h1 {
	font-size: 10px;	/*h1の文字サイズ*/
	padding-left: 10px;
}
#header p {
	padding-left: 10px;
}



/*上部のメインメニュー*/
#main {
	padding: 0px;
}

#main ul {
	line-height: 40px;
	height: 40px;
	border-bottom: 1px solid #666666;
	background: #fff1d0;	
	border-top: 1px solid #666666;
}
#main li {
	float: left;
}
#main ul li a {
	display: block;
	width:169.4px;
	text-align: center;
	border-right: 1px solid #999999;
	color: #666666;	/*メニューの文字色*/
	text-decoration: none;
}
#main ul li a:hover {
	background: #fefefe;	
                  color:#cc0000;
}
#main .last {
	border-right-style: none;
}


/*左側の設定*/
#left {
	background: #ffecd9;	/*背景色*/
	width: 175px;
	vertical-align: top;
	padding: 10px 5px;
        font-size:90%;
	  line-height:150%; /*サイドの文字と文字の行間設定*/
}

#left h2 {
	background: #ffcc66;
                  color:#ffffff;
	border: 1px solid #ff3333;
	font-size: 100%;
	line-height: 25px;
	text-align: center;
	margin-bottom: 5px;
}
#left h2 a{
	text-decoration: none;
}

#left ul.menu {
	margin-bottom: 5px;
	text-align: left;
	 padding-left:12px;
}
#left ul.menu li a {
	color: #666666;	/*文字色*/
	text-decoration: none;	
	border-bottom: 1px dotted #cccccc;	/*メニュー下に1pxの点線を入れる設定*/
	display: block;
	width: 150px;
}
#left ul.menu a:hover {
	color: #ff0000;
}



/*右側の設定*/
#right {
	background: #ffecd9;	/*背景色*/
	width: 190px;
	vertical-align: top;
	padding: 10px 5px;
                  font-size:90%;
	  line-height:150%; /*サイドの文字と文字の行間設定*/
}

#right h3 {
	background: #ffcc66;
                  color:#ffffff;
	border: 1px solid #ff3333;
	line-height: 25px;
	font-size: 100%;
	text-align: center;
}
#right h3 a {
	text-decoration: none;
}
#right h3 a:hover{
	text-decoration: underline;
}


/*センターの設定*/
#center {
	width: 635px;
	vertical-align: top;
	background: #e9e9e9;	/*背景色*/
	padding: 10px 10px;
}
#center p {
	padding: 5px 18px 3px;
}
#center h2 {
	border-left: 8px solid #ff6600;	/*左に8pxのマークを入れる設定*/
border-bottom:solid 2px #ff9933;/*文字の下に点線を入れる設定*/
      color:#333333;
	font-size: 100%;
	background:#ffffff;	/*背景の設定*/
	  margin-left: 0px;
	padding-left: 10px;
	line-height: 35px;
	margin-bottom: 3px;
}

#center h3{
      font-size:100%;
	border: solid 1px #999999;
        color:#ffffff;
	background-color:#ffcc99;
	line-height: 30px;
	  padding-left:10px;
	  margin-top: 10px;
	  margin-left: 0px;
	  margin-bottom: 3px;
}


/*フッター部分の設定*/
#footer {
	color: #FFFFFF;
	background: #ff6600;
	text-align: center;
	border-top: 1px solid #333333;
	  padding-top:5px;
	  padding-bottom:5px;
}

#footer a {
	color: #FF99cc;
}

#footer a:hover {
	color: #FF0000;
}


.box1 {
width: 300px;
height: 220px;
border: 1px solid #999999;/*枠の色*/
background-color: #ffffff;/*ボックス内の色*/
margin-left: 0px;
margin-right:20px;
float: left;
}

.box1 p img{
      float:left;
          margin-left:5px;  /*写真の左にスペースを空ける*/
          margin-right:5px;  /*写真の左にスペースを空ける*/
}

.box2 {
width: 300px;
height: 220px;
border: 1px solid #999999;/*枠の色*/
background-color: #ffffff;/*ボックス内の色*/
float: left;
}

.box2 p img{
      float:left;
          margin-left:5px;  /*写真の左にスペースを空ける*/
          margin-right:5px;  /*写真の左にスペースを空ける*/
}









