/* www.
 * Style sheet for the HTML 4.01 specification
 * Last modify 2008/05/16 14:51
 */

@charset "Shift-JIS";

html{
		height:100%;
}

body{
		margin: 0;
		padding: 0;
		text-align: center;
		font-size: 80%;
		height:100%;
		background-image: url("../images/bg.gif");
}

#bg_w{
		width: 802px;
		margin-left: auto; margin-right: auto;
		background-image: URL(../images/bg02.gif);
		background-repeat: repeat-y;
		background-position: center;
}

* html div#bg_w{
    height:100%;
}

div#bg_w{
    margin:0px auto;
    position:relative;
    min-height: 100%;
}

body > #bg_w {
        height: auto;
}

div#f_main{
    padding-bottom:104px;
}

a		{ text-decoration: none; }
a:link		{ color: #476DD6; }
a:visited	{ color: #039; }
a:hover		{ color: #F90; }
a:active	{ color: #F60; }



/*  ヘッダー 
-------------------------------------------------------------------- */
#header {
		margin: 0px;
		width: 800px;
}

#header #logo {
		float: left;
		margin: 0px 0px 0px 5px;
}

#header #logo2 {
		float: right;
		margin: 0px 5px 0px 0px;
}



#header2 {
		float: left;
		margin: 0px;
		width: 780px;
}

#header2 #logo {
		float: left;
}

#header2 #logo2 {
		float: right;
}


/*  フッター 
-------------------------------------------------------------------- */


#footer{
		width: 800;
		background-image: URL(../images/footer.gif);
		height: 104px;
		background-position: center;
		margin: 0px 1px 0px 1px;
		position:absolute;
		bottom:0px;
		left:0px;
}

#footer p{
		padding: 30px 0px 0px 0px;
		color: #5F5A03;

}

/*  2階層目　メニュー 
-------------------------------------------------------------------- */
#s_menu {
		float: left;
		width: 802px;
		height: 38px;
}

#s_menu ul {
		margin:0px;
		list-style-type:none;
}


/*  2階層目　トップイメージ 
-------------------------------------------------------------------- */

#s_topimage{
		margin: 0px 1px 0px 1px;
}



/*  回り込み解除
-------------------------------------------------------------------- */

.clear_l{
		clear:left;
}

.clear_r{
		clear:right;
}
