/* アプリ一覧（アイコンと名前、一行の説明。画面画像は置かない）。
   押すと App Store のページが新しいタブで開く。
   site.css は記事図の fingerprint に入るため、アプリ専用のスタイルはここに置く。 */

.app-index-heading { margin-top: 2rem; }
.app-index-section { padding-top: 0; }

/* site.css の `.indexed a { display: block }` より詳細度を上げる */
.indexed a.app-index-card {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr);
  gap: 1rem 1.5rem;
  align-items: center;
}
.app-index-text { min-width: 0; }
.app-index-text .indexed-num { margin-top: 0; }
.app-index-text .indexed-title { margin-bottom: .25rem; }
.app-index-text .indexed-title-ja {
  margin: 0;
  font-size: 1rem;
  font-weight: 400;
  color: var(--ink-60);
  /* 「カレンダー」の「ー」などが単独で次の行に落ちないようにする */
  line-break: strict;
}
.app-index-text .app-title-unit { white-space: nowrap; }

/* 一覧の下の、使い方の読みもの（文字のリンクだけ） */
.app-guide-section { padding-top: 0; }
.app-guide-section h2 {
  margin: 0 0 .5rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink-60);
}
.app-guide-section ul { margin: 0; padding-left: 1.2em; }


.app-icon {
  display: block;
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 22.37%;
  background: var(--rule);
}


/* 1024px 以上は 1 カラムの行ではなく、6つのカードを 3 列に並べる。
   中身は今と同じ（アイコン・名前・プラットフォーム・一行説明）。画面画像は置かない。 */
@media (min-width: 64rem) {
  .app-index-section .indexed {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
  }
  .app-index-section .indexed > li,
  .app-index-section .indexed > li:last-child {
    border: 1px solid var(--rule);
    padding: 0;
  }
  .indexed a.app-index-card {
    align-items: start;
    gap: .85rem 1.15rem;
    padding: 1.5rem;
    height: 100%;
    box-sizing: border-box;
  }
}
