@charset "utf-8";

body {
  margin: 0;
  padding: 0;
  width: 100%;
  background-color: #e7e8f2;
  font: 100% 'Hiragino Kaku Gothic ProN','ヒラギノ角ゴ ProN W3',Meiryo,メイリオ,Osaka,'MS PGothic',arial,helvetica,sans-serif;
    color: #000;
  -webkit-text-size-adjust: none;
  -webkit-touch-callout:none; /* リンク長押しのポップアップを無効化 */
  -webkit-user-select:none; /* テキスト長押しの選択ボックスを無効化 */
}

img, fieldset {
	border: 0;
}

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

a:link, a:visited {
  color: #1122cc;
  text-decoration: none;
  display: inline-block;
}
a:hover {
  text-decoration: underline;
  color: #dd0000;
}

p {
	margin: 0;
	padding: 0;
}

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

p3 {
	margin: 5em 0 0 0;
	padding: 0;
}

#body-area {
  position: relative;
  margin: 0 auto;
  width: 1000px;
  border-left: 1px solid gray;
  border-right: 1px solid gray;
  background: #fff;
  font-size: 14.5px;
}

  .js_open2 {}
  .js_close2 { display: none; }

  .font-clear {
	color: initial; }

#header {
  background: #fff;
  background-image: url(img/header.jpg);
  background-position:top right;
  background-repeat:no-repeat;
  overflow:hidden;
  width: 100%;
  text-align: center;
}

#main-area {
  width: 100%;
  margin: 0;
  background: #fff;
}

#content {
  margin: 3em 0 0 0.5em;
  float: left;
  width: 700px;
  height: auto;
}
#navi {
  margin: 3em 0 0 0;
  float: left;
  width: 290px;
  text-align: left;
  border-left: 1px solid #bbbbbb;
}
/* トップページ　メイン画像 -----------------------------*/
.image img{
    clear:both;
    text-align:center;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
}
#footer {
  width: 100%;
  height: 50px;
  clear: both;
  text-align: center;
  border-bottom: 5px solid #277ab1;
}

/* サイド画面 */
.sidebody {
  margin: 1.5em 8px 1.5em 20px;
  line-height: 130%;
  font-size: 98%;
}
.sidebody li {
margin-left: 1em;
margin-bottom: 1em;
}
.sidebody ul {
  margin: 0 0 0 1em;
  padding: 1px;
}
.side-ttl {
  border-left: 4px solid #5396c6;
  padding-left: 7px;
  margin: 1em 0;
  font-weight: bold;
}
.sideaccd dt {
margin-left: 2em;
margin-bottom: 1em;
}
.sideaccd li {
margin-left: -1em;
margin-bottom: 1em;
}

/* ヘッダータイトル */
h1 {
  color: #fff;
  font-size: 160%;
}
h1 a {
  color: #fff !important;
}
#head-box {
  text-align: left;
  margin: 0 auto;
  width: 94%;
  height: auto;
  padding: 1em 1.5em;
}
/* サブタイトル */
#subttl {
  margin: 1em 0;
  color: #f0e68c;
  font-size: 110%;
font-weight: bold;
}

/* 記事 */
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 #ff8c00;
  font-weight: bold;
  font-size: larger;
  padding: 5px 7px;
  margin-bottom: 1em;
  letter-spacing: 1px;
  color: #4d8d4b;
}
/* 記事日付 */
div.date {
  margin-left: 1em;
  color: #006600;
}
/* 記事下部 */
.art-bot {
  text-align: right;
  font-size: 12px;
  color: gray;
}
/* 固定記事下部（TB/COM） */
#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;
}
#com-btn {
  margin-top: 4px;
}
#com-btn input {
  width: 70px;
  height: 28px;
}

/* アチーブ  sideaccd dtのスタイルを調整 */
.sideaccd dt {
    margin-left: 4em;
    margin-bottom: 1em;
    cursor: pointer; /* クリック可能であることを示す */
    position: relative; /* ::beforeの位置基準とするため */
}

/* 展開アイコン（▶︎）の定義とスタイル（デフォルト：閉じた状態） */
.sideaccd dt::before {
    content: "▶︎"; /* 閉じた状態のアイコン */
    display: inline-block;
    position: absolute; /* dtを基準に位置を調整 */
    left: -1.3em; /* dtの左側に配置 */
    color: #5396c6;
    font-weight: bold;
    margin-right: 0.2em;
}

/* 展開された状態（▼）のアイコン */
.sideaccd dt.open::before {
    content: "▼"; /* 開いた状態のアイコン */
}

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

/* フッター */
#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-d {
    margin-left: 1em;
}
.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;
}
#conf {
  width: 90%;
  margin: 1.5em auto;
  background: #fff;
  padding: 1em 1.5em;
  text-align: left;
  border-radius: 6px;
}
#form {
  margin: 1em 0;
  border-collapse: collapse;
}
#form th, #form td {
  padding: 10px;
  border: 1px solid #aaa;
}
#form td {
  text-align: left;
}
#form th {
  background: #ccc;
}
#capt {
  width: 120px;
  padding: 6px;
  margin: 6px 0;
}
input.btn{
  width: 120px;
  height: 32px;
}

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

/* Page BoTomに行く */
#pageBottom {
      display: block;
      position: fixed;
      bottom: 50px; /* ボタンの位置を調整 */
      right: 48px; /* ボタンの位置を調整 */
      padding: 8px 15px;
      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); /* マウスホバー時の背景色 */
    }

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

img {
        max-width: 100%;
        box-sizing: border-box;
        height: auto;
    }
  #body-area {
    position: relative;
    margin: 0 auto;
    width: 100%;
  }
  #content {
    float: none;
    width: 90%;
  }
  #navi {
    float: none;
    width: 100%;
  }
  #conf {
    width: 100%;
    margin: 0;
    padding :0;
    text-align: center;
  }
  #form {
    width: 100%;
    margin: 1em auto;
    padding: 0;
  }
  #form tr, #form th, #form td {
    width: 100%;
    display: block;
    text-align: center;
  }
  #form th, #form td {
    padding: 5px 0;
  }
}
