:root {
  --brand: #2874a6;
  --brand-700: #215f88;
  --brand-900: #163c55;
  --brand-50: #eaf3f9;
  --brand-100: #cfe3f0;
  --ink: #161a1e;
  --ink-2: #4f5a63;
  --line: #dde3e8;
  --bg: #ffffff;
  --bg-alt: #f6f8fa;
  --ok: #1e8e5a;
  --ok-bg: #e7f4ee;
  --wait: #c4841d;
  --wait-bg: #fbf1e0;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(22, 26, 30, 0.06), 0 8px 24px rgba(22, 26, 30, 0.06);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  font-family: "Noto Sans JP", system-ui, -apple-system, "Hiragino Sans", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.8;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: var(--brand); }
h1, h2, h3 { line-height: 1.4; margin: 0 0 0.6em; letter-spacing: 0.01em; }
h2 { font-size: clamp(1.4rem, 3.2vw, 2rem); font-weight: 700; }
h3 { font-size: 1.1rem; font-weight: 700; }
p { margin: 0 0 1em; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.narrow-wrap { max-width: 820px; }
.center { text-align: center; }
.nb { display: inline-block; }
.narrow { max-width: 760px; margin-left: auto; margin-right: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }

.eyebrow { color: var(--brand); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.08em; margin-bottom: 0.5em; }

/* Buttons */
.btn {
  display: inline-block; text-decoration: none; font-weight: 700;
  background: var(--brand); color: #fff; padding: 14px 26px; border-radius: 999px;
  transition: background 0.15s, transform 0.15s;
}
.btn:hover { background: var(--brand-700); }
.btn:focus-visible { outline: 3px solid var(--brand-100); outline-offset: 2px; }
.btn-sm { padding: 8px 18px; font-size: 0.9rem; }
.btn-ghost { background: transparent; color: var(--brand); box-shadow: inset 0 0 0 2px var(--brand); }
.btn-ghost:hover { background: var(--brand-50); }
.btn-light { background: #fff; color: var(--brand-900); }
.btn-light:hover { background: var(--brand-50); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 24px; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); margin-right: auto; }
.logo-mark {
  font-weight: 900; color: var(--brand); font-size: 0.62rem; line-height: 1.1; letter-spacing: 0.18em;
  border: 2px solid var(--brand); border-radius: 6px; padding: 4px 3px 4px 6px;
}
.logo-text { font-weight: 700; font-size: 1.1rem; }
.nav { list-style: none; display: flex; gap: 22px; margin: 0; padding: 0; }
.nav a { color: var(--ink-2); text-decoration: none; font-size: 0.92rem; font-weight: 500; }
.nav a:hover { color: var(--brand); }

/* Hero */
.hero { background: linear-gradient(180deg, var(--brand-50) 0%, #fff 100%); padding: 64px 0 56px; }
.hero-inner { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(1.9rem, 4.6vw, 3rem); font-weight: 900; color: var(--brand-900); }
.lead { color: var(--ink-2); font-size: 1.05rem; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 24px 0; }
.center-row { justify-content: center; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hero-points li {
  background: #fff; border: 1px solid var(--brand-100); color: var(--brand-900);
  border-radius: 999px; padding: 4px 14px; font-size: 0.88rem; font-weight: 700;
}

/* Phone frame (実画面) */
.phone { margin: 0; justify-self: center; width: 100%; max-width: 300px; }
.phone-screen {
  background: #fff; border: 8px solid var(--ink); border-radius: 30px; overflow: hidden;
  box-shadow: 0 24px 48px rgba(22, 60, 85, 0.22);
}
.phone-screen img { display: block; width: 100%; height: auto; }
.phone figcaption { text-align: center; color: var(--ink-2); font-size: 0.78rem; margin-top: 12px; }

/* 実際の画面 */
.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 40px; align-items: start; }
.shot, .shot-pc { margin: 0; }
.shot .phone-screen { max-width: 280px; margin: 0 auto; }
.chat-stack { display: grid; gap: 14px; max-width: 280px; margin: 0 auto; }
.chat-stack .phone-screen { border-width: 6px; border-radius: 18px; }
.shot figcaption, .shot-pc figcaption { color: var(--ink-2); font-size: 0.9rem; margin-top: 16px; }
.shot figcaption b, .shot-pc figcaption b { display: block; color: var(--ink); font-size: 1rem; margin-bottom: 2px; }
.shots-pc { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 48px; }
.browser { background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); }
.browser .dots { display: block; height: 26px; background: var(--bg-alt) radial-gradient(circle, #e06c5f 4px, transparent 5px) 10px 50%/14px 14px no-repeat; border-bottom: 1px solid var(--line); position: relative; }
.browser .dots::after { content: ""; position: absolute; left: 26px; top: 50%; width: 30px; height: 10px; transform: translateY(-50%); background: radial-gradient(circle, #e9b949 4px, transparent 5px) 0 50%/14px 10px no-repeat, radial-gradient(circle, #5fb45f 4px, transparent 5px) 14px 50%/14px 10px no-repeat; }
.browser img { display: block; width: 100%; height: auto; }

/* Facts */
.summary { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; padding: 28px 0; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px 32px; margin: 0; }
.facts div { border-left: 3px solid var(--brand); padding-left: 12px; }
.facts dt { font-size: 0.78rem; color: var(--ink-2); }
.facts dd { margin: 0; font-weight: 700; }

/* Sections */
.section { padding: 80px 0; }
.section.alt { background: var(--bg-alt); }

.pain-grid { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.pain-grid li { background: var(--bg-alt); border-radius: var(--radius); padding: 18px 20px; color: var(--ink-2); }
.pain-grid b { color: var(--ink); }

.table-scroll { overflow-x: auto; margin-top: 32px; -webkit-overflow-scrolling: touch; }
.compare { width: 100%; min-width: 640px; border-collapse: separate; border-spacing: 0; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; font-size: 0.92rem; }
.compare caption { text-align: left; font-weight: 700; padding: 0 0 10px; color: var(--ink-2); font-size: 0.85rem; }
.compare th, .compare td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.compare thead th { font-size: 0.82rem; color: var(--ink-2); background: #fff; }
.compare tbody th { font-weight: 700; white-space: nowrap; }
.compare .us { background: var(--brand-50); color: var(--brand-900); font-weight: 700; }
.compare thead .us { background: var(--brand); color: #fff; font-size: 1rem; }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.note { color: var(--ink-2); font-size: 0.8rem; margin-top: 12px; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; }
.feature p { color: var(--ink-2); font-size: 0.95rem; margin: 0; }
.f-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--brand-50); display: grid; place-items: center; margin-bottom: 14px; }
.f-icon svg { width: 24px; height: 24px; fill: none; stroke: var(--brand); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.split { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 48px; align-items: center; }
.checks { list-style: none; padding: 0; margin: 20px 0 0; }
.checks li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 0.45em; width: 18px; height: 18px; border-radius: 50%; background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M5 12l5 5L19 7'/%3E%3C/svg%3E") center/12px no-repeat; }
.quote-card { background: var(--brand-900); color: #fff; border-radius: 20px; padding: 32px 28px; }
.qc-label { font-size: 0.8rem; letter-spacing: 0.1em; opacity: 0.7; font-weight: 700; }
.qc-text { font-size: 1.3rem; font-weight: 700; line-height: 1.6; }
.qc-sub { opacity: 0.85; font-size: 0.92rem; margin: 0; }

.use-grid { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.use-grid li { border-top: 3px solid var(--brand); background: var(--bg-alt); border-radius: 0 0 var(--radius) var(--radius); padding: 20px; }
.use-grid p { color: var(--ink-2); font-size: 0.92rem; margin: 0; }

.flow { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: f; }
.flow li { background: #fff; border-radius: var(--radius); padding: 24px 20px; box-shadow: var(--shadow); }
.flow span { display: block; font-weight: 900; color: var(--brand); font-size: 1.4rem; margin-bottom: 6px; }
.flow p { color: var(--ink-2); font-size: 0.92rem; margin: 0; }

.faq { margin-top: 32px; }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; font-weight: 700; padding: 16px 32px 16px 0; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; color: var(--brand); font-weight: 900; margin-right: 12px; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 1.4rem; color: var(--brand); }
.faq details[open] summary::after { content: "−"; }
.faq p { color: var(--ink-2); padding: 0 0 16px 28px; margin: 0; }

.cta { background: var(--brand); color: #fff; padding: 72px 0; }
.cta p { opacity: 0.92; }
.cta a:not(.btn) { color: #fff; }
.small { font-size: 0.88rem; margin-top: 20px; }
.stores { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.stores a { border: 1px solid rgba(255, 255, 255, 0.6); border-radius: 10px; padding: 8px 16px; font-size: 0.85rem; text-decoration: none; }
.stores a:hover { background: rgba(255, 255, 255, 0.12); }

.site-footer { background: var(--ink); color: #c4cdd4; padding: 48px 0 32px; font-size: 0.9rem; }
.site-footer h2 { color: #fff; font-size: 1rem; }
.company { margin: 0; display: grid; gap: 6px; }
.company div { display: grid; grid-template-columns: 110px 1fr; }
.company dt { color: #9ba7b0; }
.company dd { margin: 0; }
.company a { color: #cfe3f2; }
.copy { margin: 32px 0 0; font-size: 0.8rem; color: #9ba7b0; }

/* Responsive */
@media (max-width: 960px) {
  .features, .use-grid, .flow { grid-template-columns: repeat(2, 1fr); }
  .shots { grid-template-columns: repeat(2, 1fr); }
  .shots-pc { grid-template-columns: 1fr; }
  .pain-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .nav { display: none; }
  .hero { padding: 40px 0; }
  .hero-inner, .split { grid-template-columns: 1fr; gap: 32px; }
  .facts { grid-template-columns: 1fr 1fr; }
  .section { padding: 56px 0; }
  .wrap { padding: 0 16px; }
}
@media (max-width: 520px) {
  .features, .use-grid, .flow, .pain-grid, .shots { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
  .btn { width: 100%; text-align: center; }
  .btn-sm { width: auto; }
  .company div { grid-template-columns: 90px 1fr; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
