/* =========================================================
   BLUEPAGE — Official Website
   ========================================================= */
:root {
  --blue: #315CFF;
  --blue-2: #4778FF;
  --navy: #101B35;
  --ink: #171C29;
  --soft: #EEF3FF;
  --white: #FFFFFF;
  --gray: #F6F7FA;
  --line: #E7EAF1;
  --muted: #5D6577;
  --muted-2: #8A91A2;

  --font: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Noto Sans KR', 'Malgun Gothic', sans-serif;
  --wrap: 1200px;
  --wrap-wide: 1360px;
  --gut: clamp(20px, 4vw, 40px);
  --r: 14px;
  --r-lg: 22px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --hd: 72px;

  --fs-display: clamp(40px, 7.6vw, 116px);
  --fs-h1: clamp(38px, 6vw, 84px);
  --fs-h2: clamp(30px, 4.3vw, 60px);
  --fs-h3: clamp(21px, 1.9vw, 28px);
  --fs-lead: clamp(16px, 1.25vw, 19px);
}

@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .35s; animation-timing-function: var(--ease); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hd) + 16px); }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font-family: var(--font); font-size: 17px; line-height: 1.7; letter-spacing: -0.012em;
  word-break: keep-all; overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--blue); color: #fff; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gut) * 2); margin-inline: auto; padding-inline: var(--gut); }
.wrap-wide { width: 100%; max-width: calc(var(--wrap-wide) + var(--gut) * 2); margin-inline: auto; padding-inline: var(--gut); }
.skip { position: fixed; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; }
.muted { color: var(--muted-2); font-weight: 500; margin-left: 6px; }
.ico { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- type ---------- */
.h2 { font-size: var(--fs-h2); line-height: 1.14; letter-spacing: -0.045em; font-weight: 760; }
.h3 { font-size: var(--fs-h3); line-height: 1.35; letter-spacing: -0.035em; font-weight: 720; }
.lead { font-size: var(--fs-lead); line-height: 1.75; color: var(--muted); }
.tiny-note { margin-top: 14px; font-size: 14px; color: var(--muted-2); }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--ink); --fg: #fff; --bd: transparent;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 54px; padding: 0 26px; border-radius: 999px; border: 1px solid var(--bd);
  background: var(--bg); color: var(--fg); font-size: 16px; font-weight: 650; letter-spacing: -0.02em; white-space: nowrap;
  overflow: hidden; isolation: isolate; transition: color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--hov, var(--navy)); transform: translateY(101%); border-radius: inherit; transition: transform .45s var(--ease); }
.btn:hover::before { transform: translateY(0); }
.btn .ico { transition: transform .35s var(--ease); }
.btn:hover .ico { transform: translateX(3px); }
.btn:active { transform: scale(.98); }
.btn-blue { --bg: var(--blue); --hov: var(--navy); }
.btn-ink { --bg: var(--ink); --hov: var(--blue); }
.btn-line { --bg: transparent; --fg: var(--ink); --bd: #CBD1DE; --hov: var(--ink); }
.btn-line:hover { --fg: #fff; border-color: var(--ink); }
.btn-white { --bg: #fff; --fg: var(--blue); --hov: var(--navy); }
.btn-white:hover { --fg: #fff; }
.btn-sm { height: 44px; padding: 0 18px; font-size: 15px; gap: 8px; }
.btn-xl { height: 64px; padding: 0 34px; font-size: 18px; }
.btn-block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 650; color: var(--blue); border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.link-arrow .ico { transition: transform .3s var(--ease); }
.link-arrow:hover .ico { transform: translateX(4px); }
.link-arrow.sm { font-size: 15px; margin-left: 12px; }
.pill { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 13px; font-weight: 600; }
.pill-soft { background: var(--soft); color: var(--blue); }

/* ---------- logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 9px; }
.logo-mark { width: 26px; height: 26px; flex: none; }
.logo-type { font-weight: 850; font-size: 19px; letter-spacing: -0.02em; color: var(--ink); }
.logo-light .logo-type { color: #fff; }

/* ---------- header ---------- */
.hd { position: fixed; inset: 0 0 auto; z-index: 100; height: var(--hd); transition: transform .45s var(--ease), background-color .35s, box-shadow .35s; }
.hd::before { content: ""; position: absolute; inset: 0; background: rgba(255, 255, 255, .82); backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px); opacity: 0; transition: opacity .35s; box-shadow: 0 1px 0 var(--line); }
.hd.is-scrolled::before { opacity: 1; }
.hd.is-hidden { transform: translateY(-100%); }
.hd-in { position: relative; height: 100%; display: flex; align-items: center; gap: 24px; max-width: calc(var(--wrap-wide) + var(--gut) * 2); margin-inline: auto; padding-inline: var(--gut); }
.hd-logo { margin-right: auto; }
.hd-nav ul { display: flex; gap: 6px; }
.hd-nav a { position: relative; display: block; padding: 8px 14px; font-size: 15px; font-weight: 560; color: #39404F; border-radius: 999px; transition: color .25s, background-color .25s; }
.hd-nav a:hover { color: var(--ink); background: var(--gray); }
.hd-nav a[aria-current="page"] { color: var(--blue); }
.hd-nav a[aria-current="page"]::after { content: ""; position: absolute; left: 50%; bottom: 1px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--blue); }
.hd-cta { margin-left: 8px; }
.hd-burger { display: none; position: relative; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); }
.hd-burger span { position: absolute; left: 14px; right: 14px; height: 2px; background: #fff; border-radius: 2px; transition: transform .35s var(--ease); }
.hd-burger span:first-child { top: 18px; }
.hd-burger span:last-child { top: 24px; }
.menu-open .hd-burger span:first-child { transform: translateY(3px) rotate(45deg); }
.menu-open .hd-burger span:last-child { transform: translateY(-3px) rotate(-45deg); }
.menu-open .hd::before { opacity: 1; box-shadow: none; background: #fff; }
.menu-open .hd { transform: none; }

.mnav { position: fixed; inset: 0; z-index: 90; background: #fff; padding: calc(var(--hd) + 16px) var(--gut) calc(24px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; overflow-y: auto; }
.mnav[hidden] { display: none; }
.mnav ol { flex: 1; }
.mnav li { border-bottom: 1px solid var(--line); opacity: 0; transform: translateY(14px); animation: mIn .5s var(--ease) forwards; animation-delay: calc(var(--i) * 40ms + 60ms); }
.mnav li a { display: flex; align-items: baseline; gap: 14px; padding: 15px 2px; font-size: clamp(24px, 7.2vw, 30px); font-weight: 720; letter-spacing: -0.04em; }
.mnav li a span { font-size: 13px; font-weight: 600; color: var(--muted-2); letter-spacing: 0; font-variant-numeric: tabular-nums; }
.mnav li a[aria-current="page"] { color: var(--blue); }
.mnav-foot { padding-top: 24px; }
.mnav-foot p { margin-top: 14px; font-size: 13px; color: var(--muted-2); text-align: center; }
@keyframes mIn { to { opacity: 1; transform: none; } }

/* ---------- reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- browser / phone frames ---------- */
.browser { position: relative; border-radius: 12px; background: #fff; overflow: hidden; box-shadow: 0 0 0 1px rgba(16, 27, 53, .08), 0 24px 60px -28px rgba(16, 27, 53, .35); }
.browser-bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; background: #F3F4F7; border-bottom: 1px solid var(--line); }
.browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: #D7DBE4; }
.browser-bar span { flex: 1; margin: 0 40px 0 14px; height: 22px; line-height: 22px; border-radius: 6px; background: #fff; color: var(--muted-2); font-size: 11.5px; text-align: center; letter-spacing: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.browser-view { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--gray); }
.browser-view > img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.browser-lg { border-radius: 16px; }
.browser-lg .browser-bar { height: 40px; }
.browser-lg .browser-bar i { width: 11px; height: 11px; }
.browser-lg .browser-bar span { font-size: 13px; height: 26px; line-height: 26px; max-width: 420px; margin-inline: auto; }

.phone { position: relative; padding: 7px; border-radius: 36px; background: #0D1222; box-shadow: 0 0 0 1px rgba(255, 255, 255, .06) inset, 0 30px 60px -24px rgba(16, 27, 53, .45); }
.phone-view { position: relative; border-radius: 29px; overflow: hidden; aspect-ratio: 390 / 844; background: #fff; }
.phone-view::before { content: ""; position: absolute; z-index: 2; top: 8px; left: 50%; width: 28%; height: 18px; margin-left: -14%; border-radius: 12px; background: #0D1222; }
.phone-view img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

/* =========================================================
   HOME — HERO
   ========================================================= */
.hero { position: relative; padding-top: calc(var(--hd) + clamp(48px, 9vh, 104px)); overflow: hidden; }
.hero-top { max-width: calc(var(--wrap-wide) + var(--gut) * 2); display: grid; grid-template-columns: 1fr; gap: 36px; }
.hero-title { font-size: var(--fs-display); line-height: 1.04; letter-spacing: -0.055em; font-weight: 820; }
.hero-title .ln { display: block; overflow: hidden; padding-bottom: .06em; }
.hero-title .ln > span { display: inline-block; }
.hero-title .ln:nth-child(2) { padding-left: clamp(0px, 9vw, 150px); }
.hero-title em { font-style: normal; color: var(--blue); position: relative; }
.js .hero-title .ln > span { transform: translateY(105%); animation: lineUp 1.1s var(--ease) forwards; }
.js .hero-title .ln:nth-child(2) > span { animation-delay: .12s; }
@keyframes lineUp { to { transform: none; } }
.hero-side { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding-left: clamp(0px, 9vw, 150px); }
.hero-sub { font-size: clamp(17px, 1.5vw, 21px); line-height: 1.65; color: var(--muted); font-weight: 500; }
.hero-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.js .hero-side { opacity: 0; animation: fadeUp 1s var(--ease) .45s forwards; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

.stage { position: relative; margin-top: clamp(48px, 7vw, 96px); }
.stage-in {
  --p: 0;
  position: relative; max-width: calc(var(--wrap-wide) + var(--gut) * 2); margin-inline: auto; padding-inline: var(--gut);
  height: clamp(340px, 47vw, 660px);
}
.stage-in::before {
  content: ""; position: absolute; inset: 12% var(--gut) 0; border-radius: 28px 28px 0 0;
  background:
    radial-gradient(60% 70% at 50% 100%, rgba(71, 120, 255, .35), transparent 70%),
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px) 0 0 / 56px 56px,
    var(--navy);
}
.st { position: absolute; will-change: transform; }
.st-main { left: 50%; top: 0; width: min(62%, 860px); transform: translate(-50%, calc(var(--p) * -36px)) scale(calc(.94 + var(--p) * .06)); transform-origin: 50% 0; z-index: 3; }
.st-main .browser { box-shadow: 0 0 0 1px rgba(16, 27, 53, .08), 0 50px 90px -40px rgba(8, 14, 34, .7); }
.st-back { top: 20%; width: 36%; z-index: 1; opacity: .9; }
.st-back .browser { box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.st-l { left: calc(var(--gut) + 3%); transform: translateX(calc(var(--p) * -40px)) rotate(-2deg); }
.st-r { right: calc(var(--gut) + 3%); transform: translateX(calc(var(--p) * 40px)) rotate(2deg); }
.st-phone { z-index: 4; width: clamp(110px, 13vw, 190px); right: calc(50% - min(31%, 430px) - 2%); top: 26%; transform: translateY(calc(var(--p) * -70px)); }
.cyc { position: relative; }
.cyc img { position: absolute; inset: 0; opacity: 0; transition: opacity .9s var(--ease), transform 6s linear; transform: scale(1.02); }
.cyc img.is-on { opacity: 1; transform: scale(1); }
.phone-view .cyc { position: absolute; inset: 0; }
.st-main .browser-view { aspect-ratio: 16 / 10; }

.stage-cap { position: relative; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 22px 26px; background: var(--navy); color: #fff; }
.stage-cap::before { content: ""; position: absolute; inset: 0 var(--gut); background: var(--navy); z-index: -1; border-radius: 0 0 28px 28px; }
.stage-cap { background: none; }
.stage-now { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; padding-left: clamp(16px, 3vw, 40px); }
.stage-now-k { font-size: 13px; color: rgba(255,255,255,.55); }
.stage-now strong { font-size: clamp(18px, 1.7vw, 24px); font-weight: 720; letter-spacing: -0.03em; }
.stage-now span:last-child { font-size: 14px; color: rgba(255,255,255,.7); }
.stage-now:hover strong { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.stage-dots { display: flex; gap: 6px; padding-right: clamp(16px, 3vw, 40px); }
.stage-dots button { width: 34px; height: 30px; display: grid; place-items: center; }
.stage-dots i { position: relative; width: 100%; height: 3px; border-radius: 3px; background: rgba(255,255,255,.2); overflow: hidden; }
.stage-dots i::after { content: ""; position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: left; }
.stage-dots [aria-selected="true"] i::after { animation: dot var(--cyc, 4.2s) linear forwards; }
.stage-dots.is-paused [aria-selected="true"] i::after { animation: none; transform: scaleX(1); }
@keyframes dot { to { transform: scaleX(1); } }

.ticker { overflow: hidden; border-bottom: 1px solid var(--line); padding: 22px 0; margin-top: clamp(40px, 5vw, 64px); }
.ticker-in { display: flex; width: max-content; animation: tick 60s linear infinite; }
.ticker-in > span { display: flex; align-items: center; }
.ticker b { font-size: clamp(18px, 1.8vw, 24px); font-weight: 720; letter-spacing: -0.03em; margin-left: 40px; }
.ticker i { font-style: normal; margin-left: 12px; font-size: 14px; color: var(--muted-2); }
.ticker b::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 40px; border-radius: 50%; background: var(--blue); vertical-align: middle; transform: translateY(-2px); }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.sec { padding-block: clamp(88px, 11vw, 160px); }
.sec-head { margin-bottom: clamp(44px, 6vw, 80px); }
.split { display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px 64px; align-items: end; }
.split .lead { max-width: 480px; }

/* services rows */
.svc-rows { border-top: 1px solid var(--ink); }
.svc-row { position: relative; display: grid; grid-template-columns: 90px 1fr 220px 56px; align-items: center; gap: 24px; padding: clamp(28px, 3.2vw, 44px) 0; border-bottom: 1px solid var(--line); transition: padding .5s var(--ease); }
.svc-no { font-size: 15px; font-weight: 650; color: var(--blue); font-variant-numeric: tabular-nums; }
.svc-name { display: block; font-size: clamp(26px, 3.1vw, 44px); font-weight: 750; letter-spacing: -0.045em; line-height: 1.2; transition: color .35s, transform .5s var(--ease); }
.svc-short { display: block; margin-top: 10px; color: var(--muted); max-width: 520px; font-size: 16px; }
.svc-price { text-align: right; }
.svc-price small { display: block; font-size: 13px; color: var(--muted-2); }
.svc-price b { font-size: 19px; font-weight: 700; letter-spacing: -0.03em; }
.svc-go { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); transition: background-color .35s, color .35s, border-color .35s, transform .45s var(--ease); }
.svc-go .ico { width: 22px; height: 22px; }
.svc-peek { position: absolute; z-index: 2; right: 300px; top: 50%; width: 280px; aspect-ratio: 16/10; border-radius: 10px; overflow: hidden; pointer-events: none; box-shadow: 0 24px 50px -20px rgba(16,27,53,.45); opacity: 0; transform: translateY(-50%) rotate(-3deg) scale(.88); transition: opacity .4s var(--ease), transform .55s var(--ease); }
.svc-peek img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
@media (hover: hover) {
  .svc-row:hover .svc-name { color: var(--blue); transform: translateX(8px); }
  .svc-row:hover .svc-go { background: var(--blue); border-color: var(--blue); color: #fff; transform: rotate(-45deg); }
  .svc-row:hover .svc-peek { opacity: 1; transform: translateY(-50%) rotate(-3deg) scale(1); }
}
.svc-note { margin-top: 24px; font-size: 14px; color: var(--muted-2); }

/* works (home) */
.works { padding-bottom: clamp(88px, 10vw, 140px); }
.wk-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(56px, 6vw, 88px) clamp(20px, 2.4vw, 32px); max-width: calc(var(--wrap-wide) + var(--gut) * 2); }
.wk-a { grid-column: 1 / -1; }
.wk-b { grid-column: 1 / span 7; }
.wk-c { grid-column: 8 / -1; }
.wk-d { grid-column: 1 / -1; }
.wk-link { display: block; }
.wk-visual { position: relative; border-radius: var(--r-lg); overflow: hidden; }
.wk-scroll .browser { border-radius: var(--r-lg); }
.wk-scroll .browser-view { aspect-ratio: 16 / 8.4; }
.wk-scroll .browser-view img, .case-browser .browser-view img { object-position: 50% 0; transition: object-position 5s cubic-bezier(.35, .1, .25, 1); }
@media (hover: hover) { .wk-link:hover .wk-scroll .browser-view img { object-position: 50% 100%; } .case-visual:hover .case-browser .browser-view img { object-position: 50% 70%; } }
.wk-tint { background: var(--tone); aspect-ratio: 7 / 5.4; }
.wk-b-main { position: absolute; left: 7%; top: 9%; width: 82%; transition: transform .8s var(--ease); }
.wk-b-phone { position: absolute; right: 6%; bottom: -14%; width: 25%; transition: transform .8s var(--ease); }
.wk-c .wk-tint { aspect-ratio: auto; height: calc(100% - 0px); }
.wk-c .wk-link { height: 100%; display: flex; flex-direction: column; }
.wk-c .wk-visual { flex: 1; min-height: 360px; }
.wk-duo { display: flex; justify-content: center; align-items: center; gap: 4%; padding: 8% 6%; }
.wk-duo .phone { width: 43%; transition: transform .8s var(--ease); }
.wk-duo .phone:last-child { transform: translateY(12%); }
@media (hover: hover) {
  .wk-link:hover .wk-b-main { transform: translateY(-8px); }
  .wk-link:hover .wk-b-phone { transform: translateY(-20px); }
  .wk-link:hover .wk-duo .phone:first-child { transform: translateY(-4%); }
  .wk-link:hover .wk-duo .phone:last-child { transform: translateY(6%); }
}
.wk-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 12px 24px; flex-wrap: wrap; padding-top: 22px; }
.wk-name { display: flex; align-items: baseline; gap: 14px; }
.wk-no { font-size: 14px; font-weight: 650; color: var(--blue); font-variant-numeric: tabular-nums; }
.wk-name h3 { font-size: clamp(22px, 2.2vw, 32px); font-weight: 740; letter-spacing: -0.04em; line-height: 1.25; }
.wk-name h3 small { font-size: 14px; font-weight: 600; color: var(--muted-2); letter-spacing: 0.02em; margin-left: 6px; }
.wk-type { color: var(--muted); font-size: 15px; }
.wk-link:hover .wk-name h3 { color: var(--blue); }
.wk-band { display: grid; grid-template-columns: 0.8fr 1.2fr; align-items: center; gap: 24px; background: var(--navy); color: #fff; padding: clamp(32px, 5vw, 72px); padding-right: 0; min-height: 520px; }
.wk-band-copy .wk-no { color: #8FA8FF; }
.wk-band-copy h3 { margin-top: 14px; font-size: clamp(30px, 3.6vw, 52px); font-weight: 780; letter-spacing: -0.05em; line-height: 1.15; }
.wk-band-copy p { margin-top: 16px; color: rgba(255,255,255,.72); max-width: 380px; }
.wk-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.wk-tags span { padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.2); font-size: 13px; color: rgba(255,255,255,.85); }
.wk-band-art { position: relative; transform: translateX(6%); transition: transform .9s var(--ease); }
.wk-band-art .browser { box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); }
.wk-d-phone { position: absolute; left: -12%; bottom: -18%; width: 24%; }
@media (hover: hover) { .wk-link:hover .wk-band-art { transform: translateX(3%); } }

.wk-more { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-top: clamp(64px, 7vw, 96px); }
.wk-index { flex: 1; border-top: 1px solid var(--line); }
.wk-index a { position: relative; display: grid; grid-template-columns: 50px 220px 1fr 24px; align-items: center; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); transition: color .3s; }
.wk-index b { font-size: 20px; font-weight: 720; letter-spacing: -0.03em; }
.wk-index a > span:nth-of-type(2) { color: var(--muted); font-size: 15px; }
.wk-index-img { position: absolute; right: 60px; top: 50%; width: 200px; aspect-ratio: 16/10; border-radius: 8px; overflow: hidden; opacity: 0; transform: translateY(-50%) scale(.9); transition: opacity .35s, transform .45s var(--ease); pointer-events: none; box-shadow: 0 20px 40px -20px rgba(16,27,53,.5); }
.wk-index-img img { width: 100%; height: 100%; object-fit: cover; }
@media (hover: hover) { .wk-index a:hover { color: var(--blue); } .wk-index a:hover .wk-index-img { opacity: 1; transform: translateY(-50%) scale(1); } }

/* flow (home process) */
.flow { background: var(--navy); color: #fff; }
.flow .lead { color: rgba(255,255,255,.66); }
.flow-steps { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px; padding-top: 44px; }
.flow-line { position: absolute; left: 0; right: 0; top: 0; height: 2px; background: rgba(255,255,255,.12); }
.flow-line i { position: absolute; inset: 0; background: var(--blue-2); transform-origin: left; transform: scaleX(var(--fp, 0)); }
.flow-steps li { position: relative; }
.flow-steps li::before { content: ""; position: absolute; top: -50px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--navy); border: 2px solid var(--blue-2); }
.flow-no { display: block; font-size: clamp(40px, 4.2vw, 60px); font-weight: 200; letter-spacing: -0.04em; line-height: 1; color: #8FA8FF; font-variant-numeric: tabular-nums; }
.flow-steps h3 { margin-top: 22px; font-size: 19px; font-weight: 700; letter-spacing: -0.03em; }
.flow-steps p { margin-top: 10px; font-size: 15px; color: rgba(255,255,255,.66); line-height: 1.7; }
.flow .link-arrow { margin-top: 56px; color: #fff; }

/* why */
.why-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px 96px; align-items: start; }
.why-head { position: sticky; top: calc(var(--hd) + 40px); }
.why-head .lead { margin-top: 28px; max-width: 440px; }
.why-list { border-top: 1px solid var(--ink); }
.why-list li { display: grid; grid-template-columns: 64px 1fr; gap: 16px; padding: 32px 0; border-bottom: 1px solid var(--line); }
.why-no { font-size: 15px; font-weight: 650; color: var(--blue); padding-top: 4px; font-variant-numeric: tabular-nums; }
.why-list h3 { font-size: clamp(21px, 1.9vw, 26px); font-weight: 720; letter-spacing: -0.035em; }
.why-list p { margin-top: 8px; color: var(--muted); }

/* CTA */
.cta { background: var(--blue); color: #fff; padding-block: clamp(88px, 11vw, 150px); position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; right: -10%; top: -40%; width: 60%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,255,255,.18), transparent); pointer-events: none; }
.cta-in { position: relative; display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px 64px; align-items: end; }
.cta-title { font-size: clamp(34px, 5.2vw, 74px); line-height: 1.12; letter-spacing: -0.05em; font-weight: 790; }
.cta-side p { color: rgba(255,255,255,.82); font-size: var(--fs-lead); margin-bottom: 30px; }

/* FAQ */
.faq { padding-block: clamp(88px, 10vw, 140px); background: var(--gray); }
.faq-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 48px 80px; }
.faq-head .lead { margin-top: 20px; }
.faq-list { border-top: 1px solid var(--ink); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { display: grid; grid-template-columns: 44px 1fr 32px; gap: 8px; align-items: center; padding: 24px 0; cursor: pointer; list-style: none; font-size: clamp(17px, 1.4vw, 20px); font-weight: 660; letter-spacing: -0.03em; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-q { color: var(--blue); font-size: 15px; font-weight: 700; }
.faq-i { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); transition: transform .4s var(--ease), background-color .3s, color .3s; }
.faq-item[open] .faq-i { transform: rotate(45deg); background: var(--ink); color: #fff; border-color: var(--ink); }
.faq-item summary:hover .faq-t { color: var(--blue); }
.faq-a { padding: 0 40px 26px 52px; color: var(--muted); overflow: hidden; }
.faq-a.is-anim { transition: height .4s var(--ease); }

/* =========================================================
   SUB PAGES
   ========================================================= */
.phead { padding-top: calc(var(--hd) + clamp(56px, 9vw, 120px)); padding-bottom: clamp(56px, 7vw, 96px); border-bottom: 1px solid var(--line); }
.phead-k { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 650; color: var(--blue); margin-bottom: 24px; }
.phead-k::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--blue); }
.phead-t { font-size: var(--fs-h1); line-height: 1.1; letter-spacing: -0.052em; font-weight: 800; }
.phead-l { margin-top: 32px; max-width: 640px; font-size: var(--fs-lead); color: var(--muted); }
.jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 44px; }
.jump a { display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 20px; border: 1px solid var(--line); border-radius: 999px; font-weight: 600; font-size: 15px; transition: border-color .3s, color .3s, background-color .3s; }
.jump a span { color: var(--blue); font-size: 13px; }
.jump a:hover { border-color: var(--ink); background: var(--ink); color: #fff; }

/* about */
.about-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
.about-big { font-size: clamp(22px, 2.3vw, 32px); line-height: 1.5; letter-spacing: -0.04em; font-weight: 680; margin-bottom: 28px; }
.about-copy p + p { margin-top: 16px; color: var(--muted); }
.about-collage { position: relative; display: flex; justify-content: center; gap: 4%; padding: 8% 4%; background: var(--soft); border-radius: var(--r-lg); }
.about-collage .phone { width: 31%; }
.about-collage .ac-2 { transform: translateY(-9%); }
.about-collage .ac-3 { transform: translateY(6%); }
.about-facts { background: var(--gray); }
.facts { margin-top: 48px; border-top: 1px solid var(--ink); }
.facts > div { display: grid; grid-template-columns: 220px 1fr; gap: 24px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--muted); font-weight: 560; }
.facts dd { font-size: clamp(18px, 1.5vw, 21px); font-weight: 650; letter-spacing: -0.03em; }
.prin { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 0; border-top: 1px solid var(--ink); }
.prin-item { padding: 36px 36px 8px 0; }
.prin-item + .prin-item { padding-left: 36px; border-left: 1px solid var(--line); }
.prin-no { font-size: 15px; font-weight: 650; color: var(--blue); }
.prin-item h3 { margin-top: 48px; font-size: clamp(21px, 1.9vw, 26px); font-weight: 720; letter-spacing: -0.035em; }
.prin-item p { margin-top: 14px; color: var(--muted); }
.about-biz { padding-block: 0 clamp(88px, 10vw, 140px); }
.about-biz-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: clamp(28px, 4vw, 48px); border-radius: var(--r-lg); border: 1px solid var(--line); }
.about-biz-in p { margin-top: 8px; color: var(--muted); }

/* services detail */
.svd { padding-block: clamp(88px, 10vw, 140px); border-bottom: 1px solid var(--line); }
.svd:nth-of-type(even) { background: var(--gray); }
.svd-top { display: grid; grid-template-columns: 300px 1fr; gap: 24px 48px; align-items: start; }
.svd-label { display: flex; flex-direction: column; gap: 10px; font-weight: 650; font-size: 17px; padding-top: 10px; }
.svd-no { font-size: clamp(56px, 6vw, 88px); font-weight: 200; line-height: 1; color: var(--blue); letter-spacing: -0.05em; }
.svd-body { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px 80px; margin-top: clamp(40px, 5vw, 64px); margin-left: calc(300px + 48px); }
.svd-fit { margin-top: 24px; font-size: 15px; color: var(--muted); }
.svd-fit b { display: block; color: var(--ink); margin-bottom: 4px; font-size: 15px; }
.svd-price { margin-top: 32px; padding: 26px 28px; border-radius: var(--r); background: var(--white); border: 1px solid var(--line); }
.svd:nth-of-type(odd) .svd-price { background: var(--soft); border-color: transparent; }
.svd-price-k { font-size: 14px; color: var(--muted); font-weight: 560; }
.svd-price strong { display: block; margin-top: 4px; font-size: clamp(28px, 2.8vw, 38px); font-weight: 780; letter-spacing: -0.04em; color: var(--blue); }
.svd-price p { margin-top: 8px; font-size: 14px; color: var(--muted); }
.svd-items-t { font-size: 15px; font-weight: 650; color: var(--muted); padding-bottom: 14px; border-bottom: 1px solid var(--ink); }
.svd-items li { display: flex; align-items: center; gap: 14px; padding: 15px 0; border-bottom: 1px solid var(--line); font-weight: 600; font-size: 17px; }
.svd-items li::before { content: ""; width: 18px; height: 18px; flex: none; border-radius: 50%; background: var(--soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23315CFF' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat; }
.notice { margin-top: 24px; padding: 22px 24px; border-radius: var(--r); background: #FFF8EC; border: 1px solid #F3E1BF; font-size: 15px; color: #5B4A2E; }
.notice b { display: block; color: #3C2F17; margin-bottom: 6px; font-size: 15px; }
.notice ul { list-style: disc; padding-left: 18px; }
.notice li + li { margin-top: 6px; }
.notice-lg { margin-top: 56px; }
.svd-ex { margin-top: clamp(48px, 6vw, 80px); margin-left: calc(300px + 48px); }
.svd-ex-t { font-size: 15px; font-weight: 650; color: var(--muted); margin-bottom: 18px; }
.svd-ex-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.svd-ex-list.is-many { grid-template-columns: repeat(5, 1fr); gap: 14px; }
.svd-ex-list:has(> :only-child) { grid-template-columns: minmax(0, 420px); }
.svd-ex-img { display: block; aspect-ratio: 16/10; border-radius: 10px; overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
.svd-ex-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .7s var(--ease); }
.svd-ex-item:hover img { transform: scale(1.05); }
.svd-ex-name { display: block; margin-top: 12px; font-weight: 680; font-size: 15px; letter-spacing: -0.02em; }
.svd-ex-name small { display: block; font-weight: 500; color: var(--muted-2); font-size: 13px; }
.svd-ex-item:hover .svd-ex-name { color: var(--blue); }

.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-top: 1px solid var(--ink); }
.cmp { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 16px; }
.cmp th, .cmp td { text-align: left; padding: 20px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.cmp thead th { font-size: 17px; font-weight: 720; letter-spacing: -0.03em; }
.cmp thead th:first-child, .cmp tbody th { color: var(--muted); font-weight: 600; width: 130px; padding-left: 0; }
.cmp td b { color: var(--blue); }

/* portfolio list */
.pf { padding-top: clamp(48px, 6vw, 72px); }
.filter { position: sticky; top: calc(var(--hd) + 10px); z-index: 20; display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(48px, 6vw, 72px); padding: 8px; width: max-content; max-width: 100%; border-radius: 999px; background: rgba(255,255,255,.88); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 0 0 1px var(--line), 0 10px 30px -18px rgba(16,27,53,.3); transition: top .45s var(--ease); }
.hd-up .filter { top: calc(var(--hd) + 10px); }
.hd-hidden .filter { top: 12px; }
.filter button { height: 44px; padding: 0 18px; border-radius: 999px; font-weight: 640; font-size: 15px; color: var(--muted); transition: background-color .3s, color .3s; }
.filter button span { margin-left: 4px; font-size: 13px; color: var(--muted-2); font-variant-numeric: tabular-nums; }
.filter button:hover { color: var(--ink); }
.filter button.is-on { background: var(--ink); color: #fff; }
.filter button.is-on span { color: rgba(255,255,255,.6); }
.filter-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.cases { display: flex; flex-direction: column; gap: clamp(88px, 10vw, 140px); }
.case { display: grid; grid-template-columns: 1.45fr 1fr; gap: 40px clamp(40px, 5vw, 72px); align-items: center; }
.case:nth-child(even of .case:not([hidden])) { grid-template-columns: 1fr 1.45fr; }
.case:nth-child(even of .case:not([hidden])) .case-visual { order: 2; }
.case[hidden] { display: none; }
.case.is-entering { animation: caseIn .7s var(--ease) both; }
@keyframes caseIn { from { opacity: 0; transform: translateY(24px); } }
.case-visual { position: relative; display: block; padding: 7% 12% 9% 6%; border-radius: var(--r-lg); background: color-mix(in srgb, var(--tone) 9%, #F6F7FA); }
.case-browser .browser-view { aspect-ratio: 16 / 10.5; }
.case-phone { position: absolute; right: 4%; bottom: -6%; width: 21%; transition: transform .7s var(--ease); }
.case-visual:hover .case-phone { transform: translateY(-14px); }
.case-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.case-no { font-size: 15px; font-weight: 700; color: var(--blue); margin-right: 6px; font-variant-numeric: tabular-nums; }
.case-name { margin-top: 22px; font-size: clamp(32px, 3.6vw, 50px); line-height: 1.12; letter-spacing: -0.05em; font-weight: 790; }
.case-name a:hover { color: var(--blue); }
.case-name small { display: block; margin-top: 8px; font-size: 15px; letter-spacing: 0.04em; color: var(--muted-2); font-weight: 600; }
.case-meta { display: flex; gap: 32px; margin-top: 24px; padding: 16px 0; border-block: 1px solid var(--line); }
.case-meta dt { font-size: 13px; color: var(--muted-2); }
.case-meta dd { font-weight: 640; font-size: 15px; }
.case-sum { margin-top: 20px; color: var(--muted); }
.case-feat { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.case-feat li { padding: 5px 12px; border-radius: 999px; background: var(--gray); font-size: 13px; font-weight: 560; color: #39404F; }
.case-btns { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 28px; }

/* portfolio detail */
.pd-hero { padding-top: calc(var(--hd) + clamp(32px, 5vw, 64px)); background: linear-gradient(180deg, color-mix(in srgb, var(--tone) 7%, #fff) 0, #fff 100%); }
.crumbs { display: flex; gap: 8px; font-size: 14px; color: var(--muted-2); margin-bottom: clamp(32px, 5vw, 56px); flex-wrap: wrap; }
.crumbs a:hover { color: var(--blue); }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }
.pd-head { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px 72px; align-items: end; }
.pd-k { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.pd-title { margin-top: 24px; font-size: var(--fs-h1); line-height: 1.06; letter-spacing: -0.055em; font-weight: 820; }
.pd-title small { display: block; margin-top: 12px; font-size: clamp(15px, 1.4vw, 19px); font-weight: 600; letter-spacing: 0.06em; color: var(--muted-2); }
.pd-sum { margin-top: 24px; font-size: var(--fs-lead); color: var(--muted); max-width: 560px; }
.pd-meta { border-top: 1px solid var(--ink); margin-bottom: 24px; }
.pd-meta > div { display: grid; grid-template-columns: 90px 1fr; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.pd-meta dt { color: var(--muted-2); }
.pd-meta dd { font-weight: 620; }
.pd-meta a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; word-break: break-all; }
.pd-cover { margin-top: clamp(48px, 6vw, 80px); }
.pd-cover .browser-view { aspect-ratio: 16 / 10; }

.pv-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.pv-hint { margin: 16px 0 40px; color: var(--muted); font-size: 15px; }
.seg { display: inline-flex; padding: 5px; border-radius: 999px; background: var(--gray); box-shadow: inset 0 0 0 1px var(--line); }
.seg button { height: 42px; min-width: 92px; padding: 0 20px; border-radius: 999px; font-weight: 650; font-size: 15px; color: var(--muted); transition: background-color .3s, color .3s, box-shadow .3s; }
.seg button[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 2px 10px -2px rgba(16,27,53,.18); }
.pv-panel[hidden] { display: none; }
.pv-panel { animation: caseIn .5s var(--ease); }
.pv-scroll { height: min(70vh, 680px); overflow-y: auto; overscroll-behavior: contain; background: #fff; scrollbar-width: thin; }
.pv-scroll img { width: 100%; height: auto; }
.pd-preview .browser-view { aspect-ratio: auto; }
.pv-phones { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 4vw, 56px); padding: clamp(32px, 5vw, 64px) clamp(16px, 8vw, 120px); border-radius: var(--r-lg); background: var(--gray); }
.pv-phones figcaption, .gal figcaption { margin-top: 14px; font-size: 14px; color: var(--muted); text-align: center; }
.pd-about { padding-top: 0; }
.pd-about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px 96px; }
.pd-p { margin-top: 20px; font-size: var(--fs-lead); color: #39404F; line-height: 1.8; }
.feat { margin-top: 20px; border-top: 1px solid var(--ink); }
.feat li { display: grid; grid-template-columns: 48px 1fr; padding: 17px 0; border-bottom: 1px solid var(--line); font-weight: 620; font-size: 17px; }
.feat li span { color: var(--blue); font-size: 14px; font-weight: 700; padding-top: 2px; }
.pd-design { background: var(--navy); color: #fff; }
.dp { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(44px, 6vw, 72px); border-top: 1px solid rgba(255,255,255,.2); }
.dp li { padding: 32px 32px 0 0; }
.dp li + li { padding-left: 32px; border-left: 1px solid rgba(255,255,255,.12); }
.dp-no { font-size: clamp(44px, 4.4vw, 64px); font-weight: 200; color: #8FA8FF; line-height: 1; }
.dp h3 { margin-top: 32px; font-size: clamp(20px, 1.8vw, 25px); font-weight: 720; letter-spacing: -0.035em; }
.dp p { margin-top: 12px; color: rgba(255,255,255,.68); font-size: 16px; }
.gal-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 44px; }
.gal { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(32px, 4vw, 48px) clamp(16px, 2vw, 28px); align-items: start; }
.gal-d { grid-column: span 3; }

.gal-m { grid-column: span 2; padding-inline: clamp(8px, 3vw, 48px); }
.gal-btn { position: relative; display: block; width: 100%; text-align: left; cursor: zoom-in; }
.gal-btn .browser, .gal-btn .phone { transition: transform .6s var(--ease); }
.gal-btn:hover .browser, .gal-btn:hover .phone { transform: translateY(-6px); }
.gal-zoom { position: absolute; right: 14px; bottom: 14px; z-index: 3; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: rgba(23,28,41,.85); color: #fff; opacity: 0; transform: scale(.8); transition: opacity .3s, transform .4s var(--ease); }
.gal-btn:hover .gal-zoom, .gal-btn:focus-visible .gal-zoom { opacity: 1; transform: none; }
.pd-note { margin-top: clamp(56px, 7vw, 88px); padding: 24px 28px; border-left: 3px solid var(--blue); background: var(--soft); border-radius: 0 var(--r) var(--r) 0; font-size: 15px; color: #39404F; }
.pd-note b { display: block; margin-bottom: 6px; color: var(--ink); }
.pd-visit { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 24px; padding: 28px 0; border-block: 1px solid var(--line); }
.pd-visit p { font-size: 18px; font-weight: 640; letter-spacing: -0.03em; }
.pd-next { background: var(--gray); }
.pn { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 44px; }
.pn-item { display: grid; grid-template-columns: 200px 1fr; grid-template-rows: auto 1fr; gap: 6px 24px; align-items: start; padding: 20px; border-radius: var(--r-lg); background: #fff; box-shadow: 0 0 0 1px var(--line); transition: box-shadow .4s, transform .5s var(--ease); }
.pn-item:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px var(--line), 0 24px 50px -30px rgba(16,27,53,.35); }
.pn-img { grid-row: 1 / 3; aspect-ratio: 16/10; border-radius: 10px; overflow: hidden; }
.pn-img img { width: 100%; height: 100%; object-fit: cover; }
.pn-k { font-size: 13px; color: var(--blue); font-weight: 650; padding-top: 6px; }
.pn-name { font-size: clamp(20px, 1.8vw, 26px); font-weight: 750; letter-spacing: -0.04em; line-height: 1.3; }
.pn-name small { display: block; margin-top: 6px; font-size: 14px; font-weight: 500; color: var(--muted); letter-spacing: -0.01em; }
.pn-all { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.pn-all a { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px var(--line); font-weight: 620; font-size: 15px; transition: background-color .3s, color .3s; }
.pn-all a small { color: var(--muted-2); font-size: 12px; font-weight: 500; }
.pn-all a:hover { background: var(--ink); color: #fff; }
.pn-all a:hover small { color: rgba(255,255,255,.6); }
.pn-all .wk-no { font-size: 12px; }
.pn-all-link { color: var(--blue); }

/* lightbox */
.lb { padding: 0; border: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none; background: rgba(10, 14, 26, .94); color: #fff; }
.lb::backdrop { background: rgba(10, 14, 26, .6); }
.lb[open] { animation: lbIn .35s var(--ease); }
@keyframes lbIn { from { opacity: 0; } }
.lb-in { position: relative; width: 100%; height: 100%; display: grid; place-items: center; padding: 64px 80px 40px; }
.lb-fig { display: flex; flex-direction: column; align-items: center; max-height: 100%; }
.lb-fig img { max-width: min(1280px, 100%); max-height: calc(100dvh - 160px); width: auto; height: auto; border-radius: 10px; object-fit: contain; }
.lb-fig figcaption { margin-top: 14px; font-size: 15px; color: rgba(255,255,255,.75); text-align: center; }
.lb-close, .lb-nav { position: absolute; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.1); color: #fff; transition: background-color .3s; }
.lb-close:hover, .lb-nav:hover { background: rgba(255,255,255,.22); }
.lb-close { top: 16px; right: 16px; }
.lb-nav { top: 50%; margin-top: -26px; }
.lb-prev { left: 16px; }
.lb-next { right: 16px; }
.lb .ico { width: 22px; height: 22px; }

/* process page */
.stp { border-top: 1px solid var(--ink); }
.stp-item { display: grid; grid-template-columns: 220px 1fr 1fr; gap: 24px 48px; padding: clamp(36px, 4vw, 56px) 0; border-bottom: 1px solid var(--line); }
.stp-no { font-size: clamp(56px, 6vw, 92px); font-weight: 200; line-height: .9; color: var(--blue); letter-spacing: -0.05em; font-variant-numeric: tabular-nums; }
.stp-no span { display: block; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; color: var(--muted-2); margin-bottom: 10px; }
.stp-main h2 { font-size: clamp(26px, 2.8vw, 40px); font-weight: 760; letter-spacing: -0.045em; line-height: 1.2; }
.stp-main p { margin-top: 12px; color: var(--muted); font-size: var(--fs-lead); }
.stp-detail li { position: relative; padding: 10px 0 10px 22px; border-bottom: 1px dashed var(--line); font-weight: 560; }
.stp-detail li:last-child { border-bottom: 0; }
.stp-detail li::before { content: ""; position: absolute; left: 0; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 2px; background: var(--blue); }
.prep { background: var(--gray); }
.prep-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px 96px; }
.prep-grid .lead { margin-top: 24px; }
.prep-list { border-top: 1px solid var(--ink); }
.prep-list li { display: grid; grid-template-columns: 220px 1fr; gap: 8px 24px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.prep-list b { font-size: 18px; font-weight: 700; letter-spacing: -0.03em; }
.prep-list span { color: var(--muted); }

/* contact */
.ct { padding-top: calc(var(--hd) + clamp(56px, 8vw, 104px)); padding-bottom: clamp(88px, 10vw, 140px); }
.ct-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 56px clamp(48px, 7vw, 112px); align-items: start; }
.ct-side { position: sticky; top: calc(var(--hd) + 32px); }
.ct-title { font-size: clamp(36px, 4.8vw, 68px); line-height: 1.12; letter-spacing: -0.052em; font-weight: 800; }
.ct-side .lead { margin-top: 24px; }
.ch-card { margin-top: 40px; padding: 26px; border-radius: var(--r-lg); background: var(--navy); color: #fff; }
.ch-t { font-size: 14px; font-weight: 650; color: #8FA8FF; }
.ch-list:empty { display: none; }
.ch-list { margin-top: 12px; }
.ch-list a, .ch-list p { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.12); font-weight: 640; }
.ch-list small { color: rgba(255,255,255,.55); font-weight: 500; font-size: 13px; }
.ch-list a:hover { color: #8FA8FF; }
.ch-empty { margin-top: 12px; font-size: 15px; color: rgba(255,255,255,.75); line-height: 1.7; }
.form { display: grid; gap: 28px; }
.form-guide { padding: 16px 20px; border-radius: var(--r); background: var(--soft); color: #2A3A6E; font-size: 15px; }
.form-guide:empty { display: none; }
.fld { display: grid; gap: 10px; border: 0; padding: 0; margin: 0; min-width: 0; }
.fld legend, .fld-l { font-weight: 680; font-size: 16px; letter-spacing: -0.02em; padding: 0; margin-bottom: 10px; }
.fld-l { margin-bottom: 0; }
.fld em { font-style: normal; color: var(--blue); }
.fld-sub { font-weight: 500; color: var(--muted-2); font-size: 14px; }
.fld-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.fld input, .fld select, .fld textarea { width: 100%; min-height: 54px; padding: 14px 16px; border-radius: 12px; border: 1px solid #D5DAE5; background: #fff; font-size: 16px; transition: border-color .25s, box-shadow .25s; appearance: none; -webkit-appearance: none; }
.fld select { background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23171C29' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 14px center / 18px no-repeat; padding-right: 44px; }
.fld textarea { resize: vertical; line-height: 1.6; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(49,92,255,.14); }
.fld input::placeholder, .fld textarea::placeholder { color: #A3A9B7; }
.fld [aria-invalid="true"] { border-color: #E5484D; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 46px; padding: 0 18px; border-radius: 999px; border: 1px solid #D5DAE5; font-weight: 600; font-size: 15px; transition: background-color .25s, color .25s, border-color .25s; }
.chip input:hover + span { border-color: var(--ink); }
.chip input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.fieldset-invalid .chip span { border-color: #E5484D; }
.form-err { color: #D13438; font-weight: 600; font-size: 15px; }
.form-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.summary { padding: 24px; border-radius: var(--r-lg); background: var(--gray); box-shadow: inset 0 0 0 1px var(--line); animation: caseIn .5s var(--ease); }
.summary-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.summary pre { margin: 16px 0 0; padding: 18px; max-height: 360px; overflow: auto; border-radius: 12px; background: #fff; font-family: var(--font); font-size: 15px; line-height: 1.7; white-space: pre-wrap; word-break: break-word; box-shadow: inset 0 0 0 1px var(--line); }
.summary-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.summary-actions:empty { display: none; }
.summary-status { margin-top: 12px; font-size: 15px; font-weight: 600; color: var(--blue); }
.summary-status:empty { display: none; }
.summary-status.is-warn { color: #9A6700; }
.form-privacy { font-size: 13px; color: var(--muted-2); }

/* business */
.biz-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px 72px; align-items: start; }
.biz-card { padding: clamp(28px, 4vw, 48px); border-radius: var(--r-lg); background: #fff; box-shadow: 0 0 0 1px var(--line), 0 30px 60px -40px rgba(16,27,53,.3); }
.biz-card-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 24px; border-bottom: 1px solid var(--ink); flex-wrap: wrap; }
.biz-dl > div, .biz-extra > div { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.biz-dl > div:last-child { border-bottom: 0; }
.biz-dl dt, .biz-extra dt { color: var(--muted); font-weight: 560; font-size: 15px; }
.biz-dl dd, .biz-extra dd { font-weight: 650; letter-spacing: -0.02em; }
.biz-extra { border-top: 1px solid var(--line); }
.biz-side { display: grid; gap: 40px; }
.biz-areas { margin-top: 20px; border-top: 1px solid var(--ink); }
.biz-areas li { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); font-weight: 640; font-size: 17px; }
.biz-areas span { color: var(--blue); font-size: 14px; font-weight: 700; padding-top: 2px; }
.biz-side .notice { margin-top: 0; }
.biz-links { padding-top: 0; }
.biz-links-in { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); }
.biz-links-in a { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 28px 28px 28px 0; border-bottom: 1px solid var(--line); transition: color .3s; }
.biz-links-in a + a { padding-left: 28px; border-left: 1px solid var(--line); }
.biz-links-in b { font-size: 20px; font-weight: 720; letter-spacing: -0.03em; }
.biz-links-in span { grid-column: 1; color: var(--muted); font-size: 15px; }
.biz-links-in .ico { grid-column: 2; grid-row: 1 / 3; align-self: center; width: 22px; height: 22px; transition: transform .3s var(--ease); }
.biz-links-in a:hover { color: var(--blue); }
.biz-links-in a:hover .ico { transform: translateX(4px); }

/* 404 */
.nf { padding: calc(var(--hd) + 120px) 0 160px; }
.nf-code { font-size: clamp(80px, 14vw, 180px); font-weight: 200; line-height: 1; color: var(--blue); letter-spacing: -0.06em; margin-bottom: 24px; }
.nf .lead { margin: 20px 0 36px; }

/* footer */
.ft { background: var(--ink); color: rgba(255,255,255,.7); padding: clamp(64px, 8vw, 104px) 0 40px; font-size: 15px; }
.ft-top { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.1); }
.ft-slogan { margin-top: 20px; font-size: clamp(20px, 2vw, 26px); line-height: 1.45; color: #fff; font-weight: 680; letter-spacing: -0.04em; }
.ft-channels { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.ft-channels a { color: #fff; border-bottom: 1px solid rgba(255,255,255,.3); }
.ft-nav ul { display: grid; grid-template-columns: repeat(2, auto); gap: 12px 48px; }
.ft-nav a { color: rgba(255,255,255,.85); font-weight: 560; }
.ft-nav a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.ft-biz { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; flex-wrap: wrap; padding: 32px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.ft-biz dl { display: flex; flex-wrap: wrap; gap: 8px 28px; max-width: 900px; font-size: 14px; }
.ft-biz dl > div { display: flex; gap: 8px; }
.ft-biz dt { color: rgba(255,255,255,.45); }
.ft-biz dd { color: rgba(255,255,255,.82); }
.ft-bizlink { display: inline-flex; align-items: center; gap: 6px; color: #fff; font-weight: 600; white-space: nowrap; }
.ft-bizlink:hover { color: #8FA8FF; }
.ft-bottom { display: flex; justify-content: space-between; gap: 12px 32px; flex-wrap: wrap; padding-top: 24px; font-size: 13px; color: rgba(255,255,255,.45); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1180px) {
  .hd-nav a { padding: 8px 10px; }
  .svc-row { grid-template-columns: 64px 1fr 180px 52px; }
  .svc-peek { display: none; }
  .svd-top { grid-template-columns: 220px 1fr; }
  .svd-body, .svd-ex { margin-left: calc(220px + 48px); }
  .svd-ex-list.is-many { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1024px) {
  :root { --hd: 64px; }
  .hd-nav, .hd-cta { display: none; }
  .hd-burger { display: block; }
  .split { grid-template-columns: 1fr; align-items: start; }
  .hero-title .ln:nth-child(2), .hero-side { padding-left: 0; }
  .st-back { width: 38%; top: 24%; }
  .wk-b, .wk-c { grid-column: 1 / -1; }
  .wk-c .wk-visual { min-height: 0; aspect-ratio: 4 / 3; flex: none; }
  .wk-band { grid-template-columns: 1fr; padding: 40px 0 0 40px; }
  .wk-band-art { transform: translateX(8%); margin-bottom: -2px; }
  .wk-d-phone { left: auto; right: 22%; bottom: 8%; width: 20%; }
  .wk-more { flex-direction: column; align-items: stretch; }
  .wk-index-img { display: none; }
  .flow-steps { grid-template-columns: 1fr; gap: 0; padding-top: 0; padding-left: 36px; }
  .flow-line { left: 5px; right: auto; top: 6px; bottom: 6px; width: 2px; height: auto; }
  .flow-line i { transform-origin: top; transform: scaleY(var(--fp, 0)); }
  .flow-steps li { display: grid; grid-template-columns: 80px 1fr; gap: 4px 16px; padding: 22px 0; }
  .flow-steps li::before { top: 32px; left: -36px; }
  .flow-no { grid-row: 1 / 3; font-size: 40px; }
  .flow-steps h3 { margin-top: 0; }
  .flow-steps p { margin-top: 0; }
  .why-grid, .faq-grid, .cta-in, .about-grid, .pd-head, .pd-about-grid, .ct-grid, .biz-grid, .prep-grid { grid-template-columns: 1fr; }
  .why-head, .ct-side { position: static; }
  .svd-top { grid-template-columns: 1fr; }
  .svd-label { flex-direction: row; align-items: baseline; gap: 16px; padding-top: 0; }
  .svd-body, .svd-ex { margin-left: 0; }
  .svd-body { grid-template-columns: 1fr; }
  .case, .case:nth-child(even of .case:not([hidden])) { grid-template-columns: 1fr; }
  .case:nth-child(even of .case:not([hidden])) .case-visual { order: 0; }
  .stp-item { grid-template-columns: 140px 1fr; }
  .stp-detail { grid-column: 2; }
  .prin { grid-template-columns: 1fr; }
  .prin-item, .prin-item + .prin-item { padding: 28px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .prin-item h3 { margin-top: 16px; }
  .dp { grid-template-columns: 1fr; }
  .dp li, .dp li + li { padding: 28px 0; border-left: 0; border-bottom: 1px solid rgba(255,255,255,.12); }
  .dp h3 { margin-top: 16px; }
  .pn { grid-template-columns: 1fr; }
  .biz-links-in { grid-template-columns: 1fr; }
  .biz-links-in a + a { padding-left: 0; border-left: 0; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .hero { padding-top: calc(var(--hd) + 44px); }
  .hero-top { gap: 28px; }
  .hero-title { font-size: clamp(36px, 10.4vw, 64px); line-height: 1.12; }
  .hero-side { flex-direction: column; align-items: stretch; gap: 26px; }
  .hero-btns .btn { flex: 1; padding: 0 16px; }
  .stage-in { height: auto; padding-bottom: 0; padding-inline: 0; }
  .stage-in::before { inset: 22% 0 0; border-radius: 22px 22px 0 0; }
  .st-back { display: none; }
  .st-main { position: relative; left: auto; width: auto; margin: 0 var(--gut) 0; transform: translateY(calc(var(--p) * -16px)); }
  .st-main .browser-bar { height: 26px; }
  .st-main .browser-bar span { font-size: 10px; height: 16px; line-height: 16px; margin-right: 0; }
  .st-main .browser-bar i { width: 7px; height: 7px; }
  .st-phone { width: 30%; right: calc(var(--gut) - 6px); top: 34%; }
  .stage-in { padding-bottom: 26%; }
  .stage-cap { flex-direction: column; align-items: flex-start; gap: 10px; padding: 18px var(--gut) 22px; }
  .stage-cap::before { inset: 0; border-radius: 0; }
  .stage-now { padding-left: 0; gap: 4px 10px; }
  .stage-now-k { width: 100%; }
  .stage-dots { padding-right: 0; margin-left: -4px; }
  .stage-dots button { width: 28px; }
  .sec { padding-block: 80px; }
  .svc-row { grid-template-columns: 1fr 44px; gap: 10px 16px; padding: 28px 0; }
  .svc-no { grid-column: 1 / -1; }
  .svc-main { grid-column: 1; }
  .svc-price { grid-column: 1; text-align: left; display: flex; gap: 8px; align-items: baseline; }
  .svc-go { grid-column: 2; grid-row: 2 / 4; width: 44px; height: 44px; }
  .svc-short { font-size: 15px; }
  .wk-scroll .browser-view { aspect-ratio: 4 / 3; }
  .wk-tint { aspect-ratio: 4 / 3.4; }
  .wk-b-main { width: 88%; left: 6%; top: 8%; }
  .wk-b-phone { width: 30%; bottom: -10%; right: 4%; }
  .wk-band { padding: 32px 0 0 24px; min-height: 0; }
  .wk-band-copy { padding-right: 24px; }
  .wk-band-art { transform: translateX(12%); margin-top: 16px; }
  .wk-d-phone { width: 26%; right: 26%; }
  .wk-index a { grid-template-columns: 36px 1fr 24px; gap: 4px 12px; }
  .wk-index a > span:nth-of-type(2) { grid-column: 2; grid-row: 2; font-size: 14px; }
  .wk-index .ico { grid-column: 3; grid-row: 1 / 3; }
  .wk-more .btn { width: 100%; }
  .cta-side .btn { width: 100%; }
  .faq-item summary { grid-template-columns: 36px 1fr 32px; padding: 20px 0; }
  .faq-a { padding: 0 0 22px 44px; }
  .phead { padding-top: calc(var(--hd) + 48px); }
  .phead-t { font-size: clamp(32px, 9vw, 52px); }
  .jump a { flex: 1 1 100%; }
  .facts > div { grid-template-columns: 1fr; gap: 4px; padding: 18px 0; }
  .svd-ex-list, .svd-ex-list.is-many { grid-template-columns: repeat(2, 1fr); }
  .svd-ex-list:has(> :only-child) { grid-template-columns: 1fr; }
  .filter { width: 100%; border-radius: 18px; }
  .filter button { flex: 1; padding: 0 10px; font-size: 14px; }
  .case-visual { padding: 6% 14% 10% 5%; }
  .case-phone { width: 25%; right: 3%; }
  .case-btns .btn { flex: 1; }
  .case-meta { gap: 24px; flex-wrap: wrap; }
  .pv-phones { grid-template-columns: repeat(3, 72%); overflow-x: auto; scroll-snap-type: x mandatory; padding: 28px 20px; gap: 16px; -webkit-overflow-scrolling: touch; }
  .pv-phones figure { scroll-snap-align: center; }
  .pv-scroll { height: 62vh; }
  .browser-lg .browser-bar { height: 30px; }
  .browser-lg .browser-bar span { font-size: 11px; height: 20px; line-height: 20px; }
  .gal { grid-template-columns: repeat(2, 1fr); }
  .gal-d, .gal-d.gal-full { grid-column: 1 / -1; }
  .gal-m { grid-column: span 1; padding-inline: 4px; }
  .gal-m:last-child:nth-child(odd) { grid-column: 1 / -1; width: 50%; margin-inline: auto; }
  .gal-zoom { opacity: 1; transform: none; width: 36px; height: 36px; right: 10px; bottom: 10px; }
  .pn-item { grid-template-columns: 1fr; padding: 14px; }
  .pn-img { grid-row: auto; }
  .lb-in { padding: 64px 12px 84px; }
  .lb-nav { top: auto; bottom: 18px; margin-top: 0; }
  .lb-prev { left: calc(50% - 64px); }
  .lb-next { right: calc(50% - 64px); }
  .stp-item { grid-template-columns: 1fr; gap: 16px; }
  .stp-detail { grid-column: 1; }
  .stp-no { font-size: 52px; }
  .prep-list li { grid-template-columns: 1fr; }
  .fld-row { grid-template-columns: 1fr; }
  .form-actions .btn { width: 100%; }
  .summary { padding: 18px; }
  .biz-dl > div, .biz-extra > div { grid-template-columns: 1fr; gap: 2px; padding: 14px 0; }
  .ft-biz dl { flex-direction: column; }
  .ft-nav ul { gap: 12px 32px; }
  .pd-meta > div { grid-template-columns: 80px 1fr; }
}

@media (max-width: 360px) {
  :root { --gut: 16px; }
  .hero-btns { flex-direction: column; }
  .hero-btns .btn { flex: none; width: 100%; }
  .chip span { padding: 0 14px; font-size: 14px; }
  .filter button { font-size: 13px; padding: 0 6px; }
  .filter button span { display: none; }
}

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

/* refinements after first visual QA */
.case-browser .browser-view { aspect-ratio: 16 / 10; }
@media (max-width: 1024px) {
  .wk-c .wk-link { height: auto; }
  .wk-c .wk-tint { height: auto; }
}
@media (max-width: 760px) {
  .wk-scroll .browser-view { aspect-ratio: 16 / 10; }
}
.gal-d.gal-full { grid-column: 1 / -1; }
.gal-m-first { grid-column: 1 / span 2; }
.gal-m .phone { max-width: 300px; margin-inline: auto; }
@media (max-width: 760px) { .gal-m-first { grid-column: span 1; } }
