/* ====== Tokens ====== */
:root {
  --line: #06C755;
  --line-dark: #04a844;
  --line-soft: #e6f8ee;

  --bg: #FFFFFF;
  --bg-2: #F5F5F5;
  --paper: #FFFFFF;

  --ink: #2d2d2d;
  --ink-2: #424242;
  --ink-3: #6B7280;
  --ink-4: #9CA3AF;

  --terra: #2d2d2d;
  --terra-soft: #e6f8ee;

  --dark-bg: #2d2d2d;
  --dark-text: #FFFFFF;

  --line-color: rgba(31, 41, 55, 0.08);

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;

  --maxw: 1200px;

  --font-disp: 'Zen Kaku Gothic New', 'Hiragino Kaku Gothic ProN', sans-serif;
  --font-body: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', sans-serif;

  --shadow-card: 0 1px 2px rgba(31, 41, 55, 0.04), 0 8px 24px rgba(31, 41, 55, 0.06);
  --shadow-pop: 0 2px 4px rgba(31, 41, 55, 0.06), 0 20px 50px rgba(31, 41, 55, 0.12);
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  max-width: 100%;
}
body {
  font-family: var(--font-body);
  font-weight: 400;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "palt";
  width: 100%;
}
img, svg, video { max-width: 100%; height: auto; }

img, svg { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; background: none; padding: 0; color: inherit; }
a { color: inherit; text-decoration: none; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 820px; }

/* ====== Section head shared ====== */
.section-head { text-align: center; margin-bottom: 56px; }
.section-title {
  font-family: var(--font-disp);
  font-size: clamp(28px, 4.2vw, 44px);
  line-height: 1.45;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 16px 0 0;
  text-wrap: pretty;
}
.section-title .num-emph {
  color: var(--line);
  font-family: var(--font-disp);
  font-size: 1.4em;
  font-weight: 800;
  margin: 0 0.05em;
}
.title-emph { color: var(--terra); }
.title-emph-green { color: var(--line); }
.faq .title-emph-green { color: var(--line); }
.section-lead {
  margin-top: 20px;
  color: var(--ink-3);
  font-size: 16px;
  text-wrap: pretty;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-3);
  letter-spacing: 0.02em;
}
.eyebrow--center { justify-content: center; }
.eyebrow__dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--line);
  box-shadow: 0 0 0 4px var(--line-soft);
}

/* ====== CTA Button (Existing Site Aligned) ====== */
.cta {
  display: inline-flex; align-items: center; gap: 14px;
  background: var(--line);
  color: white;
  padding: 18px 32px;
  border-radius: 999px;
  font-family: var(--font-disp);
  font-weight: 700;
  box-shadow: 0 4px 0 rgba(0,0,0,0.06), 0 12px 30px rgba(6, 199, 85, 0.3);
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
  position: relative;
  border: 2px solid var(--line);
}
.cta:hover {
  transform: scale(1.05);
  background: white;
  color: var(--line-dark);
  box-shadow: 0 4px 0 rgba(0,0,0,0.04), 0 16px 40px rgba(6, 199, 85, 0.36);
}
.cta:hover .cta__icon { background: var(--line-soft); color: var(--line-dark); }
.cta:hover .cta__arrow { color: var(--line-dark); }
.cta:active { transform: scale(1.02); }
.cta__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.2);
  font-size: 18px;
  transition: background .25s ease, color .25s ease;
}
.cta__text { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.2; }
.cta__label { font-size: 17px; }
.cta__sub { font-size: 11px; font-weight: 400; opacity: 0.85; margin-top: 3px; letter-spacing: 0.02em; }
.cta__arrow {
  font-size: 16px;
  opacity: 0.95;
  transition: transform .25s ease, color .25s ease;
}
.cta:hover .cta__arrow { transform: translateX(4px); }

.cta--lg { padding: 20px 36px; }
.cta--lg .cta__label { font-size: 18px; }
.cta--xl { padding: 26px 44px; gap: 18px; }
.cta--xl .cta__icon { width: 44px; height: 44px; font-size: 22px; }
.cta--xl .cta__label { font-size: 22px; }
.cta--xl .cta__sub { font-size: 13px; }

/* ====== HERO ====== */
.hero {
  position: relative;
  padding: 90px 0 80px;
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.hero__blob {
  position: absolute; border-radius: 50%;
  filter: blur(60px);
  opacity: 0.5;
}
.hero__blob--a { width: 460px; height: 460px; background: var(--line-soft); top: -120px; left: -120px; }
.hero__blob--b { width: 380px; height: 380px; background: var(--terra-soft); bottom: -100px; right: -80px; opacity: 0.6; }

.hero__inner {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 50px;
  align-items: center;
}

/* === Vertical Hero Layout === */
.hero--vertical { padding: 80px 0 100px; }
.hero--vertical .hero__inner {
  display: block;
}
.hero__copy--centered {
  text-align: center;
  max-width: 880px;
  margin: 0 auto 64px;
}
.hero__cta-group--center { justify-content: center; }
.hero__trust--center { justify-content: center; margin: 56px auto 0; }
.hero__visual--wide {
  max-width: 1200px;
  margin: 0 auto;
}
.hero__visual--wide .hero__image-frame { max-width: 1200px; }

.hero__title {
  font-family: var(--font-disp);
  font-size: clamp(30px, 4.6vw, 52px);
  line-height: 1.45;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 18px 0 24px;
  word-break: keep-all;
  overflow-wrap: break-word;
  text-wrap: balance;
}
.hero__title--lg {
  font-size: clamp(36px, 6.4vw, 72px);
  line-height: 1.35;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin: 24px 0 28px;
  text-wrap: balance;
}
.hero__title mark {
  background: linear-gradient(180deg, transparent 62%, var(--line-soft) 62%, var(--line-soft) 92%, transparent 92%);
  padding: 0 0.1em;
  color: inherit;
  display: inline-block;
  white-space: nowrap;
}
.hero__lead {
  font-size: 17px;
  color: var(--ink-2);
  margin: 0 0 32px;
  text-wrap: pretty;
}
.hero__cta-group { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.hero__cta-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.hero__sub-link {
  font-size: 14px;
  color: var(--ink-3);
  border-bottom: 1px solid var(--line-color);
  padding-bottom: 4px;
  transition: color .2s, border-color .2s;
}
.hero__sub-link:hover { color: var(--line-dark); border-color: var(--line); }
.hero__sub-link--prominent {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 2px solid var(--line);
  padding-bottom: 6px;
}
.hero__sub-link--prominent i { margin-left: 6px; transition: transform .25s ease; }
.hero__sub-link--prominent:hover i { transform: translateY(3px); }

/* ====== Secondary CTA Button (LP内ナビゲーション用) ====== */
.cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  background: white;
  color: var(--line-dark);
  border: 2px solid var(--line);
  border-radius: 999px;
  font-family: var(--font-disp);
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  box-shadow: 0 4px 0 rgba(6, 199, 85, 0.18), 0 8px 20px rgba(6, 199, 85, 0.12);
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
  cursor: pointer;
}
.cta-secondary:hover {
  background: var(--line);
  color: white;
  transform: scale(1.05);
  box-shadow: 0 4px 0 rgba(0,0,0,0.06), 0 12px 28px rgba(6, 199, 85, 0.32);
}
.cta-secondary__text { font-size: 16px; }
.cta-secondary__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--line-soft);
  color: var(--line-dark);
  font-size: 12px;
  transition: background .25s ease, color .25s ease, transform .25s ease;
}
.cta-secondary:hover .cta-secondary__arrow {
  background: white;
  color: var(--line-dark);
  transform: translateY(3px);
}
/* 暗背景上で使うバリアント */
.cta-secondary--on-dark {
  background: rgba(255,255,255,0.08);
  color: white;
  border-color: var(--line);
  box-shadow: 0 4px 0 rgba(0,0,0,0.18), 0 8px 20px rgba(0,0,0,0.18);
}
.cta-secondary--on-dark .cta-secondary__arrow {
  background: var(--line);
  color: white;
}
.cta-secondary--on-dark:hover {
  background: var(--line);
  color: white;
}

.hero__trust {
  margin-top: 40px;
  display: inline-flex; align-items: center; gap: 18px;
  background: rgba(255,255,255,0.6);
  border: 1px solid var(--line-color);
  border-radius: var(--r-md);
  padding: 14px 22px;
  backdrop-filter: blur(6px);
}
.trust-item { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--ink-2); }
.trust-num { font-family: var(--font-disp); font-weight: 700; color: var(--line-dark); font-size: 14px; }
.trust-divider { width: 1px; height: 18px; background: var(--line-color); }

.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 400px;
}
.hero__image-frame {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1000px;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow:
    0 30px 80px rgba(45, 45, 45, 0.18),
    0 12px 30px rgba(45, 45, 45, 0.10),
    0 0 0 1px rgba(45, 45, 45, 0.04);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.hero__image-frame:hover { transform: translateY(-4px); }
.hero__image {
  width: 100%;
  height: auto;
  display: block;
}
.hero__image-accent {
  position: absolute;
  border-radius: 50%;
  z-index: 1;
  pointer-events: none;
}
.hero__image-accent--a {
  width: 220px;
  height: 220px;
  background: var(--line-soft);
  top: -40px;
  right: -50px;
  filter: blur(2px);
  opacity: 0.7;
}
.hero__image-accent--b {
  width: 160px;
  height: 160px;
  background: var(--line);
  bottom: -30px;
  left: -40px;
  opacity: 0.08;
}

/* ====== LINE Phone Mock ====== */
.line-phone {
  width: 320px;
  background: #8DB3CC;
  border-radius: 36px;
  padding: 12px 10px 14px;
  box-shadow: var(--shadow-pop), 0 0 0 8px #1a1f29, 0 0 0 9px #2a3140;
  position: relative;
  overflow: hidden;
  font-family: var(--font-body);
}
.line-phone__notch {
  position: absolute;
  top: 14px; left: 50%; transform: translateX(-50%);
  width: 90px; height: 22px;
  background: #1a1f29;
  border-radius: 14px;
  z-index: 5;
}
.line-phone__header {
  display: flex; align-items: center; gap: 12px;
  background: #6F94AB;
  padding: 36px 14px 12px;
  margin: -12px -10px 0;
  color: white;
}
.line-phone__back { font-size: 22px; opacity: 0.9; }
.line-phone__title { flex: 1; line-height: 1.2; }
.line-phone__shop { font-weight: 700; font-size: 15px; }
.line-phone__status { font-size: 11px; opacity: 0.8; margin-top: 2px; }
.line-phone__menu { font-size: 18px; opacity: 0.9; }

.line-phone__body {
  background: #8DB3CC;
  padding: 14px 10px;
  min-height: 380px;
  max-height: 480px;
  overflow: hidden;
  display: flex; flex-direction: column; gap: 8px;
}
.line-phone__body--rich { min-height: 240px; max-height: 240px; }
.line-phone__date {
  text-align: center;
  font-size: 11px;
  color: white;
  background: rgba(0,0,0,0.18);
  align-self: center;
  padding: 3px 12px;
  border-radius: 999px;
  margin-bottom: 4px;
}

.bubble-row { display: flex; align-items: flex-end; gap: 6px; animation: bubbleIn 0.32s ease-out; }
.bubble-row.shop { justify-content: flex-start; }
.bubble-row.user { justify-content: flex-end; }
.bubble-avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: linear-gradient(135deg, #C76B4A, #a85638);
  color: white;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-disp); font-weight: 700; font-size: 14px;
  flex-shrink: 0;
}
.bubble-stack { display: flex; flex-direction: column; gap: 4px; max-width: 78%; }
.bubble {
  padding: 9px 13px;
  border-radius: 16px;
  font-size: 13px;
  line-height: 1.55;
  word-break: break-word;
  box-shadow: 0 1px 1px rgba(0,0,0,0.05);
}
.bubble--shop { background: white; color: var(--ink); border-top-left-radius: 4px; }
.bubble--user { background: #93D572; color: #1a3d1a; border-top-right-radius: 4px; }
.bubble--card { background: white; padding: 0; overflow: hidden; max-width: 240px; }
.bubble--img { padding: 0; overflow: hidden; max-width: 180px; border-radius: 14px; }

.bubble-time { font-size: 10px; color: rgba(255,255,255,0.85); }
.bubble-row.user .bubble-time { align-self: flex-end; }

.bubble-btns { display: flex; flex-direction: column; gap: 4px; margin-top: 8px; padding-top: 8px; border-top: 1px solid rgba(0,0,0,0.06); }
.bubble-btn {
  text-align: center;
  font-size: 12px;
  padding: 8px;
  border-radius: 6px;
  background: #f3f4f6;
  color: var(--ink-2);
  font-weight: 500;
}
.bubble-btn.primary { background: var(--line-soft); color: var(--line-dark); font-weight: 700; }

/* Calendar bubble */
.bubble-cal-title { padding: 10px 14px; font-size: 12px; color: var(--ink-3); border-bottom: 1px solid var(--line-color); font-weight: 600; }
.bubble-cal-grid { padding: 10px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; }
.bubble-cal-day { padding: 8px 6px; border: 1px solid var(--line-color); border-radius: 8px; }
.bubble-cal-day.on { border-color: var(--line); background: var(--line-soft); }
.bubble-cal-d { font-size: 11px; font-weight: 700; color: var(--ink-2); margin-bottom: 4px; }
.bubble-cal-times { display: flex; flex-wrap: wrap; gap: 3px; }
.bubble-cal-t { font-size: 10px; padding: 2px 5px; border-radius: 4px; background: #f3f4f6; color: var(--ink-3); }
.bubble-cal-t.sel { background: var(--line); color: white; font-weight: 700; }

/* Car card bubble */
.bubble--carcard { width: 240px; }
.carcard-img { aspect-ratio: 2/1; background: #f3f4f6; }
.carcard-body { padding: 10px 12px; }
.carcard-tag { display: inline-block; font-size: 10px; background: var(--terra-soft); color: var(--terra); padding: 2px 8px; border-radius: 999px; font-weight: 600; margin-bottom: 6px; }
.carcard-title { font-family: var(--font-disp); font-weight: 700; font-size: 14px; }
.carcard-sub { font-size: 11px; color: var(--ink-3); margin-top: 2px; }
.carcard-price { font-family: var(--font-disp); font-weight: 800; color: var(--terra); font-size: 18px; margin-top: 6px; }

@keyframes bubbleIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
.line-typing {
  display: inline-flex; gap: 4px;
  background: white; padding: 9px 14px; border-radius: 16px;
  align-self: flex-start;
  margin-left: 38px;
}
.line-typing span {
  width: 6px; height: 6px; border-radius: 50%;
  background: #cbd5db;
  animation: typing 1.2s infinite;
}
.line-typing span:nth-child(2) { animation-delay: 0.2s; }
.line-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typing {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
  30% { transform: translateY(-4px); opacity: 1; }
}

.line-phone__input {
  display: flex; align-items: center; gap: 10px;
  background: white;
  padding: 10px 12px;
  margin: 0 -10px -14px;
}
.line-phone__inputbox { flex: 1; background: #f3f4f6; padding: 8px 12px; border-radius: 999px; font-size: 12px; color: var(--ink-4); }
.line-phone__send { width: 32px; height: 32px; border-radius: 50%; background: var(--line); color: white; display: flex; align-items: center; justify-content: center; }

/* Rich menu */
.line-richmenu {
  display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(2, 1fr);
  gap: 1px;
  background: rgba(0,0,0,0.08);
  margin: 0 -10px -14px;
}
.line-richmenu__item {
  background: white;
  padding: 18px 8px;
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
}
.line-richmenu__icon { font-size: 24px; }
.line-richmenu__label { font-size: 11px; }

/* ====== Problems (Dark Section) ====== */
.problems {
  padding: 100px 0;
  background: var(--dark-bg);
  position: relative;
  color: white;
}
.problems .section-title { color: white; }
.problems .eyebrow { color: rgba(255,255,255,0.75); }
.problems .eyebrow__dot {
  background: var(--line);
  box-shadow: 0 0 0 4px rgba(6, 199, 85, 0.18);
}
.problems__hero {
  margin: 36px auto 56px;
  max-width: 880px;
  position: relative;
}
.problems__hero-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--r-xl);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45), 0 4px 0 rgba(255, 255, 255, 0.06) inset;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.problems__hero::before {
  content: '';
  position: absolute;
  inset: -8px -8px -8px -8px;
  border-radius: calc(var(--r-xl) + 8px);
  background: radial-gradient(60% 60% at 50% 50%, rgba(6, 199, 85, 0.18), transparent 70%);
  z-index: -1;
  filter: blur(16px);
}
.problems__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 8px;
}
.problem-card {
  background: rgba(255,255,255,0.98);
  border-radius: var(--r-lg);
  padding: 32px 22px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.22), 0 2px 6px rgba(0,0,0,0.12);
  position: relative;
  border: 1px solid rgba(255,255,255,0.06);
  transition: transform .25s ease, box-shadow .25s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.problem-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(0,0,0,0.28), 0 4px 10px rgba(0,0,0,0.14);
}
.problem-card__icon {
  font-size: 26px;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--line);
  color: white;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 22px;
  box-shadow: 0 6px 16px rgba(6, 199, 85, 0.32);
}
.problem-card__heading {
  font-family: var(--font-disp);
  font-size: 16px;
  font-weight: 800;
  margin: 0 0 10px;
  color: var(--line-dark);
  letter-spacing: 0.02em;
  text-align: center;
}
.problem-card__text {
  font-size: 15px;
  line-height: 1.75;
  margin: 0;
  color: var(--ink);
  font-weight: 600;
  text-align: center;
}

/* Title Highlight (for Problems section heading) */
.title-highlight {
  position: relative;
  display: inline-block;
  background: linear-gradient(180deg, transparent 62%, var(--line-soft) 62%, var(--line-soft) 92%, transparent 92%);
  padding: 0 0.1em;
  color: var(--line);
  font-weight: 800;
}
.problems .title-highlight {
  color: var(--line);
  background: linear-gradient(180deg, transparent 62%, rgba(6, 199, 85, 0.22) 62%, rgba(6, 199, 85, 0.22) 92%, transparent 92%);
}
/* FAQ section（暗背景）でのマーカー調整：白文字を保ちつつ控えめなマーカーに */
.faq .title-highlight {
  color: white;
  background: linear-gradient(180deg, transparent 65%, rgba(6, 199, 85, 0.45) 65%, rgba(6, 199, 85, 0.45) 92%, transparent 92%);
  font-weight: 800;
  padding: 0 0.15em;
}

.problems__bridge { margin-top: 64px; text-align: center; }
.bridge-line { width: 1px; height: 48px; background: rgba(255,255,255,0.3); margin: 0 auto 24px; }
.bridge-text { font-family: var(--font-disp); font-size: 18px; line-height: 1.8; color: rgba(255,255,255,0.85); margin: 0; }
.bridge-emph { font-size: 24px; font-weight: 700; color: var(--line); }
.problems__cta-copy {
  margin: 36px auto 28px;
  font-size: 16px;
  line-height: 1.85;
  color: rgba(255,255,255,0.85);
  max-width: 600px;
}
.problems__cta-copy strong { color: white; font-weight: 700; }
.problems__cta-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.hero__sub-link--on-dark {
  color: white;
  border-bottom-color: var(--line);
}
.hero__sub-link--on-dark:hover {
  color: var(--line);
  border-bottom-color: white;
}

/* ====== Scenarios ====== */
.scenarios { padding: 110px 0 110px; }
.scenarios__hint {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 auto 24px;
  padding: 10px 22px;
  background: var(--line-soft);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--line-dark);
  font-family: var(--font-disp);
  text-align: center;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  animation: scenarios-hint-pulse 2.5s ease-in-out infinite;
}
.scenarios__hint i {
  font-size: 16px;
  display: inline-block;
  animation: scenarios-hint-tap-down 1.8s ease-in-out infinite;
}
@keyframes scenarios-hint-tap-down {
  0%, 100% { transform: rotate(180deg) translateY(0); }
  40% { transform: rotate(180deg) translateY(-3px); }
  50% { transform: rotate(180deg) translateY(0); }
}
@keyframes scenarios-hint-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(6, 199, 85, 0.18); }
  50% { box-shadow: 0 0 0 8px rgba(6, 199, 85, 0); }
}
.scenario-tabs {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
  margin-bottom: 48px;
}
.scenario-tab {
  background: var(--paper);
  border: 1.5px solid var(--line-color);
  border-radius: var(--r-md);
  padding: 16px 12px 32px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: all .25s ease;
  position: relative;
  cursor: pointer;
}
.scenario-tab:hover {
  border-color: var(--line);
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(6, 199, 85, 0.18);
}
.scenario-tab__indicator {
  position: absolute;
  bottom: 10px;
  right: 12px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--line-soft);
  color: var(--line-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  transition: all .25s ease;
}
.scenario-tab:hover .scenario-tab__indicator {
  background: var(--line);
  color: white;
  transform: translateX(2px);
}
.scenario-tab.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: white;
  box-shadow: 0 8px 24px rgba(6, 199, 85, 0.28);
  transform: translateY(-2px);
}
.scenario-tab.is-active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 4px;
  background: var(--line);
  border-radius: 0 4px 4px 0;
  box-shadow: 0 0 12px rgba(6, 199, 85, 0.6);
}
.scenario-tab.is-active .scenario-tab__num { color: var(--line); }
.scenario-tab.is-active .scenario-tab__sub { color: rgba(255,255,255,0.6); }
.scenario-tab.is-active .scenario-tab__indicator {
  background: var(--line);
  color: white;
  transform: rotate(90deg);
}
.scenario-tab__num {
  font-family: var(--font-disp);
  font-size: 11px;
  font-weight: 700;
  color: var(--line);
  letter-spacing: 0.05em;
}
.scenario-tab__body { display: flex; flex-direction: column; }
.scenario-tab__label { font-family: var(--font-disp); font-weight: 700; font-size: 14px; line-height: 1.3; }
.scenario-tab__sub { font-size: 11px; color: var(--ink-3); margin-top: 2px; }

.scenario-detail {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 60px;
  align-items: start;
  background: var(--paper);
  border-radius: var(--r-xl);
  padding: 48px 48px 48px 56px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--line-color);
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.28s ease, transform 0.28s ease;
}
.scenario-detail.is-leaving {
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
}
.scenario-detail.is-entering {
  opacity: 0;
  transform: translateY(12px);
}
.scenario-detail__num {
  font-family: var(--font-disp);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.15em;
  color: var(--terra);
  margin-bottom: 16px;
}
.scenario-detail__title {
  font-family: var(--font-disp);
  font-size: 28px;
  line-height: 1.5;
  font-weight: 700;
  margin: 0 0 28px;
  letter-spacing: -0.01em;
}

.scenario-block {
  margin-bottom: 18px;
  padding: 16px 20px;
  background: var(--bg);
  border-radius: var(--r-md);
  border-left: 3px solid var(--ink-4);
}
.scenario-block--after { border-left-color: var(--line); background: var(--line-soft); }
.scenario-block__label {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-disp);
  font-weight: 700;
  font-size: 12px;
  color: var(--ink-3);
  margin-bottom: 6px;
  letter-spacing: 0.04em;
}
.scenario-block--after .scenario-block__label { color: var(--line-dark); }
.scenario-block__pip { width: 6px; height: 6px; border-radius: 50%; background: var(--ink-4); }
.scenario-block__pip--after { background: var(--line); }
.scenario-block__text { font-size: 14.5px; margin: 0; color: var(--ink-2); }

.scenario-bullets { list-style: none; padding: 0; margin: 24px 0 0; }
.scenario-bullets li {
  padding: 10px 0;
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 14.5px;
  border-bottom: 1px dashed var(--line-color);
  color: var(--ink-2);
}
.scenario-bullets li:last-child { border-bottom: none; }
.bullet-check {
  flex-shrink: 0;
  width: 22px; height: 22px;
  background: var(--line-soft);
  color: var(--line-dark);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
  font-weight: 700;
}

.scenario-detail__visual { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.scenario-detail__caption { font-size: 12px; color: var(--ink-3); text-align: center; }

/* ====== Flow ====== */
/* ====== Flow (Dark Section) ====== */
.flow {
  padding: 100px 0;
  background: var(--dark-bg);
  color: white;
}
.flow .section-title { color: white; }
.flow .eyebrow { color: rgba(255,255,255,0.75); }
.flow .eyebrow__dot {
  background: var(--line);
  box-shadow: 0 0 0 4px rgba(6, 199, 85, 0.18);
}
.flow .title-emph { color: var(--line); }
.flow__list { max-width: 740px; margin: 0 auto; }
.flow-step { display: flex; gap: 28px; }
.flow-step__rail { display: flex; flex-direction: column; align-items: center; }
.flow-step__num {
  font-family: var(--font-disp);
  font-weight: 800;
  font-size: 18px;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--line);
  color: white;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.flow-step__line { flex: 1; width: 2px; background: rgba(255,255,255,0.18); margin: 8px 0; min-height: 20px; }
.flow-step__body { padding: 8px 0 36px; flex: 1; }
.flow-step__head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.flow-step__icon { font-size: 22px; }
.flow-step__title { font-family: var(--font-disp); font-size: 22px; font-weight: 700; margin: 0; color: white; }
.flow-step__desc { color: rgba(255,255,255,0.78); margin: 0; font-size: 15px; }

/* ====== FAQ (Dark Section) ====== */
.faq {
  padding: 100px 0;
  background: var(--dark-bg);
  color: white;
}
.faq .section-title { color: white; }
.faq .eyebrow { color: rgba(255,255,255,0.75); }
.faq .eyebrow__dot {
  background: var(--line);
  box-shadow: 0 0 0 4px rgba(6, 199, 85, 0.18);
}
.faq__list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: rgba(255,255,255,0.97);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: all .2s;
}
.faq-item.is-open { border-color: var(--line); box-shadow: 0 8px 24px rgba(6, 199, 85, 0.18); }
.faq-item__q {
  width: 100%;
  display: flex; align-items: center; gap: 16px;
  padding: 22px 24px;
  text-align: left;
  font-family: var(--font-disp);
  font-weight: 600;
  font-size: 16px;
  color: var(--ink);
}
.faq-item__qmark, .faq-item__amark {
  flex-shrink: 0;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--line-soft);
  color: var(--line-dark);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-disp);
  font-weight: 800;
  font-size: 14px;
}
.faq-item__amark { background: var(--line-soft); color: var(--line-dark); }
.faq-item__qtext { flex: 1; }
.faq-item__toggle { font-size: 20px; color: var(--ink-3); width: 24px; text-align: center; }
.faq-item__a {
  display: grid; grid-template-columns: 32px 1fr; gap: 16px;
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease, padding .3s ease;
}
.faq-item.is-open .faq-item__a { padding: 0 24px 24px; max-height: 500px; }
.faq-item__a p { margin: 0; color: var(--ink-2); font-size: 14.5px; line-height: 1.85; }

/* ====== Support (White Section) ====== */
.support { padding: 110px 0; background: var(--paper); }
.support__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.support__title {
  font-family: var(--font-disp);
  font-size: clamp(28px, 3.6vw, 42px);
  line-height: 1.5;
  font-weight: 800;
  margin: 16px 0 28px;
  letter-spacing: -0.015em;
  word-break: keep-all;
  overflow-wrap: break-word;
  text-wrap: balance;
}
.support__title-em {
  color: var(--line-dark);
  background: linear-gradient(180deg, transparent 65%, var(--line-soft) 65%, var(--line-soft) 92%, transparent 92%);
  padding: 0 0.1em;
  font-weight: 900;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.support__body p { color: var(--ink-2); margin: 0 0 16px; }
.support__body strong { color: var(--line-dark); font-weight: 700; }

/* === Support Visual (image-based) === */
.support__visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.support__image {
  width: 100%;
  max-width: 560px;
  height: auto;
  border-radius: var(--r-xl);
  box-shadow:
    0 20px 50px rgba(45, 45, 45, 0.12),
    0 8px 20px rgba(45, 45, 45, 0.06);
  display: block;
}

/* ====== Final CTA (Green Climax Section) ====== */
.final-cta {
  position: relative;
  padding: 110px 0 130px;
  background: linear-gradient(135deg, var(--line) 0%, var(--line-dark) 100%);
  color: white;
  overflow: hidden;
}
.final-cta__bg { position: absolute; inset: 0; pointer-events: none; }
.final-cta__shape {
  position: absolute; border-radius: 50%;
  filter: blur(90px);
  opacity: 0.3;
}
.final-cta__shape--a { width: 500px; height: 500px; background: rgba(255,255,255,0.5); top: -200px; right: -100px; }
.final-cta__shape--b { width: 400px; height: 400px; background: rgba(255,255,255,0.3); bottom: -160px; left: -80px; opacity: 0.4; }

.final-cta__inner { position: relative; text-align: center; max-width: 760px; margin: 0 auto; }
.final-cta__eyebrow { font-size: 13px; color: rgba(255,255,255,0.85); letter-spacing: 0.1em; margin-bottom: 18px; font-weight: 600; }
.final-cta__title {
  font-family: var(--font-disp);
  font-size: clamp(30px, 4.6vw, 50px);
  line-height: 1.5;
  font-weight: 800;
  margin: 0 0 28px;
  letter-spacing: -0.01em;
  color: white;
}
.final-cta__title-em {
  color: white;
  background: rgba(255,255,255,0.18);
  padding: 0.05em 0.3em;
  border-radius: 6px;
  font-weight: 900;
}
.final-cta__title-strong {
  color: white;
  font-weight: 900;
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,0.4);
  text-decoration-thickness: 4px;
  text-underline-offset: 6px;
}
.final-cta__br-mobile { display: none; }
.final-cta__lead { color: rgba(255,255,255,0.95); margin: 0 0 32px; font-size: 16px; text-wrap: pretty; }
.final-cta__hint {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 auto;
  padding: 12px 24px;
  background: rgba(255,255,255,0.15);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: white;
  font-family: var(--font-disp);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.2);
}
.final-cta__hint i {
  font-size: 14px;
  animation: scenarios-hint-tap 1.8s ease-in-out infinite;
}

/* ====== Floating CTA (FAB) - 1.5x size ====== */
.floating-cta {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 100;
  display: inline-flex;
  align-items: center;
  gap: 18px;
  background: var(--line);
  color: white;
  padding: 24px 40px;
  border-radius: 999px;
  font-family: var(--font-disp);
  font-weight: 700;
  text-decoration: none;
  box-shadow:
    0 8px 0 rgba(4, 168, 68, 0.5),
    0 20px 44px rgba(6, 199, 85, 0.42),
    0 6px 16px rgba(0, 0, 0, 0.14);
  border: 2px solid var(--line);
  transition: transform .25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow .25s ease, background .25s ease, color .25s ease;
  animation: floating-cta-bounce 3s ease-in-out infinite;
}
.floating-cta:hover {
  transform: scale(1.06) translateY(-2px);
  background: white;
  color: var(--line-dark);
  box-shadow:
    0 8px 0 rgba(4, 168, 68, 0.18),
    0 24px 52px rgba(6, 199, 85, 0.5),
    0 8px 20px rgba(0, 0, 0, 0.18);
}
.floating-cta:hover .floating-cta__icon {
  background: var(--line-soft);
  color: var(--line-dark);
}
.floating-cta:active { transform: scale(1.02); }
.floating-cta__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(255,255,255,0.22);
  font-size: 26px;
  transition: background .25s ease, color .25s ease;
  flex-shrink: 0;
}
.floating-cta__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.2;
}
.floating-cta__label { font-size: 22px; }
.floating-cta__sub { font-size: 14px; font-weight: 500; opacity: 0.9; margin-top: 4px; letter-spacing: 0.04em; }

@keyframes floating-cta-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
.floating-cta:hover { animation: none; }

/* Mobile responsive (smaller than desktop, but still prominent) */
@media (max-width: 768px) {
  .floating-cta {
    bottom: 18px;
    right: 18px;
    padding: 16px 24px;
    gap: 12px;
  }
  .floating-cta__icon { width: 42px; height: 42px; font-size: 18px; }
  .floating-cta__label { font-size: 16px; }
  .floating-cta__sub { font-size: 12px; }
  .final-cta__br-mobile { display: inline; }
}

/* ====== Footer ====== */
.site-footer { background: #14181f; color: rgba(255,255,255,0.7); padding: 48px 0 32px; }
.site-footer__top { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,0.1); flex-wrap: wrap; }
.site-footer__logo { font-family: var(--font-disp); font-weight: 800; font-size: 22px; color: white; letter-spacing: -0.01em; }
.site-footer__tag { font-size: 12px; color: rgba(255,255,255,0.5); margin-top: 4px; }
.site-footer__cta { color: var(--line); font-weight: 700; font-size: 14px; padding: 12px 22px; border: 1.5px solid var(--line); border-radius: 999px; transition: all .2s; }
.site-footer__cta:hover { background: var(--line); color: white; }
.site-footer__nav { display: flex; gap: 24px; flex-wrap: wrap; }
.site-footer__link { color: rgba(255,255,255,0.65); font-size: 13px; text-decoration: none; transition: color .2s ease, transform .2s ease; position: relative; padding-bottom: 2px; }
.site-footer__link::after { content: ''; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px; background: var(--line); transition: right .25s ease; }
.site-footer__link:hover { color: white; }
.site-footer__link:hover::after { right: 0; }
.site-footer__bottom { display: flex; justify-content: space-between; padding-top: 24px; font-size: 12px; gap: 16px; flex-wrap: wrap; color: rgba(255,255,255,0.4); }

/* ====== Responsive ====== */
@media (max-width: 1024px) {
  .scenario-tabs { grid-template-columns: repeat(4, 1fr); }
  .problems__grid { grid-template-columns: repeat(2, 1fr); }
  .scenario-detail { grid-template-columns: 1fr; padding: 36px 28px; gap: 40px; }
  .scenario-detail__visual { order: -1; }
  .support__inner { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 720px) {
  .hero { padding: 60px 0; }
  .hero__inner { grid-template-columns: 1fr; gap: 50px; }
  .hero__visual { order: -1; }
  .hero__sticky-note--a { left: -10px; top: -10px; }
  .hero__sticky-note--b { right: 0; bottom: 30px; }
  .hero__trust { flex-wrap: wrap; gap: 10px; padding: 12px 16px; }
  .trust-divider { display: none; }
  /* モバイルでのbalance強制解除：日本語短文での強引な改行を防ぐ */
  .hero__title, .hero__title--lg, .support__title, .section-title { text-wrap: pretty; }
  .hero__title--lg { font-size: clamp(28px, 7vw, 38px); line-height: 1.4; }
  .scenario-tabs { grid-template-columns: repeat(2, 1fr); }
  .problems__grid { grid-template-columns: 1fr; }
  .support__pillars { grid-template-columns: 1fr; }
  .flow-step { gap: 18px; }
  .flow-step__num { width: 48px; height: 48px; font-size: 16px; }
  .flow-step__title { font-size: 18px; }
  .scenarios { padding: 70px 0; }
  .problems, .flow, .faq, .support { padding: 70px 0; }
  .final-cta { padding: 80px 0; }
  .site-footer__top { flex-direction: column; align-items: flex-start; }
  .scenario-detail__title { font-size: 22px; }
  .container { padding: 0 18px; }
}
