* {
  word-break: break-word;
  margin: 0;
  padding: 0;
  line-height: 1.3;
}

ul,li { list-style-type: none; }

/* 背景色 */
body {
  font-family: 'ヒラギノ角ゴ Pro W3','Hiragino Kaku Gothic Pro','メイリオ',Meiryo,'ＭＳ Ｐゴシック',sans-serif;
}

/* 送信ボタン */
input[type="submit"] {
  display: block;
  text-align: center;
  font-weight: bold;
  font-size: 17px;
  color: #686968;
  padding: 6px 0px;
  margin: 9px auto;
  width: 70%;
  background: -moz-linear-gradient(
    top,
    #ffffff 0%,
    #ebebeb 50%,
    #dbcedb);
  background: -webkit-gradient(
    linear, left top, left bottom, 
    from(#ffffff),
    color-stop(0.50, #ebebeb),
    to(#dbcedb));
  border-radius: 3px;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  border: 1px solid #949494;
  -moz-box-shadow:
    0px 1px 3px rgba(000,000,000,0.5),
    inset 0px 0px 2px rgba(255,255,255,1);
  -webkit-box-shadow:
    0px 1px 3px rgba(000,000,000,0.5),
    inset 0px 0px 2px rgba(255,255,255,1);
  text-shadow:
    0px -1px 0px rgba(255,255,255,0.2),
    0px 1px 0px rgba(255,255,255,1);
}

/* input=text */
input[type="text"] {
  font-size: 100%;
  padding: 5px;
  width: 80%;
  height: 25px;
  margin: 2px;
}

/* セレクトフォーム */
select {
  height: 30px;
  margin: 2px;
  font-size: 100%;
}

/* テキストエリア */
textarea {
  font-size: 100%;
  padding: 5px;
  width: 90%;
  height: 300px;
  margin: 2px;
}

/* チェックボックス */
input[type="checkbox"] {
  -webkit-appearance: none;
  position: relative;
  margin-right: 5px;
  border-radius: 8px;
  -moz-border-radius:8px;
  -webkit-border-radius:8px;
  border: 2px solid #4c4c4c;
  -webkit-box-sizing: border-box;
  width: 28px;
  height: 28px;
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    from(#fdfdfd),
    to(#d1d1d1)
  );
}
/* チェック時は背景色を変更 */
input[type="checkbox"]:checked {
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    from(#353535),
    to(#8f8f8f)
  );
}
/* チェックの印を:before疑似要素と:after疑似要素を使って作成 */
input[type="checkbox"]:checked:before {
  position: absolute;
  left: 1px;
  top: 17px;
  display: block;
  -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 1);
  content: "";
  width: 10px;
  height: 4px;
  background: #FFFFFF;
  -webkit-transform: rotate(45deg);
  -webkit-transform-origin: right center;
}
input[type="checkbox"]:checked:after {
  display: block;
  position: absolute;
  left: 9px;
  top: 17px;
  content: "";
  -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 1);
  width: 19px;
  height: 4px;
  background: #FFFFFF;
  -webkit-transform: rotate(-53deg);
  -webkit-transform-origin: left center;
}

/* 記事枠 */
div.log-frame {
  background-color:#990000;
  padding: 6px 3px;
  margin: 3px 2px;
}

/* 記事内ボタン */
a.log-mini-button{appearance:none;-webkit-appearance:none;display:inline-block;*display:inline;*zoom:1;margin:2px;color:#696969;padding:2px 4px;border:none;background-color:#eee;-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;text-decoration:none;font-size:11px}a.log-mini-button:hover{background-color:#ffffff}

/* ページタイトル */
div.page-title {
  display: block;
  text-decoration: none;
  font-weight: bold;
  color:#ffffff;
  background-color: #e60000;
  padding: 10px 20px;
  margin-bottom: 3px;
  -moz-box-shadow:
    1px 1px 3px rgba(000,000,000,0.5),
    inset 0px 0px 1px rgba(255,255,255,0.5);
  -webkit-box-shadow:
    1px 1px 3px rgba(000,000,000,0.5),
    inset 0px 0px 1px rgba(255,255,255,0.5);
  box-shadow:
    1px 1px 3px rgba(000,000,000,0.5),
    inset 0px 0px 1px rgba(255,255,255,0.5);
  text-shadow:
    0px -1px 0px rgba(000,000,000,0.7),
    0px 1px 0px rgba(255,255,255,0.3);
}

/* 戻るリンク */
a.back-button {
  display: block;
  text-align: center;
  text-decoration: none;
  font-weight: bold;
  color: #3d3b3d;
  width: 85%;
  margin: 3px auto;
  padding: 11px 20px;
  background: #f0f0f0;
  background: -moz-linear-gradient(
    top,
    #e6e6e6 0%,
    #f0f0f0);
  background: -webkit-gradient(
    linear, left top, left bottom, 
    from(#e6e6e6),
    to(#f0f0f0));
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  border-radius: 4px;
  border: 1px solid #949494;
  -moz-box-shadow:
    1px 0px 1px rgba(000,000,000,0.3),
    inset 0px 0px 2px rgba(255,255,255,1);
  -webkit-box-shadow:
    1px 0px 1px rgba(000,000,000,0.3),
    inset 0px 0px 2px rgba(255,255,255,1);
  box-shadow:
    1px 0px 1px rgba(000,000,000,0.3),
    inset 0px 0px 2px rgba(255,255,255,1);
  text-shadow:
    0px -1px 0px rgba(000,000,000,0.2),
    0px 1px 0px rgba(255,255,255,1);
}

/* ページ遷移リンクあり */
a.page-jump-button-on {
  display: inline-block;
  *display: inline; /*for IE*/
  *zoom: 1; /*for IE*/
  width: 25%;
  text-align: center;
  text-decoration: none;
  padding: 8px 20px;
  margin: 3px;
  border-radius: 2px;
  -moz-border-radius: 2px;
  -webkit-border-radius: 2px;
  border: 1px solid #b3b3b3;
  background-color: #2a2a2a;
  color: #ffffff;
}

/* ページ遷移リンクなし */
span.page-jump-button-off {
  display: inline-block;
  *display: inline; /*for IE*/
  *zoom: 1; /*for IE*/
  width: 25%;
  text-align: center;
  text-decoration: none;
  padding: 8px 20px;
  margin: 3px;
  border-radius: 2px;
  -moz-border-radius: 2px;
  -webkit-border-radius: 2px;
  border: 1px solid #b3b3b3;
  background-color: #F2F2F2;
  color: #111111;
}

/* リサイズボタン */
a.resize-button {
  display: inline-block;
  *display: inline; /*for IE*/
  *zoom: 1; /*for IE*/
  padding: 3px 5px;
  margin: 1px;
  color:#444;
  border: 2px solid #cccccc;
  text-decoration: none;
  border-radius: 5px;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  text-shadow: 0 1px 1px #f6f6f6;
  background-color: #fdfdfd;
  background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0, #fdfdfd),color-stop(1, #eeeeee));
  background-image: -moz-linear-gradient(top, #fefefe, #eeeeee);
  -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorStr='#fdfdfd', EndColorStr='#eeeeee')";
}

/* 投稿・検索ボタン */
.header-button {
  display: table;
  table-layout: fixed;
  padding: 0;
  text-align: center;
  width: 100%;
}
.header-button a {
  height: 43px;
  padding: 0 6px;
  text-align: center;
  line-height: 43px;
  text-decoration: none;
  border: 1px solid #ccc;
  border-left: 0;
  display: table-cell;
  background: #F2F2F2;
  color: #111111;
}

/* フッター投稿・検索ボタン */
.footer-button {
  display: table;
  table-layout: fixed;
  padding: 0;
  text-align: center;
  width: 100%;
}
.footer-button a {
  height: 43px;
  padding: 0 6px;
  text-align: center;
  line-height: 43px;
  text-decoration: none;
  border: 1px solid #ccc;
  border-left: 0;
  display: table-cell;
  background: #F2F2F2;
  color: #111111;
}
.footer-button-2 a {
  border-top: 0;
}

/* フッターリンク */
.footer {
  width: 100%;
}
.footer ul li {
  border-bottom: 1px solid #cccccc;
  background-color: #e60000;
}
.footer ul li:first-child {
  border-top: 1px solid #cccccc;
}
.footer ul li:last-child {
  border-bottom: 0;
}
.footer ul li a {
  display: block;
  padding-left: 15px;
  color: #ffffff;
  height: 43px;
  font-size: 15px;
  line-height: 43px;
  text-align: left;
  text-decoration: none;
  background: url("/img/arrow.png") no-repeat right center;
}

/* コピーライト */
div#copyright {
  display: block;
  text-decoration: none;
  color: #ffffff;
  padding: 10px 20px;
  background: #2a2a2a;
}
div#copyright a {
  text-decoration: none;
  color: #ffffff;
}

/* ソーシャルボタン枠 */
div.social-frame {
  padding: 10px;
  border-top: 1px solid #cccccc;
  background: #e60000;
}