@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用設定は別途用意
---------------------------------------*/

/*****************************
 ++ responsive : パソコン
 *****************************/
 
@media screen and (min-width:720px) {

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

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

p a {
    display:inline-block;
    text-indent:0;
    line-height:1;
}

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: #fffcbc;
	padding-left: 1px;
	padding-right: 1px;
}

strong {
	/*background-color: #fffbd2;*/
	padding-left: 1px;
	padding-right: 1px;
	color: #cc0000;
	font-weight:normal;
}

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

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

    p.plain { text-indent: 0; }



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

    /* 移転挨拶 */
    .newinfo {
        text-indent: 0;
        font-size: 15px;
        color: #cc0000;
    }

/* ヘッダブロック */
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: 700px;
	position:relative;
}

/* ヘッダ */
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: 20px;
	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: 700px;
	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: 1020px;
}

/* 左コンテンツブロック */
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: 1020px;
}

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


/* 医院への連絡：地図 */
div#map_p p {
	padding-left: 30px;
	margin-top: 10px;
	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: 10px 0;
	/*padding-left: 45px;*/
}

div#iconlink img {
	margin:10px 0 0 0;
}

div#iconlink a {
	border: 0;
}

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



/*****************************
            メニュー
 *****************************/

.panel {
    display: block !important;
    margin-top: -20px;
}

a#menu {
    display: none;
}

ul#menu {
	list-style-type: none;
	margin: 0 0 10px 0px;
	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%;
	line-height: 1.25;
}

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-top: 9px;
	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;
}



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 {
    width: 95%;
    border-radius: 8px;
	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 {
    text-indent: 0;
	font-size: 90%;
}

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

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

/* 医院への連絡：地図 */
div#map {
	margin: 40px 0 20px 0;
	/* width: 680px; */
	width: 99%;
	height: 373px;
	border: 1px solid #c0c0c0;
}

#map > div > div > div > div > div > div  em {
    display:block;
    width:10em;
    font-size: 18px;
}

#map div p {
	font-size: 95%;
	margin:10px 0 5px 0;
	text-indent:0;
}

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

}

/* END of min-width:720px */


/*****************************
 ++ responsive : 共通
 *****************************/

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

small,
.small {
	font-size: 80%;
}

table {
	margin-left: 5px;
}

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

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

/* トップ：冒頭タイトル */
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);
}

/* 任意接種ワクチンについてタイトル */
h3#optional {
	background-image: url(./img/title_optional.png);
}

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

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

/* リンク */
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;
}

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

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

/* 医院のポリシー */
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;
}

/* 予防接種：表 */
td.price {
	text-align: right;
}


/*****************************
 ++ responsive : スマートフォン
 *****************************/
@media screen and (max-width:719px) {

    a:hover {
    	/* background: none; */
    }
    
    p img {
        display: block;
        margin: 0 auto 8px;
    }

    /* コンテンツ全体 */
    div#contents {
    	margin: 0;
    	width: 100%;
    	min-width: 360px;
    	height: auto !important;
    }
    
    /* ヘッダブロック */
    div#header {
    	background: #0066cc;
    	height: 120px;
    	margin: 0;
    }
    
    /* ヘッダ */
    h1#header_h {
        height: 120px;
        width: 100%;
    	background-image: url(./img/sp/header.png);
    	background-position: center;
    	background-repeat: no-repeat;
    	text-indent: -2000px;
    }
    
    h1#header_h a {
        display: block;
    	width: 100%;
    	height: 119px;
    	background: transparent;
    }
    
    div#fontch {
        display: none;
    }

    /* 右コンテンツブロック */
    div#maincont {
    	margin-left: 0;
    	padding: 10px;
    	position: relative;
    	overflow: auto;
    	height: auto !important;
    }

    /* 左コンテンツブロック */
    div#leftcont {
    	width: 100%;
    	height: auto !important;
    	border: 0;
    }

    h2 {
    	background-repeat: no-repeat;
    	text-indent: -2000px;
    	height: 40px;
    }
    
    h3 {
        padding: 1em 0 0.5em 0;
    	background-position: left bottom;
    	background-repeat: no-repeat;
    	text-indent: -2000px;
    	height: 30px;
    	margin-bottom: 10px;
    }
    
    /* トップ：外観関連 */
    div#phinfo img {
        width: 99%;
        border-radius: 8px;
    	vertical-align: top;
    }
    
    address {
    	font-style: normal;
    	line-height: 1.5;
    	font-size: 90%;
    }
    
    /* トップ：診療時間タイトル */
    h3#schedule {
    	background-image: url(./img/title_schedule.png);
    }
    
    /* トップ：お知らせ */
    div#topinfo {
        border-top: 1px dotted #cccccc;
        padding-top: 12px;
    }
    
    div#topinfo h4 {
        padding: 5px;
        border-radius: 8px;
        text-align: center;
        color: #ffffff;
        font-weight: normal;
        background: #d6b549;
    }
    
    ul#info {
    	list-style-type: none;
    	margin: 1em 0 0 0;
    }

    /* トップでのお知らせ */
    div#topinfo ul#info {
    	font-size: 90%;
    }
    
    ul#info li {
    	line-height: 1.5;
    	margin: 0 0 0.5em 0;
    }
    
    /* 更新日付 */
    ul#info li em.date {
        display: block;
    	background-color: #fff1bf;
    	padding: 3px;
    	padding-left: 0.5em;
    	margin-bottom: 5px;
    	margin-left: -0.5em;
    }

    /* コピーライト */
    #copyright {
        margin: 12px 0 0;
        padding: 10px 0;
        background: #dddddd;
        text-align: center;
    	font-size: 70%;
    	clear: both;
    }

    #iconlink {
        text-align: center;
    }
    
    div#iconlink img {
    	margin:10px 0 0 0;
    }
    
    div#iconlink a {
    	border: 0;
    }

    #map_p {
        text-align: center;
    }
    
    /* 医院への連絡：地図 */
    /* 医院への連絡：地図 */
    div#map {
    	margin: 20px 0 10px 0;
    	/* width: 680px; */
    	width: 100%;
    	height: 250px;
    	border: 1px solid #c0c0c0;
    }

    div#map_p p {
        text-align: center;
    	margin-top: 15px;
    	margin-bottom: 0;
    	font-size: 85%;
    }

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

    div#map_p a {
    	border: 0!important;
    	background: transparent;
    }
    
    .cform textarea {
    	width: 100% !important;
    }

    #mainnav{
		position: absolute;
		top: 72px;
		right: 0px;
		text-align: right;
	}

    #mainnav ul {
        list-style:none;
        margin-top: 0;
    	background: #888888;
    	text-align: left;
    	opacity: 0.88;
    	
	}
	
	#mainnav li {
	    padding: 8px 5px;
	}
	
	#mainnav li div.selected {
	    display: block;
	    color: #000000;
	}
	#mainnav li a {
	    padding: 8px;
	    margin: -8px;
	    color: #ffffff;
		border: 0;
		display: block;
	}
	#mainnav li a:hover,
	#mainnav li a:active {
	    background: #ffef05 !important;
	    color: #000000;
	}
	
	a#menu{
      	display: inline-block;
      	position: relative;
      	width: 50px;
      	height: 50px;
      	margin: 0px;
      	background: none;
	}
	
	/*
	a#menu:hover,
	a#menu:active {
	    opacity: 0.8;
	}
	*/

	#menuBtn {
      	display: block;
      	position: absolute;
      	top: 50%;
      	left: 50%;
      	width: 18px;
      	height: 2px;
      	margin: -1px 0 0 -7px;
      	background: #fff;
      	transition: .2s;
	}

	#menuBtn:before, #menuBtn:after {
      	display: block;
      	content: "";
      	position: absolute;
      	top: 50%;
      	left: 0;
      	width: 18px;
      	height: 2px;
      	background: #fff;
      	transition: .3s;
	}
	
	#menuBtn:before{
  	    margin-top: -7px;
	}

	#menuBtn:after{
  	    margin-top: 5px;
	}

	a#menu .close{
  	    background: transparent;
	}

	a#menu .close:before, a#menu .close:after{
  	    margin-top: 0;
	}

	a#menu .close:before{
      	transform: rotate(-45deg);
      	-webkit-transform: rotate(-45deg);
	}

	a#menu .close:after{
      	transform: rotate(-135deg);
      	-webkit-transform: rotate(-135deg);
	}

	.panel{
		width: 100%;
		display: none;
		overflow: hidden;
		position: relative;
		left: 0;
		top: -25px;
		z-index: 100;
	}
}