@charset "utf-8";

*,*:before,*:after{  -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  width: 100%;
  background-color: /*#e7e8f2*/#B5AA90;
/*
  font: 90% 'Hiragino Kaku Gothic ProN','ヒラギノ角ゴ ProN W3',Meiryo,メイリオ,Osaka,'MS PGothic',arial,helvetica,sans-serif;
*/
  font-style: normal;
  scroll-behavior: smooth;
  position:relative;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  -moz-text-size-adjust: none;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
  content-visibility: auto;
}

h1,h2,h3,h4,p,div.subject,div.art-bot{
    transform: scale(0.7, 1);
    transform-origin: top left;
    width:143%;
    font-kerning:optical;
    letter-spacing:.25em;
}

:is(div.article) :is(img,a){transform:scale(1);width:fit-content;max-width:100%;}


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

#body-area {
  position: relative;
  margin: 0 auto;
  width: 1000px;
  border-left: 1px solid gray;
  border-right: 1px solid gray;
  background: #fff;
}
#header {
  background: #b5aa90;
  background-image: url(img/header.jpg);
  background-repeat: no-repeat;
  background-size:contain;
  width: 100%;
  height: 150px;
  text-align: center;
  border-bottom: 1px solid gray;
}
#main-area {
  width: 100%;
}
#content {
  float: left;
  width: calc(100% - 280px - 1px);
  text-align: center;
  border-right: 1px solid #bbbbbb;
}
#navi {
  float: left;
  width: 270px;
  text-align: left;
}
#footer {
  width: 100%;
  height: 50px;
  clear: both;
  text-align: center;
  border-bottom: 5px solid /*#277ab1*/#795548;
}

/* サイド画面 */
.sidebody {
  margin: 1.5em 8px;
  line-height: 130%;
  font-size: smaller;
}

div.sidebody:nth-of-type(3),div.sidebody:nth-of-type(6){display:none}

.sidebody ul {
  margin: 0 0 0 1.5em;
  padding: 0;
}
.side-ttl {
  border-left: 4px solid /*#5396c6*/#795548;
  padding-left: 7px;
  margin: 1em 0;
  font-weight: 700;
}

/* ヘッダータイトル */
h1 {
  color: #fff;
  font-size: 160%;
}
h1 a {
  color: #fff !important;
}
#head-box {
  text-align: left;
  margin: 0 auto;
  width: 94%;
  padding: 1em 1.5em;
  display:flex;
  flex-wrap:wrap;
  align-items:baseline;
  justify-content:space-between;
 gap:.5em;
}
#head-box *{width:fit-content}


/* サブタイトル */
#subttl {
  margin: 1em 0;
  color: /*#053958*/#fff100;
}

/* 記事 */
div.article {
  margin: 0 auto;
  text-align: left;
  border-bottom: 2px dotted #B5AA90;
  padding: 10px;
  width: 98%;
}
div.body {
  margin: 1em 0 1em 1em;
  line-height:1.6em;
  font-family:"ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
font-feature-settings:"palt" 1;
font-size:.9em !important;
}


/* 記事タイトル */
div.subject {
  font-weight: 700;
  font-size: 140%;
  padding: 5px 7px;
  margin-bottom: 1em;
  letter-spacing: 2px;
  color: #795548;
  line-height:1.4em;
  border-bottom:1px #B5AA90 solid;
}
/* 記事日付 */
div.date {
  margin-left: 1em;
  color: #006600;
}
/* 記事下部 */
.art-bot {
  width:125%;
  display:flex;
  justify-content:flex-end;
  text-align: right;
  font-size: 12px;
  color: gray;
  gap:.5em;
}
/* 固定記事下部（TB/COM） */
#pm-bot {
  margin: 1em;
  text-align: left;
}
div.pm-ttl {
  font-weight: 700;
  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;
}

/* カレンダ */
#calen {
  margin: 1em auto;
  width: 96%;
}
#calen th {
  font-size: 13px;
  font-weight: 400;
  padding: 8px;
  text-align: center;
  background: #B5AA90;
  color:#fff;
}

#calen th a{color:#fff100}

#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: 3em 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;
}
#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;
}

/* スマホ向け */
@media screen and (max-width:480px){
  #body-area {
    position: relative;
    margin: 0 auto;
    width: 100%;
  }
  #content {
    float: none;
    width: 100%;
  }
  #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;
  }
#header {background-position:bottom center;}
#head-box{padding:1em;width;calc(100% - 2em);}
#head-box *{width:100%;margin:0;gap:.5em}
}
