:root {
  /* Brand & Surface Palette */
  --ink: #0f2538;
  --navy: #07365d;
  --navy-deep: #062845;
  --blue: #0061ad;
  --cyan: #0097c4;
  --cyan-soft: #72d5ec;
  --muted: #425c6d;

  --surface: #ffffff;
  --surface-tint: #f5f9fc;
  --pale: #edf5fa;
  --line: rgba(15, 37, 56, 0.11);
  --line-strong: rgba(7, 54, 93, 0.24);

  /* Radii & Shadows */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --radius-pill: 999px;
  --shadow-xs: 0 2px 8px -2px rgba(7, 54, 93, 0.06);
  --shadow-sm: 0 10px 26px -12px rgba(7, 54, 93, 0.12), 0 2px 6px -2px rgba(7, 54, 93, 0.05);
  --shadow-md: 0 18px 42px -16px rgba(7, 54, 93, 0.16), 0 4px 12px -4px rgba(7, 54, 93, 0.06);
  --shadow-btn: 0 10px 24px -8px rgba(7, 54, 93, 0.36);

  /* Motion & Layout */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.22, 1.2, 0.36, 1);
  --ease-std: cubic-bezier(0.25, 0.8, 0.25, 1);
  --wrap: 1280px;
  --gutter: clamp(22px, 5.5vw, 94px);

  font-family: "Yu Gothic UI", "Yu Gothic", Meiryo, "Hiragino Kaku Gothic ProN", sans-serif;
  color: var(--ink);
  background: var(--surface);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 124px;
}

body {
  margin: 0;
  font-size: 1rem;
  line-height: 1.85;
  word-break: auto-phrase;
  line-break: strict;
  background: var(--surface);
}

body.nav-open {
  overflow: hidden;
}

h1, h2, h3, p, dl {
  margin: 0;
}

h1, h2, h3 {
  line-height: 1.42;
  letter-spacing: 0.02em;
  font-feature-settings: "palt";
}

h1, h2, h3, .lead, .hero-lead {
  text-wrap: balance;
}

p, dd, li {
  text-wrap: pretty;
}

a {
  color: var(--blue);
  text-underline-offset: 5px;
  text-decoration-color: rgba(0, 97, 173, 0.42);
  transition: color 0.22s var(--ease-std), text-decoration-color 0.22s var(--ease-std);
}

a:hover {
  text-decoration-color: currentColor;
  text-decoration-thickness: 1.5px;
}

a, button, input, textarea, summary {
  -webkit-tap-highlight-color: transparent;
}

button, input, textarea {
  font: inherit;
}

button, summary {
  cursor: pointer;
}

button {
  color: inherit;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 2.5px solid #0077a8;
  outline-offset: 3px;
  border-radius: 4px;
}

img {
  display: block;
  max-width: 100%;
}

.wrap {
  width: min(calc(100% - var(--gutter) * 2), var(--wrap));
  margin-inline: auto;
}

.nw {
  display: inline-block;
  max-width: 100%;
}

.skip,
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

.skip:focus {
  clip-path: none;
  width: auto;
  height: auto;
  z-index: 120;
  padding: 10px 18px;
  background: var(--navy);
  color: #ffffff;
  border-radius: var(--radius-sm);
  top: 8px;
  left: 8px;
  text-decoration: none;
}

.icon {
  width: 1.15em;
  height: 1.15em;
  flex: none;
}

[hidden] {
  display: none !important;
}

/* =========================================
   Header & Navigation
   ========================================= */
.site-head {
  position: sticky;
  z-index: 50;
  top: 0;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(15, 37, 56, 0.08);
  transition: background 0.32s var(--ease-std), box-shadow 0.32s var(--ease-std), border-color 0.32s var(--ease-std);
}

.site-head.is-scrolled {
  background: rgba(255, 255, 255, 0.88);
  border-bottom-color: rgba(15, 37, 56, 0.1);
  box-shadow: 0 12px 32px -18px rgba(7, 54, 93, 0.24);
}

/* モバイルメニュー展開時の背面暗幕とヘッダー不透明化 */
body.nav-open::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(6, 40, 69, 0.42);
}

body.nav-open .site-head {
  background: #ffffff;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.utility {
  background: linear-gradient(90deg, #f3f8fb 0%, #eef5f9 100%);
  border-bottom: 1px solid rgba(15, 37, 56, 0.06);
  color: #244558;
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.3;
  font-variant-numeric: tabular-nums;
}

.utility > .wrap {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 14px;
  min-height: 32px;
  padding-block: 4px;
}

.utility a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0.04em;
  color: var(--navy);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
}

.utility a:hover {
  color: var(--blue);
}

.utility .icon {
  width: 14px;
  height: 14px;
  color: var(--blue);
}

.utility span {
  border-left: 1px solid rgba(7, 54, 93, 0.2);
  padding-left: 14px;
  color: var(--muted);
}

.head-main {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.identity {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
  transition: opacity 0.22s var(--ease-std);
}

.identity:hover {
  opacity: 0.85;
}

.identity .symbol {
  width: 40px;
  height: auto;
}

.identity .wordmark {
  width: 169px;
  height: auto;
}

.head-main nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.8vw, 28px);
}

.head-main nav a {
  white-space: nowrap;
}

.head-main nav a:not(.nav-cta):not(.personal-service-link) {
  position: relative;
  font-weight: 700;
  font-size: 0.94rem;
  text-decoration: none;
  color: var(--ink);
  padding-block: 6px;
  letter-spacing: 0.02em;
}

.head-main nav a:not(.nav-cta):not(.personal-service-link)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.28s var(--ease-out);
}

.head-main nav a:not(.nav-cta):not(.personal-service-link):hover,
.head-main nav a:not(.nav-cta):not(.personal-service-link)[aria-current] {
  color: var(--blue);
}

.head-main nav a:not(.nav-cta):not(.personal-service-link):hover::after,
.head-main nav a:not(.nav-cta):not(.personal-service-link)[aria-current]::after {
  transform: scaleX(1);
}

.personal-service-link {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  border-left: 1px solid var(--line-strong);
  padding-left: 14px;
  white-space: nowrap;
  transition: color 0.22s var(--ease-std);
}

.personal-service-link:hover {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* =========================================
   Buttons & Interactive Links
   ========================================= */
.head-main nav .nav-cta,
.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--navy) 0%, #0b4a7d 100%);
  color: #ffffff;
  text-decoration: none;
  min-height: 52px;
  border: 1px solid rgba(7, 54, 93, 0.92);
  padding: 12px 26px;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: var(--radius-sm);
  box-shadow: 0 6px 18px -8px rgba(7, 54, 93, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.16);
  transition: transform 0.26s var(--ease-out), box-shadow 0.26s var(--ease-out), background 0.26s var(--ease-std), border-color 0.26s var(--ease-std);
}

.head-main nav .nav-cta {
  min-height: 44px;
  padding: 8px 18px;
  font-size: 0.92rem;
}

.button:hover,
.head-main nav .nav-cta:hover {
  background: linear-gradient(135deg, #084474 0%, var(--blue) 100%);
  border-color: var(--blue);
  color: #ffffff;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: var(--shadow-btn), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.button:active,
.head-main nav .nav-cta:active {
  transform: translateY(0);
}

.button .icon,
.head-main nav .nav-cta .icon {
  transition: transform 0.26s var(--ease-out);
}

.button:hover .icon,
.head-main nav .nav-cta:hover .icon {
  transform: translateX(1.5px);
}

.text-button {
  position: relative;
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  transition: color 0.22s var(--ease-std);
}

.text-button::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1.5px;
  background: rgba(7, 54, 93, 0.3);
  transition: background 0.22s var(--ease-std);
}

.text-button::after {
  content: "→";
  font-size: 0.95em;
  color: var(--blue);
  transition: transform 0.28s var(--ease-out);
}

.text-button:hover {
  color: var(--blue);
  text-decoration: none;
}

.text-button:hover::before {
  background: var(--blue);
}

.text-button:hover::after {
  transform: translateX(5px);
}

.menu-toggle {
  display: none;
}

/* =========================================
   Hero Section（スクロール連動パララックス＆奥行き）
   ========================================= */
.hero {
  isolation: isolate;
  position: relative;
  overflow: hidden;
  background: linear-gradient(125deg, #fbfdff 0%, #f2f8fc 52%, #e9f4fa 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(64% 88% at 18% 36%, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.62) 54%, rgba(255, 255, 255, 0) 100%),
    radial-gradient(45% 60% at 82% 20%, rgba(0, 151, 196, 0.08) 0%, rgba(0, 151, 196, 0) 75%);
  pointer-events: none;
}

.hero-art {
  position: absolute;
  z-index: -1;
  inset: -32px 0;
  background: url(hero.webp) center 49% / cover no-repeat;
  transform: translate3d(0, var(--scroll-art, 0px), 0) scale(calc(1 + var(--hero-p, 0) * 0.025));
  transform-origin: 72% 48%;
  transition: transform 0.42s var(--ease-out);
  overflow: hidden;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 49%;
  display: block;
  transform: scale(1.04);
  pointer-events: none;
}

.hero-wrap {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  min-height: clamp(460px, 40vw, 630px);
  padding-block: 52px 58px;
}

.hero-copy {
  max-width: 63%;
  transform: translate3d(0, calc(var(--hero-p, 0) * -10px), 0);
  opacity: calc(1 - max(0, (var(--hero-p, 0) - 0.35) * 1.15));
  transition: transform 0.48s var(--ease-out);
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--blue);
  font-size: clamp(0.86rem, 1.05vw, 0.98rem);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.hero-label::before {
  content: "";
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  flex: none;
}

.hero h1 {
  font-weight: 700;
  font-size: clamp(2.65rem, 4.55vw, 4.85rem);
  line-height: 1.3;
  letter-spacing: 0.015em;
  color: var(--navy-deep);
  margin: 20px 0 22px;
}

.hero h1 span {
  color: var(--navy-deep);
}

.hero-lead {
  color: #254356;
  font-weight: 500;
  line-height: 1.92;
  font-size: clamp(0.98rem, 1.12vw, 1.14rem);
  letter-spacing: 0.03em;
}

.hero-actions {
  margin-top: 30px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px 28px;
}

/* =========================================
   Facts Strip
   ========================================= */
.facts {
  position: relative;
  z-index: 2;
  border-block: 1px solid var(--line);
  background: var(--surface);
}

.facts-inner {
  display: grid;
  grid-template-columns: 1.12fr 1.25fr 0.78fr;
  padding: 20px 0;
  gap: 20px;
}

.facts-inner > div {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 5px 14px;
  line-height: 1.6;
}

.facts-inner > div + div {
  border-left: 1px solid var(--line);
  padding-left: clamp(16px, 2.8vw, 44px);
}

.facts small {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 600;
}

.facts small::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  transform: translateY(-1px);
}

.facts strong {
  font-size: 1.02rem;
  color: var(--navy);
  letter-spacing: 0.02em;
}

.facts span {
  color: var(--muted);
  font-size: 0.84rem;
}

/* =========================================
   Statement Section（スクロール連動の光の筆致・語句点灯）
   ========================================= */
.statement {
  position: relative;
  background:
    radial-gradient(58% 65% at 88% 24%, rgba(0, 151, 196, 0.06) 0%, rgba(0, 151, 196, 0) 70%),
    radial-gradient(50% 60% at 12% 82%, rgba(7, 54, 93, 0.04) 0%, rgba(7, 54, 93, 0) 70%),
    linear-gradient(180deg, #ffffff 0%, #f8fbfd 55%, #ffffff 100%);
}

.statement-stick {
  padding-block: clamp(72px, 8.5vw, 128px);
}

.statement-stick > .wrap {
  position: relative;
  padding-left: clamp(20px, 2.8vw, 38px);
}

/* 左端のスクロール連動グラデーションライン */
.statement-stick > .wrap::before,
.statement-stick > .wrap::after {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 2.5px;
  border-radius: 2px;
}

.statement-stick > .wrap::before {
  background: rgba(7, 54, 93, 0.1);
}

.statement-stick > .wrap::after {
  background: linear-gradient(180deg, var(--cyan) 0%, var(--blue) 55%, var(--navy) 100%);
  transform-origin: top center;
  transform: scaleY(var(--st-p, 1));
  transition: transform 0.48s cubic-bezier(0.12, 1, 0.24, 1);
}

.statement-text {
  max-width: 24em;
  color: var(--navy-deep);
  font-size: clamp(1.55rem, 3.15vw, 3rem);
  font-weight: 700;
  line-height: 1.65;
  letter-spacing: 0.02em;
  text-wrap: wrap;
}

.statement .w {
  display: inline-block;
  transition: opacity 0.95s var(--ease-out), transform 0.95s var(--ease-out), color 0.95s var(--ease-out);
}

.statement-name {
  max-width: 40em;
  margin-top: 28px;
  color: #29475a;
  font-size: clamp(0.96rem, 1.12vw, 1.06rem);
  line-height: 2;
  transition: opacity 1.25s var(--ease-out), transform 1.25s var(--ease-out);
}

.statement-sign {
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  transition: opacity 1.25s var(--ease-out) 0.2s, transform 1.25s var(--ease-out) 0.2s;
}

/* PC・通常画面高さでは適度な138vhスティッキーで、スクロールに合わせて鮮やかに点灯 */
@media (min-width: 781px) and (min-height: 640px) {
  .js-motion .statement {
    height: 138vh;
  }
  .js-motion .statement-stick {
    position: sticky;
    top: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-block: 104px 48px;
  }
  .js-motion .statement-stick > .wrap {
    width: min(calc(100% - var(--gutter) * 2), var(--wrap));
  }
}

.js-motion .statement .w {
  opacity: 0.22;
  transform: translate3d(0, 4px, 0);
}

.js-motion .statement .w.on {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.js-motion .statement .statement-name,
.js-motion .statement .statement-sign {
  opacity: 0;
  transform: translate3d(0, 8px, 0);
}

.js-motion .statement.done .statement-name,
.js-motion .statement.done .statement-sign {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* =========================================
   Common Sections & Typography
   ========================================= */
.block {
  padding-block: clamp(64px, 6.2vw, 104px);
}

.section-head,
.band-inner,
.foot-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

h2 {
  font-size: clamp(1.7rem, 2.75vw, 2.75rem);
  font-weight: 700;
  color: var(--navy-deep);
}

.section-head h2,
.contact-band h2 {
  margin-top: 0;
}

/* =========================================
   AIに聞く → AIに任せる（深度パララックス比較カード）
   ========================================= */
.agent {
  border-top: 1px solid var(--line);
}

.agent-head {
  max-width: 46em;
}

.agent-head p {
  margin-top: 20px;
  line-height: 2;
  color: #29475a;
  font-size: 1.02rem;
}

.agent-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 2.6vw, 32px);
  margin-top: clamp(32px, 4vw, 50px);
}

.agent-card {
  position: relative;
  overflow: hidden;
  padding: clamp(26px, 3vw, 40px);
  background: var(--surface-tint);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xs);
}

.agent-card.is-next {
  background:
    radial-gradient(92% 82% at calc(88% + var(--card-shift, 0px)) 8%, rgba(0, 151, 196, 0.36) 0%, rgba(0, 151, 196, 0) 64%),
    linear-gradient(155deg, #073358 0%, #0b4776 58%, #073154 100%);
  color: #ffffff;
  border-color: rgba(114, 213, 236, 0.36);
  box-shadow: 0 22px 46px -20px rgba(7, 54, 93, 0.45);
}

.agent-tag {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.06em;
  padding: 3px 10px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(15, 37, 56, 0.12);
}

.agent-card.is-next .agent-tag {
  color: #d6f2ff;
  background: rgba(114, 213, 236, 0.16);
  border-color: rgba(114, 213, 236, 0.32);
}

.agent-card h3 {
  font-size: clamp(1.25rem, 1.85vw, 1.65rem);
  margin: 18px 0 20px;
  color: var(--navy-deep);
}

.agent-card.is-next h3 {
  color: #ffffff;
}

.agent-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.agent-card li {
  position: relative;
  padding: 13px 0 13px 22px;
  border-top: 1px solid rgba(15, 37, 56, 0.1);
  color: #294557;
}

.agent-card li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 23px;
  width: 8px;
  height: 2px;
  border-radius: 2px;
  background: #7f9aab;
}

.agent-card.is-next li {
  border-top-color: rgba(255, 255, 255, 0.18);
  color: rgba(242, 250, 255, 0.96);
}

.agent-card.is-next li::before {
  top: 21px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan-soft);
}

/* 左ラインが上から下にスッと描かれる演出 */
.agent-note {
  position: relative;
  max-width: 48em;
  margin-top: clamp(38px, 4.8vw, 62px);
  padding-left: clamp(20px, 2.4vw, 30px);
}

.agent-note::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 3px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--cyan) 0%, var(--navy) 100%);
  transform-origin: top center;
  transition: transform 0.9s var(--ease-out) 0.15s;
}

.js-motion .agent-note:not(.is-in)::before {
  transform: scaleY(0);
}

.agent-note h3 {
  color: var(--navy-deep);
  font-size: clamp(1.3rem, 1.95vw, 1.75rem);
}

.agent-note p {
  margin-top: 16px;
  line-height: 2;
  color: #29475a;
}

/* =========================================
   人を育てる（Grow Section：ステップが順に滑り込む）
   ========================================= */
.grow {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: clamp(32px, 6.5vw, 100px);
  align-items: start;
  border-top: 1px solid var(--line);
}

@media (min-width: 781px) and (min-height: 680px) {
  .grow-lead {
    position: sticky;
    top: 126px;
  }
}

.grow-lead p {
  margin-top: 20px;
  line-height: 2;
  color: #29475a;
}

.grow-lead .text-button {
  margin-top: 24px;
}

.grow-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

.grow-steps li {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 24px 24px 24px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xs);
}

.grow-steps .group-no {
  flex: none;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #eaf6fc 0%, #dceef8 100%);
  border: 1px solid rgba(0, 97, 173, 0.2);
  color: var(--navy);
  font-size: 1.02rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  transition: transform 0.65s var(--ease-spring) var(--d, 0s);
}

.js-motion .grow-steps li:not(.is-in) .group-no {
  transform: scale(0.72);
}

.grow-steps h3 {
  color: var(--navy-deep);
  font-size: 1.15rem;
  margin: 2px 0 6px;
}

.grow-steps p {
  color: var(--muted);
  font-size: 0.96rem;
}

/* =========================================
   できること（Home Services 3-Col Subgrid）
   ========================================= */
.home-services {
  border-top: 1px solid var(--line);
}

.svc-groups {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
  margin-top: clamp(28px, 3vw, 42px);
}

.svc-group {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 2vw, 28px) clamp(18px, 1.8vw, 24px) clamp(18px, 1.8vw, 24px);
  box-shadow: var(--shadow-xs);
}

/* カード内上部に角丸と干渉しない短いアクセントバー（出現時に左から描かれる） */
.svc-group::before {
  content: "";
  position: absolute;
  left: clamp(18px, 1.8vw, 24px);
  top: 0;
  width: 44px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: linear-gradient(90deg, var(--navy) 0%, var(--cyan) 100%);
  transform-origin: left center;
  transition: transform 0.75s var(--ease-out) calc(var(--d, 0s) + 0.16s);
}

.js-motion .svc-group:not(.is-in)::before {
  transform: scaleX(0);
}

.group-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--pale);
  border: 1px solid rgba(0, 97, 173, 0.14);
  color: var(--navy);
  font-size: 1.05rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.svc-group h3 {
  color: var(--navy-deep);
  font-size: clamp(1.16rem, 1.48vw, 1.36rem);
  margin: 18px 0 10px;
}

.svc-group p {
  color: var(--muted);
  font-size: clamp(0.93rem, 0.98vw, 0.96rem);
  line-height: 1.8;
}

.svc-group ul {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  border-top: 1px solid var(--line);
}

.svc-group li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 10px;
  margin-inline: -10px;
  border-bottom: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font-weight: 700;
  font-size: 0.96rem;
  text-decoration: none;
  transition: background 0.22s var(--ease-std), color 0.22s var(--ease-std), padding-left 0.26s var(--ease-out);
}

.svc-group li:last-child a {
  border-bottom-color: transparent;
}

.svc-group li a::after {
  content: "→";
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--surface-tint);
  color: var(--blue);
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  transition: transform 0.26s var(--ease-out), background 0.22s var(--ease-std), color 0.22s var(--ease-std);
}

.svc-group li a:hover {
  background: var(--surface-tint);
  color: var(--blue);
  padding-left: 14px;
  text-decoration: none;
}

.svc-group li a:hover::after {
  background: var(--blue);
  color: #ffffff;
  transform: translateX(3px);
}

/* 3列の見出し・説明・リンクの高さをそろえる */
@media (min-width: 781px) {
  .svc-groups {
    grid-template-rows: repeat(4, auto);
    row-gap: 0;
  }
  .svc-group {
    display: grid;
    grid-row: span 4;
    grid-template-rows: subgrid;
    row-gap: 0;
    align-content: start;
  }
  .svc-group ul {
    align-self: start;
  }
}

/* =========================================
   Contact Band（背景光彩がスクロールに応じて漂う）
   ========================================= */
.contact-band {
  position: relative;
  overflow: hidden;
  padding: clamp(54px, 5.5vw, 76px) 0;
  background: linear-gradient(135deg, #062a49 0%, #0b3c64 55%, #073357 100%);
  color: #ffffff;
}

.contact-band::before {
  content: "";
  position: absolute;
  inset: -40px;
  background:
    radial-gradient(50% 120% at calc(86% + var(--band-shift, 0px)) 18%, rgba(0, 151, 196, 0.36) 0%, rgba(0, 151, 196, 0) 68%),
    radial-gradient(38% 95% at calc(10% - var(--band-shift, 0px)) 92%, rgba(0, 97, 173, 0.34) 0%, rgba(0, 97, 173, 0) 70%);
  pointer-events: none;
}

.contact-band::after {
  content: "";
  position: absolute;
  inset: 0;
  border-top: 1px solid rgba(114, 213, 236, 0.24);
  pointer-events: none;
}

.contact-band .band-inner {
  position: relative;
  z-index: 1;
}

.contact-band h2 {
  color: #ffffff;
}

.contact-band p {
  margin-top: 10px;
  color: rgba(240, 248, 253, 0.94);
  font-size: 1.02rem;
}

.button.white {
  color: var(--navy-deep);
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 28px -12px rgba(0, 0, 0, 0.36);
}

.button.white:hover {
  background: #edf7fc;
  border-color: #ffffff;
  color: var(--navy-deep);
  transform: translateY(-2px);
  box-shadow: 0 16px 34px -12px rgba(0, 0, 0, 0.44);
}

/* =========================================
   Footer
   ========================================= */
.footer {
  padding: 56px 0 26px;
  background: var(--surface-tint);
  border-top: 1px solid var(--line);
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  gap: 32px;
}

.footer .identity .symbol {
  width: 32px;
}

.footer .identity .wordmark {
  width: 142px;
}

.foot-grid p,
.foot-grid small {
  font-size: 0.875rem;
  color: var(--muted);
}

.foot-grid p {
  margin-top: 14px;
  line-height: 1.8;
}

.foot-grid a {
  color: var(--navy);
}

.foot-grid > div:nth-child(2) {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 4px;
}

.foot-grid > div:nth-child(2) strong {
  font-size: 0.86rem;
  color: var(--muted);
  letter-spacing: 0.05em;
  margin-bottom: 2px;
}

.foot-phone {
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: 0.05em;
  font-variant-numeric: tabular-nums;
  text-decoration: none;
}

.foot-phone:hover {
  color: var(--blue);
}

.foot-grid > div:nth-child(2) > a:last-child {
  font-size: 0.9rem;
  margin-top: 4px;
}

.foot-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px 18px;
  font-size: 0.92rem;
  align-content: start;
}

.foot-nav a {
  text-decoration: none;
  color: var(--ink);
}

.foot-nav a:hover {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.foot-nav .personal-service-link {
  grid-column: 1 / -1;
  justify-self: start;
  border-left: 0;
  padding-left: 0;
  margin-top: 8px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  font-size: 0.84rem;
}

.foot-bottom {
  border-top: 1px solid var(--line);
  margin-top: 40px;
  padding-top: 18px;
  color: var(--muted);
}

.foot-bottom div {
  display: flex;
  gap: 22px;
}

.foot-bottom a {
  font-size: 0.85rem;
  color: var(--muted);
  text-decoration: none;
}

.foot-bottom a:hover {
  color: var(--navy);
  text-decoration: underline;
}

/* =========================================
   Subpages (Intro, Article, Index, Steps, Tables, FAQ, Form)
   ========================================= */
.page-intro {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(48% 120% at 88% 15%, rgba(0, 151, 196, 0.1) 0%, rgba(0, 151, 196, 0) 70%),
    linear-gradient(180deg, #f1f7fb 0%, #f7fbfd 100%);
  border-bottom: 1px solid var(--line);
  padding: 22px 0 46px;
}

.crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  color: var(--muted);
  margin-bottom: 28px;
}

.crumb a {
  color: var(--muted);
  text-decoration: none;
}

.crumb a:hover {
  color: var(--blue);
  text-decoration: underline;
}

.page-intro h1 {
  margin-top: 10px;
  color: var(--navy-deep);
  font-size: clamp(2rem, 3.4vw, 3.4rem);
  font-weight: 700;
}

.article {
  max-width: 960px;
  padding-block: 44px 76px;
  line-height: 1.95;
  overflow-wrap: anywhere;
}

.article .lead {
  color: #1b425a;
  font-size: clamp(1.1rem, 1.45vw, 1.32rem);
  margin: 0 0 34px;
  font-weight: 500;
  line-height: 1.85;
}

.article h2 {
  font-size: clamp(1.38rem, 2vw, 1.85rem);
  margin: 38px 0 16px;
  color: var(--navy-deep);
}

.article h3 {
  font-size: 1.15rem;
  margin: 22px 0 8px;
  color: var(--navy);
}

.article p + p,
.article div + p,
.article ul + p {
  margin-top: 14px;
}

.article p + .button,
.article p > .button {
  margin-block: 10px;
}

.article section + section {
  border-top: 1px solid var(--line);
  margin-top: 40px;
  padding-top: 4px;
}

.article .cta-line {
  margin-top: 38px;
}

.article .back-link {
  margin-top: 12px;
}

.article a[href^="tel:"]:has(> strong) {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  margin: 4px 0 8px;
  border: 1.5px solid rgba(7, 54, 93, 0.28);
  border-radius: var(--radius-sm);
  background: var(--surface-tint);
  color: var(--navy-deep);
  font-size: 1.25rem;
  letter-spacing: 0.05em;
  font-variant-numeric: tabular-nums;
  text-decoration: none;
  transition: background 0.22s var(--ease-std), border-color 0.22s var(--ease-std), transform 0.24s var(--ease-out);
}

.article a[href^="tel:"]:has(> strong):hover {
  background: var(--pale);
  border-color: var(--blue);
  color: var(--blue);
  transform: translateY(-1px);
  text-decoration: none;
}

.article .section-nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding: 16px 0;
  border-block: 1px solid var(--line);
  margin-bottom: 28px;
}

.article .section-nav a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--navy);
  text-decoration: none;
  padding: 8px 15px;
  border-radius: var(--radius-sm);
  background: var(--surface-tint);
  border: 1px solid rgba(7, 54, 93, 0.2);
  transition: background 0.22s var(--ease-std), border-color 0.22s var(--ease-std), color 0.22s var(--ease-std), transform 0.22s var(--ease-out);
}

.article .section-nav a::after {
  content: "↓";
  font-size: 0.85em;
  color: var(--blue);
  transition: transform 0.22s var(--ease-out), color 0.22s var(--ease-std);
}

.article .section-nav a:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: #ffffff;
  transform: translateY(-1px);
  text-decoration: none;
}

.article .section-nav a:hover::after {
  color: #ffffff;
  transform: translateY(2px);
}

.svc-index {
  display: grid;
  gap: 12px;
  margin: 14px 0 12px;
}

.svc-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr) auto;
  gap: 8px 28px;
  align-items: center;
  padding: 22px 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  color: var(--ink);
  text-decoration: none;
  box-shadow: var(--shadow-xs);
  transition: transform 0.28s var(--ease-out), box-shadow 0.28s var(--ease-out), border-color 0.24s var(--ease-std), background 0.24s var(--ease-std);
}

.svc-item::after {
  content: "→";
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--surface-tint);
  color: var(--blue);
  font-weight: 700;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.26s var(--ease-out), background 0.22s var(--ease-std), color 0.22s var(--ease-std);
}

.svc-item strong {
  color: var(--navy-deep);
  font-size: 1.06rem;
  transition: color 0.22s var(--ease-std);
}

.svc-item span {
  color: var(--muted);
  font-size: 0.95rem;
}

.svc-item:hover {
  background: var(--surface-tint);
  border-color: rgba(0, 97, 173, 0.3);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
}

.svc-item:hover strong {
  color: var(--blue);
}

.svc-item:hover::after {
  background: var(--blue);
  color: #ffffff;
  transform: translateX(3px);
}

.steps {
  list-style: none;
  counter-reset: step;
  padding: 0;
  margin: 24px 0 32px;
  display: grid;
  gap: 16px;
}

.steps li {
  counter-increment: step;
  position: relative;
  padding: 24px 26px 24px 78px;
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xs);
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 22px;
  top: 24px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #eaf6fc 0%, #dceef8 100%);
  border: 1px solid rgba(0, 97, 173, 0.2);
  color: var(--navy);
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-variant-numeric: tabular-nums;
  transition: transform 0.65s var(--ease-spring) var(--d, 0s);
}

.js-motion .steps li:not(.is-in)::before {
  transform: scale(0.72);
}

.steps li h2 {
  margin: 2px 0 8px;
  font-size: 1.24rem;
}

.steps li p {
  color: var(--muted);
}

.article ul {
  padding-left: 1.4rem;
}

.article .link-list {
  display: grid;
  gap: 8px;
}

.link-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--navy);
  font-weight: 600;
  background: var(--surface);
  transition: background 0.22s var(--ease-std), border-color 0.22s var(--ease-std), transform 0.24s var(--ease-out);
}

.link-list a::after {
  content: "→";
  color: var(--blue);
  transition: transform 0.24s var(--ease-out);
}

.link-list a:hover {
  background: var(--surface-tint);
  border-color: rgba(0, 97, 173, 0.28);
  transform: translateX(3px);
}

.link-list a:hover::after {
  transform: translateX(4px);
}

.table-wrap {
  overflow-x: auto;
  margin: 22px 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background:
    linear-gradient(90deg, #ffffff 30%, rgba(255, 255, 255, 0)) left center / 28px 100% no-repeat local,
    linear-gradient(90deg, rgba(255, 255, 255, 0), #ffffff 70%) right center / 28px 100% no-repeat local,
    radial-gradient(farthest-side at 0 50%, rgba(7, 54, 93, 0.16), rgba(7, 54, 93, 0)) left center / 14px 100% no-repeat scroll,
    radial-gradient(farthest-side at 100% 50%, rgba(7, 54, 93, 0.16), rgba(7, 54, 93, 0)) right center / 14px 100% no-repeat scroll,
    var(--surface);
  box-shadow: var(--shadow-xs);
}

.table-wrap table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.table-wrap td,
.table-wrap th {
  border-bottom: 1px solid var(--line);
  padding: 14px 18px;
  text-align: left;
  vertical-align: top;
}

.table-wrap tr:last-child td,
.table-wrap tr:last-child th {
  border-bottom: 0;
}

.table-wrap th {
  color: var(--navy);
  background: rgba(245, 249, 252, 0.92);
  font-weight: 700;
}

.table-wrap thead th {
  background: linear-gradient(180deg, #edf5fa 0%, #e7f2f8 100%);
  border-bottom: 1px solid rgba(7, 54, 93, 0.14);
}

.table-wrap tbody tr {
  transition: background 0.2s var(--ease-std);
}

.table-wrap tbody tr:hover {
  background: rgba(237, 245, 250, 0.45);
}

.article details {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  padding: 0 20px;
  margin-bottom: 12px;
  box-shadow: var(--shadow-xs);
  transition: border-color 0.24s var(--ease-std), box-shadow 0.24s var(--ease-std);
}

.article details[open] {
  border-color: rgba(0, 97, 173, 0.3);
  box-shadow: var(--shadow-sm);
}

summary {
  list-style: none;
  padding: 18px 42px 18px 0;
  position: relative;
  font-weight: 700;
  color: var(--navy-deep);
  transition: color 0.2s var(--ease-std);
}

summary:hover {
  color: var(--blue);
}

summary::-webkit-details-marker {
  display: none;
}

summary::before,
summary::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 50%;
  width: 14px;
  height: 2px;
  border-radius: 2px;
  background: var(--blue);
  transition: transform 0.28s var(--ease-out), opacity 0.22s var(--ease-std);
}

summary::before {
  transform: translateY(-50%);
}

summary::after {
  transform: translateY(-50%) rotate(90deg);
}

details[open] > summary::after {
  transform: translateY(-50%) rotate(0deg);
  opacity: 0;
}

details p {
  padding: 0 0 18px;
  color: var(--muted);
}

details p + p {
  padding-top: 0;
  margin-top: 0;
}

.article form {
  max-width: 720px;
  background: var(--surface-tint);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 3.2vw, 40px);
  margin-top: 22px;
  box-shadow: var(--shadow-xs);
}

.article form label {
  display: inline-block;
  margin-bottom: 6px;
  font-weight: 700;
  color: var(--navy-deep);
}

.article form .req {
  margin-left: 8px;
  color: #a61e17;
  background: rgba(166, 30, 23, 0.08);
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 700;
}

.article input,
.article textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid rgba(15, 37, 56, 0.24);
  border-radius: var(--radius-sm);
  background: #ffffff;
  color: var(--ink);
  transition: border-color 0.2s var(--ease-std), box-shadow 0.2s var(--ease-std);
}

.article input:focus,
.article textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0, 151, 196, 0.16);
}

.article textarea {
  resize: vertical;
}

.article form p {
  margin: 0 0 16px;
}

.article form .hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.article form .form-note {
  color: var(--muted);
  font-size: 0.9rem;
}

.article form .agree label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  margin: 0;
  min-height: 44px;
  padding-block: 6px;
  cursor: pointer;
}

.article form .agree input {
  width: 22px;
  height: 22px;
  flex: none;
  margin: 0;
  accent-color: var(--navy);
}

.article form .button {
  margin-top: 8px;
  min-width: 210px;
}

.article form .button:disabled {
  opacity: 0.6;
  cursor: wait;
}

.form-status {
  margin-top: 12px !important;
}

.form-status.is-error {
  color: #a61e17;
  font-weight: 700;
}

.form-done {
  max-width: 720px;
  background: #eef8f2;
  border: 1px solid rgba(31, 92, 56, 0.22);
  border-radius: var(--radius-md);
  padding: clamp(20px, 3vw, 34px);
  margin-top: 20px;
}

.form-done h3 {
  margin: 0 0 8px;
  color: #1f5c38;
}

/* =========================================
   Scroll Choreography（かっこいい動きの設計）
   ========================================= */
@keyframes heroRise {
  from {
    opacity: 0;
    transform: translate3d(0, 26px, 0);
    filter: blur(4px);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    filter: blur(0);
  }
}

.js-motion .hero-copy > * {
  animation: heroRise 0.85s var(--ease-out) both;
}

.js-motion .hero-copy > *:nth-child(2) {
  animation-delay: 0.1s;
}

.js-motion .hero-copy > *:nth-child(3) {
  animation-delay: 0.2s;
}

.js-motion .hero-copy > *:nth-child(4) {
  animation-delay: 0.3s;
}

.js-motion .facts-inner > div {
  animation: heroRise 0.72s var(--ease-out) both;
}

.js-motion .facts-inner > div:nth-child(1) {
  animation-delay: 0.22s;
}

.js-motion .facts-inner > div:nth-child(2) {
  animation-delay: 0.32s;
}

.js-motion .facts-inner > div:nth-child(3) {
  animation-delay: 0.42s;
}

.js-motion .page-intro h1 {
  animation: heroRise 0.72s var(--ease-out) both;
}

/* 基本スクロール出現：よりゆったりと優しく満ちてくる減速＋微細なピント合わせ */
.js-motion .reveal {
  opacity: 0;
  transform: translate3d(0, 16px, 0);
  filter: blur(1.5px);
  transition:
    opacity 1.45s var(--ease-out) var(--d, 0s),
    transform 1.45s var(--ease-out) var(--d, 0s),
    filter 1.45s var(--ease-out) var(--d, 0s);
}

.js-motion .reveal.is-in {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  filter: blur(0);
}

/* AI比較カード：左・右から静かに収まり、スクロール深度差はゆったり滑らかなクッションで追従 */
.js-motion .agent-card.reveal {
  transform: translate3d(-12px, 14px, 0) scale(0.985);
}

.js-motion .agent-card.is-next.reveal {
  transform: translate3d(12px, 18px, 0) scale(0.98);
}

.js-motion .agent-card.reveal.is-in {
  transform: translate3d(0, 0, 0) scale(1);
  translate: var(--card-x, 0px) var(--card-y, 0px);
  transition:
    opacity 1.45s var(--ease-out) var(--d, 0s),
    transform 1.45s var(--ease-out) var(--d, 0s),
    filter 1.45s var(--ease-out) var(--d, 0s);
}

.js-motion .agent-card.is-next.reveal.is-in {
  transform: translate3d(0, 0, 0) scale(1);
  translate: var(--card-next-x, 0px) var(--card-next-y, 0px);
  transition:
    opacity 1.45s var(--ease-out) var(--d, 0s),
    transform 1.45s var(--ease-out) var(--d, 0s),
    filter 1.45s var(--ease-out) var(--d, 0s);
}

/* 伴走ステップ＆進め方ステップ：右からより穏やかにスライド着地 */
.js-motion .grow-steps li.reveal,
.js-motion .steps li.reveal {
  transform: translate3d(14px, 8px, 0);
}

.js-motion .grow-steps li.reveal.is-in,
.js-motion .steps li.reveal.is-in {
  transform: translate3d(0, 0, 0);
}

/* できること3カード：波のようにふわりと優雅に立ち上がる */
.js-motion .svc-group.reveal {
  transform: translate3d(0, 16px, 0) scale(0.988);
}

.js-motion .svc-group.reveal.is-in {
  transform: translate3d(0, 0, 0) scale(1);
}

/* 相談バナー：より穏やかなスケール着地 */
.js-motion .contact-band .reveal {
  transform: translate3d(0, 14px, 0) scale(0.988);
}

.js-motion .contact-band .reveal.is-in {
  transform: translate3d(0, 0, 0) scale(1);
}

/* =========================================
   Responsive Breakpoints
   ========================================= */
@media (max-width: 1180px) {
  .head-main nav {
    gap: 16px;
  }
  .identity .symbol {
    width: 36px;
  }
  .identity .wordmark {
    width: 148px;
  }
  .personal-service-link {
    padding-left: 10px;
    font-size: 0.78rem;
  }
}

/* 1060px以下でモバイルメニューへ切替 */
@media (max-width: 1060px) {
  html {
    scroll-padding-top: 112px;
  }
  .head-main {
    position: relative;
    min-height: 66px;
  }
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--surface);
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-sm);
    padding: 8px 14px;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--navy);
    min-height: 44px;
    transition: background 0.2s var(--ease-std), border-color 0.2s var(--ease-std);
  }
  .menu-toggle:hover {
    background: var(--surface-tint);
    border-color: var(--blue);
  }
  .menu-toggle i,
  .menu-toggle i::after {
    display: block;
    width: 16px;
    height: 2px;
    border-radius: 2px;
    background: var(--navy);
    transition: transform 0.26s var(--ease-out);
  }
  .menu-toggle i {
    position: relative;
    margin-bottom: 6px;
  }
  .menu-toggle i::after {
    content: "";
    position: absolute;
    top: 6px;
  }
  .menu-toggle[aria-expanded="true"] i {
    transform: translateY(3px) rotate(45deg);
    margin-bottom: 0;
  }
  .menu-toggle[aria-expanded="true"] i::after {
    top: 0;
    transform: rotate(-90deg);
  }
  .head-main nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    background: #ffffff;
    position: absolute;
    left: calc(-1 * var(--gutter));
    right: calc(-1 * var(--gutter));
    top: 100%;
    padding: 14px var(--gutter) 22px;
    gap: 2px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 38px -12px rgba(7, 54, 93, 0.24);
    max-height: calc(100dvh - 112px);
    overflow-y: auto;
  }
  .js .head-main nav:not(.open) {
    display: none;
  }
  .head-main nav a:not(.nav-cta):not(.personal-service-link) {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 4px;
    font-size: 1rem;
    border-bottom: 1px solid rgba(15, 37, 56, 0.08);
  }
  .head-main nav a:not(.nav-cta):not(.personal-service-link)::after {
    content: "›";
    position: static;
    width: auto;
    height: auto;
    background: none;
    color: var(--muted);
    font-size: 1.2rem;
    line-height: 1;
    transform: none;
  }
  .head-main nav .nav-cta {
    margin-top: 14px;
    min-height: 48px;
  }
  .head-main nav .personal-service-link {
    border-left: 0;
    padding: 14px 4px 2px;
    margin-top: 10px;
    border-top: 1px solid var(--line);
    text-align: center;
    font-size: 0.84rem;
    white-space: normal;
  }

  .hero-copy {
    max-width: 72%;
  }
  .hero-art {
    background-position: 54% center;
  }
  .facts-inner {
    gap: 14px;
  }
  .foot-grid {
    grid-template-columns: 1fr 1fr;
  }
  .foot-nav {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
  }
  .foot-nav .personal-service-link {
    width: 100%;
  }
}

@media (max-width: 780px) {
  .hero h1 {
    font-size: clamp(2.3rem, 6vw, 3.1rem);
  }
  .hero-copy {
    max-width: 78%;
  }
  .hero-art {
    background-position: 48% center;
  }
  .facts-inner {
    grid-template-columns: 1fr 1.45fr 0.85fr;
  }
  .facts-inner > div {
    flex-direction: column;
    gap: 2px;
  }
  .facts strong {
    font-size: 0.96rem;
  }

  /* 1列時は横からのスライドを縦スライドへ抑え、横溢れゼロを保証 */
  .js-motion .agent-card.reveal,
  .js-motion .agent-card.is-next.reveal,
  .js-motion .grow-steps li.reveal,
  .js-motion .steps li.reveal {
    transform: translate3d(0, 24px, 0) scale(0.98);
  }

  .agent-compare,
  .grow,
  .svc-groups {
    grid-template-columns: 1fr;
  }
  .grow {
    gap: 28px;
  }
  .svc-groups {
    gap: 20px;
  }
  .svc-group h3 {
    margin-top: 14px;
  }
  .svc-item {
    grid-template-columns: 1fr auto;
    gap: 4px 16px;
    padding: 18px;
  }
  .svc-item span {
    grid-column: 1;
  }
  .svc-item::after {
    grid-row: 1 / 3;
    grid-column: 2;
  }
}

@media (max-width: 600px) {
  :root {
    --gutter: 20px;
  }

  html {
    scroll-padding-top: 126px;
  }

  .utility {
    font-size: 0.78rem;
  }
  .utility > .wrap {
    justify-content: center;
    flex-wrap: wrap;
    gap: 2px 10px;
    min-height: 36px;
    padding-block: 5px;
    text-align: center;
  }
  .utility a {
    font-size: 0.88rem;
    min-height: 32px;
    letter-spacing: 0.02em;
  }
  .utility span {
    border-left: 0;
    padding-left: 0;
  }

  .head-main {
    min-height: 60px;
  }
  .identity .wordmark {
    width: 132px;
  }
  .identity .symbol {
    width: 31px;
  }

  .svc-group .nw,
  .statement-name .nw,
  .hero-lead .nw,
  .article .nw {
    display: inline;
  }

  .hero-wrap {
    align-items: flex-start;
    min-height: auto;
    padding: 34px 0 46px;
  }
  .hero-copy {
    max-width: 100%;
  }
  .hero-art {
    inset: 0;
    background-size: auto 92%;
    background-position: calc(50% + 78px) bottom;
    background-repeat: no-repeat;
    opacity: 0.62;
  }
  .hero::before {
    background: linear-gradient(100deg, rgba(251, 253, 255, 0.97) 0%, rgba(249, 252, 255, 0.92) 58%, rgba(246, 251, 254, 0.62) 100%);
  }
  .hero-label {
    font-size: 0.84rem;
  }
  .hero h1 {
    font-size: clamp(1.92rem, 8.2vw, 2.7rem);
    line-height: 1.38;
    margin: 14px 0 16px;
  }
  .hero-lead {
    font-size: 0.96rem;
    line-height: 1.88;
    letter-spacing: 0.01em;
  }
  .hero-actions {
    gap: 14px 18px;
    margin-top: 22px;
  }
  .hero-actions .button {
    padding: 10px 18px;
    min-height: 48px;
    font-size: 0.92rem;
  }
  .text-button {
    font-size: 0.92rem;
  }

  .facts-inner {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 12px 0;
  }
  .facts-inner > div,
  .facts-inner > div + div {
    display: grid;
    grid-template-columns: 94px auto 1fr;
    align-items: center;
    gap: 8px;
    border-left: 0;
    padding: 6px 0;
  }
  .facts small {
    font-size: 0.82rem;
  }
  .facts strong {
    font-size: 0.94rem;
  }
  .facts span {
    font-size: 0.82rem;
  }

  .statement-stick {
    padding-block: 56px;
  }
  .statement-text {
    font-size: clamp(1.3rem, 6vw, 1.65rem);
  }
  .statement-stick > .wrap {
    padding-left: 16px;
  }

  .block {
    padding-block: 48px;
  }
  .section-head {
    align-items: flex-end;
    gap: 12px;
  }
  .section-head .text-button {
    flex-shrink: 0;
  }
  .agent-card {
    padding: 24px 20px;
  }
  .grow-steps li {
    padding: 20px 18px 20px 16px;
    gap: 14px;
  }
  .band-inner,
  .foot-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
  .foot-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .foot-bottom {
    gap: 8px;
  }
  .foot-bottom div {
    flex-wrap: wrap;
  }

  .page-intro {
    padding: 14px 0 32px;
  }
  .crumb {
    margin-bottom: 20px;
  }
  .article {
    padding-block: 30px 52px;
  }
  .steps li {
    padding: 20px 18px 20px 64px;
  }
  .steps li::before {
    left: 16px;
    top: 20px;
    width: 34px;
    height: 34px;
    font-size: 0.94rem;
  }
  .table-wrap td,
  .table-wrap th {
    padding: 10px 11px;
    font-size: 0.9rem;
  }
  .table-wrap table:has(thead) {
    min-width: 520px;
  }
  .article details {
    padding: 0 16px;
  }
}

/* JS無効時のフォールバック */
@media (max-width: 1060px) {
  html:not(.js) .head-main {
    flex-wrap: wrap;
    padding-block: 10px;
  }
  html:not(.js) .head-main nav {
    position: static;
    box-shadow: none;
    padding: 8px 0 0;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px 14px;
    border: 0;
    background: transparent;
  }
  html:not(.js) .head-main nav a:not(.nav-cta):not(.personal-service-link) {
    border-bottom: 0;
    padding: 4px 0;
  }
  html:not(.js) .head-main nav a:not(.nav-cta):not(.personal-service-link)::after {
    display: none;
  }
  html:not(.js) .head-main nav .nav-cta {
    margin-top: 0;
    min-height: 40px;
  }
  html:not(.js) .menu-toggle {
    display: none;
  }
  html:not(.js) .site-head {
    position: static;
  }
}

/* =========================================
   Evo · Smile · Sync Motion System
   （ヘッダー同期バー・縦スクロール連動横スクロール・伴走ライン）
   ========================================= */
.sync-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: rgba(7, 54, 93, 0.05);
  pointer-events: none;
  overflow: hidden;
}

.sync-progress-bar {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--cyan) 0%, var(--blue) 55%, var(--navy) 100%);
  transform-origin: left center;
  transform: scaleX(0);
  will-change: transform;
}

/* 伴走セクション：PC幅で左リード文がそっと寄り添い、ステップ縦ラインが伸びる */
@media (min-width: 900px) {
  .grow {
    align-items: start;
  }
  .grow-lead {
    position: sticky;
    top: 132px;
  }
  .grow-steps {
    position: relative;
    padding-left: 26px;
  }
  .grow-steps::before,
  .grow-steps::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 24px;
    bottom: 24px;
    width: 2px;
    border-radius: 99px;
  }
  .grow-steps::before {
    background: rgba(7, 54, 93, 0.1);
  }
  .grow-steps::after {
    background: linear-gradient(180deg, var(--cyan) 0%, var(--blue) 55%, var(--navy) 100%);
    transform-origin: top center;
    transform: scaleY(var(--grow-p, 0));
    will-change: transform;
  }
}

/* できること：縦スクロール連動・横スクロールギャラリー（PC幅 960px以上・高さ600px以上） */
.home-services:not(.is-hscroll-active) .hscroll-bg-word,
.home-services:not(.is-hscroll-active) .hscroll-meta {
  display: none;
}

.home-services.is-hscroll-active {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding: 0;
  height: var(--hscroll-h, 210vh);
  position: relative;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, var(--surface) 0%, var(--surface-tint) 48%, var(--surface) 100%);
}

.home-services.is-hscroll-active .hscroll-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding-top: 84px;
}

.home-services.is-hscroll-active .hscroll-bg-word {
  position: absolute;
  left: -14%;
  right: -14%;
  top: 50%;
  margin-top: -0.58em;
  font-size: clamp(4.6rem, 10vw, 8.8rem);
  font-weight: 800;
  letter-spacing: 0.16em;
  white-space: nowrap;
  color: rgba(7, 54, 93, 0.032);
  pointer-events: none;
  user-select: none;
  z-index: 0;
  will-change: transform;
}

.home-services.is-hscroll-active .hscroll-inner {
  position: relative;
  z-index: 1;
  width: min(calc(100% - var(--gutter) * 2), var(--wrap));
  margin-inline: auto;
}

.home-services.is-hscroll-active .hscroll-viewport {
  margin-top: clamp(22px, 2.6vw, 34px);
  overflow: visible;
}

.home-services.is-hscroll-active .svc-groups {
  display: flex;
  flex-wrap: nowrap;
  gap: clamp(22px, 2.6vw, 36px);
  margin-top: 0;
  width: max-content;
  will-change: transform;
}

.home-services.is-hscroll-active .svc-group {
  flex: 0 0 clamp(440px, 44vw, 560px);
  display: flex;
  flex-direction: column;
  padding: clamp(26px, 2.4vw, 34px) clamp(24px, 2.2vw, 30px) clamp(22px, 2vw, 28px);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
  transition: border-color 0.65s var(--ease-out), box-shadow 0.65s var(--ease-out), background 0.65s var(--ease-out);
}

.home-services.is-hscroll-active .svc-group::before {
  transform: scaleX(1) !important;
}

.home-services.is-hscroll-active .svc-group.is-focus {
  background: #ffffff;
  border-color: rgba(0, 151, 196, 0.36);
  box-shadow: 0 22px 48px -18px rgba(7, 54, 93, 0.18), 0 0 0 1px rgba(0, 151, 196, 0.12);
}

.home-services.is-hscroll-active .svc-group ul {
  align-self: stretch;
  width: 100%;
  margin-top: auto;
  padding-top: 18px;
}

.home-services.is-hscroll-active .hscroll-meta {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: clamp(22px, 2.6vw, 34px);
  color: var(--muted);
  font-size: 0.84rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.08em;
}

.home-services.is-hscroll-active .hscroll-counter b {
  color: var(--navy);
  font-weight: 700;
}

.home-services.is-hscroll-active .hscroll-track {
  flex: 1;
  max-width: 240px;
  height: 2px;
  background: rgba(7, 54, 93, 0.12);
  border-radius: 99px;
  overflow: hidden;
}

.home-services.is-hscroll-active .hscroll-bar {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--cyan) 0%, var(--blue) 60%, var(--navy) 100%);
  transform-origin: left center;
  transform: scaleX(0.08);
  will-change: transform;
}

.home-services.is-hscroll-active .hscroll-hint {
  font-size: 0.78rem;
  color: var(--blue);
  opacity: 0.78;
  letter-spacing: 0.06em;
}

/* 「動きを減らす」設定時も本サイトの穏やかな横スクロール・語句点灯は維持し、強いブラーのみ抑制 */
@media (prefers-reduced-motion: reduce) {
  .js-motion .reveal {
    filter: none !important;
  }
}

@keyframes fadeOnly {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* 印刷時：未到達要素の非表示・スティッキー・横スクロールを解除して全文を確実に印刷 */
@media print {
  .site-head {
    position: static;
    box-shadow: none;
  }
  .sync-progress,
  .hscroll-bg-word,
  .hscroll-meta,
  .hero-video {
    display: none !important;
  }
  .statement,
  .home-services.is-hscroll-active {
    height: auto !important;
  }
  .statement-stick,
  .home-services.is-hscroll-active .hscroll-sticky,
  .grow-lead {
    position: static !important;
    min-height: auto !important;
    height: auto !important;
    overflow: visible !important;
  }
  .home-services.is-hscroll-active .svc-groups {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    width: auto !important;
    transform: none !important;
  }
  .reveal,
  .hero-copy,
  .statement .w,
  .statement-name,
  .statement-sign {
    opacity: 1 !important;
    transform: none !important;
    translate: none !important;
    filter: none !important;
  }
  .statement-stick > .wrap::after,
  .agent-note::before,
  .svc-group::before {
    transform: scale(1) !important;
  }
  .menu-toggle,
  .skip {
    display: none !important;
  }
}

/* フッター信頼バッジ（セキュリティ宣言＆公式QRコード） */
.foot-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.foot-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 16px 8px 10px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xs);
  transition: transform 0.24s var(--ease-out), box-shadow 0.24s var(--ease-out);
}
.foot-badge:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.foot-badge img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  display: block;
  border-radius: var(--radius-sm);
  background: #ffffff;
}
.foot-badge-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.foot-badge-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--navy-deep);
  letter-spacing: 0.02em;
}
.foot-badge-desc {
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.4;
}
@media (max-width: 640px) {
  .foot-badges {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .foot-badge {
    width: 100%;
  }
}
