/* ==========================================================================
   JAPULSE — サイト共通スタイル
   配色はロゴ（赤・濃紺・青・白）に準拠。外部ライブラリなし。
   ========================================================================== */

:root {
  --navy-950: #050e1f;
  --navy-900: #08152c;
  --navy-800: #0b1f3f;
  --navy-700: #122c54;
  --red: #e60027;
  --red-dark: #b8001f;
  --red-light: #ff5c78;
  --blue: #0b6bd6;
  --blue-light: #4a9cf0;
  --blue-pale: #eaf3fd;

  --ink: #101b31;
  --ink-soft: #4d5d78;
  --line: #e4eaf3;
  --bg: #ffffff;
  --bg-soft: #f5f8fc;

  --grad: linear-gradient(120deg, var(--red) 0%, #d61a5c 45%, var(--blue) 100%);
  --grad-text: linear-gradient(100deg, #ff5c78 0%, #ffffff 52%, #6fb6ff 100%);

  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 12px rgba(11, 31, 63, .05);
  --shadow: 0 14px 40px rgba(11, 31, 63, .11);
  --shadow-lg: 0 28px 70px rgba(11, 31, 63, .20);

  --wrap: 1180px;
  --header-h: 78px;
  --ease: cubic-bezier(.22, .68, .3, 1);

  --font: "Noto Sans JP", "Noto Sans Thai", "Hiragino Kaku Gothic ProN", "Yu Gothic",
    "Meiryo", system-ui, -apple-system, "Segoe UI", sans-serif;
}

html[lang="th"] { --font: "Noto Sans Thai", "Noto Sans JP", system-ui, sans-serif; }
html[lang="en"] { --font: "Noto Sans JP", system-ui, -apple-system, "Segoe UI", sans-serif; }

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.85;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
html[lang="th"] body { line-height: 1.95; }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--red); }

h1, h2, h3, h4 { margin: 0 0 .6em; line-height: 1.38; letter-spacing: -.005em; }
h1 { font-size: clamp(2.05rem, 4.8vw, 3.5rem); font-weight: 900; letter-spacing: -.02em; }
h2 { font-size: clamp(1.55rem, 3.2vw, 2.4rem); font-weight: 900; letter-spacing: -.015em; }
h3 { font-size: clamp(1.08rem, 1.9vw, 1.32rem); font-weight: 700; }
p { margin: 0 0 1.1em; }
ul { margin: 0 0 1.1em; padding-left: 1.2em; }
li { margin-bottom: .35em; }
s { text-decoration-thickness: 2px; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.narrow { width: min(100% - 40px, 840px); margin-inline: auto; }
.center-block { text-align: center; }
.center-cta { text-align: center; margin-top: 40px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.footnote { font-size: .85rem; color: var(--ink-soft); margin: 16px 0 0; }
.mini-label { font-weight: 800; font-size: .82rem; margin: 20px 0 8px; letter-spacing: .04em; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 999;
  background: var(--navy-800); color: #fff; padding: 10px 18px; border-radius: 10px;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 6px 28px rgba(11, 31, 63, .08); border-bottom-color: var(--line); }
.header-inner { height: var(--header-h); display: flex; align-items: center; gap: 18px; }
.brand { display: flex; align-items: center; flex: 0 0 auto; }
.brand img { height: 40px; width: auto; transition: transform .35s var(--ease); }
.brand:hover img { transform: scale(1.04); }

.nav { margin-left: auto; }
.nav > ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav a {
  position: relative; display: block; padding: 8px 10px; border-radius: 9px;
  color: var(--navy-800); font-size: .85rem; font-weight: 700;
  white-space: nowrap; line-height: 1.6;
}
.nav a::after {
  content: ""; position: absolute; left: 11px; right: 11px; bottom: 3px; height: 2px;
  background: var(--grad); transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav a:hover { color: var(--red); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--red); }
.nav-lang { display: none; }

.header-side { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }

.lang-switch { display: flex; align-items: center; gap: 2px; font-size: .78rem; font-weight: 700; }
.lang-switch a, .lang-switch .lang-current { padding: 5px 9px; border-radius: 8px; white-space: nowrap; }
.lang-switch a { color: var(--ink-soft); }
.lang-switch a:hover { color: var(--red); background: var(--bg-soft); }
.lang-switch .lang-current { color: #fff; background: var(--navy-800); }

.nav-toggle {
  display: none; margin-left: auto; position: relative;
  width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 13px;
  background: #fff; cursor: pointer;
}
.nav-toggle span {
  position: absolute; left: 12px; right: 12px; height: 2px; background: var(--navy-800);
  transition: transform .3s var(--ease), opacity .25s var(--ease);
}
.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 22px; }
.nav-toggle span:nth-child(3) { top: 28px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- ボタン ---------- */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: 15px 30px; border-radius: 999px; font-weight: 800; font-size: .95rem;
  border: 2px solid transparent; cursor: pointer; text-align: center; line-height: 1.5;
  transition: transform .25s var(--ease), box-shadow .3s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn > span { position: relative; z-index: 2; }
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: var(--grad); background-size: 200% 100%;
  transition: background-position .5s var(--ease);
}
.btn-primary { color: #fff; box-shadow: 0 12px 30px rgba(230, 0, 39, .26); }
.btn-primary:hover {
  color: #fff; transform: translateY(-3px); box-shadow: 0 18px 40px rgba(230, 0, 39, .34);
}
.btn-primary:hover::before { background-position: 100% 0; }

.btn-ghost { background: #fff; color: var(--navy-800); border-color: var(--line); }
.btn-ghost::before { display: none; }
.btn-ghost:hover { color: var(--blue); border-color: var(--blue); transform: translateY(-3px); box-shadow: var(--shadow-sm); }

.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .32); }
.btn-ghost-light::before { display: none; }
.btn-ghost-light:hover { color: #fff; border-color: #fff; transform: translateY(-3px); background: rgba(255, 255, 255, .08); }

.btn-sm { padding: 10px 20px; font-size: .84rem; }
.btn-lg { padding: 18px 38px; font-size: 1.02rem; }
.btn-block { width: 100%; }

/* ---------- セクション ---------- */
.section { padding: clamp(68px, 8.5vw, 118px) 0; position: relative; }
.section-soft { background: var(--bg-soft); }
.section-navy {
  background: var(--navy-950); color: #fff; overflow: hidden;
}
.section-navy::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(760px 380px at 12% 0%, rgba(230, 0, 39, .26), transparent 62%),
    radial-gradient(820px 420px at 88% 100%, rgba(11, 107, 214, .34), transparent 62%);
}
.section-navy > * { position: relative; z-index: 1; }
.section-navy h2, .section-navy h3 { color: #fff; }
.section-navy p { color: rgba(255, 255, 255, .78); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  font-size: .74rem; font-weight: 900; letter-spacing: .2em;
  color: var(--red); text-transform: uppercase; margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--grad); }
.section-navy .eyebrow { color: var(--blue-light); }
.cta-band .eyebrow { color: var(--blue-light); }

.section-head { max-width: 780px; margin-bottom: 52px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head p { color: var(--ink-soft); font-size: 1.02rem; margin: 0; }
.section-navy .section-head p { color: rgba(255, 255, 255, .74); }
.lead { font-size: 1.08rem; color: var(--ink-soft); }
.section-navy .lead { color: rgba(255, 255, 255, .78); }

/* ---------- ヒーロー ---------- */
.hero, .page-hero {
  position: relative; overflow: hidden; color: #fff; isolation: isolate;
  background: linear-gradient(158deg, #071328 0%, #0b1f3f 46%, #10305c 100%);
}
.hero { padding: clamp(76px, 10vw, 140px) 0 clamp(92px, 10vw, 148px); }
.page-hero { padding: clamp(58px, 7vw, 96px) 0; }

.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 66px 66px;
  mask-image: radial-gradient(circle at 50% 38%, #000 6%, transparent 74%);
  animation: gridDrift 30s linear infinite;
}
@keyframes gridDrift {
  from { background-position: 0 0, 0 0; }
  to { background-position: 66px 66px, 66px 66px; }
}
/* パーティクルの波（canvas） */
.wave-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  display: block; pointer-events: none; opacity: .9;
}

.orb { position: absolute; border-radius: 50%; filter: blur(72px); opacity: .45; }
.orb-1 { width: 46vw; height: 46vw; max-width: 620px; max-height: 620px; top: -12%; right: -6%;
  background: radial-gradient(circle, rgba(230, 0, 39, .85), transparent 68%); animation: orbA 18s ease-in-out infinite; }
.orb-2 { width: 40vw; height: 40vw; max-width: 540px; max-height: 540px; bottom: -18%; left: -8%;
  background: radial-gradient(circle, rgba(11, 107, 214, .9), transparent 68%); animation: orbB 22s ease-in-out infinite; }
.orb-3 { width: 26vw; height: 26vw; max-width: 340px; max-height: 340px; top: 42%; left: 46%;
  background: radial-gradient(circle, rgba(122, 60, 200, .6), transparent 70%); animation: orbA 26s ease-in-out infinite reverse; }
@keyframes orbA {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-5%, 7%) scale(1.12); }
}
@keyframes orbB {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(7%, -6%) scale(1.15); }
}

.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; }
.hero h1 { color: #fff; margin-bottom: .5em; }
.hero h1 .accent {
  background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-lead { color: rgba(255, 255, 255, .82); font-size: 1.1rem; max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-note { margin-top: 24px; font-size: .86rem; color: rgba(255, 255, 255, .6); }

.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: .5em;
  padding: 7px 15px; border-radius: 999px; font-size: .8rem; font-weight: 700;
  background: rgba(255, 255, 255, .09); border: 1px solid rgba(255, 255, 255, .17);
  color: rgba(255, 255, 255, .92); backdrop-filter: blur(6px);
}
.hero-badge .dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--red);
  box-shadow: 0 0 0 0 rgba(230, 0, 39, .7); animation: pulseDot 2.2s infinite;
}
@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 rgba(230, 0, 39, .7); }
  70% { box-shadow: 0 0 0 12px rgba(230, 0, 39, 0); }
  100% { box-shadow: 0 0 0 0 rgba(230, 0, 39, 0); }
}

.hero-scroll {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: .64rem; font-weight: 800; letter-spacing: .24em; color: rgba(255, 255, 255, .45);
}
.hero-scroll i { width: 1px; height: 34px; background: linear-gradient(rgba(255,255,255,.5), transparent);
  animation: scrollHint 2.2s ease-in-out infinite; transform-origin: top; }
@keyframes scrollHint {
  0%, 100% { transform: scaleY(.3); opacity: .3; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* 端末モック */
.hero-visual { position: relative; will-change: transform; }
.device {
  position: relative;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--radius-lg); padding: 16px; backdrop-filter: blur(10px);
  box-shadow: var(--shadow-lg); animation: floatY 7s ease-in-out infinite;
}
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
.device-bar { display: flex; gap: 6px; margin-bottom: 12px; }
.device-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .28); }
.device-bar i:first-child { background: var(--red); }
.device-screen { position: relative; z-index: 1; background: #fff; border-radius: 13px; padding: 20px; color: var(--ink); }

.device-nav { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.device-nav-logo { width: 20px; height: 20px; border-radius: 50%; background: var(--grad); }
.device-nav-dots { display: flex; gap: 4px; }
.device-nav-dots i { width: 13px; height: 3px; border-radius: 2px; background: var(--line); display: block; }

.device-screen .device-eyebrow {
  margin: 0 0 6px; font-size: .62rem; font-weight: 900; letter-spacing: .18em;
  color: var(--red); text-transform: uppercase;
}
.device-screen .device-headline {
  margin: 0 0 16px; font-size: 1.04rem; font-weight: 800; line-height: 1.5; color: var(--navy-800);
}
.device-screen .device-headline span { color: var(--red); }

.device-photo {
  height: 74px; border-radius: 11px; margin-bottom: 14px; position: relative; overflow: hidden;
  background: linear-gradient(135deg, #0e2148 0%, #123a72 48%, #0b6bd6 100%);
  background-size: 220% 100%; animation: photoShimmer 5s ease-in-out infinite;
}
.device-photo::before {
  content: ""; position: absolute; right: 14%; top: -18%; width: 46px; height: 46px;
  border-radius: 50%; background: radial-gradient(circle, var(--red) 0%, rgba(230, 0, 39, 0) 70%);
  opacity: .85;
}
.device-photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, .55) 50%, transparent 60%);
  background-size: 220% 100%; animation: photoSheen 5s ease-in-out infinite;
}
@keyframes photoShimmer { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
@keyframes photoSheen { 0% { background-position: 160% 0; } 60%, 100% { background-position: -60% 0; } }

.device-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.device-chips span {
  font-size: .68rem; font-weight: 700; color: var(--navy-800);
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px;
}
.device-cta {
  background: var(--grad); color: #fff; text-align: center;
  border-radius: 999px; padding: 11px; font-size: .82rem; font-weight: 800;
  animation: ctaGlow 2.6s ease-in-out infinite;
}
@keyframes ctaGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(230, 0, 39, .45); }
  50% { box-shadow: 0 0 0 10px rgba(230, 0, 39, 0); }
}

.device-toast {
  position: absolute; right: 26px; top: 52px; width: 218px; z-index: 5;
  display: flex; gap: 10px; align-items: flex-start;
  background: #fff; border-radius: 12px; padding: 11px 13px;
  border: 1px solid var(--line); box-shadow: 0 14px 34px rgba(11, 31, 63, .22);
  opacity: 0; transform: translateX(24px) scale(.95);
  animation: toastPop 7s ease-in-out infinite;
}
.device-toast-dot {
  flex: 0 0 auto; margin-top: 5px; width: 8px; height: 8px; border-radius: 50%;
  background: #22c55e; box-shadow: 0 0 0 3px rgba(34, 197, 94, .18);
}
.device-toast b { display: block; font-size: .76rem; color: var(--navy-800); line-height: 1.5; }
.device-toast span { font-size: .7rem; color: var(--ink-soft); line-height: 1.5; }
@keyframes toastPop {
  0%, 6% { opacity: 0; transform: translateX(24px) scale(.95); }
  14%, 70% { opacity: 1; transform: translateX(0) scale(1); }
  82%, 100% { opacity: 0; transform: translateX(16px) scale(.97); }
}

/* 心電図ライン */
.pulse-line { position: absolute; left: 0; right: 0; bottom: -2px; z-index: 2; opacity: .6; }
.pulse-line path {
  fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round;
  stroke-dasharray: 1400; stroke-dashoffset: 1400;
  animation: drawPulse 4.5s ease-in-out infinite;
}
@keyframes drawPulse {
  0% { stroke-dashoffset: 1400; opacity: 0; }
  15% { opacity: 1; }
  70% { stroke-dashoffset: 0; opacity: 1; }
  100% { stroke-dashoffset: -1400; opacity: 0; }
}

/* ---------- マーキー ---------- */
.marquee {
  overflow: hidden; background: var(--navy-950); color: rgba(255, 255, 255, .6);
  padding: 15px 0; border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.marquee-track { display: flex; width: max-content; animation: marquee 34s linear infinite; }
.marquee-row { display: flex; align-items: center; gap: 26px; padding-right: 26px; }
.marquee-row span { font-size: .84rem; font-weight: 700; white-space: nowrap; }
.marquee-row i { color: var(--red); font-size: .55rem; font-style: normal; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- カード ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

.card {
  position: relative; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.card::before {
  content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%;
  background: var(--grad); transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease);
}
.card:hover { transform: translateY(-7px); box-shadow: var(--shadow); border-color: #cfe0f5; }
.card:hover::before { transform: scaleX(1); }
.card h3 { margin-bottom: .5em; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }

.section-navy .card {
  background: rgba(255, 255, 255, .055); border-color: rgba(255, 255, 255, .13);
  color: #fff; box-shadow: none; backdrop-filter: blur(6px);
}
.section-navy .card p { color: rgba(255, 255, 255, .76); }
.section-navy .card:hover { border-color: rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .085); }

.icon-badge {
  width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(230, 0, 39, .1), rgba(11, 107, 214, .13));
  color: var(--red); margin-bottom: 18px; transition: transform .4s var(--ease);
}
.icon-badge svg { width: 26px; height: 26px; }
.card:hover .icon-badge { transform: rotate(-7deg) scale(1.08); }
.section-navy .icon-badge { background: rgba(255, 255, 255, .1); color: var(--blue-light); }
.icon-badge.big { width: 68px; height: 68px; margin: 0 auto 22px; }
.icon-badge.big svg { width: 32px; height: 32px; }

/* 課題リスト */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; }
.problem-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.problem-list li {
  display: flex; gap: 13px; align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-radius: 13px; padding: 17px 19px;
  transition: transform .28s var(--ease), border-color .28s var(--ease), box-shadow .28s var(--ease);
}
.problem-list li:hover { transform: translateX(5px); border-color: #f3c3cb; box-shadow: var(--shadow-sm); }
.problem-list .mark { color: var(--red); font-weight: 900; flex: 0 0 auto; }

.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.check-list li { display: flex; gap: 11px; align-items: flex-start; }
.check-list .mark { color: var(--blue); font-weight: 900; flex: 0 0 auto; }
.check-list.negative .mark { color: var(--ink-soft); }
.service-card .check-list li { font-size: .93rem; }

/* ---------- 成長エンジン ---------- */
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.feature-card { text-align: left; }
.feature-kicker {
  display: inline-block; font-size: .7rem; font-weight: 900; letter-spacing: .1em;
  color: var(--blue-light); background: rgba(74, 156, 240, .14);
  border-radius: 999px; padding: 3px 11px; margin-bottom: 10px;
}
.feature-card h3 { font-size: 1.22rem; margin-bottom: .35em; }
.features-note {
  margin: 34px 0 0; text-align: center; font-size: .84rem;
  color: rgba(255, 255, 255, .5) !important;
}

/* ---------- 記事自動生成 ---------- */
.article-section { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%); }
.article-split { align-items: center; }
.soon-badge {
  display: inline-block; font-size: .72rem; font-weight: 900; letter-spacing: .08em;
  color: #fff; background: var(--grad); border-radius: 999px; padding: 5px 14px; margin-bottom: 16px;
}
.article-steps { list-style: none; padding: 0; margin: 26px 0 22px; display: grid; gap: 14px; counter-reset: step; }
.article-steps li {
  position: relative; padding-left: 46px; counter-increment: step;
}
.article-steps li::before {
  content: counter(step); position: absolute; left: 0; top: 2px;
  width: 30px; height: 30px; border-radius: 50%; background: var(--grad); color: #fff;
  display: grid; place-items: center; font-size: .84rem; font-weight: 900;
}
.article-steps b { display: block; color: var(--navy-800); font-size: 1rem; }
.article-steps span { color: var(--ink-soft); font-size: .92rem; }

.kw-box {
  background: var(--navy-950); border-radius: var(--radius-lg); padding: 30px;
  box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.kw-box::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(500px 260px at 80% 0%, rgba(11, 107, 214, .38), transparent 66%);
}
.kw-box > * { position: relative; z-index: 1; }
.kw-label {
  display: block; font-size: .66rem; font-weight: 900; letter-spacing: .2em;
  color: var(--blue-light); margin-bottom: 10px;
}
.kw-input {
  display: flex; align-items: center; gap: 2px; min-height: 52px;
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 12px; padding: 13px 16px; color: #fff; font-weight: 700; font-size: .95rem;
}
.kw-caret {
  width: 2px; height: 19px; background: var(--red); display: inline-block;
  animation: caretBlink 1.05s step-end infinite;
}
@keyframes caretBlink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
.kw-arrow { text-align: center; color: var(--blue-light); font-size: 1.3rem; margin: 14px 0 12px;
  animation: arrowBob 1.9s ease-in-out infinite; }
@keyframes arrowBob { 0%, 100% { transform: translateY(0); opacity: .6; } 50% { transform: translateY(5px); opacity: 1; } }
.kw-article {
  position: relative; overflow: hidden;
  background: #fff; border-radius: 13px; padding: 20px; display: grid; gap: 10px;
}
.kw-article::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(100deg, transparent 42%, rgba(11, 107, 214, .16) 50%, transparent 58%);
  background-size: 260% 100%; animation: kwSheen 2.6s linear infinite;
}
@keyframes kwSheen {
  from { background-position: 140% 0; }
  to { background-position: -140% 0; }
}
.kw-article-bar {
  position: relative; height: 10px; border-radius: 6px; display: block; overflow: hidden;
  background: rgba(16, 27, 49, .13);
  transform-origin: left; animation: barGrow 3.4s var(--ease) infinite;
}
.kw-article-bar::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, .8) 50%, transparent 100%);
  background-size: 200% 100%; animation: barShine 1.7s linear infinite;
}
@keyframes barShine {
  from { background-position: 160% 0; }
  to { background-position: -60% 0; }
}
.kw-article-bar.w60 { width: 60%; background: rgba(11, 107, 214, .28); height: 14px; }
.kw-article-bar.w80 { width: 80%; }
.kw-article-bar.w40 { width: 40%; }
.kw-article-bar:nth-child(2) { animation-delay: .18s; }
.kw-article-bar:nth-child(2)::before { animation-delay: .18s; }
.kw-article-bar:nth-child(3) { animation-delay: .36s; }
.kw-article-bar:nth-child(3)::before { animation-delay: .36s; }
.kw-article-bar:nth-child(4) { animation-delay: .54s; }
.kw-article-bar:nth-child(4)::before { animation-delay: .54s; }
.kw-article-bar:nth-child(5) { animation-delay: .72s; }
.kw-article-bar:nth-child(5)::before { animation-delay: .72s; }
@keyframes barGrow {
  0%, 8% { transform: scaleX(0); opacity: 0; }
  22%, 78% { transform: scaleX(1); opacity: 1; }
  92%, 100% { transform: scaleX(0); opacity: 0; }
}

/* ---------- Before / After ---------- */
.compare {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 0;
}
.compare-panel {
  padding: 32px clamp(22px, 3vw, 36px); border-radius: var(--radius-lg);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.compare-panel h3 { font-size: clamp(1.1rem, 2vw, 1.35rem); margin-bottom: .5em; }
.compare-panel ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.compare-panel li { display: flex; gap: 10px; font-size: .93rem; }
.compare-panel li::before { content: "—"; opacity: .5; flex: 0 0 auto; }
.compare-label {
  display: inline-block; font-size: .7rem; font-weight: 900; letter-spacing: .12em;
  padding: 5px 13px; border-radius: 999px; margin-bottom: 15px;
}
.compare .is-before {
  background: #fff; color: var(--ink-soft); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.compare .is-before:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.compare .is-before .compare-label { background: var(--bg-soft); color: var(--ink-soft); }
.compare .is-before h3 { color: var(--navy-800); }

.compare .is-after {
  position: relative; overflow: hidden; background: var(--navy-950); color: #fff;
  box-shadow: 0 20px 50px rgba(11, 31, 63, .22);
}
.compare .is-after::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(500px 280px at 82% 12%, rgba(11, 107, 214, .42), transparent 66%);
}
.compare .is-after:hover { transform: translateY(-4px); }
.compare .is-after > * { position: relative; z-index: 1; }
.compare .is-after .compare-label { background: var(--grad); color: #fff; }
.compare .is-after h3 { color: #fff; }
.compare .is-after li::before { color: var(--blue-light); opacity: 1; }

.compare-arrow {
  position: relative; z-index: 2; justify-self: center;
  width: 60px; height: 60px; margin: 0 -14px; border-radius: 50%;
  background: var(--grad); color: #fff; display: grid; place-items: center;
  box-shadow: 0 12px 28px rgba(230, 0, 39, .3);
  animation: arrowPulse 2.4s ease-in-out infinite;
}
.compare-arrow svg { width: 24px; height: 24px; }
.compare-arrow-ring {
  position: absolute; inset: -8px; border-radius: 50%; border: 1.5px solid rgba(230, 0, 39, .35);
  animation: arrowRing 2.4s ease-out infinite;
}
@keyframes arrowPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}
@keyframes arrowRing {
  0% { transform: scale(.9); opacity: .9; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* ---------- 料金 ---------- */
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column; height: 100%;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 34px 30px; box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.plan:hover { transform: translateY(-7px); box-shadow: var(--shadow); }
.plan.featured { border-color: var(--red); box-shadow: 0 20px 50px rgba(230, 0, 39, .16); }
.plan-tag {
  position: absolute; top: -14px; left: 30px; background: var(--grad); color: #fff;
  font-size: .74rem; font-weight: 800; padding: 5px 15px; border-radius: 999px;
}
.plan-name { font-size: 1.3rem; font-weight: 900; margin-bottom: 4px; }
.plan-for { color: var(--ink-soft); font-size: .88rem; margin-bottom: 20px; }
.plan-was { display: flex; align-items: center; gap: 10px; margin-bottom: 2px; }
.plan-was s { font-size: 1.02rem; font-weight: 700; color: var(--ink-soft); text-decoration-color: var(--red); }
.plan-promo {
  font-size: .7rem; font-weight: 900; letter-spacing: .06em; color: #fff;
  background: var(--grad); border-radius: 999px; padding: 3px 11px;
  animation: promoPulse 2.4s ease-in-out infinite;
}
@keyframes promoPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(230, 0, 39, .5); }
  50% { box-shadow: 0 0 0 8px rgba(230, 0, 39, 0); }
}
.plan-price { font-size: 2.2rem; font-weight: 900; color: var(--red); line-height: 1.2; letter-spacing: -.02em; }
.plan-price .unit { font-size: .92rem; font-weight: 700; color: var(--ink-soft); }
.plan-sub { color: var(--ink-soft); font-size: .9rem; margin: 4px 0 18px; }
.plan-monthly { font-weight: 800; color: var(--navy-800); }
.plan-monthly s { color: var(--ink-soft); opacity: .8; text-decoration-color: var(--red); font-weight: 700; }
.plan ul { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; flex: 1; align-content: start; }
.plan ul li { display: flex; gap: 10px; font-size: .93rem; }
.plan ul li::before { content: "✓"; color: var(--blue); font-weight: 900; }
.plan-meta {
  display: flex; gap: 16px; flex-wrap: wrap; font-size: .81rem; color: var(--ink-soft);
  border-top: 1px dashed var(--line); padding-top: 15px; margin-top: auto;
}
.pilot-card { border-color: var(--red); }
.pilot-price { font-size: 1.35rem; font-weight: 900; color: var(--red); margin-bottom: 18px; }
.pilot-cta { margin: 22px 0 0; }

/* テーブル */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius); }
table {
  width: 100%; border-collapse: collapse; background: #fff; font-size: .92rem;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; min-width: 620px;
}
th, td { padding: 15px 17px; text-align: left; border-bottom: 1px solid var(--line); }
th { background: var(--bg-soft); font-weight: 800; color: var(--navy-800); white-space: nowrap; }
tr:last-child td, tr:last-child th { border-bottom: none; }
tbody tr { transition: background .2s var(--ease); }
tbody tr:hover { background: var(--blue-pale); }
td.num, th.num { text-align: right; white-space: nowrap; }

/* ---------- タブ ---------- */
.tabs { display: flex; gap: 9px; margin-bottom: 34px; flex-wrap: wrap; }
.tab {
  padding: 12px 24px; border-radius: 999px; border: 1px solid var(--line); background: #fff;
  font-weight: 800; font-size: .9rem; color: var(--navy-800); cursor: pointer;
  font-family: inherit; transition: all .28s var(--ease);
}
.tab:hover { border-color: var(--blue); color: var(--blue); }
.tab[aria-selected="true"] { background: var(--navy-800); color: #fff; border-color: var(--navy-800); }
.tab-panel[hidden] { display: none; }
.tab-panel { animation: fadeUp .5s var(--ease) both; }

.demo-tag {
  display: inline-block; background: var(--navy-800); color: #fff;
  font-size: .7rem; font-weight: 800; letter-spacing: .08em;
  padding: 4px 11px; border-radius: 7px; margin-bottom: 14px;
}
.demo-card h3 { margin-bottom: .2em; }
.demo-headline { color: var(--red); font-weight: 800; font-size: .92rem; margin-bottom: 16px; }
.demo-flow { display: grid; gap: 10px; }
.demo-flow div {
  padding: 13px 15px; border-radius: 11px; background: var(--bg-soft);
  border-left: 3px solid var(--line); font-size: .89rem; line-height: 1.7;
}
.demo-flow .is-problem { border-left-color: var(--red); }
.demo-flow .is-fix { border-left-color: var(--blue); }
.demo-flow .is-goal { border-left-color: var(--navy-800); }
.demo-flow strong { display: block; font-size: .74rem; color: var(--ink-soft); margin-bottom: 3px; letter-spacing: .06em; }

/* ---------- 制作の流れ ---------- */
.steps { position: relative; display: grid; gap: 22px; }
.steps::before {
  content: ""; position: absolute; left: 22px; top: 12px; bottom: 12px; width: 2px;
  background: var(--line);
}
.steps-progress {
  position: absolute; left: 22px; top: 12px; width: 2px; height: 0;
  background: var(--grad); z-index: 1; transition: height .2s linear;
}
.step { position: relative; display: grid; grid-template-columns: 46px 1fr; gap: 22px; align-items: start; }
.step-num {
  width: 46px; height: 46px; border-radius: 50%; background: #fff;
  border: 2px solid var(--navy-800); color: var(--navy-800);
  display: grid; place-items: center; font-weight: 900; z-index: 2;
  transition: background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.step:hover .step-num { background: var(--navy-800); color: #fff; transform: scale(1.09); }
.step-body {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 26px; box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.step:hover .step-body { transform: translateX(4px); box-shadow: var(--shadow); }
.step-body p { margin-bottom: 0; }
.step-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.step-meta span {
  font-size: .78rem; background: var(--bg-soft); border: 1px solid var(--line);
  border-radius: 999px; padding: 4px 13px; color: var(--ink-soft);
}

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq-item {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: border-color .28s var(--ease), box-shadow .28s var(--ease);
}
.faq-item.is-open { border-color: var(--blue); box-shadow: var(--shadow-sm); }
.faq-item h3 { margin: 0; font-size: 1rem; }
.faq-q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  padding: 21px 58px 21px 24px; font-size: 1rem; font-weight: 800; color: var(--navy-800);
  font-family: inherit; position: relative; line-height: 1.6;
}
.faq-q::after {
  content: ""; position: absolute; right: 24px; top: 50%; width: 11px; height: 11px;
  border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue);
  transform: translateY(-70%) rotate(45deg); transition: transform .3s var(--ease);
}
.faq-item.is-open .faq-q::after { transform: translateY(-20%) rotate(-135deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.faq-a > div { padding: 0 24px 24px; color: var(--ink-soft); }
.faq-extra { margin-top: 34px; text-align: center; }

/* ---------- フォーム ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 44px; align-items: start; }
.form-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(26px, 4vw, 44px); box-shadow: var(--shadow-sm);
}
.field { margin-bottom: 22px; }
.field label { display: block; font-weight: 800; font-size: .92rem; margin-bottom: 9px; }
.req, .opt { font-size: .68rem; font-weight: 800; padding: 3px 9px; border-radius: 6px; margin-left: 8px; vertical-align: 2px; }
.req { background: rgba(230, 0, 39, .1); color: var(--red); }
.opt { background: var(--bg-soft); color: var(--ink-soft); }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px;
  font-family: inherit; font-size: 1rem; color: var(--ink); background: #fff;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(11, 107, 214, .12);
}
.field .error-text { display: none; color: var(--red); font-size: .84rem; font-weight: 700; margin: 7px 0 0; }
.field.has-error input, .field.has-error select, .field.has-error textarea {
  border-color: var(--red); background: #fff8f9;
}
.field.has-error .error-text { display: block; animation: shake .32s var(--ease); }
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}
.field-hint { font-size: .82rem; color: var(--ink-soft); margin: 7px 0 0; }
.consent { display: flex; gap: 11px; align-items: flex-start; font-size: .92rem; font-weight: 400 !important; }
.consent input { width: 18px; height: 18px; flex: 0 0 auto; margin-top: 5px; }
.form-note {
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: 13px;
  padding: 17px 19px; font-size: .87rem; color: var(--ink-soft); margin-bottom: 28px; line-height: 1.8;
}
.form-status { display: none; margin: 18px 0 0; padding: 15px 19px; border-radius: 12px; font-size: .9rem; font-weight: 700; }
.form-status.is-error { display: block; background: #fff1f3; color: var(--red-dark); }

.contact-methods { display: grid; gap: 13px; margin-bottom: 24px; }
.contact-method {
  display: flex; gap: 15px; align-items: center; background: #fff;
  border: 1px solid var(--line); border-radius: 14px; padding: 17px 19px;
  transition: transform .28s var(--ease), border-color .28s var(--ease), box-shadow .28s var(--ease);
}
.contact-method:hover { transform: translateY(-3px); border-color: var(--blue); box-shadow: var(--shadow-sm); }
.contact-method .icon-badge { margin-bottom: 0; width: 46px; height: 46px; }
.contact-method b { display: block; font-size: .95rem; color: var(--navy-800); }
.contact-method > span > span { font-size: .85rem; color: var(--ink-soft); }
.thanks-card { text-align: left; margin-top: 34px; }
.thanks-card .mark { color: #fff; background: var(--grad); width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center; font-size: .72rem; margin-top: 4px; }

/* ---------- CTA帯 ---------- */
.cta-band {
  position: relative; overflow: hidden; text-align: center;
  background: var(--navy-950); color: #fff;
}
.cta-glow {
  position: absolute; inset: 0;
  background:
    radial-gradient(700px 340px at 20% 0%, rgba(230, 0, 39, .34), transparent 62%),
    radial-gradient(760px 380px at 80% 100%, rgba(11, 107, 214, .4), transparent 62%);
  animation: glowShift 14s ease-in-out infinite alternate;
}
@keyframes glowShift {
  from { transform: translateX(-3%) scale(1); }
  to { transform: translateX(3%) scale(1.08); }
}
.cta-band .wrap { position: relative; z-index: 2; }
.cta-band h2 { color: #fff; margin-bottom: .4em; }
.cta-band p { color: rgba(255, 255, 255, .8); max-width: 44em; margin-inline: auto; }
.cta-band .btn { margin-top: 12px; }
.cta-sub { font-size: .86rem; color: rgba(255, 255, 255, .55) !important; margin-top: 20px; }

.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: none;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .95); backdrop-filter: blur(14px);
  border-top: 1px solid var(--line); box-shadow: 0 -6px 24px rgba(11, 31, 63, .1);
  transform: translateY(110%); transition: transform .35s var(--ease);
}
.sticky-cta.is-visible { transform: translateY(0); }

/* ---------- フッター ---------- */
.site-footer {
  background: var(--navy-950); color: rgba(255, 255, 255, .72);
  padding: 70px 0 30px; position: relative;
}
.site-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--grad); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 44px; }
.footer-logo { background: #fff; border-radius: 13px; padding: 12px 16px; display: inline-block; margin-bottom: 20px; }
.footer-logo img { height: 34px; width: auto; display: block; }
.footer-tag { font-size: .85rem; color: rgba(255, 255, 255, .5); }
.site-footer h4 { color: #fff; font-size: .9rem; letter-spacing: .06em; margin-bottom: 17px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { color: rgba(255, 255, 255, .72); font-size: .9rem; }
.site-footer a:hover { color: #fff; }
.footer-bottom {
  margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: .82rem; color: rgba(255, 255, 255, .5);
}

/* ---------- ページヘッダー ---------- */
.page-hero h1 { color: #fff; margin-bottom: .35em; }
.page-hero p { color: rgba(255, 255, 255, .8); max-width: 46em; margin: 0; }
.breadcrumb { font-size: .82rem; color: rgba(255, 255, 255, .58); margin-bottom: 16px; }
.breadcrumb a { color: rgba(255, 255, 255, .78); }
.breadcrumb a:hover { color: #fff; }

/* ---------- 法務ページ ---------- */
.doc h2 { font-size: 1.26rem; margin-top: 2.4em; padding-bottom: .45em; border-bottom: 2px solid var(--line); }
.doc h2:first-of-type { margin-top: 0; }
.doc p, .doc li { color: var(--ink-soft); }
.doc .updated { font-size: .85rem; color: var(--ink-soft); }

/* ---------- 404 ---------- */
.notfound { min-height: 74vh; display: grid; place-items: center; text-align: center; padding: 90px 0; }
.notfound img { height: 96px; margin: 0 auto 26px; }
.notfound .code {
  font-size: clamp(4.5rem, 16vw, 9rem); font-weight: 900; line-height: 1; letter-spacing: -.04em;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- アニメーション ---------- */
.reveal { opacity: 0; transform: translateY(30px); }
.reveal.is-in { animation: fadeUp .8s var(--ease) forwards; }
.reveal[data-delay="1"].is-in { animation-delay: .1s; }
.reveal[data-delay="2"].is-in { animation-delay: .2s; }
.reveal[data-delay="3"].is-in { animation-delay: .3s; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.progress-bar {
  position: fixed; top: 0; left: 0; height: 3px; z-index: 200; width: 0;
  background: var(--grad); transition: width .1s linear;
}

/* ---------- レスポンシブ ---------- */
@media (max-width: 1240px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .nav a { padding: 8px 7px; font-size: .8rem; }
  .header-side .lang-switch { display: none; }
}

@media (max-width: 1100px) {
  .hero-inner { grid-template-columns: 1fr; gap: 52px; }
  .hero-visual { max-width: 470px; }
}

@media (max-width: 900px) {
  :root { --header-h: 68px; }
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; background: #fff; margin: 0;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    max-height: 0; overflow: hidden; transition: max-height .4s var(--ease);
  }
  .nav.is-open { max-height: 82vh; overflow-y: auto; }
  .nav > ul { flex-direction: column; padding: 12px 20px 8px; gap: 0; }
  .nav a { padding: 15px 4px; font-size: 1rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav a::after { display: none; }
  .nav-lang { display: block; padding: 16px 20px 22px; }
  .nav-lang .lang-switch { justify-content: center; gap: 6px; }
  .nav-lang .lang-switch a { border: 1px solid var(--line); }
  .header-side .btn { display: none; }
  .grid-2, .grid-3, .grid-4, .plan-grid, .footer-grid, .split, .contact-grid { grid-template-columns: 1fr; }
  .split { gap: 32px; }
  .compare { grid-template-columns: 1fr; }
  .compare-arrow { margin: -14px auto; transform: rotate(90deg); }
  .compare-arrow[style] { transform: rotate(90deg) scale(1.08); }
  .sticky-cta { display: block; }
}

@media (max-width: 560px) {
  .brand img { height: 32px; }
  .hero-actions .btn, .center-cta .btn { width: 100%; }
  .card, .plan { padding: 24px; }
  .step { grid-template-columns: 38px 1fr; gap: 15px; }
  .step-num { width: 38px; height: 38px; font-size: .9rem; }
  .steps::before, .steps-progress { left: 18px; }
  .device-toast { right: 16px; left: 16px; top: 46px; width: auto; }
  .compare-panel { padding: 30px 22px; }
  .kw-box { padding: 22px; }
  .marquee-row span { font-size: .78rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important; scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .sticky-cta, .cta-band, .progress-bar, .marquee, .hero-scroll { display: none !important; }
  body { color: #000; }
}
