/* マイクロファンドのアプリ一覧（app.microfund.co.jp）。読むだけのサイト。
   スマホで読める大きさ（本文 16px・表 15px）。上から下へ 1列に並べる。 */
:root {
  --bg: #f7f8fa;
  --panel: #ffffff;
  --text: #1c2430;
  --muted: #4a5568;
  --border: #d5dbe5;
  --link: #0b5cad;
  --head: #0a0e17;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.9;
}
a { color: var(--link); }
.top { background: var(--head); padding: 12px 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 700; font-size: 17px; }
.brand img { display: block; border-radius: 6px; }
.main { max-width: 760px; margin: 0 auto; padding: 20px 16px 8px; }
h1 { font-size: 24px; line-height: 1.5; margin: 8px 0 14px; }
h2 { font-size: 19px; line-height: 1.5; margin: 26px 0 10px; }
h3 { font-size: 18px; line-height: 1.5; margin: 0 0 6px; }
p { margin: 0 0 10px; }
ul, ol { margin: 0 0 10px; padding-left: 1.4em; }
li { margin: 0 0 4px; }
.about, .sec, .note, .app {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
  margin: 0 0 16px;
}
.about > :last-child, .sec > :last-child, .note > :last-child, .app > :last-child { margin-bottom: 0; }
.sec > h2, .note > h2 { margin-top: 0; }
.apps { list-style: none; padding: 0; margin: 0 0 16px; }
.app-summary, .lead { color: var(--text); }
.facts { margin: 0 0 10px; }
.facts dt { font-weight: 700; font-size: 15px; color: var(--muted); margin-top: 6px; }
.facts dd { margin: 0; overflow-wrap: anywhere; }
.app-link a, .links a { font-weight: 700; }
.tbl { width: 100%; border-collapse: collapse; font-size: 15px; margin: 0 0 10px; }
.tbl th, .tbl td { border: 1px solid var(--border); padding: 8px 10px; text-align: left; vertical-align: top; }
.tbl th { background: #eef1f6; }
.tbl .num { text-align: right; white-space: nowrap; }
.crumb { font-size: 15px; margin: 0; }
.asof { font-size: 15px; color: var(--muted); }
.links { list-style: none; padding: 0; margin: 18px 0 8px; }
.links li { margin: 0 0 8px; }
.foot { max-width: 760px; margin: 0 auto; padding: 16px 16px 32px; border-top: 1px solid var(--border); font-size: 15px; color: var(--muted); }
.foot ul { list-style: none; padding: 0; }
.foot-note { margin-top: 10px; }
/* 一覧: アイコンのカードを並べる（スマホは 1列、広い画面は 2列） */
.shelf-title { margin-top: 6px; }
.shelf { list-style: none; padding: 0; margin: 0 0 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.card { margin: 0; background: var(--panel); border: 1px solid var(--border); border-radius: 16px; }
.card-link { display: flex; gap: 14px; align-items: flex-start; padding: 14px; color: var(--text); text-decoration: none; height: 100%; }
.card-link:hover { background: #f1f5fb; border-radius: 16px; }
.card-icon { flex: 0 0 72px; width: 72px; height: 72px; border-radius: 16px; display: block; background: #e6eaf1; }
.card-body { display: flex; flex-direction: column; min-width: 0; }
.card-name { font-weight: 700; font-size: 17px; line-height: 1.5; color: var(--link); }
.card-pub { font-size: 14px; color: var(--muted); line-height: 1.6; }
.card-summary { font-size: 15px; line-height: 1.7; margin: 4px 0 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font-size: 13px; line-height: 1.4; padding: 3px 10px; border: 1px solid var(--border); border-radius: 999px; background: #eef1f6; color: var(--muted); }
/* アプリのページ: アイコンと名前 → 3つの数字の行 → 主な操作 */
.hero { display: flex; gap: 16px; align-items: center; margin: 10px 0 14px; }
.hero-icon { flex: 0 0 96px; width: 96px; height: 96px; border-radius: 22px; display: block; background: #e6eaf1; }
.hero-body { min-width: 0; }
.hero h1 { margin: 0 0 2px; }
.hero-pub { margin: 0; color: var(--link); font-weight: 700; font-size: 15px; }
.stats { list-style: none; padding: 0; margin: 0 0 14px; display: flex; }
.stats li { flex: 1 1 0; margin: 0; padding: 4px 8px; text-align: center; border-left: 1px solid var(--border); display: flex; flex-direction: column; }
.stats li:first-child { border-left: 0; }
.stat-v { font-weight: 700; font-size: 15px; line-height: 1.6; }
.stat-k { font-size: 13px; color: var(--muted); line-height: 1.5; }
.actions { display: flex; gap: 10px; margin: 0 0 18px; }
.btn { flex: 1 1 0; display: block; text-align: center; padding: 11px 12px; border-radius: 10px; border: 1px solid var(--link); color: var(--link); background: var(--panel); font-weight: 700; text-decoration: none; }
.btn-main { background: var(--link); color: #fff; }
/* AI エージェントに渡す文の例（長押しでコピーできるように、折り返して全部見せる） */
.prompt-label { font-weight: 700; font-size: 15px; margin: 12px 0 4px; }
.prompt { margin: 0 0 8px; padding: 10px 12px; background: #eef1f6; border: 1px solid var(--border); border-radius: 10px; font-family: inherit; font-size: 15px; line-height: 1.8; white-space: pre-wrap; overflow-wrap: anywhere; user-select: all; -webkit-user-select: all; }
@media (max-width: 700px) {
  h1 { font-size: 21px; }
  .shelf { grid-template-columns: 1fr; }
  .hero-icon { flex-basis: 76px; width: 76px; height: 76px; border-radius: 18px; }
  .tbl { font-size: 14.5px; }
  .tbl th, .tbl td { padding: 7px 8px; }
}

/* 配布の形と APK の欄（2026-10-04） */
.dist-list { list-style: none; padding: 0; margin: 0; }
.dist { margin: 0 0 6px; padding: 8px 12px; border-radius: 10px; border: 1px solid var(--border); background: var(--panel); font-weight: 700; }
.dist-on { border-color: #2e7d4f; color: #1f5e3a; background: #eef8f1; }
.dist-wait { border-color: #b98900; color: #6b5200; background: #fff8e1; }
.chip-on { border-color: #2e7d4f; color: #1f5e3a; background: #eef8f1; }
.chip-wait { border-color: #b98900; color: #6b5200; background: #fff8e1; }
.hash { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 13px; overflow-wrap: anywhere; word-break: break-all; }
.btn-big { font-size: 17px; padding: 14px 12px; }
.sec h3 { font-size: 16px; margin: 14px 0 6px; }
/* 長い URL（latest.json など）で、スマホの幅から横にはみ出さないようにする（2026-10-04） */
.sec li, .note li, .sec p, .note p, .sec dd { overflow-wrap: anywhere; }
/* 折りたたみ（2026-10-04 社長「一つ一つ説明文が長いので、短く切ってください」）。details／summary だけで開く・閉じる（JavaScript なし）。
   summary の言葉は、前からある見出しの言葉。中の文は、1字も変えていない */
.fold > summary { cursor: pointer; padding: 10px 0; min-height: 44px; box-sizing: border-box; color: var(--text); }
.fold > summary h2 { display: inline; margin: 0; font-size: 19px; line-height: 1.5; }
.fold[open] > summary { margin-bottom: 6px; }
details.note.fold { padding-top: 4px; padding-bottom: 4px; }
details.note.fold[open] { padding-bottom: 14px; }
section.note > details.fold:first-child > summary { padding-top: 0; }
.sent { display: block; margin: 0 0 6px; }
.sent:last-child { margin-bottom: 0; }
/* 下の欄のいちばん上の、自社のほかのサイトへのボタン（2026-10-05。extension の .foot-app-btn と同じ形）。縦に並べて中央そろえ */
.foot-sites { display: flex; flex-direction: column; align-items: center; gap: 10px; margin: 0 0 16px; }
.foot-site-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; box-sizing: border-box; max-width: 100%; min-height: 44px; padding: 8px 22px; border: 1px solid var(--border); border-radius: 999px; background: #fff; color: var(--text); font-weight: 700; text-decoration: none; text-align: center; }
.foot-site-btn:hover, .foot-site-btn:focus-visible { border-color: currentColor; }
/* 表示言語の切り替え（2026-10-05。下の欄のいちばん下。hype の .footer-lang と同じ形。押しやすいように、行の高さを取る） */
.foot-lang { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 14px; font-size: 15px; }
.foot-lang a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); text-decoration: none; }
.foot-lang a.on { color: var(--text); font-weight: 600; text-decoration: underline; }
