/* ==========================================================
   ねだん帳 のページだけの見た目
   ==========================================================
   site.css の後に読み、<body class="theme-nedancho"> の中でだけ効く。
   骨格と地・字の色は site.css のまま使い、ストアの入口の色と、
   アプリの画面を横に並べる枠だけを足す（2026-10-31 作成）。

   茶色はアプリの色の種（~/dev/flutter/genka/lib/app/theme.dart の _seed = #9A6B3F）。
   白い地の上で字として読める濃さ（コントラスト 4.5 以上）にしてある。アプリ側を変えたらここも揃える。

   ロゴの赤（--accent）は、サイト共通の決まりどおり .dot だけに使う。
   ========================================================== */

.theme-nedancho {
  --kogecha:      #8a5c33;   /* 種の茶色を、字にしても読める濃さに */
}

@media (prefers-color-scheme: dark) {
  .theme-nedancho {
    --kogecha:    #e2b98f;
  }
}

.theme-nedancho a:hover { text-decoration-color: var(--kogecha); }
.theme-nedancho .app-hero img { border-radius: 20px; box-shadow: 0 0 0 1px var(--rule); }
.theme-nedancho .store { border-color: var(--kogecha); color: var(--kogecha); }
.theme-nedancho .store:hover { background: var(--kogecha); color: var(--ground); }
.theme-nedancho .store[aria-disabled="true"] { border-color: var(--rule); color: var(--ink-faint); }

/* 画面は横に並べ、はみ出した分は横にめくる（Sei のページと同じ作り）。
   縦に積むと7枚で画面が長くなりすぎ、ほかの説明までたどり着けないため。 */
.nedancho-shots {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(180px, 1fr);
  gap: var(--s4);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: var(--s3);
  margin: 0;
  /* 横のスクロールバーの色。指定しないとダークの表示で白い帯が浮く */
  scrollbar-width: thin;
  scrollbar-color: var(--ink-faint) transparent;
}
.nedancho-shots figure { margin: 0; scroll-snap-align: start; min-width: 0; }
.nedancho-shots img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
  box-shadow: 0 0 0 1px var(--rule);
}
.nedancho-shots figcaption {
  margin-top: var(--s2);
  font-size: 13px;
  color: var(--ink-soft);
  text-align: center;
}
