/* ページ全体の基本的な設定と背景色 */
  /* ドキュメント本文 */
  #box {
    width: 939;
    margin: 0px auto auto auto;
    text-align: left;
  }
  body {
    color: #666666;
    background: #ffffff;
    margin: 0px 0px 0px 0px;
    text-align: center;
  }
  table {
    color: #666666;
  }
  /* リンク文字設定 */
  a {
    color: #666699;
  }
  a:link {
    color: #666699;
    background: none;
  }
  a:visited {
    color: #669999;
    background: none;
  }
  a:active {
    color: #993399;
    background: none;
  }
  a:hover {
    /* position:relative; top:1px; left:1px; */
    color: #993399;
    background: none;
    text-decoration: none;
  }
  input, textarea, select, option {
    border: solid #999999 1px;
  }
  
/* バナー */
  #banner {
    position: relative;
    margin: 0 auto; /* ボックス要素のセンタリング */
    margin-bottom: 10px;
    width: 930px;
  }
  #banner #bannerCont H1 {
    font-weight: bold;
    font-size: xx-large;
    margin: 5px 0px 0px 0px; /* 上右下左：上を起点に左回り指定 */
  }
  #banner #bannerCont H2 {
      opacity: 0.8;
      color: white;
      margin: 0;
  }
  #bannerCont {
    position: absolute;
    left: 0px;
    top: 0px;
    margin-left: 5px;
  }
  #banner a:hover {
    position:relative; top:1px; left:1px;
    color: #ffffff;
    background: none;
  }
  #banner a {
    color: #ffffff;
    text-decoration: none;
  }

/* カテゴリリストの表示 */
  .view_categorylist_block {
    margin: 10px 10px 10px 10px;
  }

/* ブロック単位での設定 */
  /* コンテナブロック */
  #container {
    float: none;
    display: flex;
    justify-content: center;
    margin: 0 auto;  /* ボックス要素のセンタリング */
  }
  /* 左ブロック */
  #left-block {
    order: 1;
    width: 155px;
  }
  /* 中央ブロック */
  #nikki-block {
    order: 2;
    width: 600px;
  }
  /* 右ブロック */
  #right-block {
    order: 3;
    width: 182px;
  }

/* サイドバー */
  .sidebar_block {
    font-size: 10px;
    margin-bottom: 10px;
  }
  .sidebar_title {
    text-align: left;
    /* border: solid #ccc 2px; */
    padding: 7px 0px 3px 23px;
    background: url("icon.png") no-repeat center left;
    font-weight: bold;
    font-size: 11px;
  }
  .sidebar_body {
    margin: 3px;
    font-size: 10px;
  }
  .sidebar_body UL {
    margin-left: 0px;
    padding-left: 15px;
    margin-top: 0px;
    margin-bottom: 0px;
  }

/* つっこみ最新数件表示ブロック */
  /* フォルダ階層型メニューを閉じておく場合 */
  .latest_comment_body {
    margin: 3px;
    font-size: 11px;
  }
  .latest_comment_body .sub_pane { display: none; }

/* 日記ブロック */
  /* 日記全体ブロック */
  .nikki_dailyblock {
    margin-bottom: 10px;
    margin-right: 10px;
    margin-left: 10px;
  }
  .nikki_dailyblock PRE {
    z-index: 1;
    font-size: small;
    overflow: auto;
    position: relative;
    border: 1px solid #aaa;
    background-color: #ddd;
    padding: 5px;
    width: 95%;
  }
  .nikki_dailyblock span.number {
    z-index: 0;
    line-height:1em;
    position:absolute;
    right:3px; top: 0px;
    font-family:Arial,Helvetica,sans-serif;
    font-size:50px;
    font-weight:bold;
    font-style:italic;
    overflow:hidden;
    color:#ccc;
  }

  /* エントリー単位の設定 */
  .nikki_piece {
    color: #666;
    /* word-break: break-all; */
    margin: 10px 10px 10px 10px;
  }
  .nikki_date {
    line-height: 140%;
    border: solid #ccc 2px;
  }
  .nikki_title {
    border-bottom: solid #ccc 2px;
    border-left: solid #ccc 10px;
    padding-left: 5px;
    padding-top: 2px;
  }
  .nikki_body {
    margin-left: 10px;
    margin-right: 5px;
    margin-top: 5px;
  }
  .nikki_body BLOCKQUOTE {
    border: dashed #666 2px;
    padding: 5px 5px 5px 5px;
    position: relative;
  }
  .nikki_lastupdate {
    text-align: right;
    vertical-align: sub;
    color: #ccf;
    font-size: 11px;
    margin-right: 5px;
  }
  .nikki_info {
    text-align: right;
    vertical-align: sub;
    font-size: 11px;
    margin-top: 10px;
    margin-right: 5px;
  }
  .nikki_info input {
    width: 140px;
  }
  .pagelink {
    text-align: center;
    margin-bottom: 5px;
  }
  .nikki_quote {
    color: #339:
  }

/* つっこみブロック */
  .tsukkomi_block {
    font-size: 12px;
    border: dashed #ccc 1px;
    padding: 5px 5px 5px 0px;
  }
  .tsukkomiform_block {
    margin-right: 5px;
    margin-bottom: 5px;
    font-size: 12px;
  }
  .tsukkomiform_block input {
    font-size: 12px;
  }
  .tsukkomiform_block textarea {
    font-size: 12px;
    width: 400px;
  }
  /* UL FORM タグの上下のマージンがうっとおしいので削除 */
  .tsukkomi_block ul {
    margin-top: 0px;
    margin-bottom: 0px;
  }
  .tsukkomiform_paka {
    font-size: 12px;
    margin-left: 5px;
  }

/* トラックバックブロック */
  .trackback_header {
    border: solid #dde 2px;
    letter-spacing: 5px;
    font: bold 11px verdana;
    padding-left: 5px;
    padding-top: 2px;
    padding-bottom: 2px;
    margin-top: 5px;
  }
  .trackback_block {
    font-size: 13px;
    margin-top: 5px;
    margin-left: 10px;
  }
  .trackback_title {
    font-weight: bold;
  }
  .trackback_body {
    margin-left: 15px;
  }
  .trackback_date {
    text-align: right;
    margin-right: 5px;
    color: #999;
  }
  .trackback_url {
    font: 10px verdana;
    text-align: right;
  }
  .trackback_url input {
    padding-left: 1px;
    width: 265px;
    font: 10px verdana;
    color: #666;
  }

/* カテゴリバー */
  .categorybar_block {
    margin-bottom: 10px;
    font-size: 11px;
  }
  .categorybar_body {
    margin: 3px;
    font-size: 11px;
  }
  .folder {
    cursor: pointer;
  }
  /* フォルダ階層型メニューを閉じておく場合 */
  .categorybar_body .sub_pane {
    display: none;
  }
  .categorybar_block .sub_pane {
    display: none;
  }

/* Copyright 表示 */
  .copyright {
    text-align: right;
    margin-bottom: 5px;
  }

/* ページ前後リンク */
  .pagelink_block {
    margin-left: 5px;
    margin-bottom: 5px;
    font-size: 11px;
    margin-left: 180px;
  }

/* カレンダー */
  .calendar_iframe {
    width: 155px;
    height: 150px;
    margin-bottom: 10px;
  }

/* 検索結果表示 */
  .searchresult_body {
    margin: 10px 10px 10px 10px;
    width: 80%;
  }
  .searchresult_body dt {
    border: solid #999999 1px;
  }
  .searchresult_body dd {
    margin-bottom: 15px;
  }
  .searchresult_title {
    font-weight: bold;
    font-size: 16px;
  }
  .searchresult_subtitle {
    margin-left: 10px;
  }
  .searchresult_hitlink {
    margin: 2px 2px 2px 2px;
  }

/* 引用符スタイル */
  .quotation_sign {
    color: #363;
  }

/* コメントスタイル */
  .comment_sign {
    color: #aaa;
  }

/* 日記内で使用されるテーブルの注釈色 */
  .nikki_table_note {
    background: #ddf;
  }

/* EZGPS バー */
  .ezgps_block {
    margin-bottom: 10px;
    font-size: 11px;
  }
  .ezgps_title {
    text-align: center;
    border: solid #ccc 2px;
    padding-top: 1px;
    padding-bottom: 1px;
    font-weight: bold;
    font-size: 11px;
  }
  .ezgps_body {
    margin: 0px;
    margin-left: 0px;
    font-size: 11px;
    border-left: dashed #ccc 1px;
    border-right: dashed #ccc 1px;
    border-bottom: dashed #ccc 1px;
  }
  .ezgps_body IFRAME {
    width: 180px;
    height: 250px;
  }

/* メモバー */
  .memobar_block {
    font-size: 11px;
  }
  .memobar_title {
    font-weight: bold;
    font-size: 11px;
    padding: 7px 0px 3px 23px;
    background: url("icon.png") no-repeat center left;
  }
  .memobar_body {
    margin: 3px;
    font-size: 11px;
  }
  .memobar_body UL {
    margin-top: 0px;
    margin-bottom: 0px;
  }
  .memobar_body LI {
    margin-left: -20px;
  }
  .memobar_block .pane {
    margin-bottom: 10px;
  }
  .memobar_block .sub_pane {
    display: none;
  }


/* 以下システム固定の CSS タグ */


/* エラーその他メッセージ */
  .error_msg {
    margin-left: 15px;
    margin-top: 15px;
    font: bold 24px Verdana;
  }
  .error_msg_desc {
    font-weight: normal;
    margin-top: 15px;
    margin-left: 30px;
    font-size: 12px;
  }
  .error_msg_backlink {
    margin-left: 15px;
    margin-top: 15px;
  }
  .error_msg_body {
    padding: 15px 15px 15px 15px;
  }
  #bbsbox {
    margin-left: 3px;
    margin-left: 3px;
    text-align: left;
    font-size: 11px;
  }

    @media screen and (resolution > 2dppx) {
      #box {
          margin: 0px;
      }
      #banner {
          width: 100%;
          background: none;
      }
      #banner IMG {
          width: 100%;
      }
      #banner #bannerCont H1 {
	  font-size: large;
      }
      #banner #bannerCont H2 {
	  font-size: small;
      }
      #container {
        display: inline;
        width: 100%;
      }
      #nikki-block, #left-block, #right-block {
          width: 100%;
      }
    }
