/* ====================================================================
   規程ログ ｜ Landing Page Styles
   ==================================================================== */

/* --------- Reset & Base --------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Hiragino Sans', 'Yu Gothic', sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: #0f172a;
  background: #fff;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}
main { flex: 1 0 auto; }
.site-footer { flex-shrink: 0; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }

:root {
  --primary: #1e40af;
  --primary-dark: #1e3a8a;
  --primary-light: #3b82f6;
  --primary-50: #eff6ff;
  --primary-100: #dbeafe;
  --accent: #f59e0b;
  --text: #0f172a;
  --text-sub: #475569;
  --text-light: #64748b;
  --border: #e2e8f0;
  --bg-soft: #f8fafc;
  --bg-card: #ffffff;
  --success: #10b981;
  --warning: #f59e0b;
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 48px rgba(15, 23, 42, 0.12);
  --radius: 12px;
  --radius-lg: 16px;
}

/* --------- Layout --------- */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}
.sp-only { display: none; }

/* --------- Buttons --------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 11px 22px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover { background: var(--primary-dark); }
.btn-secondary {
  background: #fff;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-secondary:hover { background: var(--primary-50); }
.btn-ghost {
  background: #fff;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-ghost:hover { background: var(--primary-50); }
.btn-ghost-light {
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.5);
}
.btn-ghost-light:hover { background: rgba(255,255,255,0.12); }
.btn-lg { padding: 16px 32px; font-size: 16px; }
.btn-block { width: 100%; }

/* --------- Header --------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background .2s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--border);
  background: rgba(255, 255, 255, 0.98);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 152px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 900;
  font-size: 18px;
  letter-spacing: 0.02em;
}
.logo-mark { display: inline-flex; }
.logo-img {
  display: block;
  height: 128px;
  width: auto;
  object-fit: contain;
}
.logo-footer .logo-img {
  height: 120px;
}
.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  flex: 1;
  margin-left: 24px;
}
.nav a {
  font-weight: 500;
  font-size: 14px;
  color: var(--text-sub);
  position: relative;
  padding: 6px 0;
}
.nav a:hover { color: var(--primary); }
.nav .nav-cta { display: none; }
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.hamburger {
  display: none;
  width: 40px; height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text);
  transition: transform .25s ease, opacity .2s ease;
}
.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --------- Hero --------- */
.hero {
  position: relative;
  padding: 80px 0 96px;
  background: #fff;
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--primary-100);
  color: var(--primary);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  margin-bottom: 20px;
}
.hero-copy h1 {
  font-size: clamp(34px, 4.6vw, 56px);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: 0.01em;
  margin-bottom: 24px;
}
.hero-copy h1 .accent {
  color: #34c896;
}
.lead {
  font-size: 17px;
  color: var(--text-sub);
  margin-bottom: 28px;
}
.hero-points {
  margin-bottom: 32px;
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 16px 20px;
  justify-content: start;
}
.hero-points li {
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-points .hp-ico {
  width: 44px;
  height: 44px;
  display: block;
  flex-shrink: 0;
  object-fit: contain;
}
.hero-points .hp-t {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}
.hero-points strong {
  font-weight: 700;
  font-size: 13.5px;
  color: var(--text);
}
.hero-points small {
  font-size: 11px;
  color: var(--text-light);
  font-weight: 400;
}
.check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--success);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}
.btn-pill { border-radius: 999px; }
.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.note {
  font-size: 13px;
  color: var(--text-light);
}

/* Hero Mock */
.hero-mock { position: relative; display: flex; justify-content: center; }
.hero-illust {
  width: 100%;
  max-width: 580px;
  height: auto;
  display: block;
}
.mock-window {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  transform: rotate(-1deg);
  transition: transform .4s ease;
}
.mock-window:hover { transform: rotate(0); }
.mock-titlebar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: #f1f5f9;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.mock-titlebar span {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #cbd5e1;
}
.mock-titlebar span:nth-child(1) { background: #f87171; }
.mock-titlebar span:nth-child(2) { background: #fbbf24; }
.mock-titlebar span:nth-child(3) { background: #34d399; }
.mock-titlebar p {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: 12px;
  color: var(--text-light);
  font-weight: 500;
}
.mock-body { padding: 18px; }
.mock-search {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 14px;
}
.mock-search .ico { font-size: 14px; }
.mock-search input {
  flex: 1;
  border: 0;
  background: transparent;
  font-size: 13px;
  color: var(--text-sub);
  outline: none;
}
.mock-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.tab {
  padding: 5px 11px;
  font-size: 11.5px;
  border-radius: 999px;
  background: var(--bg-soft);
  color: var(--text-sub);
  font-weight: 500;
}
.tab.active { background: var(--primary); color: #fff; }
.mock-list {
  display: grid;
  gap: 8px;
}
.mock-list li {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
}
.mock-list .doc { font-size: 22px; }
.mock-list .t {
  font-weight: 700;
  font-size: 13.5px;
  margin-bottom: 2px;
}
.mock-list .t em {
  font-style: normal;
  color: var(--primary);
  font-weight: 700;
  font-size: 12px;
  margin-left: 4px;
}
.mock-list .s {
  font-size: 11.5px;
  color: var(--text-light);
}
.badge {
  font-size: 11px;
  padding: 3px 9px;
  border-radius: 999px;
  font-weight: 700;
}
.badge.ok { background: #ecfdf5; color: var(--success); }

.mock-toast {
  position: absolute;
  right: -16px;
  bottom: 30px;
  display: flex;
  gap: 10px;
  padding: 14px 18px;
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  max-width: 280px;
  animation: float 3s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.mock-toast .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--primary);
  margin-top: 8px;
  flex-shrink: 0;
  animation: pulse 1.5s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(30, 64, 175, 0.6); }
  50% { box-shadow: 0 0 0 8px rgba(30, 64, 175, 0); }
}
.mock-toast .t { font-size: 13px; font-weight: 700; margin-bottom: 2px; }
.mock-toast .s { font-size: 11.5px; color: var(--text-light); }

/* --------- Section common --------- */
section { padding: 96px 0; }
.section-eyebrow {
  display: block;
  text-align: center;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--primary);
  margin-bottom: 14px;
  text-transform: uppercase;
}
.section-eyebrow.light { color: rgba(255,255,255,0.85); }
.section-title {
  text-align: center;
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 900;
  line-height: 1.4;
  margin-bottom: 16px;
  letter-spacing: 0.01em;
}
.section-title.light { color: #fff; }
.section-lead {
  text-align: center;
  color: var(--text-sub);
  font-size: 16px;
  max-width: 720px;
  margin: 0 auto 56px;
}

/* --------- Problems --------- */
.problems { background: #fff; position: relative; }
.problems-image {
  display: block;
  width: 100%;
  max-width: 1100px;
  height: auto;
  margin: 0 auto;
}
.problems-title {
  text-align: center;
  font-size: clamp(28px, 3.6vw, 42px);
  font-weight: 900;
  letter-spacing: 0.02em;
  color: #0c2a5a;
  margin-bottom: 56px;
}
.problem-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}
.problem-card {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.problem-card:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(15, 23, 42, 0.06); }

/* --------- Features (4-card grid) --------- */
.features-grid { background: #fff; }
.features-title {
  text-align: center;
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 900;
  letter-spacing: 0.02em;
  color: var(--text);
  margin-bottom: 56px;
  position: relative;
}
.features-title .title-accent { color: var(--primary); }
.features-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--primary);
  border-radius: 999px;
  margin: 18px auto 0;
}
.fcards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1180px;
  margin: 0 auto;
}
.fcard {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 56px 22px 22px;
  text-align: center;
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.fcard:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08); }
.fcard-num {
  position: absolute;
  top: -22px;
  left: 50%;
  transform: translateX(-50%);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-weight: 900;
  font-size: 20px;
  font-family: 'Helvetica Neue', sans-serif;
}
.fcard-title {
  font-size: 18px;
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}
.fcard-body {
  font-size: 13.5px;
  color: var(--text-sub);
  line-height: 1.85;
  margin-bottom: 14px;
  flex: 1;
}
.fcard-evidence {
  font-size: 12.5px;
  color: var(--primary);
  font-weight: 700;
  padding-top: 12px;
  border-top: 1px dashed var(--border);
  margin-top: auto;
}

/* --------- Pricing --------- */
.pricing { background: var(--bg-soft); }
.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
  align-items: stretch;
}
.plan {
  position: relative;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 20px;
  padding: 36px 28px 32px;
  display: flex;
  flex-direction: column;
  text-align: center;
  transition: transform .2s ease, box-shadow .2s ease;
}
.plan:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08); }
.plan.recommended {
  background: var(--primary);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 24px 48px rgba(30, 64, 175, 0.32);
  transform: translateY(-12px);
}
.plan.recommended:hover { transform: translateY(-16px); box-shadow: 0 28px 56px rgba(30, 64, 175, 0.4); }
.plan.recommended .plan-name,
.plan.recommended .plan-price strong,
.plan.recommended .plan-target strong { color: #fff; }
.plan.recommended .plan-tax,
.plan.recommended .plan-target,
.plan.recommended .plan-features-label,
.plan.recommended .plan-features li,
.plan.recommended .plan-price .per,
.plan.recommended .plan-price .cur { color: rgba(255,255,255,0.92); }
.plan.recommended .plan-icon {
  background: rgba(255,255,255,0.18);
  color: #fff;
  border-color: rgba(255,255,255,0.3);
}
.plan.recommended .plan-features li::before {
  background: rgba(255,255,255,0.18);
  color: #fff;
}
.plan.recommended .btn-primary {
  background: #fff;
  color: var(--primary);
}
.plan.recommended .btn-primary:hover { background: #f1f5f9; color: var(--primary-dark); }
.badge-rec {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 18px;
  background: #fb923c;
  color: #fff;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
  box-shadow: 0 6px 14px rgba(251, 146, 60, 0.4);
}
.plan-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.plan-icon img {
  max-width: 100%;
  max-height: 100%;
  display: block;
  object-fit: contain;
}
.plan-name {
  font-size: 22px;
  font-weight: 900;
  margin-bottom: 16px;
  color: var(--text);
}
.plan-price {
  margin-bottom: 4px;
  color: var(--text);
}
.plan-price .cur { font-size: 18px; font-weight: 700; }
.plan-price strong {
  font-size: 40px;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0 2px;
}
.plan-price .per {
  font-size: 14px;
  color: var(--text-light);
  font-weight: 500;
}
.plan-tax {
  font-size: 12px;
  color: var(--text-light);
  margin-bottom: 24px;
}
.plan-target {
  font-size: 13px;
  color: var(--text-sub);
  margin-bottom: 24px;
  padding: 14px 12px;
  background: var(--bg-soft);
  border-radius: 12px;
  line-height: 1.5;
}
.plan-target .users-icon { margin-right: 4px; }
.plan-target strong {
  font-size: 16px;
  font-weight: 900;
  color: var(--text);
}
.plan.recommended .plan-target {
  background: rgba(255,255,255,0.15);
}
.plan-features-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-sub);
  margin-bottom: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  text-align: left;
}
.plan.recommended .plan-features-label {
  border-top-color: rgba(255,255,255,0.18);
}
.plan-features {
  display: grid;
  gap: 12px;
  margin-bottom: 28px;
  flex: 1;
  text-align: left;
}
.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text);
  line-height: 1.6;
}
.plan-features li::before {
  content: '✓';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--primary-100);
  color: var(--primary);
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}
.pricing-note {
  text-align: center;
  margin-top: 32px;
  color: var(--text-light);
  font-size: 13px;
}

/* --------- FAQ --------- */
.faq { background: var(--bg-soft); }
.faq-inner { max-width: 820px; }
.faq-list {
  display: grid;
  gap: 12px;
  margin-top: 48px;
}
.faq-list details {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0;
  transition: box-shadow .2s ease, border-color .2s ease;
}
.faq-list details[open] {
  border-color: var(--primary-100);
  box-shadow: var(--shadow-sm);
}
.faq-list summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 56px 20px 24px;
  font-weight: 700;
  font-size: 15.5px;
  position: relative;
  color: var(--text);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: '';
  position: absolute;
  right: 24px;
  top: 50%;
  width: 12px;
  height: 12px;
  border-right: 2.5px solid var(--primary);
  border-bottom: 2.5px solid var(--primary);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .25s ease;
}
.faq-list details[open] summary::after {
  transform: translateY(-30%) rotate(-135deg);
}
.faq-list details p {
  padding: 0 24px 22px;
  color: var(--text-sub);
  font-size: 14.5px;
  line-height: 1.85;
}

/* --------- CTA --------- */
.cta {
  background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 60%, #2563eb 100%);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 15% 20%, rgba(255,255,255,0.10), transparent 40%),
    radial-gradient(circle at 85% 80%, rgba(59, 130, 246, 0.25), transparent 50%);
}
.cta-inner { position: relative; }
.cta h2 {
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 900;
  margin-bottom: 18px;
  line-height: 1.5;
}
.cta p {
  color: rgba(255,255,255,0.92);
  font-size: 15.5px;
  margin-bottom: 32px;
  line-height: 1.85;
}
.cta-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.cta .btn-primary {
  background: #fff;
  color: var(--primary);
  padding: 18px 44px;
  font-size: 16px;
}
.cta .btn-primary:hover { background: #f1f5f9; color: var(--primary-dark); }
.cta-checks {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  font-size: 13.5px;
  color: rgba(255,255,255,0.92);
}
.cta-checks li {
  display: flex;
  align-items: center;
  gap: 6px;
}
.cta-checks .ck {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}
.pc-only { display: inline; }

/* --------- Footer --------- */
.site-footer {
  background: #fff;
  color: var(--text);
  padding: 80px 0 32px;
  border-top: 1px solid var(--border);
}
.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 56px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}
.footer-brand { max-width: 360px; }
.footer-brand .logo-img { height: 120px; }
.site-footer .logo { color: var(--text); }
.footer-desc {
  margin-top: 18px;
  color: var(--text-sub);
  font-size: 13px;
  line-height: 1.85;
}
.footer-column h4 {
  color: var(--text);
  font-size: 14px;
  margin-bottom: 16px;
  font-weight: 700;
}
.footer-column ul { display: grid; gap: 10px; }
.footer-column a {
  font-size: 13px;
  color: var(--text-sub);
  transition: color .15s ease;
}
.footer-column a:hover { color: var(--primary); }
.footer-contact { display: grid; gap: 14px; }
.footer-contact p {
  font-size: 13px;
  color: var(--text-sub);
  line-height: 1.7;
  display: flex;
  gap: 8px;
}
.footer-contact p .fc-ico {
  flex-shrink: 0;
  width: 18px;
  display: inline-flex;
}
.footer-contact small {
  display: block;
  font-size: 11.5px;
  color: var(--text-light);
}
.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom small { color: var(--text-light); font-size: 12px; }
.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-links a {
  color: var(--text-sub);
  font-size: 12.5px;
  transition: color .15s ease;
}
.footer-links a:hover { color: var(--primary); }

/* --------- Reveal on scroll --------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .55s ease, transform .55s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* --------- Floating CTA (mobile) --------- */
.floating-cta {
  display: none;
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 40;
  padding: 14px 22px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity .25s ease, transform .25s ease;
}
.floating-cta.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* --------- Responsive --------- */
@media (max-width: 1024px) {
  .hero { padding: 64px 0 80px; }
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-mock { max-width: 540px; margin: 0 auto; width: 100%; }
  .problem-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .problem { grid-template-columns: 1fr 1.2fr; padding: 24px; gap: 8px; min-height: 220px; }
  .problem-illust { height: 180px; }
  .fcards { grid-template-columns: repeat(2, 1fr); gap: 24px 20px; }
  .plan-grid { grid-template-columns: 1fr; max-width: 460px; margin-left: auto; margin-right: auto; }
  .plan.recommended { transform: none; }
  .plan.recommended:hover { transform: translateY(-4px); }
  .footer-content { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 860px) {
  section { padding: 72px 0; }
  .header-inner { height: 64px; gap: 12px; }
  .site-header .logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    width: 120px;
    overflow: hidden;
    flex-shrink: 0;
  }
  .site-header .logo-img {
    height: 80px;
    width: 120px;
    max-width: none;
    object-fit: cover;
    object-position: center;
    flex-shrink: 0;
  }
  .logo-footer { display: inline-flex; }
  .logo-footer .logo-img {
    height: 80px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
  }
  .site-footer { padding: 16px 0 16px; }
  .footer-content { padding-bottom: 20px; gap: 20px; }
  .footer-brand { max-width: 100%; }
  .footer-brand .logo-img { height: 80px; }
  .footer-desc { margin-top: 4px; }
  .footer-bottom { padding-top: 16px; }
  .cta-checks {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    width: max-content;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  .nav,
  .header-actions { display: none; }
  .hamburger { display: flex; }
  .nav.is-open {
    display: flex;
    position: fixed;
    top: 64px;
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 8px 0;
    margin-left: 0;
    box-shadow: var(--shadow-md);
  }
  .nav.is-open a {
    padding: 16px 24px;
    border-bottom: 1px solid var(--border);
    font-size: 15px;
  }
  .nav.is-open a:last-child { border-bottom: 0; }
  .nav-cta-row {
    display: flex;
    gap: 10px;
    padding: 12px 20px 16px;
  }
  .nav.is-open .nav-cta {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 12px 16px;
    border-radius: 999px;
    border-bottom: 0;
    font-weight: 700;
    font-size: 14.5px;
    background: #fff;
    color: var(--primary);
    border: 2px solid var(--primary);
  }
  .nav.is-open .nav-cta + .nav-cta {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
  }
  .floating-cta { display: inline-flex; }
  .sp-only { display: inline; }
  .pc-only { display: none; }
  .problems-title { font-size: clamp(22px, 4vw, 30px); margin-bottom: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 16px; }
}

@media (max-width: 640px) {
  .container { padding: 0 20px; }
  section { padding: 64px 0; }
  .hero { padding: 32px 0 56px; }
  .hero-mock { display: none; }
  .hero-copy h1 { font-size: 32px; margin-bottom: 20px; }
  .lead { font-size: 15px; margin-bottom: 24px; }
  .hero-points {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 28px;
  }
  .hero-points li { gap: 12px; }
  .hero-points .hp-ico { width: 36px; height: 36px; }
  .hero-points strong { font-size: 14.5px; }
  .problem-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; gap: 16px; }
  .problem { grid-template-columns: 1fr 1.1fr; padding: 20px; gap: 12px; min-height: 0; }
  .problem-illust { height: 140px; }
  .problem h3 { font-size: 18px; }
  .fcards { grid-template-columns: 1fr; max-width: 380px; margin: 0 auto; gap: 24px; }
  .footer-content { grid-template-columns: 1fr; gap: 32px; }
  .mock-toast { right: 0; bottom: -10px; max-width: 240px; padding: 12px 14px; }
  .cta h2 { font-size: 24px; }
  .cta-checks { gap: 14px 22px; }
  .btn-lg { padding: 14px 24px; font-size: 15px; }
}
