@media (min-width: 375px) {
  .stats ul {
    flex-wrap: wrap;
    justify-content: space-around;
  }
}

code {
  font-family: monospace;
  font-size: 1em;
  color: #800;
}
pre code {
  color: #fff;
  background-color: #000;
}

a {
  border-bottom: 1px dotted #ff44cc;
}
a:hover {
  border-bottom-color: transparent;
  color: #ff44cc;
}

.toc {
  display: block;
  margin: 2rem auto 3rem;
  padding: 1rem;
  background-color: #f8f8f8;
  border: solid 1px #ccc;
}

.image img.stretchH {
  max-height: none;
}
.image:hover img {
  transform: unset;
}

.content:lang(ja) {
  font-family: "M PLUS 1p", "游ゴシック", "Yu Gothic", "游ゴシック体",
    "YuGothic", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "Meiryo UI",
    "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  font-size: 0.8rem;
}

body,
input,
select,
textarea {
  font-family: "M PLUS 1p", "游ゴシック", "Yu Gothic", "游ゴシック体",
    "YuGothic", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "Meiryo UI",
    "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  font-size: 0.9rem;
}

.stats ul li a,
#categories a {
  border: none;
}

.home main#site-main article,
.list main#site-main article {
  opacity: 0;
}
.home main#site-main article.is-active,
.list main#site-main article.is-active {
  animation: slideIn 1s cubic-bezier(0.25, 1, 0.5, 1) 1 forwards;
}
.home main#site-main article:nth-of-type(1),
.home main#site-main article:nth-of-type(1).is-active,
.home main#site-main article:nth-of-type(2),
.home main#site-main article:nth-of-type(2).is-active,
.list main#site-main article.is-active:nth-of-type(1),
.list main#site-main article.is-active:nth-of-type(1).is-active,
.list main#site-main article.is-active:nth-of-type(2),
.list main#site-main article.is-active:nth-of-type(2).is-active {
  opacity: 1;
  animation: none;
}

main#site-main .post {
  padding: 0;
}
main#site-main article header {
  position: relative;
  min-height: 250px;
  margin: 0;
  background-clip: content-box;
  background-size: cover;
  background-position: 50% 50%;
  background-repeat: no-repeat;
}
main#site-main article header a {
  position: relative;
  display: flex;
  margin: 0;
  padding: 0;
  width: 100%;
  min-height: 100%;
  border: none;
}
main#site-main article header::before {
  background-color: rgba(0, 0, 0, 0.2);
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  content: " ";
  transition: background-color 0.35s ease-in-out;
}
main#site-main article header:hover::before {
  background-color: rgba(0, 0, 0, 0);
}
main#site-main article header .content-summary {
  position: relative;
  padding: 0 2rem;
  width: 100%;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
}
main#site-main article header .content-summary {
  padding: 1rem;
}

main#site-main article header .title {
  margin: auto;
  padding: 0;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0px 1px 2px rgb(0 0 0 / 40%);
  text-align: left;
}
main#site-main article header .title h1,
main#site-main article header .title h2 {
  margin-top: 0;
  color: #fff;
  font-size: 1.6rem;
  line-height: 1.2;
  font-family: "Julius Sans One", Avenir, "Open Sans", "Helvetica Neue",
    Helvetica, Arial, Roboto, Verdana;
  font-weight: 900;
}
main#site-main article header .title h2:lang(ja) {
  font-family: "M PLUS 1p", "游ゴシック", "Yu Gothic", "游ゴシック体",
    "YuGothic", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "Meiryo UI",
    "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  font-weight: 200;
  font-size: 1.7rem;
}

main#site-main article header .title .summary {
  max-width: 90%;
  margin: 0;
  padding: 0;
  color: #fff;
  text-align: justify;
  font-family: "Gothic A1", Avenir, "Open Sans", "Helvetica Neue", Helvetica,
    Arial, Roboto, Verdana;
  font-weight: 400;
  font-size: 0.8rem;
  line-height: 1.4;
  text-transform: none;
}
main#site-main article header .title .summary:lang(ja) {
  font-family: "M PLUS 1p", "游ゴシック", "Yu Gothic", "游ゴシック体",
    "YuGothic", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "Meiryo UI",
    "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  font-weight: 400;
  font-size: 0.7rem;
  line-height: 1.4;
}

/* .single main#site-main article header::before {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.2);
  content: " ";
} */

main#site-main article header .meta {
  padding: 0;
  color: #fff;
  text-shadow: 0px 1px 2px rgb(0 0 0 / 40%);
}

.single main#site-main article .post .content {
  padding: 2rem 4rem;
}
.single main#site-main article header .title h1,
.single main#site-main article header .title h2 {
  margin: 0.5rem 0;
}
.single main#site-main article header .title .summary {
  display: none;
}

.post footer {
  padding: 30px 0 45px;
}

article .post {
  padding: 0;
}

article .post .image-wrapper {
  width: 100%;
  text-align: center;
}

article .post .photo {
  width: 100%;
  text-align: center;
}
article .post figure {
  max-width: 100%;
  margin: 10px auto;
  padding: 0;
  box-shadow: unset;
}
article .post figure p {
  margin: 0;
  line-height: 1.25rem;
}
article .post figure figcaption {
  margin: 0 0 2rem;
}
article .post img {
  max-height: 80vh;
  transition: opacity 0.35s ease-in-out;
}
article .post img:hover {
  opacity: 0.8;
}
article .post .gallery {
  max-width: unset;
  transition: opacity 0.35s ease-in-out;
}
article .post .gallery.hover-effect-zoom figure:hover .img {
  transform: unset;
  opacity: 0.8;
}
article .post .gallery figure {
  width: auto;
  height: auto;
  margin: 0;
  padding: 0;
}
article .post .dics-wrapper {
  width: 80%;
  margin: 1em auto;
}
article .post .b-dics {
  max-height: 80vh;
}
/* .single .post footer {
  margin: 4rem 0;
} */

article .post ul {
  padding-inline-start: 1rem;
}

#socnet-share {
  margin: 4rem 0 0;
  justify-content: center;
}

.amazonjp {
  width: 75%;
  margin: 4rem auto 1rem;
  padding: 0;
  border-left: solid 20px #ff9900;
  box-shadow: 0 3px 3px rgb(0 0 0 / 19%), 0 0 2px rgb(0 0 0 / 23%);
  transition: all 0.35s ease-in-out;
}
.amazonjp + .amazonjp {
  margin: 1rem auto;
}
.amazonjp:hover {
  box-shadow: 0 6px 6px rgb(0 0 0 / 19%), 0 0 4px rgb(0 0 0 / 23%);
}
.amazonjp a {
  position: relative;
  display: flex;
  margin: 0 0 0 3px;
  border: none;
  border-left: solid 5px #ff9900;
}
.amazonjp a .amazonjp-image {
  width: 33%;
  margin: auto;
  padding: 5px;
  text-align: center;
}
.amazonjp .amazonjp-text {
  width: 77%;
  margin: auto 0;
  padding: 1rem;
}
.amazonjp .amazonjp-text .amazonjp-maker {
  margin: 0;
  padding: 0;
  font-size: 1rem;
  line-height: 1.1rem;
  font-weight: 700;
}
.amazonjp .amazonjp-text .amazonjp-title {
  margin: 0;
  padding: 0;
  font-size: 1.4rem;
  line-height: 1.4rem;
  font-weight: 700;
}
.amazonjp .amazonjp-text .amazonjp-desc {
  font-size: 0.8rem;
  line-height: 1rem;
  font-weight: 400;
}
.amazonjp .amazonjp-message {
  position: absolute;
  right: 0.5rem;
  bottom: 0.2rem;
  color: #888;
  font-size: 0.7rem;
}

.hatena {
  background-color: #01a5df;
}
.hatena:hover {
  background-color: #007ba8;
}
.hatena::before {
  content: "B!";
  font-family: Verdana;
  font-weight: bold;
}

/* .fa-hatena:before {
  content: "\f0d2"; }

.fa-hatena-p:before {
  content: "\f231"; }

.fa-hatena-square:before {
  content: "\f0d3"; } */

main.page404 {
  position: relative;
  text-align: center;
  min-height: 40vh;
  padding: 10rem 0;
  overflow: hidden;
}
@media screen and (max-width: 1023px) {
  #site-header {
    width: 100vw;
  }
  #wrapper {
    max-width: 100vw;
    width: 100vw;
    overflow: hidden;
  }
  #site-intro {
    width: 100vw;
  }
  #site-intro.hidden-single-column {
    display: none;
  }
  #site-main {
    width: 100vw;
  }
  main#site-main article header .meta {
    padding: 0;
  }
  .post footer {
    padding: 2rem 0 3rem;
  }
}
@media screen and (max-width: 767px) {
  main#site-main article header .content-summary {
    display: block;
  }
  main#site-main article {
    width: 95vw;
    margin: 2rem auto;
    padding: 0;
    box-shadow: 0 5px 5px rgb(0 0 0 / 19%), 0 1px 3px rgb(0 0 0 / 23%);
  }
  main#site-main article header {
    width: 95vw;
    min-height: unset;
    height: 95vw;
    margin: 0;
    padding: 0;
    border: none;
  }
  main#site-main article header .title {
    padding: 0;
  }
  main#site-main article header .title .summary {
    max-width: 75%;
    text-align: left;
  }
  main#site-main article header .meta {
    position: absolute;
    padding: 0;
    right: 1rem;
    bottom: 1rem;
    width: fit-content;
    text-align: right;
  }

  .single main#site-main article {
    width: 100vw;
    margin: 0 auto;
    box-shadow: unset;
    padding: 0;
  }
  .single main#site-main article header {
    width: 100vw;
    height: unset;
    margin: 0;
  }
  .single main#site-main article header .content-summary {
    padding: 0 1rem;
  }
  .single main#site-main article header .title {
    padding: 1rem 0 0;
    text-align: center;
  }
  .single main#site-main article header .meta {
    position: relative;
    padding: 1rem 0;
    width: 100vw;
    text-align: center;
  }

  .single main#site-main article .post .content {
    padding: 2rem 1rem;
    font-size: 0.9rem;
    line-height: 1.8;
  }

  .stats {
    flex-direction: column;
  }
  .stats ul {
    max-width: 100%;
    margin: 1rem auto;
    justify-content: center;
  }
  article .post .b-dics__text {
    font-size: 0.5em;
  }

  .pagination .button {
    margin: 1em;
    width: 50%;
    background: #fff;
  }
  .pagination a.button.left::after {
    content: "NEXT";
  }
  .pagination a.button.right::after {
    content: "PREV";
  }

  .amazonjp {
    width: 90%;
    border-left: solid 0.6rem #ff9900;
  }
  .amazonjp + .amazonjp {
    margin: 1rem auto;
  }
  .amazonjp a {
    margin: 0 0 0 0.1rem;
    border-left: solid 0.2rem #ff9900;
  }
  .amazonjp .amazonjp-text .amazonjp-maker {
    font-size: 0.8rem;
    line-height: 0.8rem;
  }
  .amazonjp .amazonjp-text .amazonjp-title {
    font-size: 1rem;
    line-height: 1rem;
  }
  .amazonjp .amazonjp-text .amazonjp-desc {
    font-size: 0.5rem;
    line-height: 0.7rem;
  }
  .amazonjp .amazonjp-message {
    bottom: 0;
    font-size: 0.4rem;
  }
  main.page404 {
    padding: 15rem 5rem;
  }
}

@media screen and (max-width: 360px) {
  main#site-main article header .content-summary {
    padding: 0.75rem;
  }
  main#site-main article header .title h1,
  main#site-main article header .title h2 {
    font-size: 1.4rem;
  }
  main#site-main article header .title .summary {
    font-size: 0.7rem;
  }
  .stats ul {
    margin: 1rem auto 1rem 1rem;
    justify-content: left;
  }
}

@keyframes slideIn {
  0% {
    transform: translateY(100px);
    opacity: 0;
  }
  100% {
    transform: translateY(0px);
    opacity: 1;
  }
}
