﻿@charset "utf-8";

/* 一括で全ての要素の余白をゼロに指定 */
* {
  padding: 0;
  margin: 0;
}

a:link {
  color: RoyalBlue;
  text-decoration: underline;
}

a:visited {
  color: RoyalBlue;
  text-decoration: underline;
}

a:hover {
  color: #990099;
  text-decoration: underline;
}

/* ---------------------------------------- フォントスタイル フォントサイズ */
body {
  font-size: 85%;
  text-align: center;
  font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  padding: 0;
  margin: 0;
  background:WhiteSmoke;
}

/* ---------------------------------------- レイアウトに関する指定 */

#wrapper {
  text-align: left;
  margin: 0 auto 0;
  width: 800px;
  border: 1px solid #cccccc;
  background: white;
}

#header {
  padding: 25px 20px 5px;
  border-bottom: 1px solid #cccccc;
  background: url(img/leaf.jpg) ;
}

#globalnavi {
  width: 100%;
  position: relative;
}

#container {
  float: left;
  width: 620px;
}

#contents {
  float: right;
  width: 398px;
  padding: 4em 19px 4em 19px;
  border-left: 1px solid #cccccc;
  border-right: 1px solid #cccccc;
}

#left-sidebar {
  float: right;
  width: 170px;
  padding: 4em 5px 2em;
  font-size: 0.95em;
}

#right-sidebar {
  float: right;
  width: 170px;
  padding: 4em 5px 2em;
  font-size: 0.95em;
}

#footer {
  clear: both;
  padding: 0.5em 0 1em;
  border-top: 1px solid #cccccc;
}

/* ---------------------------------------- #header内の指定 */

/* -- 図書館名 -- */
h1 {
  font-size: 1.6em;
  margin-bottom: 0.5em;
  color: white;
  text-decoration: none;
}

#header a:link {
  color: white;
  text-decoration: none;
}

#header a:visited {
  color: white;
  text-decoration: none;
}

#header a:hover {
  color: white;
  text-decoration: none;
}

/* -- マイライブラリログイン -- */
#header .login {
  padding: 0;
  margin: 0;
  text-align: right;
  font-size: 90%;
  font-weight: bold;  
}

/* -- マイライブラリログイン画像 -- */
img.login {
  border: 0px solid ;
  margin: 0px;
  vertical-align: middle;
}

/* ---------------------------------------- #globalnaviの指定 */

#globalnavi ul {
  width: 100%;
  list-style-type: none;
  position: absolute;
  background-color: #333;
  border-bottom: 2px solid orange;
}

#globalnavi li {
  width: auto;
  float: left;
  border-right: 2px groove #cccccc;
  font-size: 90%;
  background-color: #333;
}

#globalnavi li a {
  text-decoration: none;
  display: block;
  width: auto;
  padding: 0.5em 1em;
  color: white;
  background-color: #333;
}

#globalnavi li a:hover {
  background-color: orange;
}

/* ---------------------------------------- #contents内の指定 */

/* -- 見出し -- */

h2 {
  font-size: 1.2em;
  margin-bottom: 1.5em;
  padding: 5px 0 5px 5px;
  border-left: 10px solid #333;
  border-bottom: 1px solid #333;
}

h3 {
  font-size: 100%;
  font-weight: bold;
  margin-bottom: 0.5em;
  margin-top: 2.5em; 
  padding-left: 20px;
  background: url(img/bg-h.gif) no-repeat 0 0;
  clear: both;
}

h4,h5,h6 { margin-top: 2.5em; }

/* -- 文字 -- */
#contents p {
  line-height: 1.6em;
  margin-bottom: 0.5em;
}


em {
  color: Purple;
  font-weight: bold;
  font-style: normal;
}

/* -- 右寄せ -- */
p.right {
  text-align: right;
  font-size: 0.9em;
  margin-top: 2em;
}

/* -- 以下 リスト関係 -- */
#contents dl { margin: 1em 0; }

#contents dt {
  margin-bottom: 0.5em;
  font-weight: bold;
  border-bottom: 1px dotted #666666;
}

#contents dd { margin-bottom: 2em; }
#contents ul { margin: 0.5em 0 1em 2em; }
#contents ol { margin: 0.5em 0 1em 30px; }
#contents li { margin-bottom: 0.5em; }

/* -- 画像 -- */
#contents img {
  border: 1px solid Gainsboro;
  margin: 5px 10px　10px 10px;
  padding: 1px;
  float: left;
}

/* ---------------------------------------- #sidebar内の指定 */

/* -- カテゴリタイトル -- */
.sidetitle {
  padding: 0.5em 0;
  margin-top: 1em;
  color: DarkSlateBlue;
}

/* -- リスト -- */
.localnavi {
  list-style-type: none;
  margin-bottom: 2em;
}

.localnavi li { display: inline; }

.localnavi a {
  text-decoration: none;
  display: block;
  padding: 0.3em 3px;
  margin-bottom: 1px;
  background-color: #eeeeee;
  color: #000000;
  border: 1px solid CadetBlue;
}

.localnavi a:visited {
  text-decoration: none;
  color: #000000;
}

.localnavi a:hover {
  text-decoration: none;
  background-color: silver;
  color: #000000;
  border-bottom: 1px solid orangered;
}

.sidebar-dl {
  font-size: 95%;
  margin: 0 0 20px;
}

.sidebar-dl dt {
  text-align: center;
  padding: 4px 0;
  background-color: tomato;
  color: #fff;
  font-weight: bold;
}

.sidebar-dl dd {
  line-height: 1.5em;
  margin-bottom: 10px;
  padding: 9px;
  border: 1px solid tomato;
}


/* 蔵書検索フォーム */
.search {
  font-size: 100%;
  font-weight: bold;
  color: DarkSlateGray;
  text-align: left;
}

/* -- 画像 -- */
img {
  border: 1px solid Gainsboro;
  margin: 3px 0px;
}

/* ---------------------------------------- #footer内の指定 */
#footer p { text-align: center; }

address {
  text-align: center;
  color: DarkSlateBlue;
  font-style:normal;  
 }

/* 以下 CSSデザインサンプルクレジット部分 */
#cds{ display: none; }