@charset "utf-8";
@import url(base.css);

/*--------------------------------------
  Layout Base Style Sheet
  Made by MASAKI http://www.ninemiles.net/
  2006-07-28

  - 共用ID, クラス
  - ページ毎の個別ID, クラス
  
  I.E用設定は別途用意
---------------------------------------*/

body {
	background-color: #fff8e6;
	padding-bottom: 25px;
}

h3 {
	padding: 1em 0 0.5em 0;
}

a:link {
	color: #c21212;
	border-bottom: 1px dotted #c21212;
}

a:visited {
	color: #707070;
	border-bottom: 1px dotted #707070;
}

a:hover {
	text-decoration: none;
	color: #c21212;
	background-color: #c21212;
	background-image: url(img/a_bg.png);
	background-repeat: repeat;
}

address {
	font-style: normal;
	line-height: 1.5;
	font-size: 90%;
}

em {
	color: #26419d;
	background-color: #fffde6;
	padding-left: 1px;
	padding-right: 1px;
}

strong {
	/*background-color: #fffbd2;*/
	padding-left: 3px;
	padding-right: 3px;
}

small {
	font-size: 80%;
}

ul, ol, li {
	margin: 0;
	padding: 0;
}

hr {
	border-width: 1px 0 0 0;
	border-style: solid;
	border-color: #9fbace;
	height: 1px;
	clear: both;
}

p {
	text-align: left;
	line-height: 1.5;
	margin-bottom: 1.5em;
}

table {
	margin-left: 5px;
}

th {
	background-color: #f0f0f0;
}
td {
	background-color: #fffdfb;
}

small {
	font-size: 75%;
}


/*****************************
        共用ID, クラス
 *****************************/

/* ヘッダブロック */
div#header {
	background-image: url(img/header_bg.png);
	background-position: right top;
	background-repeat: no-repeat;
	height: 205px;
	width: 95%;
	margin: 10px auto 0 15px;
	min-width: 760px;
}

/* ヘッダ */
h1#header_h {
	background-image: url(img/header.png);
	background-repeat: no-repeat;
	text-indent: -2000px;
	float: left;
	width: 540px;
	height: 205px;
}
h1#header_h a {
	display: block;
	width: 200px;
	height: 180px;
	background: transparent;
	border: 0;
}

/* フォントサイズ指定 */
div#header #fontch {
	position: absolute;
	top: 150px;
	right: 40px;
	color: #ffffff;
}
#fontch a {
	background-repeat: no-repeat;
	width: 20px;
	height: 20px;
	float: left;
	margin-top: 3px;
	margin-right: 1px;
	display: block;
	text-indent: -2000px;
	border: 0;
	background: none;
}
#fontch a#l {
	background-image: url(img/fs_l.png);
}
#fontch a#l.fs_selected {
	background-image: url(img/fs_l2.png);
}
#fontch a#m {
	background-image: url(img/fs_m.png);
}
#fontch a#m.fs_selected {
	background-image: url(img/fs_m2.png);
}
#fontch a#s {
	background-image: url(img/fs_s.png);
}
#fontch a#s.fs_selected {
	background-image: url(img/fs_s2.png);
}

/* コンテンツ全体 */
div#contents {
	margin: 0 auto 0 15px;
	width: 95%;
	min-width: 760px;
	min-height: 600px;
	height: auto !important;
	height: 600px;
	overflow: auto;
}

/* 右コンテンツブロック */
div#maincont {
	background-color: #ffffff;
	border-right: 2px solid #0260C8;
	border-bottom: 2px solid #0260C8;
	margin-left: 235px;
	padding: 10px;
	padding-left: 1px;
	position: relative;
	overflow: auto;
	/* 左ブロックとのケイ合わせに必要 */
	height: 1000px;
}

/* 左コンテンツブロック */
div#leftcont {
	background-color: #ffffff;
	padding: 10px;
	position: absolute;
	left: 29px;
	top: 215px;
	width: 200px;
	border-left: 2px solid #0260C8;
	border-bottom: 2px solid #0260C8;
	overflow: visible;
	/* メインブロックとのケイ合わせに必要 */
	height: 1000px;
}

/* コピーライト */
#copyright {
	font-size: 80%;
	clear: both;
	padding-top: 10px;
}


/* 医院への連絡：地図 */
div#map_p p {
	padding-left: 40px;
	margin-top: 1.5em;
	margin-bottom: 0.5em;
	font-size: 85%;
}

.map  {
	border: 1px solid #e0e0e0;
	vertical-align: bottom;
}

div#map_p a {
	border: 0!important;
	background: transparent;
}

/* 左コラムアインコンリンク */
div#iconlink {
	margin-top: 30px;
	padding-left: 45px;
}

div#iconlink p {
	margin-bottom: 0.75em;
}

div#iconlink a {
	border: 0;
}

/* 写真：左フロート */
.ph_l {
	float: left;
	margin: 0 1em 1em 0;
}



/*****************************
            メニュー
 *****************************/
 
ul#menu {
	list-style-type: none;
	margin: 0 0 10px 0;
	width: 180px;
}

ul#menu li {
	background-color: #eef5f9;
	background-image: url(img/menu_li_bg.jpg);
	background-repeat: no-repeat;
	margin: 0 0 2px 3px;
	width: 180px;
	height: 30px;
	font-size: 90%;
}

ul#menu li a {
	color: #303030;
	display: block;
	padding: 8px;
	padding-left: 33px;
	border: 0;
}

ul#menu li a:hover {
	background-color: transparent;
	background-image: url(img/menu_li_bg2.jpg);
/*	background-image: url(img/li_bg_on.png);
	background-position: 3px 7px;*/
	background-repeat: no-repeat;
}

ul#menu li div.selected {
	background-image: url(img/menu_li_bg2.jpg);
	padding: 8px;
	padding-left: 33px;
	font-weight: bold;
}

 
/*****************************
        個別ID, クラス
 *****************************/

/******* 各ヘディング ********/
h2 {
	background-repeat: no-repeat;
	text-indent: -2000px;
	height: 40px;
}
h3 {
	background-position: left bottom;
	background-repeat: no-repeat;
	text-indent: -2000px;
	height: 30px;
	margin-bottom: 10px;
}

/* トップ：冒頭タイトル */
h2#greeting {
	background-image: url(img/title_greeting.png);
}

/* トップ：医院からのお知らせタイトル */
h3#info_h, h2#info_h {
	background-image: url(img/title_info.png);
}

/* トップ：診療時間タイトル */
h3#schedule {
	background-image: url(img/title_schedule.png);
}

/* 初診タイトル */
h2#firstvisit {
	background-image: url(img/title_fvisit.png);
	height: 30px;
}

/* 院長紹介タイトル */
h2#director {
	background-image: url(img/title_director.png);
}

/* 医院ポリシータイトル */
h3#policy {
	background-image: url(img/title_policy.png);
}

/* 予防接種タイトル */
h2#protection {
	background-image: url(img/title_protection.png);
	height: 30px;
}

/* 予防接種受け方タイトル */
h3#howto {
	background-image: url(img/title_howto.png);
}

/* 乳児検診タイトル */
h2#baby {
	background-image: url(img/title_baby.png);
	height: 30px;
}

/* リンクタイトル */
h2#links {
	background-image: url(img/title_links.png);
	height: 30px;
}

/* 医院への連絡タイトル */
h2#contact {
	background-image: url(img/title_contact.png);
	height: 30px;
}

ul#info {
	list-style-type: none;
	margin: 1em 0 30px 0;
}

/* トップでのお知らせ */
div#topinfo ul#info {
	font-size: 85%;
}

ul#info li {
	line-height: 1.3;
	margin: 0 0 1em 0.5em;
}

/* 更新日付 */
ul#info li em.date {
	background-color: #fff1bf;
	padding: 2px;
	padding-left: 0.5em;
	margin-bottom: 5px;
	margin-left: -0.5em;
	display: block;
	font-size: 85%
}

ul#info li big {
	font-size: 125%;
}
ul#info li small {
	font-size: 80%;
}

ul#info li em.date big {
	font-size: 110%;
	font-weight: bold;
}

/* トップ：外観関連 */
div#phinfo img {
	vertical-align: top;
/*	border: 1px solid #e0e0e0;*/
}

/*
div#phinfo a {
	border: 0!important;
	background: transparent;
}
*/

/* トップ：診療時間 */
#schedule_table {
	width: 260px;
	float: left;
	margin-right: 5px;
	margin-left: -1px;
}

#p_time {
	font-size: 80%;
}

/* トップ：土日文字色 */
.saturday {
	color: #005fbd;
}
.sunday {
	color: #c21212;
}

/* トップ：お知らせ */
div#topinfo {
	float: left;
	width: 52%;
	padding-left: 1em;
	border-left: 2px dotted #909090;
}

/* 医院のポリシー */
ul#policy_ul {
	list-style-type: none;
	margin: -10px 0 20px 1px;
}

ul#policy_ul li {
	background-image: url(img/policy_li_bg.png);
	background-position: 0px 5px;
	background-repeat: no-repeat;
	line-height: 1.5;
	margin-bottom: 1em;
	padding-left: 15px;
}

/* リンク */
ul#link_ul {
	list-style-type: none;
	margin: 10px 0 20px 1px;
}

ul#link_ul li {
	background-image: url(img/policy_li_bg.png);
	background-position: 0px 5px;
	background-repeat: no-repeat;
	line-height: 1.5;
	margin-bottom: 1em;
	padding-left: 15px;
}

/* 医院への連絡：地図 */
div#map {
	margin-top: 40px;
	margin-left: 0;
	width: 480px;
	height: 373px;
	border: 1px solid #c0c0c0;
}


/* 医院への連絡：内容確認テーブル */
table#contact_t th {
	text-align: left;
}

h3#cert_h, h3#error {
	text-indent: 0;
	font-size: 120%;
}
h3#error {
	color: #cc0000;
}

pre {
	margin-left: 0;
	font-family: monospace!important;
}