/* 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: 0px auto;
  width: 100%;
  text-align: left;
  color: #333333;
  background: #ffffff
  url(images/kyoutsu/i-kabulogosp-top.gif) no-repeat;

}
#maincontent {
  width: 100%;
  margin: 0;
  padding: 0;
}
#content {
  margin: 0;
  padding-left: 15px;
  padding-right: 15px;
}
#content p { font-size: 16px; line-height: 25px; }

#rightnavi {
  width: 100%;
  padding-left: 5px;
  padding-right: 5px;
  margin: 0;
  font-size: 16px;
}
#rightnavi p {
  text-indent: 0;
}
#rightnavi td {
  padding: 3px 0 3px 3px;
  font-size: 16px; line-height: 25px;
}
#rightnavi td a {
  font-size: 18px; line-height: 25px;
}
img { max-width: 355px; }
iframe { max-width: 355px; }


#header {
/*  background: url("images/kyoutsu/pr.gif") no-repeat; */
  width: 100%;
  height: 100px;
  text-align: right;
  padding-right: 0px;
  line-height: 20px;
}
#header img {
  float: left;	
}
#header strong { display: none; }
#footer {

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

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 {
  display: none;
}
a:hover {text-decoration: underline;}

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

#whatsnew {
  display: none;
}

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{
	width: 100%;
	margin: 0px;
	padding: 0px;
	background-color: #eeeeee;
}
#navBar iframe {
	display: none;
}

/*********** #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 { display: none; }
/* div.bookmark { text-align: center; margin: 10px; font-size: 12px; width: 300px; } */

table.toptbl0 { display: none; }
table.toptbl1 td { font-size: 12px; }




/*ハンバーガーメニュー*/
#ham {
  padding:10px;
  background: skyblue;
  position: absolute; top: 0; right: 0px; 
}

#nav-drawer {
  position: relative;
}

/*チェックボックス等は非表示に*/
.nav-unshown {
  display:none;
}

/*アイコンのスペース*/
#nav-open {
  display: inline-block;
  width: 30px;
  height: 22px;
  vertical-align: middle;
}

/*ハンバーガーアイコンをCSSだけで表現*/
#nav-open span, #nav-open span:before, #nav-open span:after {
  position: absolute;
  height: 3px;/*線の太さ*/
  width: 25px;/*長さ*/
  border-radius: 3px;
  background: #555;
  display: block;
  content: '';
  cursor: pointer;
}
#nav-open span:before {
  bottom: -8px;
}
#nav-open span:after {
  bottom: -16px;
}

/*閉じる用の薄黒カバー*/
#nav-close {
  display: none;/*はじめは隠しておく*/
  position: fixed;
  z-index: 99;
  top: 0;/*全体に広がるように*/
  left: 0;
  width: 100%;
  height: 100%;
  background: black;
  opacity: 0;
  transition: .3s ease-in-out;
}

/*中身*/
#nav-content {
  overflow: auto;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;/*最前面に*/
  width: 85%;/*右側に隙間を作る（閉じるカバーを表示）*/
  max-width: 330px;/*最大幅（調整してください）*/
  height: 100%;
  background: #fff;/*背景色*/
  transition: .3s ease-in-out;/*滑らかに表示*/
  -webkit-transform: translateX(-105%);
  transform: translateX(-105%);/*左に隠しておく*/
  font-size: 20px;
  line-height: 34px;
}

/*チェックが入ったらもろもろ表示*/
#nav-input:checked ~ #nav-close {
  display: block;/*カバーを表示*/
  opacity: .5;
}

#nav-input:checked ~ #nav-content {
  -webkit-transform: translateX(0%);
  transform: translateX(0%);/*中身を表示（右へスライド）*/
  box-shadow: 6px 0 25px rgba(0,0,0,.15);
}





/*********** #nav-content link styles ***********/

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

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


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