/* ─────────────────────────────────────────────────────────────────────────
   LINE秘書 LP – styles
   - モバイルファースト
   - Noto Sans JP + system fallback
   - 余白とカードUIをベースにした SaaS LP トーン
   ───────────────────────────────────────────────────────────────────────── */

:root {
  --c-bg: #ffffff;
  --c-bg-soft: #f7f8fa;
  --c-bg-warm: #fbfaf6;
  --c-ink: #11151c;
  --c-ink-2: #2a3142;
  --c-ink-3: #5a6478;
  --c-ink-4: #8b94a6;
  --c-line: #e6e9ef;
  --c-line-2: #eef0f5;

  --c-green: #1fba68;      /* LINE想起のフレッシュグリーン */
  --c-green-ink: #0e8a48;
  --c-green-soft: #e7f7ef;

  --c-blue: #2f7be5;       /* Google想起のブルー */
  --c-blue-soft: #e8f0fd;

  --c-orange: #ff8a3d;     /* アクセント */
  --c-orange-soft: #fff1e6;

  --c-yellow: #f5c542;
  --c-red: #ef5350;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;
  --radius-xl: 28px;

  --shadow-sm: 0 1px 2px rgba(15,21,32,.04), 0 1px 1px rgba(15,21,32,.03);
  --shadow: 0 2px 6px rgba(15,21,32,.05), 0 8px 24px rgba(15,21,32,.06);
  --shadow-lg: 0 4px 12px rgba(15,21,32,.06), 0 24px 48px rgba(15,21,32,.10);

  --gap: 14px;
  --pad: 22px;

  --font-jp: "Noto Sans JP", "Hiragino Sans", "Yu Gothic UI", "Yu Gothic",
    -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --font-num: "Inter", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--c-bg);
  color: var(--c-ink);
  font-family: var(--font-jp);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "palt";
}

img, svg { display: block; max-width: 100%; }
button { font-family: inherit; }

/* ── Layout ─────────────────────────────────────────────────────────────── */

.wrap {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

section.section {
  padding: 72px 0;
  position: relative;
}
section.section.tight { padding: 56px 0; }
section.section.warm { background: var(--c-bg-warm); }
section.section.soft { background: var(--c-bg-soft); }

@media (max-width: 720px) {
  section.section { padding: 56px 0; }
  section.section.tight { padding: 40px 0; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--c-green-ink);
  background: var(--c-green-soft);
  padding: 6px 12px;
  border-radius: 999px;
  letter-spacing: .04em;
}
.eyebrow.blue { color: #1f5fb7; background: var(--c-blue-soft); }
.eyebrow.orange { color: #c25b1d; background: var(--c-orange-soft); }
.eyebrow.neutral {
  color: var(--c-ink-3);
  background: var(--c-bg-soft);
  border: 1px solid var(--c-line);
}

.section-head {
  text-align: center;
  margin-bottom: 44px;
}
.section-head h2 {
  font-size: clamp(26px, 4.4vw, 38px);
  font-weight: 700;
  letter-spacing: -.01em;
  margin: 14px 0 12px;
  line-height: 1.35;
  text-wrap: balance;
}
.section-head p {
  color: var(--c-ink-3);
  font-size: 15px;
  margin: 0 auto;
  max-width: 620px;
  text-wrap: pretty;
}

/* ── Buttons ────────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 56px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  transition: transform .12s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn-line {
  background: var(--c-green);
  color: #fff;
  box-shadow: 0 6px 16px rgba(31,186,104,.28);
}
.btn-line:hover { background: #18a85c; transform: translateY(-1px); box-shadow: 0 10px 22px rgba(31,186,104,.32); }
.btn-ghost {
  background: #fff;
  color: var(--c-ink);
  border: 1.5px solid var(--c-line);
}
.btn-ghost:hover { border-color: var(--c-ink); }
.btn-dark { background: var(--c-ink); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-sm { height: 44px; padding: 0 18px; font-size: 14px; }
.btn-xl { height: 72px; padding: 0 36px; font-size: 18px; }
.btn-xl svg { width: 22px; height: 22px; }

.btn .ico { width: 18px; height: 18px; }

/* ── Cards ──────────────────────────────────────────────────────────────── */

.card {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  padding: var(--pad);
  box-shadow: var(--shadow-sm);
}
.card.flat { box-shadow: none; }
.card.pad-lg { padding: 30px; }

/* ── Pills / chips ──────────────────────────────────────────────────────── */

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--c-line);
  font-size: 13px;
  font-weight: 600;
  color: var(--c-ink-2);
}
.pill .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--c-green);
}

/* ── Nav ────────────────────────────────────────────────────────────────── */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.82);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--c-line-2);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -.01em;
  color: var(--c-ink);
  text-decoration: none;
}
.brand .mark {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: url('assets/brand-icon.png') center/cover no-repeat;
  display: grid; place-items: center;
  color: transparent;
  font-size: 0;
  box-shadow: 0 2px 6px rgba(15,21,32,.10);
}
/* Generic mark badges across the page (compare-table header, hub, etc.) — use the brand icon */
.cmp-head .ours .mark,
.diag-hub .mark {
  background-image: url('assets/brand-icon.png') !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  color: transparent !important;
  font-size: 0 !important;
}
/* Header CTA — 1.2x the regular nav button */
.nav-cta {
  height: 48px !important;
  padding: 0 22px !important;
  font-size: 15.5px !important;
  font-weight: 700 !important;
  border-radius: 999px !important;
}
.nav-cta svg { width: 18px; height: 18px; }

.nav-links {
  display: flex; gap: 26px;
  font-size: 14px;
  color: var(--c-ink-3);
}
.nav-links a { color: inherit; text-decoration: none; }
.nav-links a:hover { color: var(--c-ink); }
@media (max-width: 760px) { .nav-links { display: none; } }

/* ── Footer ─────────────────────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--c-line);
  padding: 40px 0 120px;
  font-size: 13px;
  color: var(--c-ink-3);
  background: #fff;
}
.footer .row {
  display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between;
  align-items: center;
}
.footer a { color: inherit; text-decoration: none; margin-right: 18px; }

/* ── Sticky CTA (mobile) ────────────────────────────────────────────────── */

.sticky-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.95);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--c-line);
  display: flex;
  gap: 10px;
  z-index: 40;
  transform: translateY(120%);
  transition: transform .3s ease;
}
.sticky-cta.show { transform: translateY(0); }
.sticky-cta .btn { flex: 1; height: 50px; font-size: 14px; }

/* ── Utilities ──────────────────────────────────────────────────────────── */

.text-num { font-family: var(--font-num); font-feature-settings: "tnum"; }
.mute { color: var(--c-ink-3); }
.center { text-align: center; }
.grid { display: grid; gap: var(--gap); }

.tag-row { display: flex; flex-wrap: wrap; gap: 8px; }

.hr {
  border: 0;
  height: 1px;
  background: var(--c-line);
  margin: 0;
}

/* Density modes */
body[data-density="compact"] section.section { padding: 56px 0; }
body[data-density="comfy"]   section.section { padding: 96px 0; }
body[data-density="compact"] { --pad: 18px; --gap: 12px; }
body[data-density="comfy"]   { --pad: 28px; --gap: 18px; }
