html,body {
height: 100%;
}

body {
text-align:center;
}

#doc {
width:100%;height:100%;margin:auto;text-align:center;;
} 

/*ヘッダ*/
#head {
background-color:#F00;text-align:center;
}
#top_navi {
width:803px;height:52px;margin:auto;
}

/*フッタ*/
#foot {
background-color:#F00;text-align:center;
}
#foot_navi {
width:760px;height:60px;margin:auto;
}

/*中*/
#main{
border-top:1px #ccc solid;border-bottom:1px #ccc solid;text-align:center;height:700px;
}

#main_main{
border-left:1px #F00 solid;border-right:1px #F00 solid;margin:0px auto;position:relative;width:800px;height:700px;overflow:visible;
}

#logo{
float:left;
clear:left;
position:absolute;
top:20px;
left:30px;
}

#address{
float:left;
clear:left;
position:absolute;
bottom:20px;
left:30px;
}

#logo2{
float:right;
clear:right;
position:absolute;
bottom:20px;
right:30px;
}

#news {
width:160px;
text-align:left;
vertical-align:bottom;
padding-bottom :5px;
}

#pagetop{
float:right;
clear:right;
position:absolute;
bottom:20px;
right:-19px;
}

#man{
float:right;
clear:right;
position:absolute;
top:10px;
right:-62px;
}

#title{
float:right;
clear:right;
position:absolute;
top:10px;
right:15px;
}

/*リンク設定*/
a:link {
   color:#078D00;
   text-decoration:none;
}
a:visited {
   color:#189B12;
   text-decoration:none;
}
a:hover {
   text-decoration:underline;
}
a:active {
   color:#666;
}
/*その他共通*/
.hidden {
   display: none;
   visibility: hidden;
}
.alignright {
   float: right;
}
.alignleft {
   float: left;
}
.clear {
   clear: both;
}

/*ロールオーバー*/
.btn:hover { 
     position: relative;
     top:-3px;
}


/*お問い合わせサンクス用*/
#thanks{margin:50px auto;}
.top30{margin-top:30px;}

#navi{width:224px;}
