@charset "UTF-8";
/* リスト内のaタグで縦中心がずれてしまう対策 */
li {
  line-height: 1.5em; }
  li a {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
    max-width: 100%;
    line-height: 1.5em;
    vertical-align: middle; }

h2 {
  border-top: 1px solid #ccc;
  padding: 1em 0 0.5em 0; }

/* iosevka-curly-slab-latin-400-normal */
@font-face {
  font-family: 'Iosevka Curly Slab';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(https://cdn.jsdelivr.net/fontsource/fonts/iosevka-curly-slab@latest/latin-400-normal.woff2) format("woff2"), url(https://cdn.jsdelivr.net/fontsource/fonts/iosevka-curly-slab@latest/latin-400-normal.woff) format("woff"); }
/* pandocで生成されたコードブロックをデザイン */
pre code {
  margin-left: 0;
  margin-right: 0;
  font-family: "Iosevka Curly Slab", SFMono-Regular, SF Mono, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 0.80rem !important;
  line-height: 1.20rem;
  /*padding: 1.75rem 2rem;*/
  background: #fafafa !important;
  border: 1px solid #f7f7f7 !important; }

code {
  font-family: "Iosevka Curly Slab", SFMono-Regular, SF Mono, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  background: #efefef;
  padding: 1px 5px;
  margin: 0px 5px;
  word-break: keep-all;
  font-size: 0.95em; }

/* pandocで生成された作者・日付ブロックをデザイン */
.authorInfo {
  display: flex;
  align-items: center;
  margin: 1em 0;
  gap: 1em; }
  .authorInfo .authorThumb {
    border-radius: 50%;
    width: 48px;
    height: 48px;
    object-fit: cover; }
  .authorInfo .authorMeta {
    display: flex;
    flex-direction: column;
    font-size: 0.9em;
    color: #555; }
    .authorInfo .authorMeta .authorName {
      font-weight: bold; }
    .authorInfo .authorMeta .authorDates {
      display: flex;
      gap: 0.5em;
      flex-wrap: wrap; }
    .authorInfo .authorMeta .authorDates .postDate, .authorInfo .authorMeta .authorDates .postModified {
      color: #888;
      font-size: 0.90em; }

/* pandocで生成された目次をデザイン */
#toc {
  padding: 1.0em 0;
  font-size: 0.9em;
  line-height: 1.7em;
  margin: 0; }

@media screen and (min-width: 1360px) and (orientation: landscape) {
  #toc {
    position: fixed;
    top: 0;
    /* 上端に固定 */
    left: 0;
    width: 340px;
    font-size: 0.85em;
    background: inherit;
    border: none;
    padding: 0;
    overflow: auto;
    /* スクロールを有効化 */
    max-height: 100%;
    /* 画面の高さに合わせて最大高さを設定 */ } }
/* 画像のデザイン */
#contents article img:not(.authorThumb) {
  width: 100%;
  display: block;
  max-height: 50vh;
  /* 画面の80%より高くしない */
  height: auto;
  /* 縦横比を維持 */
  object-fit: contain; }
#contents article figure {
  margin: 0;
  padding: 0; }
  #contents article figure figcaption {
    text-align: center;
    color: #888;
    font-size: 0.85em; }

/* iframeのデザイン */
#contents article iframe {
  aspect-ratio: 16/9;
  width: 100%;
  height: 100%;
  min-height: 194px; }
#contents article iframe.wiki_sounds {
  width: 220px;
  height: 40px; }

/* pandoc ::: warning 記法に対応した目立つスタイルを適応 */
#contents article div.note, #contents article div.tip, #contents article div.warning, #contents article div.caution, #contents article div.important {
  border-left: 4px solid #d0d7de;
  background-color: #f6f8fa;
  padding: 1em;
  margin: 1.5em 0;
  border-radius: 6px;
  font-size: 0.90em;
  line-height: 1.6em; }
  #contents article div.note p, #contents article div.tip p, #contents article div.warning p, #contents article div.caution p, #contents article div.important p {
    margin: 0; }
#contents article div.warning {
  border-left-color: #d73a49;
  background-color: #ffebeb; }
#contents article div.caution {
  border-left-color: #d29922;
  background-color: #fff5b1; }
#contents article div.tip {
  border-left-color: #1a7f37;
  background-color: #dafbe1; }
#contents article div.note {
  border-left-color: #0969da;
  background-color: #ddf4ff; }
#contents article div.important {
  border-left-color: #8250df;
  background-color: #fbefff; }

/* pandocで生成されたtableをデザイン */
#contents article table {
  margin: 1.6rem 0;
  border-collapse: collapse;
  font-size: 0.95em;
  max-width: 100%;
  display: block;
  overflow-x: scroll;
  -webkit-overflow-scrolling: touch; }
  #contents article table th, #contents article table td {
    padding: 4px 10px;
    border: 1px solid #bbb;
    line-height: 1.6em; }
  #contents article table th {
    text-align: center;
    background: #eee; }

/* 文章の途中に [This is a span]{.class} のような表現が可能 */
.highlighter {
  text-decoration: underline;
  text-decoration-thickness: 0.5em;
  text-decoration-color: rgba(255, 228, 0, 0.4);
  text-underline-offset: -0.2em;
  text-decoration-skip-ink: none; }

/* pandocで生成された引用をデザイン */
#contents article blockquote {
  position: relative;
  margin: 2em 0;
  padding: 1em 1em 1em 1.5em;
  font-size: .9em;
  border-left: 5px solid #CCC;
  border-radius: 2px; }
  #contents article blockquote:after {
    position: absolute;
    bottom: 0;
    right: 0;
    content: '”';
    font-family: sans-serif;
    font-size: 6em;
    opacity: 0.1; }

/* mathjaxの横幅はみ出し対応 */
#contents article p {
  overflow-x: auto;
  /* 横スクロール有効化 */
  -webkit-overflow-scrolling: touch;
  /* スマホでスムーズスクロール */
  max-width: 100%;
  /* 親幅を超えない */ }
  #contents article p mjx-container {
    display: inline-block;
    /* 数式幅に合わせる */
    min-width: auto;
    /* 横幅固定を防ぐ */ }

td, li {
  font-size: 0.95em; }

/* Lazy load images 読み込み完了時にふわっと表示 */
img.imgLazy {
  opacity: 0;
  transition: opacity .28s ease-out; }
  img.imgLazy.isLoaded {
    opacity: 1; }

.relatedAmazon {
  margin-top: 2em;
  padding: 1em;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #fafafa; }
  .relatedAmazon h3 {
    font-size: 1.1em;
    margin-bottom: .5em; }
  .relatedAmazon ul {
    list-style: none;
    padding: 0;
    margin: 0; }
    .relatedAmazon ul li {
      margin: .3em 0; }
      .relatedAmazon ul li a {
        color: #0066c0;
        text-decoration: none; }
        .relatedAmazon ul li a:hover {
          text-decoration: underline; }

/*# sourceMappingURL=article.css.map */
