@charset "Shift_JIS";

/* 要素リセット */
body{
    margin: 0;
    padding: 0;
    font-size: 75%;
    font-family: 'メイリオ' ,Meiryo, 'ヒラギノ角ゴ Pro W3' , 'Hiragino Kaku Gothic Pro' , 'ＭＳ Ｐゴシック' , 'Osaka' ,sans-serif;
    color: #333333; /* 標準文字色 */
    background-image : url(pageBg_3F.png);
    background-position: top left;
    background-repeat: repeat;
    min-width: 882px;
}
/* Safari用ハック 文字サイズ調整 */
/*\*/
html:first-child body{
    font-size: 70%;
}
/* end */

img{
    border-top: 0;
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
}

/*--------------------------------------------------------
  レイアウト設定
--------------------------------------------------------*/
#hpb-container{
    margin-top: -1px;
    margin-right: auto;
    margin-bottom: 0;
    margin-left: auto;
    padding-top: 20px;
    padding-bottom: 0;
    background-image : url(fBg_3F.png);
    background-position: top left;
    background-repeat: repeat-x;
    background-color: #fff;
}

#hpb-header{
    width: 882px;
    height: 66px;
    margin-right: auto;
    margin-left: auto;
    background-image : url(headerBg_3F.png);
    background-position: top left;
    background-repeat: no-repeat;
}

#hpb-inner{
    width: 882px;
    padding-top: 20px;
    padding-bottom: 10px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

#hpb-inner::after{
    content: ".";
    clear: both;
    height: 0;
    display: block;
    visibility: hidden;
}

.hpb-layoutset-01 #hpb-wrapper{
    width: 882px;
    padding-top: 30px;
    margin-right: 0;
    margin-bottom: 0;
}

.hpb-layoutset-02 #hpb-wrapper{
    width: 615px;
    float: right;
    padding-top: 30px;
}

#hpb-title{
    margin-top: 10px;
}

.hpb-layoutset-01 #hpb-main{
    width: 615px;
    float: right;
}

.hpb-layoutset-02 #hpb-main{
    padding-top: 5px;
}

.hpb-layoutset-01 #hpb-aside{
    width: 251px;
    float: left;
    padding-bottom: 10px;
}

* html .hpb-layoutset-01 #hpb-aside{
    float: left; /* for IE6 */
}

*:first-child + html .hpb-layoutset-01 #hpb-aside{
    position: absolute; /* for IE7 */
    left: 0;
    top: 345px;
    margin-bottom: 10px;
}

.hpb-layoutset-02 #hpb-aside{
    width: 251px;
    float: left;
    padding-top: 40px;
}

#hpb-footerMain p{
    width: 882px;
}


/*--------------------------------------------------------
  デザイン設定
--------------------------------------------------------*/

/* トップページ デザイン定義 */
.hpb-layoutset-01 #hpb-title{
    width: 882px;
    padding-bottom: 10px;
}

.hpb-layoutset-01 #hpb-title h2{
    width: 882px;
    height: 277px;
    margin-top: 0;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0;
    overflow: hidden;
    text-indent: -9999px;
    background-image : url(top_mainimg_3F_02.png);
    background-position: top center;
    background-repeat: no-repeat;
}
/* コンテンツ配置領域 */

#toppage-text p{
    padding-left: 5px;
    padding-right: 5px;
}

/*--------------------------------------------------------
  共通パーツデザイン設定
--------------------------------------------------------*/

#banner a#banner-time{
    /* 診療時間バナー */
    width: 251px;
    height: 65px;
    background-image : url(banner_3F_02_01.png);
    background-position: top left;
    background-repeat: no-repeat;
}

#banner a#banner-access{
    /* アクセスバナー */
    width: 251px;
    height: 65px;
    background-image : url(banner_3F_02_02.png);
    background-position: top left;
    background-repeat: no-repeat;
}

#banner ul li{
    margin-left: 0;
    margin-top: 0;
    margin-right: 0;
    margin-bottom: 7px;
    padding: 0;
}

.hpb-layoutset-02 #banner ul li a{
    margin-bottom: 4px;
}

#shopinfo{
    background-image : url(sideBg_3F.png);
    background-position: top left;
    background-repeat: repeat-x;
    padding: 8px;
}

#shopinfo h3{
    background-image : url(pointSide_3F.png);
    background-position: top left;
    background-repeat: no-repeat;
    padding-right: 5px;
    padding-bottom: 5px;
    padding-left: 14px;
    color: #4b8e0a;
    margin-top: 0;
    margin-left: 5px;
    margin-top: 0;
    margin-bottom: 0;
    text-align: left;
}

#shopinfo h3 .ja{
    display: none;
}

#shopinfo p{
    padding-top: 0;
    padding-right: 5px;
    padding-bottom: 5px;
    padding-left: 18px;
    margin-bottom: 0;
}

/* =======================================================
  レスポンシブル設定
======================================================= */
@media screen and (max-width: 568px) {
	/* 要素リセット */
	body{
	    min-width: 100%;
	}

	/*--------------------------------------------------------
	  レイアウト設定
	--------------------------------------------------------*/
	#hpb-container{
		padding-top: 15px;
		background-image: none;
		border-top-color:#41b0ea;
		border-top-style: solid;
		border-top-width: 5px;
	}

	#hpb-header{
	    width: 100%;
	    height: auto;
		padding-bottom: 10px;
	}

	#hpb-inner{
	    width: 100%;
		padding-top: 0;
		padding-bottom: 0;
	}

	.hpb-layoutset-01 #hpb-wrapper{
	    width: 100%;
		padding-top: 0;
	}

	.hpb-layoutset-02 #hpb-wrapper{
	    width: 100%;
	    float: none;
	    padding-top: 0;
	}

	#hpb-title{
	    margin-top: 0;
	}

	.hpb-layoutset-01 #hpb-main{
		width: 96%;
	    float: none;
		margin-right: auto;
		margin-left: auto;
		padding-bottom: 20px;
	}

	.hpb-layoutset-02 #hpb-main{
		width: 96%;
		margin-right: auto;
		margin-left: auto;
		padding-bottom: 20px;
	}

	.hpb-layoutset-01 #hpb-aside{
	    width: 96%;
	    float: none;
	    padding-bottom: 20px;
		margin-right: auto;
		margin-left: auto;
	}

	.hpb-layoutset-02 #hpb-aside{
		width: 96%;
		float: none;
		padding-top: 0;
		padding-bottom: 20px;
		margin-right: auto;
		margin-left: auto;
	}

	#hpb-footerMain p{
	    width: 100%;
		word-break:break-all;
	}


	/*--------------------------------------------------------
	  デザイン設定
	--------------------------------------------------------*/

	/* トップページ デザイン定義 */
	.hpb-layoutset-01 #hpb-title{
	    width: 100%;
	}

	.hpb-layoutset-01 #hpb-title h2{
	    width: 100%;
	    height: 180px;
		background-size: contain;
	}
	/* コンテンツ配置領域 */

	/*--------------------------------------------------------
	  共通パーツデザイン設定
	--------------------------------------------------------*/

	#banner a#banner-time{
	    /* 診療時間バナー */
		max-width: 100%;
		background-position: top center;
		background-size: contain;
		margin-left: auto;
		margin-right: auto;
	}

	#banner a#banner-access{
	    /* アクセスバナー */
		max-width: 100%;
		background-position: top center;
		background-size: contain;
		margin-left: auto;
		margin-right: auto;
	}
}
