/* =========================================================
   シゴトノット — Motion & Typography concept
   Archivo（可変：幅 62–125 / 太さ 100–900）× Zen Kaku Gothic New
   ========================================================= */
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-variable.woff2") format("woff2-variations"), url("../fonts/archivo-variable.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}
:root {
  --paper: #F2F4F6;
  --ink: #0A2642;
  --ink-2: #3A4D63;
  --mute: #6B7B8E;
  --pale: #C9D2DC;
  --line: #D9E0E7;
  --blue: #1F6FB2;
  --sky: #4195D2;
  --leaf: #7EAE62;
  --white: #FFFFFF;
  --en: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --jp: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", sans-serif;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --pad: clamp(20px, 4vw, 56px);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--jp); line-height: 1.8; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, dl, dd, ol, ul, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 4px; border-radius: 6px; }
.wrap { padding-inline: var(--pad); max-width: 1440px; margin: 0 auto; }
.note { margin-top: 28px; font-size: 12px; color: var(--mute); }
.note a { color: var(--ink-2); }

/* ---------- Header ---------- */
.hd { position: fixed; inset: 0 0 auto 0; z-index: 50; display: flex; align-items: center; gap: 28px; padding: 18px var(--pad); transition: background .3s, backdrop-filter .3s; }
.hd.is-scrolled { background: rgba(242,244,246,.82); backdrop-filter: blur(10px); }
.hd__logo img { width: 170px; height: auto; }
.hd__nav { margin-left: auto; display: flex; gap: 30px; }
.hd__nav a { text-decoration: none; display: flex; flex-direction: column; line-height: 1.2; }
.hd__nav span { font-family: var(--en); font-weight: 600; font-size: 15px; font-variation-settings: "wdth" 100; transition: font-variation-settings .35s var(--ease); }
.hd__nav a:hover span { font-variation-settings: "wdth" 125; }
.hd__nav small { font-size: 10px; color: var(--mute); }
.hd__motion { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); color: var(--ink); font: 500 12px var(--jp); cursor: pointer; }
.hd__motion b { font-family: var(--en); font-weight: 700; }
.hd__motion-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--leaf); box-shadow: 0 0 0 4px rgba(126,174,98,.2); }
.hd__motion[aria-pressed="false"] .hd__motion-dot { background: var(--pale); box-shadow: none; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 30px; border-radius: 999px; font: 700 15px var(--jp); text-decoration: none; transition: background .25s, color .25s, border-color .25s; will-change: transform; }
.btn--ink { background: var(--ink); color: var(--white); }
.btn--ink:hover { background: var(--blue); }
.btn--line { border: 1.5px solid var(--ink); color: var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--white); }
.btn--white { background: var(--white); color: var(--ink); }
.btn--white:hover { background: #DCEAF6; }
.btn--glass { border: 1.5px solid rgba(255,255,255,.6); color: var(--white); }
.btn--glass:hover { background: rgba(255,255,255,.12); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; padding: 120px var(--pad) 72px; overflow: hidden; }
.hero__thread { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero__thread path { fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; vector-effect: non-scaling-stroke; }
.hero__thread .t1 { stroke: var(--sky); opacity: .55; animation: draw 2.6s .9s var(--ease) forwards; }
.hero__thread .t2 { stroke: var(--leaf); opacity: .7; animation: draw 2.6s 1.15s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.hero__inner { position: relative; z-index: 1; width: 100%; }
.hero__title { font-family: var(--en); font-weight: 800; font-size: clamp(76px, 16.5vw, 300px); line-height: .84; letter-spacing: -.035em; margin-bottom: clamp(28px, 4vw, 56px); }
.hero__row { display: flex; align-items: flex-end; gap: .22em; flex-wrap: nowrap; }
.kin { display: inline-flex; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.kin--blue { color: var(--blue); }
.ch { display: inline-block; font-variation-settings: "wdth" var(--wd, 100), "wght" var(--wg, 800); transform: translateY(var(--y, 0)); will-change: transform, font-variation-settings; }
.is-loading .kin { opacity: 0; }
.is-split .kin { opacity: 1; }
.is-loading .ch { --y: 105%; --wd: 62; }
.ch { transition: transform 1.1s var(--ease), font-variation-settings .6s var(--ease); transition-delay: calc(var(--i, 0) * 45ms); }
.ch.is-tracking { transition: font-variation-settings .25s ease-out; }
.hero__knot { width: .72em; height: .72em; margin-bottom: .06em; flex-shrink: 0; opacity: 0; transform: scale(.4) rotate(-90deg); transition: opacity .8s .7s, transform 1.2s .7s var(--ease); }
.hero__knot img { width: 100%; height: 100%; animation: spin 24s linear infinite; }
.is-ready .hero__knot { opacity: 1; transform: none; }
@keyframes spin { to { transform: rotate(360deg); } }

.hero__foot { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px; align-items: end; }
.hero__jp { font-weight: 900; font-size: clamp(28px, 3.6vw, 56px); line-height: 1.35; letter-spacing: .02em; }
.mask { display: block; overflow: hidden; }
.mask > span { display: block; transform: translateY(105%); transition: transform 1s var(--ease); }
.mask:nth-child(2) > span { transition-delay: .12s; }
.is-ready .mask > span { transform: none; transition-delay: .55s; }
.is-ready .mask:nth-child(2) > span { transition-delay: .67s; }
.hero__side { display: flex; flex-direction: column; gap: 22px; max-width: 520px; justify-self: end; opacity: 0; transform: translateY(16px); transition: opacity .9s 1s, transform .9s 1s var(--ease); }
.is-ready .hero__side { opacity: 1; transform: none; }
.hero__lead { font-size: 15px; color: var(--ink-2); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }

.mascot { position: absolute; z-index: 2; right: var(--pad); top: 108px; width: clamp(120px, 13vw, 190px); }
.mascot__face { width: 100%; aspect-ratio: 1; border-radius: 50%; object-fit: cover; object-position: 50% 30%; background: #DADADA; box-shadow: 0 18px 40px rgba(10,38,66,.18); }
.mascot__bubble { position: absolute; right: 86%; top: 8%; white-space: nowrap; background: var(--white); border-radius: 16px 16px 4px 16px; padding: 8px 14px; font-size: 13px; font-weight: 700; box-shadow: 0 8px 20px rgba(10,38,66,.10); opacity: 0; transform: translateY(8px) scale(.9); transform-origin: right bottom; transition: opacity .5s 1.8s, transform .6s 1.8s var(--ease); }
.is-ready .mascot__bubble { opacity: 1; transform: none; }
.hero__scroll { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); font: 600 11px var(--en); letter-spacing: .1em; color: var(--mute); display: flex; flex-direction: column; align-items: center; gap: 8px; }
.hero__scroll::after { content: ""; width: 1px; height: 40px; background: linear-gradient(var(--ink) 0 50%, transparent 50%); background-size: 1px 80px; animation: drip 1.8s linear infinite; }
@keyframes drip { from { background-position: 0 -40px; } to { background-position: 0 40px; } }

/* ---------- Statement (scroll-lit) ---------- */
.statement { padding: 28vh var(--pad); max-width: 1440px; margin: 0 auto; }
.statement__text { font-weight: 900; font-size: clamp(28px, 4.6vw, 72px); line-height: 1.5; letter-spacing: .01em; }
.lit-ch { color: var(--pale); transition: color .35s; }
.lit-ch.on { color: var(--ink); }

/* ---------- Section head ---------- */
.sec-head { display: flex; flex-direction: column; gap: 6px; margin-bottom: clamp(32px, 5vw, 64px); }
.sec-head__en { font: 500 14px var(--en); color: var(--blue); letter-spacing: .02em; }
.sec-head__jp { font-weight: 900; font-size: clamp(26px, 3.4vw, 48px); line-height: 1.35; }

/* ---------- AI ---------- */
.ai { padding-bottom: clamp(96px, 14vw, 180px); }
.marquee { overflow: hidden; padding: 20px 0 clamp(48px, 7vw, 96px); }
.marquee__track { display: flex; gap: .5em; width: max-content; font-family: var(--en); font-weight: 900; font-size: clamp(64px, 11vw, 190px); line-height: 1; letter-spacing: -.03em; font-variation-settings: "wdth" 112; will-change: transform; }
.marquee__track span { white-space: nowrap; }
.marquee__track .o { color: transparent; -webkit-text-stroke: 1.5px var(--ink); }
.ai__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.ai__item { position: relative; display: grid; grid-template-columns: 56px 1fr; grid-template-rows: auto auto; column-gap: 18px; align-items: center; padding: 26px 22px; border-bottom: 1px solid var(--line); overflow: hidden; isolation: isolate; }
.ai__item:not(:nth-child(3n)) { border-right: 1px solid var(--line); }
.ai__item::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink); transform: scaleY(0); transform-origin: bottom; transition: transform .45s var(--ease); }
.ai__item:hover::before { transform: scaleY(1); }
.ai__item img { grid-row: 1 / 3; width: 44px; height: 44px; object-fit: contain; padding: 6px; border-radius: 12px; background: var(--white); transition: transform .45s var(--ease); }
.ai__item img.wide { width: 56px; }
.ai__item b { font-family: var(--en); font-weight: 700; font-size: 20px; line-height: 1.3; font-variation-settings: "wdth" 100; transition: color .3s, font-variation-settings .45s var(--ease); }
.ai__item span { font-size: 13px; color: var(--mute); transition: color .3s; }
.ai__item:hover b { color: var(--white); font-variation-settings: "wdth" 118; }
.ai__item:hover span { color: #AFC2D6; }
.ai__item:hover img { transform: rotate(-8deg) scale(1.08); }

/* ---------- How (sticky) ---------- */
.how { position: relative; height: 320vh; background: var(--white); }
.how__pin { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; padding: 96px var(--pad) 48px; }
.how__left { align-self: stretch; display: flex; flex-direction: column; }
.how__num { margin-top: auto; height: 1em; overflow: hidden; font-family: var(--en); font-weight: 900; font-size: clamp(160px, 25vw, 420px); line-height: 1; letter-spacing: -.05em; color: var(--ink); }
.how__num-track { display: flex; flex-direction: column; transform: translateY(calc(var(--step, 0) * -1em)); transition: transform .9s var(--ease); }
.how__num-track span { height: 1em; font-variation-settings: "wdth" 70; }
.how__steps { position: relative; height: 60vh; }
.how__step { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 16px; opacity: 0; transform: translateY(40px); transition: opacity .6s, transform .8s var(--ease); pointer-events: none; }
.how__step.is-active { opacity: 1; transform: none; pointer-events: auto; }
.how__step.is-past { transform: translateY(-40px); }
.how__en { font: 800 clamp(40px, 5vw, 84px) / 1 var(--en); letter-spacing: -.03em; color: transparent; -webkit-text-stroke: 1.5px var(--blue); font-variation-settings: "wdth" 120; }
.how__step h3 { font-weight: 900; font-size: clamp(26px, 3vw, 44px); line-height: 1.4; }
.how__step p:not(.how__en) { font-size: 16px; color: var(--ink-2); max-width: 30em; }
.how__slack { width: 44px; height: 44px; }

/* ---------- What (horizontal) ---------- */
.what { position: relative; height: 340vh; }
.what__pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; flex-direction: column; padding: 96px 0 40px; }
.what__head { padding-inline: var(--pad); display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; }
.what__head .sec-head__jp { margin-bottom: 0; }
.what__progress { width: 200px; height: 2px; background: var(--line); }
.what__progress span { display: block; height: 100%; width: 100%; background: var(--ink); transform-origin: left; transform: scaleX(var(--p, 0)); }
.what__track { flex: 1; display: flex; gap: 4vw; padding: 40px var(--pad) 0; width: max-content; will-change: transform; }
.panel { position: relative; width: min(80vw, 1080px); height: 100%; border-radius: 28px; background: var(--white); padding: clamp(28px, 4vw, 56px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: end; overflow: hidden; }
.panel__big { position: absolute; left: clamp(20px, 3vw, 44px); top: -.08em; font: 900 clamp(120px, 18vw, 300px) / 1 var(--en); letter-spacing: -.05em; color: var(--paper); font-variation-settings: "wdth" 125; pointer-events: none; }
.panel__body { position: relative; display: flex; flex-direction: column; gap: 14px; }
.panel__body h3 { font-weight: 900; font-size: clamp(26px, 3vw, 44px); line-height: 1.35; }
.panel__body p { color: var(--ink-2); }
.vis { position: relative; align-self: center; height: 100%; max-height: 360px; border-radius: 20px; background: var(--paper); display: flex; align-items: center; justify-content: center; gap: 18px; padding: 24px; overflow: hidden; }
.vis-doc { position: relative; width: 42%; aspect-ratio: 3 / 4; background: var(--white); border-radius: 8px; padding: 26px 14px; display: flex; flex-direction: column; gap: 10px; box-shadow: 0 10px 24px rgba(10,38,66,.08); overflow: hidden; }
.vis-doc i { height: 7px; border-radius: 4px; background: #E3E9EF; }
.vis-doc i.hl { background: #A9CBE8; }
.vis-beam { position: absolute; left: 0; right: 0; height: 22px; top: 0; background: linear-gradient(transparent, rgba(65,149,210,.3)); border-bottom: 2px solid var(--sky); animation: beam 2.8s ease-in-out infinite; }
@keyframes beam { 0% { top: -10%; } 100% { top: 100%; } }
.vis-chips { display: flex; flex-direction: column; gap: 8px; }
.vis-chips li { font-size: 13px; font-weight: 700; background: #E9F2E3; color: #2E6B1E; border-radius: 8px; padding: 6px 12px; animation: chip 2.8s infinite both; }
.vis-chips li:nth-child(2) { animation-delay: .25s; } .vis-chips li:nth-child(3) { animation-delay: .5s; }
.vis-chips li.warn { background: #FDF0E1; color: #9A5A0B; animation-delay: .75s; }
@keyframes chip { 0%, 20% { opacity: 0; transform: translateX(-10px); } 30%, 85% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.vis--find { flex-direction: column; align-items: stretch; justify-content: center; }
.vis--find .q { align-self: flex-end; background: var(--blue); color: var(--white); border-radius: 16px 16px 4px 16px; padding: 10px 16px; font-size: 14px; font-weight: 700; animation: pop 4s infinite both; }
.vis--find .a { align-self: flex-start; background: var(--white); border-radius: 16px 16px 16px 4px; padding: 12px 16px; font-size: 14px; line-height: 1.7; animation: pop 4s .9s infinite both; }
.vis--find .a span { display: block; margin-top: 6px; font-size: 12px; font-weight: 700; color: var(--blue); }
@keyframes pop { 0%, 8% { opacity: 0; transform: translateY(10px); } 16%, 88% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.vis--link .core { position: relative; z-index: 1; width: 84px; height: 84px; padding: 14px; border-radius: 50%; background: var(--white); box-shadow: 0 10px 24px rgba(10,38,66,.12); }
.orbit { position: absolute; width: 200px; height: 200px; border: 1.5px dashed #BFD2E3; border-radius: 50%; animation: spin 14s linear infinite; }
.orbit--2 { width: 300px; height: 300px; animation-duration: 22s; animation-direction: reverse; }
.sat { position: absolute; width: 14px; height: 14px; border-radius: 50%; background: var(--sky); offset-path: circle(100px at 50% 50%); }
.sat { left: calc(50% - 7px); top: calc(50% - 7px); animation: orbitA 5s linear infinite; }
.s2 { background: var(--leaf); animation: orbitB 8s linear infinite; }
.s3 { background: var(--ink); animation: orbitA 5s -2.5s linear infinite; }
@keyframes orbitA { from { transform: rotate(0) translateX(100px); } to { transform: rotate(360deg) translateX(100px); } }
@keyframes orbitB { from { transform: rotate(0) translateX(150px); } to { transform: rotate(-360deg) translateX(150px); } }
.sat { offset-path: none; }

/* ---------- Numbers ---------- */
.nums { padding: clamp(96px, 14vw, 180px) 0; }
.nums__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.nums__list > div { padding: 28px 24px 0 0; }
.nums__list > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.nums dt { font-weight: 700; font-size: 15px; }
.nums dd { font: 900 clamp(96px, 13vw, 230px) / 1 var(--en); letter-spacing: -.05em; color: var(--blue); display: flex; align-items: baseline; margin: 12px 0 8px; }
.nums dd .count { font-variation-settings: "wdth" var(--wd, 100); }
.nums dd small { font-size: .32em; margin-left: .06em; color: var(--ink); }
.nums__list p { font-size: 13px; color: var(--mute); }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; background: var(--ink); color: var(--white); padding: clamp(110px, 16vw, 220px) var(--pad); }
.cta__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .45; }
.cta::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,38,66,.2), rgba(10,38,66,.75)); }
.cta__inner { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 40px; }
.cta__title { display: flex; flex-direction: column; gap: 10px; }
.cta__en { font: 900 clamp(80px, 15vw, 270px) / .9 var(--en); letter-spacing: -.045em; font-variation-settings: "wdth" var(--wd, 80); white-space: nowrap; }
.cta__jp { font-weight: 900; font-size: clamp(24px, 3vw, 44px); }
.cta__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.cta__tel { font-size: 13px; color: #C3D4E6; }

/* ---------- Footer ---------- */
.ft { background: var(--ink); color: #AFC2D6; padding: 40px var(--pad) 48px; display: flex; flex-wrap: wrap; align-items: center; gap: 20px 40px; border-top: 1px solid rgba(255,255,255,.1); font-size: 12px; }
.ft nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.ft a { color: #C9D6E4; text-decoration: none; }
.ft a:hover { color: var(--white); text-decoration: underline; }
.ft p { margin-left: auto; }

/* ---------- Custom cursor ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 100; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--blue); pointer-events: none; display: flex; align-items: center; justify-content: center; transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background .3s, opacity .3s; opacity: 0; }
.cursor__label { font: 700 12px var(--en); color: var(--white); opacity: 0; transition: opacity .2s; }
.cursor.is-big { width: 76px; height: 76px; margin: -38px 0 0 -38px; background: var(--ink); }
.cursor.is-big .cursor__label { opacity: 1; }
.has-cursor .cursor { opacity: 1; }
.has-cursor, .has-cursor a, .has-cursor button { cursor: none; }

/* ---------- Scroll reveal ---------- */
.rv { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.rv.is-in { opacity: 1; transform: none; }

/* ---------- Mobile ---------- */
@media (max-width: 860px) {
  .hd { gap: 12px; }
  .hd__nav { display: none; }
  .hd__motion { margin-left: auto; }
  .hd__logo img { width: 140px; }
  .hero { padding-top: 110px; padding-bottom: 80px; }
  .hero__foot { grid-template-columns: 1fr; gap: 28px; }
  .hero__side { justify-self: start; }
  .mascot { top: auto; bottom: 46%; width: 104px; }
  .mascot__bubble { font-size: 11px; }
  .ai__list { grid-template-columns: 1fr; }
  .ai__item { border-right: 0 !important; padding: 20px 4px; }
  .how, .what { height: auto; }
  .how__pin, .what__pin { position: static; height: auto; }
  .how__pin { grid-template-columns: 1fr; padding: 96px var(--pad); }
  .how__num { display: none; }
  .how__steps { height: auto; display: flex; flex-direction: column; gap: 48px; }
  .how__step { position: static; opacity: 1; transform: none; pointer-events: auto; }
  .what__pin { padding: 80px 0; }
  .what__progress { display: none; }
  .what__track { width: auto; flex-direction: column; gap: 20px; transform: none !important; }
  .panel { width: auto; height: auto; grid-template-columns: 1fr; padding-top: 110px; }
  .vis { height: 260px; }
  .nums__list { grid-template-columns: 1fr; }
  .nums__list > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); margin-top: 24px; }
  .ft p { margin-left: 0; }
}

/* ---------- Motion off（ボタン or 端末設定） ---------- */
.is-still *, .is-still *::before, .is-still *::after { animation: none !important; transition: none !important; }
.is-still .ch { --y: 0 !important; --wd: 100 !important; }
.is-still .mask > span, .is-still .hero__side, .is-still .hero__knot, .is-still .mascot__bubble, .is-still .rv { opacity: 1 !important; transform: none !important; }
.is-still .hero__thread path { stroke-dashoffset: 0; }
.is-still .lit-ch { color: var(--ink); }
.is-still .marquee__track { transform: none !important; }
.is-still .cta__en { --wd: 100 !important; }
.is-still .vis-chips li, .is-still .vis--find p { opacity: 1; }
@media (max-width: 860px) {
  .mascot { top: 92px; bottom: auto; right: var(--pad); width: 84px; }
  .mascot__bubble { right: 105%; top: 22%; }
  .hero { padding-top: 200px; }
}

/* =========================================================
   サイト化に伴う追加（全ページ共通コンポーネント）
   ========================================================= */
.btn { gap: 8px; border: 0; cursor: pointer; }
.btn svg { flex-shrink: 0; }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 13px; }
.btn--lg { min-height: 60px; font-size: 16px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--ink); color: var(--white); }
.btn--primary:hover { background: var(--blue); }
.btn--ghost { background: transparent; border: 1.5px solid var(--ink); color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--white); }
.btn--line { background: transparent; }
.btn:disabled { opacity: .55; cursor: wait; }

/* header */
.hd__login { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; font-size: 13px; font-weight: 700; text-decoration: none; }
.hd__login:hover { color: var(--blue); }
.hd-menu { display: none; position: relative; }
.hd-menu summary { list-style: none; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: var(--white); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.hd-menu summary::-webkit-details-marker { display: none; }
.hd-menu__panel { position: absolute; right: 0; top: 54px; width: min(86vw, 340px); background: var(--white); border-radius: 22px; padding: 14px; box-shadow: 0 20px 48px rgba(10,38,66,.18); display: flex; flex-direction: column; }
.hd-menu__panel a, .hd-menu__dl { display: flex; align-items: baseline; gap: 12px; padding: 12px 10px; border: 0; border-bottom: 1px solid var(--line); background: none; font: 700 15px var(--jp); color: var(--ink); text-decoration: none; text-align: left; cursor: pointer; }
.hd-menu__panel a span { font: 700 18px var(--en); min-width: 70px; }
.hd-menu__panel a b { font-weight: 700; }
.hd-menu__cta { justify-content: center; margin-top: 10px; border: 0 !important; border-radius: 999px; background: var(--ink); color: var(--white) !important; }

/* hero / misc */
.hero__note { font-size: 12px; color: var(--mute); }
.sec-head__lead { margin-top: 10px; max-width: 42em; color: var(--ink-2); }
.panel__note { font-size: 13px; color: var(--mute); }
.nums dd small { font: 900 .2em var(--jp); letter-spacing: 0; margin-left: .2em; }

/* orbit satellites with logos */
.sat { width: 40px; height: 40px; left: calc(50% - 20px); top: calc(50% - 20px); border-radius: 50%; background: var(--white) !important; box-shadow: 0 6px 14px rgba(10,38,66,.12); display: flex; align-items: center; justify-content: center; }
.sat img { width: 22px; height: 22px; object-fit: contain; }
.s4 { animation: orbitB 8s -4s linear infinite; }
.is-still .sat.s1 { transform: translateX(100px); } .is-still .sat.s2 { transform: rotate(180deg) translateX(150px) rotate(-180deg); }
.is-still .sat.s3 { transform: translateX(-100px); } .is-still .sat.s4 { transform: translateY(-150px); }

/* tangles (problems) */
.tangles { padding: clamp(80px, 12vw, 160px) 0; }
.tangles__list { border-top: 1px solid var(--ink); }
.tangle { position: relative; display: grid; grid-template-columns: minmax(160px, .7fr) minmax(0, 1.6fr) minmax(0, 1.2fr); gap: 32px; align-items: baseline; padding: 40px 0; border-bottom: 1px solid var(--line); }
.tangle::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: linear-gradient(90deg, var(--sky), var(--leaf)); transform: scaleX(0); transform-origin: left; transition: transform 1.4s var(--ease); }
.tangle.is-in::after { transform: scaleX(1); }
.tangle__en { font: 700 clamp(20px, 2vw, 28px) / 1.2 var(--en); color: var(--blue); font-variation-settings: "wdth" 110; }
.tangle__title { font-weight: 900; font-size: clamp(22px, 2.6vw, 38px); line-height: 1.45; }
.tangle__text { font-size: 15px; color: var(--ink-2); }

/* FAQ */
.faq { padding: clamp(80px, 12vw, 160px) 0; background: var(--white); }
.faq__wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); gap: 48px; }
.faq__list { border-top: 1px solid var(--ink); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; display: grid; grid-template-columns: 48px 1fr 28px; gap: 12px; align-items: center; padding: 26px 0; cursor: pointer; }
.qa summary::-webkit-details-marker { display: none; }
.qa__q { font: 900 30px / 1 var(--en); color: var(--blue); }
.qa__text { font-weight: 700; font-size: clamp(16px, 1.5vw, 19px); }
.qa__mark { position: relative; width: 22px; height: 22px; }
.qa__mark::before, .qa__mark::after { content: ""; position: absolute; left: 0; top: 10px; width: 22px; height: 2px; background: var(--ink); transition: transform .4s var(--ease); }
.qa__mark::after { transform: rotate(90deg); }
.qa[open] .qa__mark::after { transform: rotate(0); }
.qa__a { display: grid; grid-template-columns: 48px 1fr; gap: 12px; padding: 0 40px 28px 0; }
.qa__a .qa__q { color: var(--leaf); }
.qa__a p { color: var(--ink-2); }

/* CTA lead */
.cta__lead { max-width: 36em; color: #D6E3F0; }

/* contact */
.contact { padding: clamp(80px, 12vw, 160px) 0; }
.contact__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.contact__copy { display: flex; flex-direction: column; gap: 22px; }
.contact__copy .sec-head { margin-bottom: 0; }
.contact__lead { color: var(--ink-2); }
.terms { background: var(--white); border-radius: 20px; padding: 24px 26px; font-size: 13px; line-height: 1.9; color: var(--ink-2); }
.terms__title { font-weight: 700; font-size: 14px; color: var(--ink); margin-bottom: 6px; }
.terms ul { list-style: disc; padding-left: 1.2em; }
.terms a { color: var(--blue); }
.contact__tel { font-size: 14px; color: var(--ink-2); line-height: 1.8; }
.contact__tel strong { font: 800 26px var(--en); color: var(--ink); letter-spacing: .01em; }

/* forms */
.form { background: var(--white); border-radius: 28px; padding: clamp(24px, 3.5vw, 44px); display: flex; flex-direction: column; gap: 20px; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field > label { font-size: 14px; font-weight: 700; }
.field input, .field select, .field textarea { width: 100%; font: 500 16px var(--jp); color: var(--ink); background: var(--paper); border: 1.5px solid transparent; border-radius: 14px; padding: 14px 16px; transition: border-color .2s, background .2s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: var(--white); }
.field input[readonly] { color: var(--mute); }
.field__hint { font-size: 12px; color: var(--mute); }
.req, .opt { font-size: 11px; margin-left: 8px; padding: 2px 7px; border-radius: 4px; font-weight: 700; vertical-align: 1px; }
.req { background: var(--ink); color: var(--white); }
.opt { background: var(--paper); color: var(--mute); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.7; color: var(--ink-2); cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 3px; flex-shrink: 0; accent-color: var(--ink); }
.check a, .form a { color: var(--blue); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__note { font-size: 12px; color: var(--mute); text-align: center; }
.form-alert { padding: 14px 16px; border-radius: 12px; background: #FDECEA; color: #B42318; font-size: 14px; font-weight: 700; }
.status { min-height: 1.6em; font-size: 14px; line-height: 1.7; color: var(--mute); }
.status[data-tone="ok"] { color: #2E6B1E; }
.status[data-tone="warn"] { color: #9A5A0B; }
.status[data-tone="error"], .status.error { color: #B42318; }

/* download dialog */
.dl-dialog { width: min(100% - 32px, 560px); max-height: calc(100vh - 32px); padding: 0; border: 0; border-radius: 28px; background: var(--white); color: var(--ink); box-shadow: 0 40px 100px rgba(10,38,66,.35); }
.dl-dialog::backdrop { background: rgba(10,38,66,.6); backdrop-filter: blur(4px); }
.dl-dialog[open] { animation: dlIn .5s var(--ease); }
@keyframes dlIn { from { opacity: 0; transform: translateY(24px) scale(.98); } }
.dl-dialog__head { position: relative; padding: 30px 32px 20px; background: var(--ink); color: var(--white); overflow: hidden; }
.dl-dialog__head > div { position: relative; z-index: 1; }
.dl-dialog__en { position: absolute; right: -8px; bottom: -18px; font: 900 72px / 1 var(--en); letter-spacing: -.04em; font-variation-settings: "wdth" 120; color: rgba(255,255,255,.08); white-space: nowrap; }
.dl-dialog__sub { font-size: 12px; color: #AFC2D6; }
.dl-dialog__title { font-weight: 900; font-size: 26px; }
.dl-dialog__close { position: absolute; z-index: 2; top: 14px; right: 14px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: var(--white); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.dl-dialog__close:hover { background: rgba(255,255,255,.24); }
.dl-dialog form { padding: 24px 32px 30px; display: flex; flex-direction: column; gap: 16px; }
.dl-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; counter-reset: s; }
.dl-steps li { counter-increment: s; font-size: 12px; line-height: 1.5; color: var(--ink-2); background: var(--paper); border-radius: 12px; padding: 10px 12px; }
.dl-steps li::before { content: "0" counter(s); display: block; font: 900 18px / 1.2 var(--en); color: var(--blue); }

/* sub page: hero */
.page-hero { padding: 140px var(--pad) 56px; display: flex; flex-direction: column; gap: 24px; overflow: hidden; }
.page-hero__en { font: 800 clamp(72px, 15vw, 260px) / .86 var(--en); letter-spacing: -.04em; }
.page-hero__en .kin { padding-bottom: .08em; }
.page-hero__text { display: flex; flex-direction: column; gap: 10px; max-width: 900px; }
.breadcrumb { display: flex; gap: 10px; font-size: 13px; color: var(--mute); }
.breadcrumb a { color: var(--mute); }
.page-hero__title { font-weight: 900; font-size: clamp(26px, 3vw, 42px); line-height: 1.35; }
.page-hero__lead { color: var(--ink-2); max-width: 46em; }
.page-body { padding: 24px var(--pad) clamp(80px, 10vw, 140px); }
.doc { max-width: 980px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.doc-section { background: var(--white); border-radius: 22px; padding: clamp(22px, 3vw, 36px); }
.doc-section h2 { font-weight: 900; font-size: 20px; line-height: 1.5; margin-bottom: 10px; }
.doc-section h3 { font-size: 16px; margin: 18px 0 6px; }
.doc-section p, .doc-section ul, .doc-section ol { font-size: 15px; line-height: 1.95; color: var(--ink-2); }
.doc-section p + p { margin-top: .8em; }
.doc-section ul, .doc-section ol { list-style: disc; padding-left: 1.3em; }
.doc-section a { color: var(--blue); }
.doc-section--table { padding: 0; overflow: hidden; }
.doc-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.doc-table th, .doc-table td { text-align: left; vertical-align: top; padding: 20px 24px; border-bottom: 1px solid var(--line); line-height: 1.85; }
.doc-table tr:last-child th, .doc-table tr:last-child td { border-bottom: 0; }
.doc-table th { width: 28%; font-weight: 700; color: var(--ink); }
.doc-table td { color: var(--ink-2); }
.doc-table a { color: var(--blue); }
.page-cta { background: var(--ink); color: var(--white); padding: clamp(72px, 10vw, 140px) var(--pad); display: flex; flex-direction: column; gap: 28px; overflow: hidden; }
.page-cta__en { font: 900 clamp(72px, 13vw, 220px) / .9 var(--en); letter-spacing: -.045em; font-variation-settings: "wdth" var(--wd, 90); white-space: nowrap; }
.page-cta__row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }
.page-cta__jp { font-weight: 900; font-size: clamp(20px, 2.2vw, 30px); line-height: 1.5; }
.page-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* footer (site) */
.ft { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px 40px; padding: 56px var(--pad) 40px; }
.ft__top { display: flex; flex-direction: column; gap: 14px; }
.ft__lead { font-size: 13px; line-height: 1.8; }
.ft__nav { display: grid; grid-template-columns: repeat(2, auto); gap: 10px 36px; align-content: start; }
.ft__copy { grid-column: 1 / -1; margin: 0; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); }

/* app pages (login / download / account / admin) */
.is-app { background: var(--paper); }
.app { position: relative; min-height: 100vh; display: flex; flex-direction: column; overflow: hidden; }
.app__word { position: absolute; left: var(--pad); bottom: -.12em; font: 900 clamp(110px, 22vw, 380px) / 1 var(--en); letter-spacing: -.05em; color: #E3E8EE; white-space: nowrap; pointer-events: none; }
.app__word .ch { --wg: 900; }
.app__main { position: relative; z-index: 1; flex: 1; display: grid; place-items: center; padding: 48px 16px; }
.app__wrap { width: 100%; }
.app__brand { display: block; width: min(200px, 60vw); margin: 0 auto 28px; }
.app__card { width: min(100%, 480px); margin: 0 auto; background: var(--white); border-radius: 28px; padding: clamp(26px, 4vw, 44px); box-shadow: 0 30px 70px rgba(10,38,66,.10); }
.app__card--wide { width: min(100%, 1000px); }
.app__card--mid { width: min(100%, 820px); }
.app__icon { width: 64px; height: 64px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; background: #E9F2E3; color: #2E6B1E; }
.app__icon--blue { background: #E4EFF8; color: var(--blue); }
.app__eyebrow { font: 600 13px var(--en); color: var(--blue); margin-bottom: 4px; }
.app__title { font-weight: 900; font-size: 28px; line-height: 1.4; margin-bottom: 10px; }
.app__lead { font-size: 14px; line-height: 1.85; color: var(--ink-2); margin-bottom: 22px; }
.app__stack { display: flex; flex-direction: column; gap: 16px; }
.app__links { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-top: 18px; font-size: 13px; }
.app__links a { color: var(--blue); }
.link-btn { border: 0; padding: 8px 0; background: none; color: var(--blue); font: 500 13px var(--jp); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.app__foot { position: relative; z-index: 1; text-align: center; padding: 0 16px 28px; font-size: 12px; }
.app__foot a { color: var(--mute); margin: 0 8px; }
.center { text-align: center; }

/* account */
.acc-grid { display: grid; grid-template-columns: minmax(220px, .8fr) minmax(0, 1.7fr); gap: 16px; }
.acc-panel { min-width: 0; padding: 24px; border-radius: 20px; background: var(--paper); }
.acc-panel--wide { grid-column: 1 / -1; }
.acc-panel h2 { font-weight: 900; font-size: 17px; margin-bottom: 14px; }
.acc-label { font-size: 12px; color: var(--mute); margin-bottom: 4px; }
.acc-value { font-weight: 700; overflow-wrap: anywhere; }
.acc-sub, .acc-note { font-size: 14px; line-height: 1.75; color: var(--ink-2); overflow-wrap: anywhere; }
.acc-note a { color: var(--blue); }
.acc-summary { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr); gap: 20px; align-items: center; margin-bottom: 18px; padding: 20px; border-radius: 16px; background: var(--white); }
.acc-plan { font-weight: 900; font-size: 21px; line-height: 1.45; overflow-wrap: anywhere; }
.acc-price { margin-top: 4px; font-size: 14px; font-weight: 700; color: var(--ink-2); }
.acc-status { display: flex; align-items: center; gap: 14px; min-width: 0; }
.contract-status-badge { flex: none; display: inline-flex; align-items: center; min-height: 36px; padding: 4px 16px; border-radius: 999px; color: var(--white); font-size: 14px; font-weight: 700; white-space: nowrap; background: var(--mute); }
.contract-status-badge.is-active { background: #2E6B1E; }
.contract-status-badge.is-unpaid { background: #B42318; }
.acc-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.acc-facts dt { font-size: 12px; color: var(--mute); margin-bottom: 4px; }
.acc-facts dd { margin: 0; font-weight: 700; }
.payment-method-chip { display: inline-flex; align-items: center; gap: 7px; padding: 4px 12px; border-radius: 999px; background: var(--white); font-size: 13px; font-weight: 700; }
.payment-method-chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--leaf); }
.acc-support { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
.acc-support a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 16px; border-radius: 14px; background: var(--white); text-decoration: none; }
.acc-support a:hover { background: #E4EFF8; }
.acc-support small { display: block; font-size: 11px; color: var(--mute); }
/* admin */
.admin-search { display: flex; gap: 10px; margin: 8px 0 24px; }
.admin-search input { flex: 1; min-width: 0; font: 500 15px var(--jp); padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; }
.admin-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.admin-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }

/* responsive additions */
@media (max-width: 1100px) {
  .hd__nav { gap: 20px; }
  .hd__motion-label { display: none; }
}
@media (max-width: 960px) {
  .hd__nav, .hd__login, .hd__cta { display: none; }
  .hd-menu { display: block; }
  .tangle { grid-template-columns: 1fr; gap: 10px; }
  .faq__wrap, .contact__grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .form__row, .dl-steps, .acc-summary, .acc-facts, .acc-support, .admin-grid, .acc-grid { grid-template-columns: 1fr; }
  .acc-panel--wide { grid-column: auto; }
  .dl-dialog__head, .dl-dialog form { padding-inline: 22px; }
  .doc-table th, .doc-table td { display: block; width: 100%; padding: 12px 20px; }
  .doc-table th { padding-bottom: 2px; border-bottom: 0; }
  .ft { grid-template-columns: 1fr; }
  .ft__nav { grid-template-columns: 1fr; }
  .qa__a { padding-right: 0; }
  .admin-search { flex-wrap: wrap; }
}
.is-still .tangle::after { transform: scaleX(1); }
.ft .ft__nav { display: grid; }
.ft .ft__lead, .ft .ft__copy { margin-left: 0; }
@media (max-width: 640px) { .ft .ft__nav { grid-template-columns: 1fr; } }
/* <button> にも同じ見た目を（ブラウザ既定の背景・枠を打ち消す） */
.btn--line { background: transparent; border: 1.5px solid var(--ink); color: var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--white); }
.btn--glass { background: transparent; border: 1.5px solid rgba(255,255,255,.6); color: var(--white); }
.btn--glass:hover { background: rgba(255,255,255,.12); }

/* スマホ：ヒーローの文字ブロックを上に寄せ、Scrollとの間に余白を取る */
@media (max-width: 860px) {
  .hero { align-items: flex-start; padding-top: 184px; padding-bottom: 132px; }
  .hero__title { margin-bottom: 22px; }
  .hero__foot { gap: 22px; }
  .hero__side { gap: 18px; }
  .hero__scroll { bottom: 20px; }
}
@media (max-width: 860px) {
  .hero { padding-top: 178px; padding-bottom: 104px; }
  .hero__side { gap: 14px; }
}

/* =========================================================
   ボタン：右に矢印のついた「押せる」形に
   ========================================================= */
.btn { --a-bg: rgba(255,255,255,.16); --a-img: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23ffffff%22%20stroke-width%3D%222.4%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M5%2012h14M13%206l6%206-6%206%22/%3E%3C/svg%3E"); position: relative; gap: 14px; padding: 0 10px 0 26px; box-shadow: 0 10px 24px rgba(10,38,66,.14); transition: background .25s, color .25s, border-color .25s, box-shadow .25s; }
.btn::after { content: ""; flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--a-img) center / 18px no-repeat, var(--a-bg); transition: transform .35s var(--ease), background-color .25s; }
.btn:hover { box-shadow: 0 14px 30px rgba(10,38,66,.22); }
.btn:hover::after { transform: translateX(4px); }
.btn > svg { display: none; }
/* 色ごとの矢印 */
.btn--line, .btn--ghost, .btn--white { --a-bg: var(--ink); }
.btn--line:hover, .btn--ghost:hover { --a-bg: var(--white); --a-img: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%230A2642%22%20stroke-width%3D%222.4%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M5%2012h14M13%206l6%206-6%206%22/%3E%3C/svg%3E"); }
.btn--glass { --a-bg: var(--white); --a-img: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%230A2642%22%20stroke-width%3D%222.4%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M5%2012h14M13%206l6%206-6%206%22/%3E%3C/svg%3E"); box-shadow: none; }
.btn--line { background: var(--white); box-shadow: 0 6px 18px rgba(10,38,66,.08); }
/* 資料ダウンロードは下向き矢印 */
.btn[data-open-download], .btn[href*="download=1"] { --a-img: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23ffffff%22%20stroke-width%3D%222.4%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%205v14M6%2013l6%206%206-6%22/%3E%3C/svg%3E"); }
.btn--glass[data-open-download], .btn--glass[href*="download=1"], .btn--line[data-open-download]:hover { --a-img: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%230A2642%22%20stroke-width%3D%222.4%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%205v14M6%2013l6%206%206-6%22/%3E%3C/svg%3E"); }
.btn[data-open-download]:hover::after, .btn[href*="download=1"]:hover::after { transform: translateY(3px); }
.btn--sm { padding: 0 6px 0 18px; gap: 10px; }
.btn--sm::after { width: 30px; height: 30px; background-size: 15px; }
.btn--block { justify-content: space-between; padding-left: 28px; }
.btn--block::before { content: ""; width: 36px; flex-shrink: 0; }
.btn--sm.btn--block::before { width: 30px; }
.btn:focus-visible { outline-offset: 3px; }
@media (max-width: 860px) {
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { justify-content: space-between; min-height: 60px; padding-left: 26px; }
  .hero .btn--line { background: var(--white); }
  .cta__actions { flex-direction: column; align-items: stretch; }
  .cta__actions .btn { justify-content: space-between; }
}
/* スマホ：ボタンは横幅いっぱい（左右の余白はページ側で確保） */
@media (max-width: 640px) {
  .btn:not(.btn--sm) { width: 100%; justify-content: space-between; }
  .hero__cta, .cta__actions, .page-cta__actions, .admin-actions { flex-direction: column; align-items: stretch; width: 100%; }
  .page-cta__row { flex-direction: column; align-items: stretch; }
}
@media (max-width: 640px) {
  .btn--block::before { display: none; }
  .btn { text-align: left; }
}

/* FVの糸：太く、グラデーションに */
.hero__thread path { stroke-linecap: round; }
.hero__thread .t1 { stroke: url(#kg1); stroke-width: 18; opacity: .9; }
.hero__thread .t2 { stroke: url(#kg2); stroke-width: 10; opacity: .75; }
@media (max-width: 860px) {
  .hero__thread .t1 { stroke-width: 11; opacity: .45; }
  .hero__thread .t2 { stroke-width: 6; opacity: .4; }
}
/* 太い糸の上でも文字が読めるように */
.hero__lead, .hero__note, .hero__jp, .hero__scroll { text-shadow: 0 0 14px var(--paper), 0 0 6px var(--paper), 0 0 2px var(--paper); }

/* FVの糸：2本を1本の太いリボンに。形は崩さず、はみ出した分は切る */
.hero__thread .t1 { stroke: url(#kg1); stroke-width: 46; opacity: .92; stroke-linecap: round; animation: draw 2.8s .9s var(--ease) forwards; }
.hero__thread .t2 { display: none; }

@media (max-width: 860px) {
  .hero__thread .t1 { stroke-width: 30; opacity: .5; }
}
/* 線は画面サイズに合わせて一緒に拡大縮小（どの幅でも最後まで描かれるように） */
.hero__thread path { vector-effect: none; }
@media (max-width: 860px) { .hero__thread .t1 { stroke-width: 34; opacity: .6; } }
/* 2本の太い糸を寄り添わせる */
.hero__thread .t2 { display: inline; stroke: url(#kg2); stroke-width: 38; opacity: .85; stroke-linecap: round; animation: draw 2.8s 1.15s var(--ease) forwards; }
@media (max-width: 860px) { .hero__thread .t2 { stroke-width: 28; opacity: .55; } }

/* =========================================================
   FV：青と緑が並走する立体リボン（結び目で左右が入れ替わる）
   ========================================================= */
.hero__thread { filter: drop-shadow(0 22px 26px rgba(10,38,66,.16)); }
.hero__thread .rb { fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 2.8s .9s var(--ease) forwards; }
.hero__thread .rb-base { stroke-width: 36; }
.hero__thread .rb-mid  { stroke-width: 22; transform: translate(-1px, -3px); }
.hero__thread .rb-hi   { stroke-width: 7; opacity: .85; transform: translate(-2px, -7px); }
.hero__thread .rib--b .rb { animation-delay: .95s; }
.is-still .hero__thread .rb { stroke-dashoffset: 0; }
@media (max-width: 860px) {
  .hero__thread { opacity: .6; }
  .hero__thread .rb-base { stroke-width: 30; }
  .hero__thread .rb-mid  { stroke-width: 18; }
  .hero__thread .rb-hi   { stroke-width: 6; }
}

/* 資料ダウンロード：下に受け皿のあるダウンロードアイコン */
.btn[data-open-download], .btn[href*="download=1"] { --a-img: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23ffffff%22%20stroke-width%3D%222.2%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%203.5v11M7.5%2010l4.5%204.5%204.5-4.5M4.5%2015v4.5h15V15%22/%3E%3C/svg%3E"); }
.btn--glass[data-open-download], .btn--glass[href*="download=1"], .btn--line[data-open-download]:hover, .btn--line[href*="download=1"]:hover { --a-img: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%230A2642%22%20stroke-width%3D%222.2%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%203.5v11M7.5%2010l4.5%204.5%204.5-4.5M4.5%2015v4.5h15V15%22/%3E%3C/svg%3E"); }
.btn[data-open-download]::after, .btn[href*="download=1"]::after { background-size: 19px; }

/* FV：断面グラデーションの太いチューブ（canvasで描画） */
.hero__ribbon { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; filter: drop-shadow(0 26px 34px rgba(10,38,66,.14)); }
@media (max-width: 860px) { .hero__ribbon { opacity: .55; } }
.hero__ribbon { filter: drop-shadow(0 16px 20px rgba(10,38,66,.14)); } @media (max-width: 860px) { .hero__ribbon { opacity: .7; } }

/* FV：1本のグラデーションの糸（太さ・配置は確定版） */
.hero__thread { filter: none; }
.hero__thread .t1 { stroke: url(#kg1); stroke-width: 46; opacity: .92; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 2.8s .9s var(--ease) forwards; }
@media (max-width: 860px) { .hero__thread .t1 { stroke-width: 34; opacity: .6; } }

/* =========================================================
   進め方：余白を詰めて、各ステップに動く図を追加
   ========================================================= */
.how { height: 270vh; }
.how__pin { padding: 84px var(--pad) 36px; align-items: center; }
.how__left { justify-content: space-between; }
.how__num { margin-top: 24px; }
.how__steps { height: min(74vh, 640px); }
.how__step { gap: 12px; justify-content: center; }
.how__step h3 { font-size: clamp(24px, 2.6vw, 38px); }
.how__vis { position: relative; margin-top: 14px; height: clamp(170px, 24vh, 230px); border-radius: 22px; background: var(--paper); padding: 22px 24px; overflow: hidden; }
.how__vis * { animation-play-state: paused !important; }
.how__step.is-active .how__vis * { animation-play-state: running !important; }

/* 01 研修で学ぶ */
.vis-learn { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: center; }
.vl-slide { background: var(--ink); color: var(--white); border-radius: 14px; padding: 18px; aspect-ratio: 16 / 10; display: flex; flex-direction: column; justify-content: space-between; box-shadow: 0 12px 24px rgba(10,38,66,.18); }
.vl-tag { align-self: flex-start; font-size: 11px; font-weight: 700; padding: 2px 10px; border-radius: 999px; background: rgba(255,255,255,.14); }
.vl-slide b { font-size: 16px; line-height: 1.4; }
.vl-bar { height: 6px; border-radius: 3px; background: rgba(255,255,255,.18); overflow: hidden; }
.vl-bar i { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--sky), var(--leaf)); transform-origin: left; animation: vlBar 6s var(--ease) infinite; }
@keyframes vlBar { 0% { transform: scaleX(0); } 70%, 92% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
.vl-list { display: flex; flex-direction: column; gap: 10px; }
.vl-list li { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; color: var(--ink-2); }
.vl-list li::before { content: "✓"; flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; color: transparent; background: var(--white); border: 1.5px solid var(--line); animation: vlCheck 6s infinite; }
.vl-list li:nth-child(2)::before { animation-name: vlCheck2; }
.vl-list li:nth-child(3)::before { animation-name: vlCheck3; }
@keyframes vlCheck  { 0%, 18% { color: transparent; background: var(--white); border-color: var(--line); } 24%, 92% { color: #fff; background: var(--leaf); border-color: var(--leaf); } 100% { color: transparent; } }
@keyframes vlCheck2 { 0%, 40% { color: transparent; background: var(--white); border-color: var(--line); } 46%, 92% { color: #fff; background: var(--leaf); border-color: var(--leaf); } 100% { color: transparent; } }
@keyframes vlCheck3 { 0%, 62% { color: transparent; background: var(--white); border-color: var(--line); } 68%, 92% { color: #fff; background: var(--leaf); border-color: var(--leaf); } 100% { color: transparent; } }

/* 02 実践まで並走 */
.vis-run { display: flex; flex-direction: column; justify-content: center; gap: 26px; }
.vr-track { position: relative; height: 70px; }
.vr-line { position: absolute; left: 0; right: 0; top: 34px; height: 4px; border-radius: 2px; background: var(--line); }
.vr-line i { display: block; height: 100%; width: 100%; border-radius: 2px; background: linear-gradient(90deg, var(--sky), var(--leaf)); transform-origin: left; animation: vrFill 5s var(--ease) infinite; }
.vr-dot { position: absolute; top: 24px; left: 0; width: 24px; height: 24px; margin-left: -12px; border-radius: 50%; animation: vrRun 5s var(--ease) infinite; }
.vr-dot--you { background: var(--blue); box-shadow: 0 0 0 5px rgba(31,111,178,.18); top: 14px; }
.vr-dot--us { background: var(--leaf); box-shadow: 0 0 0 5px rgba(126,174,98,.22); top: 34px; animation-delay: .12s; }
.vr-dot em { position: absolute; left: 50%; transform: translateX(-50%); white-space: nowrap; font-style: normal; font-size: 11px; font-weight: 700; }
.vr-dot--you em { bottom: 30px; color: var(--blue); }
.vr-dot--us em { top: 30px; color: #4E7F37; }
@keyframes vrRun { 0% { left: 2%; } 80%, 92% { left: 98%; } 100% { left: 2%; opacity: 0; } }
@keyframes vrFill { 0% { transform: scaleX(0); } 80%, 92% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
.vr-steps { display: flex; justify-content: space-between; font-size: 12px; font-weight: 700; color: var(--mute); }

/* 03 Slackで質問 */
.vis-ask { display: flex; flex-direction: column; gap: 10px; justify-content: center; }
.va-head { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--ink-2); }
.va-head img { width: 18px; height: 18px; }
.va-msg { font-size: 14px; line-height: 1.6; background: var(--white); border-radius: 12px; padding: 10px 14px; box-shadow: 0 4px 12px rgba(10,38,66,.06); }
.va-msg b { display: block; font-size: 12px; color: var(--mute); }
.va-a b { color: #4E7F37; }
.va-q { animation: vaQ 6s infinite both; }
.va-a { animation: vaA 6s infinite both; }
.va-typing { display: flex; gap: 5px; padding: 0 14px; height: 10px; animation: vaT 6s infinite both; }
.va-typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--mute); animation: dot 1s infinite; }
.va-typing i:nth-child(2) { animation-delay: .15s; } .va-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 60%, 100% { transform: none; opacity: .4; } 30% { transform: translateY(-3px); opacity: 1; } }
@keyframes vaQ { 0% { opacity: 0; transform: translateY(8px); } 8%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes vaT { 0%, 14% { opacity: 0; } 18%, 42% { opacity: 1; } 46%, 100% { opacity: 0; } }
@keyframes vaA { 0%, 44% { opacity: 0; transform: translateY(8px); } 52%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }

@media (max-width: 860px) {
  .how { height: auto; }
  .how__pin { padding: 80px var(--pad); }
  .how__steps { height: auto; gap: 40px; }
  .how__vis * { animation-play-state: running !important; }
}
@media (max-width: 640px) {
  .vis-learn { grid-template-columns: 1fr; }
  .vl-slide { aspect-ratio: auto; gap: 10px; }
  .how__vis { height: auto; min-height: 170px; }
}
.is-still .va-q, .is-still .va-a { opacity: 1 !important; }
.is-still .va-typing { display: none; }
.is-still .vl-bar i, .is-still .vr-line i { transform: none; }
.is-still .vr-dot { left: 98%; }
.is-still .vl-list li::before { color: #fff; background: var(--leaf); border-color: var(--leaf); }
@keyframes vrRun { 0% { left: 2%; opacity: 1; } 80%, 92% { left: 98%; opacity: 1; } 100% { left: 98%; opacity: 0; } }
.how__pin { padding-top: 112px; }
.how__left { justify-content: flex-start; }
.how__left .sec-head__en { margin-bottom: 6px; }
.how__num { margin-top: auto; }
.vr-dot em { font-size: 12px; }
@media (max-width: 860px) { .how__pin { padding-top: 80px; } }

/* Numbers：画面が広くても「%削減」を改行させない（列幅に合わせて数字の大きさを決める） */
.nums__list { container-type: inline-size; }
.nums dd { font-size: clamp(64px, 13.6cqi, 200px); flex-wrap: nowrap; }
@media (max-width: 860px) { .nums dd { font-size: clamp(64px, 44cqi, 180px); } }
.nums dd small, .nums dd .count { white-space: nowrap; flex-shrink: 0; }

/* ヘッダー：Motion切替と「無料で試す」の高さをそろえる */
.hd__motion { min-height: 44px; height: 44px; padding: 0 18px; box-sizing: border-box; }
.hd .btn--sm { height: 44px; box-sizing: border-box; }
/* Motion ON：英字は同じ書体・同じ基準線で、左右も均等に */
.hd__motion { font: 600 13px/1 var(--en); letter-spacing: .01em; gap: 0; padding: 0 17px 0 21px; justify-content: center; }
.hd__motion-label { margin-left: 10px; }
.hd__motion b { margin-left: 8px; font: 700 13px/1 var(--en); }
.hd__motion-label { font-weight: 500; }
.hd__motion b { margin-left: 3px; }

/* =========================================================
   Web Crest 会社サイト（トップ）
   ========================================================= */
.wc-logo { display: inline-flex; align-items: center; gap: 10px; font: 800 20px/1 var(--en); letter-spacing: -.01em; color: var(--ink); text-decoration: none; font-variation-settings: "wdth" 108; }
.wc-logo__mark { width: 26px; height: 26px; border-radius: 50%; background: conic-gradient(from 200deg, var(--blue), var(--sky), #9ED0C0, var(--leaf), var(--blue)); -webkit-mask: radial-gradient(circle, transparent 6px, #000 7px); mask: radial-gradient(circle, transparent 6px, #000 7px); }
.wc-logo--light { color: var(--white); font-size: 26px; }
.hero__eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; font-weight: 700; font-size: 14px; letter-spacing: .08em; color: var(--blue); }
.hero__eyebrow::before { content: ""; width: 28px; height: 2px; background: linear-gradient(90deg, var(--sky), var(--leaf)); }

/* 業務成果 */
.outcomes { padding: clamp(80px, 12vw, 160px) 0; background: var(--white); }
.oc__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.oc { position: relative; padding: 32px 28px 40px 0; border-bottom: 1px solid var(--line); }
.oc:nth-child(3n+2), .oc:nth-child(3n) { padding-left: 28px; border-left: 1px solid var(--line); }
.oc__no { display: block; font: 700 14px var(--en); color: var(--blue); margin-bottom: 18px; }
.oc__title { font-weight: 900; font-size: clamp(20px, 1.9vw, 26px); line-height: 1.45; margin-bottom: 10px; }
.oc__text { font-size: 14px; color: var(--ink-2); }
.oc::after { content: ""; position: absolute; left: 0; top: -1px; height: 2px; width: 100%; background: linear-gradient(90deg, var(--sky), var(--leaf)); transform: scaleX(0); transform-origin: left; transition: transform 1.2s var(--ease) .1s; }
.oc.is-in::after { transform: scaleX(1); }

/* サービス */
.svc { padding: clamp(80px, 12vw, 160px) 0; }
.svc__label { font: 700 13px var(--en); letter-spacing: .06em; color: var(--blue); margin-bottom: 12px; }
.svc__main { position: relative; overflow: hidden; border-radius: 28px; padding: clamp(32px, 5vw, 64px); background: var(--ink); color: var(--white); }
.svc__main::before { content: ""; position: absolute; right: -10%; top: -40%; width: 60%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(65,149,210,.35), transparent 65%); pointer-events: none; }
.svc__main .svc__label { color: #9ED0C0; }
.svc__title { position: relative; font-weight: 900; font-size: clamp(26px, 3.2vw, 44px); line-height: 1.4; margin-bottom: clamp(28px, 4vw, 48px); }
.svc__flow { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid rgba(255,255,255,.25); margin-bottom: 40px; }
.svc__flow li { padding: 28px 28px 0 0; }
.svc__flow li + li { padding-left: 28px; border-left: 1px solid rgba(255,255,255,.18); }
.svc__flow span { display: block; font: 700 13px var(--en); color: #9ED0C0; margin-bottom: 10px; }
.svc__flow b { display: block; font-size: clamp(18px, 1.7vw, 22px); line-height: 1.45; margin-bottom: 10px; }
.svc__flow p { font-size: 14px; color: rgba(255,255,255,.78); }
.svc__subs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 20px; }
.svc__sub { border-radius: 24px; padding: clamp(28px, 3.5vw, 44px); background: var(--white); border: 1px solid var(--line); }
.svc__sub h3 { font-weight: 900; font-size: clamp(20px, 2vw, 28px); line-height: 1.45; margin-bottom: 10px; }
.svc__sub p:not(.svc__label) { font-size: 14px; color: var(--ink-2); margin-bottom: 20px; }
.svc__link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; color: var(--ink); text-decoration: none; border-bottom: 2px solid var(--sky); padding-bottom: 2px; }
.svc__link::after { content: "→"; transition: transform .3s var(--ease); }
.svc__link:hover::after { transform: translateX(4px); }

/* ROI */
.roi { padding: clamp(80px, 12vw, 160px) 0 0; }
.roi__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; border-top: 1px solid var(--ink); padding-top: 40px; }
.roi__bar { display: grid; grid-template-columns: 64px minmax(0, 1fr); align-items: center; gap: 8px 16px; margin-bottom: 28px; }
.roi__bar-label { font-weight: 700; font-size: 14px; }
.roi__bar-fill { display: block; height: 44px; border-radius: 999px; background: var(--pale); width: 0; transition: width 1.6s var(--ease); }
.roi__bar--after .roi__bar-fill { background: linear-gradient(90deg, var(--blue), var(--sky) 60%, var(--leaf)); transition-delay: .5s; }
.roi__bars.is-in .roi__bar-fill { width: var(--w); }
.roi__bar b { grid-column: 2; font: 700 15px var(--en); }
.roi__stats > div { padding: 20px 0; border-bottom: 1px solid var(--line); }
.roi__stats dt { font-weight: 700; font-size: 15px; }
.roi__stats dd { font: 900 clamp(56px, 7vw, 112px) / 1.05 var(--en); letter-spacing: -.04em; color: var(--blue); display: flex; align-items: baseline; flex-wrap: nowrap; }
.roi__stats dd .count { font-variation-settings: "wdth" var(--wd, 100); }
.roi__stats dd small { font: 900 clamp(15px, 1.5vw, 20px) var(--jp); letter-spacing: 0; margin-left: .4em; color: var(--ink); white-space: nowrap; }

/* 強み */
.why { padding: clamp(80px, 12vw, 160px) 0; background: var(--white); }
.why__list { border-top: 1px solid var(--ink); }
.why__list li { display: grid; grid-template-columns: minmax(100px, .5fr) minmax(0, 1.4fr) minmax(0, 1.4fr); gap: 32px; align-items: baseline; padding: 36px 0; border-bottom: 1px solid var(--line); }
.why__no { font: 800 clamp(40px, 5vw, 72px) / 1 var(--en); color: var(--blue); font-variation-settings: "wdth" 120; }
.why__list h3 { font-weight: 900; font-size: clamp(20px, 2.2vw, 30px); line-height: 1.45; }
.why__list p { font-size: 15px; color: var(--ink-2); }

/* 料金 */
.price { padding: clamp(80px, 12vw, 160px) 0; }
.price__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: st; }
.price__card { position: relative; border-radius: 24px; padding: clamp(28px, 3vw, 40px); background: var(--white); border: 1px solid var(--line); }
.price__card--main { border: 2px solid var(--blue); box-shadow: 0 20px 48px rgba(10,38,66,.08); }
.price__step { font: 700 13px var(--en); color: var(--blue); margin-bottom: 6px; }
.price__card h3 { font-weight: 900; font-size: 20px; margin-bottom: 14px; }
.price__num { font-weight: 700; font-size: 16px; margin-bottom: 14px; white-space: nowrap; }
.price__num b { font: 900 clamp(40px, 4vw, 60px) / 1 var(--en); letter-spacing: -.03em; color: var(--blue); margin: 0 2px; }
.price__card p:last-child { font-size: 14px; color: var(--ink-2); }
.price__others { margin-top: 20px; border-top: 1px solid var(--line); }
.price__others li { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.price__others b { font-weight: 900; }
.price__others span { color: var(--ink-2); font-size: 15px; }

/* 補助金 */
.subsidy { padding: clamp(80px, 10vw, 140px) 0; background: linear-gradient(120deg, #E6F0F8, #EEF5EA); }
.subsidy__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.subsidy__body p { color: var(--ink-2); margin-bottom: 16px; }
.subsidy__body .svc__link { margin-top: 8px; }

/* 相談の流れ */
.contact__flow { display: grid; gap: 10px; margin: 0 0 24px; }
.contact__flow li { display: flex; align-items: center; gap: 14px; font-weight: 700; }
.contact__flow b { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: var(--white); font: 700 14px var(--en); flex-shrink: 0; }

.is-still .roi__bar-fill { transition: none; width: var(--w); }
.is-still .oc::after { transition: none; }

@media (max-width: 860px) {
  .wc-logo { font-size: 18px; }
  .oc__list, .svc__flow, .price__list, .svc__subs { grid-template-columns: 1fr; }
  .oc, .oc:nth-child(3n+2), .oc:nth-child(3n) { padding: 28px 0; border-left: 0; }
  .svc__flow li, .svc__flow li + li { padding: 24px 0; border-left: 0; border-bottom: 1px solid rgba(255,255,255,.18); }
  .roi__grid, .subsidy__grid { grid-template-columns: 1fr; }
  .why__list li { grid-template-columns: 1fr; gap: 10px; }
  .price__others li { grid-template-columns: 1fr; gap: 4px; }
  .svc__main { border-radius: 20px; }
}

/* ---- 業務成果：カードごとのアニメーション ---- */
.oc__vis { position: relative; height: 112px; margin: 0 0 22px; border-radius: 16px; background: var(--paper); padding: 16px 18px; overflow: hidden; font-size: 12px; color: var(--ink-2); }
.oc__vis * { animation-play-state: paused; }
.oc.is-in .oc__vis * { animation-play-state: running; }
/* 01 時間 */
.v-time p { display: grid; grid-template-columns: 44px minmax(0, 1fr) 36px; align-items: center; gap: 10px; margin: 8px 0 18px; }
.v-time i { display: block; height: 14px; border-radius: 99px; background: var(--pale); }
.v-time i.g { background: linear-gradient(90deg, var(--blue), var(--sky), var(--leaf)); transform-origin: left; animation: vTime 5s var(--ease) infinite; }
.v-time em { font: 700 12px var(--en); font-style: normal; color: var(--ink-2); }
.v-time em.g { color: var(--blue); animation: vTimeN 5s infinite; }
@keyframes vTime { 0%, 15% { transform: scaleX(1); } 45%, 90% { transform: scaleX(.4); } 100% { transform: scaleX(1); } }
@keyframes vTimeN { 0%, 30% { opacity: 0; } 45%, 90% { opacity: 1; } 100% { opacity: 0; } }
/* 02 自動化 */
.v-auto__head { display: flex; justify-content: space-between; font: 700 11px var(--en); margin-bottom: 8px; color: var(--mute); }
.v-auto ul { display: grid; gap: 6px; }
.v-auto li { display: grid; grid-template-columns: minmax(0, 1fr) 16px; align-items: center; gap: 10px; }
.v-auto li i { height: 10px; border-radius: 99px; background: linear-gradient(90deg, var(--sky), var(--leaf)); transform: scaleX(0); transform-origin: left; animation: vFill 5s var(--ease) infinite; }
.v-auto li b { font-size: 12px; color: var(--leaf); opacity: 0; animation: vPop 5s infinite; }
.v-auto li:nth-child(2) i, .v-auto li:nth-child(2) b { animation-delay: .35s; }
.v-auto li:nth-child(3) i, .v-auto li:nth-child(3) b { animation-delay: .7s; }
.v-auto li:nth-child(4) i, .v-auto li:nth-child(4) b { animation-delay: 1.05s; }
@keyframes vFill { 0%, 5% { transform: scaleX(0); } 25%, 85% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
@keyframes vPop { 0%, 22% { opacity: 0; transform: scale(.4); } 30%, 85% { opacity: 1; transform: scale(1); } 100% { opacity: 0; } }
/* 03 属人化 */
.v-share { display: flex; align-items: center; justify-content: center; gap: 8px; }
.v-share__one { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: var(--white); font-weight: 700; font-size: 11px; flex-shrink: 0; }
.v-share__ln { position: relative; flex: 1; height: 2px; background: var(--line); overflow: hidden; }
.v-share__ln i { position: absolute; inset: 0; background: var(--sky); transform: scaleX(0); transform-origin: left; animation: vFill 5s var(--ease) infinite; }
.v-share__ln + .v-share__doc + .v-share__ln i { animation-delay: .9s; }
.v-share__doc { width: 30px; height: 38px; border-radius: 4px; background: var(--white); border: 2px solid var(--blue); flex-shrink: 0; box-shadow: inset 0 9px 0 -6px var(--pale), inset 0 17px 0 -14px var(--pale), inset 0 25px 0 -22px var(--pale); animation: vDoc 5s infinite .5s; }
.v-share__many { display: grid; gap: 6px; flex-shrink: 0; }
.v-share__many i { width: 20px; height: 20px; border-radius: 50%; background: var(--pale); animation: vLit 5s infinite 1.5s; }
.v-share__many i:nth-child(2) { animation-delay: 1.7s; }
.v-share__many i:nth-child(3) { animation-delay: 1.9s; }
@keyframes vDoc { 0%, 10% { transform: scale(.8); opacity: .4; } 20%, 85% { transform: scale(1); opacity: 1; } 100% { opacity: .4; } }
@keyframes vLit { 0%, 5% { background: var(--pale); } 15%, 70% { background: var(--leaf); } 85%, 100% { background: var(--pale); } }
/* 04 検索 */
.v-find__box { display: flex; align-items: center; height: 34px; padding: 0 14px; border-radius: 99px; background: var(--white); border: 1px solid var(--line); margin-bottom: 10px; }
.v-find__box::before { content: ""; width: 12px; height: 12px; border: 2px solid var(--mute); border-radius: 50%; margin-right: 10px; flex-shrink: 0; }
.v-find__box span { display: inline-block; overflow: hidden; white-space: nowrap; width: 0; border-right: 2px solid var(--blue); font-size: 13px; color: var(--ink); animation: vType 5s steps(7) infinite; }
.v-find__hit { padding: 8px 12px; border-radius: 10px; background: var(--white); border-left: 3px solid var(--leaf); font-size: 11px; opacity: 0; transform: translateY(6px); animation: vHit 5s var(--ease) infinite; }
.v-find__hit b { display: block; font-size: 12px; color: var(--ink); }
@keyframes vType { 0% { width: 0; } 30%, 90% { width: 7.2em; } 100% { width: 0; } }
@keyframes vHit { 0%, 38% { opacity: 0; transform: translateY(6px); } 48%, 88% { opacity: 1; transform: none; } 100% { opacity: 0; } }
/* 05 問い合わせ */
.v-ask2 p { max-width: 82%; padding: 7px 12px; border-radius: 12px; font-size: 12px; opacity: 0; animation: vHit 5s var(--ease) infinite; }
.v-ask2 .q { background: var(--white); border: 1px solid var(--line); color: var(--ink); animation-name: vQ; }
.v-ask2 .a { margin: 8px 0 0 auto; background: var(--ink); color: var(--white); }
.v-ask2 .a span { display: block; margin-top: 2px; font: 700 10px var(--en); color: #9ED0C0; }
@keyframes vQ { 0%, 5% { opacity: 0; transform: translateY(6px); } 15%, 88% { opacity: 1; transform: none; } 100% { opacity: 0; } }
/* 06 資料 */
.v-doc { padding: 14px 18px; background: var(--white); border: 1px solid var(--line); }
.v-doc__t { font-weight: 700; font-size: 12px; color: var(--ink); margin-bottom: 10px; }
.v-doc i { display: block; height: 8px; border-radius: 99px; background: var(--pale); margin-bottom: 8px; transform: scaleX(0); transform-origin: left; animation: vFill 5s var(--ease) infinite; }
.v-doc i:nth-of-type(2) { width: 86%; animation-delay: .3s; }
.v-doc i:nth-of-type(3) { width: 94%; animation-delay: .6s; }
.v-doc i:nth-of-type(4) { width: 60%; animation-delay: .9s; background: linear-gradient(90deg, var(--sky), var(--leaf)); }

/* ---- サービス：流れに沿って光が進む ---- */
.svc__flow { border-top: 0; }
.svc__track { position: relative; height: 2px; background: rgba(255,255,255,.18); }
.svc__run { position: absolute; top: 50%; left: 0; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: #9ED0C0; box-shadow: 0 0 0 6px rgba(158,208,192,.18), 0 0 24px rgba(158,208,192,.8); animation: svcRun 6s var(--ease) infinite; }
.svc__track::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--sky), #9ED0C0, var(--leaf)); transform-origin: left; animation: svcLine 6s var(--ease) infinite; }
.svc__flow li { animation: svcLit 6s infinite; }
.svc__flow li:nth-child(2) { animation-delay: 1.8s; }
.svc__flow li:nth-child(3) { animation-delay: 3.8s; }
@keyframes svcRun { 0%, 6% { left: 0; opacity: 1; } 30%, 38% { left: 33.33%; } 62%, 70% { left: 66.66%; } 94% { left: 100%; opacity: 1; } 100% { left: 100%; opacity: 0; } }
@keyframes svcLine { 0%, 6% { transform: scaleX(0); } 94% { transform: scaleX(1); opacity: 1; } 100% { transform: scaleX(1); opacity: 0; } }
@keyframes svcLit { 0% { opacity: .45; } 4%, 30% { opacity: 1; } 40%, 100% { opacity: .45; } }
.svc__sub { position: relative; }
.svc__mini { position: absolute; top: clamp(24px, 3vw, 36px); right: clamp(24px, 3vw, 36px); width: 72px; height: 56px; }
.mini-train__screen { display: block; height: 30px; border-radius: 6px; background: var(--paper); border: 1px solid var(--line); padding: 10px 8px; }
.mini-train__screen i { display: block; height: 6px; border-radius: 99px; background: linear-gradient(90deg, var(--sky), var(--leaf)); transform-origin: left; animation: vFill 4s var(--ease) infinite; }
.mini-train__seats { display: flex; justify-content: center; gap: 8px; margin-top: 8px; }
.mini-train__seats i { width: 12px; height: 12px; border-radius: 50%; background: var(--pale); animation: vLit 4s infinite 1s; }
.mini-train__seats i:nth-child(2) { animation-delay: 1.2s; }
.mini-train__seats i:nth-child(3) { animation-delay: 1.4s; }
.mini-knot { display: grid; place-items: center; }
.mini-knot img { width: 30px; height: 30px; }
.mini-knot__orbit { position: absolute; inset: -4px 4px; border: 1px dashed var(--pale); border-radius: 50%; animation: spin 10s linear infinite; }
.mini-knot__orbit i { position: absolute; width: 10px; height: 10px; margin: -5px; border-radius: 50%; background: var(--sky); }
.mini-knot__orbit i:nth-child(1) { left: 50%; top: 0; }
.mini-knot__orbit i:nth-child(2) { left: 7%; top: 75%; background: var(--leaf); }
.mini-knot__orbit i:nth-child(3) { left: 93%; top: 75%; background: var(--blue); }
@keyframes spin { to { transform: rotate(360deg); } }
.svc__sub h3, .svc__sub .svc__label { padding-right: 88px; }

@media (max-width: 860px) {
  .svc__track { position: absolute; left: 0; top: 0; bottom: 0; width: 2px; height: auto; }
  .svc__main .svc__track { left: clamp(32px, 5vw, 64px); top: auto; }
  .svc__flow { padding-left: 24px; }
  .svc__track::before { transform-origin: top; animation-name: svcLineV; }
  .svc__run { left: 50%; top: 0; margin: -7px 0 0 -7px; animation-name: svcRunV; }
  @keyframes svcRunV { 0%, 6% { top: 0; opacity: 1; } 30%, 38% { top: 33.33%; } 62%, 70% { top: 66.66%; } 94% { top: 100%; opacity: 1; } 100% { top: 100%; opacity: 0; } }
  @keyframes svcLineV { 0%, 6% { transform: scaleY(0); } 94% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }
}
.is-still .oc__vis *, .is-still .svc__run, .is-still .svc__track::before, .is-still .svc__flow li, .is-still .svc__mini * { animation: none !important; }
.is-still .v-time i.g { transform: scaleX(.4); }
.is-still .v-auto li i, .is-still .v-share__ln i, .is-still .v-doc i, .is-still .mini-train__screen i { transform: none; }
.is-still .v-auto li b, .is-still .v-find__hit, .is-still .v-ask2 p, .is-still .v-time em.g { opacity: 1; transform: none; }
.is-still .v-find__box span { width: 7.2em; }
.is-still .svc__run { display: none; }
@media (max-width: 860px) {
  .svc__main .svc__track { display: none; }
  .svc__flow { padding-left: 0; border-top: 1px solid rgba(255,255,255,.25); }
}
.v-find__box { height: 30px; margin-bottom: 8px; }
.v-find__hit { padding: 6px 12px; }
.v-auto ul { gap: 9px; }
@keyframes svcLit { 0% { opacity: .55; } 4%, 30% { opacity: 1; } 40%, 100% { opacity: .55; } }
.v-auto ul { gap: 8px; }
.v-auto li { line-height: 1; height: 16px; }
.v-auto__head { line-height: 1.2; margin-bottom: 12px; }
.v-ask2 p { padding: 6px 12px; line-height: 1.5; }
.v-ask2 .a { margin-top: 6px; }
.price__list--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.price__more { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 20px; padding: 28px clamp(24px, 3vw, 40px); border-radius: 24px; background: var(--ink); color: var(--white); }
.price__more p { font-weight: 700; }
button.svc__link { background: none; border: 0; border-bottom: 2px solid var(--sky); padding: 0 0 2px; font-family: inherit; cursor: pointer; }
@media (max-width: 860px) { .price__list--two { grid-template-columns: 1fr; } .price__more { flex-direction: column; align-items: stretch; } }
.dl-dialog .cursor { z-index: 10; }
[hidden] { display: none !important; }

/* 1文字だけの改行を防ぐ（見出しは行の長さをそろえ、文節で折り返す） */
h1, h2, h3, h4, .sec-head__jp, .tangle__title, .oc__title, .page-hero__title, dt, th, .qa__text, .price__card h3 { text-wrap: balance; word-break: auto-phrase; }
p, li, dd, td, label, .field__hint { text-wrap: pretty; }

/* ---- サービス：4つのサービスを分けて伝える ---- */
.svc__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; counter-reset: none; }
.svc__card { position: relative; overflow: hidden; display: flex; flex-direction: column; border-radius: 24px; padding: clamp(28px, 3.2vw, 44px); background: var(--white); border: 1px solid var(--line); }
.svc__card::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: linear-gradient(90deg, var(--blue), var(--sky), var(--leaf)); transform: scaleX(0); transform-origin: left; transition: transform 1.2s var(--ease); }
.svc__card.is-in::before { transform: scaleX(1); }
.svc__no { font: 700 14px var(--en); color: var(--blue); margin-bottom: 10px; display: flex; gap: 10px; align-items: baseline; }
.svc__no span { font-weight: 500; color: var(--mute); letter-spacing: .04em; }
.svc__name { font-weight: 900; font-size: clamp(22px, 2.2vw, 30px); line-height: 1.4; margin-bottom: 12px; padding-right: 84px; }
.svc__desc { font-size: 15px; color: var(--ink-2); margin-bottom: 20px; }
.svc__items { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.svc__items li { padding: 6px 14px; border-radius: 99px; background: var(--paper); font-size: 13px; font-weight: 700; color: var(--ink); }
.svc__price { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); font-weight: 900; font-size: 16px; color: var(--blue); }
.svc__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.svc__card .svc__mini { top: clamp(24px, 3vw, 40px); right: clamp(24px, 3vw, 40px); width: 64px; height: 52px; }
.svc__card .svc__mini * { animation-play-state: paused; }
.svc__card.is-in .svc__mini * { animation-play-state: running; }
/* 01 分析：グラフを光が走査 */
.mini-scan { display: flex; align-items: flex-end; gap: 6px; padding: 0 6px 4px; border-bottom: 2px solid var(--line); }
.mini-scan i { flex: 1; border-radius: 3px 3px 0 0; background: var(--pale); }
.mini-scan i:nth-child(1) { height: 40%; } .mini-scan i:nth-child(2) { height: 85%; background: var(--sky); } .mini-scan i:nth-child(3) { height: 55%; } .mini-scan i:nth-child(4) { height: 70%; }
.mini-scan b { position: absolute; top: 0; bottom: 0; left: 0; width: 2px; background: var(--leaf); box-shadow: 0 0 10px var(--leaf); animation: scan 3s var(--ease) infinite alternate; }
@keyframes scan { from { left: 4%; } to { left: 94%; } }
/* 02 自動化：行が順に埋まる */
.mini-rows { display: grid; gap: 7px; padding: 6px 0; }
.mini-rows i { height: 9px; border-radius: 99px; background: linear-gradient(90deg, var(--sky), var(--leaf)); transform: scaleX(0); transform-origin: left; animation: vFill 4s var(--ease) infinite; }
.mini-rows i:nth-child(2) { animation-delay: .3s; } .mini-rows i:nth-child(3) { animation-delay: .6s; width: 70%; }
/* 04 継続：ぐるりと回る */
.mini-cycle span { position: absolute; inset: 0 6px; border: 2px dashed var(--pale); border-radius: 50%; animation: spin 6s linear infinite; }
.mini-cycle i { position: absolute; width: 12px; height: 12px; margin: -6px; border-radius: 50%; background: var(--sky); left: 50%; top: 0; }
.mini-cycle i + i { top: 100%; background: var(--leaf); }
.is-still .svc__card .svc__mini * { animation: none !important; }
.is-still .mini-rows i { transform: none; }
.is-still .svc__card::before { transition: none; transform: scaleX(1); }
@media (max-width: 860px) { .svc__grid { grid-template-columns: 1fr; } .svc__cta .btn { width: 100%; justify-content: space-between; } }

#downloadButton{white-space:nowrap;margin-top:10px}

.is-off, .is-off *, .is-off *::before, .is-off *::after{animation-play-state:paused!important}
