﻿@charset "UTF-8";

/*  
Theme Name: 森田薬品工業
Theme URI: http://www.moritayakuhin.co.jp/
Description: 森田薬品工業ウェブサイト用テンプレート
Version: 1.0
Author: KingFish Communication
Author URI: http://www.kingfish.co.jp/
*/

* {
	margin:0;
	padding: 0;
	font-size:100%;
}

a img {
	border-style: none;
}

body {
	font-size: 80%;
	color: #444444;
	margin: 20px;
	padding: 0px;
	background: url(images/bg.gif) fixed;
	text-align: center;
}

a {
	color: #2746A9;
}

p {
	line-height:150%;
	margin-bottom:0.9em;
}
div.post p{
	margin :0 10px 0.9em 10px;
}

div.post h4{
	margin :1.0em 10px 0.7em 10px;
}

div.post ul, div.post ol {
	margin :0 10px 0.9em 30px;
}
div.post li {
	margin-bottom :0.7em;
	line-height:140%;
}

.c-both {
	clear:both;
	display: block;
}
.c-left {
	clear:left;
}
.indent {
	margin-right: 20px;
	margin-left: 20px;
}

ul.leaf {
	margin : 0 0 0.5em 10px;
}
ul.leaf li {
	background: url(images/li-bg.gif) no-repeat left center;
	padding-left: 15px;
	list-style: none;
	padding-top: 0.2em;
	padding-bottom: 0.2em;
}


#wrapper {
	text-align: left;
	margin-right: auto;
	margin-left: auto;
	width: 788px;
	position: relative;
}
#header {
	background: url(images/head-bg.png) no-repeat;
	height: 70px;
	padding: 30px 20px 0px;
}
#header h1 {
	margin-left: 20px;
}

ul#header-menu {
	position: absolute;
	top: 75px;
	right: 10px;
	list-style-type:none;
	color:#CCCCCC;
}
ul#header-menu li {
	float:left;
	margin-right:10px;
	font-size:89.5%;
}
ul#header-menu a {
	text-decoration:none;
	color: #1A3AA4;
}

#main {
	background: url(images/main-bg.png) repeat-y;
	padding-right: 30px;
	padding-left: 30px;
	height: auto;
	min-height:1px;　/* IE 7対策 */
}
#main #image {
	margin: 0 -26px 0 -26px;
}
#main #side {
	float: left;
	width: 176px;
	margin-top:20px;
}

#main #side #menu {
	margin-bottom:20px;
	background: url(images/side-frame-top.gif) no-repeat;

}
#main #side #menu-bottom {
	padding: 15px 10px;
	background: url(images/side-frame-bottom.gif) no-repeat bottom;
}
#menu ul {
	margin:0 5px 0 5px;
}
#menu li {
	list-style: none;
	border-bottom: 1px solid #eee;
}
#menu li a {
	text-decoration: none;
	background: url(images/menu-li-bg.gif) no-repeat left center;
	display: block;
	padding-top: 0.8em;
	padding-bottom: 0.8em;
	padding-left: 20px;
}
#menu li a:hover {
	color: #6C89DD;
	background-image: url(images/menu-li-bg-o.gif);
}
#search {
	background: url(images/side-frame-top.gif) no-repeat center top;
}
#search #search-bottom {
	padding: 15px 10px;
	background: url(images/side-frame-bottom.gif) no-repeat center bottom;
}

#search form {
	width:140px;
	margin:0 auto 0 auto;
}
#search form input.search-txtbox{
	width:90px;
}
#search form input{
	vertical-align:middle;
}

#side h2 {
	margin-bottom:10px;
}

#main #contents {
	float: right;
	width: 530px;
	margin-top:20px;
}
#factory, #eco, #news {
	margin-bottom: 30px;
	background: url(images/contents-bottom.gif) no-repeat center bottom;
	padding-bottom: 30px;
}
#news ul {
	list-style: none;
}
#news li {
	padding-top: 0.5em;
	padding-bottom: 0.5em;
	border-bottom: 1px solid #eee;
}
#news li a {
	margin-left: 15px;
}

img.img-right {
	margin-left:10px;
	float:right;
}
#footer {
	background: url(images/foot-bg.png) no-repeat center bottom;
	height: 100px;
	width: 788px;
}
div.pagetop {
	padding: 20px 30px 10px 30px;
	text-align:right;
}
#footer p {
	font: 10px Arial, Helvetica, sans-serif;
	color: #78C1ED;
	text-align: center;
}

/* H2 */
div.post h2 {
	background: url(images/h2-bg.gif) no-repeat;
	padding-top: 20px;
	padding-left: 50px;
	font-size:120%;
	color: #1a3aa4;
	margin-bottom:10px;
	height:60px;
}
div.post h2 a {
	text-decoration: none;
}

div.post div.entry {
	margin:0 15px 0 15px;
}

/* H3 */
div.post h3 {
	background: url(images/h3-bg.gif) no-repeat;
	padding-top: 7px;
	padding-left: 12px;
	color: #1a3aa4;
	margin-top:1.5em;
	margin-bottom:0.7em;
	height:27px;
}

/* H5 */
div.post h5 {
	font-size: 150%;
}


/* table */

div.post table {
	margin:0 10px 10px 10px;
	border-collapse: collapse;
}

div.post table th {
	white-space: nowrap;
	padding:5px;
	background-color:#75bdf1;
	text-align:left;
	vertical-align: top;
	color:#fff;
	font-weight:normal;
	border:1px solid #fff;
}

div.post table td {
	padding:5px;
	background-color:#eee;
	border:1px solid #fff;
}
div.post table td td {
	background-color:#f5f5f5;
	padding:3px;
}
div.post table td th {
	padding:3px;
}

/* drag table */

div.post table.drag {
	margin:-5px 10px 5px 10px;
	border-collapse: collapse;
}

div.post table.drag th {
	white-space: nowrap;
	padding:3px 30px 3px 10px;
	background-color:#fff;
	text-align:left;
	vertical-align: top;
	color:#555;
	font-weight:normal;
	border-top:1px dotted #ccc;
	border-bottom:1px dotted #ccc;
	border-right:none;
	border-left:none;
}

div.post table.drag td {
	padding:3px 10px 3px 30px;
	text-align:right;
	background-color:#fff;
	border-top:1px dotted #ccc;
	border-bottom:1px dotted #ccc;
	border-right:none;
	border-left:none;

}



/* floatさせたボックスが親ボックスの外にはみ出す現象を回避（ここから） */
#main:after {
content:".";
display:block;
height:0px;
clear:both;
visibility:hidden;
}

#main { display:inline-table; }

/* Mac IE には適用させない \*/
* html #main { height:1px; }
#main { display:block; }
/* */
/* floatさせたボックスが親ボックスの外にはみ出す現象を回避（ここまで） */

#contents p {
	margin-bottom :0.7em;
}

