/* ============================================================
   SUTEKI BANK — Creative Tech Corporate Site (light / near-future)
   ============================================================ */

:root {
  --yellow: #F7C948;
  --yellow-dark: #D9A61F;
  --yellow-deep: #B8860B;
  --yellow-glow: rgba(247, 201, 72, 0.4);
  --yellow-soft: #FFF8E6;

  /* secondary accents */
  --teal: #0FA9A0;
  --teal-deep: #0B857D;
  --teal-soft: #E6F6F5;
  --coral: #F0645C;
  --coral-deep: #D64840;
  --coral-soft: #FDEEED;
  --violet: #7C6CF0;
  --violet-deep: #5F4EDB;
  --violet-soft: #F0EDFD;

  --bg: #FFFFFF;
  --bg-soft: #F7F8FA;
  --ink: #0D1117;
  --navy: #10162A;
  --text: #1A2130;
  --text-dim: #5D6675;
  --text-faint: #9AA1AD;
  --line: rgba(13, 17, 23, 0.08);
  --line-strong: rgba(13, 17, 23, 0.14);

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;

  --shadow-card: 0 6px 28px rgba(13, 17, 23, 0.07);
  --shadow-deep: 0 24px 64px rgba(13, 17, 23, 0.14);
  --glow: 0 0 60px var(--yellow-glow);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --transition: 0.35s var(--ease);

  --font-jp: "Noto Sans JP", "Inter", sans-serif;
  --font-en: "Space Grotesk", "Inter", sans-serif;

  --max-width: 1200px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }
/* prevent horizontal wobble on all devices */
html, body { overflow-x: clip; max-width: 100%; }
@supports not (overflow: clip) {
  html, body { overflow-x: hidden; }
}

body {
  font-family: var(--font-jp);
  color: var(--text);
  background: var(--bg);
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* film grain */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9000;
  pointer-events: none;
  opacity: 0.02;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
::selection { background: var(--yellow); color: var(--ink); }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.section { padding: 140px 24px; position: relative; overflow: hidden; }
.section-deep { background: var(--bg-soft); }

/* ------- SVG icons ------- */
.icon {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

/* ------- section watermark (giant EN word) ------- */
.wm {
  position: absolute;
  top: 44px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-en);
  font-size: clamp(70px, 12vw, 170px);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
  color: rgba(247, 201, 72, 0.13);
  -webkit-text-stroke: 1.5px rgba(217, 166, 31, 0.4);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}

/* ------- typography helpers ------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-en);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--teal-deep);
  background: var(--teal-soft);
  border: 1px solid rgba(15, 169, 160, 0.25);
  padding: 7px 16px;
  border-radius: 999px;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); }

.section-head { max-width: 760px; margin: 0 auto 76px; text-align: center; position: relative; }
.section-head h2 {
  font-size: clamp(28px, 4.4vw, 46px);
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1.45;
  color: var(--ink);
}
.section-head h2 .marker {
  background: linear-gradient(transparent 60%, var(--yellow) 60%, var(--yellow) 92%, transparent 92%);
}
.section-head p { margin-top: 18px; color: var(--text-dim); font-size: 15px; }

/* ------- buttons ------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 17px 38px;
  border-radius: 999px;
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  transition: var(--transition);
  border: 1.5px solid transparent;
  cursor: pointer;
  overflow: hidden;
}
.btn-primary { background: var(--yellow); color: var(--ink); }
.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 25%, rgba(255,255,255,0.55) 50%, transparent 75%);
  transform: translateX(-120%);
  transition: transform 0.7s ease;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 14px 36px var(--yellow-glow); }
.btn-primary:hover::before { transform: translateX(120%); }
.btn-outline { border-color: var(--line-strong); color: var(--text); }
.btn-outline:hover { border-color: var(--yellow-dark); color: var(--yellow-deep); background: var(--yellow-soft); }
.btn-ghost { background: var(--ink); color: #fff; }
.btn-ghost:hover { transform: translateY(-3px); box-shadow: var(--shadow-deep); }
.btn-arrow { font-family: var(--font-en); transition: transform var(--transition); }
.btn:hover .btn-arrow { transform: translateX(5px); }

/* ============ custom cursor ============ */
@media (hover: hover) and (pointer: fine) {
  .cursor-dot,
  .cursor-ring {
    position: fixed;
    top: 0; left: 0;
    z-index: 9500;
    pointer-events: none;
    border-radius: 50%;
    will-change: transform;
  }
  .cursor-dot {
    width: 7px; height: 7px;
    background: var(--yellow-dark);
    box-shadow: 0 0 12px var(--yellow-glow);
  }
  .cursor-ring {
    width: 38px; height: 38px;
    border: 1.5px solid rgba(217, 166, 31, 0.55);
    transition: width 0.25s ease, height 0.25s ease, border-color 0.25s ease, background 0.25s ease;
  }
  .cursor-ring.is-hover {
    width: 60px; height: 60px;
    border-color: var(--yellow-dark);
    background: rgba(247, 201, 72, 0.12);
  }
}
@media (hover: none), (max-width: 900px) {
  .cursor-dot, .cursor-ring { display: none; }
}

/* ============ scroll progress ============ */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--yellow-dark), var(--yellow));
  box-shadow: 0 0 14px var(--yellow-glow);
  z-index: 9400;
}

/* ============ intro overlay ============ */
.intro {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.intro.done {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.9s var(--ease), visibility 0s 1s;
}
.intro-stage { position: relative; display: flex; flex-direction: column; align-items: center; }
.intro-flash {
  position: absolute;
  top: 50%; left: 50%;
  width: 12px; height: 12px;
  margin: -6px 0 0 -6px;
  border-radius: 50%;
  background: var(--yellow);
  opacity: 0;
  animation: introFlash 0.7s ease 0.55s;
}
@keyframes introFlash {
  0% { opacity: 0; transform: scale(0); }
  25% { opacity: 0.85; }
  100% { opacity: 0; transform: scale(110); }
}
.intro-ring, .intro-ring2 {
  position: absolute;
  top: 50%; left: 50%;
  width: 170px; height: 170px;
  margin: -85px 0 0 -85px;
  border: 1.5px solid rgba(217, 166, 31, 0.6);
  border-radius: 50%;
  opacity: 0;
  animation: introRing 1.1s var(--ease) 0.7s;
}
.intro-ring2 { animation-delay: 0.95s; border-color: rgba(13, 17, 23, 0.15); }
@keyframes introRing {
  0% { opacity: 1; transform: scale(0.5); }
  100% { opacity: 0; transform: scale(2.8); }
}
.intro-mark {
  width: 130px;
  border-radius: 26px;
  opacity: 0;
  transform: scale(0.4) rotate(-10deg);
  animation: introMark 1s var(--ease) 0.5s forwards;
  filter: drop-shadow(0 10px 40px rgba(217, 166, 31, 0.45));
}
@keyframes introMark {
  0% { opacity: 0; transform: scale(0.4) rotate(-10deg); }
  55% { opacity: 1; transform: scale(1.12) rotate(3deg); }
  100% { opacity: 1; transform: scale(1) rotate(0deg); }
}
.intro-word {
  margin-top: 30px;
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5em;
  text-indent: 0.5em;
  color: var(--text-dim);
  opacity: 0;
  animation: introWord 0.8s var(--ease) 1.15s forwards;
}
@keyframes introWord {
  from { opacity: 0; transform: translateY(14px); letter-spacing: 0.8em; }
  to { opacity: 1; transform: none; letter-spacing: 0.5em; }
}
.intro-bar {
  margin-top: 20px;
  width: 120px;
  height: 2px;
  background: rgba(13, 17, 23, 0.08);
  overflow: hidden;
  border-radius: 2px;
}
.intro-bar i {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--yellow-dark);
  transform: translateX(-100%);
  animation: introBar 1.3s var(--ease) 0.6s forwards;
}
@keyframes introBar { to { transform: translateX(0); } }

/* ============ Header ============ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 999;
  padding: 20px 0;
  transition: var(--transition);
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 var(--line);
  padding: 12px 0;
}
.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo-link { position: relative; display: block; border-radius: 10px; overflow: hidden; }
.logo-link img { height: 42px; width: auto; border-radius: 10px; transition: var(--transition); display: block; }
.site-header.scrolled .logo-link img { height: 34px; }
.logo-link::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.55) 50%, transparent 70%);
  transform: translateX(-130%) skewX(-12deg);
  animation: logoShimmer 6s ease 3s infinite;
}
@keyframes logoShimmer {
  0% { transform: translateX(-130%) skewX(-12deg); }
  16% { transform: translateX(130%) skewX(-12deg); }
  100% { transform: translateX(130%) skewX(-12deg); }
}

.main-nav { display: flex; align-items: center; gap: 40px; }
.main-nav ul { display: flex; gap: 34px; }
.main-nav ul a {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text);
  position: relative;
  padding: 4px 0;
  opacity: 0.85;
  transition: opacity var(--transition);
}
.main-nav ul a:hover { opacity: 1; }
.main-nav ul a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -4px;
  width: 0; height: 2px;
  background: var(--yellow-dark);
  transition: width var(--transition);
}
.main-nav ul a:hover::after { width: 100%; }
.nav-cta { padding: 12px 28px; font-size: 13px; }

.hamburger {
  display: none;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--yellow);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1001;
  flex-shrink: 0;
  box-shadow: var(--shadow-card);
}
.hamburger span,
.hamburger span::before,
.hamburger span::after {
  content: "";
  display: block;
  width: 18px; height: 2px;
  background: var(--ink);
  position: relative;
  transition: var(--transition);
}
.hamburger span::before { position: absolute; top: -6px; }
.hamburger span::after { position: absolute; top: 6px; }

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(13, 17, 23, 0.45);
  backdrop-filter: blur(4px);
  z-index: 998;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.nav-overlay.open { display: block; opacity: 1; }

@media (max-width: 920px) {
  .main-nav {
    position: fixed;
    top: 0; right: -100%;
    width: min(320px, 84vw);
    height: 100vh;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    padding: 110px 34px 40px;
    transition: right 0.45s var(--ease);
    z-index: 999;
    gap: 40px;
    border-left: 1px solid var(--line);
  }
  .main-nav.open { right: 0; box-shadow: -20px 0 60px rgba(13, 17, 23, 0.18); }
  .main-nav ul { flex-direction: column; gap: 28px; }
  .main-nav ul a { font-size: 17px; }
  .hamburger { display: flex; }
  .nav-cta { display: inline-flex; }
}

/* ============ Hero ============ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding-top: 110px;
  background:
    radial-gradient(ellipse 45% 38% at 88% 8%, rgba(155, 108, 240, 0.10), transparent 65%),
    radial-gradient(ellipse 40% 34% at 68% 78%, rgba(240, 111, 168, 0.09), transparent 65%),
    radial-gradient(ellipse 38% 32% at 8% 22%, rgba(53, 167, 240, 0.08), transparent 65%),
    radial-gradient(ellipse 34% 30% at 22% 96%, rgba(76, 191, 86, 0.07), transparent 65%),
    radial-gradient(ellipse 75% 55% at 80% -8%, rgba(247, 201, 72, 0.10), transparent 60%),
    var(--bg);
}
#particles {
  position: absolute;
  inset: 0;
  z-index: 0;
}
/* faint brand mark behind hero */
.hero-mark-bg {
  position: absolute;
  right: -5%;
  top: 48%;
  transform: translateY(-50%);
  width: min(48vw, 660px);
  opacity: 0.32;
  z-index: 0;
  pointer-events: none;
  user-select: none;
  animation: markFloat 11s ease-in-out infinite alternate;
  filter: drop-shadow(0 0 70px rgba(247, 201, 72, 0.5));
}
@keyframes markFloat {
  from { transform: translateY(-52%) rotate(-2.5deg); }
  to { transform: translateY(-47%) rotate(2.5deg); }
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  animation: orbFloat 14s ease-in-out infinite alternate;
  z-index: 0;
}
.orb-1 { width: 520px; height: 520px; top: -14%; right: -8%; background: radial-gradient(circle, rgba(247, 201, 72, 0.35), transparent 65%); }
.orb-2 { width: 400px; height: 400px; bottom: -16%; left: -9%; background: radial-gradient(circle, rgba(247, 201, 72, 0.22), transparent 65%); animation-delay: -7s; }
@keyframes orbFloat {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(-44px, 38px) scale(1.14); }
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 40px 24px 80px;
  width: 100%;
}
.hero-cols {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 56px;
  align-items: center;
}
/* ---- EN display title : WEB × MARKETING × AX ---- */
.hero-title-en {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  column-gap: 0.32em;
  row-gap: 2px;
  font-family: var(--font-en);
  font-size: clamp(34px, 5.4vw, 68px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0.015em;
  margin-bottom: 22px;
  user-select: none;
}
.ht-word {
  background-size: 240% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: htShine 7s ease-in-out infinite;
}
.ht-web {
  background-image: linear-gradient(105deg, #1E88E5, #7FD4FF 35%, #1E88E5 65%, #7FD4FF);
  filter: drop-shadow(0 4px 18px rgba(30, 136, 229, 0.28));
}
.ht-mkt {
  background-image: linear-gradient(105deg, #C24AD6, #FF9ED2 35%, #9B6CF0 65%, #FF9ED2);
  filter: drop-shadow(0 4px 18px rgba(194, 74, 214, 0.26));
  animation-delay: -2.3s;
}
.ht-ax {
  background-image: linear-gradient(105deg, #2FA84F, #A8E88C 35%, #2FA84F 65%, #A8E88C);
  filter: drop-shadow(0 4px 18px rgba(47, 168, 79, 0.28));
  animation-delay: -4.6s;
}
@keyframes htShine {
  0%, 100% { background-position: 0% 0; }
  50% { background-position: 100% 0; }
}
.ht-pair {
  display: inline-flex;
  align-items: baseline;
  column-gap: 0.32em;
  white-space: nowrap;
}
.ht-x {
  font-size: 0.42em;
  font-weight: 400;
  color: var(--text-faint);
  transform: translateY(-0.35em);
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 var(--yellow-glow); }
  50% { box-shadow: 0 0 0 8px transparent; }
}

.hero h1 {
  font-size: clamp(32px, 4.6vw, 56px);
  font-weight: 900;
  line-height: 1.32;
  letter-spacing: 0.01em;
  color: var(--ink);
}
.hero h1 .word { display: inline-block; overflow: hidden; vertical-align: bottom; }
.hero h1 .ch {
  display: inline-block;
  transform: translateY(115%) rotate(6deg);
  opacity: 0;
}
.hero h1.play .ch { animation: chIn 0.7s var(--ease) forwards; }
@keyframes chIn { to { transform: none; opacity: 1; } }
.hero h1 .accent {
  background: linear-gradient(transparent 58%, var(--yellow) 58%, var(--yellow) 94%, transparent 94%);
}

.hero-domains {
  margin-top: 26px;
  display: flex;
  align-items: baseline;
  gap: 14px;
  font-size: 14px;
  color: var(--text-dim);
  font-weight: 600;
}
.domain-rotator {
  position: relative;
  display: inline-block;
  min-width: 12em;
  height: 1.9em;
  vertical-align: bottom;
  overflow: hidden;
}
.domain-rotator span {
  position: absolute;
  left: 0; top: 0;
  font-family: var(--font-jp);
  font-size: 19px;
  font-weight: 800;
  color: var(--yellow-deep);
  white-space: nowrap;
  transform: translateY(120%);
  transition: transform 0.55s var(--ease), opacity 0.4s;
  opacity: 0;
}
.domain-rotator span.on { transform: translateY(0); opacity: 1; }
.domain-rotator span.off { transform: translateY(-120%); opacity: 0; }

.hero-lead {
  margin-top: 22px;
  font-size: 15px;
  color: var(--text-dim);
  max-width: 560px;
  line-height: 2.05;
}
.hero-actions { margin-top: 40px; display: flex; gap: 18px; flex-wrap: wrap; }

/* ---- AI live demo panel (stays dark = contrast piece) ---- */
.hero-demo { perspective: 1200px; position: relative; }
.hero-demo::before {
  content: "";
  position: absolute;
  inset: -18px;
  background: radial-gradient(ellipse at 50% 55%, rgba(247, 201, 72, 0.22), transparent 65%);
  filter: blur(22px);
  z-index: -1;
}
.demo-window {
  background: #0C111E;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  box-shadow: 0 30px 70px rgba(13, 17, 23, 0.35);
  overflow: hidden;
  transform: rotateY(-4deg) rotateX(2deg);
  transition: transform 0.6s var(--ease);
}
.hero-demo:hover .demo-window { transform: rotateY(0) rotateX(0); }
.demo-titlebar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}
.tb-dots { display: flex; gap: 6px; }
.tb-dots i { width: 10px; height: 10px; border-radius: 50%; }
.tb-dots i:first-child { background: #FF5F57; }
.tb-dots i:nth-child(2) { background: #FEBC2E; }
.tb-dots i:nth-child(3) { background: #28C840; }
.tb-title {
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.04em;
  flex-grow: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tb-live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--yellow);
}
.tb-live .pulse { width: 6px; height: 6px; border-radius: 50%; background: var(--yellow); animation: pulse 2s ease-in-out infinite; }
.demo-tabs { display: flex; gap: 4px; padding: 10px 14px 0; }
.demo-tabs button {
  font-family: var(--font-jp);
  font-size: 11.5px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.4);
  background: transparent;
  border: none;
  padding: 9px 14px;
  border-radius: 8px 8px 0 0;
  cursor: pointer;
  transition: var(--transition);
  border-bottom: 2px solid transparent;
}
.demo-tabs button:hover { color: rgba(255, 255, 255, 0.85); }
.demo-tabs button.active { color: var(--yellow); border-bottom-color: var(--yellow); background: rgba(247, 201, 72, 0.07); }
.demo-body { padding: 20px 18px; min-height: 285px; display: flex; flex-direction: column; gap: 14px; }
.demo-msg { display: flex; gap: 12px; align-items: flex-start; }
.demo-msg .who {
  flex-shrink: 0;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 5px 10px;
  border-radius: 6px;
  margin-top: 2px;
}
.demo-msg.user .who { background: rgba(255, 255, 255, 0.12); color: rgba(255, 255, 255, 0.7); }
.demo-msg.ai .who { background: var(--yellow); color: var(--ink); }
.demo-msg p, .demo-msg pre {
  font-size: 12.5px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
  white-space: pre-wrap;
  word-break: break-word;
  font-family: var(--font-jp);
}
.demo-msg.ai pre {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 2px solid var(--yellow);
  border-radius: 8px;
  padding: 12px 14px;
  flex-grow: 1;
  min-height: 120px;
}
#demo-output::after {
  content: "▌";
  color: var(--yellow);
  animation: blink 0.9s steps(1) infinite;
}
#demo-output.done::after { content: ""; }
@keyframes blink { 50% { opacity: 0; } }
.demo-status {
  display: none;
  align-items: center;
  gap: 10px;
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.5);
  padding-left: 52px;
}
.demo-status.show { display: flex; }
.spinner-sm {
  width: 13px; height: 13px;
  border: 2px solid rgba(247, 201, 72, 0.25);
  border-top-color: var(--yellow);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.demo-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.5);
}
.demo-footer b { color: var(--yellow); font-family: var(--font-en); font-size: 14px; }
.demo-vs { text-decoration: line-through; text-decoration-color: rgba(255, 95, 87, 0.7); text-decoration-thickness: 1.5px; }

/* ---- Demo v2: caption / panes / LINE / PDF ---- */
.demo-caption {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
  align-items: flex-start;
}
.demo-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-en);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #fff;
  background: var(--ink);
  padding: 8px 18px;
  border-radius: 999px;
  box-shadow: var(--shadow-card);
}
.demo-live-badge i {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #FF4D42;
  animation: recBlink 1.2s steps(1) infinite;
}
@keyframes recBlink { 50% { opacity: 0.25; } }
.demo-caption-title {
  font-size: clamp(19px, 2.4vw, 25px);
  font-weight: 900;
  color: var(--ink);
  line-height: 1.5;
}
.demo-caption-title .grad {
  background: linear-gradient(90deg, var(--yellow-deep), var(--yellow), var(--teal), var(--yellow-deep));
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradShift 5s linear infinite;
}
@keyframes gradShift { to { background-position: 300% 0; } }

.demo-pane {
  display: none;
  flex-direction: column;
  gap: 12px;
  animation: paneIn 0.5s var(--ease);
}
.demo-pane.active { display: flex; }
@keyframes paneIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.demo-out.typing::after {
  content: "▌";
  color: var(--yellow);
  animation: blink 0.9s steps(1) infinite;
}

/* photo attachments */
.demo-attach { display: flex; gap: 10px; }
.attach-thumb {
  position: relative;
  flex: 1;
  height: 62px;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 8px;
  opacity: 0;
  transform: translateY(12px) scale(0.94);
  transition: 0.45s var(--ease);
}
.attach-thumb.show { opacity: 1; transform: none; }
.attach-thumb::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.45), transparent 60%);
}
.attach-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, 0.5) 50%, transparent 65%);
  transform: translateX(-130%);
}
.attach-thumb.show::after { animation: thumbShine 0.9s ease 0.25s; }
@keyframes thumbShine { to { transform: translateX(130%); } }
.attach-thumb .icon { position: absolute; top: 8px; right: 8px; width: 14px; height: 14px; color: #fff; opacity: 0.9; }
.attach-thumb span { position: relative; font-size: 10px; font-weight: 700; color: #fff; letter-spacing: 0.05em; }
.th-a { background: linear-gradient(135deg, #9C7A52, #C9A570 55%, #8FA7B8); }
.th-b { background: linear-gradient(135deg, #5C7A99, #88A6C2 55%, #D8C08A); }
.th-c { background: linear-gradient(135deg, #4E8F6E, #7FB894 55%, #C4DACB); }

/* report doc */
.demo-doc {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 10px;
  overflow: hidden;
}
.doc-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 11.5px;
  color: #fff;
  font-weight: 700;
}
.doc-head .icon { width: 15px; height: 15px; color: var(--yellow); }
.doc-badge {
  margin-left: auto;
  font-size: 9px;
  font-weight: 800;
  color: var(--ink);
  background: var(--yellow);
  padding: 3px 9px;
  border-radius: 999px;
  letter-spacing: 0.06em;
}
.demo-doc pre {
  padding: 10px 12px;
  min-height: 96px;
  font-size: 12px;
  line-height: 1.85;
  color: rgba(237, 239, 245, 0.86);
  white-space: pre-wrap;
  word-break: break-word;
  margin: 0;
  font-family: var(--font-jp);
}

/* LINE app mock */
.line-app { border-radius: 12px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.1); }
.line-head {
  background: #273246;
  padding: 10px 13px;
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  display: flex;
  gap: 9px;
  align-items: center;
}
.line-head .line-back { opacity: 0.6; font-family: var(--font-en); }
.line-chat {
  padding: 13px 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #8CA2B8;
  min-height: 118px;
}
.line-msg { display: flex; align-items: flex-end; gap: 6px; opacity: 0; transform: translateY(8px); transition: 0.4s var(--ease); }
.line-msg.show { opacity: 1; transform: none; }
.line-msg p {
  max-width: 80%;
  padding: 9px 13px;
  border-radius: 15px;
  font-size: 12px;
  line-height: 1.7;
  margin: 0;
}
.line-msg.in p { background: #fff; color: #1E2430; border-top-left-radius: 4px; }
.line-msg.out { justify-content: flex-end; }
.line-msg.out p { background: #06C755; color: #fff; border-top-right-radius: 4px; }
.line-msg time { font-size: 9px; color: rgba(255, 255, 255, 0.75); flex-shrink: 0; }
.line-msg.out time { order: -1; }
.line-send {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #06C755;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  padding: 12px;
  opacity: 0.35;
  transition: opacity 0.35s;
}
.line-send .icon { width: 15px; height: 15px; }
.line-send.ready { opacity: 1; animation: sendPulse 1.6s ease infinite; }
@keyframes sendPulse { 50% { box-shadow: inset 0 0 0 100px rgba(255, 255, 255, 0.14); } }

/* PDF quote mock */
.pdf-doc {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  color: var(--ink);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35);
}
.pdf-head {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 12px 14px 10px;
  border-bottom: 2px solid var(--yellow);
}
.pdf-brand {
  font-family: var(--font-en);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--yellow-deep);
}
.pdf-head b { font-size: 13px; font-weight: 800; }
.pdf-no { margin-left: auto; font-size: 9px; color: #98A1AC; font-family: var(--font-en); }
.pdf-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 7px 14px;
  font-size: 11.5px;
  border-bottom: 1px dashed rgba(13, 17, 23, 0.12);
  opacity: 0;
  transform: translateX(-8px);
  transition: 0.35s var(--ease);
}
.pdf-row.show { opacity: 1; transform: none; }
.pdf-row b { font-family: var(--font-en); font-weight: 600; }
.pdf-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  font-size: 11px;
  font-weight: 700;
  background: var(--yellow-soft);
  opacity: 0;
  transition: 0.4s var(--ease);
}
.pdf-total.show { opacity: 1; }
.pdf-total b { font-family: var(--font-en); font-size: 17px; }
.pdf-dl {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  padding: 12px;
  font-size: 12px;
  font-weight: 800;
  color: #fff;
  overflow: hidden;
}
.pdf-dl .icon { width: 16px; height: 16px; color: var(--yellow); }
.dl-bar {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 0;
  background: rgba(247, 201, 72, 0.28);
  transition: width 1.1s ease;
}
.pdf-dl.done { border-color: var(--yellow); box-shadow: 0 0 24px rgba(247, 201, 72, 0.25); }
.dl-label { position: relative; display: inline-flex; gap: 8px; align-items: center; }

/* hero stats */
.hero-stats { position: relative; z-index: 2; border-top: 1px solid var(--line); background: rgba(255, 255, 255, 0.6); backdrop-filter: blur(6px); }
.hero-stats-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 34px 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-num {
  font-family: var(--font-en);
  font-size: 34px;
  font-weight: 700;
  color: var(--yellow-deep);
  display: block;
  line-height: 1.2;
}
.stat-num .unit { font-size: 16px; margin-left: 2px; }
.stat-label { font-size: 12px; color: var(--text-faint); margin-top: 8px; letter-spacing: 0.06em; display: block; }

/* ============ Marquee ============ */
.marquee-wrap {
  background: var(--yellow);
  padding: 16px 0;
  overflow: hidden;
  transform: rotate(-1.2deg) scale(1.02);
  margin: -12px 0;
  position: relative;
  z-index: 5;
  box-shadow: 0 10px 40px rgba(247, 201, 72, 0.3);
}
.marquee {
  display: flex;
  gap: 48px;
  white-space: nowrap;
  animation: marquee 28s linear infinite;
  width: max-content;
}
.marquee span {
  font-family: var(--font-en);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 48px;
}
.marquee span::after { content: "✦"; font-size: 11px; opacity: 0.6; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============ Domains (4 businesses) ============ */
.domain-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.domain-card {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 46px 40px;
  background: #fff;
  border: 1px solid var(--line);
  overflow: hidden;
  transition: var(--transition);
  --mx: 50%;
  --my: 50%;
}
.domain-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(360px circle at var(--mx) var(--my), rgba(247, 201, 72, 0.13), transparent 65%);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.domain-card:hover::before { opacity: 1; }
.domain-card:hover { transform: translateY(-6px); border-color: rgba(217, 166, 31, 0.45); box-shadow: var(--shadow-deep); }
.domain-num {
  font-family: var(--font-en);
  font-size: 60px;
  font-weight: 700;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.2px rgba(217, 166, 31, 0.55);
  display: block;
  margin-bottom: 26px;
}
/* per-domain accent colors */
.domain-card[data-accent="teal"] .domain-num { -webkit-text-stroke-color: var(--teal); }
.domain-card[data-accent="teal"] .domain-en { color: var(--teal-deep); }
.domain-card[data-accent="teal"]:hover { border-color: rgba(15, 169, 160, 0.5); }
.domain-card[data-accent="teal"]::before { background: radial-gradient(360px circle at var(--mx) var(--my), rgba(15, 169, 160, 0.12), transparent 65%); }
.domain-card[data-accent="coral"] .domain-num { -webkit-text-stroke-color: var(--coral); }
.domain-card[data-accent="coral"] .domain-en { color: var(--coral-deep); }
.domain-card[data-accent="coral"]:hover { border-color: rgba(240, 100, 92, 0.5); }
.domain-card[data-accent="coral"]::before { background: radial-gradient(360px circle at var(--mx) var(--my), rgba(240, 100, 92, 0.1), transparent 65%); }
.domain-card[data-accent="violet"] .domain-num { -webkit-text-stroke-color: var(--violet); }
.domain-card[data-accent="violet"] .domain-en { color: var(--violet-deep); }
.domain-card[data-accent="violet"]:hover { border-color: rgba(124, 108, 240, 0.5); }
.domain-card[data-accent="violet"]::before { background: radial-gradient(360px circle at var(--mx) var(--my), rgba(124, 108, 240, 0.1), transparent 65%); }
.domain-card h3 { font-size: 23px; font-weight: 800; color: var(--ink); }
.domain-en {
  font-family: var(--font-en);
  font-size: 11.5px;
  letter-spacing: 0.18em;
  color: var(--text-faint);
  text-transform: uppercase;
  display: block;
  margin: 6px 0 18px;
}
.domain-card > p { font-size: 14px; color: var(--text-dim); }
.domain-list { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 9px; }
.domain-list li {
  font-size: 12px;
  font-weight: 600;
  padding: 7px 15px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  color: var(--text-dim);
  background: #fff;
  transition: var(--transition);
}
.domain-card:hover .domain-list li { border-color: rgba(217, 166, 31, 0.4); }
.domain-card.featured {
  border: 1.5px solid rgba(217, 166, 31, 0.5);
  background: linear-gradient(160deg, var(--yellow-soft), #fff 70%);
}
.domain-tag {
  position: absolute;
  top: 30px; right: 30px;
  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  padding: 7px 15px;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--ink);
}

/* ============ Problem section ============ */
.problem-cols {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
}
.problem-visual { position: relative; }
.problem-visual > img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-deep);
  aspect-ratio: 4/5;
  object-fit: cover;
  border: 1px solid var(--line);
}
.float-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 11px 20px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text);
  box-shadow: var(--shadow-card);
  white-space: nowrap;
  animation: chipFloat 5s ease-in-out infinite alternate;
}
.float-chip .icon { width: 17px; height: 17px; color: var(--yellow-dark); }
.chip-1 { top: 7%; right: -8%; animation-delay: 0s; }
.chip-2 { top: 44%; left: -10%; animation-delay: -1.8s; }
.chip-3 { bottom: 9%; right: -6%; animation-delay: -3.2s; }
@keyframes chipFloat {
  from { transform: translateY(-5px); }
  to { transform: translateY(7px); }
}
.problem-content .eyebrow { margin-bottom: 14px; }
.problem-content h2 {
  font-size: clamp(26px, 3.8vw, 40px);
  font-weight: 800;
  line-height: 1.5;
  color: var(--ink);
}
.problem-content h2 .marker {
  background: linear-gradient(transparent 60%, var(--yellow) 60%, var(--yellow) 92%, transparent 92%);
}
.problem-lead { margin-top: 16px; color: var(--text-dim); font-size: 14.5px; }
.problem-list { margin-top: 34px; display: flex; flex-direction: column; }
.problem-list li {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 18px 4px;
  border-bottom: 1px solid var(--line);
  transition: var(--transition);
}
.problem-list li:hover { padding-left: 12px; background: #fff; }
.problem-list li:first-child { border-top: 1px solid var(--line); }
.problem-list .icon { color: var(--yellow-dark); margin-top: 3px; }
.problem-list h3 { font-size: 15px; font-weight: 800; line-height: 1.6; color: var(--ink); }
.problem-list p { font-size: 12.5px; color: var(--text-dim); margin-top: 3px; }
.problem-arrow {
  text-align: center;
  margin: 64px 0 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dim);
}
.problem-arrow .down {
  display: block;
  font-size: 28px;
  color: var(--yellow-dark);
  animation: bounceDown 2s ease-in-out infinite;
  margin-top: 8px;
}
@keyframes bounceDown { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(8px); } }

/* ============ Flagship (AX) ============ */
.flagship { position: relative; overflow: hidden; }
.flagship .grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(13, 17, 23, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13, 17, 23, 0.03) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(ellipse at 70% 15%, black, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 15%, black, transparent 75%);
}
.flagship-inner { position: relative; z-index: 2; }
.flagship-cols {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 64px;
}
.flagship-photo { position: relative; }
.flagship-photo img {
  width: 100%;
  border-radius: var(--radius-lg);
  aspect-ratio: 16/10;
  object-fit: cover;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-deep);
}
.photo-caption {
  position: absolute;
  bottom: 18px;
  left: 18px;
  right: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(13, 17, 23, 0.82);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(247, 201, 72, 0.35);
  border-radius: 10px;
  padding: 12px 18px;
  font-size: 12.5px;
  font-weight: 700;
  color: #fff;
}
.photo-caption .icon { width: 18px; height: 18px; color: var(--yellow); }
.flagship-head { max-width: 760px; }
.flagship-head h2 {
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 800;
  line-height: 1.5;
  color: var(--ink);
}
.flagship-head h2 span {
  background: linear-gradient(transparent 60%, var(--yellow) 60%, var(--yellow) 92%, transparent 92%);
}
.flagship-head > p { margin-top: 20px; color: var(--text-dim); font-size: 15px; }
.flagship-note {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  font-size: 12.5px;
  color: var(--text-dim);
  border: 1px dashed rgba(217, 166, 31, 0.5);
  border-radius: 999px;
  padding: 9px 18px;
  background: var(--yellow-soft);
}
.flagship-note .icon { width: 16px; height: 16px; color: var(--yellow-dark); }

.flagship-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.task-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 26px 22px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.task-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2.5px;
  background: linear-gradient(90deg, transparent, var(--yellow), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}
.task-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); border-color: rgba(217, 166, 31, 0.35); }
.task-card:hover::before { opacity: 1; }
.task-card .t-icon {
  width: 28px;
  height: 28px;
  color: var(--yellow-dark);
  margin-bottom: 16px;
  display: block;
}
.task-card h3 { font-size: 14.5px; font-weight: 700; line-height: 1.6; color: var(--ink); }
.task-card p { font-size: 12px; color: var(--text-dim); margin-top: 8px; line-height: 1.8; }

.flagship-copy {
  margin-top: 64px;
  padding: 40px 44px;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--navy), #1A2340);
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}
.flagship-copy::before {
  content: "";
  position: absolute;
  top: -60px; right: -60px;
  width: 260px; height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(247, 201, 72, 0.25), transparent 65%);
}
.flagship-copy p { font-size: clamp(16px, 2.2vw, 20px); font-weight: 700; line-height: 1.8; color: #fff; position: relative; }
.flagship-copy p span { color: var(--yellow); }

/* ============ Support menu (chips) ============ */
.support-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  max-width: 900px;
  margin: 0 auto;
}
.support-chip {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 15px 26px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: #fff;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text);
  transition: var(--transition);
}
.support-chip .icon { width: 18px; height: 18px; color: var(--yellow-dark); }
.support-chip:hover {
  border-color: var(--yellow-dark);
  background: var(--yellow-soft);
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}
.support-note { text-align: center; margin-top: 40px; font-size: 13px; color: var(--text-faint); }

/* ============ Pricing ============ */
.pricing-note { text-align: center; font-size: 13px; color: var(--text-faint); }
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: stretch; }
.price-card {
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: #fff;
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
}
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-deep); }
.price-card.popular {
  border: 2px solid var(--yellow);
  background: linear-gradient(170deg, var(--yellow-soft), #fff 55%);
  box-shadow: 0 12px 44px rgba(247, 201, 72, 0.25);
}
.popular-badge {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--yellow);
  color: var(--ink);
  font-size: 11px;
  font-weight: 800;
  padding: 6px 18px;
  border-radius: 999px;
  letter-spacing: 0.08em;
  white-space: nowrap;
  box-shadow: var(--shadow-card);
}
.price-phase {
  font-family: var(--font-en);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--yellow-deep);
  margin-bottom: 10px;
  text-transform: uppercase;
}
.price-card h3 { font-size: 17px; font-weight: 800; color: var(--ink); }
.price-value { margin: 20px 0 4px; display: flex; align-items: baseline; gap: 4px; flex-wrap: wrap; }
.price-value .amount { font-family: var(--font-en); font-size: 30px; font-weight: 700; line-height: 1; color: var(--ink); }
.price-value .unit { font-size: 13px; font-weight: 700; color: var(--text-dim); }
.price-desc { font-size: 12.5px; color: var(--text-dim); margin-bottom: 20px; }
.price-features { display: flex; flex-direction: column; gap: 10px; flex-grow: 1; margin-bottom: 24px; }
.price-features li { font-size: 13px; display: flex; gap: 9px; align-items: baseline; color: var(--text); }
.price-features li::before { content: "✓"; color: var(--yellow-dark); font-weight: 800; flex-shrink: 0; }
.price-card .btn { width: 100%; padding: 13px 20px; font-size: 13px; }

/* ============ Works ============ */
.works-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.work-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  transition: var(--transition);
}
.work-card:hover { box-shadow: var(--shadow-deep); transform: translateY(-6px); }
.work-thumb { aspect-ratio: 16/10; overflow: hidden; position: relative; background: var(--bg-soft); }
.work-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.work-card:hover .work-thumb img { transform: scale(1.06); }
.work-body { padding: 30px; }
.work-category {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 700;
  color: var(--yellow-deep);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.work-body h3 { font-size: 20px; font-weight: 800; margin: 10px 0; color: var(--ink); }
.work-body p { font-size: 14px; color: var(--text-dim); margin-bottom: 18px; }
.work-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.work-tags span {
  font-family: var(--font-en);
  font-size: 11px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  color: var(--text-dim);
  font-weight: 600;
  letter-spacing: 0.03em;
}
.works-note { text-align: center; margin-top: 44px; font-size: 13px; color: var(--text-faint); }

/* ============ Flow ============ */
.flow-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: flow; }
.flow-item {
  position: relative;
  padding: 36px 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: var(--transition);
}
.flow-item:hover { transform: translateY(-4px); border-color: rgba(217, 166, 31, 0.45); box-shadow: var(--shadow-card); }
.flow-item::before {
  counter-increment: flow;
  content: "0" counter(flow);
  font-family: var(--font-en);
  font-size: 38px;
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1.4px rgba(217, 166, 31, 0.65);
  display: block;
  margin-bottom: 18px;
  line-height: 1;
}
.flow-item h4 { font-size: 15.5px; font-weight: 800; margin-bottom: 10px; color: var(--ink); }
.flow-item p { font-size: 13px; color: var(--text-dim); }

/* ============ Company ============ */
.company-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.company-table { width: 100%; border-collapse: collapse; }
.company-table tr { border-bottom: 1px solid var(--line); }
.company-table tr:first-child { border-top: 2px solid var(--yellow); }
.company-table th {
  width: 160px;
  padding: 24px 16px 24px 0;
  font-size: 13px;
  font-weight: 800;
  vertical-align: top;
  white-space: nowrap;
  text-align: left;
  color: var(--ink);
}
.company-table td { padding: 24px 0; font-size: 14px; color: var(--text-dim); line-height: 1.9; }

.company-side {
  background: linear-gradient(160deg, var(--navy), #1A2340);
  border-radius: var(--radius-lg);
  padding: 46px 40px;
  position: relative;
  overflow: hidden;
  color: #fff;
}
.company-side::after {
  content: "";
  position: absolute;
  top: -40px; right: -40px;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(247, 201, 72, 0.22), transparent 65%);
}
.company-side img { width: 110px; margin-bottom: 26px; border-radius: 14px; position: relative; z-index: 2; }
.company-side p { font-size: 14px; color: rgba(255, 255, 255, 0.65); margin-bottom: 26px; position: relative; z-index: 2; }
.company-side-map {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 16/9;
  border: 1px solid rgba(255, 255, 255, 0.15);
  position: relative;
  z-index: 2;
}
.company-side-map iframe { width: 100%; height: 100%; border: 0; }

/* ============ News ============ */
.news-list { display: flex; flex-direction: column; }
.news-item {
  display: grid;
  grid-template-columns: 110px 110px 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 26px 12px;
  border-bottom: 1px solid var(--line);
  transition: var(--transition);
  border-radius: var(--radius-sm);
}
.news-item:hover { background: #fff; padding-left: 20px; box-shadow: var(--shadow-card); }
.news-date { font-family: var(--font-en); font-size: 13px; color: var(--text-faint); }
.news-tag {
  font-size: 11px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--yellow-soft);
  color: var(--yellow-deep);
  text-align: center;
}
.news-title { font-size: 14px; font-weight: 600; }
.news-arrow { font-family: var(--font-en); color: var(--text-faint); transition: var(--transition); }
.news-item:hover .news-arrow { color: var(--yellow-dark); transform: translateX(4px); }

/* ============ Contact ============ */
.contact-section {
  background:
    radial-gradient(ellipse 70% 55% at 50% 0%, rgba(247, 201, 72, 0.14), transparent 60%),
    var(--bg-soft);
  position: relative;
  overflow: hidden;
}
.contact-section .grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(13, 17, 23, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13, 17, 23, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 50% 0%, black, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, black, transparent 70%);
}
.contact-inner { position: relative; z-index: 2; max-width: 760px; margin: 0 auto; }
.contact-head { text-align: center; margin-bottom: 56px; }
.contact-head h2 { font-size: clamp(26px, 4vw, 40px); font-weight: 800; color: var(--ink); }
.contact-head p { margin-top: 16px; color: var(--text-dim); font-size: 15px; }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 48px 44px;
  box-shadow: var(--shadow-card);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label { font-size: 13px; font-weight: 700; color: var(--ink); }
.form-group label .req {
  font-size: 10px;
  background: var(--yellow);
  color: var(--ink);
  padding: 2px 8px;
  border-radius: 4px;
  margin-left: 8px;
  vertical-align: 2px;
  font-weight: 800;
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 15px 18px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--line-strong);
  background: #fff;
  color: var(--text);
  font-family: var(--font-jp);
  font-size: 15px;
  outline: none;
  transition: var(--transition);
  width: 100%;
}
.form-group select { appearance: none; -webkit-appearance: none; cursor: pointer; }
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--text-faint); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--yellow-dark);
  box-shadow: 0 0 0 4px rgba(247, 201, 72, 0.18);
}
.form-group textarea { resize: vertical; min-height: 150px; }
.form-submit { margin-top: 10px; text-align: center; }
.form-submit .btn { min-width: 260px; }
.form-note { font-size: 12px; color: var(--text-faint); text-align: center; margin-top: 14px; }

.form-success {
  display: none;
  text-align: center;
  padding: 70px 40px;
  animation: successIn 0.6s var(--ease);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}
.form-success.show { display: block; }
@keyframes successIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
.success-check {
  width: 84px; height: 84px;
  margin: 0 auto 28px;
  border-radius: 50%;
  background: var(--yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: checkPop 0.5s var(--ease) 0.15s both;
  box-shadow: var(--glow);
}
@keyframes checkPop { from { transform: scale(0); } to { transform: scale(1); } }
.success-check svg { width: 40px; height: 40px; stroke: var(--ink); stroke-width: 3; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.success-check svg path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: checkDraw 0.5s ease 0.5s forwards; }
@keyframes checkDraw { to { stroke-dashoffset: 0; } }
.form-success h3 { font-size: 22px; font-weight: 800; margin-bottom: 14px; color: var(--ink); }
.form-success p { font-size: 14px; color: var(--text-dim); line-height: 2; }
.form-error {
  display: none;
  margin-top: 6px;
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  background: rgba(220, 38, 38, 0.06);
  border: 1px solid rgba(220, 38, 38, 0.35);
  color: #B91C1C;
  font-size: 13px;
  text-align: center;
}
.form-error.show { display: block; }
.form-error a { color: var(--yellow-deep); font-weight: 700; text-decoration: underline; }

.btn .spinner {
  display: none;
  width: 16px; height: 16px;
  border: 2px solid rgba(13, 17, 23, 0.25);
  border-top-color: var(--ink);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
.btn.loading .spinner { display: inline-block; }
.btn.loading .btn-arrow { display: none; }

/* ============ Footer ============ */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.6);
  padding: 80px 24px 40px;
}
.footer-inner { max-width: var(--max-width); margin: 0 auto; }
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 44px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-brand img { height: 36px; margin-bottom: 20px; border-radius: 8px; }
.footer-brand p { font-size: 13px; line-height: 2; color: rgba(255, 255, 255, 0.4); max-width: 300px; }
.footer-col h5 {
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 700;
  color: var(--yellow);
  margin-bottom: 20px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.footer-col ul { display: flex; flex-direction: column; gap: 13px; }
.footer-col a, .footer-col li { font-size: 13px; }
.footer-col a:hover { color: var(--yellow); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  font-size: 12px;
  flex-wrap: wrap;
  gap: 12px;
  color: rgba(255, 255, 255, 0.35);
}

/* ============ Industries (得意業界) ============ */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.industry-card {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--yellow);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  transition: var(--transition);
}
.industry-card:nth-child(2) { border-top-color: var(--teal); }
.industry-card:nth-child(3) { border-top-color: var(--coral); }
.industry-card:nth-child(4) { border-top-color: var(--violet); }
.industry-card:nth-child(5) { border-top-color: var(--teal); }
.industry-card:nth-child(6) { border-top-color: var(--yellow); }
.industry-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.industry-card .icon { width: 26px; height: 26px; color: var(--yellow-dark); margin-bottom: 14px; }
.industry-card:nth-child(2) .icon { color: var(--teal-deep); }
.industry-card:nth-child(3) .icon { color: var(--coral-deep); }
.industry-card:nth-child(4) .icon { color: var(--violet-deep); }
.industry-card:nth-child(5) .icon { color: var(--teal-deep); }
.industry-card h3 { font-size: 16.5px; font-weight: 800; color: var(--ink); margin-bottom: 12px; }
.industry-card ul { display: flex; flex-direction: column; gap: 8px; }
.industry-card ul li {
  font-size: 12.5px;
  color: var(--text-dim);
  display: flex;
  gap: 8px;
  align-items: baseline;
  line-height: 1.7;
}
.industry-card ul li::before { content: "→"; font-family: var(--font-en); color: var(--yellow-dark); font-weight: 700; flex-shrink: 0; }

/* 導入イメージ (before → after) */
.case-strip {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.case-item {
  background: linear-gradient(165deg, var(--navy), #1A2340);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.case-item::before {
  content: "";
  position: absolute;
  top: -30px; right: -30px;
  width: 120px; height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(247, 201, 72, 0.22), transparent 65%);
}
.case-label { font-size: 12px; font-weight: 700; color: rgba(255, 255, 255, 0.6); display: block; margin-bottom: 12px; }
.case-vals {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
.case-before {
  font-size: 15px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: line-through;
  text-decoration-color: rgba(240, 100, 92, 0.8);
}
.case-arr { font-family: var(--font-en); color: var(--yellow); font-weight: 700; }
.case-after {
  font-family: var(--font-en);
  font-size: 22px;
  font-weight: 700;
  color: var(--yellow);
}
.case-how { display: block; margin-top: 10px; font-size: 11px; color: rgba(255, 255, 255, 0.45); }
.case-note { text-align: center; margin-top: 24px; font-size: 12px; color: var(--text-faint); }

/* ============ SP fixed CTA bar ============ */
.sp-cta-bar {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 990;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 30px rgba(13, 17, 23, 0.1);
  gap: 10px;
  transition: transform 0.4s var(--ease);
}
.sp-cta-bar.hidden { transform: translateY(110%); }
.sp-cta-bar .btn { flex: 1; padding: 14px 10px; font-size: 13.5px; }
.sp-cta-bar .btn-sub {
  flex: 0 0 auto;
  background: var(--navy);
  color: #fff;
  padding: 14px 18px;
}
@media (max-width: 900px) {
  .sp-cta-bar { display: flex; }
}

/* ============ Reveal animations ============ */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
  .intro { display: none; }
}

/* ============ Responsive ============ */
@media (max-width: 1080px) {
  .hero-cols { grid-template-columns: 1fr; gap: 48px; }
  .hero { min-height: auto; padding-top: 120px; }
  .demo-window { transform: none; max-width: 620px; }
  .flagship-cols { grid-template-columns: 1fr; gap: 40px; }
  .flagship-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .domain-grid { grid-template-columns: 1fr; }
  .hero-mark-bg { width: 60vw; opacity: 0.26; }
}
@media (max-width: 900px) {
  .section { padding: 96px 20px; }
  .problem-cols { grid-template-columns: 1fr; gap: 56px; }
  .problem-visual { max-width: 480px; margin: 0 auto; }
  .problem-visual > img { aspect-ratio: 4/3.4; }
  .chip-1 { right: -2%; }
  .chip-2 { left: -3%; }
  .chip-3 { right: -1%; }
  .works-grid { grid-template-columns: 1fr; }
  .flow-grid { grid-template-columns: repeat(2, 1fr); }
  .company-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .wm { font-size: clamp(56px, 14vw, 110px); }
  .contact-form { padding: 36px 26px; }
}
@media (max-width: 900px) {
  .industry-grid { grid-template-columns: repeat(2, 1fr); }
  .case-strip { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  /* --- SP layout --- */
  .section { padding: 72px 18px; }
  .section-head { margin-bottom: 48px; }
  .flagship-grid { grid-template-columns: 1fr; gap: 12px; }
  .pricing-grid { grid-template-columns: 1fr; gap: 24px; }
  .flow-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .news-item { grid-template-columns: 1fr; gap: 8px; }
  .news-arrow { display: none; }
  .footer-top { grid-template-columns: 1fr; }
  .industry-grid { grid-template-columns: 1fr; gap: 14px; }
  .case-strip { grid-template-columns: 1fr; gap: 12px; }

  /* --- SP hero --- */
  .hero { padding-top: 96px; }
  .hero-inner { padding: 24px 18px 56px; }
  .hero-cols { gap: 40px; }
  .hero-title-en { font-size: clamp(28px, 9vw, 36px); margin-bottom: 16px; column-gap: 0.26em; }
  .hero-domains { flex-wrap: wrap; }
  .domain-rotator span { font-size: 17px; }
  .hero h1 { font-size: clamp(30px, 8.6vw, 38px); line-height: 1.4; }
  .hero-lead { font-size: 14px; line-height: 2; }
  .hero-actions { margin-top: 32px; }
  .hero-actions .btn { width: 100%; }
  .hero-mark-bg { width: 74vw; right: -14%; top: 26%; opacity: 0.24; }
  .hero-stats-inner { padding: 24px 18px; gap: 12px; }
  .stat-num { font-size: 24px; }
  .stat-num .unit { font-size: 12px; }
  .stat-label { font-size: 10.5px; }

  /* --- SP demo window --- */
  .demo-body { min-height: 280px; padding: 16px 14px; }
  .demo-tabs button { padding: 8px 10px; font-size: 10.5px; }
  .demo-msg p, .demo-msg pre { font-size: 12px; }

  /* --- SP cards & chips --- */
  .flagship-copy { padding: 28px 22px; }
  .flagship-copy .btn { width: 100%; }
  .float-chip { font-size: 10.5px; padding: 8px 13px; }
  .chip-1 { right: 2%; }
  .chip-2 { left: 0; }
  .chip-3 { right: 2%; }
  .domain-card { padding: 32px 24px; }
  .domain-num { font-size: 46px; margin-bottom: 18px; }
  .domain-card h3 { font-size: 19px; }
  .support-chip { font-size: 12px; padding: 12px 16px; width: 100%; justify-content: flex-start; }
  .support-chips { gap: 10px; }
  .task-card { padding: 22px 20px; }
  .industry-card { padding: 26px 22px; }

  /* --- SP readability --- */
  .wm { font-size: 64px; top: 32px; -webkit-text-stroke-width: 1px; }
  .eyebrow { font-size: 11px; padding: 6px 13px; }
  .company-table th { width: 105px; font-size: 12px; padding-right: 10px; }
  .company-table td { font-size: 13px; }
  .company-side { padding: 34px 26px; }
  .contact-form { padding: 28px 20px; }
  .contact-section { padding-bottom: 130px; } /* clearance for sp-cta-bar */
  .site-footer { padding-bottom: 110px; }
  .btn { padding: 16px 30px; }
  .problem-list h3 { font-size: 14px; }
  .marquee span { font-size: 12px; }
}
