/* ShootBinder 製品サイト（叩き台 2026-10-07）
   色はアプリの DESIGN.md に合わせる：白い資料面・淡い操作面・青緑のアクセント（StudioStyle.accent）。
   文字はシステムの書体（Apple の端末ではヒラギノ）。Web フォントは読み込まない。 */

:root {
  --bg: #ffffff;
  --surface: #f2f4f5;          /* 淡い操作面（アプリのページの外側 RGB 0.90〜0.92 より少し明るく） */
  --surface-strong: #e6e8eb;
  --text: #16191c;
  --text-sub: #4a5259;
  --line: #d9dde1;
  --accent: #006670;           /* StudioStyle.accent ライト RGB(0, 0.40, 0.44) */
  --accent-soft: #e3f1f2;
  --on-accent: #ffffff;
  --shadow: 0 18px 48px rgba(20, 30, 40, 0.14);
  --radius: 14px;
  --max: 1120px;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111315;
    --surface: #1a1d20;        /* アプリのパネルの面 RGB(0.16, 0.17, 0.18) に近い */
    --surface-strong: #24282c;
    --text: #eef1f3;
    --text-sub: #a9b2ba;
    --line: #30363b;
    --accent: #59d6db;         /* StudioStyle.accent ダーク RGB(0.35, 0.84, 0.86) */
    --accent-soft: #10373a;
    --on-accent: #062326;
    --shadow: 0 18px 48px rgba(0, 0, 0, 0.5);
  }
}

* { 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", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", sans-serif;
  font-size: 16px;
  line-height: 1.8;
  font-feature-settings: "palt" 1;
}

img, video { max-width: 100%; height: auto; display: block; }

/* 見出しは言葉のまとまりで折り返す（「に。」だけが次の行に落ちないように） */
.nb { display: inline-block; }

a { color: var(--accent); }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(100% - 32px, var(--max)); margin-inline: auto; }

/* 上の帯：アイコンと名前だけ（LP からの出口を作らない） */
.site-header { padding: 16px 0; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; font-size: 18px; letter-spacing: 0.01em; }
.brand img { width: 36px; height: 36px; border-radius: 9px; box-shadow: 0 1px 3px rgba(0,0,0,0.2); }
.header-note { color: var(--text-sub); font-size: 13px; }

/* 最初の画面 */
.hero { padding: 40px 0 72px; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 48px; align-items: center; }
.eyebrow { color: var(--accent); font-weight: 700; font-size: 14px; letter-spacing: 0.04em; margin: 0 0 12px; }
h1 { font-size: clamp(32px, 4.6vw, 52px); line-height: 1.3; letter-spacing: -0.01em; margin: 0 0 20px; font-weight: 800; }
.lead { font-size: 18px; color: var(--text-sub); margin: 0 0 28px; }
.hero-shot { border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); background: var(--surface); }
.trust { margin: 20px 0 0; font-size: 14px; color: var(--text-sub); display: flex; align-items: center; gap: 8px; }
.trust::before { content: ""; width: 18px; height: 2px; background: var(--accent); flex: none; }

/* CTA：公開前は「近日公開」（押せない表示）。公開後は App Store のバッジのリンクに差し替える */
.cta { display: inline-flex; align-items: center; gap: 12px; min-height: 52px; padding: 12px 22px; border-radius: 12px; background: var(--accent); color: var(--on-accent); font-weight: 700; font-size: 17px; text-decoration: none; }
.cta[aria-disabled="true"] { cursor: default; }
.cta svg { width: 22px; height: 22px; flex: none; }
.cta-note { display: block; margin-top: 10px; font-size: 13px; color: var(--text-sub); }

/* 節 */
section { padding: 80px 0; }
.section-alt { background: var(--surface); }
h2 { font-size: clamp(24px, 3.2vw, 34px); line-height: 1.4; margin: 0 0 16px; font-weight: 800; letter-spacing: -0.005em; }
.section-lead { color: var(--text-sub); font-size: 17px; max-width: 46em; margin: 0 0 40px; }
h3 { font-size: 20px; line-height: 1.5; margin: 0 0 8px; font-weight: 700; }

/* 共感：3つの困りごと */
.pains { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.pains li { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.pains strong { display: block; margin-bottom: 6px; }
.pains span { color: var(--text-sub); font-size: 15px; }
.answer { margin: 32px 0 0; font-size: 19px; font-weight: 700; }
.answer em { font-style: normal; color: var(--accent); }

/* 強み：画像と文を交互に */
.feature { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 48px; align-items: center; }
.feature + .feature { margin-top: 88px; }
.feature.reverse .feature-shot { order: 2; }
.feature-shot { border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); background: var(--surface); }
.feature-num { display: inline-block; font-size: 13px; font-weight: 800; color: var(--accent); letter-spacing: 0.08em; margin-bottom: 8px; }
.feature p { color: var(--text-sub); margin: 0 0 12px; }
.points { margin: 16px 0 0; padding: 0; list-style: none; }
.points li { position: relative; padding-left: 22px; margin: 6px 0; font-size: 15px; }
.points li::before { content: ""; position: absolute; left: 4px; top: 0.75em; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }

/* そのほかの機能 */
.grid-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.section-alt .card { background: var(--bg); }
.card h3 { font-size: 18px; }
.card p { margin: 0; color: var(--text-sub); font-size: 15px; }
.card img, .card-video { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); margin: 0 0 16px; background: var(--surface); }

/* iPhone */
.phones { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.phone figure { margin: 0; }
.phone img { border-radius: 22px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.phone figcaption { margin-top: 14px; font-size: 14px; color: var(--text-sub); }
.phone figcaption strong { display: block; color: var(--text); font-size: 15px; }
.flow { margin-top: 56px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.flow h3 { font-size: 18px; margin: 0 0 4px; }
.flow-note { margin: 0 0 20px; font-size: 14px; color: var(--text-sub); }
.flow ol { margin: 0; padding: 0; list-style: none; counter-reset: flow; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.flow li { counter-increment: flow; position: relative; padding-left: 44px; font-size: 15px; color: var(--text-sub); }
.flow li::before { content: counter(flow); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: var(--bg); font-weight: 700; font-size: 15px; display: grid; place-items: center; }
.flow li strong { display: block; color: var(--text); font-size: 16px; margin-bottom: 4px; }
.card-note { margin-top: 10px !important; font-size: 13px !important; }

/* よくある質問 */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; font-weight: 700; position: relative; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 8px; top: 14px; font-size: 22px; color: var(--accent); font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0 0 18px; color: var(--text-sub); }

/* 作り手 */
.maker { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 28px; align-items: start; max-width: 860px; }
.maker img { width: 96px; height: 96px; border-radius: 22px; box-shadow: 0 2px 8px rgba(0,0,0,0.15); }
.maker p { color: var(--text-sub); margin: 0 0 12px; }

/* 最後の CTA */
.closing { text-align: center; }
.closing .section-lead { margin-inline: auto; }

/* 下の帯 */
.site-footer { border-top: 1px solid var(--line); padding: 32px 0 48px; font-size: 14px; color: var(--text-sub); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.site-footer a { color: var(--text-sub); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.site-footer a:hover { color: var(--accent); }

/* サポート・プライバシー・特商法の本文 */
.doc { padding: 24px 0 80px; }
.doc .wrap { max-width: 780px; }
.doc h1 { font-size: clamp(28px, 4vw, 38px); margin-bottom: 8px; }
.doc .updated { color: var(--text-sub); font-size: 14px; margin: 0 0 40px; }
.doc h2 { font-size: 22px; margin: 48px 0 12px; }
.doc h3 { font-size: 17px; margin: 28px 0 6px; }
.doc p, .doc li { color: var(--text-sub); }
.doc ul { padding-left: 1.3em; }
.doc dl { margin: 0; border-top: 1px solid var(--line); }
.doc dt { font-weight: 700; padding-top: 16px; }
.doc dd { margin: 4px 0 0; padding-bottom: 16px; border-bottom: 1px solid var(--line); color: var(--text-sub); }
.contact-box { background: var(--accent-soft); border-radius: var(--radius); padding: 24px; margin: 24px 0; }
.contact-box p { margin: 0 0 8px; color: var(--text); }
.contact-box a { font-weight: 700; font-size: 18px; word-break: break-all; }
.back { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; font-size: 15px; }

/* 狭い画面 */
@media (max-width: 900px) {
  .hero .wrap, .feature { grid-template-columns: 1fr; gap: 32px; }
  .feature.reverse .feature-shot { order: 0; }
  .pains, .grid-cards { grid-template-columns: 1fr; }
  .phones { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow ol { grid-template-columns: 1fr; gap: 18px; }
  .flow { padding: 22px; }
  section { padding: 64px 0; }
  .hero { padding: 16px 0 56px; }
  .header-note { display: none; }
}

@media (max-width: 480px) {
  body { font-size: 15px; }
  .lead { font-size: 16px; }
  .maker { grid-template-columns: 1fr; }
  .maker img { width: 72px; height: 72px; border-radius: 16px; }
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
