/* FanClip LP 共通スタイル（全ページで読み込む）
   - 色・文字・ヘッダー・フッターの共通部分
   - サブページ（使い方ガイド・プライバシーポリシー・利用規約）の本文で使っている
     ユーティリティクラス（旧Tailwind CDNの書き方）を、ビルドなしで動くように置き換えたもの */

:root{
  --navy-950:#000b3d;
  --navy-900:#050f47;
  --navy-800:#0d1856;
  --violet:#8c52ff;
  --violet-ui:#5b4fe9;
  --violet-soft:#efedfd;
  --cyan:#5ce1e6;
  --magenta:#d14fb5;
  --app-live:#8e24aa;
  --app-result:#fdd835;
  --app-application:#43a047;
  --bg:#f7f7fa;
  --bg-light:#f7f7fa;
  --surface:#ffffff;
  --ink-900:#1a1a1f;
  --ink-700:#3d3d47;
  --ink-500:#6b6b76;
  --divider:#e5e5ea;
  --wrap:1120px;
}

/* ---------- 基本 ---------- */
*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; -webkit-text-size-adjust:100%; }
@media (prefers-reduced-motion: reduce){ html{ scroll-behavior:auto; } }
body{
  margin:0;
  font-family:'Zen Kaku Gothic New','Hiragino Kaku Gothic ProN',sans-serif;
  background:var(--bg);
  color:var(--ink-900);
  line-height:1.8;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
h1,h2,h3,h4,p,ul,ol,figure,blockquote{ margin:0; }
ul,ol{ padding:0; list-style:none; }
img,svg{ display:block; max-width:100%; }
img{ height:auto; }
a{ color:inherit; }
table{ border-collapse:collapse; }
:focus-visible{ outline:3px solid var(--cyan); outline-offset:3px; border-radius:6px; }

.display, .font-display{ font-family:'Zen Maru Gothic','Zen Kaku Gothic New',sans-serif; }
.display{ font-weight:900; letter-spacing:.01em; }
.font-mono{ font-family:'JetBrains Mono',ui-monospace,monospace; }
.balance, .text-balance{ text-wrap:balance; }
.grad-text{
  background:linear-gradient(100deg,var(--violet) 0%,var(--cyan) 100%);
  -webkit-background-clip:text; background-clip:text; color:transparent;
}
.wrap{ max-width:var(--wrap); margin:0 auto; padding:0 20px; }

/* ---------- iPhoneの枠 ---------- */
  /* 画面部分はスクリーンショットと同じ縦横比に固定し、枠はその外側に付ける（画像が切れないようにする） */
  .phone{
    position:relative;
    width:100%;
    border-radius:13%/6.13%;  /* 枠の縦横比（約1:2.12）に合わせて角を真円に近づける */
    padding:2.2%;
    background:linear-gradient(145deg,#2a2a33,#0c0c10);
    box-shadow:0 0 0 1px #3a3a44 inset, 0 30px 60px -20px rgba(10,6,50,.45), 0 12px 24px -12px rgba(10,6,50,.35);
  }
  .phone img{
    width:100%; height:auto;
    aspect-ratio:1320/2868;
    border-radius:11.2%/5.15%;  /* スクリーンショットの縦横比（1320:2868）に合わせる */
    background:#000;
  }

/* ---------- ヘッダー ---------- */
.site-header{
  position:fixed; inset:0 0 auto 0; z-index:50;
  background:rgba(0,11,61,.72);
  backdrop-filter:saturate(160%) blur(14px); -webkit-backdrop-filter:saturate(160%) blur(14px);
  border-bottom:1px solid rgba(255,255,255,.08);
}
.site-header .wrap{ display:flex; align-items:center; justify-content:space-between; height:64px; }
.brand{ display:flex; align-items:center; gap:10px; color:#fff; text-decoration:none; }
.brand img{ width:32px; height:32px; border-radius:9px; }
.brand span{ font-size:18px; }
.nav{ display:flex; align-items:center; gap:24px; }
.nav a{ font-size:14px; color:rgba(255,255,255,.72); text-decoration:none; }
.nav a:hover, .nav a[aria-current="page"]{ color:#fff; }
.nav .nav-cta{
  color:#fff; font-weight:700; padding:8px 16px; border-radius:999px; background:var(--violet-ui);
  white-space:nowrap;
}
@media (max-width:720px){ .nav .nav-link{ display:none; } }

/* ---------- フッター ---------- */
.site-footer{ background:var(--navy-950); border-top:1px solid rgba(255,255,255,.08); color:rgba(255,255,255,.6); padding:56px 0 32px; font-size:13px; line-height:1.8; }
.footer-grid{ display:flex; flex-wrap:wrap; justify-content:space-between; gap:40px; }
.footer-grid .brand span{ font-size:16px; }
.footer-grid .brand img{ width:28px; height:28px; border-radius:8px; }
.footer-tagline{ margin-top:12px; max-width:280px; }
.footer-cols{ display:flex; gap:56px; }
.footer-cols p{ font-size:11px; letter-spacing:.14em; color:rgba(255,255,255,.4); text-transform:uppercase; }
.footer-cols ul{ margin:12px 0 0; display:grid; gap:8px; }
.footer-cols a{ text-decoration:none; }
.footer-cols a:hover{ color:#fff; }
.footer-bottom{ margin-top:40px; padding-top:24px; border-top:1px solid rgba(255,255,255,.08); display:grid; gap:8px; font-size:12px; color:rgba(255,255,255,.4); }

/* ---------- サブページの本文で使うユーティリティ（旧Tailwindの書き方を置き換え） ---------- */
.hidden{ display:none; }
.flex{ display:flex; }
.grid{ display:grid; }
.flex-1{ flex:1 1 0%; min-width:0; }
.flex-wrap{ flex-wrap:wrap; }
.items-start{ align-items:flex-start; }
.items-center{ align-items:center; }
.grid-cols-1{ grid-template-columns:repeat(1,minmax(0,1fr)); }
.gap-2{ gap:.5rem; }
.gap-4{ gap:1rem; }
.gap-6{ gap:1.5rem; }
.space-y-2 > * + *{ margin-top:.5rem; }
.space-y-5 > * + *{ margin-top:1.25rem; }
.space-y-10 > * + *{ margin-top:2.5rem; }

.mx-auto{ margin-left:auto; margin-right:auto; }
.mt-2{ margin-top:.5rem; }
.mt-2\.5{ margin-top:.625rem; }
.mt-3{ margin-top:.75rem; }
.mt-4{ margin-top:1rem; }
.mt-5{ margin-top:1.25rem; }
.mt-8{ margin-top:2rem; }
.mt-10{ margin-top:2.5rem; }
.mt-12{ margin-top:3rem; }
.mt-14{ margin-top:3.5rem; }
.mt-16{ margin-top:4rem; }
.p-5{ padding:1.25rem; }
.p-6{ padding:1.5rem; }
.px-5{ padding-left:1.25rem; padding-right:1.25rem; }
.pt-6{ padding-top:1.5rem; }
.pt-32{ padding-top:8rem; }
.pb-24{ padding-bottom:6rem; }
.pl-5{ padding-left:1.25rem; }

.max-w-xl{ max-width:36rem; }
.max-w-3xl{ max-width:48rem; }
.max-w-4xl{ max-width:56rem; }
.max-w-\[220px\]{ max-width:220px; }
.overflow-x-auto{ overflow-x:auto; }

.rounded{ border-radius:.25rem; }
.rounded-xl{ border-radius:.75rem; }
.rounded-2xl{ border-radius:1rem; }
.rounded-3xl{ border-radius:1.5rem; }

.text-center{ text-align:center; }
.font-bold{ font-weight:700; }
.leading-tight{ line-height:1.25; }
.leading-snug{ line-height:1.375; }
.text-sm{ font-size:.875rem; line-height:1.25rem; }
.text-lg{ font-size:1.125rem; line-height:1.75rem; }
.text-\[12\.5px\]{ font-size:12.5px; }
.text-\[13px\]{ font-size:13px; }
.text-\[14px\]{ font-size:14px; }
.text-\[14\.5px\]{ font-size:14.5px; }
.text-\[15px\]{ font-size:15px; }
.list-disc{ list-style:disc; }

@media (min-width:640px){
  .sm\:mx-0{ margin-left:0; margin-right:0; }
  .sm\:gap-4{ gap:1rem; }
  .sm\:max-w-xs{ max-width:20rem; }
  .sm\:max-w-none{ max-width:none; }
  .sm\:grid-cols-2{ grid-template-columns:repeat(2,minmax(0,1fr)); }
  .sm\:grid-cols-3{ grid-template-columns:repeat(3,minmax(0,1fr)); }
}
@media (min-width:768px){
  .md\:block{ display:block; }
  .md\:p-6{ padding:1.5rem; }
  .md\:p-8{ padding:2rem; }
  .md\:px-8{ padding-left:2rem; padding-right:2rem; }
  .md\:text-xl{ font-size:1.25rem; line-height:1.75rem; }
}
