/*基本部分*/
img {
border: 0px;
}

html {
overflow: auto;
}

body {
font-family: 'メイリオ',verdana, sans-serif;
overflow-x: hidden;
min-width: 900px;
position: relative;
}

*{
margin: 0;
padding: 0;
}

#wrapper{
text-align: left;
width: 900px;
margin: 0 auto;
}

#header{
margin: 0 auto;
height: 340px;
}

.logo {
height: 80px;
margin-top: 20px;
}

.top-image-background{
margin: 0 -500%;
padding: 0 500%;
width: 100%;
height: 220px;
background-image: url(img/white_wave.png);
}

h1{
font-size: 0.8em;
font-weight: normal;
padding-left: 8px;
color: #ffffff;
background-color: #7098e8;
height: 20px;
}

#menu{
width: 230px;
height: 950px;
float: left;
}

#contents{
float: right;
width: 670px;
}

#footer{
clear: both;
width: 100%;
margin: 0 auto;
text-align: center;
background-color: #7098e8;
font-size: 0.8em;
line-height: 1.35em;
color: #ffffff;
padding: 10px 0px;
}

.clear{
clear: both;
visibility: hidden;
height: 0;
}

.campaign {
margin: 10px 0px;
}

/*メニュー*/

ul#navi li {
list-style: none;
width: 230px;
}

ul#navi a{
width: 230px;
height:70px;
overflow: hidden;
text-indent: -100px;
display: block;
border-bottom: dotted 1px #555;
}

a.cock{
background-image: url(img/01.png);
background-repeat: no-repeat;
}

a.toilet{
background-image: url(img/02.png);
background-repeat: no-repeat;
}

a.pipe{
background-image: url(img/03.png);
background-repeat: no-repeat;
}

a.other{
background-image: url(img/04.png);
background-repeat: no-repeat;
}

a.brand{
background-image: url(img/05.png);
background-repeat: no-repeat;
}

a.ask{
background-image: url(img/06.png);
background-repeat: no-repeat;
}

a.company{
background-image: url(img/07.png);
background-repeat: no-repeat;
}

a:hover.cock{
background-image: url(img/01_on.png);
background-repeat: no-repeat;
}

a:hover.toilet{
background-image: url(img/02_on.png);
background-repeat: no-repeat;
}

a:hover.pipe{
background-image: url(img/03_on.png);
background-repeat: no-repeat;
}

a:hover.other{
background-image: url(img/04_on.png);
background-repeat: no-repeat;
}

a:hover.brand{
background-image: url(img/05_on.png);
background-repeat: no-repeat;
}

a:hover.ask{
background-image: url(img/06_on.png);
background-repeat: no-repeat;
}

a:hover.company{
background-image: url(img/07_on.png);
background-repeat: no-repeat;
}

/*コンテンツ*/
#box{
width :670px;
height: 100%;
margin: 0 auto;
text-align: center;
}

p{
color: #333;
font-size: 1em;
line-height: 1.5em;
text-align: left;
padding: 20px 25px 15px 30px;
}

*:first-child+html p{
padding: 15px 25px 15px 30px;
}

h2{
vertical-align: bottom;
margin-top: 15px;
}

hr{
border-bottom: dotted 1px #87afc5;
width: 640px;
}

.topicpath{
font-size: 0.8em;
text-align: left;
color: #666;
}

a{
text-decoration: none;
}

a:link{
color: #666;
}

a:visited{
color: #666;
}

a:hover{
color: orange;
}

/*テーブル*/
table{
width : 610px;
border: 1px #8f8f8f solid;
border-collapse: collapse;
border-spacing: 0;
margin: 0px 0px 15px 30px;
}

*:first-child+html table{
margin: 15px 0px 15px 5px;
}

td {
font-size: 0.9em;
color: #333;
text-align: left;
padding: 8px 5px 8px 25px;
border: 1px #8f8f8f solid;
}

.main li {
display: block;
list-style: none;
text-align: left;
font-size: 0.85em;
color: #333;
margin: 5px 0px 0px 20px;
padding-left: 40px;
background: url("img/arrow.gif") no-repeat;
background-position: 25px 3px;
}

*:first-child+html .main li{
display: block;
list-style: none;
text-align: left;
font-size: 0.85em;
color: #333;
margin: 5px 0px -5px 20px;
padding-left: 40px;
background: url("img/arrow.gif") no-repeat;
background-position: 25px 4px;
}