/* CSS Document */

body {
  margin: 0;
  padding: 0;
  font-size:14px;
  font-family:ヒラギノ角ゴ Pro,Hiragino Kaku Gothic Pro,メイリオ,Meiryo,Osaka,ＭＳ Ｐゴシック,MS PGothic,sans-serif;
  text-align: center;
  color: #000000;
  background: #e6e6e6;
}
#wrapper {
  margin: 20px auto;
  width: 820px;
  text-align: left;
  color: #333333;
  background: #ffffff
  url(images/kyoutsu/i-kabulogo-top.gif) no-repeat;

}
#maincontent {
  width: 665px;
  margin: 0;
  padding: 0;
  float: left;
}
#content {
  float: right;
  width: 470px;
  margin: 0;
  padding-left: 15px;
  padding-right: 15px;
}
#rightnavi {
  float: right;
  width: 150px;
  padding-left: 5px;
  padding-right: 0;
  margin: 0;
}
#rightnavi p {
  text-indent: 0;
}
#rightnavi td {
  padding: 3px 0 3px 3px;
}


#header {
  width: 810px;
  height: 100px;
  text-align: right;
  padding-right: 10px;
  line-height: 20px;
}
#header img {
  float: left;	
}
#footer {

  text-align: center;
  clear: both;
}
h1.title {
  font-size: 22px;
  border-left:   8px solid #390;
  border-bottom: 1px solid #390;
  padding: 4px 10px;
}

h2 {
	background: #FF9900;
	background-image: none;
	color: #FFFFFF;
	font-weight: bold;
	font-size: 24px;
	padding: 10px 15px;
	margin-top: 35px;
	border-bottom: none;
	line-height: 1.4em;
}

h3 {
  position: relative;
  padding: 0.6em;
  margin-top: 35px;
  background: -webkit-repeating-linear-gradient(-45deg, #fff5df, #fff5df 4px,#ffe4b1 3px, #ffe4b1 8px);
  background: repeating-linear-gradient(-45deg, #fff5df, #fff5df 4px,#ffe4b1 3px, #ffe4b1 8px);
  border-radius: 7px;
  border: none;
}
h3:after {
  position: absolute;
  content: '';
  top: 100%;
  left: 30px;
  border: 15px solid transparent;
  border-top: 15px solid #ffebbe;
  width: 0;
  height: 0;
}

p {
  line-height: 20px;
}
p.ad {
  text-indent: 0;
  text-align: center;
}
p.navi {
  text-indent: 0;
}
p.notyet {
  text-indent: 0;
  color: #999999;
}
.now {
  background-color: #dddddd;
}
table {
  background: #ffffff;
  vertical-align: middle;
}
td.contents {
  vertical-align: top;
}
form { margin: 0; }
table.shouken {
  width: 100%;
  text-align: center;
  border-style: solid;
  border-color: #000000;
  border: 1px;
}
table.shouken th {
  border-width: 1px;
  border-style: solid;
  border-color: #999999;
  font-weight: normal;
  background: #EEEEEE;
}
table.shouken td {
  border-width: 1px;
  border-style: solid;
  border-color: #999999;
}
th {
  background-color: #FFCC66;
  color: #000066;
  padding: 3px 0px;
}
td.yellow {
  background-color: #FFFFCC;
}
td.yellow2 {
  background-color: #FFFFCC;
  line-height: 22px; 
  text-align: center; 
}
  
.small {
  font-size: 12px;
  line-height: 17px;
}
.big { font-size: 16px; }

.rightsmall {
  font-size: 12px;
  line-height: 17px;
}
.left {
  float: left;
  margin: 0px 10px 10px 0px;
  border-style: solid;
  border-width: 1px;
  border-color: blue;
}
.right {
  float: right;
  margin: 0px 0px 10px 10px;
  border-style: solid;
  border-width: 1px;
  border-color: blue;
}
.red {
  color: #FF0000;
}
#mutual {
  font-size: 12px;
  padding-left: 20px;
  padding-right: 20px;
}
a {text-decoration: underline;}
a:hover {text-decoration: none;}

.style1 {color: #FF66FF}
.style2 {color: #FF00CC}

#whatsnew {
  height: 500px;
  overflow: scroll;
}

p.advertise { border: 1px dotted #0000FF; margin: 10px 0px; text-indent: 0em; padding: 10px; text-align: left; color: #CC0000; }
p.advertise a { text-decoration: underline; }

.osusumebox {
    position: relative;
    margin: 2em 0;
    padding: 35px 10px 7px;
    border: solid 2px #FFC107;
}
.osusumebox .box-title {
    position: absolute;
    display: inline-block;
    top: -2px;
    left: -2px;
    padding: 0 9px;
    height: 30px;
    line-height: 30px;
    font-size: 17px;
    background: #FFC107;
    color: #ffffff;
    font-weight: bold;
}
.osusumebox p {
    margin: 0; 
    padding: 0;
}

/***********************************************/

#navBar{
	float: left;
	width: 160px;
	margin: 0px;
	padding: 0px;
	background-color: #eeeeee;
	border-right: 1px solid #cccccc;
	border-bottom: 1px solid #cccccc;
}

/*********** #navBar link styles ***********/

#navBar ul a:link, #navBar ul a:visited {display: block;}
#navBar ul {list-style: none; margin: 0; padding: 0;}
#navBar a {text-decoration: none;}
#navBar a:hover {text-decoration: underline;}
/* hack to fix IE/Win's broken rendering of block-level anchors in lists */
#navBar li {border-bottom: 1px solid #EEE;}

/* fix for browsers that don't need the hack */
html>body #navBar li {border-bottom: none;}

/*********** #sectionLinks styles ***********/

#sectionLinks{
	margin: 0px;
	padding: 0px;
	border-bottom: 1px solid #cccccc;
}
#sectionLinks h3{
	padding: 10px 0px 2px 10px;
}
#sectionLinks a {
	display: block;
	border-top: 1px solid #cccccc;
	padding: 2px 0px 2px 10px;
}
#sectionLinks a:hover{
	background-color: #dddddd;
}
/*********** .relatedLinks styles ***********/

.relatedLinks{
	margin: 0px;
	background-color: #dddddd;
	padding: 0px 0px 10px 10px;
	font-size: 90%;
}
.relatedLinks h3{
	padding: 10px 0px 2px 0px;
}
.relatedLinks a:link,
.relatedLinks a:visited {
	display: block; 
}

/* ------------------------------------------*/
#subnavi {
	float: left;
	width : 170px;
	margin-top: 30px;
	margin-bottom: 20px;
	padding: 0px;
	font-size: 12px;
	list-style-type: none;
}

#subnavi ul a:link, 
#subnavi ul a:visited {display: block;}
#subnavi ul {list-style: none; margin-top: 20px; padding: 0;}
#subnavi a {text-decoration: none;}
#subnavi a:hover {text-decoration: underline;}

/* fix for browsers that don't need the hack */
html>body #navBar li {border-bottom: none;}

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

/************** #advert styles **************/

#advert{
    text-align: center;
	padding: 10px 0px 0px 0px;
	font-size: 80%;
	border-top: 1px solid #cccccc;
}


/************** #headlines styles **************/

#headlines{
	margin: 0px;
	padding: 10px 0px 20px 10px;
	font-size: 80%;
}

#headlines p{
	padding: 5px 0px 5px 0px;
}

/************* #adspace styles ***************/

#adspace{
  padding: 10px 0px 0px 0px;
  width: 140px;
}


p.copyright { margin: 10px 0px 0px 0px; font-size: 12px; color: #333333; text-align: center; }
p.copyright a { text-decoration: none; color: #333333; }


p.twitter { text-indent: 0; margin-left: 50px; margin-right: 50px;　border: 1px dotted #999999; padding: 5px 15px; }
p.topad { text-indent: 0px; border: 2px dotted #6699FF; padding: 5px 10px; font-size: 12px; }
p.topad a { font-size: 14px; text-decoration: underline; }

div.bookmark { text-align: center; margin: 10px; font-size: 12px; }



#ham { display: none; }

div.line-banner {
	margin: 20px auto;
	text-align: center;
}
