html {
}
body {
	margin: 0px;
	padding: 0px;
	line-break: strict;
	min-width: 650px;
	font-family: "ヒラギノ明朝 Pro W3","Hiragino Mincho Pro","ヒラギノ明朝体3","メイリオUI","Meiryo UI","ＭＳ Ｐ明朝","MS PMincho",serif;
	font-size: 86%;
	_border-bottom: 5px solid #5C0806;
	background-attachment: fixed;
	background-color: #FFF;
	background-image: url(img/body_bg.gif);
	background-repeat: repeat-x;
	background-position: top;
	line-height: 1.3;
}

a {
	color: #330000;
	text-decoration:none;
	border-bottom-width: 1px;
	border-bottom-style: dotted;
	border-bottom-color: #999999;
}
a:hover {
	background: url(img/hover_bg.png) repeat-x top;
}

h1, h2, h3, h4, h5, h6,p,ul {
	margin: 0px;
}

a img {
}
img {
	-ms-interpolation-mode:bicubic;
	border: none;
}
hr, .hidden, .for-aural, .for-old {
	display: none;
}

.clearfix:after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}
.clearfix {
	display: inline-block;
} /* Hides from IE-mac \*/
* html .clearfix {
	height: 1%;
}
.clearfix {
	display: block;
} /* End hide from IE-mac */



.header {
	position: fixed;
	left: 0px;
	bottom: 0;
	width: 100%;
	padding: 0;
	z-index: 9999;
	border-top: 1px solid #AAAAAA;
	border-bottom: 5px solid #5C0806;
	_border: none;
	background-image: url(img/header_bg.png);
	background-repeat: repeat;
	background-position: top;
	_background: none;
}
.header .top-border {
	height: 7px;
	margin-top: -6px;
	background: url(img/header_topborder.png) repeat-x;
	_border-bottom: none;
	_height: 0px;
}
.header .content {
	background-image: url(img/header_topbg.png);
	background-position: center -26px;
	background-repeat: no-repeat;
	padding: 5px 5% 0 5%;
	height: 1%;
	_background-image: url(img/header_bg.gif);
	_background-color: transparent;
	_margin-top: -14px;
	_border-top: 5px solid #5C0806;
	position: relative;
}
h1 {
	font-size: 0px;
	width: 168px;
	position: absolute;
	right: 5%;
	top: 5px;
}
h1 a {
	display: block;
	border: none;
}
h1 a img {
	margin: 0 0 6px;
}
h1 a small {
	display: block;
	position: absolute;
	top: 62px;
	left: 0px;
}
h1 a small img {

}


.main-menu {
	padding-top: 20px;
	max-width: 1000px;
	float: left;
}
.menu-entry {
	width: 13em;
	min-width: 180px;
	float: left;
	border-left: 2px solid #5C0806;
	padding-bottom: 42px;
	margin-bottom: -24px;
}
.menu-entry h3 {
	margin-bottom: 5px;
	margin-left: 3px;
}
.menu-entry ul {
	padding-right: 10px;
	list-style-type: none;
	margin: 0;
	padding-left: 10px;
	padding-bottom: 10px;
	overflow: hidden;
}
.menu-entry li {
	padding-left: 15px;
	background: url(img/lh1.gif) no-repeat left center;
	line-height: 20px;
	white-space: nowrap;
}
.menu-entry li a {
	display: block;
	_display: inline;
	margin-right: 20px;
	margin-left: -15px;
	padding-left: 15px;
}
.menu-entry #services img {
	margin-top: 3px;
	margin-bottom: 3px;
}

.article-container {
	clear: both;
	margin-left: 5%;
	margin-right: 5%;
	margin-top: 0;
	width: 90%;
}

.side {
	position: fixed;
	top: 0px;
	right: 5%;
	z-index: 2;
	width: 170px;
	_float: right;
	_margin-right: -8px;
	padding-bottom: 14px;
	background-color: #E6E6CE;
	border-bottom: 1px solid #5C0806;
}
.side h2 {
	font-size: 100%;
	color: #FFFFFF;
	text-align: center;
	line-height: 1.3;
}

.side ul {
	margin: 10px 0 0 0;
	list-style-type:none;
	line-height: 1.3;
	padding: 0 5px 5px 5px;
	font-size: 84%;
}
.side ul a {
	display: block;
	_display: inline;
}
.side h3 {
	font-size: 110%;
	margin-top: 10px;
}

.anchor li {
	padding-top: 6px;
	padding-left: 15px;
	background: url(img/lh2.gif) no-repeat left 6px;
}
.anchor li a {
	margin-left: -15px;
	padding-left: 15px;
}

.anchor ul {
	border-left: 2px;
	margin: 0;
	padding-left: 10px;
	list-style-type:none;
}

.article {
	z-index: 1;
	position:relative;
	_position:static;
	padding: 0 0 90% 0;
	margin-right: 210px;
	_margin-right: 30px;
	text-align: justify;
	text-justify: inter-ideograph;
	_float: left;
	_clear: both;
	overflow: hidden;
	min-width: 30px;
	font-size: 95%;
}
.article h3 {
	font-size: 110%;
	margin-top: 30px;
	border-top-width: 2px;
	border-top-style: solid;
	border-top-color: #5C0806;
	padding: 4px 6px;
	background-repeat: no-repeat;
	letter-spacing: 0.3ex;
	margin-bottom: 15px;
	background-position: left top;
	background-image: url(img/h3_bg_v2.gif);
	clear: left;
	height: 2em;
}
h3 object,h3 object embed {
	width: 100%;
	height: 2em;
	vertical-align:top;
}
.article h4 {
	font-size: 105%;
	margin-top: 15px;
	margin-left: 10px;
	margin-bottom: 5px;
}

.article h5, .article h6 {
	font-size: 100%;
	margin-left: 15px;
}

.article p, .article ul, .article dl, .article ol, .article table {
	margin-left: 25px;
	line-height: 1.6;
}
.article ul,.article ol {
	padding-left: 2em;
}
.article ul ul {
	margin-left: 10px;
	padding:0;
}
.article td p {
	margin: 0;
	padding: 0;
} 

.copy {
	text-align: right;
}
.first-child {
	margin-top: 30px;
}

input, textarea {
	max-width: 90%;
}

#otoiawase {
	padding: 20px;
}
#otoiawase input.text, #otoiawase textarea {
	background-color: #CCC;
	width: 100%;
}

#otoiawase h2 {
	margin: 0px;
	font-size: 100%;
}
#otoiawase p {
	margin-top: 8px;
	margin-bottom: 8px;
}
#pageslide-body-wrap {
    position: relative;
}

#pageslide-slide-wrap {
    position: fixed;
    width: 0;
    top: 0;
    right: 0;
    height: 100%;
    background-color: #000;
	background-position: center center;
	background-repeat: no-repeat;
	background-image: none;
	z-index: 999;
	margin-left: -400px;

}

#pageslide-content {
    color: #FFF;
}

#pageslide-content h2 {
    font-size:110%;
    font-weight: bold;
    margin-bottom:25px;
}



@media screen and (max-device-width: 480px) {
	.header {
	position: static;
	border: none;
	margin-bottom: 25px;
	}
	.menu-entry {
		padding-bottom: 0;
		margin-bottom: 0;
	}
	.side {
		position: static;
		width: 170px;
		float: right;
	}
	.article {
		position:static;
		padding: 0 0 90% 0;
		margin-right: 30px;
		overflow: hidden;
	}
	.menu-entry {
		width: 16em;
		padding-bottom: 0;
		-webkit-text-size-adjust: 100%;
	}

}
