/*
-----------------------------------------------

update:2008/10/18
----------------------------------------------- */

/*
===== CONTENTS =====

	1: universal reset 
	2: layout
	3: parts
		: header
		: navi
		: main
		: sub
		: footer
	
====================
*/

/* 1: universal reset
----------------------------------------------- */

*{
	margin:0px;
	padding:0px;
	background-repeat:no-repeat;
	list-style-type:none;
}

h1,h2,h3,h4,h5,h6,p,ul,li,dl,dt,dd,div,table,tr,td,th,a{
	border-style:solid;
	border-width:0px;
	border-color:#ccc;
	font-size:100%;
}

p,li,dt,dd,address{line-height:1.7;}
th,td{ line-height:1.8; text-align:left; font-weight:normal; vertical-align:top;}
img{border-width:0px; vertical-align:bottom;}

a{ color:#122188;outline:none;text-decoration: underline;}
a:hover{ color:#979dd9;}

option{padding-right:10px;}

/* 2: layout
----------------------------------------------- */

body {
	font-size: 75%; /* IE */
}
html>/**/body {
  font-size: 12px; /* Except IE */
}

#header,
#footer{
	font-size:90%;
	_font-size:80%;
}

body{
	font-family: "メイリオ","Meiryo","Hiragino Kaku Gothic Pro",Verdana,Arial,Helvetica,"Osaka","ＭＳ Ｐゴシック","MS UI Gothic",sans-serif;
	text-align:center;
	color:#333;
	background:url(../img/common/body.jpg) top repeat-x;
	behavior:url("http://www.ad-soho.com/js/csshover2.htc");
}



#pack{
	margin:0px auto;
	text-align:left;
	width:780px;
}

#header{
	position:relative;
	height:116px;
	width:780px;
}

#contents{
	width:780px;
	display: inline-block;
}

#contents:after{content: ".";display: block;height:0;clear:both;visibility: hidden;}


#main{
	width:597px;
	float:right;
	padding-bottom:10px;
}

#sub{
	float: left;
	width:161px;
	padding-bottom:30px;
	background:url(../img/common/sub-bg.jpg) bottom no-repeat;
	padding-bottom:340px;
}

#home-p #sub{
	background:none;
	padding-bottom:0px;

}

#footer{
	background:url(../img/common/footer.jpg) top repeat-x;
	padding-top:10px;
}

/* 3: parts
----------------------------------------------- */

/*
===== header =====
*/

#logo a{
	display:block;
	text-indent:-9000px;
	width:160px;
	height:116px;
	background-image:url(../img/common/logo.jpg);
}

#lead{
	position:absolute;
	top:18px;
	right:0px;
	color:#999;
}
#lead strong{font-weight:normal;}

/*----- navi -----*/

#navi{
	position:absolute;
	top:46px;
	left:186px;
}

#navi li{float:left;}

#navi a{
	background-image:url(../img/common/navi.jpg);
	height:54px;
	display:block;
	text-indent:-9000px;
}

#n1 a{ background-position:0px 0px; width:69px;}
#n2 a{ background-position:-69px 0px; width:96px;}
#n3 a{ background-position:-165px 0px; width:96px;}
#n4 a{ background-position:-261px 0px; width:71px;}
#n5 a{ background-position:-332px 0px; width:96px;}
#n6 a{ background-position:-428px 0px; width:71px;}
#n7 a{ background-position:-499px 0px; width:95px;}

#home-p #n1 a,#n1 a:hover{ background-position:0px -54px;}
#feature-p #n2 a,#n2 a:hover{ background-position:-69px -54px;}
#service-p #n3 a,#n3 a:hover{ background-position:-165px -54px;}
.price-p #n4 a,#n4 a:hover{ background-position:-261px -54px;}
.voice-p #n5 a,#n5 a:hover{ background-position:-332px -54px;}
#faq-p #n6 a,#n6 a:hover{ background-position:-428px -54px;}
#community-p #n7 a,#n7 a:hover{ background-position:-499px -54px;}


/*
===== main =====
*/

#main .block{margin-bottom:22px;}

/* taxt */

.p{margin-bottom:12px;}
.pp{margin-bottom:22px;}

.h1{margin-bottom:15px;}
.h2{margin-bottom:15px;}
.h2-text{
	background-image:url(../img/news/h2-empty.jpg);
	line-height:25px;
	color:#fff;
	padding-left:23px;
	_height:25px;
}

#main h3{
	color:#9d1153;
	margin-bottom:10px;
	font-size:120%;
	line-height:1.5;
}
.h3{background:url(../img/common/line.jpg) left bottom repeat-x;}

.h4{
	margin-bottom:10px;
	font-size:120%;
	background:url(../img/common/line.jpg) left bottom repeat-x;
	line-height:1.5;
	color:#666;
}

/* table */

.table{
	margin-bottom:20px;
	background-color:#bbb;
	width:597px;
}

.table th,.table td{padding:5px 5px 5px 10px;}

.table th{background-color:#f0f0f0;}
.table td{background-color:#fff;}

.table thead th{font-weight:bold;color:#666;}

.width50per{width:50%;}

/* button */

.button{
	text-align:center;
	margin-bottom:15px;
}

.button *{
	height:41px;
	display:block;
	text-indent:-9000px;
	margin:0 auto;
	border:none;
	background:none;
	cursor:pointer;
}

.button a:hover,
.button input:hover{background-position:bottom;}

/* pagetop */

.pagetop{text-align:right;}


/*
===== sub =====
*/

.sub-block{
	margin-bottom:14px;
	border-width:0 1px 1px 1px;
	border-color:#bbb;
}

.sub-block h2{height:25px;text-indent:-9000px;}

/* contact */

#sub-contact h2{background-image:url(../img/common/sub-contact-title.jpg);}

#sub-contact div{
	padding:5px 2px 0 14px;
	font-size:90%;
	_font-size:80%;
}

#sub-contact .tel{
	background-image:url(../img/common/sub-contact-tel.jpg);
	height:29px;
	text-indent:-9000px;
}

#sub-contact li{margin-bottom:7px;}

#s-c1 a{background-image:url(../img/common/sub-contact-form.jpg);}
#s-c2 a{background-image:url(../img/common/sub-contact-access.jpg);}

#sub-contact li a{
	text-indent:-9000px;
	display:block;
	height:28px;
	width:135px;
}

#sub-contact li a:hover{background-position:bottom;}

/* list */

.sub-ul{padding:8px 10px 0px 10px;}
.sub-ul li{
	border-bottom:1px solid #d2d2d2;
	margin-bottom:3px;
	padding-bottom:2px;
}
.sub-ul .last{border-bottom:none;}
.sub-ul a{
	background:url(../img/news/sub-arrow.jpg) 0px 5px no-repeat;
	padding-left:10px;
}


#banner li{margin-bottom:14px;}

/* link */

#sub-link h2{background-image:url(../img/common/sub-link.jpg);}

#sub-link ul{
	padding:10px;
}

#sub-link li{
	font-size:90%;
	_font-size:10px;
	text-indent:-0.8em;
	margin-left:0.8em;
	margin-bottom:3px;
}


/*
===== footer =====
*/

#footer .inner{
	position:relative;
	width:780px;
	text-align:left;
	margin:0 auto;
}

#footer address{ font-style:normal;}
#footer address strong{font-size:larger;}

#footer ul{
	position:absolute;
	top:0px;
	right:0px;
}

#footer li{	display:inline;}
#footer li a{padding:0 5px;}

#footer #copyright{
	margin:20px 0;
	text-align:center;
}

