@charset "UTF-8";
/*
Theme Name: 兵庫医科大学 小児科学教室
Description: meccommunications
Author: Mec
Author URI: http://www.mec-com.co.jp
*/

/*全体の設定
-----------------------------------------------------------------------------------------*/
* {
	margin: 0; 
	padding: 0; 
	list-style-type: none; 
	font-weight: normal;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-o-box-sizing: border-box;
	-ms-box-sizing: border-box;
	box-sizing: border-box;
}
/*リンク画像の枠を消す、テキストのセンターに配置*/
img {
	border-width: 0px;
	vertical-align: bottom;
}
* html img {
	border-width: 0px;
	vertical-align: top;
	padding:-1px;
}
*:first-child+html img {
	border-width: 0px;
	vertical-align: middle;
	padding:-1px;
}
html{
	height:100%;
}
body {
	background:#FFFFFF url(images/bg.png) top repeat-x;
	font-family:'Verdana','ヒラギノ角ゴ Pro W3','Hiragino Kaku Gothic Pro','メイリオ',Meiryo,'ＭＳ Ｐゴシック';
	color: #000000;
	text-align:center;
	height:100%;
	min-width:1020px;
	-webkit-text-size-adjust:none;
}
h1,h2,h3,h4,h5,h6,p{
	font-size:14px;
	line-height:20px;
}

p{
	text-align:justify;
	/*text-justify:distribute;*/
}

table {
	empty-cells:show; 
	border-collapse:collapse; 
	border-spacing:0;
}
/* 左右分けレイアウト*/
.clearfix:after {
  content: ".";  /* 新しい要素を作る */
  display: block;  /* ブロックレベル要素に */
  clear: both;
  height: 0;
  visibility: hidden;
}
.clearfix {
  min-height: 1px;
}
* html .clearfix {
  height: 1px;
  /*\*//*/
  height: auto;
  overflow: hidden;
  /**/
}
/*標準のリンク*/
a{
	color: #1E8C64;
	text-decoration: none;
	outline:none;
}
a:hover {
	color: #00cc33;
	text-decoration: none;
	outline:none;
}
a:link,a:visited,a:hover,a:active {
	outline:none;
}
/*wrapper*/
#wrapper {
	padding-top:5px;
	text-align:left;
}

/*header
-----------------------------------------------------------------------------------------*/
header{
	width: 980px;
	height:75px;
	margin:0 auto;
}
/*-------------------------グローバルメニュー*/
header nav#global{
}
header nav#global li{
	float:left;
}
header nav#global li a{
	width:161px;
	height:75px;
	display:block;
	background-position:top;
	text-indent:-1000em;
}
header nav#global li:nth-child(1) a{
	width:372px;
	background-image:url(images/header_menu_01.png);
}
header nav#global li:nth-child(2) a{
	background-image:url(images/header_menu_02.png);
}
header nav#global li:nth-child(3) a{
	background-image:url(images/header_menu_03.png);
}
header nav#global li:nth-child(4) a{
	background-image:url(images/header_menu_04.png);
}
header nav#global li:nth-child(5) a{
	width:125px;
	height:37px;
	background-image:url(images/header_menu_05.png);
}
header nav#global li:nth-child(6) a{
	width:125px;
	height:38px;
	background-image:url(images/header_menu_06.png);
}
header nav#global li a:hover{
	background-position:bottom;
}

/*contents
-----------------------------------------------------------------------------------------*/
.contents{
	width: 980px;
	margin:0 auto;
}

/*main
-----------------------------------------------------------------------------------------*/
.main{
	width:750px;
	float:right;
}
.main a:hover{
	text-decoration:underline;
}

/*sidebar
-----------------------------------------------------------------------------------------*/
.sidebar{
	width:200px;
	float:left;
	margin-top:30px;
}
/*-------------------------info*/
.sidebar .info{
	background:url(images/side_info.png) bottom no-repeat;
	padding:14px;
	height:170px;
	border-radius: 5px;	
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
}
.sidebar .info h2{
	font-size:14px;
	line-height:22px;
}
.sidebar .info p {
	margin-top:7px;
}
.sidebar .info p a{
	width:100px;
	height:28px;
	display:block;
	background:url(images/side_info_access.png) top;
	text-indent:-1000em;
}
.sidebar .info p a:hover{
	background-position:bottom;
}

/*-------------------------banner*/
.sidebar .banner{
	margin-top:5px;
	background:#E6E6E6;
	padding:0px 5px 5px 5px;
	border-radius: 5px;	
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
}
.sidebar .banner h2{
	display:none;
}
.sidebar .banner p{
	padding-top:5px;
	text-align:center
}
.sidebar .banner p a:hover img{
	opacity: 0.75;
	filter: alpha(opacity=75);
	-moz-opacity: 0.75;
}


/*footer
-----------------------------------------------------------------------------------------*/
footer {
}
/*-------------------------toPageTop*/
.toPageTop{
	width:140px;
	margin:0 auto;
	padding-left:700px;
}
.toPageTop a{
	width:140px;
	height:25px;
	margin-top:15px;
	display:block;
	background:url(images/topagetop.png) top no-repeat;
	text-indent:-1000em;
}
.toPageTop a:hover{
	margin-top:10px;
	height:30px;
}
/*-------------------------Copyright*/
footer small{
	font-size:10px;
	line-height:40px;
	display:block;
	text-align:center;
	color:#BED0B8;
	background:#286414;
}
footer small a{
	color:#BED0B8;
	text-decoration:none;
}
footer small a:hover{
	color:#CCCCCC;
	text-decoration:underline;
}