﻿/*基本属性*/
html {
    background: transparent url(../img/background.gif) fixed top no-repeat;
    color:#51514C; 
    font-family:'Lucida Grande','ヒラギノ角ゴ Pro W3','Hiragino Kaku Gothic Pro','メイリオ',Meiryo,'ＭＳ Ｐゴシック',sans-serif;
    letter-spacing: 1px;
    margin: 0; padding: 0; line-height: 100%;
}

html.nobg {
    background: transparent url(../img/background_nobg.gif) top repeat-y;
}

/* for IE6 */
body {
    _padding: 0 0 0 1px;
}

/* for IE7 */
*:first-child+html body {
    padding: 0 0 0 1px;
}

p {line-height: 150%; margin-bottom: 1em;}
h1, h2, h3, h4, h5{ line-height: 150%;}
li{line-height: 150%; list-style-type: disc;}

p.address
{
    padding: 20px 0 20px 0;
    font-size: 11px;
    line-height: 140%;
}

h2
{
    font-size: 18px;
}

h3
{
    font-size: 16px;
}

h4
{
    font-size: 14px;
    margin: 0 0 14px 0;
}

span.small
{
    font-size: 11px;
    line-height: 150%
}

img
{
    border: none;
}
img.border
{
    border: 1px solid #ccc;
}

img#clinic0
{
    margin: 0 20px 40px 0;
}
img#clinic1
{
    margin: -110px 0 20px 20px;
}

img#clinic2
{
    margin: 0 20px 20px 0;
}

img#clinic3
{
    margin: 0 20px 20px 0;
}

img#clinic4
{
    margin: 0 0 20px 20px;
}

img#access1
{
    border: 1px solid #4ABAAF;
    margin: 40px 0 0 -1px;
    padding: 0;
}

#main1
{
    background: #fff url(../img/header_background.gif) center top no-repeat;
    width: 798px;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
}

#main2, #main3, #main4, #main5, #main6, #main7
{
    background: transparent url(../img/header_background.gif) center top no-repeat;
}
/* トップメニュー */
#main1 #menu
{
    position: absolute;
    top: 100px;
    width: 798px;
    height: 33px;
}

#main2 #menu, #main3 #menu, #main4 #menu, #main5 #menu, #main6 #menu, #main7 #menu
{
    position: absolute;
    top: 100px;
    width: 798px;
    height: 33px;
    margin-left: 1px;
}

#menu ul 
{
    line-height: 100%;
}

#menu li 
{
    list-style: none;
    text-indent: -9999px;
    float:left;
    width: 114px;
}

#menu li a
{
    display: block;
    width: 114px;
    height: 33px;
    background-repeat: no-repeat;
}

#menu li a.current 
{
    background-position: 0 -33px;
}

#menu li a:hover{
    background-position: 0 -33px;
    background-repeat: no-repeat;
}

#menu li#menu1 a { background-image: url(../img/menu1_bg.gif); }
#menu li#menu2 a { background-image: url(../img/menu2_bg.gif); }
#menu li#menu3 a { background-image: url(../img/menu3_bg.gif); }
#menu li#menu4 a { background-image: url(../img/menu4_bg.gif); }
#menu li#menu5 a { background-image: url(../img/menu5_bg.gif); }
#menu li#menu6 a { background-image: url(../img/menu6_bg.gif); }
#menu li#menu7 a { background-image: url(../img/menu7_bg.gif); }

/*基本レイアウト*/
.clearboth
{ 
  clear: both;
  height: 0;
 }

div.clearboth20
{ 
    height: 20px;
    clear: both;
 }

div.clearboth30
{ 
    height: 30px;
    clear: both;
 }

div.clearboth40
{ 
    clear: both;
    display: block;
    height: 40px;
 }

div.clearboth60
{ 
    clear: both;
    height: 60px;
    background: transparent;
 }

div.clearbothgray
{ 
    clear: both;
    height: 100%;
    background-color: #51514C;
 }

div.spacer120
{ 
    height: 120px;
 }

#wrapper 
{
  min-height: 100%;
  height: 100%;
  text-align: center;
}

#main2, #main3, #main4, #main5, #main6, #main7
{ 
  text-align: left;
  width: 800px;
  margin: 0 auto;
}

#main1
{ 
  text-align: left;
  width: 798px;
  margin: 0 auto;
}

#main1 #content
{
    position: absolute;
    top: 133px;
    background: #fff url(../img/top_background.jpg) top center repeat-y;
    width: 798px;
    height: 466px;
    color: #fff;
}

#main2 #content, #main3 #content, #main4 #content, #main5 #content, #main6 #content, #main7 #content
{
    position: absolute;
    top: 239px;
    width: 798px;
}

#main1 #content p
{
    padding-left: 344px;
    font-size: 11px;
    letter-spacing: 1px;
    line-height: 200%;
}

#main1 #content p.top
{
    padding-top: 240px;
}

#main1 #content #topics
{
    margin: 20px 20px 0 344px;
    padding: 10px 20px 0 20px;
    border-top: 1px solid #fff;
    border-bottom: 1px solid #fff;
}

#main1 #content #topics h3
{
    font-size: 12px;
}

#main1 #content #topics ul
{
    padding: 0 0 0 20px;
    margin: 8px 0 11px 0;
    font-size: 11px;
}

#main1 #content #topics li
{
    line-height: 200%;
}

/*段組レイアウト*/
div.l540
{ 
  float: left;
  width:539px;
  height: 100px;
  margin: 0 auto;
  background: transparent;
 }

#main1 div.l540
{
    margin-left: -1px;
}

div.r260
{ 
  float: left;
  width:259px;
  height: 100px;
  margin: 0 auto;
  background: transparent;
 }

div.l228
{ 
    display: block;
    float: left;
    width:154px;
    padding: 0 70px 0 0;
    background: transparent;
    text-align: right;
 }

div.l228 h2
{
  padding: 10px 0 0 0;
}

#main2 div.l228
{
}

div.r570
{ 
    display: block;
    float: left;
    width:520px;
    background: transparent;
 }

#main2 div.r570 {border-left: 4px solid #EA6000;}
#main3 div.r570 {border-left: 4px solid #F29600;}
#main4 div.r570 {border-left: 4px solid #FBC600;}
#main5 div.r570 {border-left: 4px solid #8DC21F;}
#main6 div.r570 {border-left: 4px solid #4ABAAF;}
#main7 div.r570 {border-left: 4px solid #0096DF;}

#main5 div.r570 div.boxed 
{
    border: 4px double #8DC21F;
    padding: 20px 10px;
    margin: 0 0 20px 70px;
}

#main5 div.r570 div.boxed h3
{
    padding: 0;
    text-align: center;
}

#main5 div.r570 div.boxed div.twocol
{
    text-align: center;
    width: 60%;
    margin: 0 auto;
    padding: 20px 0 0 0;
}

#main5 div.r570 div.boxed div.twocol div.left
{
    float: left;
    width: 50%;
    text-align: left;
}

#main5 div.r570 div.boxed div.twocol div.right
{
    float: left;
    width: 50%;
    text-align: left;
}

div.r570 h3
{ 
    padding: 10px 0 20px 70px;
    margin: 0;
    font-size: 16px;
 }

div.r570 p
{ 
    padding: 10px 0 0 20px;
  }

div.r570 p.indent
{ 
    padding-left: 140px;
}

div.r570 p.indent70
{ 
    padding-left: 70px;
}

div.r570 h3.underline
{
    padding-bottom: 5px;
}

#main2 div.r570 h3.underline {border-bottom: 1px solid #EA6000;}
#main3 div.r570 h3.underline {border-bottom: 1px solid #F29600;}
#main4 div.r570 h3.underline {border-bottom: 1px solid #FBC600;}
#main5 div.r570 h3.underline {border-bottom: 1px solid #8DC21F;}
#main6 div.r570 h3.underline {border-bottom: 1px solid #4ABAAF;}
#main7 div.r570 h3.underline {border-bottom: 1px solid #0096DF;}

#main6 div.r570 p.underline {border-bottom: 1px solid #4ABAAF; margin-bottom:0; padding-bottom: 3px;}

div.r570 div.r500
{
    margin: 0 0 70px 70px;
}

#main2 div.r570 div.r500 {border-left: 1px solid #EA6000;}
#main3 div.r570 div.r500 {border-left: 1px solid #F29600;}
#main4 div.r570 div.r500 {border-left: 1px solid #FBC600;}
#main5 div.r570 div.r500 {border-left: 1px solid #8DC21F;}
#main6 div.r570 div.r500 {border-left: 1px solid #4ABAAF;}
#main7 div.r570 div.r500 {border-left: 1px solid #0096DF;}

div.r570 div.r500 p
{
    padding: 3px 0 10px 40px;
    margin: 0;
}

div.r570 div.r500 p.top
{
    margin: 5px 0 0 0;
}

div.r570 div.r500 p.bottom
{
    padding: 0;
    margin: 0;
}

div.r570 div.r500 h4
{
    padding: 40px 0 5px 40px;
    margin: 0;
}

div.r570 div.r500 h4.underlinetop
{
    padding: 60px 0 5px 40px;
    margin: 0;
}

#main3 div.r570 div.r500 h4.underline{border-bottom: 1px solid #F29600;}
#main3 div.r570 div.r500 h4.underlinetop{border-bottom: 1px solid #F29600;}
#main6 div.r570 div.r500 h4.underline{border-bottom: 1px solid #4ABAAF;}
#main6 div.r570 div.r500 h4.underline2
{
    border-bottom: 1px solid #4ABAAF;
    padding: 20px 0 5px 40px;
}

div.l200
{
  float: left;
  width: 200px;
  text-align: right;
  background: transparent;
}

div.r300
{
  float: left;
  width: 300px;
  margin-bottom: 40px;
  background: transparent;
}

div.r300 p, div.r300 h4
{
   padding:10px 0 0 20px;
   letter-spacing: 0;
   line-height: 170%;
}

/*メインロゴ*/
#mainlogo
{ 
  width: 296px;
  height: 74px;
  background: url(../img/mainlogo.gif) no-repeat;
 }

#mainlogo span
{ 
  display: none;
 }

/*メニュー下写真 */
div#menuphoto
{
    position: absolute;
    top: 133px;
    background: transparent url(../img/menu_photo.jpg) top no-repeat;   
    width: 798px;
    height: 106px;
    margin-left: 1px;
}

/* アクセスマップボタン */
#mapbutton
{
    position: relative;
    width: 180px;
    height: 25px;
    margin: 20px 0 -70px 20px;
}

#mapbutton ul 
{
    line-height: 100%;
}

#mapbutton li 
{
    list-style: none;
    text-indent: -9999px;
    float:left;
    width: 90px;
}

#mapbutton li a
{
    display: block;
    width: 90px;
    height: 25px;
    background-repeat: no-repeat;
}

#mapbutton li a.current 
{
    background-position: 0 -30px;
}

#mapbutton li a:hover{
    background-position: 0 -30px;
    background-repeat: no-repeat;
}

#mapbutton li#button1 a { background-image: url(../img/access_btn01.gif); }
#mapbutton li#button2 a { background-image: url(../img/access_btn02.gif); }

/* ズームボタン */
.zoombtn
{
    height: 25px;
}

#clinicfig1 p
{
    text-align: right;
}

#clinicfig1 .zoombtn
{
    margin-left: 200px;
    width: 50px;
}

.zoombtn ul
{
    line-height: 100%;
}

.zoombtn li 
{
    list-style: none;
    text-indent: -9999px;
    float:left;
    width: 90px;
}

.zoombtn li a
{
    display: block;
    width: 90px;
    height: 25px;
    background-repeat: no-repeat;
    background-image: url(../img/zoom_btn.gif)
}

.zoombtn li a:hover{
    background-position: 0 -30px;
    background-repeat: no-repeat;
    background-image: url(../img/zoom_btn.gif)
}

/* 診察表 */
table#clinictable
{
    width: 480px;
    margin: 15px 0 15px 70px;
    padding: 0;
}

table#clinictable td
{
    width: 12.5%;
    height: 20px;
    border: 1px #F29600 solid;
    padding: 4px;
    text-align: center;
}

table#clinictable td.blank
{
    color: #F29600
}