/* Phronix LP */

:root {
  --navy: #1E3A5F;
  --navy-2: #2A4B74;
  --deep: #0C1828;
  --deep-2: #11223A;
  --ink: #22303F;
  --muted: #5B6675;
  --gray: #7A8CA3;
  --line: #E3E7EC;
  --bg: #F7F8FA;
  --white: #FFFFFF;
  --orange: #E26A24;
  --orange-text: #B4521A;
  --orange-pale: #FCEADF;
  --tint: #EEF2F7;
  --on-dark: #E9EEF5;
  --on-dark-muted: #9DAEC2;
  --on-dark-line: rgba(233, 238, 245, 0.12);
  --glow: #8FB2DA;

  --radius: 14px;
  --radius-lg: 22px;
  --wrap: 1120px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 64px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

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

body {
  margin: 0;
  font-family: "BIZ UDPGothic", "BIZ UDPゴシック", sans-serif;
  font-size: 16px;
  line-height: 1.9;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
  font-feature-settings: "palt" 1;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; line-height: 1.45; font-weight: 700; letter-spacing: 0.04em; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nowrap { white-space: nowrap; }
.br-pc { display: none; }
@media (min-width: 720px) { .br-pc { display: inline; } }

:focus-visible { outline: 2px solid var(--glow); outline-offset: 3px; border-radius: 4px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  border-radius: 999px; border: 1px solid transparent;
  font: inherit; font-weight: 700; font-size: 15px; letter-spacing: 0.06em;
  text-decoration: none; cursor: pointer;
  transition: transform 0.25s var(--ease), background-color 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.btn svg { width: 16px; height: 16px; flex: none; transition: transform 0.25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 10px 30px -12px rgba(226, 106, 36, 0.7); }
.btn-primary:hover { background: #D25E1B; transform: translateY(-1px); }
.btn-ghost { border-color: rgba(233, 238, 245, 0.28); color: var(--on-dark); background: rgba(255, 255, 255, 0.03); }
.btn-ghost:hover { border-color: rgba(233, 238, 245, 0.6); background: rgba(255, 255, 255, 0.07); }
.btn-line { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-line:hover { background: var(--navy); color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  background: rgba(12, 24, 40, 0.72);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--on-dark-line);
}
.site-header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; text-decoration: none; }
.brand img { height: 24px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: var(--on-dark-muted); text-decoration: none; font-size: 14px; letter-spacing: 0.06em; transition: color 0.2s; }
.nav a:hover { color: #fff; }
.nav .nav-cta { color: var(--on-dark); border: 1px solid rgba(233, 238, 245, 0.3); border-radius: 999px; padding: 7px 18px; }
.nav .nav-cta:hover { border-color: rgba(233, 238, 245, 0.7); }
.nav-toggle { display: none; }

@media (max-width: 879px) {
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; margin-right: -10px;
    background: none; border: 0; color: var(--on-dark); cursor: pointer;
  }
  .nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
    display: block; width: 20px; height: 1.5px; background: currentColor; border-radius: 2px;
    transition: transform 0.3s var(--ease), opacity 0.2s;
  }
  .nav-toggle span { position: relative; }
  .nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
  .nav-toggle span::before { top: -6px; }
  .nav-toggle span::after { top: 6px; }
  .nav-open .nav-toggle span { background: transparent; }
  .nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
  .nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px var(--gutter) 24px;
    background: rgba(12, 24, 40, 0.97);
    border-bottom: 1px solid var(--on-dark-line);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
  }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--on-dark-line); font-size: 15px; color: var(--on-dark); }
  .nav .nav-cta { margin-top: 16px; text-align: center; border-bottom: 1px solid rgba(233, 238, 245, 0.3); }
  .nav-open .nav { opacity: 1; visibility: visible; transform: none; }
}

/* ---------- Dark surface (shared) ---------- */
.dark {
  position: relative; isolation: isolate;
  background: var(--deep);
  color: var(--on-dark);
}
.dark::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(143, 178, 218, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(143, 178, 218, 0.07) 1px, transparent 1px);
  background-size: 56px 56px;
  background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 85%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 85%);
}

/* ---------- Hero ---------- */
.hero {
  padding: calc(var(--header-h) + clamp(56px, 9vw, 112px)) 0 clamp(72px, 10vw, 128px);
  background:
    radial-gradient(900px 520px at 85% 15%, rgba(42, 75, 116, 0.55), transparent 70%),
    radial-gradient(700px 480px at 0% 100%, rgba(30, 58, 95, 0.5), transparent 70%),
    var(--deep);
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1fr; gap: clamp(48px, 7vw, 72px); align-items: center; }
@media (min-width: 980px) { .hero-grid { grid-template-columns: 1.08fr 0.92fr; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 13px; letter-spacing: 0.24em; color: var(--on-dark-muted);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: linear-gradient(90deg, transparent, var(--glow)); }
.hero h1 {
  margin-top: 22px;
  font-size: clamp(2rem, 5.4vw, 3.6rem);
  line-height: 1.32; letter-spacing: 0.05em;
  color: #fff;
}
.hero h1 .soft { color: var(--on-dark-muted); font-weight: 400; }
.hero-lead { margin-top: 28px; max-width: 34em; color: var(--on-dark); font-size: clamp(15px, 1.6vw, 17px); line-height: 2.05; }
.hero-actions { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero-note { margin-top: 20px; font-size: 13px; color: var(--on-dark-muted); letter-spacing: 0.06em; }
.hero-note span + span::before { content: "／"; margin: 0 0.5em; opacity: 0.5; }

/* Flow panel */
.flow-panel {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 26px 26px 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(233, 238, 245, 0.14);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.flow-panel::after {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none;
  background: linear-gradient(135deg, rgba(143, 178, 218, 0.35), transparent 35%, transparent 70%, rgba(143, 178, 218, 0.18));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  padding: 1px;
}
.flow-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--on-dark-line); }
.flow-head strong { font-size: 14px; letter-spacing: 0.12em; color: #fff; }
.flow-head span { font-size: 12px; letter-spacing: 0.14em; color: var(--on-dark-muted); }
.flow-list { position: relative; margin-top: 8px; }
.flow-list::before {
  content: ""; position: absolute; left: 15px; top: 30px; bottom: 30px; width: 1px;
  background: linear-gradient(180deg, rgba(143, 178, 218, 0.15), rgba(143, 178, 218, 0.5), rgba(143, 178, 218, 0.15));
}
.flow-pulse {
  position: absolute; left: 12px; top: 30px; width: 7px; height: 7px; border-radius: 50%;
  background: #fff; box-shadow: 0 0 0 4px rgba(143, 178, 218, 0.18), 0 0 18px 2px rgba(143, 178, 218, 0.8);
  animation: pulse-travel 7s var(--ease) infinite;
}
@keyframes pulse-travel {
  0% { transform: translateY(0); opacity: 0; }
  6% { opacity: 1; }
  88% { opacity: 1; }
  100% { transform: translateY(var(--travel, 280px)); opacity: 0; }
}
.flow-item {
  position: relative; display: grid; grid-template-columns: 31px 1fr auto; gap: 16px; align-items: center;
  padding: 13px 0;
}
.flow-item + .flow-item { border-top: 1px dashed rgba(233, 238, 245, 0.08); }
.flow-dot {
  position: relative; z-index: 1;
  width: 31px; height: 31px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 11px; letter-spacing: 0.04em; color: var(--on-dark-muted);
  background: var(--deep-2); border: 1px solid rgba(143, 178, 218, 0.35);
}
.flow-item h3 { font-size: 15px; color: #fff; letter-spacing: 0.08em; }
.flow-item p { font-size: 13px; line-height: 1.7; color: var(--on-dark-muted); }
.tag {
  font-size: 11px; letter-spacing: 0.12em; line-height: 1; padding: 6px 10px; border-radius: 999px;
  border: 1px solid rgba(143, 178, 218, 0.3); color: var(--on-dark-muted); white-space: nowrap;
}
.tag-human { background: #fff; color: var(--navy); border-color: #fff; font-weight: 700; }
.flow-item.is-decide .flow-dot { background: #fff; color: var(--navy); border-color: #fff; box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.08); }
.flow-foot { margin-top: 10px; padding-top: 14px; border-top: 1px solid var(--on-dark-line); font-size: 12px; line-height: 1.8; color: var(--on-dark-muted); }

/* ---------- Sections ---------- */
.section { padding: clamp(80px, 11vw, 136px) 0; }
.section-white { background: var(--white); }
.sec-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 64px); }
.sec-label {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12px; letter-spacing: 0.22em; color: var(--gray);
}
.sec-label b { font-weight: 700; color: var(--navy); }
.sec-label::after { content: ""; width: 40px; height: 1px; background: var(--line); }
.dark .sec-label { color: var(--on-dark-muted); }
.dark .sec-label b { color: #fff; }
.dark .sec-label::after { background: var(--on-dark-line); }
.sec-head h2 { margin-top: 16px; font-size: clamp(1.55rem, 3.4vw, 2.3rem); color: var(--navy); }
.dark .sec-head h2 { color: #fff; }
.sec-head p { margin-top: 18px; color: var(--muted); }
.dark .sec-head p { color: var(--on-dark-muted); }

/* Persona cards */
.cards-3 { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 880px) { .cards-3 { grid-template-columns: repeat(3, 1fr); } }
.card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px 32px;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}
.card::before {
  content: ""; position: absolute; left: 28px; right: 28px; top: -1px; height: 2px;
  background: linear-gradient(90deg, var(--navy), rgba(30, 58, 95, 0));
  transform: scaleX(0.25); transform-origin: left; transition: transform 0.5s var(--ease);
}
.card:hover { border-color: #D3DAE3; box-shadow: 0 24px 48px -32px rgba(30, 58, 95, 0.35); transform: translateY(-2px); }
.card:hover::before { transform: scaleX(1); }
.icon-box {
  width: 48px; height: 48px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--tint); color: var(--navy);
}
.icon-box svg { width: 24px; height: 24px; }
.card h3 { margin-top: 22px; font-size: 18px; color: var(--navy); }
.question {
  margin-top: 14px; padding: 10px 14px;
  border-left: 2px solid var(--navy);
  background: var(--bg);
  font-size: 14px; line-height: 1.7; color: var(--navy);
  border-radius: 0 8px 8px 0;
}
.card p.body { margin-top: 14px; font-size: 15px; color: var(--muted); line-height: 1.95; }

.statement {
  margin-top: clamp(40px, 6vw, 56px);
  display: grid; gap: 10px;
  padding: clamp(26px, 4vw, 36px) clamp(24px, 4vw, 44px);
  border-radius: var(--radius);
  background: var(--navy);
  color: #fff;
  position: relative; overflow: hidden;
}
.statement::after {
  content: ""; position: absolute; right: -140px; top: -170px; width: 340px; height: 340px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 40px rgba(255, 255, 255, 0.025), 0 0 0 80px rgba(255, 255, 255, 0.02);
}
.statement p { position: relative; z-index: 1; }
.statement .s1 { color: var(--on-dark-muted); font-size: 15px; }
.statement .s2 { font-size: clamp(17px, 2.2vw, 21px); font-weight: 700; line-height: 1.75; letter-spacing: 0.04em; }

/* Steps (what we do) */
.steps { display: grid; gap: 20px; grid-template-columns: 1fr; counter-reset: step; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.step {
  position: relative;
  padding: 32px 28px 30px;
  border-radius: var(--radius);
  background: var(--bg);
  border: 1px solid var(--line);
}
.step-num {
  display: flex; align-items: center; gap: 14px;
  font-size: 13px; letter-spacing: 0.2em; color: var(--gray);
}
.step-num b {
  font-size: 44px; line-height: 1; letter-spacing: 0.02em; font-weight: 700;
  color: transparent; -webkit-text-stroke: 1px var(--navy);
}
.step h3 { margin-top: 18px; font-size: 21px; color: var(--navy); letter-spacing: 0.1em; }
.step p { margin-top: 12px; font-size: 15px; color: var(--muted); }
.step .receive { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.step .receive dt { font-size: 12px; letter-spacing: 0.16em; color: var(--gray); }
.step .receive dd { margin: 0; }
.checks { margin-top: 10px; display: grid; gap: 8px; }
.checks li { position: relative; padding-left: 22px; font-size: 14px; line-height: 1.75; color: var(--ink); }
.checks li::before {
  content: ""; position: absolute; left: 2px; top: 0.62em; width: 9px; height: 5px;
  border-left: 1.5px solid var(--navy); border-bottom: 1.5px solid var(--navy);
  transform: rotate(-45deg);
}
@media (min-width: 900px) {
  .step:not(:last-child)::after {
    content: ""; position: absolute; top: 52px; right: -24px; width: 24px; height: 1px;
    background: repeating-linear-gradient(90deg, var(--gray) 0 3px, transparent 3px 6px);
  }
}
.note-box {
  margin-top: 28px;
  display: flex; gap: 16px; align-items: flex-start;
  padding: 20px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--white);
  font-size: 15px; color: var(--ink);
}
.note-box .mark {
  flex: none; font-size: 11px; letter-spacing: 0.16em; padding: 5px 10px; border-radius: 6px;
  background: var(--navy); color: #fff; margin-top: 3px;
}

/* Promise (dark) */
.promise { background: radial-gradient(900px 500px at 100% 0%, rgba(42, 75, 116, 0.5), transparent 70%), var(--deep); }
.timeline {
  position: relative;
  display: grid; grid-template-columns: repeat(3, 1fr);
  margin: 0 0 clamp(48px, 6vw, 64px);
  padding-top: 30px;
}
.timeline::before {
  content: ""; position: absolute; left: 0; right: 0; top: 37px; height: 1px;
  background: linear-gradient(90deg, rgba(143, 178, 218, 0), rgba(143, 178, 218, 0.55) 15%, rgba(143, 178, 218, 0.55) 85%, rgba(143, 178, 218, 0));
}
.tl-point { position: relative; text-align: center; }
.tl-point i {
  display: block; margin: 0 auto; width: 15px; height: 15px; border-radius: 50%;
  background: var(--deep); border: 1px solid var(--glow);
  box-shadow: 0 0 0 5px rgba(143, 178, 218, 0.08);
}
.tl-point:last-child i { background: #fff; border-color: #fff; box-shadow: 0 0 20px 2px rgba(143, 178, 218, 0.6); }
.tl-point b { display: block; margin-top: 18px; font-size: clamp(17px, 2.6vw, 26px); color: #fff; letter-spacing: 0.08em; }
.tl-point span { display: block; margin-top: 4px; font-size: 12px; letter-spacing: 0.14em; color: var(--on-dark-muted); }
.promises { display: grid; gap: 1px; grid-template-columns: 1fr; background: var(--on-dark-line); border: 1px solid var(--on-dark-line); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 900px) { .promises { grid-template-columns: repeat(3, 1fr); } }
.promises li { background: rgba(12, 24, 40, 0.92); padding: 30px 28px 32px; }
.promises .k { font-size: 12px; letter-spacing: 0.2em; color: var(--on-dark-muted); }
.promises h3 { margin-top: 10px; font-size: 18px; color: #fff; }
.promises p { margin-top: 12px; font-size: 15px; color: var(--on-dark-muted); line-height: 1.95; }

/* Cases */
.case {
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--line);
  overflow: hidden;
}
.case-top {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px;
  padding: 22px clamp(22px, 4vw, 44px);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, var(--bg), var(--white));
}
.case-no { font-size: 12px; letter-spacing: 0.22em; color: var(--gray); }
.case-no b { color: var(--navy); }
.case-who { font-size: 14px; color: var(--ink); }
.chip { font-size: 11px; letter-spacing: 0.12em; padding: 5px 10px; border-radius: 999px; background: var(--tint); color: var(--navy); }
.case-body {
  display: grid; gap: clamp(36px, 5vw, 56px); grid-template-columns: 1fr;
  padding: clamp(28px, 4.5vw, 52px) clamp(22px, 4vw, 44px);
}
@media (min-width: 960px) { .case-body { grid-template-columns: 1.1fr 0.9fr; align-items: center; } }
.case-body h3 { font-size: clamp(20px, 2.6vw, 26px); color: var(--navy); }
.case-points { margin-top: 24px; display: grid; gap: 16px; }
.case-points li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; font-size: 15px; line-height: 1.9; color: var(--ink); }
.case-points li::before {
  content: ""; width: 9px; height: 9px; margin: 0.65em 0 0 5px; border-radius: 50%;
  border: 1.5px solid var(--navy);
}
.case-points strong { color: var(--navy); }
.case-effect {
  margin-top: 28px; padding: 16px 20px; border-radius: 10px;
  background: var(--bg); border: 1px dashed #CBD3DD;
  font-size: 14px; color: var(--muted); line-height: 1.85;
}
.case-effect b { color: var(--navy); }

.devices { margin: 0 auto; width: 100%; max-width: 460px; }
@media (max-width: 959px) { .devices { max-width: 400px; } }
@media (max-width: 599px) { .devices { max-width: 290px; } }
.devices .stage { position: relative; padding-bottom: 16%; }
.tablet {
  width: 88%;
  border-radius: clamp(14px, 2.4vw, 24px); padding: clamp(6px, 1.2vw, 12px);
  background: linear-gradient(160deg, #1B3049, #0C1828);
  box-shadow: 0 40px 70px -40px rgba(12, 24, 40, 0.55), 0 0 0 1px rgba(12, 24, 40, 0.06);
}
.tablet img { width: 100%; aspect-ratio: 800 / 560; border-radius: clamp(8px, 1.4vw, 14px); background: var(--bg); }
.devices .phone {
  position: absolute; right: 0; bottom: 6%;
  width: 27%;
  border-radius: clamp(14px, 2.4vw, 24px); padding: clamp(4px, 0.7vw, 7px);
  background: linear-gradient(160deg, #1B3049, #0C1828);
  box-shadow: -18px 30px 50px -24px rgba(12, 24, 40, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.devices .phone img { width: 100%; aspect-ratio: 390 / 844; object-fit: cover; object-position: top; border-radius: clamp(10px, 1.8vw, 18px); background: var(--bg); }
.devices figcaption { margin-top: 14px; font-size: 12px; line-height: 1.6; color: var(--gray); letter-spacing: 0.04em; }

.flow5 {
  border-top: 1px solid var(--line);
  padding: clamp(28px, 4vw, 44px) clamp(22px, 4vw, 44px);
  background: var(--bg);
}
.flow5-title { font-size: 15px; font-weight: 700; color: var(--navy); }
.flow5-title small { display: block; font-weight: 400; font-size: 13px; color: var(--muted); }
.flow5 ol { margin-top: 22px; display: grid; gap: 10px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .flow5 ol { grid-template-columns: repeat(5, 1fr); gap: 14px; } }
.flow5 li {
  position: relative;
  padding: 18px 18px 18px;
  border-radius: 12px;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--navy);
}
.flow5 li.decide { border-top-color: var(--gray); background: linear-gradient(180deg, var(--tint), var(--white)); }
.flow5 .n { font-size: 11px; letter-spacing: 0.18em; color: var(--gray); }
.flow5 h4 { margin-top: 4px; font-size: 17px; color: var(--navy); }
.flow5 p { margin-top: 6px; font-size: 13px; line-height: 1.75; color: var(--muted); }
.flow5 .who { position: absolute; right: 14px; top: 16px; font-size: 10px; letter-spacing: 0.12em; padding: 4px 8px; border-radius: 999px; background: var(--tint); color: var(--gray); }
.flow5 .who.human { background: var(--navy); color: #fff; }
@media (min-width: 900px) {
  .flow5 li:not(:last-child)::after {
    content: ""; position: absolute; right: -11px; top: 50%; width: 8px; height: 8px; margin-top: -4px;
    border-top: 1.5px solid var(--gray); border-right: 1.5px solid var(--gray); transform: rotate(45deg);
  }
}
@media (max-width: 899px) {
  .flow5 li:not(:last-child)::after {
    content: ""; position: absolute; left: 26px; bottom: -9px; width: 1px; height: 8px; background: var(--gray);
  }
}
.flow5-foot { margin-top: 22px; font-size: 14px; color: var(--ink); }
.flow5-foot span { display: block; font-size: 13px; color: var(--muted); }

.concept {
  border-top: 1px solid var(--line);
  padding: clamp(28px, 4vw, 44px) clamp(22px, 4vw, 44px);
}
.concept figure { margin: 0; }
.concept .frame { margin-top: 18px; border: 1px solid var(--line); border-radius: 12px; background: #fff; padding: 12px; }
.concept .frame svg { width: 100%; height: auto; }
.concept .open { margin-top: 14px; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--navy); text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.concept .open svg { width: 14px; height: 14px; }
@media (max-width: 719px) { .concept .frame { display: none; } }

.case-soon { margin-top: 24px; }
.case-soon .case-top { background: var(--white); }
.soon-body { display: grid; gap: 28px; grid-template-columns: 1fr; padding: clamp(26px, 4vw, 44px) clamp(22px, 4vw, 44px); }
@media (min-width: 960px) { .soon-body { grid-template-columns: 1.1fr 0.9fr; align-items: center; } }
.soon-body h3 { font-size: clamp(19px, 2.4vw, 23px); color: var(--navy); }
.soon-body p { margin-top: 14px; font-size: 15px; color: var(--muted); }
.skeleton {
  position: relative; border-radius: 14px; padding: 22px; min-height: 190px;
  border: 1px dashed #CBD3DD; background: var(--bg); overflow: hidden;
}
.skeleton .bar { height: 10px; border-radius: 6px; background: #E6EBF1; }
.skeleton .bar + .bar { margin-top: 12px; }
.skeleton .w60 { width: 60%; } .skeleton .w40 { width: 40%; } .skeleton .w80 { width: 80%; }
.skeleton .cols { margin-top: 22px; display: flex; align-items: flex-end; gap: 10px; height: 70px; }
.skeleton .cols i { flex: 1; border-radius: 4px 4px 0 0; background: #E1E7EE; }
.skeleton .badge {
  position: absolute; right: 16px; top: 16px;
  font-size: 11px; letter-spacing: 0.16em; padding: 6px 12px; border-radius: 999px;
  background: var(--white); border: 1px solid var(--line); color: var(--gray);
}
.skeleton::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, 0.7) 50%, transparent 70%);
  transform: translateX(-100%);
  animation: shimmer 3.6s ease-in-out infinite;
}
@keyframes shimmer { 60%, 100% { transform: translateX(100%); } }

/* Process + price */
.process { display: grid; gap: 12px; grid-template-columns: 1fr; counter-reset: p; }
@media (min-width: 900px) { .process { grid-template-columns: repeat(4, 1fr); gap: 16px; } }
.process li {
  position: relative;
  padding: 24px 22px 26px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
}
.process .n { display: flex; align-items: center; justify-content: space-between; font-size: 12px; letter-spacing: 0.18em; color: var(--gray); }
.process .free { font-size: 11px; letter-spacing: 0.12em; padding: 4px 10px; border-radius: 999px; background: var(--tint); color: var(--navy); font-weight: 700; }
.process .paid { font-size: 11px; letter-spacing: 0.12em; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--gray); }
.process h3 { margin-top: 12px; font-size: 17px; color: var(--navy); }
.process p { margin-top: 8px; font-size: 14px; color: var(--muted); line-height: 1.85; }
.process li.last { background: var(--navy); border-color: var(--navy); }
.process li.last .n { color: var(--on-dark-muted); }
.process li.last h3 { color: #fff; }
.process li.last p { color: var(--on-dark-muted); }
.process li.last .paid { border-color: rgba(255, 255, 255, 0.25); color: var(--on-dark-muted); }

.price {
  margin-top: clamp(32px, 5vw, 48px);
  display: grid; gap: 28px; grid-template-columns: 1fr;
  padding: clamp(28px, 4vw, 44px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--white);
}
@media (min-width: 900px) { .price { grid-template-columns: 0.8fr 1.2fr; gap: 48px; } }
.price h3 { font-size: 20px; color: var(--navy); }
.price .lead { margin-top: 12px; color: var(--muted); font-size: 15px; }
.price ul { display: grid; gap: 0; }
.price li { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 15px; display: grid; grid-template-columns: 26px 1fr; gap: 10px; }
.price li:first-child { padding-top: 0; }
.price li:last-child { border-bottom: 0; padding-bottom: 0; }
.price li::before { content: ""; width: 14px; height: 1px; margin-top: 0.95em; background: var(--navy); }

/* About */
.about-grid { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 960px) { .about-grid { grid-template-columns: 1fr 1fr; gap: 28px; } }
.origin {
  position: relative; overflow: hidden;
  border-radius: var(--radius-lg);
  padding: clamp(30px, 4.5vw, 48px);
  background: var(--deep);
  color: var(--on-dark);
}
.origin::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(143, 178, 218, 0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(143, 178, 218, 0.07) 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 80%);
  mask-image: linear-gradient(180deg, #000, transparent 80%);
}
.origin > * { position: relative; }
.formula { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; font-size: clamp(24px, 3vw, 32px); letter-spacing: 0.06em; color: #fff; }
.formula .plus { color: var(--on-dark-muted); font-size: 0.7em; }
.formula .eq { color: var(--on-dark-muted); font-size: 0.7em; }
.formula .gloss { width: 100%; font-size: 13px; letter-spacing: 0.1em; color: var(--on-dark-muted); }
.origin p.text { margin-top: 26px; font-size: 15px; line-height: 2; color: var(--on-dark); }
.values { display: grid; gap: 14px; }
.values li { padding: 22px 24px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.values h3 { font-size: 16px; color: var(--navy); display: flex; gap: 12px; align-items: baseline; }
.values h3 span { font-size: 12px; letter-spacing: 0.14em; color: var(--gray); font-weight: 400; }
.values p { margin-top: 8px; font-size: 14px; color: var(--muted); line-height: 1.9; }

.profile {
  margin-top: 24px;
  display: grid; gap: 28px; grid-template-columns: 1fr;
  padding: clamp(28px, 4vw, 44px);
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--line);
}
@media (min-width: 960px) { .profile { grid-template-columns: 0.75fr 1.25fr; gap: 48px; align-items: center; } }
.profile .role { font-size: 12px; letter-spacing: 0.2em; color: var(--gray); }
.profile h3 { margin-top: 6px; font-size: 22px; color: var(--navy); }
.profile .msg { margin-top: 14px; font-size: 15px; color: var(--muted); line-height: 1.95; }
.career { position: relative; display: grid; gap: 0; }
.career li { position: relative; padding: 0 0 22px 32px; }
.career li:last-child { padding-bottom: 0; }
.career li::before {
  content: ""; position: absolute; left: 0; top: 0.5em; width: 11px; height: 11px; border-radius: 50%;
  background: #fff; border: 1.5px solid var(--gray);
}
.career li:last-child::before { background: var(--navy); border-color: var(--navy); box-shadow: 0 0 0 5px var(--tint); }
.career li:not(:last-child)::after { content: ""; position: absolute; left: 5px; top: calc(0.5em + 13px); bottom: 2px; width: 1px; background: var(--line); }
.career .when { font-size: 12px; letter-spacing: 0.14em; color: var(--gray); }
.career .what { font-size: 15px; color: var(--ink); line-height: 1.85; }
.career .what small { display: block; font-size: 13px; color: var(--muted); }

/* FAQ */
.faq { max-width: 880px; display: grid; gap: 12px; }
.faq details {
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.faq details[open] { border-color: #D3DAE3; box-shadow: 0 18px 40px -30px rgba(30, 58, 95, 0.35); }
.faq summary {
  list-style: none; cursor: pointer;
  display: grid; grid-template-columns: 28px 1fr 20px; gap: 12px; align-items: start;
  padding: 20px 22px;
  font-weight: 700; font-size: 16px; color: var(--navy); line-height: 1.7;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .q { font-size: 13px; letter-spacing: 0.08em; color: var(--gray); margin-top: 0.2em; }
.faq summary .pm { position: relative; width: 14px; height: 14px; margin-top: 0.45em; }
.faq summary .pm::before, .faq summary .pm::after { content: ""; position: absolute; left: 0; top: 6.5px; width: 14px; height: 1.5px; background: var(--navy); transition: transform 0.3s var(--ease); }
.faq summary .pm::after { transform: rotate(90deg); }
.faq details[open] .pm::after { transform: rotate(0deg); }
.faq .a { display: grid; grid-template-columns: 28px 1fr; gap: 12px; padding: 0 22px 22px; font-size: 15px; color: var(--muted); line-height: 1.95; }
.faq .a::before { content: "A"; font-size: 13px; letter-spacing: 0.08em; color: var(--gray); }

/* Contact */
.contact { text-align: center; background: radial-gradient(800px 420px at 50% 0%, rgba(42, 75, 116, 0.6), transparent 70%), var(--deep); }
.contact .sec-head { margin-left: auto; margin-right: auto; }
.contact .sec-label { justify-content: center; }
.contact .sec-label::after { display: none; }
.contact .sec-label::before { content: ""; width: 40px; height: 1px; background: var(--on-dark-line); }
.contact-box {
  max-width: 640px; margin: 0 auto;
  padding: clamp(28px, 4vw, 40px);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(233, 238, 245, 0.14);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
}
.contact-mail { margin-top: 18px; font-size: clamp(20px, 3vw, 26px); letter-spacing: 0.08em; color: #fff; }
.contact-mail a { text-decoration: none; border-bottom: 1px solid rgba(233, 238, 245, 0.3); }
.contact-reply { margin-top: 14px; font-size: 14px; color: var(--on-dark); line-height: 1.85; }
.contact-box .small { margin-top: 18px; font-size: 13px; color: var(--on-dark-muted); line-height: 1.85; }
.contact-box .small a { color: var(--on-dark); }
.contact-steps { margin: 26px auto 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 22px; font-size: 13px; color: var(--on-dark-muted); }
.contact-steps li { display: flex; align-items: center; gap: 8px; }
.contact-steps li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--glow); }

/* Footer */
.site-footer { background: #08111D; color: var(--on-dark-muted); padding: 44px 0 40px; font-size: 13px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 20px 32px; align-items: center; justify-content: space-between; }
.site-footer img { height: 20px; width: auto; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: #fff; }
.footer-tag { letter-spacing: 0.16em; }

/* Reveal */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: 0.08s; }
.js .reveal.d2 { transition-delay: 0.16s; }
.js .reveal.d3 { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .flow-pulse, .skeleton::after { animation: none; }
  .flow-pulse { display: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: 0.01ms !important; }
}

/* ---------- Policy page ---------- */
.policy-hero { padding: calc(var(--header-h) + 64px) 0 56px; }
.policy-hero h1 { margin-top: 14px; font-size: clamp(1.6rem, 3.6vw, 2.3rem); color: #fff; }
.policy { padding: clamp(48px, 7vw, 80px) 0 clamp(72px, 9vw, 112px); background: var(--white); }
.policy .doc { max-width: 800px; }
.policy .doc > p { color: var(--ink); }
.policy h2 { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); font-size: 18px; color: var(--navy); }
.policy ol, .policy ul { margin-top: 14px; display: grid; gap: 8px; }
.policy ol { counter-reset: li; }
.policy ol > li { position: relative; padding-left: 30px; counter-increment: li; }
.policy ol > li::before { content: counter(li) "."; position: absolute; left: 0; color: var(--gray); }
.policy ul > li { position: relative; padding-left: 20px; }
.policy ul > li::before { content: ""; position: absolute; left: 4px; top: 0.9em; width: 6px; height: 1px; background: var(--navy); }
.policy h2 + p, .policy ol + p, .policy ul + p { margin-top: 14px; }
.policy .signed { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); }
.back { display: inline-flex; align-items: center; gap: 8px; margin-top: 40px; color: var(--navy); text-decoration: none; border-bottom: 1px solid currentColor; }

@media (max-width: 879px) {
  .nav.nav-plain { position: static; flex-direction: row; padding: 0; background: none; border: 0; opacity: 1; visibility: visible; transform: none; }
  .nav.nav-plain .nav-cta { margin-top: 0; padding: 7px 18px; font-size: 14px; }
}
