/* =========================================================
   ROCOMADE JAPAN — Renewal 2026
   ========================================================= */
:root {
  --bg: #ffffff;
  --bg-2: #eef9fe;
  --bg-3: #dcf3fd;
  --ink: #0a2540;
  --muted: #5a7389;
  --line: rgba(10, 37, 64, .1);
  --teal: #00b2f2;
  --teal-2: #1e6eeb;
  --aqua: #5fe3ff;
  --orange: #ff8a3d;
  --white: #ffffff;
  --shadow: 0 30px 70px -30px rgba(0, 110, 200, .28);
  --grad: linear-gradient(100deg, #00d2ff 0%, #00a8f0 45%, #2b6cff 100%);
  --en: "Unbounded", "Zen Kaku Gothic New", sans-serif;
  --ja: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --gutter: clamp(16px, 5vw, 64px);
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; overflow-x: clip; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--ja);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: .04em;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
body.is-loading { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, dl, dd { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--teal); color: var(--white); }

.sp { display: none; }
@media (max-width: 767px) { .sp { display: inline; } .pc { display: none; } }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 900px; }
.section { position: relative; padding: clamp(96px, 14vw, 180px) 0; }

.grad {
  background: var(--grad);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradShift 6s ease-in-out infinite alternate;
}
@keyframes gradShift { to { background-position: 100% 0; } }

/* ---------- Typography ---------- */
.eyebrow {
  font-family: var(--en);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .3em;
  color: var(--teal);
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}
.eyebrow::before { content: ""; width: 40px; height: 1px; background: currentColor; }
.eyebrow--center { justify-content: center; }
.heading {
  font-size: clamp(30px, 5.2vw, 64px);
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: .02em;
}
.heading--center { text-align: center; }
.nw { display: inline-block; }
.body { color: var(--muted); margin-top: 28px; font-size: clamp(14px, 1.2vw, 16px); }
.body--center { text-align: center; }
.section-head { margin-bottom: clamp(48px, 7vw, 88px); }

/* ---------- Buttons ---------- */
.btn {
  --h: 60px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  height: var(--h);
  padding: 0 34px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .08em;
  overflow: hidden;
  isolation: isolate;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), color .4s;
  will-change: transform;
}
.btn span { position: relative; z-index: 1; }
.btn--sm { --h: 44px; padding: 0 22px; font-size: 13px; }
.btn--block { width: 100%; }
.btn--glow {
  color: var(--white);
  background: linear-gradient(100deg, #00c6fa, var(--teal) 45%, var(--teal-2));
  box-shadow: 0 14px 36px -12px rgba(0, 150, 240, .65);
}
.btn--glow::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(100deg, var(--teal-2), #0a2540);
  transform: translateX(-101%);
  transition: transform .6s var(--ease);
  z-index: 0;
}
.btn--glow:hover::before { transform: translateX(0); }
.btn--glow:hover { box-shadow: 0 18px 44px -12px rgba(30, 110, 235, .6); }
.btn--ghost {
  border: 1.5px solid var(--teal);
  color: var(--teal-2);
  background: rgba(255, 255, 255, .85);
}
.btn--ghost::before {
  content: "";
  position: absolute; inset: 0;
  background: var(--grad);
  border-radius: inherit;
  transform: scale(0);
  transition: transform .6s var(--ease);
  z-index: 0;
}
.btn--ghost:hover { color: var(--white); border-color: transparent; }
.btn--ghost:hover::before { transform: scale(1.02); }
.btn__arrow {
  position: relative; z-index: 1;
  width: 18px; height: 1px; background: currentColor;
  transition: width .4s var(--ease);
}
.btn__arrow::after {
  content: ""; position: absolute; right: 0; top: -4px;
  width: 9px; height: 9px;
  border-top: 1px solid currentColor; border-right: 1px solid currentColor;
  transform: rotate(45deg);
}
.btn:hover .btn__arrow { width: 28px; }

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 1000;
  display: grid; place-items: center;
  background: var(--bg);
  transition: clip-path 1.2s var(--ease) .1s;
  clip-path: inset(0 0 0 0);
}
.loader.is-done { clip-path: inset(0 0 100% 0); pointer-events: none; }
.loader__inner { width: min(360px, 70vw); text-align: center; }
.loader__logo {
  width: 100%;
  clip-path: inset(0 100% 0 0);
  animation: logoDraw 1.6s var(--ease) .2s forwards;
}
@keyframes logoDraw { to { clip-path: inset(0 0 0 0); } }
.loader__bar { height: 1px; background: var(--line); margin-top: 32px; overflow: hidden; }
.loader__bar span { display: block; height: 100%; width: 0; background: var(--grad); transition: width .2s linear; }
.loader__count { font-family: var(--en); font-size: 12px; letter-spacing: .3em; color: var(--muted); margin-top: 14px; }
.loader__wave {
  position: absolute; left: 0; right: 0; bottom: -2px; height: 90px;
  background:
    radial-gradient(120% 100% at 50% 100%, rgba(0,178,242,.18), transparent 70%);
}

/* ---------- Cursor ---------- */
.cursor, .cursor-dot { position: fixed; top: 0; left: 0; pointer-events: none; z-index: 999; border-radius: 50%; }
.cursor {
  width: 44px; height: 44px; margin: -22px 0 0 -22px;
  border: 1px solid rgba(0, 178, 242, .6);
  display: grid; place-items: center;
  transition: width .4s var(--ease), height .4s var(--ease), margin .4s var(--ease), background .4s, border-color .4s;
  mix-blend-mode: normal;
}
.cursor-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--teal); }
.cursor__label { font-family: var(--en); font-size: 11px; font-weight: 700; letter-spacing: .15em; color: var(--white); opacity: 0; transition: opacity .3s; }
.cursor.is-hover { width: 72px; height: 72px; margin: -36px 0 0 -36px; background: rgba(0, 178, 242, .1); border-color: var(--teal); }
.cursor.is-label { width: 96px; height: 96px; margin: -48px 0 0 -48px; background: var(--teal); border-color: var(--teal); }
.cursor.is-label .cursor__label { opacity: 1; }
@media (hover: none), (pointer: coarse) { .cursor, .cursor-dot { display: none; } }

.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 200; }
.progress span { display: block; height: 100%; width: 100%; background: var(--grad); transform-origin: left; transform: scaleX(0); }

.grain {
  position: fixed; inset: -50%; z-index: 150; pointer-events: none; opacity: .025;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 1s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-5%, 3%); } 40% { transform: translate(4%, -6%); }
  60% { transform: translate(-3%, 5%); } 80% { transform: translate(6%, 2%); } 100% { transform: translate(0, 0); }
}

/* ---------- Header ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center; gap: 32px;
  padding: 0 var(--gutter);
  transition: background .5s, height .5s var(--ease), transform .6s var(--ease), backdrop-filter .5s;
}
.header.is-scrolled { --header-h: 68px; background: rgba(255, 255, 255, .82); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.header.is-hidden { transform: translateY(-100%); }
.header__logo { width: 168px; flex-shrink: 0; }
.gnav { margin-left: auto; }
.gnav ul { display: flex; gap: clamp(16px, 2.2vw, 34px); }
.gnav a {
  position: relative; font-family: var(--en); font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  display: inline-block; padding: 6px 0;
}
.gnav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: var(--teal);
  transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease);
}
.gnav a:hover::after { transform: scaleX(1); transform-origin: left; }
.burger { display: none; width: 48px; height: 48px; position: relative; margin-left: auto; z-index: 110; }
.burger span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--ink); transition: transform .5s var(--ease), top .5s var(--ease); }
.burger span:nth-child(1) { top: 19px; }
.burger span:nth-child(2) { top: 28px; }
body.is-menu .burger span:nth-child(1) { top: 24px; transform: rotate(45deg); }
body.is-menu .burger span:nth-child(2) { top: 24px; transform: rotate(-45deg); }

.drawer { position: fixed; inset: 0; z-index: 90; pointer-events: none; }
.drawer__bg {
  position: absolute; inset: 0;
  background: radial-gradient(120% 80% at 100% 0%, #c9efff, var(--bg) 60%);
  clip-path: circle(0% at calc(100% - 40px) 40px);
  transition: clip-path .9s var(--ease);
}
.drawer__nav { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: center; padding: 0 var(--gutter); gap: 6px; }
.drawer__nav a {
  font-family: var(--en); font-size: clamp(26px, 8vw, 44px); font-weight: 700; line-height: 1.3;
  opacity: 0; transform: translateY(30px); transition: opacity .5s, transform .7s var(--ease);
  display: flex; align-items: baseline; gap: 16px;
}
.drawer__nav small { font-size: 11px; color: var(--teal); font-weight: 400; }
body.is-menu .drawer { pointer-events: auto; }
body.is-menu .drawer__bg { clip-path: circle(150% at calc(100% - 40px) 40px); }
body.is-menu .drawer__nav a { opacity: 1; transform: none; }
body.is-menu .drawer__nav a:nth-child(n) { transition-delay: calc(.2s + var(--i, 0) * .05s); }

@media (max-width: 1080px) {
  .gnav, .header__cta { display: none; }
  .burger { display: block; }
  .header__logo { width: 140px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--header-h) + 40px) var(--gutter) 120px;
  overflow: hidden;
  background:
    radial-gradient(80% 60% at 78% 25%, rgba(0, 210, 255, .22), transparent 60%),
    radial-gradient(70% 60% at 5% 95%, rgba(43, 108, 255, .10), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, #eaf8ff 100%);
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__glow { position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none; }
.hero__glow--a { width: 44vw; height: 44vw; right: -10vw; top: -10vw; background: rgba(0, 200, 255, .28); animation: float 12s ease-in-out infinite; }
.hero__glow--b { width: 30vw; height: 30vw; left: -8vw; bottom: -8vw; background: rgba(43, 108, 255, .14); animation: float 14s ease-in-out infinite reverse; }
@keyframes float { 50% { transform: translate(4vw, 3vw) scale(1.1); } }

.hero__content { position: relative; z-index: 2; max-width: 1240px; width: 100%; margin: 0 auto; pointer-events: none; }
.hero__content a { pointer-events: auto; }
.hero__eyebrow {
  font-family: var(--en); font-size: clamp(10px, 1vw, 12px); letter-spacing: .3em; color: var(--teal);
  display: flex; align-items: center; gap: 16px; margin-bottom: clamp(20px, 3vw, 36px);
}
.hero__eyebrow .line { width: 60px; height: 1px; background: currentColor; transform-origin: left; }
.hero__title {
  font-size: clamp(44px, 10.5vw, 160px);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -.01em;
}
.hero__title .split { display: block; }
.hero__title .char { display: inline-block; will-change: transform; }
.split--grad .char {
  background: var(--grad); background-size: 400% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: gradShift 6s ease-in-out infinite alternate;
}
.hero__lead { margin-top: clamp(24px, 3vw, 40px); font-size: clamp(15px, 1.5vw, 20px); line-height: 2; color: #2c4a63; font-weight: 500; }
.hero__lead strong { font-family: var(--en); font-size: 1.6em; font-weight: 700; color: var(--ink); margin: 0 .1em; }
.hero__actions { margin-top: clamp(32px, 4vw, 52px); display: flex; flex-wrap: wrap; gap: 16px; }

.hero__badge {
  position: absolute; z-index: 3; right: clamp(16px, 7vw, 120px); bottom: clamp(100px, 16vh, 180px);
  width: clamp(130px, 14vw, 200px); aspect-ratio: 1;
}
.hero__badge svg { width: 100%; height: 100%; animation: spin 18s linear infinite; }
.hero__badge text { font-family: var(--en); font-size: 13.5px; letter-spacing: .2em; fill: var(--teal-2); }
.hero__badge-core {
  position: absolute; inset: 22%;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #5fe3ff, var(--teal) 55%, var(--teal-2));
  color: var(--white);
  display: grid; place-content: center; text-align: center; line-height: 1.1;
  box-shadow: 0 0 60px rgba(0, 178, 242, .5);
  animation: bob 4s ease-in-out infinite;
}
.hero__badge-core small { font-size: 11px; font-weight: 700; }
.hero__badge-core b { font-family: var(--en); font-size: clamp(15px, 1.6vw, 22px); font-weight: 900; letter-spacing: 0; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes bob { 50% { transform: translateY(-6px); } }

.hero__scroll { position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 3; display: grid; justify-items: center; gap: 10px; }
.hero__scroll-line { width: 1px; height: 64px; background: rgba(10, 37, 64, .15); position: relative; overflow: hidden; }
.hero__scroll-line::after { content: ""; position: absolute; left: 0; top: -40%; width: 100%; height: 40%; background: var(--teal); animation: scrollLine 2s var(--ease) infinite; }
.hero__scroll-text { font-family: var(--en); font-size: 10px; letter-spacing: .3em; color: var(--muted); }
@keyframes scrollLine { to { top: 100%; } }

@media (max-width: 767px) {
  .hero { align-items: flex-end; padding-bottom: 140px; }
  .hero__badge { top: calc(var(--header-h) + 12px); bottom: auto; right: 16px; width: 112px; }
  .hero__badge text { font-size: 15px; }
  .hero__badge-core b { font-size: 12px; }
  .hero__badge-core small { font-size: 9px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__scroll { display: none; }
}

/* hero intro */
.js .hero__title .split { overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.js .hero__title .char { transform: translateY(115%) rotate(6deg); transition: transform 1.3s var(--ease); }
.js .hero__eyebrow, .js .hero__lead, .js .hero__actions, .js .hero__badge, .js .hero__scroll { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .hero__badge { transform: scale(.4) rotate(-40deg); }
.js .hero__scroll { transform: translate(-50%, 24px); }
.is-ready .hero__title .char { transform: none; }
.is-ready .hero__eyebrow { opacity: 1; transform: none; }
.is-ready .hero__lead { opacity: 1; transform: none; transition-delay: .9s; }
.is-ready .hero__actions { opacity: 1; transform: none; transition-delay: 1.1s; }
.is-ready .hero__badge { opacity: 1; transform: none; transition: opacity 1s, transform 1.6s var(--ease); transition-delay: 1.2s; }
.is-ready .hero__scroll { opacity: 1; transform: translate(-50%, 0); transition-delay: 1.5s; }

/* ---------- Marquee ---------- */
.marquee {
  position: relative; overflow: hidden; padding: 28px 0;
  background: var(--grad);
  color: var(--white);
  box-shadow: 0 20px 50px -20px rgba(0, 120, 230, .5);
  transform: rotate(-2deg) scale(1.04);
  margin: 0 0 -20px;
  z-index: 3;
}
.marquee__track { display: flex; width: max-content; gap: 40px; align-items: center; animation: marquee 30s linear infinite; }
.marquee__track span { font-family: var(--en); font-weight: 900; font-size: clamp(32px, 6vw, 84px); line-height: 1; white-space: nowrap; }
.marquee__track .outline { color: transparent; -webkit-text-stroke: 1.2px rgba(255, 255, 255, .9); }
.marquee__track em { font-style: normal; color: #fff3a6; font-size: clamp(20px, 3vw, 40px); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(48px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal--clip { opacity: 1; transform: none; clip-path: inset(100% 0 0 0); transition: clip-path 1.4s var(--ease); }
.js .reveal--clip.is-in { clip-path: inset(0 0 0 0); }

/* ---------- Concept ---------- */
.concept { overflow: hidden; }
.concept__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.concept .heading { font-size: clamp(26px, 3.6vw, 48px); }
.concept__visual { position: relative; }
.concept__img { border-radius: 24px; overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--shadow); }
.parallax-wrap { position: relative; }
.parallax { width: 100%; height: 120%; object-fit: cover; position: absolute; top: -10%; left: 0; }
.concept__float {
  position: absolute; left: -12%; bottom: -8%;
  width: 42%; border-radius: 50%; overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(0, 110, 200, .35), 0 0 0 8px var(--bg);
  animation: bob 6s ease-in-out infinite;
}
.concept__vertical {
  position: absolute; right: -36px; top: 0;
  writing-mode: vertical-rl; font-family: var(--en); font-size: 10px; letter-spacing: .4em; color: var(--muted);
}
@media (max-width: 900px) {
  .concept__grid { grid-template-columns: 1fr; }
  .concept__visual { width: 86%; margin-left: auto; }
  .concept__img { aspect-ratio: 4 / 3.4; }
  .concept__vertical { display: none; }
  .concept__float { left: -14%; width: 38%; }
}

/* ---------- Problem ---------- */
.problem { background: linear-gradient(180deg, var(--bg), var(--bg-2)); }
.problem .heading { margin-bottom: 64px; }
.problem__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.problem__item {
  position: relative; padding: 40px 28px 36px; border-radius: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 20px 50px -30px rgba(0, 110, 200, .25);
  transition: border-color .4s, background .4s, transform .6s var(--ease);
}
.problem__item:hover { border-color: rgba(0, 178, 242, .6); background: #f5fcff; transform: translateY(-6px); }
.problem__item:nth-child(2) { transition-delay: .08s; }
.problem__item:nth-child(3) { transition-delay: .16s; }
.problem__item:nth-child(4) { transition-delay: .24s; }
.problem__no { font-family: var(--en); font-size: 13px; color: var(--teal); display: block; margin-bottom: 16px; }
.problem__item p { font-size: 14px; line-height: 1.8; color: var(--muted); }
.problem__item strong { font-size: 18px; color: var(--ink); background: linear-gradient(transparent 62%, rgba(95, 227, 255, .55) 62%); }
.problem__answer { text-align: center; margin-top: clamp(64px, 9vw, 120px); }
.problem__answer::before {
  content: ""; display: block; width: 1px; height: 80px; margin: 0 auto 32px;
  background: linear-gradient(transparent, var(--teal));
}
.problem__answer-small { color: var(--muted); font-size: 15px; }
.problem__answer-big { font-size: clamp(28px, 4.6vw, 56px); font-weight: 900; line-height: 1.4; margin-top: 8px; }
@media (max-width: 900px) { .problem__list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .problem__list { grid-template-columns: 1fr; } .problem__item { padding: 28px 24px; } }

/* ---------- Feature ---------- */
.feature { overflow: hidden; }
.feature__bg { position: absolute; inset: 0; z-index: -1; opacity: .07; }
.feature__bg img { width: 100%; height: 100%; object-fit: cover; }
.feature__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--bg-2), transparent 30%, transparent 70%, var(--bg)); }
.feature { isolation: isolate; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 64px; }
.stats__item { padding: 36px 24px; text-align: center; }
.stats__item + .stats__item { border-left: 1px solid var(--line); }
.stats__num { font-family: var(--en); font-size: clamp(36px, 6vw, 80px); font-weight: 700; line-height: 1; letter-spacing: -.02em; }
.stats__num small { font-family: var(--ja); font-size: .3em; margin-left: 4px; color: var(--teal); }
.stats__label { font-size: 13px; color: var(--muted); margin-top: 14px; }
@media (max-width: 640px) {
  .stats { grid-template-columns: 1fr; }
  .stats__item + .stats__item { border-left: 0; border-top: 1px solid var(--line); }
}

.feature__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.fcard {
  position: relative; padding: 44px 32px 40px; border-radius: 24px;
  background: rgba(255, 255, 255, .92);
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px -34px rgba(0, 110, 200, .35);
  overflow: hidden;
  transform-style: preserve-3d;
  transition: border-color .4s, opacity 1.1s var(--ease), transform 1.1s var(--ease);
}
.fcard::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(0, 178, 242, .12), transparent 45%);
  opacity: 0; transition: opacity .4s;
}
.fcard:hover { border-color: rgba(0, 178, 242, .5); }
.fcard:hover::before { opacity: 1; }
.fcard__no { position: absolute; right: 24px; top: 16px; font-family: var(--en); font-size: 64px; font-weight: 900; color: transparent; -webkit-text-stroke: 1px rgba(0, 178, 242, .25); line-height: 1; }
.fcard__icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(135deg, #e3f8ff, #d3e6ff); margin-bottom: 28px; }
.fcard__icon svg { width: 30px; height: 30px; fill: none; stroke: var(--teal); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.fcard h3 { font-size: 20px; font-weight: 700; line-height: 1.5; margin-bottom: 16px; }
.fcard p { font-size: 14px; color: var(--muted); line-height: 1.9; }
.feature__grid .fcard:nth-child(3n+2) { transition-delay: .1s; }
.feature__grid .fcard:nth-child(3n+3) { transition-delay: .2s; }
@media (max-width: 900px) { .feature__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .feature__grid { grid-template-columns: 1fr; } .fcard { padding: 36px 24px 32px; } }

/* ---------- Price ---------- */
.price { background: radial-gradient(60% 50% at 50% 40%, rgba(0, 210, 255, .14), transparent 70%), var(--bg-2); }
.price__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.plan {
  position: relative; padding: 48px 36px 40px; border-radius: 28px;
  background: var(--white);
  box-shadow: var(--shadow);
  display: flex; flex-direction: column;
  transition: opacity 1.1s var(--ease), transform 1.1s var(--ease), box-shadow .5s var(--ease);
}
.plan:hover { box-shadow: 0 40px 90px -30px rgba(0, 120, 230, .45); }
.plan__border {
  position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(160deg, rgba(0, 178, 242, .35), rgba(10, 37, 64, .06));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.plan--featured { background: linear-gradient(170deg, #e2f7ff, #ffffff 55%); transform: translateY(-16px); box-shadow: 0 40px 100px -30px rgba(0, 140, 240, .5); }
.js .plan--featured.is-in { transform: translateY(-16px); }
.plan--featured .plan__border { padding: 2px; background: conic-gradient(from var(--angle, 0deg), var(--teal), var(--aqua), var(--teal-2), #8fd3ff, var(--teal)); animation: rotateBorder 4s linear infinite; }
@property --angle { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes rotateBorder { to { --angle: 360deg; } }
.plan__ribbon {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(100deg, var(--orange), #ffb066); color: var(--white);
  font-size: 12px; font-weight: 900; padding: 6px 18px; border-radius: 999px; letter-spacing: .1em; white-space: nowrap;
}
.plan__name { font-family: var(--en); font-size: 22px; font-weight: 700; letter-spacing: .12em; color: var(--teal); }
.plan__desc { font-size: 14px; color: var(--muted); margin-top: 12px; line-height: 1.7; min-height: 3.4em; }
.plan__price { display: flex; align-items: flex-end; gap: 6px; margin: 28px 0 28px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.plan__price b { font-family: var(--en); font-size: clamp(40px, 3.8vw, 54px); font-weight: 700; line-height: 1; letter-spacing: -.03em; }
.plan__price small { font-size: 13px; line-height: 1.4; color: var(--muted); padding-bottom: 6px; white-space: nowrap; }
.plan__tax { margin-left: auto; align-self: center; font-size: 11px; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 2px 10px; white-space: nowrap; }
.plan__list { display: grid; gap: 14px; margin-bottom: 36px; flex: 1; }
.plan__list li { position: relative; padding-left: 28px; font-size: 14px; line-height: 1.6; }
.plan__list li::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 16px; height: 16px; border-radius: 50%;
  background: rgba(0, 178, 242, .14) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M4.5 8.2l2.3 2.3 4.7-5' fill='none' stroke='%2300a3e8' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / 100% no-repeat;
}
.price__note { text-align: center; font-size: 12px; color: var(--muted); margin-top: 40px; }
@media (max-width: 960px) {
  .price__grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; gap: 40px; }
  .plan--featured, .js .plan--featured.is-in { transform: none; }
}

/* ---------- Works ---------- */
.works { position: relative; background: var(--bg-2); overflow: hidden; }
.works__pin { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--header-h) + 8px) 0 40px; }
.works__track {
  --card: min(42vw, calc((100svh - var(--header-h) - 240px) * 1.37), 640px);
  display: flex; align-items: center; gap: clamp(24px, 3vw, 56px);
  padding: 0 var(--gutter);
  width: max-content;
}
.works__intro { width: clamp(300px, 32vw, 460px); flex-shrink: 0; }
.works__intro .heading { font-size: clamp(30px, 3.8vw, 52px); }
.works__intro .eyebrow { margin-bottom: 18px; }
.work { width: var(--card); flex-shrink: 0; display: block; }
.work__frame {
  position: relative; border-radius: 16px; overflow: hidden;
  background: #e9f5fc; padding-top: 30px;
  box-shadow: 0 40px 70px -30px rgba(0, 90, 170, .4);
  aspect-ratio: 1280 / 930;
  transition: transform .8s var(--ease);
}
.work__frame i { position: absolute; top: 11px; width: 9px; height: 9px; border-radius: 50%; background: rgba(10, 37, 64, .2); }
.work__frame i:nth-child(1) { left: 14px; background: #ff6b5a; }
.work__frame i:nth-child(2) { left: 30px; background: #ffc14d; }
.work__frame i:nth-child(3) { left: 46px; background: #3ed37a; }
.work__frame img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 1.2s var(--ease); }
.work:hover .work__frame { transform: translateY(-10px) rotate(-1deg); }
.work:hover .work__frame img { transform: scale(1.04); }
.work__cat { font-family: var(--en); font-size: 11px; letter-spacing: .25em; color: var(--teal); margin-top: 24px; }
.work__title { font-family: var(--en); font-size: clamp(18px, 2vw, 26px); font-weight: 700; margin-top: 6px; line-height: 1.3; }
.work__title small { font-family: var(--ja); font-size: .55em; font-weight: 700; color: var(--muted); margin-left: 8px; letter-spacing: .05em; }
.work__desc { font-size: 13px; color: var(--muted); margin-top: 4px; }
.work--end { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 32px; width: clamp(280px, 28vw, 420px); }
.work--end p { font-family: var(--en); font-size: clamp(32px, 4.4vw, 64px); font-weight: 900; line-height: 1.1; }
.works.is-native .works__track { overflow-x: auto; width: auto; max-width: 100%; scroll-snap-type: x mandatory; padding-bottom: 24px; }
.works.is-native .work { scroll-snap-align: start; }
@media (max-width: 767px) {
  .works__pin { display: block; min-height: 0; padding: 96px 0; }
  .works__track { flex-direction: column; align-items: stretch; width: auto; gap: 56px; }
  .works__intro, .work, .work--end { width: 100%; }
}

/* ---------- Flow ---------- */
.flow__wrap { position: relative; max-width: 820px; margin: 0 auto; }
.flow__wrap::before { content: ""; position: absolute; left: 27px; top: 0; bottom: 0; width: 1px; background: var(--line); }
.flow__progress { position: absolute; left: 26px; top: 0; bottom: 0; width: 3px; border-radius: 3px; background: linear-gradient(180deg, var(--aqua), var(--teal), var(--teal-2)); transform-origin: top; transform: scaleY(0); box-shadow: 0 0 12px rgba(0, 178, 242, .5); }
.flow__list { display: grid; gap: 56px; }
.flow__step { position: relative; padding-left: 92px; }
.flow__dot {
  position: absolute; left: 12px; top: 2px; width: 32px; height: 32px; border-radius: 50%;
  background: var(--bg); border: 1px solid var(--teal);
  box-shadow: 0 0 0 6px var(--bg);
}
.flow__dot::after { content: ""; position: absolute; inset: 8px; border-radius: 50%; background: var(--teal); transform: scale(0); transition: transform .6s var(--ease) .3s; }
.flow__step.is-in .flow__dot::after { transform: scale(1); box-shadow: 0 0 20px var(--teal); }
.flow__no { font-family: var(--en); font-size: 12px; letter-spacing: .25em; color: var(--teal); }
.flow__step h3 { font-size: clamp(20px, 2.4vw, 26px); font-weight: 700; margin: 6px 0 12px; }
.flow__step p:last-child { color: var(--muted); font-size: 15px; }
@media (max-width: 600px) { .flow__step { padding-left: 68px; } }

/* ---------- Our Service ---------- */
.service { background: linear-gradient(180deg, var(--bg), var(--bg-2)); }
.service__list { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 4vw, 56px) clamp(24px, 3vw, 40px); }
.svc { display: flex; flex-direction: column; padding: 16px 16px 32px; border-radius: 28px; background: var(--white); border: 1px solid var(--line); box-shadow: 0 24px 60px -34px rgba(0, 110, 200, .35); transition: transform .6s var(--ease), box-shadow .6s var(--ease), border-color .4s, opacity 1.1s var(--ease); }
.svc:hover { transform: translateY(-8px); border-color: rgba(0, 178, 242, .45); box-shadow: 0 40px 80px -36px rgba(0, 110, 200, .5); }
.service__list .svc:nth-child(2n) { transition-delay: .1s; }
.svc__img { position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 16 / 10; background: #e9f5fc; }
.svc__img img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 1.4s var(--ease); }
.svc__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, transparent 40%, rgba(255, 255, 255, .35) 50%, transparent 60%); transform: translateX(-100%); transition: transform 1.2s var(--ease); }
.svc:hover .svc__img img { transform: scale(1.05); }
.svc:hover .svc__img::after { transform: translateX(100%); }
.svc__body { padding: 28px 16px 0; display: flex; flex-direction: column; flex: 1; }
.svc__cat { font-family: var(--en); font-size: 11px; letter-spacing: .22em; color: var(--teal); }
.svc__title { font-family: var(--en); font-size: clamp(26px, 2.8vw, 38px); font-weight: 900; line-height: 1.15; margin-top: 10px; }
.svc__lead { font-weight: 700; margin-top: 10px; }
.svc__text { color: var(--muted); font-size: 14px; margin-top: 14px; flex: 1; }
.svc__link { align-self: flex-start; display: inline-flex; align-items: center; gap: 14px; margin-top: 24px; font-family: var(--en); font-size: 12px; letter-spacing: .08em; border-bottom: 1px solid var(--line); padding-bottom: 8px; transition: color .3s, border-color .3s; }
.svc:hover .svc__link { color: var(--teal-2); border-color: var(--teal); }
.svc:hover .btn__arrow { width: 28px; }
@media (max-width: 860px) { .service__list { grid-template-columns: 1fr; } }
.js .svc.reveal.is-in { transition: transform .6s var(--ease), box-shadow .6s var(--ease), border-color .4s, opacity 1.1s var(--ease); }

/* ---------- FAQ ---------- */
.faq__list { display: grid; gap: 14px; }
.faq__item { border: 1px solid var(--line); border-radius: 18px; background: var(--white); transition: border-color .3s, background .3s; }
.faq__item[open] { border-color: rgba(0, 178, 242, .5); background: #f4fbff; box-shadow: 0 20px 50px -30px rgba(0, 110, 200, .3); }
.faq__item summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 18px;
  padding: 24px 28px; font-weight: 700; font-size: clamp(15px, 1.4vw, 17px); line-height: 1.6;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__q { font-family: var(--en); color: var(--teal); font-size: 18px; flex-shrink: 0; }
.faq__item summary i { margin-left: auto; position: relative; width: 16px; height: 16px; flex-shrink: 0; }
.faq__item summary i::before, .faq__item summary i::after { content: ""; position: absolute; left: 0; top: 50%; width: 100%; height: 1.5px; background: var(--ink); transition: transform .4s var(--ease); }
.faq__item summary i::after { transform: rotate(90deg); }
.faq__item[open] summary i::after { transform: rotate(0); }
.faq__a { padding: 0 28px 26px 64px; color: var(--muted); font-size: 15px; }
@media (max-width: 600px) { .faq__item summary { padding: 20px; } .faq__a { padding: 0 20px 22px 54px; } }

/* ---------- Company ---------- */
.company__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.company__table { border-top: 1px solid var(--line); }
.company__table div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.company__table dt { color: var(--teal); font-size: 13px; font-weight: 700; padding-top: 2px; }
.company__table dd { font-size: 15px; line-height: 1.8; }
.company__table a { border-bottom: 1px solid var(--line); }
@media (max-width: 860px) { .company__grid { grid-template-columns: 1fr; } .company__table div { grid-template-columns: 90px 1fr; } }

/* ---------- Contact ---------- */
.contact { position: relative; padding: clamp(110px, 14vw, 200px) 0; overflow: hidden; isolation: isolate; }
.contact__bg { position: absolute; inset: 0; z-index: -1; }
.contact__bg img { width: 100%; height: 100%; object-fit: cover; }
.contact__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--bg) 0%, rgba(255, 255, 255, .72) 30%, rgba(225, 245, 255, .9) 100%); }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.contact__title { font-size: clamp(40px, 6.2vw, 92px); font-weight: 900; line-height: 1.12; }
.contact__title span { display: block; white-space: nowrap; }
.form {
  padding: clamp(28px, 4vw, 48px); border-radius: 28px;
  background: rgba(255, 255, 255, .86); backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, .9);
  box-shadow: var(--shadow);
  display: grid; gap: 20px;
}
.form__field { display: grid; gap: 8px; }
.form__field > span { font-size: 13px; font-weight: 700; }
.form__field em { font-style: normal; font-size: 10px; color: var(--orange); border: 1px solid currentColor; border-radius: 4px; padding: 1px 6px; margin-left: 6px; vertical-align: 1px; }
.form input, .form select, .form textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink);
  background: #f4f9fc; border: 1px solid var(--line); border-radius: 12px;
  padding: 14px 16px; transition: border-color .3s, background .3s, box-shadow .3s;
}
.form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--teal) 50%), linear-gradient(135deg, var(--teal) 50%, transparent 50%); background-position: calc(100% - 22px) 52%, calc(100% - 16px) 52%; background-size: 6px 6px; background-repeat: no-repeat; }
.form select option { color: #000; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--teal); background: var(--white); box-shadow: 0 0 0 4px rgba(0, 178, 242, .15); }
.form .is-error { border-color: var(--orange); }
.form__msg { font-size: 13px; color: var(--teal); min-height: 1em; line-height: 1.8; }
.form__msg.is-success { color: var(--teal-2); background: #e8f7ff; border: 1px solid rgba(0, 178, 242, .35); border-radius: 12px; padding: 14px 16px; font-weight: 700; }
.form__msg.is-error { color: #d93a3f; }
.form__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form { position: relative; }
.form button[disabled] { opacity: .7; cursor: wait; }
@media (max-width: 900px) { .contact__grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.footer { position: relative; padding: 80px 0 40px; overflow: hidden; color: var(--white); background: linear-gradient(120deg, #00b8f5, #1e6eeb); }
.footer__big {
  font-family: var(--en); font-weight: 900; font-size: 13.5vw; line-height: .85; letter-spacing: -.04em; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .35);
  text-align: center; margin-bottom: 64px; user-select: none;
}
.footer__inner { display: grid; grid-template-columns: auto 1fr; gap: 32px 48px; align-items: center; }
.footer__logo { width: 200px; }
.footer__links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px 28px; font-size: 13px; color: rgba(255, 255, 255, .85); }
.footer__links a:hover { color: var(--white); text-decoration: underline; }
.footer__copy { grid-column: 1 / -1; font-family: var(--en); font-size: 10px; letter-spacing: .15em; color: rgba(255, 255, 255, .75); padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .25); }
@media (max-width: 760px) { .footer__inner { grid-template-columns: 1fr; } .footer__links { justify-content: flex-start; } }

/* ---------- Floating CTA ---------- */
.fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 80;
  width: 84px; height: 84px; border-radius: 50%;
  display: grid; place-items: center; text-align: center;
  background: radial-gradient(circle at 30% 30%, #5fe3ff, var(--teal) 55%, var(--teal-2));
  color: var(--white); font-weight: 900; font-size: 13px; line-height: 1.3;
  box-shadow: 0 16px 40px -10px rgba(0, 140, 240, .7);
  transform: scale(0); transition: transform .6s var(--ease);
}
.fab::before { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid rgba(0, 178, 242, .6); animation: ping 2.4s var(--ease) infinite; }
.fab.is-show { transform: scale(1); }
.fab:hover { transform: scale(1.08); }
@keyframes ping { 0% { transform: scale(.9); opacity: 1; } 100% { transform: scale(1.4); opacity: 0; } }
@media (max-width: 600px) { .fab { width: 68px; height: 68px; font-size: 11px; right: 14px; bottom: 14px; } }

/* tilt: quick response while hovering */
.js .tilt.is-tilting { transition: transform .15s linear, border-color .4s; }


/* =========================================================
   Multi-page parts
   ========================================================= */

/* ---------- Page transition curtain ---------- */
.curtain { display: none; }
.js .curtain {
  display: block; position: fixed; inset: 0; z-index: 950; pointer-events: none;
  background: linear-gradient(120deg, #00c6fa, var(--teal) 45%, var(--teal-2));
}
.js .curtain::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: min(260px, 50vw); aspect-ratio: 720 / 206;
  transform: translate(-50%, -50%);
  background: url("../img/logo-white.png") center / contain no-repeat;
  opacity: .9;
}
.js .curtain:not(.is-in):not(.is-out) { animation: curtainOut .9s var(--ease) 2.5s forwards; }
.js .curtain.is-out { animation: curtainOut .9s var(--ease) forwards; }
.js .curtain.is-in { animation: curtainIn .5s var(--ease) forwards; }
@keyframes curtainOut { from { transform: translateY(0); } to { transform: translateY(-100%); } }
@keyframes curtainIn { from { transform: translateY(100%); } to { transform: translateY(0); } }
.page-home .curtain { background: var(--bg); }
.page-home .curtain::after { display: none; }

/* ---------- Current page in nav ---------- */
.gnav a.is-current { color: var(--teal-2); }
.gnav a.is-current::after { transform: scaleX(1); }
.drawer__nav a.is-current { color: var(--teal-2); }

/* ---------- Page hero ---------- */
.page-hero {
  position: relative; overflow: hidden;
  min-height: clamp(440px, 70vh, 660px);
  display: flex; align-items: flex-end;
  padding: calc(var(--header-h) + 60px) 0 clamp(56px, 8vw, 100px);
  background:
    radial-gradient(80% 70% at 80% 20%, rgba(0, 210, 255, .22), transparent 60%),
    radial-gradient(70% 60% at 5% 100%, rgba(43, 108, 255, .10), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, #eaf8ff 100%);
}
.page-hero__inner { position: relative; z-index: 2; pointer-events: none; }
.page-hero__inner a { pointer-events: auto; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 10px; font-family: var(--en); font-size: 11px; letter-spacing: .2em; color: var(--muted); margin-bottom: clamp(16px, 2.4vw, 28px); }
.breadcrumb a { color: var(--teal-2); }
.breadcrumb a:hover { text-decoration: underline; }
.page-hero__en {
  font-family: var(--en); font-weight: 900; line-height: 1; letter-spacing: -.02em;
  font-size: clamp(44px, 10.5vw, 168px);
  overflow: hidden; padding-bottom: .06em; white-space: nowrap;
}
.page-hero__en .char {
  display: inline-block;
  background: var(--grad); background-size: 300% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.page-hero__en--long { font-size: clamp(36px, 7.6vw, 124px); }
.page-hero__ja { display: flex; align-items: center; gap: 16px; margin-top: clamp(12px, 2vw, 20px); font-size: clamp(20px, 2.4vw, 30px); font-weight: 900; line-height: 1.4; }
.page-hero__ja::before { content: ""; width: 40px; height: 2px; background: var(--grad); border-radius: 2px; }
.page-hero__lead { margin-top: 14px; color: #2c4a63; font-size: clamp(14px, 1.3vw, 17px); font-weight: 500; line-height: 2; }
.js .page-hero__en .char { transform: translateY(110%); transition: transform 1.2s var(--ease); }
.js .breadcrumb, .js .page-hero__ja, .js .page-hero__lead { opacity: 0; transform: translateY(20px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.is-ready .page-hero__en .char { transform: none; }
.is-ready .breadcrumb { opacity: 1; transform: none; }
.is-ready .page-hero__ja { opacity: 1; transform: none; transition-delay: .5s; }
.is-ready .page-hero__lead { opacity: 1; transform: none; transition-delay: .7s; }
.page-hero + .section, .page-hero + .concept { padding-top: clamp(72px, 10vw, 140px); }

/* ---------- "More" buttons ---------- */
.more { margin-top: clamp(36px, 5vw, 56px); }
.more--center { display: flex; justify-content: center; }

/* ---------- Price digest (top page) ---------- */
.pmini__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pmini {
  position: relative; display: block; padding: 36px 32px 32px; border-radius: 24px;
  background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow);
  transition: transform .6s var(--ease), border-color .4s, box-shadow .6s var(--ease), opacity 1.1s var(--ease);
}
.js .pmini.reveal.is-in { transition: transform .6s var(--ease), border-color .4s, box-shadow .6s var(--ease), opacity 1.1s var(--ease); }
.pmini:hover { transform: translateY(-8px); border-color: rgba(0, 178, 242, .5); box-shadow: 0 40px 80px -36px rgba(0, 110, 200, .5); }
.pmini--featured { background: linear-gradient(170deg, #e2f7ff, #ffffff 60%); border-color: rgba(0, 178, 242, .45); }
.pmini__name { font-family: var(--en); font-size: 18px; font-weight: 700; letter-spacing: .12em; color: var(--teal); }
.pmini__price { display: flex; align-items: flex-end; gap: 6px; margin-top: 14px; }
.pmini__price b { font-family: var(--en); font-size: clamp(36px, 3.6vw, 48px); font-weight: 700; line-height: 1; letter-spacing: -.03em; }
.pmini__price small { font-size: 12px; color: var(--muted); padding-bottom: 4px; }
.pmini__desc { color: var(--muted); font-size: 14px; margin-top: 12px; }
.pmini .btn__arrow { position: absolute; right: 32px; bottom: 40px; color: var(--teal-2); }
.pmini:hover .btn__arrow { width: 28px; }
.pmini__grid .pmini:nth-child(2) { transition-delay: .08s; }
.pmini__grid .pmini:nth-child(3) { transition-delay: .16s; }
@media (max-width: 860px) { .pmini__grid { grid-template-columns: 1fr; } }

/* ---------- Flow digest (top page) ---------- */
.fmini__list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: none; }
.fmini { position: relative; padding: 28px 22px; border-radius: 20px; background: var(--white); border: 1px solid var(--line); box-shadow: 0 20px 50px -34px rgba(0, 110, 200, .35); }
.fmini:not(:last-child)::after {
  content: ""; position: absolute; right: -13px; top: 50%; width: 10px; height: 10px; z-index: 1;
  border-top: 2px solid var(--teal); border-right: 2px solid var(--teal); transform: translateY(-50%) rotate(45deg);
}
.fmini__no { font-family: var(--en); font-size: 11px; letter-spacing: .2em; color: var(--teal); }
.fmini__title { font-weight: 700; font-size: 15px; line-height: 1.6; margin-top: 8px; }
.fmini__list .fmini:nth-child(2) { transition-delay: .06s; }
.fmini__list .fmini:nth-child(3) { transition-delay: .12s; }
.fmini__list .fmini:nth-child(4) { transition-delay: .18s; }
.fmini__list .fmini:nth-child(5) { transition-delay: .24s; }
@media (max-width: 960px) {
  .fmini__list { grid-template-columns: 1fr; gap: 14px; }
  .fmini { display: flex; align-items: baseline; gap: 16px; padding: 20px 22px; }
  .fmini__title { margin-top: 0; }
  .fmini:not(:last-child)::after { right: auto; left: 40px; top: auto; bottom: -11px; transform: rotate(135deg); }
}

/* ---------- CTA band ---------- */
.cta { position: relative; padding: clamp(96px, 12vw, 170px) 0; overflow: hidden; isolation: isolate; text-align: center; }
.cta__bg { position: absolute; inset: 0; z-index: -1; }
.cta__bg img { width: 100%; height: 100%; object-fit: cover; }
.cta__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--bg) 0%, rgba(255, 255, 255, .72) 35%, rgba(225, 245, 255, .9) 100%); }
.cta__title { font-size: clamp(36px, 6vw, 84px); font-weight: 900; line-height: 1.2; }
.cta__title span { display: inline-block; }
.cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 40px; }
@media (max-width: 600px) { .cta__title span { display: block; } .cta__actions .btn { flex: 1 1 100%; } }

/* ---------- Works page ---------- */
.works-page { background: var(--bg); }
.wcase__list { display: grid; gap: clamp(80px, 10vw, 140px); }
.wcase { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.wcase:nth-child(even) .wcase__visual { order: 2; }
.wcase__visual { display: block; }
.wcase__visual:hover .work__frame { transform: translateY(-10px) rotate(-1deg); }
.wcase__visual:hover .work__frame img { transform: scale(1.04); }
.wcase__no { font-family: var(--en); font-size: clamp(56px, 6vw, 88px); font-weight: 900; line-height: 1; color: transparent; -webkit-text-stroke: 1.2px rgba(0, 178, 242, .4); }
.wcase .work__cat { margin-top: 18px; }
.wcase__title { font-family: var(--en); font-size: clamp(28px, 3.4vw, 44px); font-weight: 900; line-height: 1.15; margin-top: 8px; }
.wcase__lead { font-weight: 700; margin-top: 12px; }
.wcase__text { color: var(--muted); font-size: 14px; margin-top: 14px; }
.wcase__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.wcase__tags li { font-size: 12px; padding: 4px 12px; border-radius: 999px; background: var(--bg-2); color: var(--teal-2); border: 1px solid rgba(0, 178, 242, .25); }
.wcase .svc__link:hover { color: var(--teal-2); border-color: var(--teal); }
@media (max-width: 860px) {
  .wcase { grid-template-columns: 1fr; }
  .wcase:nth-child(even) .wcase__visual { order: 0; }
}


/* ---------- Legal pages ---------- */
.legal__intro { font-size: 15px; line-height: 2; color: #2c4a63; margin-bottom: 48px; }
.legal__block { padding: 32px 0; border-top: 1px solid var(--line); }
.legal__block:last-of-type { border-bottom: 1px solid var(--line); }
.legal__h { position: relative; font-size: clamp(17px, 1.6vw, 20px); font-weight: 900; line-height: 1.6; padding-left: 18px; margin-bottom: 14px; }
.legal__h::before { content: ""; position: absolute; left: 0; top: .3em; bottom: .3em; width: 4px; border-radius: 4px; background: var(--grad); }
.legal__block p { font-size: 14px; line-height: 2; color: #3d5a72; }
.legal__block p + p { margin-top: 10px; }
.legal__block ol { margin-top: 12px; padding-left: 1.6em; list-style: decimal; display: grid; gap: 6px; }
.legal__block li { font-size: 14px; line-height: 1.9; color: #3d5a72; padding-left: 4px; }
.legal__block li::marker { color: var(--teal); font-family: var(--en); font-weight: 700; }
.legal a { color: var(--teal-2); border-bottom: 1px solid rgba(30, 110, 235, .3); }
.legal__date { margin-top: 40px; text-align: right; font-size: 13px; color: var(--muted); }
.legal__table div { grid-template-columns: 200px 1fr; }
.legal__table small { font-size: 12px; color: var(--muted); }
.todo { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 4px; font-size: 11px; font-weight: 700; color: #fff; background: #ff6b5a; vertical-align: 2px; }
@media (max-width: 600px) { .legal__table div { grid-template-columns: 1fr; gap: 4px; } }

/* ---------- Consent checkbox ---------- */
.form__agree { display: flex; align-items: center; gap: 10px; font-size: 13px; cursor: pointer; }
.form__agree input { width: 20px; height: 20px; flex-shrink: 0; accent-color: var(--teal); padding: 0; }
.form__agree a { color: var(--teal-2); text-decoration: underline; }
.form__agree em { font-style: normal; font-size: 10px; color: var(--orange); border: 1px solid currentColor; border-radius: 4px; padding: 1px 6px; margin-left: 4px; }
.form__agree.is-error span { color: #e5484d; }

/* ---------- Footer nav ---------- */
.footer__nav { display: grid; gap: 14px; justify-items: end; }
.footer__links--sub { font-size: 12px; opacity: .8; }
@media (max-width: 760px) { .footer__nav { justify-items: start; } }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .grain { display: none; }
}
.legal__table strong { font-weight: 700; background: linear-gradient(transparent 62%, rgba(95, 227, 255, .45) 62%); }
.price__note a { color: var(--teal-2); text-decoration: underline; }
