/*-- body --*/

body {
  text-align: center;
  width: 800px;
  margin: 0 auto;
  padding: 0;
  background-image: url(003-009.gif);
}

#all {
  margin: 0;
  padding: 0;
  width: 800px;
  background-color: #fff;
}

img {
  border: none;
}

/*-- /body --*/

/* header */

#top_image {
  text-align: left;
  margin: 0;
  padding: 0;
}

/* /header */

/* navigation bar */

#navi_bar {
  margin: 0;
  padding: 0;
  width: 800px;
  top: 75px;
  list-style-type: none;
  background-color: transparent;
  text-align: center;
}

#navi_bar li {
  margin: 0;
  padding: 0;
  float: left;
  width: 114.25px;
}

#navi_bar a {
  padding-top: 0.3em;
  padding-bottom: 0.3em;
  line-height: 1.5em;
  font-size: 0.8em;
  color: #464646;
  background-image: url(bnr-background-6.bmp);
  text-decoration: none;
  display: block;
  font-weight: bold;
  border-right: solid 1.5px #d1e8ff;
}

#navi_bar a:hover {
  background-image: url(bnr-background-3.4.bmp);
}

/* /navigation bar */

/* --- main ---*/

#main {
  text-align: left;
  margin-right: 0;
  padding: 8px 10px 18px 10px;
  color: #333;
}

/* --- /main ---*/

/* --- topicpath ---*/

#topicpath {
  text-align: left;
  padding: 8px 0 0 8px;
  font-size: 0.8em;
  line-height: 2em;
}

#topicpath a {
  text-decoration: none;
}

/* --- /topicpath ---*/

/* contents */

#contents {
  width: 555px;
  padding: 8px 0 auto 0;
  float: left;
}

/* /contents */

/* topic list */

#topic_list {
  text-align: center;
  width: 205px;
  margin: 8px 10px auto auto;
  float: right;
}

#topic_item {
  text-align: left;
  width: 205px;
  margin-bottom: 15px;
  padding: 0;
  border: solid 1px #bebebe;
}

/* /topic list */

/*--- text style ---*/

.textstyleA {
  color: #333;
}

.textstyleA h1 {
  text-align: center;
  font-size: 1.5em;
  color: #fff;
  background-color: #6495ED;
  font-weight: bolder;
  line-height: 1.3em;
  padding: 0;
  margin: 0 0 2px 0;
}

.textstyleA h2 {
  font-size: 0.9em;
  font-weight: bold;
  line-height: 1.5em;
  padding: 2px 4px;
  margin: 0;
}

.textstyleA p {
  font-size: 0.8em;
  line-height: 1.5em;
  padding: 2px 4px;
  margin: 0;
}

.textstyleA a:link, .textstyleA a:visited {
  color: #333;
  text-decoration: none;
}

.textstyleA a:hover {
  color: blue;
  text-decoration: underline;
}

.textstyleB {
  color: #333;
}

.textstyleB h1 {
  font-size: 1.8em;
  font-weight: bold;
  line-height: 1em;
  margin-top: 12px;
  margin-bottom: 0;
  padding: 2px;
  border-bottom: solid 7px #bebebe;
}

.textstyleB h2 {
  font-size: 1.2em;
  font-weight: bold;
  line-height: 1.2em;
  margin-top: 15px;
  margin-bottom: 6px;
  padding-left: 5px;
  border-bottom: solid 1px #bebebe;
  border-left: solid 21px #7F7F7F;
}

.textstyleB h3 {
  font-size: 0.95em;
  font-weight: normal;
  line-height: 1.4em;
  padding: 6px 2px 2px 2px;
  margin: 0;
}

.textstyleB h4 {
  font-size: 1em;
  font-weight: bold;
  line-height: 1.4em;
  padding: 12px 2px 1px 2px;
  margin: 0;
  border-bottom: solid 1px #bebebe;
}

.textstyleB p {
  font-size: 0.8em;
  font-weight: normal;
  line-height: 1.5em;
  margin: 0;
  padding: 4px 12px 4px 12px;
}

.textstyleB img {
  vertical-align: -2px;
}

/*--- /text style ---*/

/* --- link ---*/

.nonblue a:link, .nonblue a:visited {
  color: #333;
  text-decoration: none;
}

.nonblue a:hover {
  color: #0000ee;
  text-decoration: underline;
}

.blue a:link {
  color: #00f;
  text-decoration: none;
}

.blue a:visited {
  color: #00e;
  text-decoration: none;
}

.blue a:hover {
  color: #00f;
  text-decoration: underline;
}

#table-link {
  border: solid 1px #2460ab;
  width: 238px;
  height: 80px;
  padding: 5px;
  margin: 5px;
  float: left;
}

#table-link h1 {
  font-size: 0.85em;
  font-weight: bold;
  line-height: 1.2em;
  border: none;
  margin: 0;
  padding: 2px;
}

#table-link p {
  font-size: 0.8em;
  font-weight: normal;
}

/* --- /link ---*/

/*-- table style --*/

#tablestyle {
  margin: 10px 0 15px 40px;
  border-style: none;
}

#tablestyle th {
  font-size: 0.95em;
  line-height: 1.2em;
  padding-bottom: 3px;
  text-align: left;
}

#tablestyle td {
  font-size: 0.8em;
  line-height: 1.2em;
  vertical-align: top;
  border-style: none;
}

#tablestyle-publish {
  width: 750px;
  line-height: 1.2em;
  padding: 6px auto 12px 20px;
}

#tablestyle-publish th, #tablestyle-publish td {
  vertical-align: top;
  padding: 10px;
}

#tablestyle-publish th {
  text-align: right;
  font-size: 0.85em;
  font-weight: bold;
}

#tablestyle-publish td {
  text-align: left;
  font-size: 0.8em;
  border-style: none;
}

#tablestyle-e {
  margin: 12px 0 18px 40px;
  border-style: none;
}

#tablestyle-e td {
  font-size: 0.8em;
  line-height: 1em;
  vertical-align: top;
  border-style: none;
  padding: 2px;
}

#etextlist {
  font-size: 1em;
  line-height: 2em;
}

#tablestyle-backnumber {
  width: 770px;
  text-align: left;
  margin: 12px 0 18px auto;
}

#tablestyle-backnumber td {
  font-size: 0.8em;
  line-height: 1.4em;
  padding: 2px;
  vertical-align: top;
  text-align: left;
}

/*-- /table style --*/

/* --- footer ---*/

#footer {
  clear: both;
  width: 800px;
  margin: 16px 0 4px 0;
  padding: 4px 0;
  font-size: 0.7em;
  font-weight: normal;
  font-style: normal;
  color: #2460ab;
  border-top: solid 6px #4a73b6;
}

/* --- /footer ---*/


/* -- Course set --*/

#couses_list {
  width: 170px;
  border-collapse: collapse;
  border-style: solid;
  border-width: 1px 1px 10px 20px;
  border-color: #e5e5e5;
  font-size: 0.8em;
}

#couses_list th {
  color: #333;
  line-height: 3em;
  font-weight: bold;
  text-align: left;
  vertical-align: middle;
  background-color: #e5e5e5;
}

#couses_list td {
  color: blue;
  line-height: 1.2em;
  text-align: left;
  vertical-align: middle;
  padding: 6px;
  background-color: #fff;
  border-bottom: solid 1px #efefef;
}

#couses_list td.gaikokugo {
  color: blue;
  font-size: smaller;
  line-height: 1.2em;
  text-indent: 10px;
  text-align: left;
  vertical-align: middle;
  padding: 6px;
  background-color: #fff;
  border-bottom: solid 1px #efefef;
}

#couses_list a {
  text-decoration: none;
}

#couses_main {
  width: 570px;
  margin: 0;
  padding: 0 15px 15px 0;
}

#tablestyle-course {
  width: 570px;
  border-collapse: collapse;
  border: solid 1px #cfcfcf;
}

#tablestyle-course th {
  border: solid 1px #cfcfcf;
  font-size: 0.8em;
  font-weight: bold;
  text-align: left;
  padding: 6px;
  background-color: #fcfcfc;
  /* background-color:#88c1ec;*/
}

#tablestyle-course td {
  font-size: 0.8em;
  vertical-align: middle;
  padding: 6px;
}

#courseimg {
  margin: 12px;
  padding: 5px;
  border: none;
  background-color: #e9e9f9;
  color: #333;
}

#courseimg a {
  font-size: 0.7em;
  line-height: 1.3em;
}

/* -- /Course set --*/

/*-- float --*/

.floatleft {
  float: left;
}

.floatright {
  float: right;
}

/*-- /float --*/

/*-- kannai map --*/

#kannai {
  width: 400px;
  height: 105px;
  background-color: #f9f9f9;
  border-bottom: solid 2px #333;
  border-right: solid 2px #333;
  padding: 4px;
  margin: 12px;
  font-size: 0.85em;
}

#kannai a img {
  border: none;
}

/*-- /kannai map --*/

/*  will soon be deleted  */

#left {
  width: 170px;
  text-align: left;
}

#center {
  width: 215px;
  text-align: center;
}

#right {
  width: 170px;
  text-align: right;
}

.new::before {
  background-color: red;
  font-size: smaller;
  color: white;
  font-family: serif;
  margin-right: 3px;
  content: "NEW!";
  padding: 1px;
}
