/* GP studio — 黒基調のシックでシンプルな共通スタイル(JavaScriptなし・外部読み込みなし) */
:root {
  color-scheme: dark;
  --navy: #0e1d3a;       /* ロゴの鼻の線の色(フッター) */
  --accent: #a9b8d6;     /* 紺を明るくした差し色(リンク・タグ) */
  --ink: #e6e4df;        /* 本文の文字(真っ白にしない) */
  --muted: #9a9a9f;      /* 補足の文字 */
  --line: #2a2b2f;       /* 細い線 */
  --paper: #121214;      /* 背景(真っ黒にしない) */
  --surface: #1a1a1d;    /* カードの面 */
  --white: #ffffff;
  --radius: 4px;
  --max: 1040px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Yu Gothic", Meiryo, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0.03em;
}

a { color: var(--accent); text-underline-offset: 3px; }
a:hover { opacity: 0.75; }
img { max-width: 100%; height: auto; display: block; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ヘッダー */
.site-header { border-bottom: 1px solid var(--line); background: var(--paper); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand img { width: 40px; height: 40px; }
.brand span { font-size: 15px; font-weight: 600; letter-spacing: 0.12em; }
.nav { display: flex; gap: 28px; font-size: 14px; }
.nav a { color: var(--ink); text-decoration: none; letter-spacing: 0.1em; }

/* トップの導入 */
.hero { padding: 112px 0 96px; text-align: center; }
.hero img { width: 148px; height: 148px; margin: 0 auto 40px; }
.hero h1 { font-size: 26px; font-weight: 500; letter-spacing: 0.2em; margin: 0 0 16px; }
.hero p { color: var(--muted); margin: 0; font-size: 15px; }

/* 見出し */
.section { padding: 72px 0; border-top: 1px solid var(--line); }
.eyebrow { font-size: 12px; letter-spacing: 0.3em; color: var(--muted); margin: 0 0 8px; }
.section h2 { font-size: 22px; font-weight: 500; letter-spacing: 0.12em; margin: 0 0 40px; }

/* アプリのカード */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 32px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: border-color .2s; }
.card:hover { border-color: var(--accent); opacity: 1; }
.thumb { aspect-ratio: 16 / 9; background: #202024; display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 13px; letter-spacing: 0.1em; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 24px 24px 28px; }
.card-body h3 { margin: 0 0 6px; font-size: 18px; font-weight: 600; letter-spacing: 0.08em; }
.card-body p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.8; }
.tags { display: flex; gap: 8px; margin-bottom: 14px; }
.tag { font-size: 11px; letter-spacing: 0.12em; border: 1px solid var(--line); padding: 2px 10px; border-radius: 999px; color: var(--muted); }
.tag.live { border-color: var(--accent); color: var(--accent); }
.note { margin-top: 32px; color: var(--muted); font-size: 14px; }

/* アプリ・規約ページの本文 */
.page { padding: 72px 0 96px; }
.page .wrap { max-width: 760px; }
.page h1 { font-size: 28px; font-weight: 500; letter-spacing: 0.12em; margin: 0 0 8px; }
.lead { color: var(--muted); margin: 0 0 40px; }
.page h2 { font-size: 18px; font-weight: 600; letter-spacing: 0.08em; margin: 56px 0 16px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.page ul { padding-left: 1.2em; }
.page li { margin-bottom: 6px; }
.shot { margin: 0 0 40px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }

.button { display: inline-block; background: var(--ink); color: var(--paper); text-decoration: none; padding: 14px 40px; border-radius: var(--radius); letter-spacing: 0.15em; font-size: 15px; }
.button:hover { opacity: 0.85; }
.page a.button { color: var(--paper); }
.small { font-size: 13px; color: var(--muted); }

table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { width: 9em; font-weight: 600; white-space: nowrap; }

/* フッター(白いロゴを使う) */
.site-footer { background: var(--navy); color: #c9cfdb; padding: 56px 0 40px; font-size: 13px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.site-footer img { width: 64px; height: 64px; }
.site-footer nav { display: flex; gap: 24px; }
.site-footer a { color: #ffffff; text-decoration: none; letter-spacing: 0.1em; }
.copy { width: 100%; margin: 16px 0 0; color: #8d97ab; font-size: 12px; letter-spacing: 0.1em; }

@media (max-width: 640px) {
  .site-header .wrap { height: 64px; }
  .brand span { display: none; }
  .nav { gap: 20px; }
  .hero { padding: 72px 0 64px; }
  .hero img { width: 116px; height: 116px; }
  .hero h1 { font-size: 20px; letter-spacing: 0.08em; }
  .section { padding: 56px 0; }
  .cards { grid-template-columns: 1fr; }
}
