/* ==========================================================================
   Salesforce運用保守サービス LP｜株式会社クオンツ
   style.css  v009（デザインカンプ準拠）
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  --navy-900: #06213F;
  --navy-800: #0A2E55;
  --navy-700: #083358;
  --navy-600: #12558A;
  --blue-700: #045FD0;
  --blue-600: #0B7FC0;
  --blue-500: #1C7AE1;
  --sky-500:  #03A3FE;
  --sky-400:  #2EB8F1;
  --sky-300:  #8FD8F8;
  --blue-100: #DDF2FC;
  --blue-050: #EEF8FD;
  --orange:   #FE5E31;
  --purple:   #6C5CE7;
  --green:    #16A34A;
  --red:      #E4393E;
  --gray-900: #1F2933;
  --gray-700: #3E4C59;
  --gray-500: #7B8794;
  --gray-300: #CBD2D9;
  --gray-100: #E4E7EB;
  --gray-050: #F5F7FA;
  --white:    #FFFFFF;

  --font-base: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", Meiryo, system-ui, sans-serif;
  --font-num: "Inter", "Noto Sans JP", system-ui, sans-serif;

  --container: 1120px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 8px rgba(10,46,85,.06);
  --shadow-md: 0 10px 30px rgba(10,46,85,.10);
  --shadow-lg: 0 24px 60px rgba(10,46,85,.16);
  --header-h: 72px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-base);
  font-size: 16px;
  line-height: 1.85;
  color: var(--gray-900);
  background: var(--white);
  letter-spacing: .02em;
  font-feature-settings: "palt";
  overflow-x: hidden;
}
img, svg, picture { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
button { font: inherit; cursor: pointer; border: 0; background: none; }
input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid var(--sky-400); outline-offset: 3px; }
.num { font-family: var(--font-num); }

.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }
.container--narrow { max-width: 960px; }
.section { padding: clamp(72px, 9vw, 120px) 0; }

/* ---------- Section headings ---------- */
.sec-head { text-align: center; margin-bottom: clamp(40px, 5vw, 60px); }
.sec-label {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-num);
  font-size: 13px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--blue-600);
  margin-bottom: 14px;
}
.sec-label::before, .sec-label::after { content: ""; width: 26px; height: 1.5px; background: currentColor; opacity: .7; }
.sec-label--orange { color: var(--orange); }
.sec-label--white { color: var(--white); }
.sec-title {
  font-size: clamp(24px, 3.4vw, 38px);
  font-weight: 700; line-height: 1.45; letter-spacing: .03em;
  color: var(--navy-800);
}
.sec-title .br-pc { display: block; }
.sec-lead { margin-top: 18px; font-size: clamp(14.5px, 1.3vw, 16.5px); color: var(--gray-700); }
em.orange { font-style: normal; color: var(--orange); }
em.blue { font-style: normal; color: var(--blue-500); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 60px; padding: 0 40px;
  border-radius: 999px;
  font-weight: 700; font-size: 17px; letter-spacing: .04em;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
  white-space: nowrap;
}
.btn--primary {
  color: var(--white);
  background: linear-gradient(135deg, #0B6FD2 0%, #1C8BE8 100%);
  box-shadow: 0 10px 24px rgba(28,122,225,.35);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(28,122,225,.45); }
.btn--navy {
  color: var(--white);
  background: linear-gradient(135deg, #1F3F8F 0%, #314DA3 100%);
  box-shadow: 0 12px 28px rgba(6,33,63,.35);
}
.btn--navy:hover { transform: translateY(-2px); box-shadow: 0 18px 36px rgba(6,33,63,.45); }
.btn--lg { min-height: 68px; padding: 0 52px; font-size: 18px; }
.btn--sm { min-height: 44px; padding: 0 24px; font-size: 14px; }
.btn__arrow { width: 20px; height: 20px; flex: none; transition: transform .25s var(--ease); }
/* Shine effect：光の帯だけが左→右へ通過 */
.btn--shine { position: relative; overflow: hidden; isolation: isolate; }
.btn--shine::after {
  content: ""; position: absolute; top: -40%; bottom: -40%; left: 0; width: 28%;
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.24) 50%, rgba(255,255,255,0) 100%);
  transform: translateX(-220%) skewX(-18deg);
  animation: btn-shine 4.2s ease-in-out infinite;
  pointer-events: none;
}
.btn--shine-soft::after { background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.14) 50%, rgba(255,255,255,0) 100%); animation-duration: 4.8s; }
@keyframes btn-shine {
  0%   { transform: translateX(-220%) skewX(-18deg); }
  20%  { transform: translateX(520%) skewX(-18deg); }   /* 約0.85秒で通過 */
  100% { transform: translateX(520%) skewX(-18deg); }
}
@media (prefers-reduced-motion: reduce) { .btn--shine::after { animation: none; display: none; } }
.btn:hover .btn__arrow { transform: translateX(4px); }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid rgba(10,46,85,.06);
  transition: box-shadow .3s;
}
.header.is-scrolled { box-shadow: var(--shadow-sm); }
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.header__brand { display: flex; align-items: center; gap: 12px; }
.header__logo { height: 34px; width: auto; }
.header__service { font-size: 13px; font-weight: 700; color: var(--gray-700); padding-left: 12px; border-left: 1px solid var(--gray-300); line-height: 1.3; }
.header__nav { display: flex; align-items: center; gap: 28px; }
.header__nav a:not(.btn) { font-size: 14px; font-weight: 500; color: var(--gray-700); position: relative; }
.header__nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--blue-500); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.header__nav a:not(.btn):hover::after { transform: scaleX(1); }

/* ---------- 01. Hero ---------- */
.hero {
  position: relative;
  padding: calc(var(--header-h) + clamp(48px, 5.5vw, 80px)) 0 clamp(48px, 5vw, 72px);
  background: linear-gradient(180deg, #F3FAFE 0%, #E6F4FC 100%);
  color: var(--navy-800);
  overflow: hidden; isolation: isolate;
}
.hero__bg { position: absolute; inset: 0; z-index: -1; }
.hero__bg picture { display: block; width: 100%; height: 100%; }
.hero__bg img {
  position: absolute; left: 0; bottom: 0;
  width: 100%; height: auto; min-height: 100%;
  object-fit: cover; object-position: 100% 100%;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.7) 14%, #000 32%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.7) 14%, #000 32%);
}
.hero__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(246,251,254,.98) 0%, rgba(246,251,254,.97) 42%, rgba(246,251,254,.92) 56%, rgba(246,251,254,.6) 65%, rgba(246,251,254,.18) 73%, rgba(246,251,254,0) 82%),
    linear-gradient(180deg, rgba(246,251,254,.25) 0%, rgba(246,251,254,0) 35%);
}
.hero__inner { position: relative; display: flex; align-items: center; }
.hero__content { max-width: 720px; display: flex; flex-direction: column; min-height: clamp(500px, 43vw, 590px); }
.hero__label {
  display: inline-flex; align-items: center; gap: 14px; align-self: flex-start; width: fit-content;
  margin-bottom: clamp(16px, 1.8vw, 24px);
  min-height: 56px; padding: 7px 22px 7px 18px; border-radius: 999px;
  background: rgba(255,255,255,.96); border: 1px solid #D8E9FB; box-shadow: 0 6px 15px rgba(23,92,158,.10);
  font-size: clamp(14px, 1.3vw, 18px); font-weight: 700; letter-spacing: .02em; color: #103564; line-height: 1.35;
}
.hero__label-icon { display: block; width: 36px; height: auto; flex: none; }
.hero__label-sep { width: 2px; height: 30px; border-radius: 2px; background: #A4C8EE; flex: none; }
.hero__title {
  font-size: clamp(32px, 3.9vw, 52px); font-weight: 900; line-height: 1.4; letter-spacing: .02em;
  color: #0B2447; white-space: nowrap;
  text-shadow: 0 2px 14px rgba(246,251,254,.95), 0 0 2px rgba(246,251,254,.9);
}
.hero__title em { font-style: normal; color: #0A78D6; }
.hero__sub {
  margin-top: clamp(22px, 2.4vw, 32px);
  font-size: clamp(15px, 1.35vw, 17.5px); line-height: 1.95; font-weight: 500; color: var(--gray-900);
  text-shadow: 0 1px 10px rgba(246,251,254,.95), 0 0 2px rgba(246,251,254,.9);
}
.hero__cta { margin-top: auto; padding-top: clamp(72px, 8vw, 120px); display: flex; flex-direction: column; align-items: flex-start; }
.hero__badges {
  margin-top: clamp(36px, 3.6vw, 48px);
  max-width: 640px;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.hero__visual { display: none; }
.hero__badge { display: grid; place-items: center; }
.hero__badge img { width: 100%; height: auto; max-width: 200px; filter: drop-shadow(0 6px 14px rgba(10,46,85,.14)); }

/* ---------- 02. Problems ---------- */
.problems__title { position: relative; display: inline-block; padding-bottom: 36px; }
.problems__line { display: block; }
.problems__line--ul { position: relative; display: inline-block; }
.problems__deco-ul { position: absolute; left: 50%; top: calc(100% - 58px); transform: translateX(-50%); width: 74%; pointer-events: none; }
.problems__deco-ul img { width: 100%; }
.problems__deco-lines { position: absolute; left: 9%; top: -36px; width: 52px; pointer-events: none; }
.problems__deco-lines img { width: 100%; }
.problems { background: var(--white); }
.problems__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.problem { background: var(--white); }
.problem__img { border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-sm); aspect-ratio: 4 / 3; }
.problem__img img { width: 100%; height: 100%; object-fit: cover; }
.problem__head { display: flex; align-items: center; gap: 14px; margin-top: 22px; }
.problem__num { font-family: var(--font-num); font-size: 44px; font-weight: 800; line-height: 1; color: var(--orange); letter-spacing: -.02em; }
.problem__title { font-size: 20px; font-weight: 700; line-height: 1.45; color: var(--navy-800); }
.problem__list { margin-top: 16px; display: grid; gap: 10px; }
.problem__list li { position: relative; padding-left: 30px; font-size: 15px; color: var(--gray-900); }
.problem__list li::before {
  content: ""; position: absolute; left: 0; top: .35em;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--orange);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  background-size: 12px; background-repeat: no-repeat; background-position: center;
}

/* ---------- 03. Service ---------- */
.service__title { position: relative; display: inline-block; padding-left: 76px; padding-bottom: 14px; text-align: left; }
.service__line { display: block; }
.service__em { position: relative; display: inline-block; }
.service__deco-ul { position: absolute; left: -2%; top: calc(100% - 10px); width: 104%; pointer-events: none; }
.service__deco-ul img { width: 100%; }
.service__deco-check { position: absolute; left: 0; top: 50%; transform: translateY(-58%); width: 60px; pointer-events: none; }
.service__deco-check img { width: 100%; }
.service {
  background:
    radial-gradient(700px 400px at 0% 10%, rgba(143,216,248,.35), transparent 60%),
    radial-gradient(700px 400px at 100% 90%, rgba(143,216,248,.35), transparent 60%),
    #F0F9FE;
  overflow: hidden;
}
.service__grid { position: relative; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 28px 48px; --gx: 48px; --gy: 28px; --cut: 150px; }
/* 中央円の形に合わせて、各カードの内側の角を円弧でくり抜く */
.svc--blue   { --cx: calc(100% + var(--gx) / 2); --cy: calc(100% + var(--gy) / 2); }
.svc--orange { --cx: calc(0% - var(--gx) / 2);   --cy: calc(100% + var(--gy) / 2); }
.svc--purple { --cx: calc(100% + var(--gx) / 2); --cy: calc(0% - var(--gy) / 2); }
.svc--green  { --cx: calc(0% - var(--gx) / 2);   --cy: calc(0% - var(--gy) / 2); }
.svc::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  border-radius: inherit;
  border: 2px solid var(--svc-line, #CFE3F7);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  -webkit-mask-image: radial-gradient(circle at var(--cx) var(--cy), transparent var(--cut), #000 calc(var(--cut) + 1px));
  mask-image: radial-gradient(circle at var(--cx) var(--cy), transparent var(--cut), #000 calc(var(--cut) + 1px));
}
/* 球体に沿う凹みの縁にも枠線色をつける */
.svc::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  border-radius: inherit; overflow: hidden;
  background: radial-gradient(circle at var(--cx) var(--cy), transparent var(--cut), var(--svc-line, #CFE3F7) calc(var(--cut) + 1px), var(--svc-line, #CFE3F7) calc(var(--cut) + 3px), transparent calc(var(--cut) + 4px));
}

.service__center {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 236px; height: 236px; border-radius: 50%;
  background:
    radial-gradient(circle at 32% 26%, rgba(255,255,255,.75) 0%, rgba(255,255,255,.25) 14%, rgba(255,255,255,0) 32%),
    radial-gradient(circle at 70% 78%, rgba(0,60,140,.35) 0%, rgba(0,60,140,0) 45%),
    radial-gradient(circle at 40% 35%, #5CC6FF 0%, #1F9BF2 45%, #0A74D6 80%, #0558B0 100%);
  box-shadow:
    0 24px 50px rgba(3,120,220,.42),
    inset -14px -18px 36px rgba(0,50,120,.30),
    inset 10px 12px 28px rgba(255,255,255,.35);
  display: grid; place-items: center; text-align: center;
  color: var(--white); font-weight: 900; font-size: 26px; line-height: 1.3; letter-spacing: .04em;
  text-shadow: 0 2px 8px rgba(0,60,140,.35);
  z-index: 2;
}
.svc {
  position: relative; isolation: isolate;
  background: none;
  border: 0;
  border-radius: 28px;
  padding: 26px 28px 24px;
  display: grid;
  grid-template-columns: minmax(0,1fr) 200px;
  grid-template-areas: "head head" "desc desc" "list img";
  column-gap: 16px;
  min-height: 250px;
}
.svc--blue   { --svc-line: #7FC3F7; }
.svc--orange { --svc-line: #FFB07A; }
.svc--purple { --svc-line: #B9A6F5; }
.svc--green  { --svc-line: #7DD6A9; }
/* 円に近い側のテキストが円と重ならないよう余白を確保 */
.svc--blue, .svc--purple { padding-right: 40px; }
.svc--orange, .svc--green { padding-left: 28px; }
/* タイトル／リード文は全幅、下段でサービス内容（左）とイラスト（右）を並べる */
.svc__text { display: contents; }
/* 右列カードは左右を反転（イラストを球体側へ寄せ、リストを外側に） */
.svc--orange, .svc--green { grid-template-columns: 200px minmax(0,1fr); grid-template-areas: "head head" "desc desc" "img list"; }
.svc--orange .svc__img, .svc--green .svc__img { justify-self: start; }
/* 右下カードは左上が球体に近いので見出し・リード文を右へ逃がす */
@media (min-width: 641px) { .svc--green .svc__head, .svc--green .svc__desc { padding-left: 64px; } }
@media (min-width: 1101px) { .svc__desc { white-space: nowrap; } }
.svc__head { grid-area: head; }
.svc__desc { grid-area: desc; }
.svc__list { grid-area: list; }
.svc__img  { grid-area: img; }
/* 円弧でくり抜かれる側（右列は左、左列は右）に余白を持たせる */
.svc--orange, .svc--green { padding-left: 28px; }
.svc--blue, .svc--purple { padding-right: 36px; }
.svc__head { display: flex; align-items: center; gap: 12px; }
.svc__icon { width: 56px; height: 56px; flex: none; filter: drop-shadow(0 4px 8px rgba(10,46,85,.14)); }
.svc__icon img { width: 100%; height: 100%; object-fit: contain; }
.svc__title { font-size: 22px; font-weight: 700; color: var(--navy-800); }
.svc__desc { margin-top: 10px; font-size: 15px; color: var(--gray-700); line-height: 1.75; }
.svc__list { margin-top: 16px; display: grid; gap: 8px; align-content: start; }
.svc__list li { position: relative; padding-left: 16px; font-size: 15px; color: var(--gray-900); line-height: 1.6; }
.svc__list li::before { content: ""; position: absolute; left: 0; top: .72em; width: 7px; height: 7px; border-radius: 50%; }
.svc--blue .svc__list li::before { background: var(--sky-500); }
.svc--orange .svc__list li::before { background: #FF8A3D; }
.svc--purple .svc__list li::before { background: var(--purple); }
.svc--green .svc__list li::before { background: #22B573; }
.svc__img { align-self: end; margin-top: 12px; }
.svc__img img { width: 100%; height: auto; object-fit: contain; object-position: bottom; }
.service__note {
  margin: 36px auto 0; max-width: 800px; width: fit-content;
  display: flex; align-items: center; justify-content: center; gap: 12px;
  padding: 18px 28px; border-radius: 999px;
  background: var(--white); box-shadow: var(--shadow-md);
  font-size: 15.5px; color: var(--gray-900);
}
.service__note .icon-bulb { width: 30px; height: 30px; flex: none; display: block; }
.icon-bulb img { width: 100%; height: 100%; display: block; }
.service__note strong { color: var(--blue-500); }

/* ---------- 04. Takeover ---------- */
.takeover {
  background:
    radial-gradient(900px 500px at 100% 0%, rgba(28,122,225,.35), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(3,163,254,.2), transparent 60%),
    linear-gradient(160deg, #061E42 0%, #0A2B5C 55%, #0E3A74 100%);
  color: var(--white);
}
.takeover .sec-title { color: var(--white); }
.takeover .sec-title em.sky { font-style: normal; color: #8FD8F8; }
.takeover .sec-lead { color: rgba(255,255,255,.88); }
.takeover__flow {
  display: grid;
  grid-template-columns: 1fr 0px 2fr 0px 1.08fr;
  column-gap: 24px;
  align-items: stretch;
}
.tcard {
  position: relative;
  border-radius: 18px;
  padding: 22px 14px 18px;
  box-shadow: 0 16px 40px rgba(0,0,0,.25);
  color: var(--gray-900);
}
.tcard--before { background: linear-gradient(180deg, #FFF5F3 0%, #FFEDE9 100%); }
.tcard--quanz  { background: linear-gradient(180deg, #F3F9FE 0%, #E9F3FC 100%); }
.tcard--after  { background: linear-gradient(180deg, #F2FBF6 0%, #E7F7EE 100%); }
.tcard__tag {
  display: inline-block;
  padding: 6px 18px; border-radius: 999px;
  font-size: 14px; font-weight: 700;
  margin-bottom: 14px;
}
.tcard--before .tcard__tag { background: #FFE1DB; color: #E0392F; }
.tcard--quanz  .tcard__tag { background: #DDF0FD; color: #0B63CC; }
.tcard--after  .tcard__tag { background: #DCF3E6; color: #1B8A4E; }
.tcard--quanz { text-align: center; }
.tcard--quanz .tcard__tag { position: relative; }
.tcard--quanz .tcard__tag::before, .tcard--quanz .tcard__tag::after {
  content: ""; position: absolute; top: 50%; width: 28vw; max-width: 200px; height: 1px; background: rgba(11,99,204,.35);
}
.tcard--quanz .tcard__tag::before { right: calc(100% + 14px); }
.tcard--quanz .tcard__tag::after { left: calc(100% + 14px); }
.tcard__cols { display: grid; grid-template-columns: 1fr; gap: 0; text-align: left; align-items: stretch; }
.tcard--quanz .tcard__cols { grid-template-columns: 1fr 1fr; }
.tcard--quanz .tstep + .tstep { border-left: 1px dashed rgba(11,99,204,.3); }
.tstep { padding: 0 4px; display: flex; flex-direction: column; }
.tstep__head { display: flex; align-items: center; gap: 12px; min-height: 60px; }
.tstep__num {
  font-family: var(--font-num); font-size: 30px; font-weight: 800; line-height: 1;
  color: #0B63CC; position: relative; padding-bottom: 8px; flex: none;
}
.tstep__num::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 3px; border-radius: 2px; background: currentColor; }
.tcard--before .tstep__num { color: #E0392F; }
.tcard--after .tstep__num { color: #1B8A4E; }
.tstep__title { font-size: 15.5px; font-weight: 700; line-height: 1.4; color: var(--navy-800); letter-spacing: 0; }
.tstep__img { margin: 14px auto 12px; width: 100%; max-width: 230px; }
.tstep__img img { width: 100%; height: 190px; object-fit: contain; object-position: bottom; }
.tstep__list {
  margin-top: auto; align-self: stretch;
  background: rgba(255,255,255,.75);
  border-radius: 12px; padding: 12px 10px;
  display: grid; gap: 9px; align-content: center; min-height: 112px;
}
.tstep__list li { position: relative; padding-left: 28px; font-size: 12px; font-weight: 500; letter-spacing: 0; color: var(--gray-900); line-height: 1.5; }
.tstep__list li::before {
  content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 22px; height: 22px; border-radius: 50%;
  background-repeat: no-repeat; background-position: center; background-size: 11px;
}
.tstep__list--x li::before {
  background-color: #F0463C;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6 6 18'/%3E%3C/svg%3E");
}
.tstep__list--ok li::before {
  background-color: #1C7AE1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}
.tstep__list--green li::before { background-color: #22B573; }
.takeover__arrow { position: relative; z-index: 2; }
.takeover__arrow picture {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 84px; height: 84px; max-width: none;
}
.takeover__arrow img { width: 84px; height: 84px; max-width: none; }

/* ---------- 05. Cases ---------- */
.cases { background: #F6FAFE; }
.cases__tablist { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 8px; }
.cases__tab { display: flex; align-items: center; gap: 14px; padding: 16px 22px; border: 0; border-radius: 16px 16px 0 0; background: #E3EDF8; color: var(--navy-800); text-align: left; cursor: pointer; font-family: inherit; transition: background .2s, color .2s; }
.cases__tab .case__tag { background: #C9DCF0; color: var(--navy-800); }
.cases__tab-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cases__tab-title { font-size: clamp(15px, 1.4vw, 18px); font-weight: 700; line-height: 1.4; }
.cases__tab-result { font-size: 13px; font-weight: 600; opacity: .85; line-height: 1.4; }
.cases__tab-result strong { font-weight: 800; }
.cases__tab:hover { background: #D6E5F5; }
.cases__tab:focus-visible { outline: 3px solid var(--sky-500); outline-offset: 2px; }
.cases__tab.is-active { background: var(--navy-700); color: var(--white); }
.cases__tab.is-active .case__tag { background: var(--sky-500); color: var(--white); }
.cases__tab.is-active .cases__tab-result { opacity: 1; color: #CFE8FF; }
.cases__tab.is-active .cases__tab-result strong { color: #FFD166; }
.cases__panels { background: var(--white); border-radius: 0 0 18px 18px; box-shadow: var(--shadow-md); }
.case { background: var(--white); border-radius: 0 0 18px 18px; }
.case[hidden] { display: none; }
.case__head { display: flex; align-items: center; gap: 16px; padding: 18px 28px; background: var(--navy-700); color: var(--white); }
.case__tag { flex: none; font-family: var(--font-num); font-size: 12.5px; font-weight: 800; letter-spacing: .12em; padding: 5px 14px; border-radius: 999px; background: var(--sky-500); }
.case__title { font-size: clamp(16px, 1.6vw, 19px); font-weight: 700; line-height: 1.5; }
.case__body { padding: 24px 28px 28px; }
.case__attrs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.case__attrs li { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px 5px 6px; border-radius: 999px; background: #F2F6FB; border: 1px solid #DCE7F3; font-size: 13px; color: var(--navy-800); font-weight: 600; }
.case__attr-key { flex: none; white-space: nowrap; padding: 2px 8px; border-radius: 999px; background: var(--navy-700); color: var(--white); font-size: 11.5px; font-weight: 700; letter-spacing: .04em; }
.case__bg { display: flex; align-items: flex-start; gap: 14px; font-size: 15px; color: var(--gray-700); line-height: 1.8; }
.case__bg-label { flex: none; margin-top: 3px; padding: 3px 12px; border-radius: 999px; background: #EAF2FB; color: var(--navy-800); font-size: 12.5px; font-weight: 700; line-height: 1.4; }
.case__flow { margin-top: 22px; display: grid; grid-template-columns: 1fr 36px 1.08fr 36px 1fr; align-items: stretch; }
.case__step { padding: 18px 22px 22px; border-radius: 16px; display: flex; flex-direction: column; }
.case__step--issue  { background: linear-gradient(180deg, #FFF5F3 0%, #FFEDE9 100%); }
.case__step--action { background: linear-gradient(180deg, #F3F9FE 0%, #E9F3FC 100%); }
.case__step--result { background: linear-gradient(180deg, #F2FBF6 0%, #E7F7EE 100%); }
.case__step-title { align-self: flex-start; display: inline-block; padding: 6px 18px; border-radius: 999px; font-size: 14px; font-weight: 700; line-height: 1.4; }
.case__step--issue  .case__step-title { background: #FFE1DB; color: #E0392F; }
.case__step--action .case__step-title { background: #DDF0FD; color: #0B63CC; }
.case__step--result .case__step-title { background: #DCF3E6; color: #1B8A4E; }
.case__step-list { margin-top: 14px; flex: 1; background: rgba(255,255,255,.75); border-radius: 12px; padding: 14px 14px; display: grid; gap: 10px; align-content: start; }
.case__step-list li { position: relative; padding-left: 32px; font-size: 14.5px; font-weight: 500; color: var(--gray-900); line-height: 1.6; }
.case__step-list li::before { content: ""; position: absolute; left: 0; top: .1em; width: 22px; height: 22px; border-radius: 50%; background-repeat: no-repeat; background-position: center; background-size: 11px; }
.case__step--issue .case__step-list li::before { background-color: #F0463C; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6 6 18'/%3E%3C/svg%3E"); }
.case__step--action .case__step-list li::before, .case__step--result .case__step-list li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
.case__step--action .case__step-list li::before { background-color: #1C7AE1; }
.case__step--result .case__step-list li::before { background-color: #22B573; }
.case__num { font-weight: 800; white-space: nowrap; }
.case__step--action .case__num { color: #0B63CC; }
.case__step--result .case__num { color: #1B8A4E; }
.case__step-list .nw { display: inline; }
.case__arrow { display: grid; place-items: center; }
.case__arrow::before { content: ""; width: 14px; height: 14px; border-top: 3px solid #1C7AE1; border-right: 3px solid #1C7AE1; transform: rotate(45deg); }
.case__note {
  margin-top: 32px;
  padding: 26px 32px 28px;
  background: #F6FAFE;
  border: 1.5px dashed #B9D6F2;
  border-radius: 14px;
}
.case__note h4 { display: flex; align-items: center; gap: 12px; font-size: 17px; font-weight: 700; color: var(--navy-800); }
.case__note h4 .icon-bulb { width: 28px; height: 28px; flex: none; display: block; }
.case__note p { margin-top: 12px; font-size: 14.5px; color: var(--gray-700); line-height: 1.9; }

/* ---------- 06. Reasons ---------- */
.reasons {
  background: url("../img/reasons-bg.svg") center / cover no-repeat, #F3FAFF;
  padding: clamp(56px, 7vw, 88px) 0;
}
.reasons .sec-head { margin-bottom: 24px; }
.reasons .sec-title { font-size: clamp(28px, 3.8vw, 44px); font-weight: 900; }
.reasons .sec-title em.blue { font-style: normal; color: #1265D1; }
.reasons__summary { margin: 36px auto 0; max-width: 920px; font-size: 15px; line-height: 2; color: var(--gray-900); text-align: left; }
.reasons__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
}
.rcard {
  position: relative; overflow: hidden;
  background: rgba(255,255,255,.92);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(10,46,85,.08);
  padding: 26px 30px 26px;
  display: block;
}
.rcard--years { grid-column: 1 / 7; }
.rcard--companies { grid-column: 7 / 13; }
.rcard--certs { grid-column: 1 / 13; }
.rcard__row { display: flex; align-items: center; gap: 18px; position: relative; z-index: 1; }
.rcard__badge { flex: none; width: 92px; }
.rcard__badge img { width: 100%; border-radius: 10px; }
.rcard__icon { flex: none; width: 92px; height: 92px; border-radius: 50%; background: #E8F4FE; display: grid; place-items: center; }
.rcard__icon img { width: 64px; height: 64px; }
.rcard__title { font-size: 19px; font-weight: 700; color: var(--navy-800); line-height: 1.3; }
.rcard__num { margin-top: 2px; line-height: 1; display: flex; align-items: baseline; gap: 6px; color: #1265D1; white-space: nowrap; }
.rcard__num .num { font-size: 72px; font-weight: 800; letter-spacing: -.03em; }
.rcard__unit { font-size: 28px; font-weight: 800; }
.rcard__text { position: relative; z-index: 1; margin-top: 16px; font-size: 14.5px; color: var(--gray-700); line-height: 1.85; max-width: 440px; }
.rcard--years, .rcard--companies { display: flex; flex-direction: column; }
.rcard--years .rcard__text, .rcard--companies .rcard__text { margin-top: auto; padding-top: 16px; }
.rcard__asof { font-size: 11.5px; color: var(--gray-500); margin-top: 6px; white-space: nowrap; }
.rcard__bars { position: absolute; right: 24px; bottom: 16px; width: 300px; height: auto; pointer-events: none; }
.rcard__city { position: absolute; right: 0; bottom: 0; width: 46%; pointer-events: none; }
.rcard__city img { width: 100%; }
.rcard--certs { display: grid; grid-template-columns: 300px minmax(0,1fr); gap: 0; padding: 22px 30px; }
.rcard--certs .rcard__num .num { font-size: 56px; }
.rcard--certs .rcard__unit { font-size: 22px; }
.rcard--certs .rcard__row { gap: 14px; }
.rcard--certs .rcard__icon { width: 92px; height: 92px; }
.rcard--certs .rcard__icon img { width: 64px; height: 64px; }
.rcard--certs .rcard__icon { width: 104px; height: 104px; }
.rcard--certs .rcard__icon img { width: 64px; height: 64px; }
.certs__summary { padding-right: 20px; border-right: 1px solid rgba(18,101,209,.18); }
.certs__detail { padding-left: 24px; }
.certs__title { font-size: 20px; font-weight: 700; color: var(--navy-800); }
.certs__title .num { font-size: 26px; font-weight: 800; color: #1265D1; }
.certs__title-sub { font-size: 16px; }
.certs__bars { margin-top: 10px; display: grid; gap: 7px; }
.certs__bars li { display: grid; grid-template-columns: 220px minmax(0,1fr) 56px; align-items: center; gap: 14px; line-height: 1.3; }
.certs__name { font-size: 13.5px; color: var(--gray-900); white-space: nowrap; letter-spacing: 0; }
.certs__bar { height: 16px; border-radius: 999px; background: #E3EEF8; overflow: hidden; }
.certs__bar i { display: block; height: 100%; width: var(--w); border-radius: inherit; background: linear-gradient(90deg, #1265D1, #3FA6F5); transform-origin: left; animation: grow 1.2s var(--ease) both; }
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.certs__val { font-family: var(--font-num); font-size: 22px; font-weight: 800; color: #1265D1; text-align: right; }
.certs__val small { font-family: var(--font-base); font-size: 12px; font-weight: 700; margin-left: 1px; }
.certs__other {
  margin-top: 12px; padding: 12px 18px 12px 12px;
  border-radius: 12px; background: #EAF4FD;
  display: flex; align-items: center; gap: 14px;
  font-size: 13px; color: var(--gray-900); line-height: 1.55;
}
.certs__other-icon { flex: none; width: 60px; height: 60px; border-radius: 50%; background: #fff; display: grid; place-items: center; }
.certs__other-icon img { width: 46px; height: 46px; }
.certs__other strong { display: block; color: var(--navy-800); font-size: 13.5px; white-space: nowrap; margin-bottom: 6px; line-height: 1.4; }
.certs__other strong .num { font-size: 18px; color: #1265D1; margin: 0 1px; }
.certs__other > span:not(.certs__other-icon) { flex: 1; }

/* ---------- 07. Pricing ---------- */
.pricing {
  background:
    radial-gradient(900px 500px at 100% 100%, rgba(143,216,248,.35), transparent 60%),
    #EAF4FD;
}
.pricing .sec-title { font-size: clamp(24px, 3.2vw, 36px); }
.pricing__table-wrap { background: var(--white); border-radius: 12px; box-shadow: var(--shadow-md); overflow: hidden; }
.pricing__table { width: 100%; border-collapse: collapse; }
.pricing__table th, .pricing__table td { padding: 22px 24px; text-align: center; }
.pricing__table thead th { background: var(--navy-800); color: var(--white); font-size: 15px; font-weight: 700; letter-spacing: .06em; }
.pricing__table tbody tr:nth-child(even) td { background: #F4F8FD; }
.pricing__table tbody tr + tr td { border-top: 1px solid var(--gray-100); }
.pricing__table tbody td { font-size: 16px; font-weight: 700; color: var(--navy-800); }
.pricing__table .price { font-family: var(--font-num); font-size: 32px; font-weight: 800; color: var(--navy-800); line-height: 1; letter-spacing: -.01em; }
.pricing__table .price small { font-family: var(--font-base); font-size: 15px; font-weight: 700; margin-left: 3px; }
.pricing__table--2col th:first-child, .pricing__table--2col td:first-child { width: 42%; }
.pricing__table--2col .price { font-size: 34px; color: var(--blue-700); }
.pricing__terms { margin: 28px auto 0; max-width: 1070px; padding: 24px 32px 22px; background: #F7FAFE; border: 1px solid #CFE0F3; border-radius: 12px; }
.pricing__terms-title { font-size: 17px; font-weight: 700; color: var(--navy-800); }
.pricing__terms-list { margin-top: 12px; display: grid; gap: 10px; }
.pricing__terms-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; color: var(--gray-900); line-height: 1.7; }
.pricing__chk { flex: none; width: 24px; height: 24px; margin-top: 1px; }
.pricing__terms-note { margin-top: 16px; padding-top: 14px; border-top: 1px solid #D9E6F4; font-size: 14px; color: var(--gray-700); }
.pricing__cta { margin-top: 36px; text-align: center; }

/* ---------- 09. FAQ ---------- */
.faq { background: #EEF6FC; position: relative; overflow: hidden; padding-top: clamp(56px, 7vw, 88px); }
.faq::after { content: ""; position: absolute; right: -140px; bottom: -160px; width: 460px; height: 460px; border-radius: 50%; background: radial-gradient(circle, rgba(143,216,248,.5), transparent 65%); pointer-events: none; }
.faq__list { display: grid; gap: 14px; position: relative; }
.faq__item { background: var(--white); border-radius: 14px; box-shadow: var(--shadow-sm); overflow: hidden; transition: box-shadow .3s; }
.faq__item[open] { box-shadow: var(--shadow-md); }
.faq__q { list-style: none; display: flex; align-items: center; gap: 16px; padding: 20px 26px; font-size: 16.5px; font-weight: 700; color: var(--navy-800); cursor: pointer; }
.faq__q::-webkit-details-marker { display: none; }
.faq__q .q { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--navy-800); color: var(--white); font-family: var(--font-num); font-weight: 800; display: grid; place-items: center; }
.faq__q .toggle { margin-left: auto; flex: none; width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--blue-500); position: relative; }
.faq__q .toggle::before, .faq__q .toggle::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--blue-500); transform: translate(-50%, -50%); }
.faq__q .toggle::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .3s var(--ease); }
.faq__item[open] .faq__q .toggle::after { transform: translate(-50%, -50%) rotate(0); }
.faq__a { padding: 0 26px 22px 78px; font-size: 15px; color: var(--gray-700); position: relative; }
.faq__a::before { content: "A"; position: absolute; left: 26px; top: -2px; width: 36px; height: 36px; border-radius: 50%; background: var(--sky-500); color: var(--white); font-family: var(--font-num); font-weight: 800; display: grid; place-items: center; }

/* ---------- 10. Consultation CTA ---------- */
.consult {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #02478F 0%, #003874 55%, #023A7A 100%);
  color: var(--white);
  padding: 0;
}
.consult__photo { position: absolute; top: 0; right: 0; bottom: 0; width: 48%; }
.consult__photo picture, .consult__photo img { width: 100%; height: 100%; object-fit: cover; object-position: left center; display: block; }
.consult__inner { position: relative; display: flex; align-items: center; min-height: clamp(460px, 42vw, 600px); padding: clamp(56px, 6vw, 80px) 0; }
.consult__content { max-width: 600px; }
.consult__title { white-space: nowrap; }
.consult__title { font-size: clamp(28px, 3.7vw, 48px); font-weight: 900; line-height: 1.4; letter-spacing: .02em; }
.consult__text { margin-top: 20px; font-size: 17px; color: rgba(255,255,255,.92); }
.consult__points { margin-top: 44px; display: grid; gap: 14px; }
.consult__points li { display: flex; align-items: center; gap: 0; font-weight: 700; font-size: 19px; }
.consult__points img { width: 32px; height: 32px; flex: none; }
.consult__points span { margin-left: 14px; line-height: 1.3; }
.consult__cta { margin-top: 34px; }
.btn--cta {
  min-width: 460px; min-height: 72px; padding: 0 40px;
  border-radius: 14px;
  color: var(--white); font-size: 20px;
  background: linear-gradient(90deg, #1E7CE8 0%, #2C90F5 100%);
  box-shadow: 0 12px 30px rgba(0,0,0,.28);
  justify-content: center; position: relative;
}
.btn--cta:hover { transform: translateY(-2px); box-shadow: 0 18px 38px rgba(0,0,0,.34); }
.btn--cta .btn__arrow { position: absolute; right: 24px; top: 50%; transform: translateY(-50%); }
.btn--cta:hover .btn__arrow { transform: translate(4px, -50%); }

/* ---------- 11. Contact ---------- */
.contact {
  background:
    radial-gradient(700px 500px at 0% 100%, rgba(143,216,248,.35), transparent 60%),
    linear-gradient(180deg, #F3F9FE 0%, #EAF4FC 100%);
}
.contact__inner { display: grid; grid-template-columns: 1fr 1.55fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.contact__aside { position: relative; padding-top: 12px; padding-right: 8px; }
.contact__accent { display: block; width: 56px; height: 5px; border-radius: 3px; background: #158CEF; margin-bottom: 22px; }
.contact__title { font-size: clamp(24px, 2.4vw, 30px); font-weight: 900; line-height: 1.45; color: var(--navy-800); }
@media (min-width: 901px) { .contact__title { white-space: nowrap; } }
.contact__text { margin-top: 18px; font-size: 15px; color: var(--gray-700); line-height: 2; }
.contact__photo { margin-top: 72px; width: 92%; opacity: .92; }
@media (min-width: 901px) { .contact__text { white-space: nowrap; } }
.contact__photo img { width: 100%; height: auto; }

/* form */
.form { background: var(--white); border-radius: 18px; box-shadow: 0 12px 36px rgba(10,46,85,.10); padding: clamp(24px, 3.5vw, 44px); }
.form__row { display: grid; gap: 8px; }
.form__row + .form__row, .form__row--2 + .form__row, .form__row + .form__row--2, .form__row--2 + .form__row--2 { margin-top: 20px; }
.form__row--2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form__row--2 .form__row + .form__row { margin-top: 0; }
.form label { font-size: 15px; font-weight: 700; color: var(--navy-800); display: flex; align-items: center; gap: 10px; line-height: 1.4; }
.form__agree label { font-weight: 500; }
.req, .opt { flex: none; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 4px; letter-spacing: .05em; }
.req { background: var(--red); color: var(--white); }
.opt { background: var(--gray-100); color: var(--gray-700); }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form select, .form textarea {
  width: 100%; padding: 14px 16px;
  border: 1.5px solid #D5DEE8; border-radius: 10px;
  background: #F7FAFD; color: var(--gray-900);
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.form select { appearance: none; -webkit-appearance: none; padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F2933' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; background-size: 18px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--blue-500); background: var(--white); box-shadow: 0 0 0 4px rgba(28,122,225,.14); }
.form .is-invalid { border-color: var(--red) !important; background: #FFF5F5 !important; }
.form textarea { min-height: 120px; resize: vertical; }
.form__error { font-size: 13px; color: var(--red); display: none; margin-top: -2px; }
.form__error.is-visible { display: block; }
.form__agree { margin-top: 26px; font-size: 14.5px; display: flex; align-items: center; gap: 10px; justify-content: center; color: var(--gray-700); }
.form__agree input { width: 18px; height: 18px; accent-color: var(--blue-500); }
.form__agree a { color: var(--blue-600); text-decoration: underline; }
.form__submit { margin-top: 18px; text-align: center; }
.form__submit .btn { width: 100%; max-width: 560px; }
.form__status { margin-top: 14px; text-align: center; font-size: 14.5px; font-weight: 700; display: none; }
.form__status.is-success { display: block; color: #1B7F4B; }
.form__status.is-error { display: block; color: var(--red); }
.form__recaptcha { margin-top: 18px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.form__recaptcha .form__error { text-align: center; }

/* ---------- Footer ---------- */
/* ---------- Thanks page ---------- */
.page-thanks { display: flex; flex-direction: column; min-height: 100vh; }
.page-thanks main { flex: 1; }
.thanks { padding-top: calc(var(--header-h) + clamp(48px, 6vw, 80px)); background: linear-gradient(180deg, #F3FAFE 0%, #E6F4FC 100%); }
.thanks__card { background: var(--white); border-radius: 24px; box-shadow: var(--shadow-md); padding: clamp(40px, 5vw, 64px) clamp(24px, 5vw, 64px); text-align: center; }
.thanks__icon { width: 80px; height: 80px; color: var(--blue-500); margin: 0 auto 16px; }
.thanks__label { display: inline-block; padding: 4px 16px; border-radius: 999px; background: #DDF0FD; color: #0B63CC; font-size: 13px; font-weight: 700; letter-spacing: .06em; }
.thanks__title { margin-top: 16px; font-size: clamp(24px, 3vw, 34px); font-weight: 900; line-height: 1.4; color: var(--navy-800); }
.thanks__text { margin-top: 18px; font-size: 16px; line-height: 2; color: var(--gray-900); }
.thanks__text strong { color: var(--blue-500); }
.thanks__note { margin: 32px auto 0; max-width: 640px; text-align: left; padding: 20px 24px; background: #F7FAFE; border: 1px solid #CFE0F3; border-radius: 12px; }
.thanks__note-title { font-size: 14.5px; font-weight: 700; color: var(--navy-800); }
.thanks__note-list { margin-top: 8px; display: grid; gap: 6px; }
.thanks__note-list li { position: relative; padding-left: 16px; font-size: 14px; color: var(--gray-700); line-height: 1.8; }
.thanks__note-list li::before { content: ""; position: absolute; left: 0; top: .85em; width: 6px; height: 6px; border-radius: 50%; background: var(--sky-500); }
.thanks__note a { color: var(--blue-500); text-decoration: underline; }
.thanks__actions { margin-top: 36px; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.btn--ghost { background: var(--white); color: var(--blue-500); border: 2px solid var(--blue-500); box-shadow: none; }
.btn--ghost:hover { background: #F0F6FD; }

.footer { background: var(--navy-900); color: rgba(255,255,255,.8); padding: 48px 0; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer__brand img { height: 36px; width: auto; }
.footer__links { display: flex; gap: 24px; font-size: 13.5px; }
.footer__links a:hover { color: var(--white); text-decoration: underline; }
.footer__copy { width: 100%; margin-top: 24px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); font-size: 12.5px; color: rgba(255,255,255,.5); font-family: var(--font-num); }

/* ---------- Sticky CTA / page top ---------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 -6px 24px rgba(10,46,85,.12);
  transform: translateY(110%); transition: transform .4s var(--ease);
  display: none;
}
.sticky-cta.is-visible { transform: translateY(0); }
.sticky-cta .btn { width: 100%; min-height: 54px; font-size: 16px; }
.pagetop {
  position: fixed; right: 20px; bottom: 24px; z-index: 80;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--navy-800); color: var(--white);
  display: grid; place-items: center; box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .3s, transform .3s, visibility .3s;
}
.pagetop.is-visible { opacity: 1; visibility: visible; transform: none; }
.pagetop svg { width: 20px; height: 20px; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-shown { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }
.reveal[data-delay="4"] { transition-delay: .4s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.only-sp { display: none; }
.nw { display: inline-block; }
.faq__qt { flex: 1; min-width: 0; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .service__grid { gap: 24px 32px; --gx: 32px; --gy: 24px; --cut: 120px; }
  .svc--orange, .svc--green { padding-left: 24px; }
  .svc__desc { white-space: normal; }
  .svc--blue, .svc--purple { padding-right: 28px; }
  .service__center { width: 186px; height: 186px; font-size: 21px; }
  .svc { grid-template-columns: minmax(0,1fr) 170px; }
  .svc--orange, .svc--green { grid-template-columns: 170px minmax(0,1fr); }
  .svc__desc, .svc__list li { font-size: 14px; }
  .svc__list li { padding-left: 14px; }
  .certs__bars li { grid-template-columns: 200px 1fr 52px; }
}

@media (max-width: 1024px) {
  .takeover__flow { grid-template-columns: 1fr; column-gap: 0; row-gap: 16px; }
  .takeover__arrow { height: 0; }
  .takeover__arrow picture { width: 64px; height: 64px; transform: translate(-50%, -50%) rotate(90deg); }
  .takeover__arrow img { width: 64px; height: 64px; }
  .tcard--quanz .tcard__tag::before, .tcard--quanz .tcard__tag::after { display: none; }
  .rcard--certs { grid-template-columns: 1fr; }
  .certs__summary { padding-right: 0; border-right: 0; padding-bottom: 20px; border-bottom: 1px solid rgba(18,101,209,.18); }
  .certs__detail { padding-left: 0; padding-top: 20px; }
}

@media (max-width: 900px) {
  .header__nav a:not(.btn) { display: none; }
  .header__service { display: none; }
  .problems__grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .service__grid { grid-template-columns: 1fr; gap: 20px; }
  .service__center { position: static; transform: none; margin: 0 auto 8px; order: -1; }
  .svc::before { -webkit-mask-image: none; mask-image: none; }
  .svc::after { display: none; }
  .svc--orange, .svc--green { padding-left: 24px; }
  .svc--blue, .svc--purple, .svc--orange, .svc--green { padding-left: 24px; padding-right: 24px; }
  .reasons__grid { grid-template-columns: 1fr; }
  .rcard--years, .rcard--companies, .rcard--certs { grid-column: auto; }
  .case__flow { grid-template-columns: 1fr; }
  .case__arrow { height: 34px; }
  .case__arrow::before { transform: rotate(135deg); }
  .contact__inner { grid-template-columns: 1fr; }
  .consult__photo { position: relative; width: 100%; height: 260px; }
  .consult__photo img { object-position: center 30%; }
  .consult__inner { min-height: 0; padding: 40px 0 56px; }
  .consult__content { max-width: none; }
  .consult__title { white-space: normal; }
}

@media (max-width: 640px) {
  :root { --header-h: 60px; }
  body { font-size: 15px; }
  .only-pc { display: none; }
  .only-sp { display: inline; }
  .sec-title .br-pc { display: inline; }
  .section { padding: 64px 0; }
  .header__logo { height: 28px; }
  .btn { padding: 0 24px; font-size: 16px; }
  .btn--lg { padding: 0 28px; min-height: 60px; font-size: 16px; }

  /* FV（SP）：キャッチ → 写真 → リード → 実績バッジ → CTA の縦積み */
  .hero { padding-top: calc(var(--header-h) + 32px); padding-bottom: 44px; }
  .hero__bg { display: none; }
  .hero__content { min-height: 0; max-width: none; }
  .hero__label { order: 0; font-size: clamp(11.5px, 3.3vw, 13px); letter-spacing: 0; margin-bottom: 14px; gap: 9px; min-height: 0; padding: 7px 14px 7px 11px; }
  .hero__label-icon { width: 26px; }
  .hero__label-sep { height: 24px; }
  .hero__title { font-size: 22px; letter-spacing: 0; line-height: 1.45; white-space: nowrap; text-shadow: none; order: 1; }
  .hero__visual { display: block; order: 2; margin-top: 22px; border-radius: 14px; overflow: hidden; aspect-ratio: 16 / 10; box-shadow: 0 10px 28px rgba(10,46,85,.12); }
  .hero__visual img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; display: block; }
  .hero__sub { font-size: 14.5px; margin-top: 22px; text-shadow: none; order: 3; }
  .hero__sub br { display: none; }
  .hero__badges { order: 4; margin-top: 24px; max-width: none; gap: 6px; }
  .hero__badge img { max-width: none; filter: drop-shadow(0 4px 10px rgba(10,46,85,.12)); }
  .hero__cta { order: 5; margin-top: 0; padding-top: 24px; align-items: stretch; }
  .hero__cta .btn { width: 100%; }

  .problem__num { font-size: 38px; }
  /* 課題：イラストは横長にトリミングして高さを抑える */
  .problems__grid { gap: 44px; }
  .problem { display: flex; flex-direction: column; }
  .problem__head { order: 1; margin-top: 0; gap: 12px; }
  .problem__num { font-size: 36px; }
  .problem__img { order: 2; margin-top: 14px; aspect-ratio: 16 / 7; border-radius: 12px; }
  .problem__img picture { display: block; width: 100%; height: 100%; }
  .problem__img img { object-position: center 35%; }
  .problem__list { order: 3; margin-top: 16px; }
  .problem__title br { display: none; }
  .problem__title { font-size: 19px; }
  /* サービス見出し（SP）：小見出し1行 → ☑＋主見出し2行（左揃え・全体は中央） */
  .service__title { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; padding-left: 0; padding-bottom: 12px; letter-spacing: 0; text-align: left; }
  .service__line--sub { order: 1; flex: 0 0 100%; text-align: center; font-size: 15px; font-weight: 700; line-height: 1.5; color: var(--navy-700); margin-bottom: 10px; }
  .service__deco-check { order: 2; position: static; width: 38px; transform: none; margin: 1px 10px 0 0; flex: none; }
  .service__line--main { order: 3; display: block; margin-top: 0; font-size: 27px; font-weight: 900; line-height: 1.4; }
  .service__deco-ul { top: calc(100% - 8px); }
  .service .sec-lead { display: none; }
  .problems__title { padding-bottom: 30px; font-size: 22px; }
  .problems__deco-lines { left: -4px; top: -26px; width: 34px; }
  .problems__deco-ul { width: 64%; top: calc(100% - 34px); }
  .svc { grid-template-columns: 1fr; }
  .svc__img { max-width: 150px; margin: 4px auto 0; }
  .svc { padding-bottom: 16px; }
  .service__center { width: 132px; height: 132px; font-size: 17px; }
  .svc { grid-template-areas: "head" "desc" "list" "img"; padding: 22px 22px 16px; border-radius: 20px; }
  .svc__title { font-size: 20px; }
  .svc__icon { width: 48px; height: 48px; }
  .svc__desc { font-size: 15px; white-space: normal; }
  .svc__desc .nw { display: inline; }
  .svc__list { margin-top: 14px; gap: 10px; }
  .svc__list li { font-size: 15px; padding-left: 18px; }
  .svc__list li::before { width: 8px; height: 8px; }
  .service__note { display: block; border-radius: 16px; padding: 14px 18px 14px 44px; font-size: 14px; text-align: left; position: relative; }
  .service__note .icon-bulb { position: absolute; left: 12px; top: 13px; width: 26px; height: 26px; }
  .tcard--quanz .tcard__cols { grid-template-columns: 1fr; gap: 20px; }
  /* 引き継ぎ：イラストを小さくして見出し横に */
  .tstep__img { max-width: 120px; margin: 8px auto 10px; }
  .tstep__img img { height: 110px; }
  .tcard--quanz .tstep + .tstep { border-left: 0; border-top: 1px dashed rgba(11,99,204,.3); padding-top: 20px; }
  .tstep__head { min-height: 0; }
  .cases__tablist { gap: 6px; }
  .cases__tab { padding: 12px 10px; gap: 8px; border-radius: 12px 12px 0 0; flex-direction: column; align-items: flex-start; }
  .cases__tab .only-pc { display: none; }
  .cases__tab .only-sp { display: inline; }
  .cases__tab-title, .cases__tab-result { white-space: nowrap; }
  .cases__tab .case__tag { font-size: 11px; padding: 4px 10px; }
  .cases__tab-title { font-size: clamp(12px, 3.5vw, 13.5px); }
  .cases__tab-result { font-size: clamp(11px, 3.1vw, 12px); }
  .case__body { padding: 20px; }
  .case__step { padding: 16px 14px 16px; }
  .case__step-list { padding: 12px; }
  .case__bg { flex-direction: column; gap: 8px; }
  .case__bg .nw, .case__step-list .nw { display: inline; }
  .case__step-list li { font-size: 14.5px; }
  .case__attrs li { font-size: 12.5px; align-items: flex-start; }
  .case__attrs .case__attr-key { margin-top: 1px; }
  .case__note { padding: 20px 18px; }
  .case__note h4 { align-items: flex-start; font-size: 16px; }
  .rcard { padding: 22px 20px; }
  .rcard--certs { padding: 22px 20px; }
  .rcard__row { gap: 14px; }
  .rcard__badge { width: 96px; }
  .rcard__icon { width: 72px; height: 72px; }
  .rcard__icon img { width: 50px; height: 50px; }
  .rcard__num .num { font-size: 52px; }
  .rcard__unit { font-size: 20px; }
  .rcard__bars { width: 200px; opacity: .6; }
  .rcard__city { width: 45%; opacity: .45; }
  .rcard__bars { width: 160px; opacity: .5; }
  .consult { padding: 0; }
  .consult__photo { height: 150px; }
  .consult__photo::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 64px; z-index: 1; background: linear-gradient(180deg, rgba(2,66,135,0) 0%, #02468C 100%); }
  .consult__inner { padding-top: 24px; }
  .service__center { display: none; }
  .takeover .sec-title { font-size: 23px; }
  .takeover .sec-title .br-pc { display: block; }
  .pricing .sec-title { font-size: 22px; }
  .tstep__title br { display: none; }
  .tstep__title { font-size: 16px; }
  .certs__other strong { white-space: normal; }
  .contact__photo { max-width: 260px; margin-top: 20px; }
  .certs__bars li { grid-template-columns: 1fr 48px; }
  .certs__bars .certs__name { grid-column: 1 / -1; font-size: 13px; margin-bottom: -6px; white-space: normal; }
  .certs__other { flex-wrap: wrap; }
  .pricing__terms { padding: 20px 18px 18px; }
  .pricing__terms-list li { font-size: 14px; gap: 10px; }
  .pricing__chk { width: 22px; height: 22px; }
  .pricing__table th, .pricing__table td { padding: 14px 8px; }
  .pricing__table thead th { font-size: 13px; }
  .pricing__table tbody td { font-size: 14px; }
  .pricing__table .price { font-size: 24px; }
  .pricing__table--2col .price { font-size: 26px; }
  .faq__q { padding: 18px 18px; font-size: 15px; }
  .faq__a { padding: 0 18px 20px 68px; }
  .faq__a .nw { display: inline; }
  .reasons__summary { font-size: 14.5px; margin-top: 28px; }
  .faq__a::before { left: 18px; }
  .consult__points li { font-size: 16px; }
  .btn--cta { min-width: 0; width: 100%; font-size: 17px; min-height: 62px; }
  .sticky-cta { display: block; }
  .pagetop { bottom: 90px; right: 14px; }
  .page-thanks .footer { padding-bottom: 48px; }
  .thanks__card { border-radius: 18px; }
  .thanks__note { padding: 16px 16px; }
  .thanks__note .nw { display: inline; }
  .thanks__text { font-size: 15px; }
  .thanks__actions { flex-direction: column; }
  .thanks__actions .btn { width: 100%; }
  .footer { padding-bottom: 120px; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
}
