﻿/*** General Rules ***/
html, body, div, p, sub, ul, li, dl, dd, dt, dd, h1, h2, h3, h4, h5, h6, form {
	padding: 0;
	margin: 0;
}
* {
	font-size: 12px;
	font-family: "lucida sans",verdana,sans-serif;
	color: #4D4D4D;
}
body {
	background: url(../img/shared/bg.jpg) repeat-x #FFF;
	text-align: center;
}
body#popup {
	background: #FFF;
	text-align: left;
}
img { border: 0 }

#header {
	text-align: left;
	width: 814px;
	height: 145px;
	margin: 0 auto;
	background: url(../img/shared/header.jpg) center top no-repeat;
}
#header h1 a {
	float: left;
	width: 280px;
	display: block;
	overflow: hidden;
	color: #FFF;
	font-size: 1px;
	margin-left: 10px;
	padding-top: 75px; 
	height: 75px;
	voice-family: "\"}\"";
	voice-family:inherit;
	height: 0;
}
html>#header h1 a { height: 0; }

/*** Top Contact Link ***/
#top_contact {
	background: url(../img/shared/contact_bg.jpg) no-repeat;
	color: #4D4D4D;
	float: right;
	width: 200px;
	height: 80px;
	margin: 5px 10px 0 0;
}
#top_contact p {
	padding: 15px 10px 0 45px;
	color: #0C569F;
	font: 1em/1.3 "lucida sans",verdana,sans-serif;
}
#top_contact p span.phone {
	color: #FFF;
	font-weight: bold;
}
#top_contact p a {
	display: block;
	background: url(../img/shared/blue_arrow.gif) 0 4px no-repeat;
	padding-left: 15px;
}
#top_contact p a:link, #top_contact p a:visited {
	color: #FFF;
}
#top_contact p a:hover, #top_contact p a:active {
	color: #C2E0FF;
}

/*** structure ***/
#main {
	width: 814px;
	margin: -35px auto 0 auto;
	padding-bottom: 30px;
	text-align: left;
	background: url(../img/shared/main_bg.gif) center top repeat-y #FFF;
}

a:link { color: #069 }
a:visited { color: #39C }
a:hover { color: #666 }
a:active { color: #666 }

/*** Left Contents ***/

#container {
	width: 640px;
	float: right;
}
#content {
	padding: 0 50px 0 20px;
}
body#toppage #content {
	padding: 0 0 0 25px;
}
#content h2 {
	background: no-repeat;
	text-indent: -9999px;
	height: 48px;
	width: 562px;
}
#whatsnew { clear:both; padding-top:15px;}

#onestop h2 { background-image: url(../img/title/onestop.gif); }
#fudousan_touki h2 { background-image: url(../img/title/fudousan_touki.gif); }
#sokuryo h2 { background-image: url(../img/title/sokuryo.gif); }
#syogyo_touki h2 { background-image: url(../img/title/syogyo_touki.gif); }
#zeimu h2 { background-image: url(../img/title/zeimu.gif); }
#kaikei h2 { background-image: url(../img/title/kaikei.gif); }
#about h2 { background-image: url(../img/title/about.gif); }
#news h2, h2#newsheader { background-image: url(../img/title/news.gif); }
#recruit h2 { background-image: url(../img/title/recruit.gif); }
#staff h2 { background-image: url(../img/title/staff.gif); }
#contact h2 { background-image: url(../img/title/contact.gif); }
#privacy h2 { background-image: url(../img/title/privacy.gif); }
h2#blogheader { background-image: url(../img/title/blog.gif); }
h2#forbidden { background-image: url(../img/title/forbidden.gif); }
h2#notfound { background-image: url(../img/title/notfound.gif); }

h3 {
	padding: 10px 0 0 0;
	margin: 0 0 8px 15px;
	background: url(../img/title/h3_top_gr.gif) no-repeat;
	width: 550px;
	clear: both;
}
h3 span {
	display: block;
	font-size: 14px;
	color: #6F9A23;
	background: url(../img/title/h3_bottom_gr.gif) left bottom no-repeat;
	padding: 0 10px 10px 12px;
}
.about_page h3 {
	background-image: url(../img/title/h3_top_bl.gif);
}
.about_page h3 span {
	color: #246BB3;
	background-image: url(../img/title/h3_bottom_bl.gif);
}
h4 {
	margin: 12px 0 5px 25px;
	padding: 0 0 3px 0;
	font-size: 14px;
	color: #6F9A23;
	clear: both;
	background: url(../img/title/h4_gr.gif) left bottom no-repeat;
}
.about_page h4 {
	color: #246BB3;
	background-image: url(../img/title/h4_bl.gif);
}
.about_page li h4 {
	margin: 16px 0 5px 0;
	padding: 0;
	font-size: 13px;
}
h5 {
	margin: 12px 0 5px 25px;
	padding: 7px 0 4px 3px;
	line-height: 1.2;
	border-left: 8px solid #ECFAD0;
	background: #F7FAF0;
}
h6 {
	margin: 0 0 5px 40px;
	padding-left: 20px;
	line-height: 1.5;
	background: url(../img/shared/bullet_gr.jpg) no-repeat;
}
.about_page h6 {
	background-image: url(../img/shared/bullet_bl.jpg);
	}
#content p,
#popup p {
	font: normal 12px/1.5 "lucida sans",verdana,sans-serif;
	padding: 0 0 8px 0;
}
#content p.warning {
	font-weight: bold;
	color: #DF5807;
	}
#content em {
	color: #F60;
	font: normal 12px/1.5 "lucida sans",verdana,sans-serif;
}
#content small {
	font-size: 10px;
	font-family: "ＭＳ Ｐゴシック", sans-serif;
	line-height: 1.4
}
#content td small {
	margin-bottom: 5px;
	display: block;
}
img.floatleft {
	float: left;
	margin: 5px 8px 8px 0;
	border: 1px solid #999;
}
.caption_img {
	float: left;
	margin: 5px 8px 20px 0;
	display: block;
	font-size: 10px;
	font-family: "ＭＳ Ｐゴシック", sans-serif;
	line-height: 1.2
}
.caption_img img {
	border: 1px solid #999;
	margin-bottom: 2px;
}
.gyomu_page #content p, .about_page #content p {
	padding: 0 0 8px 40px;
}

/* unordered lists */
.gyomu_page #content ul,
.about_page #content ul {
	margin: 0 35px 15px 60px;
	padding: 8px;
	background: #F0FADC;
}
.about_page #content ul {
	background: #DCEBFA;
}
li {
	line-height: 1.5;
}
.gyomu_page #content ul li,
.about_page #content ul li {
	background: url(../img/shared/bullet_gr_bg.jpg) 0 2px no-repeat;
	list-style: none;
	padding: 3px 0 0 20px;
}
.about_page #content ul li {
	background-image: url(../img/shared/bullet_bl_bg.jpg);
}
.about_page #content ol.privacyinfo ul {
	margin: 15px 35px 15px 40px;
}
.about_page #content  ul.stafflist {
	width: 500px;
	margin: 0 0 0 40px;
	padding: 0;
	background: none;
}
.about_page #content ul.stafflist li {
	background-image: url(../img/shared/bullet_bl.jpg);
	display: block;
	width: 8.5em;
	float: left;
}
/* ordered lists */
#content ol {
	margin: 0 35px 15px 60px;
	padding: 8px;
}
#content ol.privacyinfo {
	margin: 0 0 35px 50px;
	padding-top: 0;
}
#content ol ol {
	margin: 0 0 15px 40px;
	margin-bottom: 8px;
}
#content dd ol {
	margin: 0 0 0 30px;
	padding: 0;
}

/* definition lists */
dl {
	margin: 5px 35px 15px 60px;
	text-align: left;
	width: 390px;
}
#whatsnew dl {
	margin-left: 35px;
	width: 425px;
}
dt {
	padding: 0 0 0 22px;
	font-weight: bold;
	background: url(../img/shared/bullet_gr.jpg) 0 1px no-repeat;
	line-height: 1.5;
}
.about_page dt, #whatsnew dl dt {
	background-image: url(../img/shared/bullet_bl.jpg);
}
dd {
	position:relative;
	left: 5.5em;
	top:-1.5em;
	margin-bottom:-1em;
	line-height: 1.5;
}
.long dd {
	left: 9.5em;
}
.longer dd {
	left: 12em;
}
dd.newline {
	top: 0.2em;
	margin-bottom:  0.2em;
}
.newslist dd, #whatsnew dl dd {
	left: 11em;
}
.profile_outer dl {
	margin: 0 0 10px 5px;
	width: 400px;
	float: left;
}
.profile_outer dt {
	padding: 0;
}

/* about us page */
.about_page #content .about_us dl {
	margin: 0 0 15px 0;
	padding: 0;
	width: 520px;
}
.about_page #content .about_us dd dl {
	margin: 0;
	width: auto;
}
.about_page #content .about_us dt {
	margin: 15px 0 5px 0;
	padding: 0 0 3px 0;
	font-size: 14px;
	clear: both;	
	color: #246BB3;
	background: url(../img/title/h4_bl.gif) left bottom no-repeat;
}
.about_page #content .about_us dd dt {
	margin: 0;
	padding: 0;
	font-size: 12px;
	color: #666;
	background: none;
}
.about_page #content .about_us dd {
	position:relative;
	left: 0;
	top: 0;
	margin-bottom: 0;	
	padding: 0 0 0 22px;
	font-weight: normal;
	background: none;
}
.about_page #content .about_us dd dd {
	position:relative;
	left: 7em;
	top:-1.4em;
	margin-bottom:-1em;
	line-height: 1.4;
}
#popup dl.about_us {
	margin: 0 0 20px 0;
	padding: 0;
	width: 400px;
}
h1.about_profile {
	font-size: 16px;
	padding: 20px 20px 15px 0;
}
/* table */
#content table {
	margin: 8px 0 8px 40px;
	border-collapse: collapse;
	width: 520px;
}
#content table th {
	border: solid #FFF;
	border-width: 0 1px 0 0;
	text-align: center;
	font-weight: bold;
	padding: 5px 10px;
	background: url(../img/shared/th_bg.jpg) left bottom repeat-x #F1F1F1;
	white-space: nowrap;
}
#content table td {
	border: solid #BEBEBE;
	border-width: 0 1px 0 0;
	padding: 4px 10px;
}
#content table td.last {
	border: 0;
}
#content table .alt td {
	background: #F4F4F4;
}
#content table .alt2 td,
#content table .alt2 td.last {
	border-top: 1px solid #BEBEBE;
	background: #F4F4F4;
}
/* example table */
#content table.example th.row_th {
	border: solid #BEBEBE;
	border-width: 0 1px 0 0;
	text-align: left;
	font-weight: normal;
	padding: 5px 10px;
	background: none;
	white-space: normal;
}
#content table.example .alt th {
	background: #F4F4F4;
}
#content table td.last {
	border: 0;
}
/* form table */
#content table.form_table {
	margin: 4px 0 8px 40px;
	border: solid #CBDCF4;
	border-width: 0 0 1px 1px;
}

#content table.form_table caption {
	font-weight: bold;
	margin: 0 0 0 40px;
	padding: 3px 6px;
	width: 520px;
	text-align: left;
	background: url(../img/shared/th_bg.jpg) left bottom repeat-x #F1F1F1;
	border: solid #CCC;
	border-width: 1px 1px 0 1px;
}
#content table.form_table th {
	border: solid #CBDCF4;
	border-width: 1px 1px 0 0;
	text-align: center;
	font-weight: bold;
	padding: 4px 6px 2px 6px;
	white-space: nowrap;
	background: url(../img/shared/th_bg_form.jpg) no-repeat #E3EEFF;
}
#content table.form_table td {
	border: solid #CBDCF4;
	border-width: 1px 1px 0 0;
	padding: 2px 5px;
	text-align: left;
	background: #FAFAFA;
}
#content p.table_note {
	font-size: 10px;
	font-family: "ＭＳ Ｐゴシック", sans-serif;
	padding: 0;
	margin: 0 0 0 40px;
}
#content table.form_table input {
	margin: 2px 2px 2px 0;
	vertical-align: middle;
}
#content table.form_table textarea {
	margin: 2px 2px 2px 0;
	padding: 2px;
}
form {
	text-align: center;
}

/*** Staff Profile ***/
.profile_outer {
	margin: 0 10px 10px 30px;
	padding: 10px 0 5px 0;
	background: #F0F5FA;
	width: 525px;
	border: 1px solid #DBEAFF;
}
#popup .profile_outer {
	text-align:left;
	margin: 15px 10px;
}
.profile_inner {
	width: 400px;
	float: left;
}
.profile_outer img.floatleft {
	float: left;
	margin: 0 8px 8px 10px;
	border: 1px solid #999;
}
.profile_outer h1 {
	margin: 0 10px 5px 10px;
	background: none;
	padding: 0 0 3px 0;
	font-size: 14px;
	color: #666;
}
.profile_outer h2 {
	background: none;
	border: 0;
	margin: 0 0 0 0;
	padding: 0 0 3px 0;
}
.about_page .profile_outer ul, 
.about_page #content .profile_outer ul {
	background: none;
	padding: 0;
	margin: 0 0 1em 15px;
}
.about_page .profile_outer ul li,
.about_page #content .profile_outer ul li {
	background: none;
	padding-left: 0;
	list-style: square;
}
.about_page .profile_outer p,
.about_page #content .profile_outer p {
	padding-left: 0;
}
/*** Right Menu ***/

#menu {
	width: 150px;
	float: left;
}
#menu ul {
	padding: 0 0 10px 20px;
}
#menu ul ul {
	padding: 0 0 10px 0;
}
#menu ul li {
	list-style: none;
	display: block;
	font-size: 14px;
	line-height: 1.4;
	font-weight: bold;
	background-position: left top;
	background-repeat: no-repeat;
} 
#menu a {
	font-size: 14px;
	display: block;
	height: 35px;
	line-height: 2.4;
	padding: 0 0 0 15px;
	text-decoration: none;
	font-weight: normal;
	width: 150px;
	voice-family: "\"}\"";
	voice-family:inherit;
	width: 135px;
}
html>#menu a {
  width: 135px;
}
#menu li#gyomu {
	background: url(../img/shared/menu/txt_gyomu.gif) no-repeat;
	text-indent: -9999px;
}
#menu li#aboutus {
	background: url(../img/shared/menu/txt_about.gif) no-repeat;
	text-indent: -9999px;
}
#menu li#gyomu li, #menu li#aboutus li {
	background: none;
	text-indent: 0;
}
#menu #gyomu li a:link, #menu #gyomu li a:visited {
	background: url(../img/shared/menu/gyomu_bg.jpg) no-repeat;
	color: #4D4D4D;
}
#menu #aboutus li a:link, #menu #aboutus li a:visited {
	background: url(../img/shared/menu/about_bg.jpg) no-repeat;
	color: #4D4D4D;
}
/*** Rollovers ***/
#menu #gyomu li a:hover, #menu #gyomu li a:active {
	background-position: right top;
	color: #690;
}
#menu #aboutus li a:hover, #menu #aboutus li a:active {
	background-position: right top;
	color: #135BA2;
}
#iso {
	width: 145px;
	margin-left: 25px;
	text-align: center;
}
#iso img {
	margin-bottom: 10px;
}
#menu p {
	font-size: 10px;
	text-align: center;
	line-height: 1.2;
	font-family: "ＭＳ Ｐゴシック", sans-serif;
}
/*** Footer ***/

ul#footer {
	background: url(../img/shared/footer.gif) center bottom no-repeat;
	width: 814px;
	margin: 0 auto;
	padding: 5px 0 25px 0;
	clear: both;
}
ul#footer li { font: normal 0.85em/1.6 verdana,sans-serif; list-style:none; display:inline; }
ul#footer a { font: normal 1em/1.6 verdana,sans-serif; }

/*** top page banner ***/
#topbanner { background: url(../img/top/onestop_bg.jpg) no-repeat; width:580px; margin-bottom:4px }
#topbanner h3 { background: none; margin: 0; padding: 40px 0 0 12px; }
#topbanner p { margin: 3px 200px 0 12px; padding-bottom: 5px; }
#content ol#services { margin: 0; padding: 0 0 5px 12px; background: url(../img/top/onestop_bottom.gif) no-repeat left bottom; }
#content ol#services li { display: block; float: left; margin: 0 2px 2px 0; background: url(../img/top/service_bg.jpg) no-repeat; }
#content ol#services li.syogyo_link { margin-right:120px; }
#content ol#services li a { width: 167px; height: 45px; display: block;	background: url(../img/top/fudousan.gif) center center no-repeat; text-indent: -9999em; }
#content ol#services li.syogyo_link a { background-image: url(../img/top/syogyo.gif); }
#content ol#services li.sokuryo_link a { background-image: url(../img/top/sokuryo.gif); }
#content ol#services li.zeimu_link a { background-image: url(../img/top/zeimu.gif); }

/* Reusable classes */
.indent { margin-left: 40px }
.bottom15 { margin-bottom: 15px }
.top25 { margin-top: 25px }
.centered { text-align: center; }
.rightalign { text-align: right; clear:both; }
.readmore { text-align: right; margin-right:60px; }
.nobreak { 	white-space: nowrap; }
.width25 { width: 25% }
.hidden { clear: both; color: #FFF; border: 0; background: #FFF }
.popup { background: url(../img/shared/popup.gif) no-repeat center right; padding-right:12px; }
.rightmargin { margin-right: 2px; }

/*** hacks - these have priorities ***/
#main:after, .profile_outer:after, #services:after {
    content: "."; 
    display: block; 
    height: 0; 
    clear: both; 
    visibility: hidden;
}
#main, .profile_outer, #services { display: inline-table; }

/* Hides from IE-mac \*/
* html #main, *html .profile_outer, *html #services { height: 1%; }
#main, .profile_outer, #services { display: block; }
/* End hide from IE-mac */