body { background-color: #fff; background-image: url(../com_img/backimg.jpg); background-repeat: repeat-y; background-position: center 0; text-align: center; margin: 0; padding: 0; }
#content { background-color: transparent; text-align: left; width: 970px; margin: 0 auto; padding: 0; }


img { border: 0; }

p { color: #333; font-size: 0.75em; line-height: 1.5em; background-color: transparent; margin: 0; }
h1 { font-size: small; margin: 0;
  padding: 0;
}
h2 { margin: 0;
  padding: 0;
  font-size: small;
}


/*ヘッダー部分---*/
#header { background-color: transparent; background-image: url(../com_img/header/headback.gif); background-repeat: no-repeat; position: relative; width: 970px; height: 109px; margin: 1px; padding: 0; }
#logo a { background-image: url(../com_img/header/logo.gif); background-repeat: no-repeat; text-indent: -9999px; position: absolute; top: 24px; width: 270px; height: 60px; overflow: hidden; margin: 0 0 0 15px; display: block; }
#headmenu { color: #333; font-size: 0.68em; line-height: 1.5em; text-align: right; position: absolute; top: 14px; margin-top: 0;
  width: 960px;
}
#headmenu a { color: #333; text-decoration: none; }
#headmenu a:hover { color: #4169e1; text-decoration: underline; }
#headbun { color: #666; text-align: right; position: absolute; top: 35px; width: 960px; padding-right: 10px;
}
#tmenu { position: absolute; top: 75px; width: 229px; margin: 0 0 0 720px; }
#tmenu ul { font-size: 0.75em; position: absolute; top: 0; left: 0; width: 229px; height: 22px; margin: 0; list-style-type: none; }
#tmenu01 a { background-image: url(../com_img/header/submenu1.gif); background-repeat: no-repeat; text-indent: -9999px; position: absolute; top: 0; left: 0; width: 110px; height: 22px; overflow: hidden; display: block; }
#tmenu02 a { background-image: url(../com_img/header/submenu2.gif); background-repeat: no-repeat; text-indent: -9999px; position: absolute; top: 0; left: 116px; width: 115px; height: 22px; overflow: hidden; display: block; }
.midashi { margin: 0;
  line-height: 1.5em;
  font-size: x-small;
  letter-spacing: 1px;
}

/*ここからメイン---*/
#main { background-color: #fff; width: 960px; float: left; margin: 0; padding: 0; }


/*ここから左側---*/
#left { background-image: url(../com_img/menu/leftback.jpg); background-repeat: no-repeat; background-position: 0 top; width: 170px; float: left; margin: 0; padding: 0; }


/*左メニュー上3つ---*/
#buttonmenu { width: 146px; float: left; margin: 0; }
#buttonmenu ul { font-size: 0.75em; width: 148px; margin: 0 0 0 10px; padding: 0; list-style-type: none; }
#button01 a { background-image: url(../com_img/menu/inquiry.gif); background-repeat: no-repeat; text-indent: -9999px; width: 148px; height: 34px; overflow: hidden; margin-top: 15px; display: block; }
#button02 a { background-image: url(../com_img/menu/online.gif); background-repeat: no-repeat; text-indent: -9999px; width: 148px; height: 34px; overflow: hidden; margin-top: 8px; display: block; }
#button03 a { background-image: url(../com_img/menu/kind.gif); background-repeat: no-repeat; text-indent: -9999px; width: 148px; height: 34px; overflow: hidden; margin-top: 8px; display: block; }
#button04 a { background-image: url(../com_img/menu/toiawase.gif); background-repeat: no-repeat; text-indent: -9999px; width: 148px; height: 34px; overflow: hidden; margin-top: 8px; display: block; }


/*左メニュー---*/
.leftmenu { width: 170px; float: left; margin: 15px 0 0; padding: 0; }
.leftmenu ul { width: 170px; margin: 0; padding: 0; list-style-type: none; }
.leftmenu li a { color: #333; font-size: 0.75em; line-height: 1.5em; background-image: url(../com_img/menu/m_back.gif); background-repeat: no-repeat; text-decoration: none; text-indent: 15px; vertical-align: middle; width: 170px; height: 21px; padding-top: 2px; display: block; }
.leftmenu li a:hover { color: #000; background-image: url(../com_img/menu/m_back2.gif); background-repeat: no-repeat; text-decoration: underline; display: block; }
#title01 { font-size: 0.75em; background-image: url(../com_img/menu/subti1.jpg); background-repeat: no-repeat; text-indent: -9999px; width: 170px; height: 30px; margin: 0 0 2px; }
#title02 { font-size: 0.75em; background-image: url(../com_img/menu/subti2.jpg); background-repeat: no-repeat; text-indent: -9999px; width: 170px; height: 30px; margin: 0 0 2px; }
#title03 { font-size: 0.75em; background-image: url(../com_img/menu/subti3.jpg); background-repeat: no-repeat; text-indent: -9999px; width: 170px; height: 30px; margin: 0 0 2px; }
#title04 a { font-size: 0.75em; background-image: url(../com_img/menu/subti4.jpg); background-repeat: no-repeat; text-indent: -9999px; width: 170px; height: 30px; overflow: hidden; margin: 0 0 4px; padding: 0; }
#title04 a:hover { background-image: url(../com_img/menu/subti4_o.jpg); background-repeat: no-repeat; }
#title05 a { font-size: 0.75em; background-image: url(../com_img/menu/subti5.jpg); background-repeat: no-repeat; text-indent: -9999px; width: 170px; height: 30px; overflow: hidden; margin: 0 0 4px; padding: 0; }
#title05 a:hover { background-image: url(../com_img/menu/subti5_o.jpg); background-repeat: no-repeat; }
#title06 a { font-size: 0.75em; background-image: url(../com_img/menu/subti6.jpg); background-repeat: no-repeat; text-indent: -9999px; width: 170px; height: 30px; overflow: hidden; margin: 0 0 0; padding: 0; }
#title06 a:hover { background-image: url(../com_img/menu/subti6_o.jpg); background-repeat: no-repeat; }
#title07 a { font-size: 0.75em; background-image: url(../com_img/online.jpg); background-repeat: no-repeat; background-position: 2px 0; text-indent: -9999px; width: 170px; height: 130px; overflow: hidden; margin: 0; padding: 0; }

/*ページトップへ-----*/
#pagetop a { font-size: xx-small; background-image: url(../images/gotop.gif); background-repeat: no-repeat; text-indent: -9999px; width: 40px; height: 22px; overflow: hidden; display: block;
  left: 700px;
  position: relative;
  float: left;
  margin-top: 40px;
  padding-bottom: 5px;
}

#pagetop2 a { font-size: xx-small; background-image: url(../images/gotop.gif); background-repeat: no-repeat; text-indent: -9999px; width: 40px; height: 22px; overflow: hidden; display: block;
  position: relative;
  float: right;
  margin-top: 40px;
  padding-bottom: 5px;
}
/*フッター---*/
#footer { text-align: center; width: 970px; clear: both; margin: 20px 0 0; padding: 0;
  font-size: small;
}
#footer p { color: #696969; font-size: 86%; line-height: 1.7em; margin-top: 10px; margin-bottom: 10px; }
#footer a { color: #696969; text-decoration: none; }
#footer a:hover { color: #4169e1; text-decoration: underline; }
#copyright { width: 970px; height: 24px;
  color: #fff;
  background: url(../com_img/copy.gif) no-repeat 0 bottom;
  text-align: right;
  font-size: 90%;
  line-height: 2em;
}
#copybun { line-height: 1.6em; margin-top: 15px; margin-bottom: 10px;
  font-size: 86%;
  border-top: 1px dotted #999;
  padding-top: 15px;
}





/*  地震見舞  */
#earthquake {
  padding: 2px;
}
#earthquake p {
  color: #666;
  font-size: 13px;
  line-height: 1.5em;
}
