@charset "utf-8";

.clear {
  clear: both;
}

a:link,a:visited {
  color: #5D544E;
}
a:hover,a:active {
  text-decoration: none;
  color: #ff9f00 /*#FAB81E*/;
}

.entry-content h2,
.entry-content h3 {
	font-weight:bold;
}
.entry-content h2 {
	font-size: 1.5rem;
}
strong {
	font-weight: bold;
}

/* **************
block
************** */
html {
  background-image: none;
  background-color: transparent;
  font-size: 62.5%;
}
body {
  background: #f4f4f4;
  font-size: 1.4rem;
  font-family: "メイリオ", Meiryo, Verdana, Helvetica,
               "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "ＭＳ Ｐゴシック", sans-serif;
  color: #5D544E;
}

#container {
  width: 760px;
  margin: 0 auto;
}

/* header
***************** */
#header {
  height: 120px;
}
  #site-title {
    padding: 15px 0 5px 20px;
    font-size: 2.3rem;
    font-weight: bold;
  }
    #site-title a:link, #site-title a:visited {
      text-decoration: none;
    }
    #site-title a:hover, #site-title a:active {
      text-decoration: underline;
    }
  #site-description {
    margin: 10px 20px;
  }

/* **************
main
************** */
#body {
  margin: 8px 8px 50px;
}
  main {
    width: 524px;
    float: left;
    margin-bottom: 40px;
  }
    article {
      border-bottom: 1px dotted #ccc;
    }
      .entry-header {
        margin: 8px 0 20px;
        border-left: 5px solid #FAB81E;
        padding-left: 8px;
      }
        .entry-title {
          font-size: 1.9rem;
          font-weight: bold;
        }
        .post-meta {
          display: block;
          margin-top: 4px;
          font-size: 1.1rem;
        }
      .entry-content {
        margin: 0 0 30px 12px;
        line-height: 2.4rem;
      }
      .entry-footer {
        float: right;
        height: 21px;
        margin-bottom: 5px;
        font-size: 1.4rem;
      }
        .s-buttons {
          float: left;
        }
        .comment-write {
          float: left;
          margin-left: 5px;
        }

    #article-bottom-ad {
      border-bottom: 1px dotted #ccc;
      padding: 10px 0;
    }
      #article-bottom-ad .adsbygoogle {
        max-width: 450px;
        margin: 0 auto;
      }

    /* comments
    **************** */
    #comments-title {
      margin: 8px 0 16px;
      border-left: 9px solid #ccc;
      padding-left: 11px;
      font-size: 1.9rem;
    }
    #comments-list {
      margin-bottom: 40px;
    }
      .comment-frame {
        border: 1px solid #ccc;
        padding: 4px;
      }
        .comment-avatar {
          height: 42px;
          float: left;
          margin-right: 4px;
          vertical-align: middle;
        }
        .comment-author {
          width: 300px;
          float: left;
        }
        .comment-date {
          float: right;
        }
      .comment-body {
        margin: 4px 4px 24px;
        font-size: 1.3rem;
      }

    .comment-form-comment {
      margin-bottom: 3px;
    }
      #commentform textarea {
        max-width: 90%;
      }
    .comment-form-author,
    .comment-form-email {
      margin-bottom: 10px;
    }
      #commentform input {
        max-width: 50%;
      }
    #form-comment {
      padding: 0 1px;
    }
    .form-submit .submit {
      padding: 0 2px;
      font-size: 1.4rem;
    }

    /* post_nav
    **************** */
    #post_nav {
      margin-top: 30px;
      font-size: 1.3rem;
    }
      #prev_post {
        width: 230px;
        float: left;
      }
      #next_post {
        width: 230px;
        float: right;
        text-align: right;
      }

    /* pagenation
    **************** */
    #pagenation {
      margin: 20px auto 0;
      text-align: center;
      /*padding-bottom: 1px;*/
    }
      #pagenation .current {
        background: #fbcd61;
      }
      .page-numbers {
        /*margin-right: 1px;
        border: solid 1px #ccc;
        padding: 2px 6px 4px;*/
        display: inline-block;
        min-width: 30px;
        background: #FAB81E;
        padding: 2px 7px;
        font-weight: bold;
        color: white !important;
        text-decoration: none;
      }
        a.page-numbers:hover {
          background: #fcd069;
        }

  /* sidebar
  **************** */
  #sidebar {
    width: 200px;
    float: right;
  }
  .sidebar-title {
    padding: 5px;
    font-weight: bold;
  }

    #sidebar-ad {
      margin-bottom: 10px;
    }

    #profile {
      margin-bottom: 20px;
    }
      #profile-wrap {
        margin: 6px;
        font-size: 1.3rem;
      }
        #profile-wrap img {
          display: block;
          margin-bottom: 6px;
        }
        #icon-author {
          margin-top: 20px;
        }

    #new-entries {
      margin-bottom: 20px;
    }
      #new-entries-ul li {
        margin: 6px;
        font-size: 1.3rem;
      }

    #monthly-archives {
      margin-bottom: 20px;
    }
      #monthly-archives-ul li {
        margin: 6px;
        font-size: 1.3rem;
      }

    #search {
      height: 25px;
      margin: 30px 5px 0 ;
    }
      #searchform {
        position: relative;
      }
        .search-text input {
          position: absolute;
          top: 0;
          left: 0;
          width: 156px;
          height: 25px;
          border: none;
          padding: 0 2px;
          background: #fbd7a2;
        }
        .search-image input {
          position: absolute;
          top: 0;
          left: 160px;
          width: 25px;
          height: 25px;
          border: none;
          padding: 0;
        }

/* **************
mobile
************** */
@media screen and (max-width:599px) {
  iframe {
  	width: 100%;
  }
  img {
    max-width: 100%;
    width: auto;
  }
  #container,
    main,
      .comment-author,
      #form-comment,
    #sidebar {
    max-width: 100%;
    width: auto;
  }
  main,
  #sidebar {
    float: none;
  }

  /* header
  ************ */
  #header {
    height: 100px;
  }
    #site-title {
      padding: 10px 0 5px 8px;
    }
    #site-description {
      margin: 5px 8px;
    }

  /* article
  ************ */
  .post-meta {
    font-size: 1.2rem;
  }
  .entry-footer {
    margin-bottom: 8px;
  }

  /* comment
  ************ */
  .comment-author {
    width: 40%;
  }
  .comment-form-comment {
    margin-right: 6px;
  }

  /* post_nav
  ************ */
  #prev_post, #next_post {
    margin: 6px 0;
  }

  /* sidebar
  ************ */
  #sidebar {
    margin-top: 30px;
  }
    #new-entries-ul li {
      margin: 12px 6px;
    }
}