/*
 * Canonical stylesheet for both this WordPress theme and ../index.html preview.
 * Edit this file for visual adjustments, then rebuild the installable theme ZIP.
 */
/*
Theme Name: Social Navigator LP Theme
Theme URI: https://socialnavigator.com
Author: Codex
Description: WordPress LP theme with optional ACF-editable content fields.
Version: 2.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: social-navigator-lp-theme
*/

:root {
  --page: #fbfffc;
  --surface: #ffffff;
  --brand-green: #06C755;
  --green-25: #f4fff8;
  --green-50: #eafff2;
  --green-100: #d7fbe4;
  --green-200: #aef3ca;
  --green-700: #06C755;
  --green-800: #059f47;
  --green-900: #063f28;
  --ink: #102c22;
  --muted: #526f63;
  --muted-2: #7d958b;
  --line: rgba(6, 199, 85, 0.22);
  --soft-line: rgba(6, 199, 85, 0.12);
  --teal: #06C755;
  --teal-dark: #04943f;
  --blue: #257c9b;
  --amber: #d99a1c;
  --white: #ffffff;
  --display: "Noto Sans JP", "Yu Gothic", "Hiragino Kaku Gothic ProN", system-ui, sans-serif;
  --serif: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", "Times New Roman", serif;
  --shadow: 0 18px 54px rgba(7, 83, 42, 0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.75;
  letter-spacing: 0;
  overflow-x: hidden;
}

body.admin-bar .lp-nav {
  top: 32px;
}

a {
  color: inherit;
}

.nowrap {
  white-space: nowrap;
}

.snlp {
  background: var(--page);
  overflow-x: hidden;
  overflow-x: clip;
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.biz-icon {
  display: block;
  width: 42px;
  height: 42px;
  overflow: visible;
}

.biz-icon .icon-dark {
  fill: #17313A;
}

.biz-icon .icon-green {
  fill: var(--brand-green);
}

.biz-icon .icon-light {
  fill: #ffffff;
}

.section-inner {
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
}

.lp-nav {
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 14px 48px;
  background: rgba(255, 255, 255, 0.90);
  border-bottom: 1px solid var(--soft-line);
  box-shadow: 0 8px 28px rgba(20, 74, 62, 0.07);
  backdrop-filter: blur(18px);
}

.lp-nav.is-scrolled {
  background: rgba(255, 255, 255, 0.97);
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--green-900);
  text-decoration: none;
  font-family: var(--display);
  font-size: 20px;
  font-weight: 900;
}

.nav-logo span {
  color: var(--teal);
}

.nav-cta,
.btn-primary,
.btn-ghost,
.price-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 8px;
  padding: 13px 24px;
  font-weight: 800;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}

.nav-cta,
.btn-primary,
.price-cta {
  background: var(--green-800);
  color: var(--white);
  box-shadow: 0 14px 30px rgba(6, 199, 85, 0.20);
}

.nav-cta {
  min-height: 42px;
  padding: 10px 18px;
  font-size: 14px;
}

.btn-primary:hover,
.nav-cta:hover,
.price-cta:hover {
  background: var(--teal-dark);
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(6, 199, 85, 0.24);
}

.btn-ghost {
  color: var(--green-800);
  border-color: rgba(6, 199, 85, 0.26);
  background: rgba(255, 255, 255, 0.72);
}

.btn-ghost:hover {
  border-color: rgba(6, 199, 85, 0.48);
  background: var(--green-50);
  transform: translateY(-2px);
}

.hero {
  position: relative;
  min-height: 760px;
  display: grid;
  grid-template-columns: minmax(0, 720px) minmax(340px, 520px);
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2.2vw, 28px);
  padding: 140px 48px 92px;
  background: var(--surface);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(112deg, rgba(215, 251, 228, 0.96) 0 28%, transparent 28% 100%),
    linear-gradient(154deg, transparent 0 62%, rgba(174, 243, 202, 0.58) 62% 100%),
    linear-gradient(180deg, #ffffff 0%, #f9fffb 100%);
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(6, 199, 85, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(6, 199, 85, 0.055) 1px, transparent 1px);
  background-size: 72px 72px;
  opacity: 0.55;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(800px, 100%);
}

.hero-illustration {
  position: relative;
  z-index: 1;
  align-self: start;
  justify-self: start;
  width: min(520px, 100%);
  margin: 6px 0 0;
  transform: translateX(-26px);
}

.hero-illustration::before {
  content: "";
  position: absolute;
  inset: 10% 4% auto auto;
  width: 54%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(6, 199, 85, 0.10);
  filter: blur(8px);
}

.hero-illustration img {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  filter: drop-shadow(0 28px 42px rgba(7, 83, 42, 0.16));
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  padding: 7px 14px;
  border: 1px solid rgba(6, 199, 85, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.80);
  color: var(--green-800);
  font-size: 13px;
  font-weight: 800;
}

.hero-badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
}

h1,
h2,
h3 {
  color: var(--ink);
  font-family: var(--display);
  letter-spacing: 0;
}

h1 {
  margin: 0 0 14px;
  font-size: 74px;
  font-weight: 900;
  line-height: 1.1;
}

h1 em,
h2 em {
  color: var(--green-800);
  font-style: normal;
}

.hero-sub {
  margin: 0 0 24px;
  color: var(--green-900);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.65;
}

.hero-desc {
  max-width: 780px;
  margin: 0 0 40px;
  color: var(--muted);
  font-size: 16px;
  font-family: var(--serif);
  line-height: 1.95;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 58px;
  padding-top: 34px;
  border-top: 1px solid var(--soft-line);
}

.hero-stats > div {
  display: grid;
  align-content: center;
  justify-items: center;
  min-height: 106px;
  padding: 18px;
  border: 1px solid var(--soft-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 10px 30px rgba(24, 88, 72, 0.07);
  text-align: center;
}

.hero-stats > .stat-card-balanced {
  padding-right: 10px;
  padding-left: 10px;
}

.stat-num {
  width: 100%;
  color: var(--green-900);
  font-family: var(--display);
  font-size: clamp(19px, 1.7vw, 24px);
  font-weight: 900;
  line-height: 1.22;
  text-align: center;
  word-break: keep-all;
}

.stat-num span {
  margin-left: 3px;
  color: var(--green-700);
  font-size: 14px;
}

.stat-label {
  width: 100%;
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
  text-align: center;
}

.stat-card-balanced .stat-num,
.stat-card-balanced .stat-label {
  display: block;
  justify-self: center;
  width: auto;
  max-width: 100%;
  margin-right: auto;
  margin-left: auto;
}

section {
  padding: 104px 48px;
  background: var(--surface);
}

.solution-flow {
  position: relative;
  overflow: hidden;
  background: var(--surface);
}

.solution-flow::before,
.solution-flow::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.solution-flow::before {
  width: 760px;
  height: 760px;
  right: -260px;
  top: -210px;
  border: 96px solid rgba(174, 243, 202, 0.56);
  box-shadow:
    inset 0 0 0 1px rgba(6, 199, 85, 0.08),
    0 0 0 1px rgba(6, 199, 85, 0.06);
}

.solution-flow::after {
  width: 460px;
  height: 460px;
  left: -190px;
  bottom: -220px;
  border: 72px solid rgba(215, 251, 228, 0.88);
  box-shadow: 0 0 0 1px rgba(6, 199, 85, 0.05);
}

.solution-flow .section-inner {
  position: relative;
  z-index: 1;
}

.problem,
.pillars-section,
.pricing-section {
  background: var(--green-50);
}

.ai-section,
.faq {
  background: var(--green-25);
}

.section-label {
  margin-bottom: 16px;
  color: var(--green-800);
  font-family: var(--display);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

h2 {
  margin: 0 0 16px;
  font-size: 48px;
  font-weight: 900;
  line-height: 1.16;
}

.balanced-heading {
  font-size: clamp(36px, 3.7vw, 44px);
  line-height: 1.24;
  word-break: keep-all;
}

.ai-heading {
  font-size: clamp(34px, 3.5vw, 42px);
  line-height: 1.25;
}

.section-desc {
  max-width: 640px;
  margin: 0 0 54px;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 17px;
}

.section-head-visual {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 390px);
  align-items: center;
  gap: clamp(28px, 5vw, 68px);
  margin-bottom: 52px;
}

.section-head-visual .section-desc {
  margin-bottom: 0;
}

.section-copy {
  min-width: 0;
}

.section-image {
  position: relative;
  margin: 0;
}

.section-image::before {
  content: "";
  position: absolute;
  inset: auto 8% -16px 8%;
  height: 24px;
  border-radius: 50%;
  background: rgba(7, 83, 42, 0.14);
  filter: blur(18px);
}

.section-image img {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 24px 48px rgba(7, 83, 42, 0.13);
}

.problem-grid,
.features-grid,
.market-split,
.onboard-steps,
.price-features {
  display: grid;
  gap: 16px;
}

.problem-grid {
  grid-template-columns: repeat(3, 1fr);
}

.problem-card,
.feature-card,
.market-card,
.onboard-step,
.pricing-card,
.faq-item {
  border: 1px solid var(--soft-line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 10px 30px rgba(24, 88, 72, 0.06);
}

.problem-card {
  min-height: 266px;
  padding: 32px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.problem-card:hover {
  transform: translateY(-4px);
  border-color: rgba(6, 199, 85, 0.34);
  box-shadow: var(--shadow);
}

.problem-icon {
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  margin-bottom: 20px;
  border-radius: 18px;
  background: linear-gradient(135deg, #f7fffa 0%, #eafff2 100%);
  box-shadow: inset 0 0 0 1px rgba(6, 199, 85, 0.18), 0 14px 30px rgba(6, 199, 85, 0.08);
}

.problem-icon .biz-icon,
.feature-icon .biz-icon {
  width: 48px;
  height: 48px;
}

.problem-card h3,
.feature-card h3,
.flow-step h3,
.market-card h3,
.onboard-step h3 {
  margin: 0 0 12px;
  font-size: 20px;
  line-height: 1.45;
}

.problem-card p,
.feature-card p,
.flow-step p,
.market-card p,
.onboard-step p {
  margin: 0;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 14px;
}

.flow-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 56px;
}

.flow-steps::after {
  content: "";
  position: absolute;
  top: 28px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: var(--green-200);
  z-index: 0;
}

.flow-step {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  text-align: center;
  padding: 0 16px;
  min-height: 250px;
}

.flow-dot {
  position: relative;
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin: 0 auto 22px;
  border: 2px solid rgba(6, 199, 85, 0.52);
  border-radius: 50%;
  background: var(--surface);
  box-shadow: 0 8px 24px rgba(6, 199, 85, 0.13);
}

.flow-dot .biz-icon {
  width: 45px;
  height: 45px;
}

.flow-dot::after {
  content: attr(data-num);
  position: absolute;
  top: -8px;
  right: -8px;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--green-800);
  color: var(--white);
  font-size: 11px;
  font-weight: 900;
}

.flow-badge {
  display: inline-flex;
  justify-self: center;
  align-self: end;
  margin-top: 14px;
  padding: 4px 10px;
  border: 1px solid rgba(6, 199, 85, 0.22);
  border-radius: 6px;
  background: var(--green-100);
  color: var(--green-800);
  font-size: 12px;
  font-weight: 800;
}

.features-grid {
  grid-template-columns: repeat(3, 1fr);
}

.feature-card {
  padding: 32px;
}

.feature-num {
  margin-bottom: 18px;
  color: var(--green-800);
  font-family: var(--display);
  font-size: 12px;
  font-weight: 900;
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  margin-bottom: 20px;
  border-radius: 18px;
  background: linear-gradient(135deg, #f7fffa 0%, #eafff2 100%);
  box-shadow: inset 0 0 0 1px rgba(6, 199, 85, 0.18), 0 14px 30px rgba(6, 199, 85, 0.08);
}

.feature-list {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 20px 0 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 22px;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 13px;
}

.feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--green-800);
  font-weight: 900;
}

.ai-headline {
  margin-bottom: -18px;
  color: rgba(6, 199, 85, 0.10);
  font-family: var(--display);
  font-size: 120px;
  font-weight: 900;
  line-height: 0.8;
}

.ai-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 36px;
}

.ai-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 8px 16px 8px 10px;
  border: 1px solid var(--soft-line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--green-900);
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(24, 88, 72, 0.05);
}

.ai-tag-icon {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: var(--green-100);
  box-shadow: inset 0 0 0 1px rgba(6, 199, 85, 0.16);
}

.ai-tag-icon .biz-icon {
  width: 25px;
  height: 25px;
}

.market-split {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 42px;
}

.market-card {
  padding: 32px;
}

.market-heading-icon {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-right: 10px;
  border-radius: 999px;
  background: var(--green-100);
  vertical-align: middle;
}

.market-heading-icon .biz-icon {
  width: 25px;
  height: 25px;
}

.market-sub {
  margin: 0 0 22px;
  color: var(--green-800);
  font-weight: 800;
}

.market-item {
  position: relative;
  margin-top: 12px;
  padding: 14px 14px 14px 38px;
  border-radius: 8px;
  background: var(--green-25);
  color: var(--muted);
  font-family: var(--serif);
  font-size: 14px;
}

.market-item::before {
  content: "✓";
  position: absolute;
  left: 15px;
  top: 13px;
  color: var(--green-800);
  font-weight: 900;
}

.pricing-center {
  text-align: center;
}

.pricing-center .section-desc {
  margin-left: auto;
  margin-right: auto;
}

.pricing-card {
  max-width: 780px;
  margin: 48px auto 0;
  padding: 38px;
}

.pricing-card .section-label {
  text-align: center;
}

.price-amount {
  margin-top: 10px;
  color: var(--green-900);
  font-family: var(--display);
  font-size: 58px;
  font-weight: 900;
  line-height: 1.05;
}

.price-amount sup {
  font-size: 24px;
}

.price-amount small {
  color: var(--muted);
  font-size: 17px;
}

.price-note {
  margin-top: 12px;
  color: var(--muted);
  font-weight: 700;
}

.price-divider {
  height: 1px;
  margin: 30px 0;
  background: var(--soft-line);
}

.price-features {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 30px;
}

.price-feature {
  padding: 12px 14px;
  border-radius: 8px;
  background: var(--green-25);
  color: var(--green-900);
  font-size: 14px;
  font-weight: 700;
}

.price-cta {
  width: min(100%, 340px);
  margin: 0 auto;
}

.price-initial {
  margin: 24px auto 0;
  color: var(--muted-2);
  font-size: 13px;
}

.onboard-steps {
  grid-template-columns: repeat(4, 1fr);
  margin-top: 42px;
}

.onboard-step {
  min-height: 235px;
  padding: 26px;
  background: var(--green-25);
}

.step-num {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 6px 10px;
  border-radius: 6px;
  background: var(--green-100);
  color: var(--green-800);
  font-family: var(--display);
  font-size: 12px;
  font-weight: 900;
}

.faq-list {
  display: grid;
  gap: 12px;
  margin-top: 42px;
}

.faq-item {
  overflow: hidden;
}

.faq-q {
  position: relative;
  display: block;
  width: 100%;
  min-height: 70px;
  padding: 20px 58px 20px 24px;
  border: 0;
  background: transparent;
  color: var(--ink);
  text-align: left;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.faq-q::after {
  content: "+";
  position: absolute;
  right: 24px;
  top: 50%;
  color: var(--green-800);
  font-size: 24px;
  transform: translateY(-50%);
}

.faq-item.open .faq-q::after {
  content: "-";
}

.faq-a {
  display: none;
  padding: 0 24px 24px;
  color: var(--muted);
}

.faq-item.open .faq-a {
  display: block;
}

.cta-footer {
  text-align: center;
  background: var(--green-800);
}

.cta-footer h2,
.cta-footer h2 em,
.cta-footer p {
  color: var(--white);
}

.cta-footer h2 {
  font-size: 54px;
}

.cta-footer p {
  margin: 16px 0 30px;
  opacity: 0.88;
}

.cta-footer .btn-primary {
  background: var(--white);
  color: var(--green-900);
  box-shadow: none;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px 48px;
  border-top: 1px solid var(--soft-line);
  background: var(--surface);
  color: var(--muted);
  font-size: 13px;
}

.site-footer .nav-logo {
  font-size: 17px;
}

.site-footer a {
  color: var(--green-800);
  text-decoration: none;
  font-weight: 800;
}

.fade-up {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .fade-up {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn-primary,
  .btn-ghost,
  .nav-cta,
  .price-cta,
  .problem-card {
    transition: none;
  }
}

@media (max-width: 1100px) {
  h1 {
    font-size: 58px;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 390px);
    padding-right: 32px;
    padding-left: 32px;
  }

  .hero-illustration {
    width: min(390px, 100%);
    transform: translateX(-12px);
  }

  .section-head-visual {
    grid-template-columns: minmax(0, 1fr) minmax(220px, 340px);
    gap: 32px;
  }

  .hero-stats,
  .flow-steps,
  .features-grid,
  .onboard-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .flow-steps::after {
    display: none;
  }
}

@media (max-width: 900px) {
  .hero,
  .section-head-visual {
    grid-template-columns: 1fr;
  }

  .hero-illustration {
    justify-self: center;
    width: min(440px, 96%);
    margin-top: 28px;
    transform: none;
  }

  .section-image {
    width: min(540px, 100%);
  }
}

@media (max-width: 782px) {
  body.admin-bar .lp-nav {
    top: 46px;
  }
}

@media (max-width: 760px) {
  .section-inner {
    width: min(100% - 32px, 1160px);
  }

  .lp-nav {
    min-height: 64px;
    padding: 12px 16px;
  }

  .nav-logo {
    font-size: 15px;
  }

  .nav-cta {
    min-height: 38px;
    padding: 8px 12px;
    font-size: 12px;
  }

  .hero {
    min-height: auto;
    padding: 110px 16px 72px;
  }

  .hero-illustration {
    width: min(360px, 94%);
    margin-top: 12px;
  }

  h1 {
    font-size: 40px;
  }

  h2,
  .cta-footer h2 {
    font-size: 32px;
  }

  .hero-sub {
    font-size: 17px;
    line-height: 1.7;
  }

  .hero-actions {
    align-items: stretch;
  }

  .btn-primary,
  .btn-ghost,
  .price-cta {
    width: 100%;
    white-space: normal;
  }

  .hero-stats,
  .problem-grid,
  .flow-steps,
  .features-grid,
  .market-split,
  .onboard-steps,
  .price-features {
    grid-template-columns: 1fr;
  }

  section {
    padding: 76px 16px;
  }

  .solution-flow::before,
  .solution-flow::after {
    display: none;
  }

  .section-desc {
    font-size: 15px;
  }

  .section-head-visual {
    margin-bottom: 34px;
  }

  .ai-headline {
    font-size: 76px;
  }

  .pricing-card {
    padding: 26px;
  }

  .price-amount {
    font-size: 42px;
  }

  .site-footer {
    display: grid;
    padding: 24px 16px;
  }
}

@media (max-width: 420px) {
  h1 {
    font-size: 36px;
  }

  h2,
  .cta-footer h2 {
    font-size: 30px;
  }

  .problem-card,
  .feature-card,
  .market-card,
  .onboard-step,
  .pricing-card {
    padding: 22px;
  }
}

/* Reference-style first view */
.lp-nav {
  min-height: 140px;
  padding: 44px clamp(24px, 2vw, 30px) 16px;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 0;
  box-shadow: none;
}

.nav-logo {
  color: #050b13;
  font-family: "Inter", var(--display);
  font-size: clamp(34px, 3.8vw, 58px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.055em;
  text-shadow: 0 4px 8px rgba(4, 16, 24, 0.10);
  white-space: nowrap;
}

.nav-logo span {
  color: #008f3a;
}

.nav-logo-image {
  flex: 0 0 auto;
  letter-spacing: 0;
  text-shadow: none;
}

.nav-logo-image img {
  display: block;
  width: clamp(280px, 26vw, 410px);
  height: auto;
  max-height: 94px;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(22px, 2.4vw, 42px);
  flex: 1;
  margin-top: 22px;
  padding: 0 28px;
  font-size: clamp(14px, 1.25vw, 19px);
  font-weight: 900;
  line-height: 1;
  color: #0b0f14;
  white-space: nowrap;
}

.nav-menu a {
  text-decoration: none;
}

.nav-cta {
  position: relative;
  min-width: min(324px, 24vw);
  min-height: 84px;
  margin-top: 8px;
  border-radius: 24px;
  background: linear-gradient(180deg, #009b3a, #007e2e);
  box-shadow: 0 14px 24px rgba(0, 91, 35, 0.25), inset 0 2px rgba(255, 255, 255, 0.18);
  color: #ffffff;
  font-size: clamp(16px, 1.8vw, 28px);
  font-weight: 900;
}

.nav-cta::after {
  display: none;
}

.nav-cta-label {
  position: relative;
  z-index: 1;
}

.nav-cta-badge {
  position: absolute;
  right: 18px;
  top: -34px;
  display: flex;
  flex-direction: column;
  align-items: center;
  place-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 136px;
  height: 62px;
  padding: 8px 10px 7px;
  border: 2px solid #111111;
  border-radius: 18px 18px 22px 18px;
  background: #ffd83d;
  color: #111111;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.08;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  transform: rotate(6deg);
  box-shadow: 0 5px 0 rgba(0, 0, 0, 0.08);
}

.nav-cta-badge span {
  display: block;
  max-width: 100%;
}

.nav-cta-badge span:first-child {
  font-size: 13px;
}

.hero-reference {
  min-height: 1024px;
  grid-template-columns: minmax(420px, 520px) minmax(0, 1fr);
  align-items: start;
  gap: clamp(28px, 3.4vw, 58px);
  padding: 180px clamp(28px, 2.4vw, 38px) 28px;
  background:
    radial-gradient(circle at 55% 49%, rgba(0, 143, 58, 0.07), transparent 39%),
    linear-gradient(180deg, #ffffff 0%, #ffffff 74%, #fbfffc 100%);
}

.hero-reference .hero-bg,
.hero-reference .hero-grid {
  display: none;
}

.hero-reference .hero-content {
  z-index: 2;
  width: 100%;
}

.hero-reference .hero-badge {
  margin-bottom: 54px;
  padding: 8px 18px;
  border: 1.5px solid rgba(0, 143, 58, 0.45);
  background: #ffffff;
  color: #008f3a;
  font-size: clamp(16px, 1.45vw, 22px);
  font-weight: 900;
}

.hero-reference .hero-badge::before {
  display: none;
}

.hero-reference h1 {
  margin: 0 0 22px;
  color: #07111d;
  font-family: var(--display);
  font-size: clamp(48px, 4.35vw, 66px);
  font-weight: 900;
  line-height: 1.28;
  letter-spacing: -0.035em;
  text-shadow: 0 5px 10px rgba(4, 16, 24, 0.12);
}

.hero-reference h1 em {
  display: inline-block;
  margin-right: 14px;
  color: #008f3a;
  font-family: "Inter", var(--display);
  font-size: 1.35em;
  font-style: normal;
  line-height: 0.95;
}

.hero-reference .hero-sub {
  margin: 0;
  color: #091515;
  font-size: clamp(17px, 1.45vw, 22px);
  font-weight: 900;
  line-height: 1.72;
}

.hero-reference .hero-sub span {
  color: #008f3a;
}

.hero-reference .hero-actions {
  position: relative;
  margin-top: 62px;
}

.hero-reference .btn-primary {
  width: min(364px, 100%);
  min-height: 84px;
  border-radius: 24px;
  background: linear-gradient(180deg, #009b3a, #007e2e);
  color: #ffffff;
  font-size: clamp(20px, 1.85vw, 28px);
  font-weight: 900;
  box-shadow: 0 14px 24px rgba(0, 91, 35, 0.22), inset 0 2px rgba(255, 255, 255, 0.18);
}

.cta-bubble {
  position: absolute;
  left: min(334px, calc(100% - 122px));
  top: -28px;
  display: grid;
  place-items: center;
  width: 120px;
  height: 62px;
  border: 2px solid #111111;
  border-radius: 18px 18px 22px 18px;
  background: #ffd83d;
  color: #111111;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.12;
  text-align: center;
  transform: rotate(5deg);
  box-shadow: 0 5px 0 rgba(0, 0, 0, 0.08);
}

.hero-flow {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 1.5vw, 24px);
  min-width: 0;
  padding-top: 28px;
}

.flow-item {
  position: relative;
  min-width: 0;
  text-align: center;
}

.flow-num {
  color: #008f3a;
  font-family: "Inter", var(--display);
  font-size: clamp(52px, 4.4vw, 68px);
  font-weight: 900;
  line-height: 1;
  text-shadow: 0 5px 10px rgba(0, 143, 58, 0.10);
}

.flow-item h2 {
  margin: 14px 0 0;
  color: #0a0e14;
  font-size: clamp(20px, 1.65vw, 25px);
  font-weight: 900;
  line-height: 1.2;
}

.flow-item img {
  display: block;
  width: min(100%, 310px);
  height: 260px;
  object-fit: contain;
  margin: 34px auto 12px;
}

.flow-item:nth-child(2) img {
  width: min(100%, 340px);
}

.flow-item:nth-child(3) img {
  width: min(100%, 325px);
}

.flow-item img.flow-arrow {
  position: absolute;
  z-index: 2;
  right: -29px;
  top: 250px;
  width: 58px;
  height: auto;
  margin: 0;
  object-fit: contain;
}

.flow-item p {
  width: min(100%, 264px);
  margin: 0 auto;
  color: #111111;
  font-size: clamp(16px, 1.4vw, 21px);
  font-weight: 900;
  line-height: 1.65;
  text-align: left;
}

.hero-reference .hero-stats {
  position: absolute;
  z-index: 3;
  left: clamp(20px, 2vw, 30px);
  right: clamp(20px, 2.4vw, 36px);
  bottom: 28px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  min-height: 184px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 35px rgba(0, 0, 0, 0.10);
}

.hero-reference .hero-stats > div {
  display: grid;
  grid-template-columns: 122px 1fr;
  align-content: center;
  align-items: center;
  justify-items: start;
  min-height: 118px;
  margin: 33px 0;
  padding: 0 clamp(20px, 2.35vw, 36px);
  border: 0;
  border-right: 1px solid #d5dde1;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  text-align: left;
}

.hero-reference .hero-stats > div:last-child {
  border-right: 0;
}

.hero-reference .hero-stats img {
  width: 96px;
  height: 96px;
  object-fit: contain;
}

.stat-copy {
  min-width: 0;
}

.hero-reference .stat-label {
  width: auto;
  margin: 0 0 8px;
  color: #111111;
  font-size: clamp(14px, 1.2vw, 18px);
  font-weight: 900;
  line-height: 1.35;
  text-align: left;
}

.hero-reference .stat-num {
  width: auto;
  color: #008f3a;
  font-family: "Inter", var(--display);
  font-size: clamp(38px, 3.8vw, 58px);
  font-weight: 900;
  line-height: 1;
  text-align: left;
  white-space: nowrap;
}

.hero-reference .stat-num span {
  margin-left: 3px;
  color: #008f3a;
  font-family: var(--display);
  font-size: clamp(18px, 1.65vw, 25px);
  font-weight: 900;
}

.stat-note {
  margin-top: 5px;
  color: #111111;
  font-size: clamp(13px, 1.1vw, 17px);
  font-weight: 900;
  line-height: 1.35;
}

@media (max-width: 1180px) {
  .lp-nav {
    min-height: 116px;
    padding: 28px 24px 14px;
  }

  .nav-menu {
    display: none;
  }

  .nav-cta {
    min-width: 230px;
    min-height: 64px;
  }

  .nav-cta-badge {
    right: 8px;
    top: -28px;
    transform: scale(0.82) rotate(6deg);
  }

  .hero-reference {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 138px 24px 260px;
  }

  .hero-flow {
    padding-top: 24px;
  }
}

@media (max-width: 900px) {
  .hero-reference {
    padding-bottom: 40px;
  }

  .hero-flow,
  .hero-reference .hero-stats {
    grid-template-columns: 1fr;
  }

  .hero-reference .hero-stats {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    margin-top: 38px;
  }

  .hero-reference .hero-stats > div {
    grid-template-columns: 90px 1fr;
    margin: 0;
    padding: 24px;
    border-right: 0;
    border-bottom: 1px solid #d5dde1;
  }

  .hero-reference .hero-stats > div:last-child {
    border-bottom: 0;
  }

  .flow-item img.flow-arrow {
    display: none;
  }
}

@media (max-width: 760px) {
  .lp-nav {
    min-height: 74px;
    gap: 10px;
    padding: 14px 16px;
  }

  .nav-logo {
    font-size: 24px;
    letter-spacing: -0.04em;
  }

  .nav-logo-image img {
    width: clamp(168px, 48vw, 210px);
    max-height: 48px;
  }

  .nav-cta {
    min-width: auto;
    min-height: 42px;
    padding: 9px 12px;
    border-radius: 14px;
    font-size: 12px;
  }

  .nav-cta-badge {
    display: none;
  }

  .hero-reference {
    padding: 104px 16px 34px;
  }

  .hero-reference .hero-badge {
    margin-bottom: 30px;
  }

  .hero-reference h1 {
    font-size: clamp(38px, 10vw, 52px);
    letter-spacing: -0.045em;
  }

  .hero-reference .hero-actions {
    margin-top: 34px;
  }

  .hero-reference .btn-primary {
    min-height: 64px;
  }

  .cta-bubble {
    display: none;
  }

  .flow-item img {
    height: 220px;
  }
}

@media (max-width: 560px) {
  .lp-nav {
    min-height: 68px;
    padding: 12px 14px;
  }

  .nav-logo-image img {
    width: clamp(150px, 44vw, 178px);
    max-height: 42px;
  }

  .nav-cta {
    flex: 0 0 auto;
    min-height: 40px;
    padding: 8px 11px;
    border-radius: 13px;
    font-size: 11px;
    letter-spacing: 0;
  }

  .hero-reference {
    padding: 96px 16px 30px;
  }

  .hero-reference .hero-badge {
    margin-bottom: 24px;
    font-size: 14px;
  }

  .hero-reference h1 {
    margin-bottom: 18px;
    font-size: clamp(34px, 10.2vw, 44px);
    line-height: 1.22;
  }

  .hero-reference h1 em {
    margin-right: 7px;
  }

  .hero-reference .hero-sub {
    font-size: 15px;
    line-height: 1.78;
  }

  .hero-reference .hero-actions {
    margin-top: 28px;
  }

  .hero-reference .btn-primary {
    min-height: 58px;
    border-radius: 18px;
    font-size: 18px;
  }

  .hero-flow {
    gap: 30px;
    padding-top: 18px;
  }

  .flow-num {
    font-size: 50px;
  }

  .flow-item h2 {
    margin-top: 8px;
    font-size: 20px;
  }

  .flow-item img {
    width: min(100%, 270px);
    height: 190px;
    margin-top: 20px;
    margin-bottom: 8px;
  }

  .flow-item:nth-child(2) img,
  .flow-item:nth-child(3) img {
    width: min(100%, 286px);
  }

  .flow-item p {
    width: min(100%, 300px);
    font-size: 15px;
    line-height: 1.75;
    text-align: center;
  }

  .hero-reference .hero-stats {
    margin-top: 30px;
    border-radius: 16px;
  }

  .hero-reference .hero-stats > div {
    grid-template-columns: 74px 1fr;
    min-height: 104px;
    padding: 18px;
  }

  .hero-reference .hero-stats img {
    width: 62px;
    height: 62px;
  }

  .hero-reference .stat-label {
    margin-bottom: 4px;
    font-size: 13px;
  }

  .hero-reference .stat-num {
    font-size: 38px;
  }

  .hero-reference .stat-num span {
    font-size: 18px;
  }

  .stat-note {
    font-size: 12px;
  }
}

@media (max-width: 390px) {
  .lp-nav {
    padding-inline: 12px;
  }

  .nav-logo-image img {
    width: 144px;
  }

  .nav-cta {
    padding-inline: 10px;
    font-size: 10.5px;
  }

  .hero-reference h1 {
    font-size: 33px;
  }
}

/* Device-specific ACF output. Only one complete LP tree is visible at a time. */
.snlp-device-page--mobile {
  display: none;
}

.biz-icon-upload {
  object-fit: contain;
}

/* Small body copy: preserve sizes and authored line breaks while unifying typography. */
.flow-item p,
.section-desc,
.problem-card p,
.feature-card p,
.flow-step p,
.market-card p,
.onboard-step p,
.feature-list li,
.market-item,
.price-note,
.price-initial,
.faq-a,
.cta-footer p,
.site-footer {
  font-family: "Noto Sans JP", "Yu Gothic", "Hiragino Kaku Gothic ProN", system-ui, sans-serif;
  font-weight: 400;
}

@media (max-width: 760px) {
  .snlp-device-page--pc {
    display: none;
  }

  .snlp-device-page--mobile {
    display: block;
  }
}
