:root {
  --paper: #f7f6f1;
  --paper2: #efeee8;
  --mist: #efeee8;
  --white: #fcfcfa;
  --ink: #1e2a52;
  --gunjo: #24439e;
  --gunjo-deep: #182f78;
  --gunjo-pale: #9db0e0;
  --kin: #b18a3c;
  --rule: rgba(30, 42, 82, 0.14);
  --rule-soft: rgba(30, 42, 82, 0.08);
  --gray: #6b7186;
  --line: rgba(30, 42, 82, 0.14);
  --serif: 'Shippori Mincho B1', serif;
  --sans: 'Zen Kaku Gothic New', sans-serif;
  --en: 'Outfit', sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--sans);
  color: var(--ink);
  line-height: 2;
  font-size: 15px;
  overflow-x: hidden;
  position: relative;
  counter-reset: sec;
  background: var(--paper);
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
ul,
ol {
  list-style: none;
}
::selection {
  background: var(--gunjo);
  color: #fff;
}
section {
  position: relative;
  padding: clamp(96px, 11vw, 170px) clamp(24px, 6vw, 96px);
}
.wrap {
  max-width: 1120px;
  margin: 0 auto;
  position: relative;
  z-index: 3;
}

#threadRail {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  pointer-events: none;
}
@media (max-width: 1240px) {
  #threadRail {
    display: none;
  }
}

/* ---------- Loader ---------- */
#loader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 26px;
  pointer-events: none;
  transition:
    opacity 0.7s var(--ease) 0.35s,
    visibility 0s 1.2s;
}
#loader .ld-line {
  width: min(220px, 50vw);
  height: 1px;
  background: var(--rule);
  position: relative;
  overflow: hidden;
}
#loader .ld-line::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  animation: ldraw 1.1s var(--ease) 0.15s forwards;
}
@keyframes ldraw {
  to {
    transform: scaleX(1);
  }
}
#loader .brand {
  font-family: var(--en);
  font-weight: 600;
  font-size: 21px;
  letter-spacing: 0.06em;
  color: var(--ink);
  opacity: 0;
  animation: fadeIn 0.8s var(--ease) 0.55s forwards;
}
#loader .brand em {
  font-style: normal;
  color: var(--kin);
}
@keyframes fadeIn {
  to {
    opacity: 1;
  }
}
body.loaded #loader {
  opacity: 0;
  visibility: hidden;
}

/* ---------- Header ---------- */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px clamp(24px, 4vw, 52px);
  background: rgba(247, 246, 241, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition:
    border-color 0.4s,
    padding 0.4s;
}
header.scrolled {
  border-bottom-color: var(--rule);
  padding-top: 15px;
  padding-bottom: 15px;
}
.logo {
  font-family: var(--en);
  font-weight: 600;
  font-size: 21px;
  letter-spacing: 0.06em;
  color: var(--ink);
}
.logo em {
  font-style: normal;
  color: var(--kin);
}
.logo small {
  display: block;
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: 0.24em;
  color: var(--gray);
  margin-top: 0;
}
nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.6vw, 36px);
}
nav a {
  font-family: var(--en);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  position: relative;
  color: var(--ink);
}
nav a:not(.cta-btn)::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 100%;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease);
}
nav a:not(.cta-btn):hover::after {
  transform: scaleX(1);
  transform-origin: left;
}
.cta-btn {
  background: var(--ink);
  color: #fff !important;
  padding: 12px 26px;
  border-radius: 2px;
  font-weight: 600;
  transition: background 0.3s;
}
.cta-btn:hover {
  background: var(--gunjo);
}

/* ---------- FV ---------- */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 140px;
  padding-bottom: 64px;
}
.hero-vertical {
  position: absolute;
  right: clamp(16px, 3vw, 48px);
  top: 52%;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0.55em;
  color: rgba(30, 42, 82, 0.4);
}
.fv-wrap {
  max-width: none;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(min(58vw, 620px), 0.62fr) minmax(220px, 0.8fr);
  gap: 1%;
  align-items: center;
  position: relative;
  z-index: 3;
}
@media (min-width: 961px) {
  .fv-copy {
    margin-left: 4vw;
  }
}
.fv-eb {
  font-family: var(--en);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.34em;
  color: rgba(30, 42, 82, 0.55);
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 34px;
}
.fv-eb::before {
  content: '';
  width: 40px;
  height: 1px;
  background: rgba(30, 42, 82, 0.35);
}
.fv-eb span {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--gray);
  font-weight: 500;
}
h1 {
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.42;
  letter-spacing: 0.02em;
}
h1 .q {
  display: block;
  font-size: clamp(15px, 1.9vw, 27px);
  font-weight: 600;
  color: rgba(30, 42, 82, 0.55);
  letter-spacing: 0.08em;
  margin-bottom: 16px;
  white-space: nowrap;
}
h1 .a {
  display: block;
  font-size: clamp(42px, 6vw, 96px);
  color: var(--ink);
  line-height: 1.26;
  white-space: nowrap;
}
h1 .mk {
  font-style: normal;
  position: relative;
  white-space: nowrap;
  color: var(--gunjo);
}
h1 .mk::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0.08em;
  width: 100%;
  height: 0.08em;
  background: var(--kin);
  opacity: 0.5;
  z-index: -1;
  transform: scaleX(0);
  transform-origin: left;
  animation: lineDraw 0.8s var(--ease) 2s forwards;
}
@keyframes lineDraw {
  to {
    transform: scaleX(1);
  }
}
.fv-lead {
  margin-top: 38px;
  max-width: 620px;
  font-size: clamp(13.5px, 1.15vw, 15px);
  color: #4a5270;
  line-height: 2.15;
}
.fv-actions {
  margin-top: 44px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.fv-eq {
  position: relative;
  min-width: 0;
  height: clamp(500px, 66vh, 800px);
  margin-right: calc(-1 * clamp(24px, 6vw, 96px));
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.eq-rows {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(20px, 3vw, 46px);
  z-index: 2;
}
.eq-row {
  display: flex;
  width: max-content;
  white-space: nowrap;
  animation: eqx var(--d, 50s) linear infinite;
  will-change: transform;
}
.eq-row span {
  padding-right: clamp(48px, 6vw, 110px);
  line-height: 1.2;
}
.eq-row sup {
  font-size: 0.55em;
  vertical-align: 0.6em;
}
.eq-row.r0 {
  --d: 40s;
  animation-direction: reverse;
  font-family: var(--en);
  font-weight: 500;
  font-size: clamp(11px, 1.1vw, 14px);
  color: rgba(30, 42, 82, 0.4);
  letter-spacing: 0.4em;
}
.eq-row.r1 {
  --d: 70s;
  animation-direction: reverse;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(34px, 4.4vw, 72px);
  color: rgba(30, 42, 82, 0.1);
  letter-spacing: 0.06em;
}
.eq-row.r2 {
  --d: 48s;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(34px, 4.4vw, 72px);
  color: var(--gunjo);
  letter-spacing: 0.06em;
}
.eq-row.r3 {
  --d: 34s;
  animation-direction: reverse;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(20px, 2.4vw, 36px);
  color: rgba(30, 42, 82, 0.22);
  letter-spacing: 0.08em;
}
.eq-row.r4 {
  --d: 58s;
  animation-direction: reverse;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(26px, 3.2vw, 50px);
  color: var(--kin);
  letter-spacing: 0.1em;
  opacity: 0.85;
}
.eq-row.r5 {
  --d: 44s;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(17px, 2vw, 28px);
  color: rgba(30, 42, 82, 0.28);
  letter-spacing: 0.1em;
}
.eq-row.r6 {
  --d: 28s;
  animation-direction: reverse;
  font-family: var(--en);
  font-weight: 400;
  font-size: clamp(12px, 1.3vw, 17px);
  color: rgba(30, 42, 82, 0.34);
  letter-spacing: 0.36em;
}
@keyframes eqx {
  to {
    transform: translateX(-50%);
  }
}
/* 特大の地層 */
.eq-giant {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  z-index: 1;
  overflow: visible;
}
.eq-giant span {
  display: inline-block;
  white-space: nowrap;
  font-family: var(--en);
  font-weight: 200;
  font-size: clamp(130px, 15vw, 260px);
  color: rgba(30, 42, 82, 0.05);
  letter-spacing: 0.02em;
  animation: eqg 120s linear infinite;
}
@keyframes eqg {
  to {
    transform: translateX(-33.333%);
  }
}
/* 縦の流れ(縦糸) — CSS縦書きの一本行 */
.eq-col {
  position: absolute;
  top: -8%;
  height: 116%;
  overflow: hidden;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  white-space: nowrap;
  z-index: 3;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent);
}
.eq-col .trk {
  display: inline-block;
  line-height: 1;
  animation: eqy var(--d, 70s) linear infinite;
  will-change: transform;
}
.eq-col.c1 {
  left: 9%;
  --d: 76s;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(15px, 1.7vw, 23px);
  color: rgba(30, 42, 82, 0.22);
  letter-spacing: 0.26em;
}
.eq-col.c2 {
  left: 52%;
  --d: 92s;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(13px, 1.4vw, 19px);
  color: rgba(177, 138, 60, 0.42);
  letter-spacing: 0.3em;
}
.eq-col.c2 .trk {
  animation-direction: reverse;
}
.eq-col.c3 {
  right: 5%;
  --d: 64s;
  font-family: var(--en);
  font-weight: 400;
  font-size: clamp(13px, 1.4vw, 19px);
  color: rgba(36, 67, 158, 0.28);
  letter-spacing: 0.3em;
}
@keyframes eqy {
  to {
    transform: translateY(-50%);
  }
}
.fv-ito {
  max-width: none;
  margin: clamp(52px, 7vw, 84px) auto 0;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 26px;
  position: relative;
  z-index: 3;
}
.fv-ito .ii,
.fv-ito .tt {
  font-family: var(--en);
  font-weight: 500;
  font-size: clamp(20px, 2.3vw, 30px);
  color: var(--ink);
  line-height: 1.1;
}
.fv-ito small {
  display: block;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--gray);
  margin-top: 8px;
}
.fv-ito .ln {
  flex: 1;
  position: relative;
  height: 1px;
  background: rgba(30, 42, 82, 0.3);
  transform: scaleX(0);
  transform-origin: left;
}
.fv-ito .ln::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--kin);
}
body.loaded .fv-ito .ln {
  animation: lnx 1.8s var(--ease) 2.3s forwards;
}
@keyframes lnx {
  to {
    transform: scaleX(1);
  }
}
.fv-ito .lnl {
  position: absolute;
  left: 50%;
  top: -30px;
  transform: translateX(-50%);
  font-size: 10.5px;
  letter-spacing: 0.24em;
  color: var(--gray);
  white-space: nowrap;
}
.fv-stats {
  max-width: none;
  margin: clamp(36px, 4.5vw, 56px) auto 0;
  width: 100%;
  display: flex;
  position: relative;
  z-index: 3;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.hstat {
  flex: 1;
  padding: 24px 30px;
  border-right: 1px solid var(--rule);
}
.hstat:first-child {
  padding-left: 0;
}
.hstat:last-child {
  border-right: none;
}
.hstat b {
  font-family: var(--en);
  font-weight: 500;
  font-size: clamp(26px, 2.8vw, 38px);
  display: block;
  line-height: 1.15;
  color: var(--ink);
}
.hstat b i {
  font-style: normal;
  font-size: 0.46em;
  color: var(--kin);
  margin-left: 3px;
}
.hstat b i.pre {
  color: var(--ink);
  margin-left: 0;
  margin-right: 6px;
}
.hstat span {
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--gray);
}
.fv-in {
  opacity: 0;
  transform: translateY(24px);
}
body.loaded .fv-in {
  animation: fadeRise 1s var(--ease) forwards;
}
body.loaded .d1 {
  animation-delay: 0.9s;
}
body.loaded .d2 {
  animation-delay: 1.05s;
}
body.loaded .d3 {
  animation-delay: 1.25s;
}
body.loaded .d4 {
  animation-delay: 1.5s;
}
body.loaded .d5 {
  animation-delay: 1.85s;
}
@keyframes fadeRise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.14em;
  padding: 18px 40px;
  border-radius: 2px;
  transition:
    background 0.35s,
    color 0.35s,
    border-color 0.35s,
    transform 0.35s var(--ease);
}
.btn .arw {
  transition: transform 0.35s var(--ease);
}
.btn:hover .arw {
  transform: translateX(6px);
}
.btn-gold {
  background: var(--ink);
  color: #fff;
}
.btn-gold .arw {
  color: var(--kin);
}
.btn-gold:hover {
  background: var(--gunjo);
}
.btn-blue {
  background: var(--ink);
  color: #fff;
}
.btn-blue .arw {
  color: var(--kin);
}
.btn-blue:hover {
  background: var(--gunjo);
}
.btn-ghost {
  border: 1px solid rgba(30, 42, 82, 0.35);
  color: var(--ink);
}
.btn-ghost:hover {
  border-color: var(--ink);
}
.btn-white {
  background: var(--paper);
  color: var(--ink);
}
.btn-white:hover {
  background: #fff;
}
.sec-btn {
  display: flex;
  justify-content: center;
  margin-top: 56px;
  gap: 14px;
  flex-wrap: wrap;
}

/* ---------- Marquee ---------- */
.marquee {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 22px 0;
  overflow: hidden;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: scrollX 44s linear infinite;
}
.marquee:hover .marquee-track {
  animation-play-state: paused;
}
.marquee-track span {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.22em;
  padding: 0 34px;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 34px;
  color: rgba(30, 42, 82, 0.75);
}
.marquee-track span.en {
  font-family: var(--en);
  font-weight: 500;
  color: rgba(30, 42, 82, 0.5);
}
.marquee-track span::after {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--rule);
}
@keyframes scrollX {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- 見出し ---------- */
.sec-head {
  margin-bottom: clamp(48px, 6vw, 76px);
  padding-top: 30px;
  border-top: 1px solid var(--rule);
}
.eyebrow {
  font-family: var(--en);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.32em;
  color: rgba(30, 42, 82, 0.55);
  display: flex;
  align-items: baseline;
  gap: 18px;
  margin-bottom: 22px;
}
.sec-head .eyebrow::before {
  counter-increment: sec;
  content: counter(sec, decimal-leading-zero);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--kin);
  font-weight: 500;
}
.sec-title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(26px, 4.2vw, 48px);
  line-height: 1.6;
  letter-spacing: 0.02em;
}
.sec-title .accent {
  color: var(--gunjo);
}
.sec-lead {
  margin-top: 22px;
  max-width: 640px;
  color: var(--gray);
  font-size: 14px;
  line-height: 2.15;
}

[data-reveal] {
  opacity: 0;
}
[data-reveal].shown {
  animation: revUp 0.9s var(--ease) forwards;
}
@keyframes revUp {
  from {
    opacity: 0;
    transform: translateY(36px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes revWipe {
  from {
    opacity: 1;
    clip-path: inset(0 100% 0 0);
  }
  to {
    opacity: 1;
    clip-path: inset(0 0 0 0);
  }
}
@keyframes revLeft {
  from {
    opacity: 0;
    transform: translateX(-36px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ---------- カード基礎 ---------- */
.svc-card,
.work-card,
.blog-card,
.ask-card,
.promise,
.pm-card,
.ts-card,
.scope-cell {
  background: var(--white);
  border: 1px solid var(--rule-soft);
  border-radius: 2px;
  transition:
    transform 0.4s var(--ease),
    box-shadow 0.4s,
    border-color 0.4s;
}
.svc-card:hover,
.work-card:hover,
.blog-card:hover,
.ask-card:hover,
.promise:hover,
.pm-card:hover,
.ts-card:hover {
  transform: translateY(-5px);
  border-color: var(--rule);
  box-shadow: 0 30px 60px rgba(30, 42, 82, 0.08);
}

/* ---------- 定義 ---------- */
.cmp-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background: var(--white);
  border: 1px solid var(--rule-soft);
}
.cmp-scroll-hint {
  display: none;
}
.cmp-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  min-width: 760px;
}
.cmp-table th,
.cmp-table td {
  padding: 18px 18px;
  font-size: 13px;
  text-align: center;
  border-bottom: 1px solid var(--rule-soft);
  line-height: 1.8;
}
.cmp-table tbody tr:last-child th,
.cmp-table tbody tr:last-child td {
  border-bottom: none;
}
.cmp-table thead th {
  font-weight: 600;
  font-size: 13px;
  padding: 22px 18px;
  color: var(--gray);
  letter-spacing: 0.06em;
}
.cmp-table tbody th {
  text-align: left;
  font-weight: 700;
  color: var(--ink);
  font-size: 12.5px;
  width: 16%;
  letter-spacing: 0.08em;
}
.cmp-table td {
  color: var(--gray);
}
.cmp-table .col-ito {
  background: rgba(36, 67, 158, 0.04);
  color: var(--ink);
  font-weight: 600;
  width: 32%;
}
.cmp-table thead .col-ito {
  background: var(--ink);
  color: #fff;
}
.cmp-badge {
  display: inline-block;
  font-size: 10px;
  color: var(--kin);
  letter-spacing: 0.24em;
  font-weight: 600;
  margin-bottom: 8px;
  font-family: var(--en);
}
.cmp-table thead .cmp-badge {
  color: var(--kin);
}
.promise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
}
.promise {
  padding: 38px 32px;
}
.pr-ico {
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  display: block;
  opacity: 0.9;
}
.promise .p-en {
  font-family: var(--en);
  font-size: 10px;
  letter-spacing: 0.28em;
  color: var(--kin);
  font-weight: 600;
}
.promise h4 {
  font-family: var(--serif);
  font-size: 17.5px;
  font-weight: 700;
  margin: 12px 0 14px;
  line-height: 1.7;
}
.promise p {
  font-size: 12.5px;
  color: var(--gray);
  line-height: 2;
}

/* ---------- 担当業務 ---------- */
.services {
  background: var(--paper2);
}
.svc-hint {
  font-family: var(--en);
  font-size: 10px;
  letter-spacing: 0.32em;
  color: rgba(30, 42, 82, 0.5);
  display: none;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
}
.svc-hint::after {
  content: '';
  width: 56px;
  height: 1px;
  background: rgba(30, 42, 82, 0.35);
  animation: cue 2.2s var(--ease) infinite;
}
@keyframes cue {
  0% {
    transform: scaleX(0);
    transform-origin: left;
  }
  55% {
    transform: scaleX(1);
    transform-origin: left;
  }
  56% {
    transform-origin: right;
  }
  100% {
    transform: scaleX(0);
    transform-origin: right;
  }
}
.svc-list {
  display: grid;
  gap: 22px;
  position: relative;
  z-index: 3;
}
.svc-card {
  padding: clamp(32px, 4vw, 56px);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(24px, 4vw, 56px);
}
.svc-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.svc-ico {
  width: 52px;
  height: 52px;
  opacity: 0.92;
}
.svc-num {
  font-family: var(--en);
  font-weight: 400;
  font-size: 15px;
  letter-spacing: 0.18em;
  color: rgba(30, 42, 82, 0.4);
  line-height: 1;
}
.svc-body h3 {
  font-family: var(--serif);
  font-size: clamp(19px, 2.2vw, 26px);
  font-weight: 700;
  margin-bottom: 8px;
}
.svc-body .en {
  font-family: var(--en);
  font-size: 10.5px;
  letter-spacing: 0.28em;
  color: var(--kin);
  font-weight: 600;
  margin-bottom: 18px;
}
.svc-body > p {
  color: var(--gray);
  margin-bottom: 22px;
  font-size: 13.5px;
  line-height: 2.05;
}
.svc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.svc-tags li {
  font-size: 11.5px;
  font-weight: 500;
  color: rgba(30, 42, 82, 0.75);
  padding: 6px 14px;
  border-radius: 2px;
  border: 1px solid var(--rule-soft);
  background: var(--paper);
}
.svc-more {
  margin-top: 24px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: 0.1em;
  color: var(--gunjo);
}
.svc-more .arw {
  transition: transform 0.3s var(--ease);
}
.svc-card:hover .svc-more .arw {
  transform: translateX(6px);
}

/* ---------- 対応範囲(索引型) ---------- */
.scope-grid {
  display: block;
  counter-reset: sc;
  border-top: 1px solid var(--rule);
}
.scope-cell {
  background: transparent;
  border: none;
  border-radius: 0;
  border-bottom: 1px solid var(--rule-soft);
  padding: 30px 10px;
  display: grid;
  grid-template-columns: 76px minmax(200px, 260px) 1fr;
  gap: clamp(16px, 3vw, 48px);
  align-items: baseline;
  counter-increment: sc;
  transition:
    background 0.35s,
    padding-left 0.35s var(--ease);
}
.scope-cell::before {
  content: counter(sc, decimal-leading-zero);
  font-family: var(--en);
  font-weight: 300;
  font-size: 24px;
  color: rgba(30, 42, 82, 0.3);
  transition: color 0.35s;
  line-height: 1;
}
.scope-cell:hover {
  transform: none;
  box-shadow: none;
  background: var(--white);
  padding-left: 26px;
}
.scope-cell:hover::before {
  color: var(--kin);
}
.scope-cell h4 {
  font-family: var(--serif);
  font-size: clamp(16px, 1.8vw, 20px);
  font-weight: 700;
  color: var(--ink);
  margin: 0;
  letter-spacing: 0.04em;
}
.scope-cell h4::before {
  content: none;
}
.scope-cell p {
  font-size: 12.5px;
  color: var(--gray);
  line-height: 2;
}
.scope-note {
  margin-top: 24px;
  font-size: 12.5px;
  color: var(--gray);
}
.scope-note b {
  color: var(--gunjo);
  font-weight: 700;
}

/* ---------- 解き筋 ---------- */
.tokisuji {
  background: var(--paper) !important;
}
.ts-tagline {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(30px, 5.4vw, 64px);
  letter-spacing: 0.06em;
  color: var(--ink);
  margin: 0 0 clamp(40px, 5.5vw, 64px);
  line-height: 1.45;
  position: relative;
  z-index: 3;
}
.ts-tagline::after {
  content: '';
  display: block;
  width: 64px;
  height: 2px;
  background: var(--kin);
  margin-top: 26px;
}
.ts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 34px;
  position: relative;
  z-index: 3;
}
.ts-card {
  padding: 26px 26px 30px;
  position: relative;
}
.ts-fig {
  background: var(--paper2);
  border: 1px solid var(--rule-soft);
  border-radius: 2px;
  aspect-ratio: 220/132;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  color: rgba(30, 42, 82, 0.55);
}
.ts-fig svg {
  width: 80%;
  height: auto;
  overflow: visible;
}
.ts-fig .tp {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  animation: tsdraw 6.4s var(--ease) infinite;
}
.ts-fig .au {
  stroke: var(--kin);
}
.ts-fig .w2 {
  animation-delay: 0.25s;
}
.ts-fig .w3 {
  animation-delay: 0.5s;
}
.ts-fig .w4 {
  animation-delay: 0.75s;
}
.ts-fig .w5 {
  animation-delay: 1s;
}
.ts-card:nth-child(2) .tp {
  animation-delay: 0.6s;
}
.ts-card:nth-child(2) .w2 {
  animation-delay: 0.85s;
}
.ts-card:nth-child(2) .w3 {
  animation-delay: 1.1s;
}
.ts-card:nth-child(2) .w4 {
  animation-delay: 1.35s;
}
.ts-card:nth-child(2) .w5 {
  animation-delay: 1.6s;
}
.ts-card:nth-child(3) .tp {
  animation-delay: 1.2s;
}
.ts-card:nth-child(3) .w2 {
  animation-delay: 1.5s;
}
.ts-card:nth-child(4) .tp {
  animation-delay: 1.8s;
}
.ts-card:nth-child(4) .w3 {
  animation-delay: 2.2s;
}
@keyframes tsdraw {
  0% {
    stroke-dashoffset: 100;
    opacity: 1;
  }
  42% {
    stroke-dashoffset: 0;
    opacity: 1;
  }
  72% {
    stroke-dashoffset: 0;
    opacity: 1;
  }
  84% {
    stroke-dashoffset: 0;
    opacity: 0;
  }
  85% {
    stroke-dashoffset: 100;
    opacity: 0;
  }
  100% {
    stroke-dashoffset: 100;
    opacity: 1;
  }
}
.ts-card::after {
  content: '→';
  position: absolute;
  top: 50%;
  right: -26px;
  transform: translateY(-50%);
  font-family: var(--en);
  font-size: 16px;
  color: var(--kin);
}
.ts-card:last-child::after {
  display: none;
}
.ts-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--rule-soft);
  padding-bottom: 14px;
}
.ts-num {
  font-family: var(--en);
  font-weight: 300;
  font-size: 26px;
  color: rgba(30, 42, 82, 0.35);
  line-height: 1;
}
.ts-en {
  font-family: var(--en);
  font-size: 10px;
  letter-spacing: 0.26em;
  color: var(--kin);
  font-weight: 600;
}
.ts-title-sp {
  display: none;
}
.ts-card h3 {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 700;
  margin-bottom: 12px;
}
.ts-card p {
  font-size: 12px;
  color: var(--gray);
  line-height: 2;
}

/* ---------- 頼み方 ---------- */
.ask {
  background: var(--paper2);
}
.ask-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.ask-card {
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.bubble {
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  padding: 16px 20px;
  border-radius: 12px 12px 2px 12px;
  align-self: flex-end;
  max-width: 94%;
  line-height: 1.85;
  position: relative;
}
.b-typing {
  position: absolute;
  left: 22px;
  top: 50%;
  transform: translateY(-50%);
  display: none;
  gap: 6px;
}
.b-typing i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.75);
  animation: tdot 1.1s ease-in-out infinite;
}
.b-typing i:nth-child(2) {
  animation-delay: 0.18s;
}
.b-typing i:nth-child(3) {
  animation-delay: 0.36s;
}
@keyframes tdot {
  0%,
  60%,
  100% {
    transform: translateY(0);
    opacity: 0.5;
  }
  30% {
    transform: translateY(-5px);
    opacity: 1;
  }
}
.bubble small {
  display: block;
  font-size: 9.5px;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 8px;
  letter-spacing: 0.1em;
  text-align: right;
}
.ask-do {
  border-top: 1px solid var(--rule-soft);
  padding-top: 18px;
}
.ask-do h5 {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--gunjo);
  font-weight: 700;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.ask-do h5::before {
  content: '';
  width: 14px;
  height: 1px;
  background: var(--kin);
}
.ask-do li {
  font-size: 12px;
  color: var(--gray);
  padding-left: 16px;
  position: relative;
  margin-bottom: 7px;
  line-height: 1.9;
}
.ask-do li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.85em;
  width: 6px;
  height: 1px;
  background: var(--gunjo);
}
.ask-foot {
  font-size: 12px;
  color: var(--ink);
  font-weight: 700;
  margin-top: auto;
  padding-top: 8px;
  letter-spacing: 0.04em;
}
.ask-foot i {
  font-style: normal;
  color: var(--kin);
  margin-right: 10px;
  font-size: 11px;
  letter-spacing: 0.1em;
}

/* ---------- 人となり ---------- */
.message .wrap {
  display: grid;
  grid-template-columns: minmax(240px, 340px) 1fr;
  gap: clamp(36px, 6vw, 84px);
  align-items: center;
}
.msg-visual {
  position: relative;
  aspect-ratio: 3/4;
  width: 100%;
  max-width: 340px;
  border-radius: 2px;
  overflow: hidden;
  background: linear-gradient(195deg, #24439e, #182f78);
}
.msg-visual::before {
  content: 'I-to.';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--en);
  font-weight: 600;
  font-size: clamp(44px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.1);
  letter-spacing: 0.06em;
}
.msg-visual::after {
  content: '作ったあとも、隣にいる。';
  position: absolute;
  right: 18px;
  top: 22px;
  writing-mode: vertical-rl;
  font-family: var(--serif);
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 0.38em;
  font-size: 12.5px;
}
.msg-visual .msg-illust {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 70%;
  height: auto;
}
.msg-visual .kin-block {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 34%;
  height: 6px;
  background: var(--kin);
}
.fl {
  transform-box: fill-box;
  transform-origin: center;
  animation: floatY 4.6s ease-in-out infinite alternate;
}
.fl2 {
  animation-duration: 5.8s;
  animation-delay: -2.2s;
}
@keyframes floatY {
  to {
    transform: translateY(-12px);
  }
}
.message h3 {
  font-family: var(--serif);
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 700;
  line-height: 1.9;
  margin-bottom: 26px;
}
.message p {
  color: var(--gray);
  margin-bottom: 20px;
  font-size: 13.5px;
  line-height: 2.15;
}
.message .sign {
  margin-top: 30px;
  font-family: var(--serif);
  font-size: 13.5px;
  color: var(--ink);
}
.message .sign b {
  font-size: 17px;
  margin-left: 12px;
}

/* ---------- 創業の言葉(縦書き) ---------- */
.poem {
  background: var(--paper);
  text-align: center;
}
.poem .wrap {
  max-width: 900px;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: clamp(64px, 8vw, 100px) 20px;
}
.poem-eb {
  justify-content: center;
  color: rgba(30, 42, 82, 0.55);
}
.poem-body {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  display: inline-block;
  height: clamp(300px, 44vw, 430px);
  margin: 30px auto 0;
  font-family: var(--serif);
  font-size: clamp(14px, 1.8vw, 18px);
  line-height: 3.1;
  letter-spacing: 0.16em;
  font-weight: 600;
  color: var(--ink);
}
.poem-body p {
  display: inline-block;
  margin-left: clamp(24px, 3.4vw, 52px);
}
.poem-body p:first-child {
  margin-left: 0;
}
.poem-body b {
  color: var(--gunjo);
  font-weight: 700;
}
.poem-sign {
  margin-top: 44px;
  font-family: var(--en);
  font-size: 10.5px;
  letter-spacing: 0.4em;
  color: var(--gray);
}

/* ---------- 仕事 ---------- */
.works {
  background: var(--paper2);
}
.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.work-card {
  overflow: hidden;
}
.work-thumb {
  aspect-ratio: 16/10;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.work-thumb::before {
  content: '';
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  z-index: 1;
  pointer-events: none;
}
.work-thumb span {
  font-family: var(--en);
  font-weight: 500;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.24em;
  position: relative;
  z-index: 1;
}
.work-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.work-thumb.has-img span {
  display: none;
}
.t1 {
  background: #23408f;
}
.t2 {
  background: #182f78;
}
.t3 {
  background: #2e4c9f;
}
.t4 {
  background: #14265f;
}
.t5 {
  background: #1e2a52;
}
.t6 {
  background: #2a4590;
}
.work-body {
  padding: 26px 26px 30px;
}
.work-cat {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--gunjo);
  margin-bottom: 12px;
  font-family: var(--sans);
}
.work-body h4 {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.75;
  margin-bottom: 10px;
}
.work-body p {
  font-size: 12px;
  color: var(--gray);
  line-height: 1.95;
}
.works-note {
  margin-top: 28px;
  font-size: 12px;
  color: var(--gray);
  text-align: center;
  position: relative;
  z-index: 3;
}

/* ---------- 数字 ---------- */
.reason {
  background: var(--ink);
  color: #fff;
}
.reason .eyebrow {
  color: rgba(255, 255, 255, 0.55);
}
.reason .sec-head {
  border-top-color: rgba(255, 255, 255, 0.2);
}
.reason .sec-head .eyebrow::before {
  color: var(--kin);
}
.reason .sec-lead {
  color: rgba(255, 255, 255, 0.65);
}
.reason-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(24px, 3vw, 44px);
  position: relative;
  z-index: 3;
}
.rcard {
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  padding: 28px 4px 0;
  transition: border-color 0.4s;
}
.rcard:hover {
  border-top-color: var(--kin);
}
.rcard b {
  font-family: var(--en);
  font-weight: 400;
  font-size: clamp(36px, 4vw, 54px);
  line-height: 1.1;
  display: block;
}
.rcard b i {
  font-style: normal;
  font-size: 0.4em;
  color: var(--kin);
  margin-left: 4px;
}
.rcard h4 {
  font-size: 14px;
  font-weight: 700;
  margin: 16px 0 10px;
  color: #fff;
  letter-spacing: 0.08em;
}
.rcard p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 2;
}

/* ---------- 契約 ---------- */
.pm-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.pm-card {
  padding: 40px 32px;
  text-align: center;
  position: relative;
}
.pm-card.featured {
  border-color: rgba(30, 42, 82, 0.4);
}
.pm-card .cmp-badge {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  margin: 0;
}
.pm-name {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  margin-top: 14px;
}
.pm-price b {
  font-family: var(--en);
  font-weight: 400;
  font-size: 44px;
  color: var(--ink);
  line-height: 1.1;
}
.pm-price small {
  font-size: 11.5px;
  color: var(--gray);
}
.pm-for {
  margin-top: 16px;
  font-size: 12px;
  color: var(--gray);
  line-height: 2;
  text-align: left;
  border-top: 1px solid var(--rule-soft);
  padding-top: 16px;
}

/* ---------- Blog ---------- */
.blog {
  background: var(--paper2);
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.blog-card {
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.blog-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.blog-date {
  font-family: var(--en);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--gray);
}
.blog-card h4 {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.85;
}
.blog-card > p {
  font-size: 12px;
  color: var(--gray);
  line-height: 1.95;
}
.blog-read {
  margin-top: auto;
  padding-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--gunjo);
}
.blog-read .arw {
  transition: transform 0.3s var(--ease);
}
.blog-card:hover .blog-read .arw {
  transform: translateX(6px);
}

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 840px;
  margin: 0 auto;
  position: relative;
  z-index: 3;
}
.faq-item {
  border-bottom: 1px solid var(--rule-soft);
}
.faq-q {
  width: 100%;
  background: none;
  border: none;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  text-align: left;
  padding: 26px 54px 26px 46px;
  position: relative;
  cursor: pointer;
  line-height: 1.8;
}
.faq-q::before {
  content: 'Q';
  position: absolute;
  left: 0;
  top: 24px;
  font-family: var(--en);
  font-weight: 500;
  font-size: 18px;
  color: var(--gunjo);
}
.faq-q::after {
  content: '';
  position: absolute;
  right: 10px;
  top: 50%;
  width: 11px;
  height: 11px;
  border-right: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.35s var(--ease);
}
.faq-item.open .faq-q::after {
  transform: translateY(-30%) rotate(-135deg);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease);
}
.faq-a-inner {
  padding: 0 8px 30px 46px;
  color: var(--ink);
  font-size: 13.5px;
  position: relative;
  line-height: 2.1;
}
.faq-a-inner::before {
  content: 'A';
  position: absolute;
  left: 0;
  top: -2px;
  font-family: var(--en);
  font-weight: 500;
  font-size: 18px;
  color: var(--kin);
}

/* ---------- Company ---------- */
.company {
  background: var(--paper2) !important;
}
.company .wrap {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(36px, 6vw, 84px);
}
.co-table {
  width: 100%;
  border-collapse: collapse;
}
.co-table th,
.co-table td {
  padding: 20px 8px;
  border-bottom: 1px solid var(--rule-soft);
  font-size: 13.5px;
  text-align: left;
  vertical-align: top;
  line-height: 2;
}
.co-table th {
  width: 30%;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.1em;
}
.co-table td {
  color: var(--gray);
}

/* ---------- CTA ---------- */
.cta {
  background: var(--ink);
  color: #fff;
  text-align: center;
}
.cta .orb {
  display: none;
}
.cta-inner {
  position: relative;
  z-index: 2;
}
.cta-inner::before {
  content: '';
  display: block;
  width: 44px;
  height: 1px;
  background: var(--kin);
  margin: 0 auto 36px;
}
.cta .eyebrow {
  display: none;
}
.cta h2 {
  font-family: var(--serif);
  font-size: clamp(25px, 3.8vw, 42px);
  font-weight: 700;
  line-height: 1.75;
  margin-bottom: 22px;
}
.cta p {
  color: rgba(255, 255, 255, 0.7);
  max-width: 600px;
  margin: 0 auto 44px;
  font-size: 13.5px;
  line-height: 2.15;
}
.cta .btn-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.cta .btn-white {
  background: var(--paper);
  color: var(--ink);
}
.cta .btn-ghost {
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}
.cta .btn-ghost:hover {
  border-color: #fff;
}
.cta-close {
  margin-top: 44px;
  font-family: var(--serif);
  font-size: 14.5px;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.9);
}

/* ---------- Footer ---------- */
footer {
  background: #16203e;
  color: rgba(255, 255, 255, 0.75);
  padding: 76px clamp(24px, 6vw, 96px) 36px;
}
.foot-grid {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 44px;
  padding-bottom: 54px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.foot-grid .logo {
  color: #fff;
  font-size: 24px;
}
.foot-grid .logo em {
  color: var(--kin);
}
.foot-grid .logo small {
  color: rgba(255, 255, 255, 0.45);
}
.foot-desc {
  margin-top: 20px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 2.1;
  max-width: 340px;
}
.foot-tag {
  margin-top: 16px;
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0.24em;
  color: var(--kin);
}
.foot-grid h5 {
  font-family: var(--en);
  font-size: 10.5px;
  letter-spacing: 0.3em;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 22px;
  font-weight: 600;
}
.foot-grid li {
  margin-bottom: 13px;
}
.foot-grid li a {
  font-size: 13px;
  transition: color 0.3s;
  color: rgba(255, 255, 255, 0.7);
}
.foot-grid li a:hover {
  color: #fff;
}
.copyright {
  max-width: 1120px;
  margin: 0 auto;
  padding-top: 32px;
  font-family: var(--en);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.4);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- 横スクロール ---------- */
@media (min-width: 961px) {
  .svc-hint {
    display: flex;
  }
  .svc-stage {
    display: flex;
    align-items: center;
    min-height: min(620px, 86vh);
    position: relative;
    z-index: 3;
  }
  .svc-list {
    display: flex;
    gap: 26px;
    width: max-content;
    padding-right: 10vw;
    align-items: stretch;
  }
  .svc-card {
    width: min(54vw, 700px);
    flex: 0 0 auto;
    max-height: 76vh;
    overflow: hidden;
  }
  .services {
    overflow: hidden;
  }
}

/* 対応範囲:1画面ダイナミック構成 */
#scope {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: clamp(56px, 6vw, 90px);
  padding-bottom: clamp(56px, 6vw, 90px);
}
#scope .wrap {
  max-width: 1400px;
  width: 100%;
}
@media (min-width: 961px) {
  #scope .wrap {
    display: grid;
    grid-template-columns: 51% 56%;
    gap: 2%;
    align-items: center;
  }
  #scope .sec-head {
    grid-column: 1;
    margin-bottom: 0;
  }
  #scope .scope-map {
    grid-column: 2;
    grid-row: 1 / span 2;
  }
  #scope .scope-note {
    grid-column: 1;
    margin-top: 28px;
  }
}
/* ---------- 対応範囲:放射図(PC) ---------- */
.scope-map {
  position: relative;
  width: 92%;
  max-width: 880px;
  aspect-ratio: 1/1;
  margin: 0 auto;
}
.sm-web {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.sm-line {
  stroke: rgba(30, 42, 82, 0.16);
  stroke-width: 1;
  transition: stroke 0.3s;
}
.sm-line.on {
  stroke: var(--kin);
  stroke-width: 1.5;
}
.sm-bead {
  fill: var(--kin);
  opacity: 0.55;
}
.sm-node {
  position: absolute;
  width: clamp(88px, 10vw, 144px);
  height: clamp(88px, 10vw, 144px);
  border-radius: 50%;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: min(0.55vw, 6px);
  padding: clamp(8px, 1.1vw, 14px);
  font-family: var(--sans);
  font-size: clamp(10px, 0.95vw, 13px);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.03em;
  line-height: 1.45;
  text-align: center;
  white-space: normal;
  cursor: pointer;
  transition:
    background 0.3s,
    color 0.3s,
    border-color 0.3s,
    box-shadow 0.3s;
  z-index: 2;
  box-shadow: 0 8px 22px rgba(30, 42, 82, 0.06);
  animation: nfloat 7s ease-in-out infinite;
}
.sm-node:nth-child(3n) {
  animation-duration: 8.5s;
  animation-delay: -2.4s;
}
.sm-node:nth-child(3n + 1) {
  animation-duration: 9.5s;
  animation-delay: -4.8s;
}
.sm-node:hover {
  animation-play-state: paused;
}
@keyframes nfloat {
  0%,
  100% {
    transform: translate(-50%, calc(-50% - 6px));
  }
  50% {
    transform: translate(-50%, calc(-50% + 6px));
  }
}
.sm-node i {
  font-style: normal;
  font-family: var(--en);
  font-weight: 400;
  font-size: clamp(10px, 0.9vw, 12px);
  color: var(--kin);
  letter-spacing: 0.14em;
  display: block;
}
.sm-node:hover,
.sm-node.on {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
  box-shadow: 0 14px 28px rgba(30, 42, 82, 0.18);
}
.sm-node:hover i,
.sm-node.on i {
  color: var(--kin);
}
.sm-center {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(300px, 38%);
  aspect-ratio: 1/1;
  border: 1px solid var(--rule);
  border-radius: 50%;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(18px, 2.1vw, 30px);
  gap: 8px;
}
.smc-num {
  font-family: var(--en);
  font-weight: 300;
  font-size: clamp(42px, 5vw, 72px);
  color: var(--ink);
  line-height: 1;
}
.smc-num small {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--gray);
  margin-left: 4px;
}
.smc-t {
  font-family: var(--serif);
  font-size: clamp(14px, 1.45vw, 19px);
  font-weight: 700;
  color: var(--ink);
}
.smc-hint {
  font-size: clamp(9px, 0.82vw, 10.5px);
  color: var(--gray);
  line-height: 1.9;
  letter-spacing: 0.08em;
}
.sm-center.detail .smc-num {
  display: none;
}
.sm-center .smc-items {
  display: none;
  font-size: clamp(9px, 0.86vw, 11.5px);
  color: var(--gray);
  line-height: 1.8;
  letter-spacing: 0.02em;
}
.sm-center.detail .smc-items {
  display: block;
}
.sm-center.detail .smc-hint {
  display: none;
}
.sm-center.detail .smc-t {
  color: var(--gunjo);
  font-size: 17px;
}
.sm-center.detail {
  border-color: var(--kin);
}
@media (max-width: 960px) {
  .scope-map {
    display: block;
  }
}
@media (min-width: 961px) {
  .scope-grid {
    display: none;
  }
  #scope .scope-note {
    text-align: left;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  section {
    padding: clamp(40px, 11vw, 170px) clamp(24px, 6vw, 40px);
  }
  .scope-grid {
    display: none;
  }
  .fv-wrap {
    grid-template-columns: 1fr;
  }
  h1 .q,
  h1 .a {
    white-space: normal;
  }
  .fv-eq {
    margin-right: 0;
    height: clamp(380px, 48vh, 520px);
  }
  .works-grid,
  .blog-grid,
  .ask-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .scope-grid,
  .ts-grid,
  .reason-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pm-grid,
  .promise-grid {
    grid-template-columns: 1fr;
  }
  .company .wrap,
  .message .wrap {
    grid-template-columns: 1fr;
  }
  .msg-visual {
    aspect-ratio: 4/3;
    max-width: 420px;
    margin: 0 auto;
  }
  .scope-cell {
    grid-template-columns: 76px minmax(200px, 260px) minmax(320px, 1fr);
    min-width: 720px;
  }
  .scope-cell p {
    grid-column: auto;
  }
  .fv-stats {
    flex-direction: row;
    border-bottom: 1px solid var(--rule);
  }
  .hstat {
    border-right: 1px solid var(--rule);
    border-bottom: none;
  }
  .hstat:last-child {
    border-right: none;
  }
}
@media (max-width: 640px) {
  .fv-actions,
  .cta .btn-row {
    width: 100%;
    flex-direction: column;
  }
  .fv-actions .btn,
  .cta .btn-row .btn {
    width: 100%;
    justify-content: center;
  }
  .works-grid,
  .blog-grid,
  .ask-grid,
  .ts-grid,
  .reason-grid {
    grid-template-columns: 1fr;
  }
  .fv-stats {
    margin-top: 30px;
  }
  .hstat {
    padding: 14px 8px;
    text-align: center;
  }
  .hstat:first-child {
    padding-left: 8px;
  }
  .hstat b {
    font-size: 22px;
    white-space: nowrap;
  }
  .hstat span {
    display: block;
    margin-top: 6px;
    font-size: 9.5px;
    letter-spacing: 0.08em;
    line-height: 1.5;
  }
  .cmp-scroll-hint {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 10px;
    font-family: var(--en);
    font-size: 10px;
    letter-spacing: 0.24em;
    color: rgba(30, 42, 82, 0.55);
  }
  .cmp-scroll-hint::after {
    content: '';
    width: 54px;
    height: 1px;
    background: rgba(30, 42, 82, 0.35);
    animation: cue 2.2s var(--ease) infinite;
  }
  .promise {
    display: grid;
    grid-template-columns: 46px 1fr;
    grid-template-areas:
      'en en'
      'ico title'
      'body body';
    column-gap: 14px;
    align-items: center;
    padding: 30px 26px;
  }
  .promise .p-en {
    grid-area: en;
    margin-bottom: 12px;
  }
  .promise .pr-ico {
    grid-area: ico;
    width: 42px;
    height: 42px;
    margin: 0;
  }
  .promise h4 {
    grid-area: title;
    margin: 0;
  }
  .promise > p:not(.p-en) {
    grid-area: body;
    width: 100%;
    margin-top: 16px;
  }
  .svc-card {
    grid-template-columns: 58px 1fr;
    column-gap: 16px;
    row-gap: 2px;
    padding: 30px 24px;
  }
  .svc-num {
    display: none;
  }
  .svc-side {
    grid-column: 1;
    grid-row: 1 / span 3;
    gap: 2px;
  }
  .svc-body {
    display: contents;
  }
  .svc-body .cmp-badge,
  .svc-body h3,
  .svc-body .en {
    grid-column: 2;
  }
  .svc-body h3 {
    line-height: 1.45;
    margin: 2px 0 2px;
  }
  .svc-body .cmp-badge {
    margin-bottom: 0 !important;
    line-height: 1.5;
  }
  .svc-body .en {
    line-height: 1.55;
  }
  .svc-body > p,
  .svc-tags,
  .svc-more {
    grid-column: 1 / -1;
  }
  .svc-tags {
    gap: 5px;
  }
  .svc-tags li {
    font-size: 9px;
    padding: 4px 10px;
  }
  .svc-body .en {
    margin-bottom: 10px;
  }
  .scope-grid {
    display: none;
  }
  .scope-map {
    --sm-spread: 1;
    width: 110vw;
    max-width: 500px;
    margin-left: 50%;
    transform: translateX(-50%);
    margin-top: -50px;
  }
  .scope-note {
    margin-top: 0;
  }
  .sm-node {
    width: 82px;
    height: 82px;
    padding: 7px;
    gap: 3px;
    font-size: 11px;
    line-height: 1.28;
    letter-spacing: 0;
  }
  .sm-node i {
    font-size: 10px;
    letter-spacing: 0.08em;
  }
  .sm-center {
    width: 33%;
    padding: 12px;
    gap: 3px;
  }
  .smc-num {
    font-size: 32px;
  }
  .smc-num small {
    font-size: 10px;
  }
  .smc-t {
    font-size: 12px;
    line-height: 1.45;
  }
  .smc-hint {
    display: none;
  }
  .sm-center.detail .smc-t {
    font-size: 11.5px;
  }
  .sm-center .smc-items {
    font-size: 8px;
    line-height: 1.45;
    letter-spacing: 0;
  }
  .tokisuji .eyebrow {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 14px;
    row-gap: 4px;
  }
  .tokisuji .eyebrow::before {
    grid-row: 1 / 3;
  }
  .tokisuji .eyebrow span {
    grid-column: 2;
    min-width: 0;
    letter-spacing: 0.22em;
    line-height: 1.5;
    white-space: normal;
  }
  .ts-head {
    justify-content: flex-start;
    gap: 12px;
    align-items: baseline;
  }
  .ts-title-sp {
    display: inline;
    font-family: var(--serif);
    font-size: 20px;
    font-weight: 700;
    color: var(--ink);
  }
  .ts-card > h3 {
    display: none;
  }
  .works-grid {
    grid-template-columns: 1fr !important;
  }
  .foot-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .ts-card::after {
    content: '↓';
    top: auto;
    bottom: -28px;
    right: auto;
    left: 50%;
    transform: translateX(-50%);
  }
  .ts-card:nth-child(2n)::after {
    display: block;
  }
  .ts-card:last-child::after {
    display: none !important;
  }
  .hero-vertical {
    display: none;
  }
  .fv-ito small {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0s !important;
    transition-duration: 0.01ms !important;
  }
  [data-reveal],
  .fv-in {
    opacity: 1;
    transform: none;
  }
  .eq-row,
  .eq-col > span,
  .eq-giant span {
    animation: none;
  }
  .fv-ito .ln {
    transform: scaleX(1);
  }
}
