@charset "EUC-JP";

/* -------------------------------------------------------------

[1] レイアウトに関する指定
[2] ヘッダーブロック内に関する指定
[3] コンテンツブロック内に関する指定
[4] サイドバーブロック内に関する指定
[5] フッターブロック内に関する指定
[6] CSSデザインサンプルリンク指定

----------------------------------------------------------------
CSSデザインサンプ [ URL ] http://www.css-designsample.com
------------------------------------------------------------- */


/* 一括で全ての要素の余白をゼロに指定 */
* {
  margin: 0;
  padding: 0;
}
img{
max-width: 95%;
}
.clearfix {zoom:1;}
.clearfix:after {
  content: "";
  display: block;
  clear: both;
}
.clearfix:after{
	content: ".";
	display: block;
	visibility: hidden;
	height: 0.1px;
	font-size: 0.1em;
	line-height: 0;
	clear: both;
}

a:link,
a:visited,
a:hover,
a:active { text-decoration: underline; }

a:link { color: #00f; }
a:visited { color: #90f; }
a:hover { color: #f00; }
a:active { color: #f00; }

/* -------------------------------------------------------------
   [1] レイアウトに関する指定 */

body {
  text-align: center;
  font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  padding: 0;
  margin: 0;
  background: url(/img/bg-body.gif) repeat-x 0 0;
}

#wrapper {
  text-align: left;
  margin: 40px auto 0;
  width: 800px;
  background: url(/img/bg-wrapper.jpg) no-repeat 0 0;
}

#header-inner {
  margin-left: 250px;
  border-bottom: 1px solid #666;
}

#container { width: 100%; }

#contents {
  width: 550px;
  float: right;
  color: #666;
  line-height: 170%;
}

#sidebar {
  width: 200px;
  float: left;
  padding-top: 260px;
}

#footer {
  padding: 20px 0 30px;
  background: url(/img/bg-footer.gif) repeat-x 0 100%;
}

/* -------------------------------------------------------------
   [2] ヘッダーブロック内に関する指定 */

/* -- キーワード -- */
h1 {
  font-size: 100%;
  font-weight: normal;
  color: #666;
}

/* -- 企業名｜ショップ名｜タイトル -- */
.logo {
  font-size: 180%;
  margin: 5px 20px;
}

.logo a {
  text-decoration: none;
  color: #DB3100;
  font-weight: bold;
}

.logo a:hover {
  text-decoration: none;
  color: #f00;
}

/* -- ページの概要 -- */
.description {
  margin-bottom: 0.5em;
  color: #666;
}

/* -------------------------------------------------------------
   [3] コンテンツブロック内に関する指定 */

/* -- 見出し -- */
h2,h3,h4,h5,h6 {
  color: #B32800;
  font-weight: blod;
  font-size: 120%;
  padding: 5px 10px 5px 30px;
  margin-top: 34px;
  margin-bottom: 5px;
  background: url(/img/bg-h.gif) no-repeat 0 50%;
}

h3,h4,h5,h6 { margin-top: 3em; }

/* -- 文字 -- */
#contents p {
  margin-bottom: 0.5em;
}

/* -------------------------------------------------------------
   [4] サイドバーブロック内に関する指定 */

/* -- サイドバータイトル -- */
.side-title {
  text-align: center;
  padding: 5px 0;
  background-color: #ccc;
  color: #333;
}

/* -- リスト/サイドバーメニュー -- */
.localnavi {
  list-style-type: none;
  margin-bottom: 2em;
}

.localnavi li { display: inline; }

.localnavi a {
  text-decoration: none;
  width: 180px;
  display: block;
  padding: 4px 9px;
  border: 1px outset #eee;
  background-color: #eee;
  color: #000;
}

.localnavi a:hover {
  text-decoration: none;
  border: 1px outset #eee;
  background-color: #666;
  color: #fff;
}

/* -------------------------------------------------------------
   [5] フッターブロック内に関する指定 */

#footer p { text-align: center; }

/* -------------------------------------------------------------
   [6] CSSデザインサンプルリンク指定 */

#cds {
  font-size: 80%;
  font-family: Geneva, Arial, Helvetica, sans-serif;
  margin: 0;
  clear: both;
}

#cds,
#cds a,
#cds a:hover {
  text-decoration: none;
  color: #cc9;
}


@media all and (max-width:800px) {

#wrapper {
  width: auto;
  background: none;
  padding-left: 5px;
  padding-right: 5px;
}
#header-inner {
  margin-left: 0;
}


#contents {
  width: auto;
  float: none;
  margin-bottom: 32px;
}

#sidebar {
  width: auto;
  float: none;
  padding-top: 0;
}
.localnavi a {
	width: auto;
	padding: 15px;
}

}