@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: 3px 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 code {
  background: rgba(255, 255, 255, 0.55); }
#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; }

/* 単体カード */
.appCard {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1rem;
  align-items: center;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 1rem;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  transition: box-shadow 150ms ease, transform 150ms ease;
  will-change: box-shadow, transform;
  /* 画像 */
  /* コンテンツ */
  /* ストアボタン群（将来Google Playを追加する想定） */
  /* 汎用ストアボタン */ }
  .appCard:hover {
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
    transform: translateY(-1px); }
  @media (max-width: 560px) {
    .appCard {
      grid-template-columns: 1fr;
      text-align: left; } }
  .appCard .appImg {
    display: block;
    width: 120px;
    height: 120px;
    border-radius: 20%;
    background: #f8fafc;
    object-fit: cover; }
  .appCard .appContent {
    display: grid;
    gap: .5rem; }
  .appCard .appTitle {
    margin: 0;
    font-size: 1.125rem;
    /* 18px */
    line-height: 1.35;
    font-weight: 700;
    color: #0f172a; }
  .appCard .appDesc {
    margin: 0;
    color: #334155;
    font-size: .95rem; }
  .appCard .storeButtons {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-top: .5rem; }
  .appCard .storeButton {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    padding: .55rem .9rem;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    background: #0f172a;
    /* 深い紺 */
    color: #fff;
    text-decoration: none;
    line-height: 1;
    white-space: nowrap;
    transition: transform 120ms ease, box-shadow 120ms ease, background 120ms ease;
    /* ボタン内の二段組みテキスト */ }
    .appCard .storeButton:hover, .appCard .storeButton:focus-visible {
      background: #111827;
      box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
      transform: translateY(-1px); }
    .appCard .storeButton:active {
      transform: translateY(0); }
    .appCard .storeButton .storeMain {
      opacity: .9;
      font-size: .8rem; }
    .appCard .storeButton .storeSub {
      font-weight: 700;
      font-size: 1rem;
      margin-left: .2rem; }
    .appCard .storeButton.storeButtonIos {
      background: #000; }
    .appCard .storeButton.storeButtonAndroid {
      background: #3ddc84; }

.articleNav {
  display: grid;
  /* 2列を基本に、幅が足りなければ自動で1列へ */
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 12px;
  margin-top: 3rem;
  padding-top: 1.25rem;
  border-top: 1px solid #e5e7eb; }

.articleNavPrev,
.articleNavNext {
  min-width: 0; }

.articleNavLink {
  box-sizing: border-box;
  display: grid;
  grid-template-rows: auto 1fr;
  /* 1行目=ラベル、2行目=タイトル */
  align-content: start;
  gap: .25rem;
  width: 100%;
  padding: .875rem 1rem;
  border: 1px solid #e6e8ee;
  border-radius: .75rem;
  background: linear-gradient(#fafafa, #f5f5f7);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.03) inset;
  text-decoration: none;
  color: inherit;
  transition: transform .06s ease, box-shadow .2s ease, background .2s ease;
  /* 3点リーダをやめて自由に折り返し */
  white-space: normal;
  overflow-wrap: anywhere; }
  .articleNavLink:hover {
    background: #fff;
    box-shadow: 0 6px 14px rgba(17, 24, 39, 0.08);
    transform: translateY(-1px); }
  .articleNavLink:active {
    transform: translateY(0); }
  .articleNavLink:focus-visible {
    outline: 2px solid #2563eb;
    outline-offset: 2px; }

.articleNavLabel {
  font-size: .75rem;
  color: #6b7280;
  letter-spacing: .02em; }

.articleNavTitle {
  font-weight: 600;
  line-height: 1.45; }

/* 矢印は使わないため、擬似要素は定義しない */

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