/*ここは消さないで下さい!*/
/* Template Name: type21_blue */
/*CSSLicense: jp-soft.com Tsunehisa Hazama*/

* {
  margin: 0;
  padding: 0;
}

html{height: 100%;}


/* BODY-------------------------------*/
body {
  background: #778899;
  margin: 0;
  padding: 0;
  font-size: 14px;
  line-height: 150%;
  color: #555;
  text-align: center;
  font-family: "ＭＳ Ｐゴシック","MS P Gothic","メイリオ","Meiryo","ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro","Osaka", Verdana,Arial, Helvetica, sans-serif;
}

/* 画像の属性 */
img {border: none; margin: 0;}
.img-left {  float: left;margin: 0 10px 0 0;}
.img-right {float: right;margin: 0 0 0 10px;}
.img-center {;margin: 10px auto;}

/* リンクの属性（未指定の時） */
a:link, a:visited, a:active {color: #3366CC;text-decoration: none;}
a:hover{color : #FF6633;text-decoration: underline;position: relative; top: 1px; left: 1px;}

/*引用属性*/
blockquote {
  width: 400px;
  height: 200px;
  overflow: auto;
  border: 1px solid #CCC;
  scrollbar-face-color: #DCEBF0;
  margin: 10px 20px 10px 20px;
  padding: 5px;
  text-align: left;
  }

/* テーブルの属性*/
table {margin: 0 0 0 10px; font-size: 12px; color: #999;}
td {padding: 5px;}

/* 基本設定 ----------------------------- */
#basic{
  width: 840px;
  margin: 0 auto;
  background: url("img/base_back.gif") repeat-y;
  text-align: center;
}

#outside {
  width: 800px;
  margin: 0 auto;
  background: #FFF url("img/header_05.gif") no-repeat;
  position: relative;
}

#kontena{
  width: 770px;
  margin: 0 auto;
  text-align: left;
  background: #FFF;
}

/*  ヘッダー  */
#header {
  height:200px;
  margin: 0;
  color: #666;
}

#header h1{
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 14px;
  font-weight: normal;
  color: #333;
}

#header #stitle{
/*
  position: absolute;
  top: 100px;
  left: 30px;
*/
  font-size: 28px;
  font-weight: bold;
  line-height: 120%;
  color: #336699;
  padding-top: 50px;
  text-align: center;
}

#stitle a:link,#stitle a:visited,#stitle a:active {color: #336699;text-decoration: none;}
#stitle a:hover{color : #FF6633;text-decoration: underline;}

#header #des{
  position: absolute;
  top: 110px;
  left: 30px;
  font-size: 13px;
  font-weight: normal;
  line-height: 130%;
  color: #FFF;
}

#header .navi{
  padding: 5px 10px 0 0;
  text-align: right;
  font-size: 12px;
  line-height: 16px;
}

#header .navi img{margin: 0 2px;border-style: none; vertical-align: middle;}


/*  記事枠等の属性  */
#contents {
  /*
  float: right;
  width: 520px;
  */
  margin: 5px 0;
  background: #FFF;
  overflow-x: hidden;
}

#contents h2 {
  margin: 10px 0;
  padding-left: 5px;
  font-size: 28px;
  font-weight: bold;
  color: #336699;
  line-height: 150%;
  border-left: 6px solid #0066CC;
  display: block;
}

#contents h2 a {
  text-decoration: none;
  color: #FFF;
}

#contents h2 a:hover {
  color: #FF0000;
}

#contents h3 {
  margin: 10px;
  padding-left: 5px;
  font-size: 16px;
  font-weight: bold;
  color: #333;
  line-height: 150%;
  border-left: 5px solid #FF6532;
  border-bottom: 1px dotted #FF6532;
  display: block;
}

/*記事枠*/
#contents .doc{
  margin: 0 10px;
  text-align: left;
  line-height: 24px;
  background: url("img/doc_back.gif") top left;
}

#contents .doc2{
  margin: 0 10px;
  text-align: left;
  line-height: 150%;
}

#contents .doc p{
  margin-top: 24px;
  padding: 0;
}

#contents .info {
  width: 520px;
  height: 200px;
  margin-bottom: 20px;
  text-align: left;
  background: url("img/info.gif") no-repeat;
}

#contents ol{
  margin: 10px 5px 20px 40px;
}

#contents li{
  margin: 0;
  font-size: 13px;
  line-height: 150%;
}

/*  相互リンクリスト属性 */
#contents .slink ol{
  margin: 10px 5px 20px 20px;
}

#contents .slink ol li{
  margin: 0;
  font-size: 12px;
  line-height: 150%;
}

/*  パンくずリスト  */
#contents .navi {
  margin :0px;
  width: 100%;
  font-size: 12px;
  padding: 0 5px;
  text-align: left;
  }

/*  サイドメニュー等の属性  */
#sidebar {
  float: left;
  width: 234px;
  margin: 0;
  font-size: 13px;
  background: #FFF;
  overflow-x: hidden;
}

#sidebar h2{
  margin-top; 5px;
  border: 1px solid #555;
  background: #0F3357;
  font-weight: bold;
  color: #FFF;
  text-align: left;
  text-indent: 5px;
}

/*　アドセンス　*/
#sidebar .ads{
  margin: 0 5px 0 10px;
}

/* カテゴリ指定 */
#sidebar .cat{
  margin: 0;
}

#sidebar .cat h2{
  margin-top: 5px;
  padding-left: 10px;
  color: #FFF;
  text-align: left;
  font-size: 14px;
  font-weight: bold;
  line-height: 170%;
  border: 1px solid #555;
  background: #FF6532;
}

#sidebar ul.menu{
  margin: 0;
  padding: 0;
  list-style-type: none;
}

.menu dt,
#sidebar ul.menu li{
  border-left: 1px solid #DDD;
  border-right: 1px solid #DDD;
  border-bottom: 1px solid #DDD;
}

.menu dt,
ul.menu li a {
  display: block;
  margin: 0;
  padding: 5px 0px 5px 20px;
  color: #666;
  font-size: 13px;
  text-decoration: none;
  text-align: left;
  background: #f5f5f5 url("img/menu05.gif") no-repeat;
}

ul.menu li a .des{
  padding: 5px;
  background: #f5f5f5;
  color: #3D7A8F;
  font-size: 12px;
  line-height: 130%;
  text-align: left;
}

.menu dt,
ul.menu li a:hover {
  background: #FFF url("img/menu02_05.gif") no-repeat;
  color: #333;
  position: relative; top: 0px; left: 0px;
}


/*フッターナビ*/
#f_navi {
  clear: both;
  text-align: right;
  margin: 0px;
  padding: 10px;
  font-size: 12px;
  line-height: 16px;
}

#f_navi img{margin: 0 5px;border-style: none; vertical-align: middle;}

/* フッター-----------------*/
#footer {
  clear: both;
  width: auto;
  height: 70px;
  background: #A1E2E8;
  margin: 0;
}

#footer div {
  float: right;
  margin: 0;
  padding: 15px 10px 0 0;
  color: #999;
  font-size: 12px;
  line-height: 180%;
  text-align: right;
}

#footer a:link, #footer a:visited, #footer a:active {color: #FFF;text-decoration: none;}
#footer a:hover{color : #FF6060;text-decoration: underline;}


#linkinfo {
  color: #666;
  font-size: 10px;
}

#linkinfo a:link,
#linkinfo a:visited,
#linkinfo a:active {
	color: #666;
	text-decoration: none;
}

th.article {
	width:500px;
}
td.menu {
	width:250px;
}


@media screen and (max-width:640px){
  #basic,#outside,#header,#kontena,#contents {
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
    width: 100%;
    float: none;
  }
  #contents .doc,
  th, th.article, th.doc, td, td.menu {
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
    display: block;
    width: 100%;
  }
}

