/*
  StudyReal サイト共通スタイル。
  配色はアプリアイコン（青→紫→ピンクのグラデーション）に合わせている。
  VRog サイトと同じ設計方針（1ファイル・変数で色を持つ・ダーク基調）。
*/
:root {
  --bg: #0e0e13;
  --panel: #16161d;
  --text: #ececf0;
  --muted: #9c9caa;
  --accent: #7d8dff;
  --border: #262633;
  /* アイコンのグラデーション。見出しとボタンで使う。 */
  --grad: linear-gradient(115deg, #4a7cff 0%, #a25cf0 50%, #ff2d78 100%);
}
* { 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 Kaku Gothic ProN",
    "Yu Gothic", Meiryo, sans-serif;
  line-height: 1.8;
}
a { color: var(--accent); }

header.site {
  display: flex; align-items: center; gap: 12px;
  padding: 18px 20px; border-bottom: 1px solid var(--border);
}
header.site .logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 20px; letter-spacing: .02em;
  color: inherit; text-decoration: none;
}
/* アイコンは白背景の PNG。暗い面に載せると四角い白地が浮くので角丸で抜く。 */
header.site .logo img { width: 28px; height: 28px; border-radius: 7px; }
header.site nav { margin-left: auto; display: flex; gap: 18px; font-size: 14px; }
header.site nav a { color: var(--muted); text-decoration: none; }
header.site nav a:hover { color: var(--text); }

.container { max-width: 760px; margin: 0 auto; padding: 32px 20px 80px; }

h1 { font-size: 30px; margin: 8px 0 4px; }
h2 { font-size: 19px; margin: 34px 0 8px; padding-top: 8px; border-top: 1px solid var(--border); }
h2:first-of-type { border-top: none; }
h3 { font-size: 16px; margin: 0 0 4px; }
p, li { color: var(--text); }
.muted { color: var(--muted); font-size: 14px; }
.lead { color: var(--muted); font-size: 17px; }
ul { padding-left: 1.2em; }

/* ヒーロー */
.hero { text-align: center; padding: 56px 0 24px; }
.hero .icon { width: 96px; height: 96px; margin-bottom: 8px; border-radius: 22px; }
.hero h1 {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.tagline { color: var(--muted); margin-top: 2px; }

/* ストアボタン。地域を含めない URL を使う（/jp/ 等を入れると閲覧者のストアへ飛ばない）。 */
.btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 22px; }
.btn {
  display: inline-block; padding: 12px 22px; border-radius: 999px;
  background: var(--grad); color: #fff; font-weight: 700; text-decoration: none;
  font-size: 15px;
}
.btn.secondary { background: none; border: 1px solid var(--border); color: var(--text); }

.card {
  background: var(--panel); border: 1px solid var(--border);
  border-radius: 14px; padding: 20px 22px; margin: 18px 0;
}

/* 特長。3つ並べ、狭い画面では縦積み。 */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; margin: 18px 0; }
.feature { background: var(--panel); border: 1px solid var(--border); border-radius: 14px; padding: 18px 20px; }
.feature .mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 10px; margin-bottom: 8px;
  background: var(--grad); font-size: 18px;
}
.feature p { color: var(--muted); font-size: 14px; margin: 0; }

/* 使い方の3ステップ */
.steps { counter-reset: step; padding: 0; list-style: none; margin: 14px 0 0; }
.steps li { counter-increment: step; position: relative; padding-left: 42px; margin-bottom: 14px; }
.steps li::before {
  counter-increment: none; content: counter(step);
  position: absolute; left: 0; top: 2px;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--grad); color: #fff; font-weight: 700;
  display: flex; align-items: center; justify-content: center; font-size: 14px;
}

footer.site {
  border-top: 1px solid var(--border); padding: 26px 20px 60px;
  text-align: center; color: var(--muted); font-size: 13px;
}
footer.site nav { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 10px; }
footer.site a { color: var(--muted); }

/* staging の見分け（本番と同じ見た目だと取り違えるため）。 */
.env-banner {
  background: #4a2d00; color: #ffd591; text-align: center;
  padding: 6px 12px; font-size: 13px; border-bottom: 1px solid #6b4300;
}
