/* ============================================================
 * /app/android/ ページ固有のレイアウト
 *
 * 端末モック(.pm)そのものは _shared/app-mock.css に分離してある。
 * トップページ(/)でも同じモックを使うため、共有できないページ
 * 固有の指定だけをこのファイルに置くこと。
 * 読み込み順: style.css → features-help.css → app-mock.css → app-lp.css
 *
 * 配色トークン(--accent 等)は /assets/style.css の :root を継承する。
 * ============================================================ */

/* ---------- ページ側のレイアウト ---------- */

/* ヒーロー: 動画 + 要点 */
.applead { display: grid; grid-template-columns: 300px 1fr; gap: 48px; align-items: start; }
.applead__video video { width: 100%; height: auto; display: block; border-radius: 14px; border: 1px solid var(--line); background: #000; }
.applead__cap { margin-top: 10px; font-size: 12.5px; color: var(--text-mute); text-align: center; }
.applead__points { margin: 0; padding: 0; list-style: none; }
.applead__points li { position: relative; padding-left: 26px; margin-bottom: 22px; line-height: 1.75; color: var(--text-mid); font-size: 14.5px; }
.applead__points li:last-child { margin-bottom: 0; }
.applead__points li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 12px; height: 12px; border-radius: 50%;
  background: linear-gradient(135deg, #0070f3, #7c3aed);
}
.applead__points strong { display: block; font-size: 16px; color: var(--text); margin-bottom: 3px; }

/* CTA */
.appcta { text-align: center; margin-top: 48px; }
.appcta__soon {
  display: inline-block; padding: 15px 34px; border-radius: 10px;
  background: #f1f1ef; color: var(--text-mute); font-weight: 700;
  border: 1px solid var(--line);
}
.appcta__note { margin-top: 12px; font-size: 13.5px; color: var(--text-mute); }

/* アイコン + アプリ名 */
.appicon { display: flex; align-items: center; gap: 15px; justify-content: center; margin-bottom: 34px; }
.appicon img { width: 68px; height: 68px; border-radius: 16px; display: block; }
.appicon__name { font-size: 19px; font-weight: 700; }
.appicon__sub { font-size: 12.5px; color: var(--text-mute); }

/* 3画面ならべ */
.appscreens { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.appscreens > * { min-width: 0; }

/* 機能ブロック: モック + 説明の交互配置 */
.appfeat { display: grid; grid-template-columns: 360px 1fr; gap: 56px; align-items: center; margin-bottom: 88px; }
.appfeat > * { min-width: 0; }
.appfeat:last-child { margin-bottom: 0; }
.appfeat--rev { grid-template-columns: 1fr 360px; }
.appfeat--rev .appfeat__mock { order: 2; }
.appfeat__t { font-size: 24px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 14px; line-height: 1.35; }
.appfeat__d { color: var(--text-mid); font-size: 15px; margin-bottom: 16px; }
.appfeat__list { list-style: none; margin: 0; padding: 0; }
.appfeat__list li { position: relative; padding-left: 18px; margin-bottom: 9px; font-size: 14px; color: var(--text-mid); line-height: 1.7; }
.appfeat__list li::before { content: ""; position: absolute; left: 0; top: 10px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.appfeat__list strong { color: var(--text); font-weight: 600; }

/* 注記 */
.appnotice {
  border-left: 3px solid var(--accent);
  background: var(--accent-bg);
  padding: 16px 20px; border-radius: 0 8px 8px 0;
  margin: 0 0 26px; line-height: 1.8; font-size: 14.5px;
}

/* 比較表 */
.appcmp { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.appcmp th, .appcmp td { border: 1px solid var(--line); padding: 13px 15px; text-align: left; vertical-align: top; }
.appcmp thead th { background: var(--bg-alt); font-weight: 600; font-size: 14px; }
.appcmp tbody th { background: #fcfcfb; font-weight: 600; width: 26%; }
.appcmp td { color: var(--text-mid); }

/* 商標・免責 */
.appfine { font-size: 12.5px; color: var(--text-mute); line-height: 1.9; margin-top: 30px; }

/* ---------- レスポンシブ ---------- */
@media (max-width: 1184px) {
  .appscreens { grid-template-columns: repeat(2, 1fr); gap: 40px 20px; }
}
@media (max-width: 820px) {
  .appscreens { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 900px) {
  .appfeat, .appfeat--rev { grid-template-columns: 1fr; gap: 30px; }
  .appfeat__mock, .appfeat--rev .appfeat__mock { order: 0; }
  .appfeat { margin-bottom: 64px; }
}
@media (max-width: 760px) {
  .applead { grid-template-columns: 1fr; gap: 30px; }
  .applead__video { max-width: 300px; margin: 0 auto; }
  .appcmp, .appcmp tbody, .appcmp tr, .appcmp td, .appcmp th { display: block; width: auto; }
  .appcmp thead { display: none; }
  .appcmp tr { margin-bottom: 14px; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
  .appcmp tbody th { width: auto; }
  .appcmp th, .appcmp td { border: none; border-bottom: 1px solid var(--line); }
  .appcmp tr td:last-child { border-bottom: none; }
  .appcmp td::before { content: attr(data-l); display: block; font-size: 11.5px; color: var(--text-mute); margin-bottom: 2px; }
}
/* ------------------------------------------------------------
 * 情報密度セクション
 * ブログ /blog/2026-07-28-information-density/ の枠組みに対応:
 *   密度 = 1画面あたりで「判断を終えられる」件数
 *   低下要因 (1)面積 (2)ノイズ (3)情報不足
 * ------------------------------------------------------------ */
.appwhy { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 56px; }
.appwhy__card { border: 1px solid var(--line); border-radius: 12px; padding: 24px 22px; background: var(--bg); }
.appwhy__n {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; border-radius: 50%;
  background: linear-gradient(135deg, #0070f3, #7c3aed);
  color: #fff; font-size: 13px; font-weight: 700; margin-bottom: 12px;
}
.appwhy__t { font-size: 17px; font-weight: 600; margin-bottom: 8px; letter-spacing: -0.01em; }
.appwhy__d { font-size: 14px; color: var(--text-mid); line-height: 1.8; }

/* アカウント切り替えの往復を示す図 */
.appmerge { display: grid; grid-template-columns: 1fr 56px 1fr; align-items: center; gap: 8px; margin-top: 40px; }
.appmerge__side { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; justify-items: center; }
.appmerge__arrow { text-align: center; font-size: 26px; color: var(--text-mute); }
.appmerge__cap { text-align: center; font-size: 13px; color: var(--text-mute); margin-top: 14px; line-height: 1.7; }

/* 概念図としてのミニ端末。実画面の再現ではないのでバーで表す */
.pmini {
  width: 100%; max-width: 148px;
  border: 5px solid #22262f; border-radius: 16px;
  background: #fff; overflow: hidden; padding-bottom: 12px;
}
.pmini__head { display: flex; align-items: center; gap: 6px; padding: 9px 9px 7px; }
.pmini__badge { color: #fff; font-size: 9px; border-radius: 5px; padding: 1px 6px; }
.pmini__n { font-size: 10px; color: #666; }
.pmini__bars { padding: 0 9px; }
.pmini__bar { height: 9px; border-radius: 2px; background: #e9e9ec; margin-bottom: 6px; }
.pmini__bar--on { background: #f3d3dd; }
.pmini__empty { font-size: 9.5px; color: #aaa; padding: 6px 0 2px; }

@media (max-width: 900px) {
  .appwhy { grid-template-columns: 1fr; gap: 16px; margin-bottom: 40px; }
  .appmerge { grid-template-columns: 1fr; gap: 20px; }
  .appmerge__arrow { transform: rotate(90deg); }
}

/* ------------------------------------------------------------
 * 見出しブロックの幅
 * 共通の .sect__head は max-width:720px だが、このページは
 * 比較表・3画面グリッド・密度カードがいずれも .wrap の全幅を使うため、
 * 見出しだけが左に寄って見える。このページ内では全幅に揃える。
 * ------------------------------------------------------------ */
.sect__head { max-width: none; }
