:root {
  --bg: #f6f7fb;
  --surface: #ffffff;
  --text: #14182b;
  --muted: #5d6478;
  --line: #e3e6ef;
  --brand-1: #0b2a6b;
  --brand-2: #0a6fb8;
  --brand-3: #19b5c9;
  --accent: #1f6fe0;
  --accent-soft: #e7f0fe;
  --ai: #7a4fd6;
  --ai-soft: #f2ecff;
  --rec: #ef3b3b;
  --green: #2bb673;
  --orange: #f29a1f;
  --note: #fff7e3;
  --note-line: #f2d68e;
  --shadow: 0 10px 30px rgba(20, 30, 70, .10);
  --shadow-phone: 0 30px 60px rgba(5, 20, 60, .35);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d1020;
    --surface: #171b2e;
    --text: #e9ecf6;
    --muted: #a3a9bd;
    --line: #2a3048;
    --accent: #6ea4ff;
    --accent-soft: #1b2847;
    --ai: #b597ff;
    --ai-soft: #251e3f;
    --note: #2a2516;
    --note-line: #6b5a2a;
    --shadow: 0 10px 30px rgba(0, 0, 0, .35);
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  font-size: 16px;
  line-height: 1.85;
  overflow-x: hidden;
}
a { color: var(--accent); }
img { max-width: 100%; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }

/* ヘッダー */
header.site {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--surface) 78%, transparent);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--line);
}
header.site .wrap { display: flex; align-items: center; gap: 10px; height: 56px; }
header.site img { width: 32px; height: 32px; border-radius: 8px; }
header.site .name { font-weight: 800; font-size: 18px; text-decoration: none; color: var(--text); letter-spacing: .01em; }
header.site .name span { color: var(--brand-3); }
header.site nav { margin-left: auto; display: flex; gap: 18px; font-size: 14px; }
header.site nav a { text-decoration: none; color: var(--muted); white-space: nowrap; }
header.site nav a[aria-current="page"] { color: var(--text); font-weight: 700; }

/* ヒーロー */
.hero {
  position: relative;
  color: #fff;
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(25,181,201,.55), transparent 60%),
    radial-gradient(900px 500px at -10% 110%, rgba(122,79,214,.45), transparent 60%),
    linear-gradient(135deg, var(--brand-1), var(--brand-2));
  overflow: hidden;
}
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 32px; align-items: center; padding-top: 64px; padding-bottom: 0; }
.hero .copy { padding-bottom: 72px; }
.hero .app { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.hero .app img { width: 64px; height: 64px; border-radius: 15px; box-shadow: 0 8px 24px rgba(0,0,0,.3); }
.hero .app .t { font-weight: 800; font-size: 22px; line-height: 1.2; }
.hero .app .s { font-size: 13px; opacity: .8; }
.nb { display: inline-block; }
.hero h1 { font-size: 38px; line-height: 1.35; margin: 0 0 16px; letter-spacing: .01em; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, #8ef0ff, #c9b6ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: 17px; opacity: .92; margin: 0 0 24px; max-width: 30em; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; padding: 5px 12px; border-radius: 999px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25); }
.chip svg { width: 15px; height: 15px; }
.hero .phones { position: relative; height: 520px; }
.phone {
  position: absolute; width: 230px; aspect-ratio: 1206 / 2622;
  border-radius: 38px; padding: 8px; background: #0b0d14;
  box-shadow: var(--shadow-phone);
}
.phone img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 31px; }
.hero .phone.back { left: 8%; top: 70px; transform: rotate(-6deg); }
.hero .phone.front { right: 6%; top: 24px; transform: rotate(4deg); }

/* セクション共通 */
.section { padding: 72px 0; }
.section.alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .08em; color: var(--brand-3); margin-bottom: 6px; }
h2 { font-size: 30px; line-height: 1.4; margin: 0 0 12px; scroll-margin-top: 72px; }
h2 + p.sub { color: var(--muted); margin: 0 0 32px; max-width: 40em; }
h3 { font-size: 18px; margin: 0 0 6px; line-height: 1.5; }

/* 特長 */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 22px; box-shadow: var(--shadow); }
.section.alt .feature { background: var(--bg); box-shadow: none; }
.feature p { margin: 0; color: var(--muted); font-size: 15px; }
.icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: #fff; margin-bottom: 14px; }
.icon svg { width: 24px; height: 24px; }
.i-blue { background: linear-gradient(135deg, #2f80ed, #1aa6d9); }
.i-red { background: linear-gradient(135deg, #ff5f5f, #e0352f); }
.i-green { background: linear-gradient(135deg, #3ccf8e, #22a565); }
.i-purple { background: linear-gradient(135deg, #a26bff, #6c45d9); }
.i-orange { background: linear-gradient(135deg, #ffb340, #f08a12); }
.i-teal { background: linear-gradient(135deg, #22c3d6, #0a8fb0); }
.tag-ai { display: inline-block; font-size: 11px; font-weight: 700; padding: 1px 8px; border-radius: 999px; background: var(--ai); color: #fff; margin-left: 6px; vertical-align: 3px; }

/* 手順 */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; counter-reset: s; }
.steps li { counter-increment: s; position: relative; padding: 16px 18px 16px 70px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }
.section.alt .steps li { background: var(--bg); }
.steps li::before {
  content: counter(s); position: absolute; left: 18px; top: 16px;
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--brand-2), var(--brand-3));
}
.steps li strong { display: block; }
.steps li span { color: var(--muted); font-size: 15px; }

/* 画面と説明を並べる */
.split { display: grid; grid-template-columns: 1fr 300px; gap: 48px; align-items: center; }
.split.reverse { grid-template-columns: 300px 1fr; }
.split.reverse .media { order: -1; }
.media { display: flex; justify-content: center; }
.media .phone { position: relative; width: 260px; }
.list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.list li { display: grid; grid-template-columns: 36px 1fr; gap: 12px; align-items: start; }
.list .dot { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.list .dot svg { width: 20px; height: 20px; }
.list .dot.ai { background: var(--ai-soft); color: var(--ai); }
.list p { margin: 0; color: var(--muted); font-size: 15px; }

.two { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.media.stack { position: relative; }
.media.stack .mock { position: absolute; left: -70px; bottom: 36px; max-width: 300px; }

/* AI 補足の見本 */
.mock { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 18px; box-shadow: var(--shadow); max-width: 340px; width: 100%; }
.mock .ja { font-size: 14px; color: var(--muted); }
.mock .en { font-size: 20px; font-weight: 700; margin: 2px 0 12px; }
.mock .box { background: var(--ai-soft); border-radius: 14px; padding: 12px 14px; }
.mock .box .h { color: var(--ai); font-weight: 700; font-size: 13px; display: flex; align-items: center; gap: 4px; margin-bottom: 6px; }
.mock .alt { padding: 8px 0; border-top: 1px solid color-mix(in srgb, var(--ai) 20%, transparent); }
.mock .alt:first-of-type { border-top: none; }
.mock .style { display: inline-block; font-size: 11px; padding: 0 8px; border-radius: 999px; background: var(--ai); color: #fff; }
.mock .alt b { display: block; font-size: 16px; margin-top: 2px; }
.mock .alt small { color: var(--muted); font-size: 12.5px; }

/* 動作環境 */
.specs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.spec { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; }
.section.alt .spec { background: var(--bg); }
.spec .k { font-size: 13px; font-weight: 700; color: var(--brand-3); letter-spacing: .04em; }
.spec .v { font-size: 18px; font-weight: 700; margin: 2px 0 4px; }
.spec p { margin: 0; color: var(--muted); font-size: 14.5px; }

.note { display: flex; gap: 10px; background: var(--note); border: 1px solid var(--note-line); border-radius: 14px; padding: 12px 16px; margin: 20px 0 0; font-size: 15px; }
.note svg { flex: none; width: 20px; height: 20px; margin-top: 4px; color: var(--orange); }

/* よくある質問 */
.faq { display: grid; gap: 10px; }
details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 0 18px; }
.section.alt details { background: var(--bg); }
summary { cursor: pointer; font-weight: 700; list-style: none; padding: 16px 28px 16px 0; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; position: absolute; right: 2px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
details p { margin: 0 0 16px; color: var(--muted); }

/* お問い合わせ */
.cta { border-radius: 24px; padding: 36px; color: #fff; text-align: center; background: linear-gradient(135deg, var(--brand-1), var(--brand-2) 60%, var(--brand-3)); }
.cta h2 { color: #fff; }
.cta p { opacity: .9; margin: 0 auto 20px; max-width: 34em; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 999px; background: #fff; color: var(--brand-1); font-weight: 700; text-decoration: none; }
.btn svg { width: 18px; height: 18px; }

/* お問い合わせフォーム */
.form { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 24px; box-shadow: var(--shadow); }
.field { margin: 0 0 20px; }
.field label { display: block; font-weight: 700; margin-bottom: 6px; }
.req, .opt { display: inline-block; font-size: 11px; font-weight: 700; padding: 0 7px; border-radius: 999px; margin-left: 6px; vertical-align: 2px; }
.req { background: var(--rec); color: #fff; }
.opt { background: var(--line); color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--text);
  background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 11px 14px;
}
.field textarea { resize: vertical; min-height: 160px; line-height: 1.7; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.field small { display: block; color: var(--muted); font-size: 13px; margin-top: 4px; }
.field small.count { text-align: right; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.agree { color: var(--muted); font-size: 13.5px; margin: 0 0 16px; }
.status { border-radius: 12px; padding: 10px 14px; margin: 0 0 16px; background: var(--accent-soft); color: var(--accent); font-size: 15px; }
.status.error { background: color-mix(in srgb, var(--rec) 12%, transparent); color: var(--rec); }
.btn.primary { background: linear-gradient(135deg, var(--brand-2), var(--brand-3)); color: #fff; border: none; font: inherit; font-weight: 700; cursor: pointer; }
.btn.primary:disabled { opacity: .55; cursor: default; }
.form .btn.primary { width: 100%; justify-content: center; padding: 14px 22px; font-size: 16px; }
.done { text-align: center; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 36px 24px; box-shadow: var(--shadow); }
.done .icon { margin: 0 auto 14px; width: 56px; height: 56px; border-radius: 50%; }
.done p { color: var(--muted); max-width: 30em; margin: 0 auto 20px; }

/* プライバシーポリシー用 */
.page-hero { color: #fff; background: linear-gradient(135deg, var(--brand-1), var(--brand-2)); padding: 56px 0 48px; }
.page-hero h1 { margin: 0 0 6px; font-size: 32px; }
.page-hero p { margin: 0; opacity: .85; }
.doc section { margin: 0 0 36px; }
.doc h2 { font-size: 22px; padding-bottom: 6px; border-bottom: 2px solid var(--line); }
.doc ul { padding-left: 1.3em; }
.doc li { margin: 4px 0; }
.summary-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 0 0 36px; }
.summary-cards > div { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 16px; text-align: center; font-weight: 700; font-size: 15px; }
.summary-cards .icon { margin: 0 auto 10px; }
table { width: 100%; border-collapse: collapse; font-size: 15px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { width: 30%; font-weight: 700; }
tr:last-child th, tr:last-child td { border-bottom: none; }

footer { border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; padding: 24px 0 48px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; }
footer img { width: 22px; height: 22px; border-radius: 5px; }

@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; padding-top: 44px; }
  .hero .copy { padding-bottom: 0; }
  .hero h1 { font-size: 32px; }
  .hero .phones { height: 400px; margin: 8px -20px 0; }
  .hero .phone { width: 180px; }
  .hero .phone.back { left: calc(50% - 175px); top: 50px; }
  .hero .phone.front { right: calc(50% - 175px); top: 10px; }
  .features { grid-template-columns: 1fr 1fr; }
  .split, .split.reverse { grid-template-columns: 1fr; gap: 32px; }
  .split.reverse .media { order: 0; }
  .two { grid-template-columns: 1fr; gap: 40px; }
  .media.stack { flex-direction: column; align-items: center; gap: 20px; }
  .media.stack .mock { position: static; max-width: 340px; }
  .section { padding: 56px 0; }
  h2 { font-size: 26px; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .features, .specs, .summary-cards { grid-template-columns: 1fr; }
  .hero h1 { font-size: 28px; }
  .hero .phones { margin: 8px -16px 0; }
  .hero .phone { width: 160px; border-radius: 30px; padding: 6px; }
  .hero .phone img { border-radius: 25px; }
  .hero .phone.back { left: calc(50% - 158px); }
  .hero .phone.front { right: calc(50% - 158px); }
  .cta { padding: 28px 20px; }
  .summary-cards > div { display: flex; align-items: center; gap: 14px; text-align: left; padding: 12px 16px; }
  .summary-cards .icon { margin: 0; flex: none; }
  th { width: 36%; }
  header.site nav { gap: 12px; font-size: 13px; }
}
@media (max-width: 400px) {
  header.site .name { display: none; }
}
