/* ================================================
   ElementNewBanner LP - Style Sheet
   Design reference: React component (slate/indigo clean design)
   ================================================ */

/* ---------- Reset & Variables ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Brand Colors */
  --primary: #4F46E5;       /* indigo-600 */
  --primary-hover: #4338CA; /* indigo-700 */
  --primary-light: #EEF2FF; /* indigo-50 */
  --primary-mid: #E0E7FF;   /* indigo-100 */
  --primary-text: #4338CA;  /* indigo-700 */

  /* Slate palette */
  --slate-50:  #F8FAFC;
  --slate-100: #F1F5F9;
  --slate-200: #E2E8F0;
  --slate-300: #CBD5E1;
  --slate-400: #94A3B8;
  --slate-500: #64748B;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1E293B;
  --slate-900: #0F172A;

  --white: #FFFFFF;
  --red-50:  #FEF2F2;
  --red-500: #EF4444;

  /* Gradients */
  --gradient-hero: linear-gradient(135deg, #6366F1 0%, #3B82F6 100%);
  --gradient-text: linear-gradient(135deg, #6366F1 0%, #3B82F6 100%);

  /* Spacing */
  --section-py: 96px;
  --container-px: 24px;
  --container-max: 1200px;

  /* Typography */
  --font: 'Noto Sans JP', 'Inter', sans-serif;

  /* Border radius */
  --radius-sm:   8px;
  --radius-md:   12px;
  --radius-lg:   16px;
  --radius-xl:   20px;
  --radius-2xl:  24px;
  --radius-full: 9999px;

  /* Shadow */
  --shadow-sm:  0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md:  0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg:  0 10px 30px rgba(0,0,0,0.10);
  --shadow-xl:  0 20px 50px rgba(0,0,0,0.15);

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --transition: 0.2s var(--ease);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}

body {
  font-family: var(--font);
  color: var(--slate-800);
  background: var(--white);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ---------- Utility ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-px);
}

.text-gradient {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hide-sp { display: inline; }
.hide-pc { display: none; }

/* ---------- Section Globals ---------- */
.section-label {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 900;
  color: var(--primary);
  letter-spacing: -0.02em;
  line-height: 1.3;
  text-align: center;
  margin-bottom: 10px;
  display: block;
}

.section-label--light {
  color: #A5B4FC; /* indigo-300 */
}

.section-title {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  font-weight: 500;
  text-align: center;
  line-height: 1.7;
  margin-bottom: 32px;
  color: var(--slate-500);
  letter-spacing: 0;
}

/* Sections with no label above — keep title prominent */
.faq .section-title {
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  font-weight: 900;
  color: var(--slate-900);
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin-bottom: 40px;
}

.demo .section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 900;
  color: var(--slate-900);
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin-bottom: 20px;
}

.section-title--light {
  color: rgba(255,255,255,0.7);
}

.section-desc {
  text-align: center;
  color: var(--slate-500);
  font-size: 1rem;
  max-width: 640px;
  margin: 0 auto 48px;
  line-height: 1.8;
}

/* ---------- Top Bar ---------- */
.topbar { display: none; }

/* ---------- Header ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--slate-100);
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
  transition: var(--transition);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 32px;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.header__logo-img {
  height: 48px;
  width: auto;
  display: block;
}

.footer__logo-img {
  height: 48px;
  width: auto;
  display: block;
}

.header__logo-icon {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header__logo-text {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--slate-900);
  letter-spacing: -0.02em;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.header__link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--slate-600);
  transition: color var(--transition);
}

.header__link:hover {
  color: var(--primary);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.header__cta-btn {
  background: var(--slate-900);
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 700;
  padding: 8px 20px;
  border-radius: var(--radius-full);
  transition: background var(--transition);
  flex-shrink: 0;
}

.header__cta-btn:hover {
  background: var(--slate-700);
}

.header__login-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--slate-700);
  background: transparent;
  border: 1px solid var(--slate-200);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  transition: border-color var(--transition), color var(--transition), background var(--transition);
  flex-shrink: 0;
}

.header__login-link:hover {
  border-color: var(--slate-300);
  background: var(--slate-50);
}

.header__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.header__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--slate-700);
  border-radius: 2px;
  transition: var(--transition);
}

.header--scrolled {
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
}

/* ---------- Mobile Nav ---------- */
.mobile-nav {
  display: none;
  position: fixed;
  top: 64px; /* header height */
  left: 0;
  right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--slate-200);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  z-index: 999;
  flex-direction: column;
  padding: 16px;
  gap: 4px;
}

.mobile-nav.active {
  display: flex;
}

.mobile-nav__link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--slate-700);
  padding: 12px 16px;
  border-radius: var(--radius-md);
  text-align: center;
  transition: background var(--transition);
}

.mobile-nav__link:hover {
  background: var(--slate-50);
}

.mobile-nav__cta {
  background: var(--slate-900);
  color: var(--white);
  font-weight: 700;
  border-radius: var(--radius-full);
  margin-top: 8px;
}

.mobile-nav__cta:hover {
  background: var(--slate-700);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  border-radius: var(--radius-full);
  transition: all var(--transition);
  cursor: pointer;
  border: none;
  font-size: 0.95rem;
  padding: 12px 28px;
  text-decoration: none;
  white-space: nowrap;
}

.btn--primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(79,70,229,0.35);
}

.btn--primary:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
}

.btn--secondary {
  background: var(--white);
  color: var(--slate-700);
  border: 1px solid var(--slate-300);
}

.btn--secondary:hover {
  background: var(--slate-50);
}

.btn--ghost {
  background: rgba(255,255,255,0.15);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.3);
}

.btn--ghost:hover {
  background: rgba(255,255,255,0.25);
}

.btn--lg {
  font-size: 1rem;
  padding: 14px 36px;
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
  background: var(--slate-50);
  padding-top: 160px; /* header + gap */
  padding-bottom: 140px;
  position: relative;
  overflow: hidden;
}

/* Decorative blob */
.hero__mesh {
  position: absolute;
  top: -100px;
  right: -150px;
  width: 600px;
  height: 600px;
  background: #E0E7FF;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.6;
  pointer-events: none;
}

/* Hide old orbs */
.hero__orb,
.hero__grid-lines {
  display: none;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero__content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Eyebrow badge */
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  background: rgba(79,70,229,0.08);
  border: 1px solid rgba(79,70,229,0.2);
  color: var(--primary-text);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  width: fit-content;
}

.hero__badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

/* H1 */
.hero__title {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--slate-900);
  margin: 0;
}

.hero__gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Lead text */
.hero__subtitle {
  font-size: 1rem;
  color: var(--slate-600);
  line-height: 1.8;
  max-width: 480px;
}

/* Stat chips (replaces pill badges) */
.hero__stats {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  padding: 10px 0;
}

.hero__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 4px 0;
  gap: 2px;
  width: 132px;
  justify-content: center;
}

.hero__stat-val {
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--slate-900);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.hero__stat-desc {
  font-size: 0.7rem;
  color: var(--primary);
  font-weight: 600;
  line-height: 1.3;
}

.hero__stat-sep {
  width: 1px;
  height: 36px;
  background: var(--slate-200);
  flex-shrink: 0;
}

/* Legacy pill — keep selector to avoid breaking mobile override */
.hero__pill::before {
  content: '';
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--primary-mid);
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='14' height='14' viewBox='0 0 14 14' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 7l2.5 2.5 5.5-5.5' stroke='%234F46E5' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

/* CTA group */
.hero__cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero__note {
  font-size: 0.75rem;
  color: var(--slate-400);
}

/* Visual / mockup */
.hero__visual {
  position: relative;
}

.hero__mockup {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}

.hero__mockup-bar {
  height: 36px;
  background: var(--slate-100);
  border-bottom: 1px solid var(--slate-200);
  display: flex;
  align-items: center;
  padding: 0 14px;
  gap: 6px;
}

.hero__mockup-bar span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.hero__mockup-bar span:nth-child(1) { background: #F87171; }
.hero__mockup-bar span:nth-child(2) { background: #FBBF24; }
.hero__mockup-bar span:nth-child(3) { background: #34D399; }

.hero__mockup-body {
  display: flex;
  height: 320px;
}

.hero__mockup-lp {
  flex: 3;
  position: relative;
  overflow: hidden;
  background: var(--slate-50);
}

.hero__mockup-lp img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.hero__mockup-selection {
  position: absolute;
  top: 30%;
  left: 10%;
  right: 20%;
  height: 28%;
  border: 2px dashed var(--primary);
  background: rgba(79,70,229,0.08);
  border-radius: 6px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 4px;
}

.hero__mockup-selection-label {
  background: var(--primary);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
}

.hero__mockup-sidebar {
  flex: 2;
  border-left: 1px solid var(--slate-200);
  background: var(--white);
  display: flex;
  flex-direction: column;
}

.hero__mockup-lib {
  padding: 10px 10px 8px;
  border-bottom: 1px solid var(--slate-200);
}

.hero__mockup-sidebar-label {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--slate-500);
  padding-bottom: 5px;
  margin-bottom: 5px;
  border-bottom: 1px solid var(--slate-100);
}

.hero__mockup-thumbs {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 4px;
}

.hero__mockup-thumbs img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  background: #f8fafc;
  border-radius: 3px;
  border: 1px solid var(--slate-200);
}

.hero__mockup-result {
  flex: 1;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
}

.hero__mockup-result-label {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--slate-500);
  padding-bottom: 5px;
  margin-bottom: 5px;
  border-bottom: 1px solid var(--slate-100);
}

.hero__mockup-result-img {
  flex: 1;
  border-radius: 4px;
  overflow: hidden;
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
}

.hero__mockup-result-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

/* Float badges */
.hero__float {
  position: absolute;
  background: var(--white);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-lg);
  padding: 8px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--slate-700);
  white-space: nowrap;
  z-index: 2;
}

.hero__float--1 {
  bottom: 60px;
  left: -20px;
}

.hero__float--2 {
  bottom: 20px;
  right: -20px;
}

/* ==========================================
   DEMO SECTION
   ========================================== */
.demo {
  background: var(--white);
  padding: var(--section-py) 0;
}

.demo .section-title {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.demo__flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.demo__flow-step {
  background: var(--slate-100);
  color: var(--slate-500);
  font-size: 0.875rem;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition);
}

.demo__flow-step--active {
  background: var(--primary-light);
  border: 1px solid var(--primary-mid);
  color: var(--primary-text);
}

.demo__flow-num {
  font-size: 0.7rem;
  font-family: 'Inter', monospace;
  opacity: 0.6;
}

.demo__flow-arrow {
  color: var(--slate-300);
  display: flex;
  align-items: center;
}

.demo__video-wrap {
  background: var(--slate-900);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--slate-200);
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 900px;
  margin: 0 auto;
}

.demo__video-inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 16px;
}

.demo__timeline {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.demo__frame {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.demo__frame-icon {
  font-size: 2rem;
}

.demo__frame-label {
  color: rgba(255,255,255,0.6);
  font-size: 0.8rem;
}

.demo__frame-sep {
  color: rgba(255,255,255,0.3);
  font-size: 1.5rem;
}

.demo__coming {
  color: rgba(255,255,255,0.4);
  font-size: 0.875rem;
}

/* ==========================================
   PAIN / PROBLEM SECTION
   ========================================== */
.pain {
  background: var(--slate-50);
  padding: var(--section-py) 0;
  border-top: 1px solid var(--slate-100);
  border-bottom: 1px solid var(--slate-100);
}

.pain .section-label {
  color: var(--primary);
}

.pain__grid { display: none; } /* replaced by pain__flow */

.pain__card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition);
  flex: 1;
  border-top: 3px solid var(--primary-mid);
}

.pain__card:hover {
  box-shadow: var(--shadow-md);
}

/* Pain diagram: flow layout with arrows between cards */
.pain__flow {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin-top: 48px;
}

.pain__flow-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  color: var(--slate-300);
  flex-shrink: 0;
  font-size: 1.5rem;
}

.pain__card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.pain__icon-wrap {
  width: 48px;
  height: 48px;
  background: var(--primary-light);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pain__icon-wrap svg {
  width: 26px;
  height: 26px;
  color: var(--primary);
}

.pain__step-num {
  font-family: 'Inter', monospace;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--slate-400);
  margin-bottom: 12px;
  display: block;
}

.pain__heading {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--slate-900);
  margin-bottom: 0;
}

.pain__text {
  font-size: 0.875rem;
  color: var(--slate-600);
  line-height: 1.7;
}

/* Pain diagram styles */
.pain__diagram {
  background: #FFF5F5;
  border: 1px solid #FECACA;
  border-radius: var(--radius-md);
  padding: 10px 14px;
  margin: 12px 0;
}

.pain__diagram-flow {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.pain__diagram-node {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.78rem;
  font-weight: 600;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-sm);
  padding: 5px 10px;
  color: var(--slate-700);
  white-space: nowrap;
}

.pain__diagram-node--bad {
  background: var(--red-50);
  border-color: #FECACA;
  color: #DC2626;
}

.pain__diagram-arrow {
  color: var(--slate-400);
  font-size: 1rem;
  flex-shrink: 0;
  font-weight: 700;
}

/* Keep .pain__card for base card style */

/* ==========================================
   COMPARISON SECTION
   ========================================== */
.comparison {
  background: var(--white);
  padding: var(--section-py) 0;
}

.comparison__wrap {
  overflow-x: auto;
  margin-top: 40px;
}

.comparison__table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
  text-align: left;
}

.comparison__table thead tr th {
  padding: 14px 20px;
  font-size: 0.875rem;
  border-bottom: 2px solid var(--slate-100);
}

.comparison__axis-head {
  width: 22%;
  color: transparent; /* empty */
}

.comparison__chat-head {
  width: 37%;
  color: var(--slate-500);
  font-weight: 500;
}

.comparison__enb-head {
  width: 41%;
  background: rgba(79,70,229,0.04);
  border-bottom: 2px solid var(--primary) !important;
  border-radius: 12px 12px 0 0;
  color: var(--primary-text);
  font-weight: 800;
  font-size: 1rem;
}

.comparison__enb-head-inner {
  display: flex;
  align-items: center;
  gap: 8px;
}

.comparison__table tbody tr {
  transition: background var(--transition);
}

.comparison__table tbody tr:hover {
  background: var(--slate-50);
}

.comparison__table tbody td {
  padding: 18px 20px;
  border-bottom: 1px solid var(--slate-100);
  font-size: 0.875rem;
  vertical-align: top;
}

.comparison__axis {
  font-weight: 700;
  color: var(--slate-700);
  font-size: 0.875rem;
}

.comparison__chat {
  color: var(--slate-600);
}

.comparison__enb {
  background: rgba(79,70,229,0.03);
  border-bottom: 1px solid rgba(79,70,229,0.1) !important;
  font-weight: 500;
  color: var(--slate-900);
}

.comparison__minus {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  line-height: 1.6;
}

.comparison__minus::before {
  content: '−';
  color: var(--slate-400);
  flex-shrink: 0;
  font-weight: 400;
  margin-top: 1px;
}

.comparison__plus {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  line-height: 1.6;
}

.comparison__plus::before {
  content: '';
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 8l3.5 3.5 6.5-7' stroke='%234F46E5' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

/* ==========================================
   FEATURES SECTION (Dark)
   ========================================== */
.features {
  background: var(--slate-900);
  padding: var(--section-py) 0;
}

.features .section-label {
  color: #818CF8; /* indigo-400 */
  text-align: center;
}

.features .section-title {
  text-align: center;
  color: var(--white);
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.feature-card {
  background: #1E293B; /* slate-800 */
  border: 1px solid #334155; /* slate-700 */
  border-radius: var(--radius-xl);
  padding: 28px 32px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
  transition: border-color var(--transition);
}

.feature-card__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.feature-card:hover {
  border-color: rgba(99,102,241,0.5);
}

.feature-card__header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.feature-card__num {
  width: 40px;
  height: 40px;
  background: #334155; /* slate-700 */
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', monospace;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--slate-400);
  flex-shrink: 0;
}

.feature-card__title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0;
  flex: 1;
  line-height: 1.35;
}

.feature-card__text {
  font-size: 0.9rem;
  color: #94A3B8; /* slate-400 */
  line-height: 1.7;
  flex: 1;
  margin-bottom: 20px;
}

.feature-card__img {
  background: var(--slate-900);
  border: 1px solid #334155;
  border-radius: var(--radius-md);
  width: 180px;
  height: 150px;
  flex-shrink: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
}

/* ==========================================
   RIGHTS CONTROL SECTION (Light indigo)
   ========================================== */
.rights {
  background: var(--slate-50);
  border-top: 1px solid var(--slate-100);
  border-bottom: 1px solid var(--slate-100);
  padding: var(--section-py) 0;
  overflow: hidden;
  position: relative;
}

/* Hide old orbs */
.rights__mesh,
.rights__orb {
  display: none;
}

.rights__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-top: 48px;
}

.rights__content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.rights .section-label {
  color: var(--primary);
}

.rights .section-title {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  font-weight: 600;
  color: var(--slate-700);
  letter-spacing: 0;
  line-height: 1.7;
  margin-bottom: 32px;
}

.rights__lead {
  font-size: 1rem;
  color: var(--slate-700);
  line-height: 1.8;
  margin-bottom: 8px;
}

.rights__lead:last-of-type {
  margin-bottom: 0;
}

.rights__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.rights__item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  border: 1px solid rgba(79,70,229,0.15);
  border-radius: var(--radius-lg);
  padding: 14px 18px;
  font-weight: 700;
  color: var(--slate-800);
  box-shadow: var(--shadow-sm);
}

.rights__item-icon {
  width: 28px;
  height: 28px;
  background: var(--primary-mid);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}

.rights__note {
  font-size: 0.75rem;
  color: var(--slate-500);
}

/* Rights UI Mock */
.rights__visual {
  /* Container */
}

.rights__ui-mock {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  padding: 20px;
  position: relative;
}

.rights__ui-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--slate-100);
  padding-bottom: 12px;
  margin-bottom: 16px;
}

.rights__ui-title {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--slate-900);
}

/* Target label shown next to title */
.rights__ui-header::after {
  content: '対象: LP-Campaign-A';
  font-size: 0.7rem;
  background: var(--primary-mid);
  color: var(--primary-text);
  padding: 3px 8px;
  border-radius: 6px;
  font-weight: 600;
}

.rights__ui-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.rights__ui-item {
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--slate-50);
  position: relative;
  aspect-ratio: 4/3;
}

.rights__ui-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rights__ui-tag {
  position: absolute;
  top: 6px;
  right: 6px;
  background: var(--white);
  border: 1px solid var(--slate-200);
  color: var(--slate-600);
  font-size: 0.65rem;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 3px;
}

.rights__ui-tag::before {
  content: '✓';
  color: #22C55E;
  font-size: 0.65rem;
}

/* ==========================================
   RIGHTS — ASSET PANEL
   ========================================== */

.rasset-panel {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: 14px;
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}

.rasset-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  border-bottom: 1px solid var(--slate-100);
}

.rasset-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--slate-900);
}

.rasset-count {
  font-size: 0.8rem;
  background: var(--slate-100);
  color: var(--slate-600);
  padding: 2px 10px;
  border-radius: 20px;
  font-weight: 600;
}

.rasset-list {
  display: flex;
  flex-direction: column;
}

/* Base item */
.rasset-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--slate-100);
}

.rasset-item:last-child {
  border-bottom: none;
}

.rasset-thumb {
  flex: 0 0 80px;
  height: 52px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--slate-200);
  background: #f8fafc;
}

.rasset-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.rasset-name {
  flex: 1;
  font-size: 1rem;
  font-weight: 600;
  color: var(--slate-800);
}

/* Card grid */
.rasset-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 16px 18px;
}

.rasset-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.rasset-card-thumb {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--slate-200);
  background: #f8fafc;
}

.rasset-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.rasset-card-name {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--slate-700);
  text-align: center;
}

/* Footer */
.rasset-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 18px 14px;
  border-top: 1px solid var(--slate-100);
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
}

/* Banner label */
.rasset-banners-label {
  font-size: 0.75rem;
  color: var(--slate-500);
  font-weight: 600;
  margin: 10px 0 6px 92px;
}

/* Banner thumbnails row */
.rasset-banners {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-left: 92px; /* align with text (thumb 80px + gap 12px) */
}

.rasset-banner-thumb {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--slate-200);
  flex-shrink: 0;
}

.rasset-banner-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.rasset-banner-more {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  border: 1px dashed var(--slate-300);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--slate-400);
  flex-shrink: 0;
}


.rights__cutflow {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

/* LP preview */
.rights__cutflow-lp {
  flex: 0 0 160px;
}

.rights__cutflow-chrome {
  display: flex;
  align-items: center;
  gap: 4px;
  background: #e2e8f0;
  padding: 5px 8px;
  border-radius: 8px 8px 0 0;
}

.rchrome-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #cbd5e1;
}

.rchrome-url {
  font-size: 0.6rem;
  color: #64748b;
  margin-left: 4px;
  font-family: monospace;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 90px;
}

.rights__cutflow-screen {
  position: relative;
  height: 196px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-top: none;
  border-radius: 0 0 8px 8px;
  background: #f8fafc;
}

.rights__cutflow-screen > img {
  width: 100%;
  height: auto;
  display: block;
}

/* Dashed cut-selection boxes */
.rcut {
  position: absolute;
  border: 2px dashed #ef4444;
  border-radius: 3px;
  background: rgba(239, 68, 68, 0.06);
  animation: rcut-pulse 2.2s ease-in-out infinite;
}

@keyframes rcut-pulse {
  0%, 100% { border-color: #ef4444; background: rgba(239, 68, 68, 0.06); }
  50%       { border-color: #dc2626; background: rgba(239, 68, 68, 0.14); }
}

.rcut__label {
  position: absolute;
  top: -9px;
  left: 5px;
  background: #ef4444;
  color: #fff;
  font-size: 0.55rem;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 3px;
  letter-spacing: 0.04em;
}

.rcut--1 { /* Logo area */
  top: 6%;
  left: 3%;
  width: 34%;
  height: 9%;
}

.rcut--2 { /* Model photo area */
  top: 19%;
  right: 2%;
  width: 48%;
  height: 46%;
}

.rights__cutflow-hint {
  font-size: 0.7rem;
  color: var(--primary);
  font-weight: 700;
  text-align: center;
  margin-top: 8px;
}

/* Arrow */
.rights__cutflow-arrow {
  flex: 0 0 auto;
  align-self: center;
  padding-bottom: 14px; /* compensate for hint text */
}

/* Library panel */
.rights__cutflow-lib {
  flex: 1;
  min-width: 0;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  padding: 14px;
}

.rclib-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--slate-100);
  margin-bottom: 12px;
}

.rclib-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--slate-900);
}

.rclib-badge {
  font-size: 0.6rem;
  background: #DCFCE7;
  color: #166534;
  padding: 2px 8px;
  border-radius: 20px;
  font-weight: 600;
}

.rclib-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
}

.rclib-item {
  position: relative;
  height: 52px;
  border: 1px solid var(--slate-200);
  border-radius: 8px;
  overflow: hidden;
  background: #f8fafc;
}

.rclib-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.rclib-lpcrop {
  object-position: center 28%; /* show hero/price area of LP */
}

.rclib-tag {
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.92);
  font-size: 0.55rem;
  font-weight: 600;
  color: #16a34a;
  padding: 1px 5px;
  border-radius: 3px;
  white-space: nowrap;
}

/* Newly added item */
.rclib-item--new {
  border-color: #6366F1;
  box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.22);
  animation: rclib-popin 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) 0.8s both;
}

.rclib-new-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  background: #6366F1;
  color: #fff;
  font-size: 0.55rem;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 4px;
}

@keyframes rclib-popin {
  0%   { transform: scale(0.65); opacity: 0; }
  75%  { transform: scale(1.04); }
  100% { transform: scale(1);    opacity: 1; }
}

/* Responsive */
@media (max-width: 900px) {
  .rights__cutflow {
    flex-direction: column;
    align-items: center;
  }
  .rights__cutflow-lp { flex: 0 0 auto; width: 100%; max-width: 260px; }
  .rights__cutflow-arrow { padding-bottom: 0; transform: rotate(90deg); }
  .rights__cutflow-lib { width: 100%; }
}

/* ==========================================
   STEPS SECTION
   ========================================== */
.steps {
  background: var(--white);
  padding: 64px 0;
}

/* 2×2 grid layout */
.steps__grid-new {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 28px;
}

.step-card {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column-reverse;
  align-items: stretch;
  gap: 0;
  padding: 0;
}

.step-card__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  padding: 20px 24px;
}

.step-card__header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.step-card__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--primary-light);
  border: 1px solid var(--primary-mid);
  border-radius: var(--radius-full);
  font-family: 'Inter', monospace;
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--primary-text);
  flex-shrink: 0;
}

.step-card__title-new {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--slate-900);
  line-height: 1.35;
}

.step-card__img {
  overflow: hidden;
  width: 100%;
  height: 260px;
  flex-shrink: 0;
  background: #0f172a;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-card__img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: top center;
}


.step-card__text {
  font-size: 0.9rem;
  color: var(--slate-600);
  line-height: 1.7;
}

.step-card__feature {
  font-size: 0.9rem;
  color: var(--slate-600);
  line-height: 1.7;
}

/* ==========================================
   PRICING SECTION
   ========================================== */
.pricing {
  background: var(--slate-50);
  border-top: 1px solid var(--slate-100);
  padding: var(--section-py) 0;
}

.pricing__table-wrap {
  overflow-x: auto;
  margin-top: 40px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-md);
}

.pricing__table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
  text-align: center;
}

.pricing__head-row th {
  padding: 20px 16px 12px;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--slate-900);
  border-bottom: 1px solid var(--slate-100);
  background: var(--slate-50);
}

.pricing__row-label {
  text-align: left;
  width: 26%;
  padding-left: 20px;
  background: var(--white) !important;
}

.pricing__row-label-text {
  font-size: 0.75rem;
  color: var(--slate-400);
  font-weight: 500;
}

.pricing__plan-col {
  width: 18.5%;
}

.pricing__plan-col--popular {
  background: var(--primary-light) !important;
  color: var(--primary-text) !important;
  border-left: 1px solid rgba(79,70,229,0.25);
  border-right: 1px solid rgba(79,70,229,0.25);
}

.pricing__recommend {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  background: var(--primary);
  color: var(--white);
  padding: 2px 10px;
  border-radius: var(--radius-full);
  margin: 5px auto 0;
  width: fit-content;
  letter-spacing: 0.02em;
}

.pricing__price-row td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--slate-100);
  background: var(--slate-50);
}

.pricing__price-cell {
  text-align: center;
}

.pricing__price-cell--popular {
  background: var(--primary-light) !important;
  border-left: 1px solid rgba(79,70,229,0.2);
  border-right: 1px solid rgba(79,70,229,0.2);
}

.pricing__price-num {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--slate-900);
  letter-spacing: -0.03em;
  line-height: 1;
  display: inline-block;
}

.pricing__price-num small {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--slate-500);
  margin-left: 2px;
}

.pricing__cta-row td {
  padding: 12px 12px 16px;
  border-bottom: 2px solid var(--slate-200);
  background: var(--slate-50);
}

.pricing__cta-cell--popular {
  background: var(--primary-light) !important;
  border-left: 1px solid rgba(79,70,229,0.2);
  border-right: 1px solid rgba(79,70,229,0.2);
}

.pricing__btn {
  display: inline-block;
  padding: 8px 14px;
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  background: var(--slate-200);
  color: var(--slate-700);
  transition: all var(--transition);
  white-space: nowrap;
}

.pricing__btn:hover {
  background: var(--slate-300);
}

.pricing__btn--popular {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(79,70,229,0.3);
}

.pricing__btn--popular:hover {
  background: var(--primary-hover);
}

.pricing__feature-name {
  text-align: left;
  padding: 14px 20px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--slate-700);
  border-bottom: 1px solid var(--slate-100);
  background: var(--white);
}

.pricing__cell {
  padding: 14px 16px;
  font-size: 0.9rem;
  color: var(--slate-700);
  border-bottom: 1px solid var(--slate-100);
  text-align: center;
}

.pricing__cell--popular {
  background: rgba(238,242,255,0.5);
  border-left: 1px solid rgba(79,70,229,0.15);
  border-right: 1px solid rgba(79,70,229,0.15);
  font-weight: 600;
  color: var(--primary-text);
}

.pricing__cell--yes {
  color: #16A34A;
  font-weight: 700;
}

.pricing__cell--no {
  color: var(--slate-400);
}

.pricing__notes {
  text-align: center;
  margin-top: 24px;
  font-size: 0.8rem;
  color: var(--slate-400);
  line-height: 2;
}

/* ==========================================
   FAQ SECTION
   ========================================== */
.faq {
  background: var(--white);
  padding: var(--section-py) 0;
}

.faq__list {
  max-width: 720px;
  margin: 40px auto 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq__item {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition);
}

.faq__item:hover {
  box-shadow: var(--shadow-md);
}

.faq__question {
  width: 100%;
  padding: 20px 24px;
  text-align: left;
  font-weight: 700;
  font-size: 1rem;
  color: var(--slate-800);
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: background var(--transition);
}

.faq__question:hover {
  background: var(--slate-50);
}

.faq__question span {
  flex: 1;
  line-height: 1.5;
}

.faq__chevron {
  flex-shrink: 0;
  color: var(--slate-400);
  transition: transform 0.3s var(--ease);
}

.faq__item.active .faq__chevron {
  transform: rotate(180deg);
}

.faq__answer {
  display: none;
  padding: 0 24px 20px;
  border-top: 1px solid var(--slate-100);
  padding-top: 16px;
}

.faq__item.active .faq__answer {
  display: block;
}

.faq__answer p {
  font-size: 0.9rem;
  color: var(--slate-600);
  line-height: 1.8;
}

/* ==========================================
   CLOSING CTA (Solid Indigo)
   ========================================== */
.cta {
  background: var(--primary);
  padding: var(--section-py) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Decorative blobs */
.cta__mesh {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.cta__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
}

.cta__orb--1 {
  top: -80px;
  left: -80px;
  width: 240px;
  height: 240px;
  background: #4338CA; /* indigo-700 */
  opacity: 0.5;
}

.cta__orb--2 {
  bottom: -80px;
  right: -80px;
  width: 240px;
  height: 240px;
  background: #3B82F6; /* blue-500 */
  opacity: 0.5;
}

.cta__inner {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.cta__section-label {
  color: rgba(255, 255, 255, 0.75);
}

.cta__coming-soon-badge {
  display: inline-block;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(224,231,255,0.9);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 5px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 24px;
}

.cta__title {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.35;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.cta__title .text-gradient {
  background: linear-gradient(135deg, #A5B4FC, #93C5FD);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta__text {
  font-size: 1rem;
  color: rgba(224,231,255,0.9);
  line-height: 1.8;
  margin-bottom: 40px;
}

.cta__btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  align-items: center;
}

.cta__btn-group .btn--primary {
  background: var(--slate-900);
  box-shadow: none;
}

.cta__btn-group .btn--primary:hover {
  background: var(--slate-700);
}

/* CTA Form */
.cta__form-wrap {
  max-width: 560px;
  margin: 0 auto;
  text-align: left;
}

.cta__form {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-xl);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  backdrop-filter: blur(8px);
}

.cta__form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.cta__form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cta__form-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: rgba(224,231,255,0.9);
  letter-spacing: 0.02em;
}

.cta__form-input {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  font-size: 0.95rem;
  color: var(--white);
  font-family: var(--font);
  transition: border-color var(--transition), background var(--transition);
  outline: none;
  width: 100%;
}

.cta__form-input::placeholder {
  color: rgba(255,255,255,0.35);
}

.cta__form-input:focus {
  border-color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.18);
}

.cta__form-select {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 9l6 6 6-6' stroke='rgba(255,255,255,0.6)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

.cta__form-select option {
  background: var(--slate-800);
  color: var(--white);
}

.btn--cta-primary {
  background: var(--white);
  color: var(--primary);
  font-weight: 800;
  padding: 16px 48px;
  font-size: 1.05rem;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 24px rgba(0,0,0,0.18);
  transition: all var(--transition);
  display: inline-block;
  text-decoration: none;
}

.btn--cta-primary:hover {
  background: var(--primary-mid);
  color: var(--primary-text);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.22);
}

.cta__form-note {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  text-align: center;
  line-height: 1.6;
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
  background: var(--slate-900);
  padding: 48px 0;
}

.footer__inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.1rem;
  font-weight: 800;
  color: #F1F5F9; /* slate-100 */
  letter-spacing: -0.02em;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.footer__links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: #94A3B8; /* slate-400 */
  transition: color var(--transition);
}

.footer__links a:hover {
  color: var(--white);
}

.footer__copy {
  font-size: 0.8rem;
  color: #64748B; /* slate-500 */
}

/* ==========================================
   SCROLL REVEAL ANIMATIONS
   ========================================== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.reveal-left {
  opacity: 0;
  transform: translateX(-24px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.reveal-left.visible {
  opacity: 1;
  transform: none;
}

.reveal-right {
  opacity: 0;
  transform: translateX(24px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.reveal-right.visible {
  opacity: 1;
  transform: none;
}

.stagger-1 { transition-delay: 0.05s; }
.stagger-2 { transition-delay: 0.10s; }
.stagger-3 { transition-delay: 0.15s; }
.stagger-4 { transition-delay: 0.20s; }

/* ==========================================
   RESPONSIVE
   ========================================== */

@media (max-width: 1024px) {
  :root { --section-py: 72px; }

  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__content { align-items: center; }
  .hero__subtitle { margin: 0 auto; }
  .hero__stats { align-self: center; }
  .hero__cta-group { justify-content: center; }
  .hero__float { display: none; }

  .rights__inner { grid-template-columns: 1fr; gap: 40px; }
  .rights .section-label,
  .rights .section-title { text-align: center; }
}

/* SP/PC表示切替 (block要素用) */
.hide-pc-block { display: none; }
.hide-sp-block { display: block; }

/* Transposed table sticky first column */
.comparison__sp-label,
.pricing__sp-label {
  position: sticky;
  left: 0;
  z-index: 2;
  white-space: nowrap;
}
.comparison__sp-label {
  background: var(--white);
}
.pricing__sp-label {
  background: var(--slate-50);
}
.comparison__table--transposed .comparison__sp-label {
  font-weight: 700;
  font-size: 0.85rem;
  min-width: 88px;
  padding: 10px 10px;
}
.comparison__table--transposed th.comparison__sp-label {
  background: var(--white);
}
.pricing__table--transposed td.pricing__sp-label,
.pricing__table--transposed th.pricing__sp-label {
  background: var(--slate-50);
  min-width: 80px;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 8px 8px;
}
.pricing__table--transposed .pricing__sp-plan-name {
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--primary);
  display: block;
}
.pricing__table--transposed .pricing__sp-price {
  font-size: 0.75rem;
  color: var(--slate-500);
  display: block;
}

/* SP版: Proの強調スタイルをリセットして他プランと統一 */
.pricing__table--transposed tr.pricing__cell--popular td,
.pricing__table--transposed tr.pricing__cell--popular th {
  font-weight: inherit;
  color: inherit;
  background: inherit;
  border-left: none;
  border-right: none;
}

/* PC default: hide SP-only table wrappers */
.comparison__wrap--sp { display: none; }
.pricing__wrap--sp { display: none; }

@media (max-width: 768px) {
  :root { --section-py: 56px; }

  html { scroll-padding-top: 100px; }

  .header__nav,
  .header__actions { display: none; }

  .header__hamburger { display: flex; }

  .hide-sp { display: none; }
  .hide-pc { display: inline; }

  /* ---- Hero ---- */
  .hero__mockup { display: none; }
  .hero__sp-cta {
    margin-top: 20px;
    width: 100%;
    max-width: 280px;
    text-align: center;
    justify-content: center;
  }
  .hero__stat { width: 100px; }
  .hero__stat-val { font-size: 0.95rem; }
  .hero__stat-desc { font-size: 0.62rem; }
  .hero__stat-sep { height: 28px; }

  /* ---- Pain ---- */
  .pain__flow { flex-direction: column; }
  .pain__flow-arrow { transform: rotate(90deg); padding: 8px 0; }
  .pain__card { padding: 20px 16px; }

  /* ---- Features ---- */
  .features__grid { grid-template-columns: 1fr; }
  .feature-card { flex-direction: column; align-items: flex-start; }
  .feature-card__img { width: 100%; height: 160px; }

  /* ---- Comparison table ---- */
  .comparison__wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: var(--radius-lg);
  }
  .comparison__table { min-width: 520px; font-size: 0.8rem; }

  /* ---- Pricing table ---- */
  .pricing__table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: var(--radius-lg);
  }
  .pricing__table { min-width: 560px; }

  /* ---- Steps ---- */
  .steps__grid-new { grid-template-columns: 1fr; }
  .step-card__img { height: 260px; }
  .step-card { border-radius: var(--radius-lg); }

  /* ---- CTA ---- */
  .btn--cta-primary {
    display: block;
    width: 100%;
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    padding: 16px 24px;
  }
  .cta__btn-group { flex-direction: column; }
  .cta__btn-group .btn { width: 100%; max-width: 320px; }

  /* ---- Footer ---- */
  .footer__inner {
    flex-direction: column;
    text-align: center;
  }
  .footer__links { justify-content: center; flex-wrap: wrap; gap: 12px; }

  /* ---- Hero: remove haze, title centering ---- */
  .hero__mesh { display: none; }
  .hero__title { text-align: center; }

  /* ---- Rights: hide checklist, tighten lead text ---- */
  .rights__list { display: none; }
  .rights__lead { line-height: 1.55; margin-bottom: 6px; font-size: 0.9rem; }

  /* ---- Transposed tables: show SP, hide PC ---- */
  .hide-pc-block { display: none; }
  .hide-sp-block { display: none; }
  .comparison__wrap--pc { display: none; }
  .comparison__wrap--sp { display: block; }
  .pricing__wrap--pc { display: none; }
  .pricing__wrap--sp { display: block; }

  /* ---- Transposed table sizing ---- */
  .comparison__table--transposed,
  .pricing__table--transposed {
    font-size: 0.8rem;
    min-width: 0;
    width: 100%;
  }
  .comparison__table--transposed th,
  .comparison__table--transposed td,
  .pricing__table--transposed th,
  .pricing__table--transposed td {
    min-width: 130px;
    vertical-align: top;
    padding: 10px 10px;
    line-height: 1.55;
  }
  .comparison__table--transposed th.comparison__sp-label { min-width: 80px; }
  .pricing__table--transposed .pricing__sp-label { min-width: 72px; }
}

@media (max-width: 480px) {
  .hero__title { font-size: 1.75rem; line-height: 1.3; }
  .hero__stat { width: 86px; }
  .hero__stat-val { font-size: 0.88rem; }
  .section-label { font-size: clamp(1.4rem, 7vw, 1.9rem); }
  .demo__flow { gap: 4px; }
  .demo__flow-step { font-size: 0.8rem; padding: 6px 12px; }
  .pain__card { padding: 16px 14px; }
  .step-card__img { height: 220px; }
}

/* ==========================================
   DEMO CUTFLOW VISUAL
   ========================================== */
.demo__cutflow {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  margin-top: 48px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* — LP preview — */
.dcf-lp {
  flex: 0 0 300px;
}

.dcf-chrome {
  display: flex;
  align-items: center;
  gap: 5px;
  background: #1e293b;
  padding: 7px 12px;
  border-radius: 10px 10px 0 0;
}

.dcf-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #475569;
}

.dcf-url {
  font-size: 0.65rem;
  color: #64748b;
  margin-left: 6px;
  font-family: monospace;
}

.dcf-screen {
  position: relative;
  height: 340px;
  overflow: hidden;
  border: 1px solid #1e293b;
  border-top: none;
  border-radius: 0 0 10px 10px;
  background: #f8fafc;
}

.dcf-screen > img {
  width: 100%;
  height: auto;
  display: block;
}

/* Cut selection boxes */
.dcf-sel {
  position: absolute;
  border: 2.5px dashed #ef4444;
  border-radius: 4px;
  background: rgba(239, 68, 68, 0.07);
  animation: dcf-pulse 2.4s ease-in-out infinite;
}

@keyframes dcf-pulse {
  0%, 100% { border-color: #ef4444; background: rgba(239,68,68,0.07); }
  50%       { border-color: #dc2626; background: rgba(239,68,68,0.16); }
}

.dcf-sel-badge {
  position: absolute;
  top: -10px;
  left: 6px;
  background: #ef4444;
  color: #fff;
  font-size: 0.6rem;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 3px;
}

.dcf-sel--logo  { top: 6%;  left: 3%;   width: 32%; height: 8%;  }
.dcf-sel--model { top: 17%; right: 2%;  width: 46%; height: 46%; animation-delay: 0.6s; }
.dcf-sel--price { top: 38%; left: 3%;   width: 40%; height: 15%; animation-delay: 1.2s; }

.dcf-lp-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
  margin-top: 10px;
}

/* — Arrow — */
.dcf-arrow {
  flex: 0 0 auto;
  align-self: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding-bottom: 24px;
}

.dcf-arrow-label {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--slate-400);
  white-space: nowrap;
}

/* — Library panel — */
.dcf-lib {
  flex: 1;
  min-width: 0;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: 14px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  padding: 20px;
}

.dcf-lib-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--slate-100);
  margin-bottom: 14px;
}

.dcf-lib-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--slate-900);
}

.dcf-lib-badge {
  font-size: 0.65rem;
  background: #EEF2FF;
  color: #4338CA;
  padding: 3px 10px;
  border-radius: 20px;
  font-weight: 600;
}

.dcf-lib-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dcf-lib-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border: 1px solid var(--slate-100);
  border-radius: 10px;
  background: var(--slate-50);
  position: relative;
}

.dcf-lib-thumb {
  flex: 0 0 80px;
  height: 52px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--slate-200);
  background: #f8fafc;
}

.dcf-lib-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.dcf-lib-meta {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dcf-lib-name {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--slate-800);
}

.dcf-lib-tag {
  font-size: 0.65rem;
  color: #16a34a;
  font-weight: 600;
}

/* Newly added item */
.dcf-lib-item--new {
  border-color: #6366F1;
  background: #F5F3FF;
  animation: dcf-newitem 0.55s cubic-bezier(0.34,1.56,0.64,1) 1s both;
}

.dcf-new-badge {
  position: absolute;
  top: 8px;
  right: 10px;
  background: #6366F1;
  color: #fff;
  font-size: 0.6rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
}

@keyframes dcf-newitem {
  0%   { transform: translateY(-10px); opacity: 0; }
  100% { transform: translateY(0);     opacity: 1; }
}

/* Responsive */
@media (max-width: 900px) {
  .demo__cutflow {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  .dcf-lp { flex: 0 0 auto; width: 100%; max-width: 340px; }
  .dcf-arrow { flex-direction: row; padding-bottom: 0; transform: rotate(90deg); }
  .dcf-lib { width: 100%; }
}

@media (max-width: 480px) {
  .dcf-lp { max-width: 280px; }
  .dcf-screen { height: 260px; }
}

/* ==========================================
   DEMO SCREENS (step screenshots)
   ========================================== */
.demo__screens {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.demo__screen-item {
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-radius: var(--radius-lg);
  border: 2px solid transparent;
  padding: 4px;
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.demo__screen-item--single {
  width: 100%;
  max-width: 720px;
  border: 2px solid var(--primary);
  box-shadow: 0 0 0 4px rgba(79,70,229,0.10);
  border-radius: var(--radius-xl);
}

/* 各カードを順番にハイライトするアニメーション（8秒サイクル）*/
@keyframes demo-step-glow {
  0%    { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(79,70,229,0.12); }
  22%   { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(79,70,229,0.12); }
  30%   { border-color: transparent;   box-shadow: none; }
  100%  { border-color: transparent;   box-shadow: none; }
}

.demo__screen-item:nth-child(1) { animation: demo-step-glow 8s infinite 0s; }
.demo__screen-item:nth-child(2) { animation: demo-step-glow 8s infinite 2s; }
.demo__screen-item:nth-child(3) { animation: demo-step-glow 8s infinite 4s; }
.demo__screen-item:nth-child(4) { animation: demo-step-glow 8s infinite 6s; }

.demo__screen-frame {
  background: var(--slate-900);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.demo__screen-bar {
  display: flex;
  gap: 5px;
  padding: 8px 12px;
  background: var(--slate-800);
}

.demo__screen-bar span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--slate-600);
}

.demo__screen-bar span:nth-child(1) { background: #FF5F57; }
.demo__screen-bar span:nth-child(2) { background: #FFBD2E; }
.demo__screen-bar span:nth-child(3) { background: #28CA41; }

.demo__screen-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.demo__screen-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.demo__screen-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 6px 4px;
}

.demo__screen-num {
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--primary);
  background: var(--primary-light);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

.demo__screen-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--slate-500);
  line-height: 1.6;
}

@media (max-width: 1024px) {
  .demo__screens {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
}

@media (max-width: 480px) {
  .demo__screens {
    grid-template-columns: 1fr;
  }
}

/* ==========================================
   PRICING — 月間生成の目安行
   ========================================== */
.pricing__estimate-row td {
  background: var(--slate-50);
  border-bottom: 1px solid var(--slate-100);
}

.pricing__feature-name--sub {
  font-weight: 600;
  color: var(--slate-600);
}

.pricing__feature-note {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--slate-400);
  margin-top: 2px;
}

.pricing__estimate {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
}
