﻿:root {
  --bg: #f5fbfa;
  --bg-soft: #ffffff;
  --surface: rgba(255, 255, 255, 0.74);
  --surface-strong: #ffffff;
  --line: rgba(13, 61, 54, 0.12);
  --text: #163330;
  --muted: #56706c;
  --primary: #2d8fe3;
  --primary-deep: #2369c8;
  --secondary: #ff8a2a;
  --accent: #e8f4ff;
  --accent-soft: #fff5ea;
  --shadow: 0 24px 70px rgba(17, 54, 48, 0.11);
  --radius-lg: 32px;
  --radius-md: 22px;
  --radius-sm: 16px;
  --container: min(1120px, calc(100vw - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Zen Kaku Gothic New", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(45, 143, 227, 0.16), transparent 28%),
    radial-gradient(circle at 85% 10%, rgba(255, 138, 42, 0.12), transparent 22%),
    linear-gradient(180deg, #f7fbff 0%, #f8fcff 44%, #ffffff 100%);
}

img,
svg {
  display: block;
  max-width: 100%;
}

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

button,
input,
textarea {
  font: inherit;
}

.page-shell {
  overflow: clip;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.section {
  padding: 104px 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(16px);
  background: rgba(247, 251, 255, 0.76);
  border-bottom: 1px solid transparent;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 14px 40px rgba(17, 54, 48, 0.08);
  background: rgba(247, 251, 255, 0.92);
}

.header-inner,
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 84px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-logo {
  width: 54px;
  height: 44px;
}

.brand-logo.large {
  width: 82px;
  height: 66px;
}

.brand-logo svg {
  width: 100%;
  height: 100%;
}

.brand-logo path:first-child {
  fill: none;
  stroke: var(--primary);
  stroke-width: 8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand-logo .brand-wave {
  fill: none;
  stroke: var(--secondary);
  stroke-width: 6;
  stroke-linecap: round;
}

.brand-text {
  display: grid;
  gap: 3px;
}

.brand-text strong,
.hero h1,
.section-heading h2,
.profile-copy h3,
.contact-copy h2,
.service-card h3,
.work-copy h3,
.pain-card h3,
.hero-card h2,
.demo-banner h2,
.demo-panel h2,
.compare-card strong,
.score-card strong,
.flow-column h3 {
  font-family: "Outfit", "Zen Kaku Gothic New", sans-serif;
}

.brand-text strong {
  font-size: 1.8rem;
  font-weight: 600;
  line-height: 1;
}

.brand-text small {
  color: var(--primary-deep);
  font-weight: 700;
}

.site-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
  font-size: 0.95rem;
}

.site-nav a {
  color: var(--muted);
  transition: color 160ms ease, transform 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
  transform: translateY(-1px);
}

.nav-cta {
  padding: 12px 18px;
  border-radius: 999px;
  color: #fff !important;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  box-shadow: 0 14px 28px rgba(45, 143, 227, 0.18);
}

.hero {
  padding-top: 72px;
}

.hero-grid,
.profile-grid,
.contact-shell,
.demo-hero-grid,
.demo-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 44px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 18px;
  font-family: "Outfit", sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--primary-deep);
}

.hero h1,
.demo-hero h1 {
  margin: 0;
  font-size: clamp(2.8rem, 7vw, 5.4rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
}

.hero-lead,
.section-heading p,
.profile-copy p,
.contact-copy p,
.work-copy p,
.service-card p,
.pain-card p,
.hero-card p,
.form-note,
.contact-points span,
.demo-banner p,
.demo-panel p,
.compare-card p,
.score-card p,
.flow-item {
  color: var(--muted);
}

.hero-lead {
  margin: 28px 0 0;
  font-size: 1.08rem;
  line-height: 1.9;
  max-width: 38rem;
}

.hero-actions,
.demo-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible,
.chip:hover,
.chip:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  box-shadow: 0 18px 34px rgba(45, 143, 227, 0.22);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.82);
  border-color: var(--line);
}

.hero-points,
.skill-list,
.chip-row {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-points li,
.skill-list li,
.chip {
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(45, 143, 227, 0.18);
  color: var(--text);
}

.chip {
  cursor: pointer;
}

.chip.is-active {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-color: transparent;
}

.hero-visual {
  position: relative;
  min-height: 520px;
}

.hero-card,
.hero-stat,
.service-card,
.pain-card,
.work-card,
.contact-shell,
.profile-brand-card,
.demo-banner,
.demo-panel,
.score-card,
.compare-card,
.flow-column {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.hero-card-main {
  position: absolute;
  inset: 70px 24px 110px 60px;
  padding: 34px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(232, 244, 255, 0.78));
}

.brand-card-head {
  display: flex;
  align-items: center;
  gap: 18px;
}

.brand-card-head strong {
  display: block;
  font-size: 2rem;
  font-weight: 600;
}

.brand-card-head span {
  color: var(--primary-deep);
  font-weight: 700;
}

.card-label,
.work-tag,
.compare-label {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(45, 143, 227, 0.12);
  color: var(--primary-deep);
  font-family: "Outfit", sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-card h2,
.demo-banner h2,
.demo-panel h2 {
  margin: 18px 0 14px;
  font-size: clamp(1.7rem, 3vw, 2.8rem);
  line-height: 1.08;
}

.hero-stat {
  position: absolute;
  padding: 18px 20px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
}

.hero-stat strong,
.compare-card strong,
.score-card strong {
  display: block;
  font-family: "Outfit", sans-serif;
  font-size: 2rem;
}

.hero-stat span {
  color: var(--muted);
  font-size: 0.95rem;
}

.stat-a {
  top: 24px;
  right: 18px;
}

.stat-b {
  bottom: 32px;
  left: 0;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
}

.orb-a {
  width: 160px;
  height: 160px;
  right: -20px;
  bottom: 44px;
  background: rgba(45, 143, 227, 0.16);
}

.orb-b {
  width: 120px;
  height: 120px;
  top: 40px;
  left: 36px;
  background: rgba(255, 138, 42, 0.16);
}

.section-heading {
  max-width: 700px;
  margin-bottom: 34px;
}

.section-heading h2,
.contact-copy h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.08;
}

.section-heading p,
.contact-copy p,
.profile-copy p {
  margin: 18px 0 0;
  line-height: 1.9;
}

.pain-grid,
.service-grid,
.works-list,
.compare-grid,
.flow-board {
  display: grid;
  gap: 22px;
}

.pain-grid,
.service-grid,
.flow-board {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pain-card,
.service-card,
.demo-panel,
.compare-card,
.flow-column {
  position: relative;
  padding: 28px;
  border-radius: 26px;
}

.pain-icon {
  display: inline-grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 18px;
  margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(45, 143, 227, 0.14), rgba(255, 138, 42, 0.12));
  font-family: "Outfit", sans-serif;
  color: var(--primary-deep);
  font-weight: 700;
}

.service-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(45, 143, 227, 0.16), rgba(255, 138, 42, 0.1));
}

.service-icon svg {
  width: 34px;
  height: 34px;
  stroke: var(--primary-deep);
  stroke-width: 2.2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3,
.pain-card h3,
.work-copy h3,
.profile-copy h3,
.flow-column h3 {
  margin: 0;
  font-size: 1.45rem;
}

.service-card p,
.pain-card p,
.work-copy p,
.score-card p,
.compare-card p,
.flow-item {
  margin: 14px 0 0;
  line-height: 1.8;
}

.demo-banner {
  display: grid;
  grid-template-columns: 1.2fr auto;
  gap: 22px;
  padding: 34px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 245, 234, 0.9));
}

.works-list {
  grid-template-columns: 1fr;
}

.work-card {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.work-visual,
.work-copy {
  padding: 30px;
}

.work-visual {
  min-height: 240px;
  background: linear-gradient(180deg, rgba(232, 244, 255, 0.72), rgba(255, 245, 234, 0.7));
}

.work-copy {
  background: rgba(255, 255, 255, 0.86);
}

.mini-window {
  display: flex;
  gap: 8px;
}

.mini-window span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: rgba(22, 51, 48, 0.16);
}

.sheet-grid,
.order-lanes,
.notify-stack {
  margin-top: 24px;
  border-radius: 20px;
}

.sheet-grid {
  height: 145px;
  background:
    linear-gradient(rgba(45, 143, 227, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 138, 42, 0.12) 1px, transparent 1px);
  background-size: 28px 28px;
  background-color: rgba(255, 255, 255, 0.8);
}

.order-lanes,
.notify-stack {
  display: grid;
  gap: 12px;
}

.order-lanes i,
.notify-stack i {
  display: block;
  height: 32px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(22, 51, 48, 0.08);
}

.order-lanes i:nth-child(2) {
  width: 82%;
}

.order-lanes i:nth-child(3) {
  width: 68%;
}

.notify-stack i:nth-child(1) {
  width: 80%;
}

.notify-stack i:nth-child(2) {
  width: 92%;
}

.notify-stack i:nth-child(3) {
  width: 72%;
}

.profile-grid {
  align-items: stretch;
}

.profile-brand-card,
.contact-shell,
.score-card {
  border-radius: var(--radius-lg);
}

.profile-brand-card {
  padding: 34px;
  min-height: 100%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(232, 244, 255, 0.78));
}

.profile-name,
.profile-catch,
.profile-message {
  text-align: center;
}

.profile-name {
  margin: 28px 0 12px;
  font-size: 1.8rem;
  font-weight: 700;
}

.profile-catch {
  margin: 0;
  font-size: 2rem;
  font-weight: 700;
}

.profile-message {
  margin: 12px auto 0;
  max-width: 24rem;
  font-size: 1.12rem;
  line-height: 1.8;
}

.profile-icons {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-top: 28px;
}

.profile-icons span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(45, 143, 227, 0.18);
  background: rgba(255, 255, 255, 0.82);
  color: var(--primary-deep);
  font-family: "Outfit", sans-serif;
  font-weight: 700;
}

.mini-icon svg {
  width: 26px;
  height: 26px;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.profile-copy {
  align-self: center;
}

.profile-copy h3 {
  margin-top: 16px;
}

.contact-shell {
  padding: 40px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(232, 244, 255, 0.82));
}

.contact-points {
  display: grid;
  gap: 18px;
  margin-top: 26px;
}

.contact-points strong,
.form-note,
.range-block strong {
  display: block;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(22, 51, 48, 0.08);
}

.contact-form label,
.range-block {
  display: grid;
  gap: 8px;
}

.contact-form span,
.range-block span {
  font-weight: 700;
}

.contact-form input,
.contact-form textarea,
.range-block input {
  width: 100%;
}

.contact-form input,
.contact-form textarea {
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid rgba(22, 51, 48, 0.12);
  background: #fff;
  color: var(--text);
}

.range-block input {
  accent-color: var(--primary);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(45, 143, 227, 0.18);
  border-color: rgba(45, 143, 227, 0.34);
}

.button-submit,
.demo-run {
  width: 100%;
  border: 0;
  cursor: pointer;
}

.form-note {
  font-size: 0.92rem;
  line-height: 1.7;
}

.demo-hero {
  padding-top: 72px;
}

.score-card,
.demo-panel {
  padding: 30px;
}

.score-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(255, 245, 234, 0.9));
}

.score-card span {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 138, 42, 0.12);
  color: #a85516;
  font-weight: 700;
}

.score-card strong {
  margin-top: 18px;
}

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

.demo-stage {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 20px;
  align-items: center;
}

.stage-column {
  display: grid;
  gap: 14px;
}

.stage-label {
  display: inline-flex;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(45, 143, 227, 0.14);
  font-weight: 700;
}

.stage-card {
  min-height: 360px;
  padding: 24px;
  border-radius: 28px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: transform 280ms ease, box-shadow 280ms ease, background 280ms ease, opacity 280ms ease;
}

.stage-card-before {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(250, 234, 228, 0.9));
}

.stage-card-after {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(232, 244, 255, 0.9));
  opacity: 0.5;
  transform: scale(0.97);
}

.demo-stage.is-playing .stage-card-before {
  opacity: 0.38;
  transform: scale(0.96) rotate(-1deg);
}

.demo-stage.is-playing .stage-card-after {
  opacity: 1;
  transform: scale(1.02);
  box-shadow: 0 28px 80px rgba(45, 143, 227, 0.18);
}

.stage-illustration {
  min-height: 210px;
  padding: 10px;
}

.stage-illustration svg {
  width: 100%;
  height: auto;
}

.messy-board rect,
.messy-board path {
  stroke: #8e98a8;
  stroke-width: 6;
  fill: rgba(255, 255, 255, 0.72);
  stroke-linecap: round;
  stroke-linejoin: round;
}

.clean-board rect,
.clean-board circle,
.clean-board path {
  stroke: var(--primary);
  stroke-width: 6;
  fill: rgba(255, 255, 255, 0.84);
  stroke-linecap: round;
  stroke-linejoin: round;
}

.clean-board circle {
  fill: rgba(255, 138, 42, 0.14);
  stroke: var(--secondary);
}

.stage-points {
  margin: 6px 0 0;
  padding-left: 20px;
  color: var(--text);
  line-height: 1.9;
}

.stage-switch {
  display: grid;
  place-items: center;
}

.switch-button {
  min-width: 110px;
  padding: 14px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  font-family: "Outfit", sans-serif;
  font-weight: 700;
  letter-spacing: 0.08em;
  box-shadow: 0 18px 34px rgba(45, 143, 227, 0.22);
  transition: transform 260ms ease, box-shadow 260ms ease, background 260ms ease;
}

.demo-stage.is-playing .switch-button {
  transform: scale(1.06);
  box-shadow: 0 24px 44px rgba(45, 143, 227, 0.26);
}

.compare-card.manual {
  background: rgba(255, 255, 255, 0.94);
}

.compare-card.auto {
  background: linear-gradient(180deg, rgba(232, 244, 255, 0.9), rgba(255, 245, 234, 0.86));
}

.flow-board {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.flow-column {
  min-height: 220px;
}

.flow-item {
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(45, 143, 227, 0.12);
  transition: transform 240ms ease, background 240ms ease, border-color 240ms ease;
}

.flow-item.is-active {
  transform: translateY(-4px);
  background: linear-gradient(135deg, rgba(45, 143, 227, 0.14), rgba(255, 138, 42, 0.12));
  border-color: rgba(45, 143, 227, 0.24);
}

.site-footer {
  padding: 24px 0 36px;
}

.site-footer p,
.site-footer a {
  color: var(--muted);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 720ms ease, transform 720ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay {
  transition-delay: 120ms;
}

.reveal-delay-2 {
  transition-delay: 220ms;
}

@media (max-width: 960px) {
  .site-nav {
    gap: 14px;
    font-size: 0.88rem;
  }

  .hero-grid,
  .profile-grid,
  .contact-shell,
  .work-card,
  .demo-hero-grid,
  .demo-layout,
  .demo-banner,
  .flow-board,
  .demo-stage {
    grid-template-columns: 1fr;
  }

  .pain-grid,
  .service-grid,
  .compare-grid {
    grid-template-columns: 1fr;
  }

  .stage-switch {
    order: 3;
  }

  .hero-visual {
    min-height: 420px;
  }

  .hero-card-main {
    inset: 42px 16px 94px 16px;
  }

  .stat-b {
    left: 16px;
  }
}

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

  .header-inner,
  .footer-inner,
  .site-nav,
  .hero-actions,
  .demo-banner-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .header-inner {
    padding: 18px 0;
  }

  .site-nav {
    gap: 10px;
  }

  .site-nav a,
  .nav-cta {
    text-align: center;
  }

  .hero,
  .demo-hero {
    padding-top: 34px;
  }

  .hero h1,
  .demo-hero h1 {
    font-size: clamp(2.35rem, 12vw, 4rem);
  }

  .hero-lead {
    font-size: 1rem;
  }

  .hero-visual {
    min-height: 400px;
  }

  .hero-card-main,
  .pain-card,
  .service-card,
  .contact-shell,
  .profile-brand-card,
  .work-copy,
  .work-visual,
  .demo-panel,
  .score-card,
  .demo-banner,
  .flow-column,
  .stage-card {
    padding: 22px;
  }

  .contact-form {
    padding: 22px;
  }

  .brand-card-head {
    gap: 12px;
  }

  .brand-card-head strong {
    font-size: 1.7rem;
  }

  .profile-name {
    font-size: 1.45rem;
  }

  .profile-catch {
    font-size: 1.5rem;
    line-height: 1.35;
  }

  .profile-message {
    font-size: 1rem;
  }

  .profile-icons {
    gap: 12px;
  }

  .profile-icons span {
    width: 38px;
    height: 38px;
  }
}

/* Logo image support */
.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 8px 16px rgba(45, 143, 227, 0.2));
}

/* Flow section interaction enhancements */
.flow-actions {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: center;
  margin-bottom: 18px;
}

.flow-progress-wrap {
  display: grid;
  gap: 8px;
}

#flow-progress-label {
  font-weight: 700;
  color: var(--primary-deep);
}

.flow-progress {
  width: 100%;
  height: 12px;
  border-radius: 999px;
  background: rgba(45, 143, 227, 0.14);
  border: 1px solid rgba(45, 143, 227, 0.2);
  overflow: hidden;
}

#flow-progress-bar {
  display: block;
  width: 0;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transition: width 480ms ease;
}

.flow-log {
  margin-top: 16px;
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(45, 143, 227, 0.18);
  display: grid;
  gap: 8px;
  min-height: 64px;
}

.flow-log div {
  font-family: "Outfit", "Zen Kaku Gothic New", sans-serif;
  font-size: 0.95rem;
  color: var(--text);
  animation: fadeStep 320ms ease;
}

@keyframes fadeStep {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 720px) {
  .flow-actions {
    grid-template-columns: 1fr;
  }
}

/* clearer demo interactions */
.demo-stage.show-before .stage-card-before {
  opacity: 1;
  transform: scale(1.01);
}

.demo-stage.show-before .stage-card-after {
  opacity: 0.45;
  transform: scale(0.96);
}

.demo-stage.show-after .stage-card-before {
  opacity: 0.35;
  transform: scale(0.95) rotate(-1deg);
}

.demo-stage.show-after .stage-card-after {
  opacity: 1;
  transform: scale(1.03);
  box-shadow: 0 30px 80px rgba(45, 143, 227, 0.2);
}

.flow-column {
  transition: transform 280ms ease, box-shadow 280ms ease, border-color 280ms ease;
}

.flow-column.is-running {
  transform: translateY(-5px);
  box-shadow: 0 22px 44px rgba(45, 143, 227, 0.2);
  border-color: rgba(45, 143, 227, 0.34);
}


/* 画像をブラウザ枠にきれいに収める */
.work-visual.sheet-visual {
  position: relative;
  overflow: hidden; /* 画像が角丸からはみ出るのを防ぐ */
  background: #f8fafc; /* 画像読み込み前の背景色 */
  display: flex;
  flex-direction: column;
}

.work-img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* 枠いっぱいに隙間なく表示 */
  object-position: top; /* 上部（ブラウザのヘッダー側）を優先して表示 */
}

/* もし .sheet-grid のスタイルが残っていて邪魔な場合は無効化 */
.sheet-grid {
  display: none;
}