/* @import url(https://ogasawaraclinic.jp/mt/mt-static/themes-base/blog.css); */
/* @import url(https://ogasawaraclinic.jp/mt/mt-static/themes/minimalist-red/screen.css); */

body{
	margin:0px;
	padding:0px;
        text-align:center;
	color:#333333;
	height:auto;
	background-image: url(./image/head_bg.gif);
	background-position : top center ; /* 位置は上端の真ん中 */
	background-repeat : repeat-x ; /* 背景　横に繰り返し表示 */
}

#head{
	width:1000px;
	margin:0px auto 0px auto;
	height:132px;
	padding: 0px;
        text-align:left;
        position:relative;
}

h1{
	text-indent:100%;
	white-space:nowrap;
	overflow:hidden;
	width:265px;
	height:47px;
	background:url(./image/logo.gif) no-repeat; 
	position:absolute;
	top:43px;
	left:0px;
	margin:0px;
	padding: 0px;
}

img.time{
	position:absolute;
	top:47px;
	left:280px;
}

img.address{
	position:absolute;
	top:23px;
	left:687px;
}

img{
	margin:0px;
	padding:0px;
}

#foot {
	width:100%;
	margin:20px auto 0px auto;
	padding: 0px 0px 10px 0px;
	color:#333;
	font-size:70%;
	text-align:center;
	line-height:120%;
	background-image: url(./image/footer_bg.jpg);
	background-position : bottom center ; /* 位置は上端の真ん中 */
	background-repeat : no-repeat ; /* 背景　横に繰り返し表示 */
	float:left;
}

#foot p{
	color:#333;
	font-family:"ＭＳ Ｐゴシック",sans-serif,Osaka,Helvetica;
	margin: 0px 0px 5px 0px;
	padding: 0px;
	font-size:100%;
}

#foot a{
        color:#333;
	font-weight:normal;
	text-align:center;
	clear:both;
	padding:0px;
	text-decoration:none;
}

#foot a:hover{
	text-decoration:underline;
}

.footerh {
    margin: 0;
    padding: 0px 0 0px;
    background: url(./image/foot_title.gif) no-repeat;
	height:66px;
}

.footer {
    position: relative;
    margin: 0px auto 0px;
    padding:0px ;
    width:1000px;
    text-align: left;
    font-size: 1em;
    clear: both;
    background: url(./image/foot_bg.gif) repeat-y bottom;
}

.footerb {
        color:#fff !important ; 
	font-size:120% !important ; 
    margin: 0 0 10px 0;
    padding: 10px 20px 20px 20px;
    background: url(./image/foot_foot.gif) no-repeat bottom;
  line-height: 1.5em !important ; 
}

.footerb a{
        color:#fff !important ; 
	font-weight:normal;
	text-align:center;
	clear:both;
	padding:0px;
	text-decoration:none;
}

.footerb a:hover{
	text-decoration:underline;
}

p{
	color:#333;
	font-size:90%;
	line-height:140%;
	font-family:"Lucida Sans", Arial,"ＭＳ Ｐゴシック",sans-serif,Osaka,Helvetica;
}

strong{
	color: #038f4e;
}

a img{
	border:0
}

.main{
	margin:0px auto 0px auto;
	width:1000px;
	margin-top:20px;
	padding:0px;
	padding-bottom:10px;
	height:auto;
	text-align: left;
        position:relative;

}

.main_left{
	margin-top:0px;
	float:left;
	width:660px;
	height:auto;

}

.wakuh {
    margin: 0;
    padding: 0px 0 0px;
    background: url(./image/main_left_title.gif) no-repeat;
	height:47px;
}

.waku {
    position: relative;
    margin: 0px auto 0px;
    padding:0px ;
    width: 660px;
    text-align: left;
    font-size: 1em;
    clear: both;
    background: url(./image/main_left_bg.gif) repeat-y bottom;
}

.wakub {
    margin: 0 0 0px 0;
    padding: 10px 20px 10px 20px;
    background: url(./image/main_left_foot.gif) no-repeat bottom;
}


.main_right{
	width:321px;
	float:right;
	background-color:#fff;

}

.wakuh_news {
    margin: 0;
    padding: 0px 0 0px;
    background: url(./image/news_title.gif) no-repeat;
	height:48px;
}

.waku_news {
    position: relative;
    margin: 0px auto 20px;
    padding:0px ;
    width:321px;
    text-align: left;
    font-size: 1em;
    clear: both;
    background: url(./image/news_bg.gif) repeat-y bottom;
}

.wakub_news {
    margin: 0 0 0px 0;
    padding: 10px 20px 10px 20px;
    background: url(./image/news_foot.gif) no-repeat bottom;
}

div.news_frame{/* インラインフレーム */
    	height:152px;
    	width:287px;
    	overflow:auto;
	padding-left:0px;
	padding-top:0px;
	margin-top:0px;
	margin-left:0px;
	margin-bottom:0px;
}
* html div.news_frame{/* インラインフレーム */
    	height:152px;
    	width:287px;
    	overflow:auto;
	padding-left:0px;
	padding-top:0px;
	margin-top:0px;
	margin-left:0px;
	margin-bottom:0px;
}

@media screen{/* インラインフレーム */
div.news_frame{overflow:auto;}
}



div.news_frame p{/* インラインフレーム */
	margin:0px;
}

#g_navi {
	margin:0px auto 0px auto;
	padding:0px;
	width:1000px;
	background-image:url(./image/menu.gif);
	background-repeat:no-repeat;
	background-position: top;
}
* html #g_navi{
	margin:0px auto 0px auto;
	padding:0px;
	width:1000px;
	background-image:url(./image/menu.gif);
	background-repeat:no-repeat;
	background-position: top;

}

#g_navi ul {
	height:37px;
        margin:0px;
	padding:0px;
	width:1000px;
}
#g_navi li {
	display:inline;
	list-style-type:none;
	margin:0px;
}
#g_navi li a {
	width:auto;
	display:block;
	float:left;
	text-decoration:none;
	height:0px;
	overflow:hidden;
	padding-top:37px;
}

* html #g_navi li a {
	width:auto;
	display:block;
	float:left;
	text-decoration:none;
	height:37px;
	overflow:hidden;
	padding-top:37px;
}

/*------off*/
#g_navi li.g_navi01 a {
	background:url(./image/menu.gif) no-repeat 0px 0px;
	width:125px;
}
#g_navi li.g_navi02 a {
	background:url(./image/menu.gif) no-repeat -125px 0px;
	width:125px;
}
#g_navi li.g_navi03 a {
	background:url(./image/menu.gif) no-repeat -250px 0px;
	width:125px;
}
#g_navi li.g_navi04 a {
	background:url(./image/menu.gif) no-repeat -375px 0px;
	width:125px;
}
#g_navi li.g_navi05 a {
	background:url(./image/menu.gif) no-repeat -500px 0px;
	width:125px;
}
#g_navi li.g_navi06 a {
	background:url(./image/menu.gif) no-repeat -625px 0px;
	width:125px;
}
#g_navi li.g_navi07 a {
	background:url(./image/menu.gif) no-repeat -750px 0px;
	width:125px;
}
#g_navi li.g_navi08 a {
	background:url(./image/menu.gif) no-repeat -875px 0px;
	width:125px;
}

/*------hover*/
#g_navi li.g_navi01 a:hover {
	background:url(./image/menu.gif) no-repeat 0px -37px;
}
#g_navi li.g_navi02 a:hover {
	background:url(./image/menu.gif) no-repeat -125px -37px;
}
#g_navi li.g_navi03 a:hover {
	background:url(./image/menu.gif) no-repeat -250px -37px;
}
#g_navi li.g_navi04 a:hover {
	background:url(./image/menu.gif) no-repeat -375px -37px;
}
#g_navi li.g_navi05 a:hover {
	background:url(./image/menu.gif) no-repeat -500px -37px;
}
#g_navi li.g_navi06 a:hover {
	background:url(./image/menu.gif) no-repeat -625px -37px;
}
#g_navi li.g_navi07 a:hover {
	background:url(./image/menu.gif) no-repeat -750px -37px;
}
#g_navi li.g_navi08 a:hover {
	background:url(./image/menu.gif) no-repeat -875px -37px;
}

img.submenu_title{
    margin:0px;
    margin-top:5px;
    margin-left:0px;
    padding:0px;
    width:188px;
}


#g_sub_navi1 {
	margin:0px 0px 15px 0px;
	padding:0px;
	width:320px;
	background-image:url(./image/sub_menu1.png);
	background-repeat:no-repeat;
	background-position: top left;
        position:absolute;
	top:0px;
	left:680px;
}
* html #g_sub_navi1 {
	margin:0px 0px 15px 0px;
	padding:0px;
	width:320px;
	background-image:url(./image/sub_menu1.png);
	background-repeat:no-repeat;
	background-position: top left;
	float:right;

}

#g_sub_navi1 ul {
	height:130px;
        margin:0px;
	padding:0px;
	width:320px;
}
#g_sub_navi1 li {
	display:inline;
	list-style-type:none;
	margin:0px;
}

#g_sub_navi1 li a {
	width:auto;
	display:block;
	float:left;
	text-decoration:none;
	height:0px;
	overflow:hidden;
	padding-top:130px;
	margin-right:0px;
}

* html #g_sub_navi1 li a {
	width:auto;
	display:block;
	float:left;
	text-decoration:none;
	height:130px;
	overflow:hidden;
	padding-top:130px;
}

#g_sub_navi1 li a.last {
	width:auto;
	display:block;
	float:left;
	text-decoration:none;
	height:0px;
	overflow:hidden;
	padding-top:130px;
	margin-top:20px;
	margin-right:0px;
}

* html #g_sub_navi1 li a.last {
	width:320px;
	display:block;
	float:left;
	text-decoration:none;
	height:130px;
	overflow:hidden;
	padding-top:130px;
	margin-top:20px;
}

/*------off*/
#g_sub_navi1 li.g_sub_navi01 a {
	background:url(./image/sub_menu1.png) no-repeat 0px 0px;
	width:320px;
}
#g_sub_navi1 li.g_sub_navi02 a {
	background:url(./image/sub_menu1.png) no-repeat 0px -152px;
	width:320px;
}

/*------hover*/
#g_sub_navi1 li.g_sub_navi01 a:hover {
	background:url(./image/sub_menu1.png) no-repeat -320px 0px;
}
#g_sub_navi1 li.g_sub_navi02 a:hover {
	background:url(./image/sub_menu1.png) no-repeat -320px -152px;
}

#g_sub_navi2 {
	margin:20px 0px 20px 0px;
	padding:0px;
	width:1000px;
	background-image:url(./image/sub_menu2.png);
	background-repeat:no-repeat;
	background-position: top left;
}
* html #g_sub_navi2 {
	margin:20px 0px 20px 0px;
	padding:0px;
	width:1000px;
	background-image:url(./image/sub_menu2.png);
	background-repeat:no-repeat;
	background-position: top left;

}

#g_sub_navi2 ul {
	height:118px;
        margin:0px;
	padding:0px;
	width:1000px;
}
#g_sub_navi2 li {
	display:inline;
	list-style-type:none;
	margin:0px;
}

#g_sub_navi2 li a {
	width:auto;
	display:block;
	float:left;
	text-decoration:none;
	height:0px;
	overflow:hidden;
	padding-top:118px;
	margin-right:20px;
}

* html #g_sub_navi2 li a {
	width:auto;
	display:block;
	float:left;
	text-decoration:none;
	height:118px;
	overflow:hidden;
	padding-top:118px;
}

#g_sub_navi2 li a.last {
	width:auto;
	display:block;
	float:left;
	text-decoration:none;
	height:0px;
	overflow:hidden;
	padding-top:118px;
	margin-right:0px;
}

* html #g_sub_navi2 li a.last {
	width:320px;
	display:block;
	float:left;
	text-decoration:none;
	height:118px;
	overflow:hidden;
	padding-top:118px;
}

/*------off*/
#g_sub_navi2 li.g_sub_navi01 a {
	background:url(./image/sub_menu2.png) no-repeat 0px 0px;
	width:320px;
}
#g_sub_navi2 li.g_sub_navi02 a {
	background:url(./image/sub_menu2.png) no-repeat -340px -0px;
	width:320px;
}
#g_sub_navi2 li.g_sub_navi03 a {
	background:url(./image/sub_menu2.png) no-repeat -680px -0px;
	width:320px;
}

/*------hover*/
#g_sub_navi2 li.g_sub_navi01 a:hover {
	background:url(./image/sub_menu2.png) no-repeat 0px -118px;
}
#g_sub_navi2 li.g_sub_navi02 a:hover {
	background:url(./image/sub_menu2.png) no-repeat -340px -118px;
}
#g_sub_navi2 li.g_sub_navi03 a:hover {
	background:url(./image/sub_menu2.png) no-repeat -680px -118px;
}

img.imglink {
border:none;
	padding: 0px;
}
p.imglinkp {
display:block;
width:514px;
height:auto;
	margin: 0px 0px 10px 0px;
padding:10px 10px 10px 10px;
background-color:#fff;
border:1px solid #999;
}


p.imglinkp280 {
display:block;
width:280px;
height:auto;
	margin: 0px 0px 10px 0px;
padding:10px 10px 10px 10px;
background-color:#fff;
border:1px solid #999;
}

div.left{
	float:left;
	margin-left: 0px;
}
div.left10{
	float:left;
	margin-left: 10px;
}

span.ind {
    margin-left: 0.9rem;
}

ul.ind {
    margin-top: -0.8em;
    padding-left: 10px;
    margin-left: 0.9rem;
}

ul.ind li {
    list-style-type: none;
    font-size: 90%;
    font-family: "Lucida Sans", Arial, "ＭＳ Ｐゴシック", sans-serif, Osaka, Helvetica;
    margin-bottom: 2px;
    text-indent: -0.9rem;
    padding-left: 0.9rem;
}

ul.ind.ind2 {
    margin-bottom: -0.8rem;
}

span.ind3 {
    padding-left: 4rem;
}

.pc {
    display: block;
}

.sp {
    display: none;
}

/* --- レスポンシブ対応（スマホ） --- */
@media screen and (max-width: 768px) {

  /* ========== 基本設定 ========== */
  body {
    background-image: none;
    text-align: left;
    overflow-x: hidden;
    font-size: 14px;
    line-height: 1.6;
  }

  /* すべての画像を確実にレスポンシブに */
  img {
    max-width: 100%;
    height: auto;
    display: block;
  }

  /* ========== ヘッダー ========== */
  #head {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 15px;
    height: auto;
    background: none;
    text-align: center;
  }

  h1 {
    width: 80%;
    max-width: 265px;
    height: 60px;
    position: static;
    margin: 0 auto 15px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
  }

  h1 a {
    position: static;
    display: block;
    width: 100%;
    height: 100%;
  }

  img.time,
  img.address {
    position: static;
    width: 90%;
    max-width: 300px;
    height: auto;
    display: block;
    margin: 10px auto;
  }

  /* ========== ハンバーガーメニュー ========== */
  .menu-toggle {
    display: block;
    background: #038f4e;
    color: white;
    padding: 12px 20px;
    text-align: center;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    margin: 10px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: background-color 0.3s ease;
  }

  .menu-toggle:hover {
    background: #026b3a;
  }

  .menu-toggle .menu-icon {
    font-size: 20px;
    vertical-align: middle;
    margin-right: 8px;
    display: inline-block;
  }

  .menu-toggle .menu-text {
    vertical-align: middle;
  }

  /* ========== ナビゲーション ========== */
  #g_navi {
    background: none;
    width: 100%;
    padding: 0;
    margin-bottom: 20px;
  }

  #g_navi ul {
    display: none;
    padding: 0;
    margin: 0;
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 5px;
    width: 100%;
    height: auto !important;
  }

  #g_navi.active ul {
    display: block;
  }

  #g_navi li {
    display: block;
    width: 100%;
    margin: 0;
    float: none;
  }

  #g_navi li a {
    background: none !important;
    display: block !important;
    width: 100% !important;
    height: auto !important;
    padding: 15px 20px !important;
    text-align: left !important;
    color: #333 !important;
    border-bottom: 1px solid #ddd !important;
    text-indent: 0 !important;
    overflow: visible !important;
    font-size: 14px !important;
    text-decoration: none !important;
    box-sizing: border-box !important;
  }

  #g_navi li:last-child a {
    border-bottom: none !important;
  }

  #g_navi li a:hover,
  #g_navi li a:active {
    background-color: #f0f0f0 !important;
    color: #038f4e !important;
  }

  /* すべてのナビゲーションクラスをリセット */
  #g_navi li.g_navi01 a,
  #g_navi li.g_navi02 a,
  #g_navi li.g_navi03 a,
  #g_navi li.g_navi04 a,
  #g_navi li.g_navi05 a,
  #g_navi li.g_navi06 a,
  #g_navi li.g_navi07 a,
  #g_navi li.g_navi08 a {
    background: none !important;
    width: 100% !important;
    height: auto !important;
    padding-top: 0 !important;
  }

  #g_navi li.g_navi01 a:hover,
  #g_navi li.g_navi02 a:hover,
  #g_navi li.g_navi03 a:hover,
  #g_navi li.g_navi04 a:hover,
  #g_navi li.g_navi05 a:hover,
  #g_navi li.g_navi06 a:hover,
  #g_navi li.g_navi07 a:hover,
  #g_navi li.g_navi08 a:hover {
    background-color: #f0f0f0 !important;
  }

  /* サブナビゲーション非表示 */
  #g_sub_navi1,
  #g_sub_navi2 {
    display: none;
  }

  /* ========== メインコンテンツ ========== */
  .main {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 10px;
    display: block;
    margin-top: 10px;
  }

  .main_left,
  .main_right {
    float: none;
    width: 100%;
    margin: 0 0 20px 0;
  }

  /* ========== コンテンツボックス ========== */
     .wakuh, .wakuh_news {
        background: none;
        color: white;
        padding: 10px 0 0;
        text-align: center;
        font-size: 16px;
        font-weight: bold;
        height: auto;
        margin: 0;
    }

  .waku,
  .waku_news {
    width: 100%;
    background: white;
    border: none;
    border-radius: 0 0 5px 5px;
    margin-top: 0;
    margin-bottom: 20px;
    padding: 0;
  }

     .wakub, .wakub_news {
        background: #f9f9f9;
        padding: 15px;
        border-right: 1px solid #c3dcca;
        border-left: 1px solid #c3dcca;
        border-bottom: 1px solid #c3dcca;
        border-radius: 0 0 6px 6px;
    }

  /* ========== ニュースフレーム ========== */
  div.news_frame {
    width: 100%;
    height: auto;
    max-height: 250px;
    overflow-y: auto;
    padding: 10px;
    box-sizing: border-box;
    -webkit-overflow-scrolling: touch;
  }

  * html div.news_frame {
    width: 100%;
    height: auto;
  }

  div.news_frame p,
  div.news_frame a {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
  }

  /* ========== フッター ========== */
     #foot {
        width: 100%;
        background-size: cover;
        padding: 0px;
        box-sizing: border-box;
        margin-top: 0;
    }

    .footer {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding: 0px;
        background: none;
        display: block;
    }

    .footerh, .footerb {
        width: 100%;
        background-size: contain;
        padding: 20px 20px 0;
        box-sizing: border-box;
        background: none;
        height: auto;
    }

    .footerb {
        background: #0a7c26;
        padding: 0 20px 20px;
        margin: 0 20px 20px 20px;
        width: auto;
        border-radius: 0 0 8px 8px;
    }


  /* ========== リスト要素 ========== */
  ul.submenu,
  ul.auto,
  ul.news {
    width: 100%;
    padding: 0 10px;
    box-sizing: border-box;
  }

  ul.submenu li,
  ul.auto li,
  ul.news li {
    padding-left: 10px;
    margin-bottom: 10px;
  }

  /* ========== その他の要素 ========== */
  div.left,
  div.left10 {
    float: none;
    margin: 10px 0;
  }

  p {
    font-size: 14px;
    line-height: 1.8;
    margin: 10px 0;
    padding: 0 10px;
  }

  p.imglinkp,
  p.imglinkp280 {
    width: 100%;
    box-sizing: border-box;
    margin: 10px 0;
  }

  img.imglink01 {
    width: 100%;
    max-width: 100%;
  }

  img.submenu_title {
    width: 100%;
    max-width: 100%;
  }

  /* ========== PC/SP表示切り替え ========== */
  .pc {
    display: none !important;
  }

  .sp {
    display: block !important;
  }

  img.sp {
    width: 100%;
    height: auto;
  }

.wakuh_news img {
    margin: auto;
}

.wakub_news {
    width: 100%;
    max-width: 289px;
    margin: auto;
}

.main_right img {
    margin: auto;
}

p.imglinkp280 img {
    width: 100%;
}

.main_right_sub {
    float: right;
    width: 100%;
    background-color: #fff;
    border-right: 1px solid #83bc90;
    border-left: 1px solid #83bc90;
}

.waku_sub {
    position: relative;
    margin: 0px auto 0px;
    padding: 0px;
    width: 100%;
    text-align: left;
    font-size: 1em;
    clear: both;
    background: url(./image/sub_bg.gif) repeat-y bottom;
}

.right10 img {
    width: 100%;
}

.wakub_sub div.right10 {
    float: none;
    margin-top: 20px;
    margin-left: 10px;
    margin-right: 10px;
}

p.imglinkp {
    display: block;
    width: 100%;
    height: auto;
    margin: 0px 0px 10px 0px;
    padding: 10px 10px 10px 10px;
    background-color: #fff;
    border: 1px solid #999;
}

.main_left_sub {
    margin-top: 0px;
    float: none;
    width: 255px;
    height: auto;
    margin: 110px auto 0;
    display: table;
}

#g_navi li a {
    width: auto;
    display: block;
    float: none;
    text-decoration: none;
    height: 0px;
    overflow: hidden;
    padding-top: 37px;
}


}

/* タブレット対応 */
@media screen and (min-width: 769px) and (max-width: 1024px) {
  #head, .footer, .main, #g_navi {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
  }
}
