body {
  margin: 0;
}
html,
body,
.container {
  height: 100%;
  font-family: Hiragino Sans GB, Microsoft YaHei, WenQuanYi, Airal, sans-serif;
  color: #444;
}
.container {
  max-width: 840px;
  margin: 0 auto;
}
a {
  color: #000;
  text-decoration: none;
}
.home {
  display: table;
  width: 100%;
  height: 100%;
}
.home .info {
  display: table-cell;
  vertical-align: middle;
  text-align: center;
}
.home .info .logo {
  font-size: 2.5em;
  font-weight: bold;
}
.home .info .subtitle {
  font-size: 14px;
  color: #808080;
}
.home .info .sns {
  margin: 1em auto;
}
.home .info .sns a {
  width: 55px;
  color: #999;
  display: inline-block;
}
.home .info .sns a:hover {
  color: #000;
}
.home .info footer {
  border: 0;
  color: #000;
  padding: 0;
}
.page {
  margin: 0 20px;
  margin-bottom: 2em;
}
.page p {
  line-height: 1.5em;
}
/* http://jmblog.github.com/color-themes-for-google-code-highlightjs */
/* Tomorrow Comment */
.highlight .comment,
.highlight .quote {
  color: #8e908c;
}
/* Tomorrow Red */
.highlight .variable,
.highlight .template-variable,
.highlight .tag,
.highlight .name,
.highlight .selector-id,
.highlight .selector-class,
.highlight .regexp,
.highlight .deletion {
  color: #c82829;
}
/* Tomorrow Orange */
.highlight .number,
.highlight .built_in,
.highlight .builtin-name,
.highlight .literal,
.highlight .type,
.highlight .params,
.highlight .meta,
.highlight .link {
  color: #f5871f;
}
/* Tomorrow Yellow */
.highlight .attribute {
  color: #eab700;
}
/* Tomorrow Green */
.highlight .string,
.highlight .symbol,
.highlight .bullet,
.highlight .addition {
  color: #718c00;
}
/* Tomorrow Blue */
.highlight .title,
.highlight .section {
  color: #4271ae;
}
/* Tomorrow Purple */
.highlight .keyword,
.highlight .selector-tag {
  color: #8959a8;
}
.highlight {
  display: block;
  overflow-x: auto;
  background: #fff;
  color: #4d4d4c;
  padding: 0.5em;
  position: relative;
}
.highlight .emphasis {
  font-style: italic;
}
.highlight .strong {
  font-weight: bold;
}
.btn-copy {
  display: inline-block;
  cursor: pointer;
  background-color: #eee;
  background-image: linear-gradient(#fcfcfc, #eee);
  border: 1px solid #d5d5d5;
  border-radius: 3px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-appearance: none;
  font-size: 13px;
  font-weight: 700;
  line-height: 20px;
  color: #333;
  -webkit-transition: opacity 0.3s ease-in-out;
  -o-transition: opacity 0.3s ease-in-out;
  transition: opacity 0.3s ease-in-out;
  padding: 2px 6px;
  position: absolute;
  right: 5px;
  top: 5px;
  opacity: 0;
}
.btn-copy span {
  margin-left: 5px;
}
.highlight:hover .btn-copy {
  opacity: 1;
}
.alert {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 99999;
  text-align: center;
  padding: 24px 36px;
  border-radius: ;
  box-shadow: ;
  font-family: ;
  font-weight: bold;
  font-size: ;
}
.alert.alert-success {
  color: #fff;
  background-color: #1bc3fb;
  border-color: #d6e9c6;
}
.alert.alert-info {
  color: #31708f;
  background-color: #d9edf7;
  border-color: #bce8f1;
}
.alert.alert-warning {
  color: #8a6d3b;
  background-color: #fcf8e3;
  border-color: #faebcc;
}
.alert.alert-danger {
  color: #a94442;
  background-color: #f2dede;
  border-color: #ebccd1;
}
ul.search-result-list {
  padding-left: 10px;
}
a.search-result-title {
  font-weight: bold;
}
em.search-keyword {
  border-bottom: 1px dashed #4088b8;
  font-weight: bold;
}
.header {
  margin-bottom: 2em;
  padding: 0 20px;
}
.header .blog-title {
  font-size: 2.5em;
  text-align: center;
  padding-top: 0.5em;
}
.header .subtitle {
  font-size: 14px;
  color: #808080;
}
.header .menu {
  margin: 0;
  padding: 0;
  border-top: 1px solid #ccc;
  margin-top: 20px;
}
.header .menu .menu-item {
  margin: 0 15px 0 0;
  padding: 3px 0 3px 0;
  float: left;
  display: inline-block;
}
.header .menu .menu-item-link {
  color: #999;
}
.header .menu .menu-item-link:hover {
  color: #000;
}
.post {
  padding: 0 20px;
  margin-bottom: 1.5em;
}
.post img {
  max-width: 100%;
}
.post table {
  border-collapse: collapse;
  border-spacing: 0;
}
.post table td,
.post table th {
  padding: 6px 13px;
  border: 1px solid #dfe2e5;
}
.post hr {
  margin: 1.5em 0;
}
.post .post-content {
  text-align: justify;
}
.post .post-content a {
  border-bottom: 1px dotted;
}
.post .post-content a:hover {
  border-bottom: 1px solid;
}
.post .post-content ul,
.post .post-content ol {
  text-align: left;
}
.post .post-content ul li,
.post .post-content ol li {
  padding: 5px;
  line-height: 1.5em;
}
.post .post-content pre {
  word-wrap: break-word;
  white-space: pre-wrap;
}
.post figure {
  margin: 0;
}
.post figure table {
  width: 100%;
}
.post figure table .code {
  border: 0;
  padding: 0;
}
.post figure .gutter {
  display: none;
}
.post blockquote {
  margin: 0;
  padding: 0 15px;
  color: #777;
  border-left: 4px solid #ddd;
}
.post pre {
  font-family: initial;
  margin: 0;
  padding: 0.5em 1.5em;
  overflow: auto;
  font-size: 85%;
  line-height: 1.8;
  background-color: #f7f7f7;
  border: 1px solid #ccc;
}
.post code {
  background: #f7f7f7;
  border: 1px solid #d6d6d6;
  font-family: inherit;
  font-size: 90%;
  margin: 5px;
  padding: 0 5px;
}
.post p {
  line-height: 1.5em;
}
.post .post-footer {
  line-height: 1;
  min-height: 1em;
}
.post .post-footer .top {
  float: right;
  color: #666;
}
.post .post-footer .top:hover {
  color: #000;
}
.post .post-footer .post-tag-list {
  display: inline-block;
  padding: 0;
  margin: 0 0 0.5em 0;
  color: #999;
}
.post .post-footer .post-tag-list .post-tag-list-item {
  display: inline-block;
  margin: 0 1em 0 0;
}
.post .post-footer .post-tag-list .post-tag-list-item a {
  font-size: 85%;
}
.post .post-footer .post-tag-list .post-tag-list-item:before {
  content: '#';
}
.article-title {
  font-size: 1.5em;
  line-height: 1.2em;
  border-bottom: 1px solid #000;
}
.archive {
  padding: 0 20px;
  margin-bottom: 1em;
}
.archive .post-archive {
  list-style: none;
  padding: 0;
}
.archive .post-archive .post-item {
  margin: 6px 0;
  line-height: 1.5;
}
.archive .post-archive .post-item .post-date {
  float: right;
}
@media screen and (max-width: 425px) {
  .archive .post-archive .post-item .post-date {
    float: none;
    margin-left: 0.5em;
    font-size: 90%;
    color: #999;
  }
}
.archive .post-archive .post-item .post-title {
  border-bottom: 1px dotted;
}
.archive .post-archive .post-item .post-title:hover {
  border-bottom: 1px solid;
}
.page-nav {
  padding: 0 20px;
}
.page-nav .prev,
.page-nav .page-number {
  padding: 10px 20px 10px 0;
}
.page-nav .next {
  float: right;
}
.page-nav a {
  color: #777;
}
.page-nav a:hover {
  color: #000;
}
footer {
  margin: 0.5em 20px 0 20px;
  border-top: 3px double #ccc;
  padding: 1em 0 1em 0;
  font-size: 80%;
  color: #888;
}
footer .author {
  color: #000;
}
html .sakana-box {
  position: fixed;
  right: 0;
  bottom: 0;
  transform-origin: 100% 100%;
}
#article-nav {
  position: relative;
}
@media mq-normal {
  #article-nav {
    margin: block-margin 0;
  }
  #article-nav:before {
    content: "";
    border-radius: 50%;
    background: color-border;
    box-shadow: 0 1px 2px #fff;
  }
}
.article-nav-link-wrap {
  text-decoration: none;
  text-shadow: 0 1px #fff;
  color: color-grey;
  box-sizing: border-box;
  margin-top: block-margin;
  text-align: center;
  display: block;
}
.article-nav-link-wrap:hover {
  color: color-default;
}
@media mq-normal {
  .article-nav-link-wrap {
    width: 50%;
    margin-top: 0;
  }
}
@media mq-normal {
  #article-nav-newer {
    float: left;
    text-align: right;
    padding-right: 20px;
  }
}
@media mq-normal {
  #article-nav-older {
    float: right;
    text-align: left;
    padding-left: 20px;
  }
}
.article-nav-caption {
  text-transform: uppercase;
  letter-spacing: 2px;
  color: color-border;
  line-height: 1em;
  font-weight: bold;
}
#article-nav-newer .article-nav-caption {
  margin-right: -2px;
}
.article-nav-title {
  font-size: 0.85em;
  line-height: line-height;
  margin-top: 0.5em;
}
