/*----------------------------------------------------------------------------
******************************************************************************
Layout
******************************************************************************
----------------------------------------------------------------------------*/
/* ==== Base === */
body {
	background: url(http://www.okayama-u.ac.jp/user/pharmaco/images/body_bg.jpg);
}

.layout {
	width: 960px;
	margin: 0 auto;
	overflow: hidden;
}

/* ==== Backgraund === */
#wrap {
	background: url(../images/wrap_bg.jpg) repeat-x;
}
/* ==== Header === */
#hd {
	height: 130px;
	position: relative;
	background: url(http://www.okayama-u.ac.jp/user/pharmaco/images/hd_bg.jpg) no-repeat;
}
#hd_right {
	float:right;
	width:100px;
	margin-right:10px;
	margin-top:5px;
	}
/* ==== Navigation === */
#nav {
	height: 60px;
	background: url(../images/nav_bg.jpg) no-repeat;
}

#nav ul {}
#nav li {
	float: left;
}
#nav a img.current {
	opacity: 0;
	filter: alpha(Opacity=0);
}

/* ==== Content === */
#con {}
#sidenav {
	width: 220px;
	float: left;
	margin-top:20px;
	background:url(../images/sidenav_bg.jpg) top center no-repeat;
	padding-top:48px;
}
#sidenav ul {
	padding: 0px;
}
#sidenav li {
}
#sidenav li a {
	width: 220px;
	box-sizing:border-box;
	height: auto;
	padding: 12px 5px 5px 23px;
	display: block;
	text-decoration: none;
	background: url(../images/sidenav_icon.png) no-repeat 6px 16px;
	font-size: 12px;
	color: #333333;
	border-bottom:dotted 1px #CCC;
}


#main.index {
	width: 100%;
	margin-top:20px;
}



#main {
	width: 720px;
	float: right;
	margin-top:20px;
}
/* ol,ul */
#main ol, #main ul {
	padding: 5px 0px 5px 25px;
}
#main ul {
	list-style-type: disc;
}
#main ol li, #main ul li {
	padding: 5px 0px;
}
/* table */
#main table {
	margin: 10px 0px;
}
#main table th, #main table td {
	padding: 5px;
}
/* img */
#main a img{
	display: inline-block;
	-webkit-transition-duration: 0.3s;
	transition-duration: 0.3s;
	-webkit-transition-property: transform;
	transition-property: transform;
	-webkit-transform: translateZ(0);
	transform: translateZ(0);
	box-shadow: 0 0 1px rgba(0, 0, 0, 0);
}
#main a img:hover, .shrink:focus, .shrink:active {
	-webkit-transform: scale(0.9);
	transform: scale(0.9);
}

#main .main_msg{
  background:#27528d;
  border-radius: 5px;
  padding: 10px 15px;
  margin-top:20px;
  color: #fff;
  font-size: 0.9rem;
  line-height: 1.8em;
}

/* ==== Footer === */
#ft {
	margin-top:20px;
	padding-top: 25px;
	padding-bottom: 25px;
	text-align: center;
	background:#01398C;
	color:#FFFFFF;
}
/*----------------------------------------------------------------------------
******************************************************************************
Head
******************************************************************************
----------------------------------------------------------------------------*/
h1, h2, h3, h4, h5, h6 {
}
h1 {
	position: absolute;
	top: 13px;
	left: 0px;
}
h2 {
	font-size: 2.5em;
	font-weight:normal;
	padding: 0.5em 0 0.5em 0.6em;
	margin: 0em 0 0.8em 0;
	background: url(../images/h2_bg.jpg) left center no-repeat;
	color: #0C2749;
}
h3 {
	font-size: 1.2em;
	font-weight:normal;
	padding: 0.6em 0 0.6em 3.0em;
	margin: 0.8em 0 0.4em 0;
	background: url(../images/h3_bg.jpg) left center no-repeat;
}
h4 {
	font-size: 1.1em;
	color:#0B006D;
	padding: 0.2em 0 0.3em 1.0em;
	margin: 1.2em 0 1em 0;
	border-left:#0B006D 10px solid;
	border-bottom:#0B006D 1px solid;
}
h5 {
	font-size: 1.1em;
	margin: 10px 0px;
}
	
h1.img, h2.img, h3.img, h4.img, h5.img, h6.img { margin: 0;padding: 0;background: none;border: none; }

/*----------------------------------------------------------------------------
******************************************************************************
Original
******************************************************************************
----------------------------------------------------------------------------*/
/* ==== Index === */
#i_img {
	margin-top:15px;
}
/* MARQUEE */
.marqueeRightLeft {
	max-width: 960px;
	padding: 0.5em 0;
	margin: 0 auto;
	background: url(../images/bg_marquee.jpg) no-repeat;
	background-size: cover;
	position: relative;
	overflow: hidden;
	text-align: left;
	border-top: 1px solid #d0d0d0;
	border-bottom: 1px solid #d0d0d0;
	color:#000;
	font-weight: bold;
}
.marqueeRightLeft p:after {
	content: "";
	white-space: nowrap;
}
.marqueeRightLeft p {
	margin: 0;
	padding-left: 100%;
	display: inline-block;
	font-size: 1.3em;
	white-space: nowrap;
		-webkit-animation-name:marqueeRL;
		-webkit-animation-timing-function:linear;
		-webkit-animation-duration:16s;
		-webkit-animation-iteration-count:infinite;
		-moz-animation-name:marqueeRL;
		-moz-animation-timing-function:linear;
		-moz-animation-duration:16s;
		-moz-animation-iteration-count:infinite;
		-ms-animation-name:marqueeRL;
		-ms-animation-timing-function:linear;
		-ms-animation-duration:16s;
		-ms-animation-iteration-count:infinite;
		-o-animation-name:marqueeRL;
		-o-animation-timing-function:linear;
		-o-animation-duration:16s;
		-o-animation-iteration-count:infinite;
		animation-name:marqueeRL;
		animation-timing-function:linear;
		animation-duration:16s;
		animation-iteration-count:infinite;
}
.marqueeRightLeft p a img {
	vertical-align: top!important;
	margin: 3px 2px 0 0;
}
@-webkit-keyframes marqueeRL {
	from {-webkit-transform:translate(0);} to {-webkit-transform:translate(-100%);}
}
@-moz-keyframes marqueeRL {
	from {-moz-transform:translate(0);} to {-moz-transform:translate(-100%);}
}
@-ms-keyframes marqueeRL {
	from {-ms-transform:translate(0);} to {-ms-transform:translate(-100%);}
}
@-o-keyframes marqueeRL {
	from {-o-transform:translate(0);} to {-o-transform:translate(-100%);}
}
@keyframes marqueeRL {
	from {transform:translate(0);} to {transform:translate(-100%);}
}

#i_news {
}
#i_news table {
}
#i_news table td {
	vertical-align: top;
	font-size: 12px;
	padding: 10px;
	border-bottom: 1px dotted #CCC;
}
#i_news table td.date {
	width: 120px;
	background: url(../images/common/news_icon.gif) 0 12px no-repeat;
	padding-left: 15px;
	color:#0B006D;
}
#i_sidebox {
	float:right;
	margin-top:-40px;
}
#i_bnr_top{
	position: relative;
	width:210px;
	margin-left:30px;
}
#i_bnr_top img:nth-child(2) {
    position: absolute;
}
#i_bnr_top p {
    font-weight: bold;
    background: linear-gradient(#3870BA,#0C006E);
    border: solid 1px #13326F;
    padding: 0;
    margin: 0 5px 5px;
}
#i_bnr_top p a{
    display: block;
    color:#FFFFFF;
    text-decoration: none;
}
#i_bnr_top p:hover {
    transition: All 0.5s ease;
    background:#FFF;
    border: solid 1px #0C006E;
}
#i_bnr_top p:hover a{
    transition: All 0.5s ease;
    color:#0C006E;
    text-decoration: none;
}
#i_info{
	width:210px;
	background:#C5D6ED;
	margin-left:30px;
}
#i_bnr{
	margin-top:20px;
	width:210px;
	margin-left:30px;
}
#i_bnr img{
	margin-bottom:12px;
}




#i_kouen_box{
	width: 210px;
	background: #ffe699;
	margin-left: 30px;
	margin-bottom: 10px;
	text-align: center;
	padding: 10px 0;
}
#i_kouen_box p{
	font-weight: bold;
	font-size: 1.15em;
}
#i_kouen_box p.color_R{
	font-size: 1em;
}
#i_kouen_box img{
	max-width: 90%;
	margin-top: 10px;
}

/*----pagetop----*/
#page-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    font-size: 77%;
}
#page-top a {
    background: #3870BC;
    text-decoration: none;
    color: #fff;
    width: 100px;
    padding: 30px 0;
    text-align: center;
    display: block;
    border-radius: 5px;
}
#page-top a:hover {
    text-decoration: none;
}

#sub_title {
  width: 100%;
	background-image:url(../images/i_img01.jpg);
  background-repeat: no-repeat;
  height: 173px;
  background-repeat: round;
}

#sub_title {
  
}
.padding_T120 {
	padding-top:120px;
}

.tbl01 {
  width: 100%;
  border: 1px dotted #d5d0ff;
}
.tbl01 tr:nth-child(odd) {
  background: #e6e4ff;
}
.tbl01 tr th {
  vertical-align: top;
}

.tbl01 tr th, .tbl01 tr td {
  padding: 10px 15px!important;
}
