/* EC AI 接客 — 見た目の決まりは入札オープン（本人が良しとした R14・2026-10-13）にそろえる
   - 地は白と無彩色。ブランドの紺（ロゴの中央の葉）は主操作・リンク・選択・見出しの強調語だけ
   - 角は 8px まで。ピルにしない。影は浮かぶ札とスマホの見本だけ。まとまりは余白と罫線で作る
   - 説明は文より先に、挿絵・小さな画面の見本・アイコンで見せる
   - 見出しは Zen Kaku Gothic New、本文は Noto Sans JP、数字は Manrope */

[hidden] { display: none !important; }

:root {
  --bg: #F6F7F9;
  --panel: #FFFFFF;
  --panel-2: #F5F6F8;
  --fg: #1B2130;
  --fg-2: #3D4452;
  --muted: #596070;
  --muted-2: #8A909C;
  --line: #E3E6EB;
  --line-2: #D0D4DB;
  --primary: #393363;
  --primary-2: #2B2650;
  --primary-bg: #EFEEF7;
  --primary-soft: #DCD9EE;
  --green: #25AB38;
  --green-text: #1B7F2A;
  --green-bg: #E8F4EE;
  --orange: #F49600;
  --orange-text: #A35F00;
  --orange-bg: #FDF3E1;
  --danger: #B42318;
  --danger-bg: #FCEDEB;
  --on-primary: #FFFFFF;
  --radius-sm: 4px;
  --radius: 6px;
  --radius-card: 8px;
  --shadow-float: 0 6px 18px -8px rgba(16, 24, 40, 0.22);
  --font-head: "Zen Kaku Gothic New", "Noto Sans JP", system-ui, sans-serif;
  --font-body: "Noto Sans JP", system-ui, -apple-system, "Hiragino Sans", "Yu Gothic UI", sans-serif;
  --font-num: "Manrope", "Noto Sans JP", sans-serif;
  --max: 1200px;
  /* 旧名（画面の JS が参照する名前を残す） */
  --brand-navy: var(--primary);
  --brand-green: var(--green);
  --brand-green-text: var(--green-text);
  --brand-orange: var(--orange);
  --surface: var(--panel);
  --bg-subtle: var(--panel-2);
  --border: var(--line);
  --text: var(--fg);
  --text-muted: var(--muted);
  --link: var(--primary);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--font-body); font-size: 15px; line-height: 1.75; }
img { max-width: 100%; display: block; }
a { color: var(--primary); }
/* 日本語は単語（文節）の途中で改行しない */
h1, h2, h3, p, .check-chip, .float { word-break: auto-phrase; text-wrap: pretty; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 700; line-height: 1.4; margin: 0; letter-spacing: 0.02em; }
p { margin: 0; }
.num { font-family: var(--font-num); font-weight: 700; }
.muted { color: var(--muted); }
.note { font-size: 13px; color: var(--fg-2); line-height: 1.7; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 16px; top: 8px; z-index: 100; background: var(--panel); padding: 8px 12px; border: 1px solid var(--line-2); border-radius: var(--radius); }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.hl { color: var(--primary); }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
@media (max-width: 640px) { .container { padding: 0 16px; } }

/* ===== ヘッダー・フッター ===== */
.site-header { background: var(--panel); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.site-header .bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--fg); font-family: var(--font-head); font-weight: 700; font-size: 18px; }
.brand img { width: 30px; height: 30px; }
.site-header .head-link { font-size: 14px; font-weight: 700; text-decoration: none; color: var(--fg-2); display: inline-flex; align-items: center; gap: 6px; }
.site-header .head-link:hover { color: var(--primary); }
.site-footer { border-top: 1px solid var(--line); background: var(--panel); margin-top: 64px; }
.footer-line { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 20px; padding: 20px 24px; font-size: 13px; color: var(--muted); }
.footer-line a { color: var(--fg-2); }
.demo-label { border: 1px solid var(--line-2); border-radius: var(--radius-sm); padding: 1px 8px; font-size: 12px; }

/* ===== ボタン・入力 ===== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 0 18px; border-radius: var(--radius); border: 1px solid var(--line-2); background: var(--panel); color: var(--fg); font: inherit; font-weight: 700; font-size: 15px; text-decoration: none; cursor: pointer; white-space: nowrap; transition: background 0.15s, border-color 0.15s, transform 0.1s; }
.btn:hover:not(:disabled) { border-color: var(--primary); color: var(--primary); }
.btn:active:not(:disabled) { transform: translateY(1px); }
.btn:disabled { opacity: 0.55; cursor: default; }
.btn-primary { background: linear-gradient(180deg, #46407A 0%, var(--primary) 100%); border-color: var(--primary); color: var(--on-primary); }
.btn-primary:hover:not(:disabled) { background: var(--primary-2); color: var(--on-primary); }
.btn-secondary { background: var(--panel); color: var(--primary); }
.btn-cta { background: linear-gradient(180deg, #46407A 0%, var(--primary) 100%); border-color: var(--primary); color: var(--on-primary); }
.btn-cta:hover:not(:disabled) { background: var(--primary-2); color: var(--on-primary); }
.btn-sm { min-height: 34px; padding: 0 12px; font-size: 13px; }
.btn-lg { min-height: 48px; padding: 0 22px; }
.btn-block { width: 100%; }
.btn .ico, .head-link .ico { width: 16px; height: 16px; flex: none; }
input[type="url"], input[type="text"] { width: 100%; min-height: 48px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--panel); color: var(--fg); font: inherit; font-size: 16px; }
input::placeholder { color: var(--muted-2); }
input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft); }
input[aria-invalid="true"] { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: 13px; min-height: 0; margin-top: 6px; }
.field-error:empty { display: none; }
.alert { padding: 12px 14px; border-radius: var(--radius); font-size: 14px; margin-bottom: 16px; }
.alert-error { background: var(--danger-bg); color: var(--danger); border: 1px solid #F3C9C4; }
.ico { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

/* 小さな札（ピルにしない） */
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--panel); color: var(--fg-2); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.chip:hover { border-color: var(--primary); color: var(--primary); }
.check-chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); font-size: 13px; font-weight: 700; color: var(--fg-2); }
.check-chip .ico { width: 16px; height: 16px; color: var(--primary); }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px 4px 4px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); font-size: 13px; font-weight: 700; color: var(--fg-2); }
.badge b { background: var(--primary); color: #fff; border-radius: var(--radius-sm); padding: 1px 8px; font-size: 12px; }

/* ===== LP: 最初の画面 ===== */
.hero { position: relative; overflow: hidden; background: radial-gradient(900px 420px at 85% 10%, var(--primary-bg) 0%, rgba(239, 238, 247, 0) 70%), linear-gradient(180deg, #FBFBFD 0%, var(--bg) 100%); border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; padding-top: 48px; padding-bottom: 56px; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; padding-top: 28px; padding-bottom: 40px; gap: 28px; } }
.hero h1 { font-size: clamp(30px, 4.4vw, 46px); margin: 16px 0 14px; }
.hero .lead { font-size: 16px; color: var(--fg-2); max-width: 34em; }
.hero .lead b { color: var(--fg); }
.check-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 20px; }
.url-card { background: var(--panel); border: 1px solid var(--line-2); border-radius: var(--radius-card); padding: 16px; }
.url-card .label { display: flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 700; margin-bottom: 10px; }
.url-card .label .ico { color: var(--fg-2); }
.url-form { display: flex; gap: 8px; }
.url-form .field { flex: 1; min-width: 0; }
@media (max-width: 520px) { .url-form { flex-direction: column; } .url-form .btn { width: 100%; } }
.url-card .note { margin-top: 8px; }
.examples { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; }
.examples-label { font-size: 13px; color: var(--muted); font-weight: 700; }
@media (prefers-reduced-motion: no-preference) {
  .url-form input:not(:focus):placeholder-shown { animation: nudge 2.4s ease-in-out 1.2s 2; }
  @keyframes nudge { 0%, 100% { box-shadow: 0 0 0 0 transparent; } 50% { box-shadow: 0 0 0 5px var(--primary-soft); } }
}

/* 右側: AI 店員の見本（挿絵）と、周りに浮かぶ札 */
.hero-art { position: relative; min-height: 440px; display: flex; align-items: center; justify-content: center; }
.hero-art .phone-art { width: min(300px, 78%); filter: drop-shadow(0 18px 30px rgba(27, 33, 48, 0.16)); }
.float { position: absolute; display: inline-flex; align-items: center; gap: 8px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-card); padding: 8px 12px; font-size: 13px; font-weight: 700; color: var(--fg-2); box-shadow: var(--shadow-float); white-space: nowrap; }
.float .ico { width: 18px; height: 18px; color: var(--primary); }
.float.f1 { top: 8%; left: 2%; }
.float.f2 { top: 30%; right: 0; }
.float.f3 { bottom: 22%; left: 0; }
.float.f4 { bottom: 6%; right: 6%; }
.float .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
@media (prefers-reduced-motion: no-preference) {
  .float { animation: bob 5s ease-in-out infinite; }
  .float.f2 { animation-delay: -1.2s; } .float.f3 { animation-delay: -2.4s; } .float.f4 { animation-delay: -3.6s; }
  @keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
  .wave-art rect { animation: wv 1.1s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
  .wave-art rect:nth-child(2) { animation-delay: -0.2s; } .wave-art rect:nth-child(3) { animation-delay: -0.4s; } .wave-art rect:nth-child(4) { animation-delay: -0.6s; } .wave-art rect:nth-child(5) { animation-delay: -0.8s; }
  @keyframes wv { 0%, 100% { transform: scaleY(0.45); } 50% { transform: scaleY(1); } }
}
@media (max-width: 900px) { .hero-art { min-height: 380px; } }
@media (max-width: 520px) { .float { font-size: 12px; padding: 6px 10px; } .float.f2 { top: 26%; } }

/* ===== LP: 節 ===== */
.section { padding: 64px 0 0; }
.section-head { text-align: center; margin-bottom: 28px; }
.section-head h2 { font-size: clamp(24px, 3vw, 32px); }
.section-head p { margin-top: 10px; color: var(--fg-2); }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-card); }

/* 3ステップ（小さな画面の見本を矢印でつなぐ） */
.flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: stretch; gap: 12px; }
.flow .arrow { display: flex; align-items: center; color: var(--primary); }
.flow .arrow svg { width: 36px; }
@media (max-width: 900px) { .flow { grid-template-columns: 1fr; } .flow .arrow { justify-content: center; transform: rotate(90deg); height: 28px; } }
.step-card { padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.step-card h3 { font-size: 18px; display: flex; align-items: center; gap: 10px; }
.step-no { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; background: var(--primary); color: #fff; font-family: var(--font-num); font-size: 13px; flex: none; }
.mini { background: var(--panel-2); border: 1px solid var(--line); border-radius: var(--radius-card); padding: 14px; flex: 1; display: flex; flex-direction: column; gap: 8px; justify-content: center; }
.mini svg { width: 100%; height: auto; }

/* 機能（丸い挿絵） */
.merits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 900px) { .merits { grid-template-columns: 1fr; } }
.feature { padding: 28px 20px 24px; text-align: center; transition: transform 0.15s, box-shadow 0.15s; }
@media (prefers-reduced-motion: no-preference) { .feature:hover { transform: translateY(-3px); box-shadow: var(--shadow-float); } }
.feature .il { width: 132px; height: 132px; margin: 0 auto 16px; }
.feature h3 { font-size: 18px; margin-bottom: 6px; }
.feature p { font-size: 14px; color: var(--fg-2); }

.cta-band { margin-top: 24px; padding: 18px 20px; display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center; }
.cta-band .label { display: flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 700; white-space: nowrap; }
@media (max-width: 760px) { .cta-band { grid-template-columns: 1fr; } }

/* 最近作ったデモ */
.recent-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.recent-list a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-card); background: var(--panel); color: var(--fg); text-decoration: none; font-weight: 700; }
.recent-list a:hover { border-color: var(--primary); }
.recent-list .host { color: var(--muted); font-size: 13px; font-weight: 400; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ===== 読み込み中 ===== */
.page { padding: 32px 0 0; }
.auth-card { max-width: 560px; margin: 24px auto 0; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-card); padding: 28px; }
.auth-card .il { width: 160px; margin: 0 auto 12px; }
.auth-card .h-page { text-align: center; }
.auth-card #lead { text-align: center; margin-top: 6px; }
.bar-track { height: 6px; background: var(--panel-2); border-radius: 3px; overflow: hidden; margin: 20px 0 8px; }
.bar-fill { height: 100%; width: 0; background: linear-gradient(90deg, var(--primary) 0%, #5E57A0 100%); transition: width 0.4s ease; }
.task-list { list-style: none; margin: 0; padding: 0; }
.task-list li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--line); }
.task-list .mark { flex: none; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line-2); display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; color: #fff; margin-top: 2px; }
.task-list li[data-state="done"] .mark { background: var(--green); border-color: var(--green); }
.task-list li[data-state="skipped"] .mark { background: var(--muted-2); border-color: var(--muted-2); }
.task-list li[data-state="failed"] .mark { background: var(--danger); border-color: var(--danger); }
.task-list li[data-state="doing"] .mark { border-color: var(--primary-soft); border-top-color: var(--primary); animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.task-list .detail { display: block; font-size: 13px; color: var(--muted); }

/* ===== デモ画面 ===== */
.loading { text-align: center; padding: 80px 0; color: var(--muted); }
.demo-top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.page-head .h-page { font-size: clamp(22px, 2.6vw, 28px); }
.page-head p { margin-top: 6px; }
.page-head-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.try-other { display: flex; gap: 8px; width: min(460px, 100%); }
.try-other input { min-height: 40px; font-size: 14px; }
.try-other .btn { min-height: 40px; }
.split { display: grid; grid-template-columns: 1fr 380px; gap: 24px; align-items: start; }
@media (max-width: 960px) { .split { grid-template-columns: 1fr; } .preview-col { order: -1; } }
.sticky { position: sticky; top: 80px; }
@media (max-width: 960px) { .sticky { position: static; } }
.learned { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-card); padding: 24px; }
.h-section { font-size: 18px; margin-bottom: 12px; }
.h-sub { font-size: 16px; margin: 24px 0 10px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; align-items: baseline; gap: 8px; }
.count { font-family: var(--font-num); font-size: 13px; color: var(--muted); font-weight: 700; }
.kv { display: grid; grid-template-columns: 9em 1fr; gap: 8px 16px; margin: 0; }
.kv dt { color: var(--muted); font-size: 14px; }
.kv dd { margin: 0; overflow-wrap: anywhere; }
@media (max-width: 520px) { .kv { grid-template-columns: 1fr; gap: 2px; } .kv dd { margin-bottom: 8px; } }
.list-plain { list-style: none; margin: 0; padding: 0; }
.product-list { display: grid; gap: 8px; max-height: 520px; overflow: auto; }
.product-card { display: flex; gap: 12px; align-items: center; padding: 10px; border: 1px solid var(--line); border-radius: var(--radius-card); background: var(--panel); color: var(--fg); text-decoration: none; }
a.product-card:hover { border-color: var(--primary); }
.product-card .thumb { width: 56px; height: 56px; flex: none; border-radius: var(--radius); background: var(--panel-2); overflow: hidden; display: flex; align-items: center; justify-content: center; font-size: 11px; color: var(--muted-2); }
.product-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-card .name { font-weight: 700; font-size: 14px; line-height: 1.5; }
.product-card .price { font-family: var(--font-num); font-weight: 700; color: var(--fg-2); font-size: 14px; }
.faq-item { padding: 10px 0; border-bottom: 1px solid var(--line); }
.faq-item .q { font-weight: 700; }
.faq-item .a { color: var(--fg-2); font-size: 14px; }

/* スマホの見本とウィジェット */
.phone { width: 100%; max-width: 360px; margin: 0 auto; border: 10px solid #1B2130; border-radius: 34px; background: var(--panel-2); overflow: hidden; box-shadow: 0 18px 30px -12px rgba(27, 33, 48, 0.3); }
.phone .screen { position: relative; height: 640px; display: flex; flex-direction: column; }
.phone .site-bar { position: relative; z-index: 1; padding: 8px 14px; font-size: 12px; background: var(--panel); border-bottom: 1px solid var(--line); color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.site-shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
@media (prefers-reduced-motion: no-preference) { .site-shot { transition: opacity 0.4s ease; } }
.phone .screen.has-shot { background: #fff; }
.live-widget { position: relative; z-index: 1; display: flex; flex-direction: column; flex: 1; min-height: 0; background: var(--panel); padding: 12px 14px 8px; }
.phone .screen.has-shot .live-widget { flex: none; height: 74%; margin-top: auto; border-radius: 16px 16px 0 0; border-top: 1px solid var(--line); box-shadow: 0 -10px 28px rgba(0, 0, 0, 0.28); }
.live-widget .head { display: flex; align-items: center; gap: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--primary-bg); color: var(--primary); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; flex: none; }
.who-wrap { flex: 1; min-width: 0; }
.who { font-weight: 700; font-size: 15px; }
.w-status { font-size: 12px; color: var(--muted); }
.in-call .w-status { color: var(--green-text); font-weight: 700; }
.mic-btn { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--primary); color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; flex: none; }
.mic-btn:disabled { background: var(--line-2); cursor: default; }
.in-call .mic-btn { background: var(--green); }
.voice-bar { display: flex; align-items: center; gap: 10px; padding: 8px 10px; margin-top: 10px; border-radius: var(--radius); background: var(--green-bg); border: 1px solid #BFE3CA; font-size: 13px; font-weight: 700; color: var(--green-text); }
.voice-bar #voice-label { flex: 1; }
.end-btn { border: 1px solid #E9B1AB; background: #fff; color: var(--danger); border-radius: var(--radius); padding: 2px 10px; font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; }
.wave { display: inline-flex; gap: 2px; align-items: center; height: 14px; }
.wave i { width: 3px; height: 100%; background: var(--green); border-radius: 2px; animation: wv2 1s ease-in-out infinite; animation-play-state: paused; }
.wave i:nth-child(2) { animation-delay: -0.2s; } .wave i:nth-child(3) { animation-delay: -0.4s; } .wave i:nth-child(4) { animation-delay: -0.6s; } .wave i:nth-child(5) { animation-delay: -0.8s; }
.ai-speaking .wave i { animation-play-state: running; }
@keyframes wv2 { 0%, 100% { transform: scaleY(0.35); } 50% { transform: scaleY(1); } }
@media (prefers-reduced-motion: reduce) { .wave i { animation: none; } }
.voice-note { font-size: 12px; color: var(--muted); margin-top: 4px; }
.voice-note:empty { display: none; }
.messages { flex: 1; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; gap: 8px; padding: 12px 0; }
.bubble { max-width: 85%; padding: 9px 12px; border-radius: 10px; font-size: 14px; line-height: 1.65; white-space: pre-wrap; overflow-wrap: anywhere; }
.bubble.ai { align-self: flex-start; background: var(--panel-2); border: 1px solid var(--line); border-top-left-radius: 4px; }
.bubble.user { align-self: flex-end; background: var(--primary); color: #fff; border-top-right-radius: 4px; }
.bubble.typing::after { content: "…"; animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.bubble.error { background: var(--danger-bg); border-color: #F3C9C4; color: var(--danger); }
.msg-products { display: grid; gap: 6px; align-self: stretch; }
.msg-products .product-card { padding: 8px; }
.msg-products .thumb { width: 44px; height: 44px; }
.quick { display: flex; flex-wrap: wrap; gap: 6px; }
.quick:empty { display: none; }
.tag-btn { border: 1px solid var(--line-2); background: var(--panel); color: var(--primary); border-radius: var(--radius); padding: 4px 10px; font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; text-align: left; }
.tag-btn:hover { border-color: var(--primary); }
.input-row { display: flex; gap: 8px; margin-top: 8px; }
.input-row input { min-height: 42px; font-size: 16px; border-radius: 21px; }
.send-btn { width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--primary); color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; flex: none; }
.send-btn:disabled { background: var(--line-2); }
.powered { text-align: center; font-size: 11px; color: var(--muted-2); margin-top: 6px; }
@media (max-width: 520px) { .phone .screen { height: 600px; } .phone { border-width: 8px; border-radius: 28px; } }

/* ===== 規約 ===== */
.legal { max-width: 760px; }
.legal .h-page { font-size: 26px; margin-bottom: 8px; }
.legal h2 { font-size: 18px; margin: 28px 0 8px; }
.legal p, .legal li { line-height: 1.9; }

.try-band { padding: 12px; margin-bottom: 20px; }
.try-band .try-other { width: 100%; }

/* ===== ワクワクさせる動き（「動きを減らす」設定では止める） ===== */
.hl.mark { background: linear-gradient(transparent 72%, rgba(244, 150, 0, 0.28) 72%); padding: 0 2px; }
.hero-art .glow { position: absolute; border-radius: 50%; filter: blur(40px); opacity: 0.55; z-index: 0; pointer-events: none; }
.hero-art .glow.g1 { width: 260px; height: 260px; background: #DCD9EE; top: 4%; left: 18%; }
.hero-art .glow.g2 { width: 180px; height: 180px; background: #CFEAD6; bottom: 10%; right: 8%; }
.hero-art .glow.g3 { width: 150px; height: 150px; background: #FBE3BC; bottom: 2%; left: 10%; }
.hero-art .phone-art, .hero-art .float { position: relative; z-index: 1; }
.hero-art .float { position: absolute; z-index: 2; }

/* スマホの見本: あいさつ → 質問 → 商品の提案 → カートに入れる、を繰り返す */
@media (prefers-reduced-motion: no-preference) {
  .talk { opacity: 0; animation: talk 9s ease-in-out infinite; transform-box: fill-box; }
  .talk.t1 { animation-name: talk1; } .talk.t2 { animation-name: talk2; } .talk.t3 { animation-name: talk3; }
  @keyframes talk1 { 0%, 6% { opacity: 0; transform: translateY(8px); } 12%, 90% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; } }
  @keyframes talk2 { 0%, 24% { opacity: 0; transform: translateY(8px); } 30%, 90% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; } }
  @keyframes talk3 { 0%, 44% { opacity: 0; transform: translateY(10px); } 52%, 90% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; } }
  .cart-pop { transform-box: fill-box; transform-origin: center; animation: cartpop 9s ease-in-out infinite; }
  @keyframes cartpop { 0%, 64% { transform: scale(1); } 68% { transform: scale(1.25); } 72%, 100% { transform: scale(1); } }
  .hero-art .glow { animation: drift 12s ease-in-out infinite alternate; }
  .hero-art .glow.g2 { animation-delay: -4s; } .hero-art .glow.g3 { animation-delay: -8s; }
  @keyframes drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(18px, -14px) scale(1.08); } }

  /* ボタンに触れると光が走る */
  .shine { position: relative; overflow: hidden; }
  .shine::after { content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.35), transparent); transform: skewX(-20deg); }
  .shine:hover::after { animation: sweep 0.8s ease; }
  @keyframes sweep { to { left: 130%; } }

  /* スクロールで節がふわっと現れる（JS が動く時だけ隠す） */
  .js .reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.5s ease, transform 0.5s ease; }
  .js .reveal.in { opacity: 1; transform: none; }
  .flow .reveal:nth-of-type(3) { transition-delay: 0.08s; } .flow .reveal:nth-of-type(5) { transition-delay: 0.16s; }
  .merits .reveal:nth-child(2) { transition-delay: 0.08s; } .merits .reveal:nth-child(3) { transition-delay: 0.16s; }

  /* 完成した時のチェック */
  .done-check { animation: pop 0.6s cubic-bezier(0.2, 1.6, 0.4, 1) 0.1s both; }
  @keyframes pop { from { transform: scale(0); } to { transform: scale(1); } }
  .scan { animation: scan 2.2s ease-in-out infinite; transform-box: fill-box; }
  @keyframes scan { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-46px, -26px); } }
}

/* 下の案内の帯（紺のグラデーション） */
.band-strong { background: linear-gradient(115deg, #2B2650 0%, #393363 45%, #4D468C 100%); border: 0; border-radius: var(--radius-card); color: #fff; position: relative; overflow: hidden; }
.band-strong::before { content: ""; position: absolute; right: -60px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(244, 150, 0, 0.35), transparent 70%); }
.band-strong .label { color: #fff; position: relative; }
.band-strong .label .ico { color: #FFB23F; }
.band-strong form, .band-strong .field-error { position: relative; }
.band-strong .field-error { color: #FFD3CC; }
.btn-orange { background: linear-gradient(180deg, #FFAE2E 0%, var(--orange) 100%); border-color: var(--orange); color: #1B2130; }
.btn-orange:hover:not(:disabled) { background: #E58C00; color: #1B2130; }
.done-check { display: inline-flex; vertical-align: middle; width: 30px; height: 30px; margin-left: 8px; border-radius: 50%; background: var(--green); color: #fff; align-items: center; justify-content: center; }
.done-check svg { width: 18px; height: 18px; }
