main {
  /*max-width: 750px;*/
  max-width: 1170px;
  word-wrap: break-word;
}

:root {
  --ifm-blockquote-color: #ecf4f9;
  --ifm-blockquote-color-dark: #cbddea;
}

/* Header */

.global-header {
  background: #00d0f0; /*#222 no-repeat center center; */
  background-size: cover;
}

.header-text {
  position: relative;
  padding-bottom: 1px;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  color: rgba(255, 255, 255, 0.9);
}

.header-text .tag-line {
  margin: 10px auto;
  padding: 0 10px;
  max-width: 430px;
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
  font-weight: 300;
  flex-grow: 2;
}

.header-text ul {
  margin-top: 10px;
  list-style: none;
  max-width: 200px;
  padding-left: 0;
  flex-grow: 1;
}

.header-text .header-secondary {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}

.header-text ul.about-links a {
  color: white;
  text-decoration: none;
}

.header-text ul.about-links a:hover {
  text-decoration: underline;
}

.header-text .sns-links {
  flex-grow: 1;
  padding-top: 10px;
  text-align: center;
  max-width: 200px;
  justify-content: center;
}

.header-text .sns-links .github-button {
  margin-top: 5px;
}

.header-text .sns-links a.circle-link {
  display: inline-block;
  margin: 0 2px;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 15px;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 20px;
  line-height: 30px;
  transition: color, border-color 0.1s linear;
}

.header-text .sns-links a.circle-link:hover {
  border-color: rgba(255, 255, 255, 1);
  color: rgba(255, 255, 255, 1);
}

.header-text h1 {
  margin: 0 auto;
  padding-top: 15px;
  text-align: center;
  font-weight: 400;
}

.header-text h1 a {
  color: rgba(255, 255, 255, 1);
  text-decoration: none;
}

a.btn-header {
  position: absolute;
  top: 20px;
  padding: 7px 16px;
  border: 1px solid rgba(255, 255, 255, 1);
  border-radius: 3px;
  background-color: rgba(0, 0, 0, 0.1);
  color: rgba(255, 255, 255, 1);
  text-decoration: none;
  font-weight: 300;
  font-size: 13px;
  transition: color, background-color 0.1s linear;
}

a.btn-header:hover {
  background-color: rgba(255, 255, 255, 1);
  color: rgba(0, 0, 0, 1);
}

a.btn-subscribe {
  right: 20px;
}

a.btn-back {
  left: 20px;
}

/* Footer */

.global-footer {
  margin-top: 10px;
  padding-top: 10px;
  max-width: 1170px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  /*max-width: 750px;*/
  height: 100px;
  border-top: 1px solid rgba(0, 0, 0, 0.2);
  color: rgba(0, 0, 0, 0.4);
}

.global-footer > * + * {
  margin-left: 20px;
}

.global-footer .sns-links a.circle-link {
  display: inline-block;
  width: 24px;
  height: 24px;
  border: 1px solid rgba(0, 0, 0, 0.4);
  border-radius: 12px;
  color: rgba(0, 0, 0, 0.4);
  vertical-align: top;
  text-align: center;
  text-decoration: none;
  font-size: 13px;
  transition: color, border-color 0.1s linear;
}

.global-footer .sns-links a.circle-link i {
  vertical-align: middle;
}

.global-footer .sns-links a.circle-link:hover {
  border: 1px solid rgba(0, 0, 0, 0.8);
  color: rgba(0, 0, 0, 0.7);
}

/* Article */

.article-list h2 a {
  text-decoration: none;
  transition: color 0.1s linear;
}

.article-list .list-item-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.post-meta {
  margin: 5px 0;
}

.post-date {
  color: rgba(0, 0, 0, 0.4);
}

.post-tag a {
  padding: 0 10px;
  border: 1px solid rgba(0, 0, 0, 0.3);
  border-radius: 12px;
  color: rgba(0, 0, 0, 0.3);
  text-decoration: none;
  transition: color, border-color, background-color 0.1s linear;
}

.post-tag a:hover {
  background-color: rgba(0, 0, 0, 1);
  color: rgba(255, 255, 255, 1);
}

.not-found h1 {
  color: rgba(0, 0, 0, 0.2);
  font-weight: 200;
  font-size: 80px;
}

.not-found {
  text-align: center;
}

.author-info {
  padding: 25px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.2);
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}

.author-name {
  margin: 0 0 5px 0;
  font-size: 30px;
}

.author-bio {
  color: rgba(0, 0, 0, 0.5);
}

.author-avatar img {
  max-width: 100px;
  max-height: 100px;
  width: 100px;
  height: 100px;
}

.author-contact {
  position: relative;
  display: inline-block;
  padding-top: 10px;
  height: 100px;
  text-align: center;
}

.author-contact a {
  display: inline-block;
  padding: 7px 16px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 3px;
  color: rgba(0, 0, 0, 0.7);
  text-decoration: none;
  font-weight: 300;
  font-size: 13px;
  transition: background-color, border-color, color 0.1s linear;
}

.author-contact a:hover {
  border: 1px solid rgba(51, 122, 182, 1);
  background-color: rgba(51, 122, 183, 1);
  color: rgba(255, 255, 255, 1);
}

/* Pagination */

.pagination {
  width: 100%;
  text-align: center;
}

.older-posts,
.newer-posts {
  display: inline !important;
  border: 1px solid #ddd;
  border-radius: 15px;
  text-decoration: none;
  transition: border 0.3s ease;
  padding: 5px 14px;
}

.page-number {
  display: inline-block;
  min-width: 100px;
  padding: 2px 0;
}

.newer-posts {
  float: left;
}

.older-posts {
  float: right;
}

.older-posts:hover,
.newer-posts:hover {
  color: #889093;
  border-color: #98a0a4;
}

/* Override some of Bootstrap's styles */

pre {
  font-size: 14px;
}

pre code {
  overflow: auto;
  white-space: pre;
  word-wrap: normal;
  font-size: 16px !important;
}

.pager {
  margin-left: 10px !important;
  min-width: 136px;
}

.pager li > a {
  transition: background-color 0.1s linear;
}

blockquote {
  font-style: italic;
  background-color: #8080801a;
  border-left: 8px solid #337ab7;
}

h1 {
  text-align: center;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
body {
  font-family: 'Open Sans', 'Source Sans Pro', 'Kozuka Gothic Pr6N', Meiryo,
    sans-serif !important;
}

article section img {
  max-width: 100%;
  height: auto;
  margin: 13px auto;
}

@media only screen and (max-width: 575px) {
  h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 36px;
  }

  body {
    font-size: 17px;
  }

  .header-text ul.about-links {
    order: 3;
    flex-grow: 2;
    text-align: right;
  }

  .header-text .sns-links {
    order: 2;
    padding-top: 0;
  }

  .article-list .list-item-content {
    display: flex;
    flex-direction: column;
  }

  .article-list .list-item-content .pager {
    align-self: flex-end;
  }

  .pagination {
    display: flex !important;
    flex-direction: column;
    align-items: center;
  }

  .pagination .older-posts {
    order: 2;
  }

  .pagination .newer-posts {
    order: 3;
  }
}

a code,
code a {
  color: inherit;
}

table {
  width: 100%;
}

table tbody tr:nth-child(odd) {
  background-color: #f8f8f8;
}

.hanchor {
  font-size: 100%;
  visibility: hidden;
  color: silver;
}
h1:hover a,
h2:hover a,
h3:hover a,
h4:hover a {
  visibility: visible;
}

.github-button {
  position: relative;
  display: inline-block;
  display: inline-flex;
  align-items: center;
  min-width: 184px;
  padding: 2px 5px;
  font-size: 14px;
  vertical-align: bottom;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  background-repeat: repeat-x;
  background-position: -1px -1px;
  background-size: 110% 110%;
  border-radius: 0.25em;
  border: 1px solid;
  color: #24292f !important;
  background-color: #ebf0f4 !important;
  border-color: #ccd1d5;
  border-color: rgba(27, 31, 36, 0.15);
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg'%3e%3clinearGradient id='o' x2='0' y2='1'%3e%3cstop stop-color='%23f6f8fa'/%3e%3cstop offset='90%25' stop-color='%23ebf0f4'/%3e%3c/linearGradient%3e%3crect width='100%25' height='100%25' fill='url(%23o)'/%3e%3c/svg%3e");
  background-image: -moz-linear-gradient(top, #f6f8fa, #ebf0f4 90%);
  background-image: linear-gradient(180deg, #f6f8fa, #ebf0f4 90%);
}

.github-button,
.github-button:hover {
  text-decoration: none !important;
}

.github-button:hover {
  background-color: #e9ebef;
  background-position: 0 -0.5em;
  border-color: #caccd1;
  border-color: rgba(27, 31, 36, 0.15);
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg'%3e%3clinearGradient id='o' x2='0' y2='1'%3e%3cstop stop-color='%23f3f4f6'/%3e%3cstop offset='90%25' stop-color='%23e9ebef'/%3e%3c/linearGradient%3e%3crect width='100%25' height='100%25' fill='url(%23o)'/%3e%3c/svg%3e");
  background-image: -moz-linear-gradient(top, #f3f4f6, #e9ebef 90%);
  background-image: linear-gradient(180deg, #f3f4f6, #e9ebef 90%);
}



details.detailed-explanation {
  font-style: normal;
  background-color: #8080801a;
  border-left: 8px solid #337ab7;
  margin: 0.25rem 0;
  padding: 0.5rem 0.5rem;
}


details.detailed-explanation p {
  margin: 0 0 14px !important;
}

details.detailed-explanation summary {
  display: list-item !important;
  cursor: pointer;
}

details.detailed-explanation summary h4 {
  display: inline;
}
