@charset "utf-8";

body {
  margin: 0;
  padding: 0;
  width: 100%;
  background-color: #e3f0e3;
  font: .91em/150% sans-serif,Osaka, sans-serif;
  color: #666;
}
a:link, a:visited {
  color: #0c7a04;
  text-decoration: none;
  display: inline-block;
}
a:hover {
  text-decoration: underline;
  color: #dd0000;
}

p {
	margin: 0 0 1.2em;
	padding: 0;
}

p2 {
	margin: 0 0 1.2em;
	padding: 0;
	text-align: left;
	color: #ff1100;
	font-size: 120%;
	font-weight: bolder;
}

img, fieldset {
	border: 0;
}

/* set image max width to 100% */
img {
	max-width: 100%;
	height: auto;
	width: auto¥9; /* ie8 */
}

/* set html5 elements to block */
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { 
    display: block;
}

#body-area {
    width: 900px;
    background: #fff;
    margin: 0 auto;
    overflow : hidden ;
}
#header{
    margin: 0px auto;
    height: auto;
    background-color:#f1efe2;
    background-image:url(img/header.jpg);
    width: 100%;
    background-position:top right;
    background-repeat:no-repeat;
    overflow:hidden;
}

/*h1タグの設定*/
#header h1 {
  color: #fff;
  font-size: 9px;		/*文字サイズ*/
  line-height: 10px;	/*行間*/
  text-align: left;
  margin:10px 10px 0 10px;
  font-weight: normal;	/*hタグのデフォルトの太字を標準に。太字がいいならこの１行削除。*/
}

#main-area {
  width: 100%;
  color: #666;
  font-weight: normal;
}

#content {
  float: left;
  width: 560px;
  margin: 20px 0;
  text-align: center;
  border-right: 1px solid #fff;
}
#sidebar {
  float: left;
  width: 270px;
  margin: 20px 0 0 0;
}
#footer {
  width: 100%;
  height: 50px;
  clear: both;
  text-align: center;
  border-bottom: 5px solid #808000;
}
#footer a:hover {
  color: #dd0000;
}

/* サイド画面 */
div.sidebody {
  margin: 1.5em 10px  1.5em  20px;
  line-height: 130%;
  font-size: 96%;
}
div.sidebody-top {
  margin: 1.5em 10px  1.5em  20px;
  line-height: 170%;
  font-size: 90%;
}
div.sidebody ul {
  margin: 0 0 0 1.5em;
  padding: 1px;
}
div.sidebody li {
margin-bottom: 1em;
}
div.side-ttl {
  border-left: 4px solid #0c7a04;
  padding-left: 7px;
  margin: 1em 0;
  font-weight: bold;
}
div.sidinfo {
  margin: 0.5em;
}
div.sidlink {
  margin: 1em;
}
#archive
 li {
margin-bottom: 0.7em;
}

/* ヘッダータイトル */
h2 {
  color: #fff;
  font-size: 160%;
}
h2 a {
  color: #ffa500 !important;
}
div#head-box {
  text-align: left;
  margin: 0 auto;
  width: 94%;
  padding: 1em 1.5em;
}
/* サブタイトル */
p#subttl {
  margin: 1em 0;
  color: #ffd700;
}
p#subttl2 {
  margin: 1em 0;
  color: #ccc;
  font-size: 90%;
}

/* 記事 */
div.article {
  margin: 0 auto;
  text-align: left;
  border-bottom: 2px dotted #666;
  padding: 10px;
  width: 92%;
}
div.body {
  margin: 1em;
}
/* 記事タイトル */
div.subject {
  border-left: 6px solid #d2691e;
  font-weight: bold;
  font-size: 120%;
  padding: 2px 7px;
  margin: 1em 0;
  letter-spacing: 1px;
  color: #575757;
}
/* 記事日付 */
div.date {
  margin-left: 1em;
  color: #8b4513;
}
/* 記事下部 */
div.art-bot {
  text-align: right;
  font-size: 12px;
  color: gray;
}
/* 固定記事下部（TB/COM） */
div#pm-bot {
  margin: 1em;
  text-align: left;
}
div.pm-ttl {
  font-weight: bold;
  margin: 15px 0 10px 0;
  border-left: 4px solid #ff6262;
  padding-left: 7px;
}
input#tb-url {
  width: 360px;
  margin-left: 1.5em;
}
input#com-name {
  width: 250px;
}
textarea#com-msg {
  width: 250px;
  height: 7em;
}
div#com-btn {
  margin-top: 4px;
}
div#com-btn input {
  width: 70px;
  height: 28px;
}

/* カレンダ */
table#calen {
  margin: 1em auto;
  width: 96%;
}
table#calen th {
  font-size: 13px;
  font-weight: normal;
  padding: 4px;
  text-align: center;
  background: #eee;
}
table#calen th span {
  display: inline-block;
  margin: 0 8px;
}
table#calen td {
  font-size: 12px;
  padding: 2px 3px;
  text-align: center;
}
table#calen tr.day td {
  color: #969696;
}
table#calen td.sun {
  color: #d50000;
}
table#calen td.sat {
  color: #0000ce;
}
#calen td a {
  text-decoration: underline;
}

/* アーカイブリスト */

#archive {
  display: none;
}

/* 年ごとのセクション */
.year-section {
  border-bottom: 1px solid #fff;
  margin-bottom: 8px;
}

/* 年の見出し（クリックで展開） */
.year-header {
  cursor: pointer;
  font-weight: bold;
  padding: 8px;
  background-color: #fff;
  transition: background-color 0.3s;
}

.year-header:hover {
  background-color: #ccc;
}

/* 展開アイコン（▶︎ / ▼） */
.toggle-icon {
  margin-right: 8px;
  color: #666;
}

/* 月リスト（折りたたみ） */
.month-list {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
  padding-left: 0;
  margin: 0;
}

/* 展開された年の月リストを表示 */
.year-section.expanded .month-list {
  max-height: 500px;
}

/* 月リストの項目 */
.month-list li {
  list-style-type: disc;
  margin-left: 1.5em;
  margin-bottom: 4px;
  color: #666;
}

/* リンクのスタイル */
.month-list li a {
  text-decoration: none;
  color: #0077cc;
}

.month-list li a:hover {
  text-decoration: underline;
}

/* フッター */
div#foot-box {
  padding: 10px;
}

/* ページ繰越 */
div.page {
  margin: 1em auto;
}
#paging {
  text-align: center;
}
#paging li {
  background-color: #eee;
  border: 1px solid #000;
  display: -moz-inline-box;
  display: inline-block;
  line-height: 25px;
  width: 25px;
  height: 25px;
}
* html #paging li {
  display: inline;
  margin-right: 3px;
  zoom: 1;
}
*+html #paging li {
  display: inline;
  margin-right: 3px;
  zoom: 1;
}
#paging li a {
  display: block;
  text-decoration: none;
  width: 25px;
}
#paging li b {
  color: #d54609;
}

/* 寄せ */
.ta-c {
  text-align: center;
}
.ta-l {
  text-align: left;
}
.ta-r {
  text-align: right;
}

/* アイコン */
img.icon {
  vertical-align: middle;
  border: none;
}

/* 記事検索 */
input#find {
	width: 120px;
}

/* 検索結果画面 */
table#find {
  margin: 1em auto;
  border-collapse: collapse;
}
table#find th, table#find td {
  border: 1px solid #8080c0;
  padding: 6px;
}
table#find th {
  background: #cbcbe4;
}
table#find td {
  background: #fff;
}

/* TB・コメント一覧 */
div.com-log {
  margin: 8px 0 8px 2em;
  font-size: 85%;
  line-height: 150%;
}
div.com-msg {
  margin-left: 1em;
}
div.com-log span {
  color: #666;
}

/* Page Topに戻る */
#pageTop  a {
	display: block;
	border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	text-decoration: none;
	text-align: center;
	font-weight: bold;
	font-size: 14px;
	width: 100px;		/*幅*/
	line-height: 35px;	/*高さ*/
	position: fixed;
	right: 40px;		/*右からの配置場所指定*/
	bottom: 80px;		/*下からの配置場所指定*/
	color: #fff;		/*文字色*/
	background: rgba(255,69,0,0.4);	/*背景色。0,0,0は黒色の指定で0.4は色が40%出た状態。*/
	border: 1px solid #fff;	/*枠線の幅、線種、色*/
}
#pageTop a:hover {
        color: #fff;		/*文字色*/
	background: rgba(255,69,0,1.0);	/*背景色。0,0,0は黒色の指定で0.8は色が80%出た状態。*/
}

/* Page BoTomに行く */
#pageBottom {
      display: block;
      position: fixed;
      bottom: 10px; /* ボタンの位置を調整 */
      right: 40px; /* ボタンの位置を調整 */
      padding: 6px 14px;
      background-color: rgba(0,123,255,0.4); /* ボタンの背景色 */
      color: #fff; /* ボタンの文字色 */
      border: none;
      border-radius: 5px;
      cursor: pointer;
      font-size: 14px;
      font-weight: bold;
      border: 1px solid #fff;	/*枠線の幅、線種、色*/
    }
#pageBottom:hover {
      background-color: rgba(0,123,255,1.0); /* マウスホバー時の背景色 */
    }

/*PAGE infolin */
.scroll-show {display: block;}
.scroll a {
	display: block;text-decoration: none;text-align: center;
	font-weight:900;
	width: 140px;		/*幅*/
	line-height: 30px;	/*高さ*/
	position: fixed;
	right: 40px;		/*右からの配置場所指定*/
	bottom: 140px;		/*下からの配置場所指定*/
	color: #fff;		/*文字色*/
	background: rgba(0,128,0,0.4); /*背景色。0.4は色が40%出た状態。*/
	border: 1px solid #fff;	/*枠線の幅、線種、色*/
}
/*マウスオン時*/
.scroll a:hover {
	background: rgba(0,128,0,1.0); /*背景色。0.8は色が80%出た状態。*/
}

/* PC画面 980 */
@media screen and (max-width: 960px) {

	/* body-area */
	#body-area {
		width: 95%;
	}

	/* content */
	#content {
		width: 60%;
		padding: 3% 0%;
	}

	/* sidebar */
	#sidebar {
		width: 30%;
	}
	#sidebar .widget {
		padding: 8% 0%;
		margin-bottom: 10px;
	}

	/* embedded videos */
	.video embed,
	.video object,
	.video iframe {
		width: 100%;
		height: auto;
		min-height: 300px;
	}
}

/*　タブレット 650 */
@media screen and (max-width: 650px) {

	/* header */
	#header {
		height: auto;
	}

	/* search form */
	#searchform {
		position: absolute;
		top: 5px;
		right: 0;
		z-index: 100;
		height: 40px;
	}
	#searchform #s {
		width: 70px;
	}
	#searchform #s:focus {
		width: 150px;
	}

	/* main nav */
	#main-nav {
		position: static;
	}

	/* site logo */
	#site-logo {
		margin: 15px 100px 5px 0;
		position: static;
	}

	/* site description */
	#site-description {
		margin: 0 0 15px;
		position: static;
	}

	/* content */
	#content {
		width: auto;
		float: none;
		margin: 20px 0;
	}

	/* sidebar */
	#sidebar {
		width: 100%;
		margin: 0;
		float: none;
	}
	#sidebar .widget {
		padding: 3% 4%;
		margin: 0 0 10px;
	}

	/* embedded videos */
	.video embed,
	.video object,
	.video iframe {
		min-height: 250px;
	}

}

/* スマホ 480 */
@media screen and (max-width: 480px) {

	/* disable webkit text size adjust (for iPhone) */
	html {
		-webkit-text-size-adjust: none;
	}

	/* main nav */
	#main-nav a {
		font-size: 90%;
		padding: 10px 8px;
	}

	/* img float */
	img {float: none;
	}
		
}