@charset "utf-8";

body {
  margin: 0;
  padding: 0;
  width: 100%;
  background-color: #c0c0c0;
  font: 90% 'Hiragino Kaku Gothic ProN','ヒラギノ角ゴ ProN W3',Meiryo,メイリオ,Osaka,'MS PGothic',arial,helvetica,sans-serif;
}

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;
}

#body-area {
  position: relative;
  margin: 0 auto;
  width: 1000px;
  border-left: 1px solid gray;
  border-right: 1px solid gray;
  background: #fff;
}
#header {
  background: #fff;
  background-image: url(img/header.jpg);
  border-bottom: 1px solid gray;
  background-position:top right;
  background-repeat:no-repeat;
  overflow:hidden;
  width: 100%;
  height: 200px;
  text-align: center;
}
#main-area {
  width: 100%;
}

/* スタイルシート　フォントカラーカット */
.font-clear {
	color: initial;
}

#content {
  margin: 0 0 0 1em;
  float: left;
  width: 690px;
  text-align: center;
  border-right: 1px solid #fff;
}
#navi {
  float: left;
  width: 290px;
  text-align: left;
}
/* トップページ　メイン画像 -----------------------------*/
.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 #6495ed;
  padding-left: 7px;
  margin: 1em 0;
  font-weight: bold;
}

.sideaccd dt {
margin-left: 3em;
margin-bottom: 1em;
}
.sideaccd li {
margin-left: 0em;
margin-bottom: 1em;
}
.notice {
  margin: 0 0 0 1em;
}

/* ヘッダータイトル */
h1 {
  color: #fff;
  font-size: 160%;
}
h1 a {
  color: #ff8c00 !important;
}
#head-box {
  text-align: left;
  margin: 0 auto;
  width: 94%;
  padding: 1em 1.5em;
}
/* サブタイトル */
#subttl {
  margin: 1em 0;
  color: #6b8e23;
  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;
}

/* アチーブ */
  .js_open2 {}
  .js_close2 { display: none; }

/* カレンダ */
#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: 2em;
}
.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;
}

/* 上下に行く共通ボタンスタイル-------------------------------------- */
.scroll-button {
    position: fixed;
    right: 50px;
    z-index: 99;
    border: none;
    outline: 1px solid #fff;  /*ボタン枠線の幅、線種、色*/
    color: white; /* ボタンの文字色 */
    cursor: pointer; /* ポインターの変化 */
    padding: 10px; /* ボタンの大きさを調整 */
    border-radius: 10px; /**ボタンの丸形は50% */
    font-size: 16px;
    font-weight: bold;
    /* フェードアニメーションを追加 */
    opacity: 0;           /* 初期状態は透明 */
    visibility: hidden;    /* クリックできないように */
    transition: opacity 0.5s ease, visibility 0.5s ease;
}
/* ボタンが表示されるときのスタイル */
.scroll-button.show {
    opacity: 1;
    visibility: visible;
}
/* 上へ戻るボタン（青系） */
#topBtn {
    bottom: 80px;
    background-color: rgba(0, 123, 255, 0.6); /* 明るめの青 */
}
#topBtn:hover {
    background-color: rgba(0, 123, 255, 1.0); /* 濃い青 */
}
/* 下へ行くボタン（赤系） */
#bottomBtn {
    bottom: 20px;
    background-color: rgba(255, 69, 0, 0.6); /* 明るめの赤（オレンジ寄り） */
}
#bottomBtn:hover {
    background-color: rgba(255, 69, 0, 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;
  }
}
