/* 下層のページ (機能・使い方・比較) の共通の見た目。
   トップ (lp/index.html) と同じ決まり: 地 #FFFFFF・面 #F5F5F7・文字 #111214・差し色は琥珀 #EDB23A の 1 色。
   各ページの <style> のあとに読み込み、同じ名前の決まりを上書きする (ページ固有の部品はそのページの <style> に残る)。
   2026-11-15 オーナー「こっちのページって魅力的に見えない」。 */
:root {
  --bg: #FFFFFF; --text: #111214; --muted: #5C5D62; --faint: #8E8E93;
  --line: rgba(17,18,20,0.08); --gold: #8A6512; --yellow: #EDB23A;
  --card: #F5F5F7; --amber: #EDB23A; --amber-wash: rgba(237,178,58,0.2);
  --ease: cubic-bezier(.22,1,.36,1);
  color-scheme: light;
}
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); line-height: 1.8; letter-spacing: 0; -webkit-font-smoothing: antialiased; }

/* ── ナビ ── */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.78); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); }
.nav-inner { max-width: 1080px; padding: 14px 24px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font: 800 17px/1 'Inter', sans-serif; letter-spacing: -0.01em; color: var(--text); }
.logo::before { content: ""; width: 28px; height: 28px; border-radius: 7px; background: url(/app_icon.png) center / cover no-repeat; }
.nav-back { font-size: 13px; font-weight: 600; color: var(--muted); padding: 8px 12px; border-radius: 10px; border: 1px solid var(--line); transition: background-color .25s var(--ease), color .25s var(--ease); }
.nav-back:hover { background: var(--card); color: var(--text); }

/* ── 本文 ── */
main { max-width: 880px; padding: 104px 24px 0; }
h1 { font-family: 'Noto Sans JP', 'Inter', sans-serif; font-size: clamp(34px, 6vw, 60px); font-weight: 700; letter-spacing: -0.035em; line-height: 1.2; margin-bottom: 22px; }
.lead { font-size: 17px; line-height: 1.95; color: var(--muted); max-width: 40em; }
section { margin-top: 128px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: 0; color: var(--gold); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--amber); }
h2 { font-family: 'Noto Sans JP', 'Inter', sans-serif; font-size: clamp(26px, 4vw, 40px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.3; margin-bottom: 18px; }
h3 { font-family: 'Noto Sans JP', 'Inter', sans-serif; letter-spacing: -0.01em; }
.mark { background: linear-gradient(transparent 62%, rgba(237,178,58,0.55) 62%); padding: 0 2px; }
.dim, p.dim { color: var(--muted); font-size: 16px; line-height: 1.95; max-width: 40em; }
.note { font-size: 13px; line-height: 1.8; color: var(--faint); margin-top: 22px; max-width: 46em; }
main a:not(.cta-btn) { color: inherit; text-underline-offset: 3px; }

/* ── 面の部品 ── */
.feature { display: block; padding: 26px 28px; margin-top: 10px; border: 0; border-radius: 20px; background: var(--card); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.feature:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(17,18,20,0.07); }
.feature .icn { width: 22px; height: 22px; margin: 0 0 12px; color: var(--gold); }
.feature h3 { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.feature p { color: var(--muted); font-size: 14.5px; line-height: 1.85; max-width: none; }

.steps { counter-reset: step; list-style: none; margin-top: 30px; display: grid; gap: 10px; border: 0; }
.steps li { counter-increment: step; position: relative; padding: 22px 26px 22px 72px; border: 0; border-radius: 20px; background: var(--card); font-size: 16px; }
.steps li::before { content: counter(step); position: absolute; left: 24px; top: 22px; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--amber); color: #111214; font: 800 14px/1 'Inter', sans-serif; }
.steps b { display: block; font-weight: 700; }
.steps span { display: block; color: var(--muted); font-size: 14px; margin-top: 3px; }

.access { margin-top: 30px; border: 0; display: grid; gap: 10px; }
.access-row { padding: 20px 26px; border: 0; border-radius: 16px; background: var(--card); grid-template-columns: 190px 1fr; gap: 20px; }
.access-row b { font-size: 15px; font-weight: 700; }
.access-row span { color: var(--muted); font-size: 14.5px; }

.link-demo { margin-top: 30px; padding: 22px 26px; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: 0 20px 50px rgba(17,18,20,0.08); }
.link-demo code { font-family: 'Inter', 'Noto Sans JP', sans-serif; font-size: 15px; line-height: 1.9; color: var(--muted); }
.link-demo span { background: var(--amber); border-radius: 8px; color: #111214; }

.prompts { margin-top: 30px; gap: 10px; }
.prompt { background: var(--card); border: 0; box-shadow: none; border-radius: 16px 16px 16px 4px; padding: 14px 20px; font-size: 15.5px; font-weight: 600; }
.prompt:nth-child(even) { background: #111214; color: #F5F4F0; border: 0; border-radius: 16px 16px 4px 16px; }

.faq { border: 0; display: grid; gap: 10px; margin-top: 26px; }
.faq-item { padding: 22px 26px; border: 0; border-radius: 16px; background: var(--card); }
.faq-item dt { font-weight: 700; font-size: 16px; margin-bottom: 6px; }
.faq-item dd { color: var(--muted); font-size: 14.5px; line-height: 1.85; }

.statement { margin-top: 150px; text-align: center; font-family: 'Noto Sans JP', 'Inter', sans-serif; font-size: clamp(28px, 5vw, 46px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.35; }
.statement small { margin: 18px auto 0; font-size: 15px; font-weight: 400; color: var(--muted); letter-spacing: 0; line-height: 1.9; }
.statement .spark { display: none; }

.cta { position: relative; overflow: hidden; margin-top: 96px; padding: 64px 28px; border-radius: 28px; background: #111214; text-align: center; }
.cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(55% 80% at 82% 0%, rgba(237,178,58,0.2), transparent 70%); pointer-events: none; }
.cta p { position: relative; color: rgba(245,244,240,0.78); font-size: 15px; margin-bottom: 24px; }
.cta-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; height: 48px; padding: 0 28px; border-radius: 10px; background: var(--amber); color: #111214; font-weight: 700; font-size: 15px; text-decoration: none; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.cta-btn:hover { opacity: 1; transform: translateY(-2px); box-shadow: 0 12px 28px rgba(237,178,58,0.3); }
.cta-btn:active { transform: scale(0.97); transition-duration: .12s; }

/* ── 最初の絵: AI に聞く (feature/claude.html) ── */
.sx-demo { margin-top: 44px; border-radius: 24px; background: var(--card); padding: 14px; }
.sx-win { border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: 0 24px 60px rgba(17,18,20,0.10); padding: 22px 24px 26px; }
.sx-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.sx-chips span { padding: 6px 11px; border-radius: 8px; font-size: 12.5px; font-weight: 700; color: var(--muted); background: var(--card); border: 1px solid var(--line); white-space: nowrap; transition: background-color .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease); }
.sx-chips span.on { background: #111214; color: #F5F4F0; border-color: #111214; }
.sx-q { margin: 20px 0 0 auto; width: fit-content; max-width: 86%; padding: 12px 18px; border-radius: 16px 16px 4px 16px; background: #111214; color: #F5F4F0; font-size: 15.5px; font-weight: 600; line-height: 1.7; }
.sx-a { margin-top: 12px; max-width: 92%; padding: 16px 20px; border-radius: 16px 16px 16px 4px; background: var(--card); font-size: 15.5px; line-height: 1.95; min-height: 9.8em; white-space: pre-line; }
.sx-a .caret { display: inline-block; width: 2px; height: 1.1em; margin-left: 1px; vertical-align: -0.18em; background: var(--amber); animation: sxblink 1s steps(1) infinite; }
@keyframes sxblink { 50% { opacity: 0; } }
.sx-src { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 12.5px; color: var(--faint); }
.sx-src b { font-weight: 600; color: var(--muted); padding: 5px 10px; border-radius: 8px; background: var(--amber-wash); }
.js .sx-src { opacity: 0; transform: translateY(6px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.js .sx-demo.done .sx-src { opacity: 1; transform: none; }

/* ── 入場 ── */
.js .rv { opacity: 0; transform: translateY(24px); filter: blur(8px); transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease); transition-delay: var(--d, 0s); }
.js .rv.in { opacity: 1; transform: none; filter: none; }

@media (max-width: 700px) {
  main { padding: 72px 20px 0; }
  section { margin-top: 96px; }
  .lead { font-size: 16px; }
  .feature { padding: 22px 22px; }
  .steps li { padding: 20px 20px 20px 64px; } .steps li::before { left: 18px; top: 20px; }
  .access-row { grid-template-columns: 1fr; gap: 4px; padding: 18px 20px; }
  .statement { margin-top: 112px; }
  .cta { padding: 48px 22px; margin-top: 72px; }
  .sx-win { padding: 18px 16px 20px; } .sx-q, .sx-a { font-size: 14.5px; } .sx-a { min-height: 13.5em; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js .rv, .js .sx-src { opacity: 1; transform: none; filter: none; }
}

/* 面の部品が並ぶときは 2 列に (1 列に 6 枚続くと長い) */
div:has(> .feature + .feature) { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
div:has(> .feature + .feature) > .feature { margin-top: 0; }
@media (max-width: 700px) { div:has(> .feature + .feature) { grid-template-columns: 1fr; } }

/* 本文の最後と共通のフッターの間 (幅ごとの決まりのあとに置く) */
main { padding-bottom: 96px; }
@media (max-width: 700px) { main { padding-bottom: 72px; } }
