/* 隣の高専生 LP — Figma「隣の高専生」完成版 (node 119:375) / 詳細ページ (22:120, 22:156, 22:189, 22:215) */
:root {
  --brand: #213a89;
  --brand-deep: #0e3e96;
  --ink: #242424;
  --ink-soft: #37404e;
  --surface: #ffffff;
  --footer-bg: #2b2b2b;
  --footer-ink: #fffefc;
  --font-jp: "Noto Sans JP", system-ui, sans-serif;
  --font-en: "Inter", "Noto Sans JP", sans-serif;
  --font-kumbh: "Kumbh Sans", "Inter", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-jp);
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3, dl, dd { margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Header (Tonari / グローバルナビ) ---------- */
.gnav {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  width: calc(100% - 40px);
  max-width: 1374px;
  height: 76px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: rgba(255, 255, 255, 0.89);
  border: 1px solid rgba(33, 58, 137, 0.12);
  border-radius: 14px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.gnav__logo img { width: 170px; height: 40px; object-fit: contain; }
.gnav__links { display: flex; gap: 30px; align-items: center; }
.gnav__links a {
  padding: 16px 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 25px;
  color: var(--brand);
  white-space: nowrap;
}
.gnav__links a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; }
.gnav__links a:hover { opacity: 0.7; }
.btn-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 14px 22px;
  border-radius: 8px;
  background: var(--brand);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 25px;
  text-align: center;
  transition: opacity 0.2s;
}
.btn-brand:hover { opacity: 0.85; }
.gnav__cta { width: 166px; flex-shrink: 0; }
.gnav__links .gnav__mobile-cta { display: none; }
.btn-brand { max-width: 100%; }
.gnav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: var(--brand);
  cursor: pointer;
  padding: 10px;
}
.gnav__toggle span { display: block; height: 2px; background: currentColor; margin: 5px 0; border-radius: 2px; }

/* ---------- Hero ---------- */
.hero { padding: 116px 16px 0; background: #fff; }
.hero__panel {
  position: relative;
  max-width: 1379px;
  height: 604px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 10.6px;
  isolation: isolate;
  /* fallback: Figma の静的グラデーション */
  background: linear-gradient(90deg, #eaf6fc 0%, #9396f4 52.488%, #87c9ea 107.03%);
  background: linear-gradient(90deg in oklch, var(--hero-c1) 0%, var(--hero-c2) 52.5%, var(--hero-c3) 107%);
  animation: hero-tide 9s linear infinite;
}
/* 水の流れのように動く光のにじみ（transform のみ動かして再描画を抑える） */
.hero__panel::before,
.hero__panel::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 70%;
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
  pointer-events: none;
  will-change: transform;
}
.hero__panel::before {
  left: -10%;
  top: -30%;
  background: radial-gradient(circle, #b9e6ff 0%, rgba(185, 230, 255, 0) 70%);
  animation: hero-drift-a 11s ease-in-out infinite alternate;
}
.hero__panel::after {
  right: -15%;
  bottom: -40%;
  background: radial-gradient(circle, #c3b8ff 0%, rgba(195, 184, 255, 0) 70%);
  animation: hero-drift-b 14s ease-in-out infinite alternate;
}
@property --hero-c1 { syntax: "<color>"; inherits: false; initial-value: #eaf6fc; }
@property --hero-c2 { syntax: "<color>"; inherits: false; initial-value: #9396f4; }
@property --hero-c3 { syntax: "<color>"; inherits: false; initial-value: #87c9ea; }
@keyframes hero-tide {
  0%, 100% { --hero-c1: #eaf6fc; --hero-c2: #9396f4; --hero-c3: #87c9ea; }
  16% { --hero-c1: #ffe3f1; --hero-c2: #ff7eb6; --hero-c3: #8f7bff; }
  33% { --hero-c1: #fff1d6; --hero-c2: #ffa86b; --hero-c3: #ff6fa5; }
  50% { --hero-c1: #dcfff4; --hero-c2: #3fd6c0; --hero-c3: #4aa8ff; }
  66% { --hero-c1: #e2ecff; --hero-c2: #4f7dff; --hero-c3: #a56bff; }
  83% { --hero-c1: #f2e6ff; --hero-c2: #b06bff; --hero-c3: #5fd3ff; }
}
@keyframes hero-drift-a {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(45%, 35%) scale(1.25); }
}
@keyframes hero-drift-b {
  from { transform: translate(0, 0) scale(1.1); }
  to { transform: translate(-50%, -30%) scale(0.9); }
}
/* 装飾: 縦の濃紺ライン + 斜めのミントライン */
.hero__ring {
  position: absolute;
  left: -397px;
  top: -467px;
  width: 961.5px;
  height: 1478.2px;
  border: 62px solid #173b8e;
  border-radius: 596px;
  pointer-events: none;
}
.hero__stripe {
  position: absolute;
  left: 324px;
  top: -458px;
  width: 70px;
  height: 1284px;
  background: #c8f0ea;
  transform: rotate(44deg);
  transform-origin: center;
  pointer-events: none;
}
.hero__body {
  position: absolute;
  left: 9.5%;
  top: 128px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hero__title { display: flex; flex-direction: column; gap: 14px; margin-bottom: 14px; }
.hero__title span {
  display: inline-block;
  width: fit-content;
  padding: 8px 20px 18px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 2px 0 rgba(255, 255, 255, 0.35);
  font-size: 43.8px;
  font-weight: 800;
  line-height: 51.7px;
  letter-spacing: -1.75px;
  color: #121212;
}
.hero__register {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 440px;
  min-height: 66px;
  padding: 15px 28px;
  border-radius: 999px;
  background: linear-gradient(139.6deg, #ed008c 6.17%, #f4384f 48.25%, #ffb800 93.83%);
  box-shadow: 0 16px 24px rgba(237, 0, 140, 0.18), 0 10px 20px rgba(255, 184, 0, 0.2);
  color: #fff;
  font-size: 23px;
  font-weight: 800;
  line-height: 27px;
  letter-spacing: 0.45px;
  transition: transform 0.2s;
}
.hero__business {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 329px;
  height: 66px;
  margin-top: 28px;
  padding: 12px 24px;
  border-radius: 16px;
  background: #171717;
  color: #fff;
  font-size: 23px;
  font-weight: 800;
  letter-spacing: 0.64px;
  transition: transform 0.2s;
}

.hero__photos {
  position: absolute;
  left: 50.8%;
  top: 75px;
  width: 540px;
  height: 453px;
  z-index: 1;
}
.hero__photos img { position: absolute; object-fit: cover; border-radius: 3.5px; }
.hero__photo--1 { left: 71.7px; top: 84.5px; width: 356px; height: 253px; }
.hero__photo--2 { left: 0; top: 312px; width: 199px; height: 141px; }
.hero__photo--3 { left: 17px; top: 52.6px; width: 186px; height: 133px; }
.hero__photo--4 { left: 335px; top: 273px; width: 205px; height: 144px; }
.hero__photo--5 { left: 362px; top: 0; width: 162px; height: 113px; }

/* ---------- Partners ---------- */
.partners { padding: 6px 20px 90px; background: #fff; text-align: center; }
.partners__label {
  font-family: var(--font-en);
  font-size: 15.5px;
  font-weight: 700;
  line-height: 26.4px;
  letter-spacing: 4.36px;
  color: var(--brand);
}
.partners__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}
.partners__item { width: 162px; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.partners__item img { width: 162px; height: 41.24px; object-fit: contain; }
.partners__item span { font-size: 11.5px; font-weight: 700; line-height: 19.6px; letter-spacing: 0.46px; color: var(--brand); }

/* ---------- Problem ---------- */
.problem { position: relative; padding: 88px 16px 0; background: #fff; overflow: hidden; }
.problem__title {
  text-align: center;
  font-size: 37px;
  font-weight: 900;
  line-height: 55.7px;
  color: var(--ink-soft);
}
.problem__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12.4px;
  max-width: 1202px;
  margin: 42px auto 0;
}
.problem__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 53px 28px;
  border-radius: 10.6px;
  background: linear-gradient(180deg, #e7edf4, #edf2f7);
}
.problem__card h3 {
  min-height: 114px;
  max-width: 300px;
  font-size: 28.3px;
  font-weight: 900;
  line-height: 37.1px;
  letter-spacing: 0.57px;
  text-align: center;
  color: var(--ink-soft);
}
.problem__card img { width: 243px; height: 159px; object-fit: cover; margin-top: 16px; }
.problem__card ul { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-direction: column; gap: 5.3px; }
.problem__card li {
  position: relative;
  padding-left: 24px;
  font-size: 14.1px;
  font-weight: 500;
  line-height: 21.2px;
  letter-spacing: 0.28px;
  color: var(--ink-soft);
}
.problem__card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2.7px;
  width: 16px;
  height: 16px;
  background: url("assets/lp/icon-check.png") center / contain no-repeat;
}
.problem__arc {
  display: block;
  width: 1594px;
  max-width: none;
  height: 605px;
  margin: 90px 0 -300px 50%;
  transform: translateX(-50%);
}

/* ---------- Solution / 01–03 ---------- */
.solution {
  position: relative;
  padding: 0 16px 100px;
  background: var(--brand);
  color: #fff;
}
.solution__heading {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 31px;
  flex-wrap: wrap;
}
.solution__logo { display: block; width: 680px; max-width: 100%; flex-shrink: 1; }
.solution__logo img { width: 100%; height: auto; aspect-ratio: 1568 / 364; }
.solution__suffix { width: 573px; height: 99px; }
.solution__lead {
  max-width: 1000px;
  margin: 68px auto 0;
  font-size: 26px;
  line-height: 42px;
  letter-spacing: 1.73px;
  text-align: center;
  color: rgba(255, 255, 255, 0.88);
}
.flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  max-width: 1080px;
  margin: 52px auto 0;
  padding-bottom: 90px;
}
.flow__node { flex: 1 1 0; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 0 18px; min-width: 0; }
.flow__node img { width: 280px; height: 224px; object-fit: contain; }
.flow__name { font-size: 32px; font-weight: 700; line-height: 38.4px; }
.flow__desc { font-size: 20px; line-height: 30px; }
.flow__arrow { width: 108px; flex-shrink: 0; display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 20px; line-height: 30px; color: rgba(255, 255, 255, 0.9); }
.flow__arrow img { width: 108px; height: 64px; object-fit: contain; }

.merit {
  position: relative;
  max-width: 1000px;
  height: 459px;
  margin: 0 auto 91px;
  padding: 16px;
  overflow: hidden;
  border-radius: 16px;
  background: #fff;
  color: #283233;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.merit:last-child { margin-bottom: 0; }
.merit__title { display: flex; align-items: center; gap: 12px; color: var(--brand); }
.merit__num { font-size: 70px; font-weight: 700; line-height: 81.7px; }
.merit__label { font-size: 36px; font-weight: 800; line-height: 1.2; }
.merit__body { flex: 1; display: flex; align-items: center; gap: 40px; }
.merit__text { width: 420px; display: flex; flex-direction: column; align-items: center; gap: 28px; }
.merit__text p { font-size: 18px; font-weight: 700; line-height: 35px; text-align: center; }
.btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 245px;
  height: 57px;
  border-radius: 9999px;
  background: var(--brand);
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  line-height: 28.6px;
  filter: drop-shadow(0 4px 4px rgba(0, 0, 0, 0.45));
  transition: transform 0.2s;
}

.merit__phone { align-self: flex-end; width: 343px; height: 350px; overflow: hidden; margin-bottom: -16px; }
.merit__phone img { width: 343px; height: auto; }

/* ---------- Services ---------- */
.services { padding: 80px 24px 88px; background: #fff; }
.services__inner { max-width: 1152px; margin: 0 auto; }
.eyebrow-en { font-family: var(--font-en); font-size: 20px; font-weight: 700; line-height: 34px; letter-spacing: 3px; color: #000; }
.services__heading { display: flex; align-items: flex-end; gap: 30px; padding-top: 8px; }
.services__heading h2 { font-size: 40px; font-weight: 900; line-height: 52px; color: #000; }
.view-more { display: inline-flex; align-items: center; gap: 0; padding-bottom: 14px; font-family: var(--font-kumbh); font-size: 16px; color: #2b2b2b; }
.view-more img { width: 30px; height: 11px; object-fit: contain; }
.view-more:hover { opacity: 0.7; }
.services__list { display: flex; flex-direction: column; gap: 24px; margin-top: 48px; }
.services__banner { display: block; border-radius: 13.9px; overflow: hidden; }
.services__banner img { width: 100%; height: auto; }
.service-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 32px 40px;
  border: 1px solid rgba(96, 93, 93, 0.47);
  border-radius: 12px;
  background: #fff;
  color: var(--brand);
  font-size: 20px;
  font-weight: 700;
  line-height: 32px;
  letter-spacing: 0.8px;
  transition: box-shadow 0.2s;
}
.service-row:hover { box-shadow: 0 8px 20px rgba(33, 58, 137, 0.12); }
.service-row__icon { width: 48px; height: 48px; border-radius: 8px; background: var(--brand); display: grid; place-items: center; flex-shrink: 0; }
.service-row__icon img { width: 24px; height: 24px; }

/* ---------- Members ---------- */
.members { padding: 72px 0 80px; background: var(--brand); color: #fff; text-align: center; }
.members__eyebrow { font-size: 12px; font-weight: 600; line-height: 20px; opacity: 0.75; }
.members__title { margin-top: 12px; font-size: 40px; font-weight: 800; line-height: 60px; }
.members__scroller {
  margin-top: 36px;
  overflow-x: auto;
  cursor: grab;
  scrollbar-width: none;
}
.members__scroller::-webkit-scrollbar { display: none; }
.members__scroller.is-dragging { cursor: grabbing; }
.members__track { display: flex; gap: 24px; width: max-content; padding: 0 107px 0 14px; margin: 0; list-style: none; }
.member-card {
  width: 300px;
  height: 180px;
  padding: 24px;
  border-radius: 24px;
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  text-align: left;
  user-select: none;
}
.member-card__school { min-height: 50px; display: flex; align-items: flex-end; font-size: 16px; font-weight: 600; line-height: 25px; color: #000; }
.member-card__name { font-size: 48px; font-weight: 800; line-height: 48px; color: var(--brand-deep); white-space: nowrap; }

/* ---------- Pitch deck ---------- */
.pitch { position: relative; padding: 55px 24px 140px; background: #fff; overflow: hidden; }
.pitch__head { max-width: 720px; margin: 0 auto; text-align: center; color: var(--brand); }
.pitch__eyebrow { font-size: 13px; font-weight: 700; line-height: 22px; letter-spacing: 2px; text-transform: uppercase; }
.pitch__title { margin-top: 14px; font-size: 40px; font-weight: 800; line-height: 52px; }
.pitch__lead { margin-top: 20px; font-size: 17px; line-height: 30.6px; }
.pitch__viewer { position: relative; z-index: 1; max-width: 900px; margin: 64px auto 0; }
.pitch__viewer iframe {
  display: block;
  width: 100%;
  height: 600px;
  border: 0;
  background: #eee;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}
.pitch__fallback { margin-top: 16px; font-size: 14px; color: var(--brand); text-align: center; }
.pitch__fallback a { text-decoration: underline; }
/* 背景 / 青い四角形・下端固定・高さランダム */
.skyline { position: absolute; left: 0; right: 0; bottom: 0; height: 120px; pointer-events: none; }
.skyline span {
  position: absolute;
  bottom: 0;
  transform-origin: bottom;
  animation: skyline-breathe 6s ease-in-out infinite alternate;
}
@keyframes skyline-breathe {
  from { transform: scaleY(0.82); }
  to { transform: scaleY(1.08); }
}
@media (prefers-reduced-motion: reduce) {
  .skyline span, .hero__panel, .hero__panel::before, .hero__panel::after { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Company (LP) ---------- */
.company { padding: 100px 50px; background: var(--brand); border-bottom: 1px solid #e5e7eb; }
.company__card { max-width: 1314px; margin: 0 auto; padding: 60px 110px; border-radius: 10px; background: #fff; color: var(--brand); }
.company__card h2 { font-size: 40px; font-weight: 700; line-height: 48px; }
.company__list { margin-top: 40px; padding: 0 60px; }
.company__row { display: grid; grid-template-columns: 200px 1fr; min-height: 50px; padding: 14px 40px; border-top: 1px solid var(--brand); font-size: 16px; }
.company__row:last-child { border-bottom: 1px solid var(--brand); min-height: 70px; }
.company__row dd { margin: 0; }

/* ---------- Footer ---------- */
.footer { padding: 80px 24px 40px; background: var(--footer-bg); color: var(--footer-ink); }
.footer__inner { max-width: 1094px; margin: 0 auto; }
.footer__top { display: flex; justify-content: space-between; gap: 40px; }
.footer__tagline { font-size: 18px; font-weight: 500; }
.footer__logo { width: 168px; height: 52px; margin-top: 36px; }
.footer__address { margin-top: 38px; font-size: 12px; line-height: 21.6px; font-style: normal; }
.footer__nav { display: grid; grid-template-columns: auto auto; column-gap: 42px; row-gap: 20px; align-content: start; justify-items: end; font-size: 13px; }
.footer__nav a:hover { opacity: 0.7; }
.footer__sns { display: flex; justify-content: flex-end; gap: 18px; margin-top: -36px; padding-bottom: 28px; font-size: 22px; font-weight: 700; }
.footer__sns span[aria-disabled] { opacity: 1; cursor: default; }
.footer__bottom { display: flex; justify-content: space-between; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, 0.6); font-family: var(--font-kumbh); font-size: 12px; font-weight: 500; }
.footer__bottom small { font-size: 10px; }

/* ---------- Detail pages (事例紹介 / 参加・依頼ガイド / FAQ / 会社情報) ---------- */
.page { max-width: 1414px; margin: 0 auto; padding: 136px 107px 80px; display: flex; flex-direction: column; align-items: flex-start; gap: 34px; color: var(--brand); }
.page__intro { display: flex; flex-direction: column; gap: 14px; width: 100%; }
.page__eyebrow { font-size: 12px; font-weight: 700; line-height: 22px; }
.page__title { font-size: 44px; font-weight: 700; line-height: 79px; }
.page__lead { font-size: 17px; line-height: 31px; }
.panel { width: 100%; padding: 28px 32px; border: 1px solid rgba(33, 58, 137, 0.15); border-radius: 16px; background: #fff; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.panel h2 { font-size: 28px; font-weight: 700; line-height: 50px; }
.panel h3 { font-size: 19px; font-weight: 700; line-height: 34px; white-space: pre-wrap; }
.panel h3.panel__sub { font-size: 22px; line-height: 40px; }
.panel p { font-size: 16px; line-height: 29px; }
.panel .btn-brand { min-width: 290px; }
.case { display: flex; align-items: center; gap: 36px; }
.case__img { width: 250px; height: 170px; flex-shrink: 0; object-fit: contain; border-radius: 8px; }
.case__body { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.case__tag { font-size: 12px; font-weight: 500; line-height: 22px; }
.case__title { font-size: 26px; font-weight: 700; line-height: 47px; }
.case__client { font-size: 14px; font-weight: 500; line-height: 25px; }
.faq-q { font-size: 21px; font-weight: 700; line-height: 38px; }
.info-table { width: 100%; margin: 0; }
.info-table__row { display: grid; grid-template-columns: 180px 1fr; gap: 32px; padding: 20px 0; border: 1px solid rgba(33, 58, 137, 0.16); border-top-width: 0; }
.info-table__row:first-child { border-top-width: 1px; }
.info-table__row dt { font-size: 15px; font-weight: 500; line-height: 27px; }
.info-table__row dd { margin: 0; font-size: 16px; line-height: 29px; }
.profile { display: flex; align-items: center; gap: 40px; }
.profile img { width: 240px; height: 260px; object-fit: contain; border-radius: 8px; flex-shrink: 0; }
.profile__body { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.profile__name { font-size: 28px; font-weight: 700; line-height: 50px; white-space: pre-wrap; }
.profile__role { font-size: 16px; font-weight: 500; line-height: 29px; }

/* ---------- Responsive ---------- */
@media (max-width: 1240px) {
  .hero__body { left: 6%; }
  .hero__photos { left: auto; right: 2%; transform: scale(0.85); transform-origin: right center; }
  .solution__logo { width: 520px; }
  .solution__suffix { width: 460px; height: auto; }
}

@media (max-width: 1080px) {
  .gnav__links { gap: 18px; }
  .hero__photos { transform: scale(0.7); }
  .merit { height: auto; margin-left: 0; margin-right: 0; }
  .merit__title { flex-wrap: wrap; justify-content: center; }
  .merit__label { font-size: 28px; text-align: center; }
  .company__card { padding: 48px 40px; }
  .company__list { padding: 0; }
}

/* ---------- Mobile (Sales Navi のスマホ構成を参考: 48px のフラットヘッダー / 左右 10–20px / 1カラム) ---------- */
@media (max-width: 900px) {
  /* Header */
  .gnav { top: 0; left: 0; transform: none; width: 100%; height: 48px; padding: 0 12px 0 16px; border: 0; border-bottom: 1px solid rgba(33, 58, 137, 0.08); border-radius: 0; background: rgba(255, 255, 255, 0.96); }
  .gnav__logo img { width: 120px; height: 28px; }
  .gnav__toggle { display: block; }
  .gnav__cta { display: none; }
  .gnav__links { position: absolute; top: 48px; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 20px; background: #fff; box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08); }
  .gnav__links a { padding: 14px 0; border-bottom: 1px solid rgba(33, 58, 137, 0.08); font-size: 15px; }
  .gnav__links .gnav__mobile-cta { display: flex; margin-top: 16px; border: 0; color: #fff; }
  .gnav.is-open .gnav__links { display: flex; }

  /* Hero: 写真 → 見出し → ボタン の縦積み */
  .hero { padding: 58px 10px 0; }
  .hero__panel { height: auto; display: flex; flex-direction: column; padding: 24px 20px 32px; border-radius: 12px; }
  .hero__ring { left: -620px; top: -560px; }
  .hero__stripe { left: 110px; top: -500px; width: 48px; }
  .hero__photos { order: -1; position: relative; left: 0; right: 0; top: 0; width: 100%; max-width: 360px; height: auto; aspect-ratio: 540 / 453; margin: 0 auto 20px; transform: none; }
  .hero__photo--1 { left: 13.3%; top: 18.7%; width: 65.9%; height: 55.9%; }
  .hero__photo--2 { left: 0; top: 68.9%; width: 36.9%; height: 31.1%; }
  .hero__photo--3 { left: 3.2%; top: 11.6%; width: 34.4%; height: 29.4%; }
  .hero__photo--4 { left: 62%; top: 60.3%; width: 38%; height: 31.8%; }
  .hero__photo--5 { left: 67%; top: 0; width: 30%; height: 24.9%; }
  .hero__body { position: relative; left: 0; top: 0; width: 100%; align-items: stretch; }
  .hero__title { gap: 8px; margin-bottom: 20px; }
  .hero__title span { font-size: 28px; line-height: 1.3; letter-spacing: -0.5px; padding: 6px 14px 8px; }
  .hero__register { width: 100%; min-height: 56px; padding: 12px 16px; font-size: 16px; letter-spacing: 0; white-space: nowrap; }
  .hero__business { width: 100%; height: 52px; margin-top: 12px; font-size: 16px; border-radius: 12px; }

  /* Partners: 3 列グリッド */
  .partners { padding: 20px 20px 48px; }
  .partners__label { font-size: 11px; letter-spacing: 2px; line-height: 1.6; }
  .partners__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 10px; margin-top: 12px; }
  .partners__item { width: auto; }
  .partners__item img { width: 100%; height: 30px; }
  .partners__item span { font-size: 10px; line-height: 1.5; letter-spacing: 0; }

  /* Problem */
  .problem { padding: 24px 20px 0; }
  .problem__title { font-size: 24px; line-height: 36px; }
  .problem__grid { grid-template-columns: 1fr; gap: 16px; max-width: 480px; margin-top: 24px; }
  .problem__card { padding: 28px 20px; border-radius: 12px; }
  .problem__card h3 { min-height: 0; max-width: none; font-size: 20px; line-height: 30px; letter-spacing: 0; }
  .problem__card img { width: 200px; height: auto; aspect-ratio: 243 / 159; }
  .problem__card ul { margin-top: 20px; }
  .problem__card li { font-size: 13px; line-height: 22px; letter-spacing: 0; }
  .problem__arc { width: 760px; height: 288px; margin-top: 48px; margin-bottom: -144px; }

  /* Solution */
  .solution { padding: 0 10px 56px; }
  .solution__heading { flex-direction: column; align-items: center; gap: 4px; }
  .solution__logo { width: 100%; max-width: 360px; }
  .solution__suffix { width: 70%; max-width: 280px; height: auto; }
  .solution__lead { margin-top: 24px; padding: 0 10px; font-size: 15px; line-height: 26px; letter-spacing: 0.3px; }
  .flow { flex-direction: column; gap: 0; margin-top: 28px; padding-bottom: 48px; }
  .flow__node { padding: 0; gap: 2px; }
  .flow__node img { width: 160px; height: 128px; }
  .flow__name { font-size: 22px; line-height: 1.4; }
  .flow__desc, .flow__arrow { font-size: 13px; line-height: 20px; }
  .flow__arrow { width: auto; flex-direction: row; gap: 6px; padding: 6px 0; }
  .flow__arrow img { width: 40px; height: 28px; transform: rotate(90deg); }
  .merit { height: auto; margin: 0 0 20px; padding: 28px 20px 0; border-radius: 12px; }
  .merit__title { flex-direction: column; gap: 0; text-align: center; }
  .merit__num { font-size: 40px; line-height: 1.1; }
  .merit__label { font-size: 20px; line-height: 30px; }
  .merit__body { flex-direction: column; gap: 20px; margin-top: 16px; width: 100%; }
  .merit__text { width: 100%; gap: 20px; }
  .merit__text p { font-size: 14px; line-height: 26px; }
  .merit__text p br { display: none; }
  .btn-pill { width: 100%; max-width: 280px; height: 52px; font-size: 16px; }
  .merit__phone { align-self: center; width: 240px; height: 240px; margin-bottom: 0; }
  .merit__phone img { width: 240px; }

  /* Services */
  .services { padding: 48px 20px; }
  .eyebrow-en { font-size: 14px; line-height: 21px; letter-spacing: 2px; }
  .services__heading { gap: 12px; padding-top: 4px; }
  .services__heading h2 { font-size: 24px; line-height: 36px; }
  .view-more { padding-bottom: 6px; font-size: 13px; }
  .services__list { gap: 12px; margin-top: 24px; }
  .services__banner { border-radius: 10px; }
  .service-row { gap: 12px; padding: 16px 16px 16px 20px; font-size: 15px; line-height: 24px; letter-spacing: 0; }
  .service-row__icon { width: 36px; height: 36px; }
  .service-row__icon img { width: 18px; height: 18px; }

  /* Members */
  .members { padding: 48px 0; }
  .members__title { padding: 0 20px; font-size: 24px; line-height: 36px; }
  .members__scroller { margin-top: 24px; }
  .members__track { gap: 12px; padding: 0 20px; }
  .member-card { width: 220px; height: 130px; padding: 18px; border-radius: 16px; scroll-snap-align: start; }
  .member-card__school { min-height: 40px; font-size: 13px; line-height: 20px; }
  .member-card__name { font-size: 30px; line-height: 36px; }

  /* Pitch */
  .pitch { padding: 48px 20px 100px; }
  .pitch__title { font-size: 24px; line-height: 36px; margin-top: 6px; }
  .pitch__lead { margin-top: 10px; font-size: 14px; line-height: 24px; }
  .pitch__viewer { margin-top: 24px; }
  .pitch__viewer iframe { height: auto; aspect-ratio: 16 / 10; min-height: 0; }
  .skyline { height: 80px; }
  .skyline span { max-height: 70px; }

  /* Company */
  .company { padding: 48px 10px; }
  .company__card { padding: 28px 20px; border-radius: 12px; }
  .company__card h2 { font-size: 24px; line-height: 36px; }
  .company__list { margin-top: 20px; padding: 0; }
  .company__row { grid-template-columns: 1fr; gap: 2px; padding: 12px 4px; font-size: 14px; line-height: 22px; min-height: 0; }
  .company__row:last-child { min-height: 0; }
  .company__row dt { font-size: 12px; opacity: 0.75; }
  .company__row dd { word-break: break-all; }

  /* Footer */
  .footer { padding: 48px 20px 32px; }
  .footer__top { flex-direction: column; gap: 32px; }
  .footer__tagline { font-size: 14px; line-height: 1.7; }
  .footer__logo { width: 120px; height: auto; margin-top: 20px; }
  .footer__address { margin-top: 20px; }
  .footer__nav { grid-template-columns: 1fr 1fr; justify-items: start; column-gap: 20px; row-gap: 16px; }
  .footer__sns { justify-content: flex-start; margin-top: 28px; padding-bottom: 20px; }

  /* Detail pages */
  .page { padding: 80px 20px 48px; gap: 20px; }
  .page__title { font-size: 26px; line-height: 38px; }
  .page__lead { font-size: 14px; line-height: 24px; }
  .panel { padding: 22px 18px; gap: 12px; border-radius: 12px; }
  .panel h2 { font-size: 20px; line-height: 30px; }
  .panel h3 { font-size: 16px; line-height: 26px; }
  .panel h3.panel__sub { font-size: 18px; line-height: 28px; }
  .panel p { font-size: 14px; line-height: 24px; }
  .panel .btn-brand, .page > .btn-brand { width: 100% !important; min-width: 0; }
  .faq-q { font-size: 17px; line-height: 26px; }
  .case, .profile { flex-direction: column; align-items: stretch; gap: 16px; }
  .case__img { width: 100%; height: 160px; }
  .case__title { font-size: 19px; line-height: 28px; }
  .profile img { width: 100%; height: 240px; }
  .profile__name { font-size: 22px; line-height: 32px; }
  .info-table__row { grid-template-columns: 1fr; gap: 2px; padding: 12px; }
  .info-table__row dt { font-size: 12px; opacity: 0.75; }
  .info-table__row dd { font-size: 14px; line-height: 24px; word-break: break-all; }
}

/* ---------- Scroll reveal (IntersectionObserver で付与) ---------- */
.js-fade .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.9s cubic-bezier(0.22, 1, 0.36, 1), filter 0.8s ease, translate 0.3s ease, box-shadow 0.3s ease;
  transition-delay: var(--reveal-delay, 0s);
}
.js-fade .reveal[data-reveal="left"] { transform: translateX(-40px); }
.js-fade .reveal[data-reveal="right"] { transform: translateX(40px); }
.js-fade .reveal[data-reveal="zoom"] { transform: scale(0.92); }
.js-fade .reveal[data-reveal="blur"] { transform: translateY(16px); filter: blur(8px); }
.js-fade .reveal.is-visible { opacity: 1; transform: none; filter: none; }

/* ---------- Hero 入場アニメーション ---------- */
@keyframes rise-in { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes slide-in { from { opacity: 0; transform: translateX(-32px); clip-path: inset(0 100% 0 0); } to { opacity: 1; transform: none; clip-path: inset(0 0 0 0); } }
@keyframes pop-in { from { opacity: 0; transform: scale(0.85) translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes float-y { 0%, 100% { translate: 0 0; } 50% { translate: 0 -3px; } }
@keyframes shine { 0%, 70% { transform: translateX(-120%) skewX(-20deg); } 100% { transform: translateX(220%) skewX(-20deg); } }
@keyframes nudge-x { 0%, 100% { translate: 0 0; } 50% { translate: 8px 0; } }
@keyframes breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } }

.hero__title span { animation: slide-in 0.9s cubic-bezier(0.22, 1, 0.36, 1) both; }
.hero__title span:nth-child(1) { animation-delay: 0.15s; }
.hero__title span:nth-child(2) { animation-delay: 0.35s; }
.hero__register { position: relative; overflow: hidden; animation: rise-in 0.8s 0.6s cubic-bezier(0.22, 1, 0.36, 1) both; }
.hero__register::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 40%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  animation: none;
  opacity: 0;
  pointer-events: none;
}
.hero__business { animation: rise-in 0.8s 0.75s cubic-bezier(0.22, 1, 0.36, 1) both; }
.hero__photos img { animation: pop-in 0.9s cubic-bezier(0.22, 1, 0.36, 1) both, float-y 6s ease-in-out infinite; }
.hero__photo--3 { animation-delay: 0.3s, 1.2s !important; }
.hero__photo--1 { animation-delay: 0.45s, 1.4s !important; }
.hero__photo--2 { animation-delay: 0.6s, 2s !important; }
.hero__photo--4 { animation-delay: 0.75s, 2.4s !important; }
.hero__photo--5 { animation-delay: 0.9s, 1.8s !important; }

/* 補助モーション */
.flow__arrow img { animation: nudge-x 1.8s ease-in-out infinite; }
.flow__node:nth-of-type(3) img { animation: breathe 4s ease-in-out infinite; }
.btn-pill, .btn-brand, .service-row, .member-card, .problem__card, .merit { transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.2s; }
.problem__card:hover, .member-card:hover { translate: 0 -4px; box-shadow: 0 12px 28px rgba(33, 58, 137, 0.14); }
.service-row:hover .service-row__icon { transform: rotate(-8deg) scale(1.08); }
.service-row__icon { transition: transform 0.3s ease; }
.services__banner img { transition: transform 0.6s ease; }
.services__banner:hover img { transform: scale(1.02); }
.view-more img { transition: transform 0.3s ease; }
.view-more:hover img { transform: translateX(4px); }

@media (prefers-reduced-motion: reduce) {
  .js-fade .reveal { opacity: 1; transform: none; filter: none; transition: none; }
  .hero__title span, .hero__register, .hero__register::after, .hero__business, .hero__photos img,
  .flow__arrow img, .flow__node img { animation: none !important; }
}


/* ================= Interactive layer ================= */
/* カーソル追従の光（hero）: JS が --mx/--my/--hue を更新 */
.hero__glow {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s ease;
  background:
    radial-gradient(520px circle at var(--mx, 50%) var(--my, 50%), hsl(var(--hue, 300) 100% 72% / 0.75), transparent 60%),
    radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), hsl(calc(var(--hue, 300) + 60) 100% 85% / 0.6), transparent 70%);
  mix-blend-mode: soft-light;
}
.hero__panel:hover .hero__glow { opacity: 1; }
.hero__ring, .hero__stripe { transition: translate 0.6s cubic-bezier(0.22, 1, 0.36, 1); }
.hero__ring { translate: calc(var(--px, 0) * -18px) calc(var(--py, 0) * -12px); }
.hero__stripe { translate: calc(var(--px, 0) * 26px) calc(var(--py, 0) * 18px); }
.hero__photos { translate: calc(var(--px, 0) * -14px) calc(var(--py, 0) * -10px); transition: translate 0.6s cubic-bezier(0.22, 1, 0.36, 1); }

/* スクロール進捗バー */
.progress { position: fixed; top: 0; left: 0; z-index: 200; height: 3px; width: 100%; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, #ed008c, #ffb800, #3fd6c0, #4f7dff); pointer-events: none; }

/* カスタムカーソル（マウス環境のみ） */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  .cursor {
    display: block;
    position: fixed;
    top: 0; left: 0;
    z-index: 300;
    width: 34px; height: 34px;
    margin: -17px 0 0 -17px;
    border: 1.5px solid rgba(33, 58, 137, 0.6);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(var(--cx, -100px), var(--cy, -100px)) scale(var(--cs, 1));
    transition: width 0.25s, height 0.25s, background 0.25s, border-color 0.25s, opacity 0.3s;
    mix-blend-mode: multiply;
  }
  .cursor.is-hover { --cs: 1.8; background: rgba(255, 184, 0, 0.25); border-color: rgba(237, 0, 140, 0.6); }
  .cursor.is-dark { border-color: rgba(255, 255, 255, 0.8); mix-blend-mode: normal; }
}

/* マグネットボタン */
.magnetic { translate: var(--tx, 0) var(--ty, 0); transition: translate 0.5s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.2s, box-shadow 0.3s; }
@keyframes tremble { 0%, 100% { rotate: 0deg; } 20% { rotate: -1.2deg; } 40% { rotate: 1deg; } 60% { rotate: -0.6deg; } 80% { rotate: 0.3deg; } }
.magnetic:not(.hero__register):not(.hero__business):hover { animation: tremble 0.45s ease-in-out 1; }
/* 入場アニメ終了後に固定し、ホバーで入場アニメが再生されて消えるのを防ぐ */
.hero__register.is-entered, .hero__business.is-entered { animation: none; opacity: 1; }
.hero__register.is-entered:hover, .hero__business.is-entered:hover { animation: tremble 0.45s ease-in-out 1; }

/* 3D チルト + ハイライト */
.tilt { transform-style: preserve-3d; will-change: transform; }
.tilt.is-tilting { transition: transform 0.1s linear !important; }
.tilt::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
  background: radial-gradient(300px circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, 0.55), transparent 60%);
}
.problem__card, .member-card { position: relative; }
.tilt.is-tilting::after { opacity: 1; }
.tilt-soft { transition: box-shadow 0.3s, border-color 0.3s; }
.tilt-soft:hover { border-color: rgba(33, 58, 137, 0.4); box-shadow: 0 14px 30px rgba(33, 58, 137, 0.1); }

/* ヘッダー: 下スクロールで隠れ、上スクロールで出る */
.gnav { transition: translate 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s; }
.gnav.is-hidden:not(.is-open) { translate: 0 -130%; }
.gnav.is-scrolled { box-shadow: 0 8px 24px rgba(33, 58, 137, 0.1); }

/* ---------- 01–03 スティッキーセクション（iPhone 製品ページの「項目チップ＋端末固定」構成を参考） ---------- */
.steps { position: relative; height: 280vh; max-width: 1100px; margin: 0 auto; }
.steps__sticky { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; }
.steps__card {
  width: 100%;
  height: min(720px, calc(100vh - 80px));
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  padding: 0 72px;
  border-radius: 28px;
  background: #fbfbfd;
  color: #1d1d1f;
  overflow: hidden;
}
.steps__eyebrow { margin-bottom: 28px; font-size: 15px; font-weight: 700; color: #6e6e73; letter-spacing: 0.02em; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.chip {
  max-width: 440px;
  border-radius: 30px;
  background: #ededf0;
  overflow: hidden;
  transition: background 0.4s ease, border-radius 0.4s ease;
}
.chip__head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 26px 16px 18px;
  border: 0;
  background: none;
  font: inherit;
  font-size: 17px;
  font-weight: 700;
  color: #1d1d1f;
  cursor: pointer;
}
.chip__icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border: 1.5px solid #1d1d1f;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  transition: background 0.3s, border-color 0.3s, color 0.3s;
}
.chip__body {
  display: grid;
  grid-template-rows: 0fr;
  padding: 0 28px;
  opacity: 0;
  transition: grid-template-rows 0.5s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s ease, padding 0.5s ease;
}
.chip__body > * { min-height: 0; overflow: hidden; }
.chip.is-active { border-radius: 26px; background: #fff; box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04), 0 8px 24px rgba(29, 29, 31, 0.06); }
.chip.is-active .chip__icon { background: var(--brand); border-color: var(--brand); color: #fff; }
.chip.is-active .chip__body { grid-template-rows: 1fr; opacity: 1; padding: 0 28px 24px; }
.chip__inner { display: flex; flex-direction: column; gap: 10px; }
.chip__title { font-size: 24px; font-weight: 800; line-height: 1.35; color: #1d1d1f; letter-spacing: -0.01em; }
.chip__body p { font-size: 15px; line-height: 1.8; color: #424245; }
.chip__link { align-self: flex-start; min-height: 46px; margin-top: 6px; padding: 10px 24px; border-radius: 999px; font-size: 15px; }
.chip__link span { margin-left: 4px; }

.steps__phone { display: flex; justify-content: center; align-items: center; perspective: 1400px; }
/* 実機風: チタンの縁 + サイドボタン + 薄い反射、浮遊アニメなし */
.phone {
  position: relative;
  width: 300px;
  aspect-ratio: 9 / 19.3;
  padding: 10px;
  border-radius: 52px;
  background: linear-gradient(135deg, #e9eaee 0%, #b9bcc4 18%, #f4f5f7 40%, #a9adb6 62%, #dfe1e6 100%);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.7), inset 0 0 0 4px #1b1c20, 0 40px 80px -30px rgba(29, 29, 31, 0.45);
  transform: rotateY(var(--ry, -8deg)) rotateX(2deg);
  transition: transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}
.steps[data-index="1"] .phone { --ry: 0deg; }
.steps[data-index="2"] .phone { --ry: 8deg; }
.phone::before { content: ""; position: absolute; top: 24px; left: 50%; z-index: 3; width: 92px; height: 27px; margin-left: -46px; border-radius: 20px; background: #050505; }
.phone::after { content: ""; position: absolute; inset: 10px; z-index: 2; border-radius: 42px; pointer-events: none; background: linear-gradient(115deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0) 32%); }
.phone__btn { position: absolute; width: 4px; border-radius: 2px; background: linear-gradient(90deg, #8f939c, #d6d8de); }
.phone__btn--a { left: -3px; top: 18%; height: 34px; }
.phone__btn--b { left: -3px; top: 26%; height: 56px; }
.phone__btn--c { right: -3px; top: 24%; height: 86px; }
.phone__screen { position: relative; height: 100%; overflow: hidden; border-radius: 42px; background: #000; }
.phone__screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

/* 関係図: ホバーで浮く */
.flow__node img { transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1); }
.flow__node:hover img { transform: translateY(-8px) rotate(-3deg) scale(1.05); }

/* メンバー: 自動でゆっくり流れる（JS） / ホバーで止まる */
.member-card { transition: box-shadow 0.3s, translate 0.3s; }

@media (max-width: 900px) {
  .steps { height: 260svh; }
  .steps__sticky { height: 100svh; padding-top: 56px; align-items: flex-start; }
  .steps__card { grid-template-columns: 1fr; grid-template-rows: auto 1fr; height: calc(100svh - 72px); padding: 22px 16px 0; border-radius: 20px; gap: 10px; }
  .steps__eyebrow { margin-bottom: 12px; font-size: 13px; }
  .chips { gap: 8px; }
  .chip { max-width: none; width: 100%; }
  .chip__head { padding: 10px 18px 10px 12px; font-size: 15px; }
  .chip__icon { width: 22px; height: 22px; }
  .chip.is-active .chip__body { padding: 0 18px 16px; }
  .chip__title { font-size: 17px; }
  .chip__body p { font-size: 13px; line-height: 1.7; }
  .steps__phone { align-self: stretch; overflow: hidden; align-items: flex-start; padding-top: 8px; }
  .phone { width: min(200px, 52vw); transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__panel { animation: none; }
  .phone { animation: none; }
  .step { transition: opacity 0.2s; transform: none; filter: none; }
}

/* 01–03: スクロール中は画面いっぱいに表示 */
.steps { max-width: none; width: 100vw; margin-left: calc(50% - 50vw); }
.steps__sticky { align-items: stretch; }
.steps__card { height: 100vh; border-radius: 0; padding: 80px max(72px, calc((100vw - 1200px) / 2)) 40px; }
.steps__phone .phone { width: min(330px, 34vh); }
@media (max-width: 900px) {
  .steps__sticky { padding-top: 0; }
  .steps__card { height: 100svh; border-radius: 0; padding: 64px 20px 0; }
  .steps__phone .phone { width: min(210px, 52vw); }
}


/* ================= Hero v2（Sales Navi のメインビジュアル構成を参考に、隣の高専生のブランド色で再設計） ================= */
.hero { padding: 104px 16px 0; }
.hero__panel {
  height: 640px;
  border-radius: 16px;
  background: #0b4fae;
  background: linear-gradient(120deg in oklch, var(--hero-c1) 0%, var(--hero-c2) 55%, var(--hero-c3) 100%);
  animation: hero-tide-blue 10s ease-in-out infinite;
}
@keyframes hero-tide-blue {
  0%, 100% { --hero-c1: #0a3f9c; --hero-c2: #1468d8; --hero-c3: #2a9cf0; }
  33% { --hero-c1: #12358f; --hero-c2: #1f5fe0; --hero-c3: #5a7cf6; }
  66% { --hero-c1: #073f8a; --hero-c2: #0f7ad6; --hero-c3: #29c0e8; }
}
.hero__panel::before { background: radial-gradient(circle, rgba(120, 200, 255, 0.55) 0%, rgba(120, 200, 255, 0) 70%); opacity: 0.5; }
.hero__panel::after { background: radial-gradient(circle, rgba(120, 140, 255, 0.5) 0%, rgba(120, 140, 255, 0) 70%); opacity: 0.45; }
.hero__glow { mix-blend-mode: screen; opacity: 0; }
.hero__panel:hover .hero__glow { opacity: 0.45; }
.hero__body { top: 50%; left: max(6%, calc(50% - 560px)); transform: translateY(-50%); }
.hero__title { gap: 0; margin-bottom: 18px; }
.hero__title span {
  padding: 0;
  background: none;
  box-shadow: none;
  color: #fff;
  font-size: 46px;
  line-height: 1.35;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 18px rgba(4, 30, 90, 0.25);
}
.hero__title em { font-style: normal; font-size: 1.32em; letter-spacing: 0; }
.hero__lead { margin-bottom: 30px; color: rgba(255, 255, 255, 0.92); font-size: 15px; font-weight: 700; line-height: 2; letter-spacing: 0.05em; }
.hero__register {
  width: auto;
  min-height: 60px;
  padding: 14px 34px 14px 26px;
  gap: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, #5ddaff 0%, #2fb6ff 45%, #0a8cff 100%);
  box-shadow: 0 12px 28px rgba(0, 40, 120, 0.3);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.btn-ico { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: rgba(255, 255, 255, 0.25); font-size: 14px; }
.hero__business {
  width: auto;
  height: 54px;
  margin-top: 14px;
  padding: 0 32px;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 16px;
  font-weight: 700;
  backdrop-filter: blur(6px);
}
.hero__business:hover { background: rgba(255, 255, 255, 0.18); }
.hero__photos { left: auto; right: max(4%, calc(50% - 600px)); top: 50%; translate: calc(var(--px, 0) * -14px) calc(-50% + var(--py, 0) * -10px); }
.hero__photos img { border-radius: 6px; box-shadow: 0 18px 40px rgba(2, 25, 80, 0.35); }

/* ---------- 自作の 3D 風シェイプ（半透明の板・リング・既存3D素材） ---------- */
.shapes { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.shape { position: absolute; display: block; }
.shape--slab {
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.04));
  box-shadow: inset 1px 1px 0 rgba(255, 255, 255, 0.45), 24px 30px 60px rgba(0, 20, 80, 0.18);
  backdrop-filter: blur(2px);
}
.shape--ring { border-radius: 50%; border: 38px solid rgba(255, 255, 255, 0.12); box-shadow: inset 6px 6px 16px rgba(255, 255, 255, 0.18), 12px 18px 40px rgba(0, 20, 80, 0.15); }
.shape--img { opacity: 0.35; filter: blur(1px) saturate(0.6); }
@keyframes drift1 { 0%, 100% { translate: 0 0; rotate: var(--r, 0deg); } 50% { translate: 18px -22px; rotate: calc(var(--r, 0deg) + 6deg); } }
@keyframes drift2 { 0%, 100% { translate: 0 0; rotate: var(--r, 0deg); } 50% { translate: -20px 16px; rotate: calc(var(--r, 0deg) - 5deg); } }
.shapes--hero .s1 { --r: -28deg; left: 34%; top: -120px; width: 260px; height: 520px; animation: drift1 14s ease-in-out infinite; }
.shapes--hero .s2 { --r: 22deg; right: -80px; bottom: -160px; width: 420px; height: 300px; animation: drift2 16s ease-in-out infinite; }
.shapes--hero .s3 { left: -120px; bottom: -180px; width: 380px; height: 380px; animation: drift1 18s ease-in-out infinite; }
.shapes--hero .s4 { --r: -18deg; left: 40%; bottom: 30px; width: 170px; animation: drift2 12s ease-in-out infinite; }
.shapes--hero .s5 { right: 36%; top: 20px; width: 150px; opacity: 0.22; animation: drift1 15s ease-in-out infinite; }

.problem { position: relative; }
.problem > *:not(.shapes) { position: relative; z-index: 1; }
.problem .problem__arc { position: relative; z-index: 0; }
.shapes--problem .shape--slab { background: linear-gradient(145deg, rgba(33, 120, 230, 0.16), rgba(33, 120, 230, 0.02)); box-shadow: inset 1px 1px 0 rgba(255, 255, 255, 0.8), 20px 26px 50px rgba(33, 58, 137, 0.1); }
.shapes--problem .shape--ring { border-color: rgba(33, 120, 230, 0.08); }
.shapes--problem .p1 { --r: -24deg; left: -90px; top: 40px; width: 220px; height: 420px; animation: drift1 16s ease-in-out infinite; }
.shapes--problem .p2 { --r: 30deg; right: -60px; top: 180px; width: 260px; height: 180px; animation: drift2 14s ease-in-out infinite; }
.shapes--problem .p3 { --r: 12deg; right: 6%; top: 10px; width: 140px; opacity: 0.18; animation: drift1 13s ease-in-out infinite; }
.shapes--problem .p4 { left: 8%; bottom: 360px; width: 200px; height: 200px; border-width: 24px; animation: drift2 18s ease-in-out infinite; }

/* ---------- 01–03 の背景は隣の高専生のブランド色に ---------- */
.steps__card { background: var(--brand); color: #fff; }
.steps__eyebrow { color: rgba(255, 255, 255, 0.7); }
.chip { background: rgba(255, 255, 255, 0.1); }
.chip__head { color: #fff; }
.chip__icon { border-color: rgba(255, 255, 255, 0.8); }
.chip.is-active { background: #fff; box-shadow: 0 20px 50px rgba(0, 10, 50, 0.3); }
.chip.is-active .chip__head { color: #1d1d1f; }
.phone { box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.7), inset 0 0 0 4px #1b1c20, 0 50px 90px -30px rgba(0, 0, 0, 0.6); }

@media (max-width: 900px) {
  .hero { padding: 58px 10px 0; }
  .hero__panel { height: auto; }
  .hero__body { top: 0; left: 0; transform: none; }
  .hero__title span { font-size: 30px; }
  .hero__lead { font-size: 13px; line-height: 1.9; margin-bottom: 22px; }
  .hero__register { width: 100%; font-size: 15px; justify-content: center; }
  .hero__business { width: 100%; justify-content: center; }
  .hero__photos { right: 0; translate: none; top: 0; }
  .shapes--hero .s1 { left: 55%; width: 140px; height: 300px; }
  .shapes--hero .s2 { width: 220px; height: 160px; }
  .shapes--hero .s4, .shapes--hero .s5 { display: none; }
  .shapes--problem .p2, .shapes--problem .p3 { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .shape { animation: none !important; }
}


/* ================= Branding pass ================= */
.progress { display: none !important; }

/* Hero: 揺れ・浮遊・視差をなくし、ブランド色のグラデーション＋カーソル追従の光のみ */
.hero__panel {
  animation: none;
  background:
    radial-gradient(120% 90% at 85% 10%, rgba(135, 201, 234, 0.55) 0%, rgba(135, 201, 234, 0) 55%),
    radial-gradient(90% 80% at 10% 100%, rgba(147, 150, 244, 0.45) 0%, rgba(147, 150, 244, 0) 60%),
    linear-gradient(135deg, #172d74 0%, #213a89 45%, #2c4fae 100%);
}
.hero__panel::before, .hero__panel::after { display: none; }
.hero__glow {
  opacity: 0.55;
  mix-blend-mode: screen;
  transition: opacity 0.6s ease;
  background:
    radial-gradient(560px circle at var(--mx, 70%) var(--my, 30%), rgba(200, 240, 234, 0.42), transparent 62%),
    radial-gradient(320px circle at var(--mx, 70%) var(--my, 30%), rgba(147, 150, 244, 0.45), transparent 70%);
}
.hero__panel:hover .hero__glow { opacity: 1; }
.hero__photos { translate: 0 -50% !important; transition: none; }
.hero__photos img { animation: pop-in 0.9s cubic-bezier(0.22, 1, 0.36, 1) both !important; }
.hero__photo--3 { animation-delay: 0.3s !important; }
.hero__photo--1 { animation-delay: 0.45s !important; }
.hero__photo--2 { animation-delay: 0.6s !important; }
.hero__photo--4 { animation-delay: 0.75s !important; }
.hero__photo--5 { animation-delay: 0.9s !important; }
.shapes--hero .shape { animation: none !important; translate: none !important; }
.shapes--hero .shape--img { display: none; }
.shapes--hero .shape--slab { background: linear-gradient(145deg, rgba(200, 240, 234, 0.22), rgba(200, 240, 234, 0.02)); }
.hero__register, .hero__business { animation-name: rise-in !important; }
.hero__register.is-entered, .hero__business.is-entered, .hero__register.is-entered:hover, .hero__business.is-entered:hover { animation: none !important; }
.hero__register { background: linear-gradient(90deg, #ffffff 0%, #eaf6fc 100%); color: var(--brand); box-shadow: 0 14px 30px rgba(6, 20, 70, 0.35); }
.hero__register .btn-ico { background: var(--brand); color: #fff; }
.hero__register:hover { background: #fff; box-shadow: 0 16px 36px rgba(6, 20, 70, 0.45); }
.hero__business:hover { background: rgba(255, 255, 255, 0.16); }

/* 参加するメリット: ステップごとに 3D 画像が切り替わる */
.steps__card { position: relative; }
.steps__art { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.steps__intro, .steps__phone { position: relative; z-index: 1; }
.art {
  position: absolute;
  right: 4%;
  bottom: 6%;
  width: min(380px, 30vw);
  opacity: 0;
  transform: translateY(30px) scale(0.92);
  transition: opacity 0.8s ease, transform 1s cubic-bezier(0.22, 1, 0.36, 1);
  filter: drop-shadow(0 30px 40px rgba(0, 10, 50, 0.45));
}
.steps:not([data-index]) .art--0, .steps[data-index="0"] .art--0,
.steps[data-index="1"] .art--1, .steps[data-index="2"] .art--2 { opacity: 0.9; transform: none; }
.art--arrow { left: 38%; right: auto; top: 10%; bottom: auto; width: min(160px, 12vw); opacity: 0.5; transform: rotate(-20deg); }
.steps[data-index="1"] .art--arrow { transform: rotate(0deg) translateX(20px); }
.steps[data-index="2"] .art--arrow { transform: rotate(20deg) translateX(40px); }
@media (max-width: 900px) {
  .art { right: -20px; bottom: auto; top: 40%; width: 150px; opacity: 0; }
  .steps:not([data-index]) .art--0, .steps[data-index="0"] .art--0,
  .steps[data-index="1"] .art--1, .steps[data-index="2"] .art--2 { opacity: 0.5; }
  .art--arrow { display: none; }
}
@media (min-width: 901px) {
  .art { right: auto; left: calc(50% - 170px); bottom: 4%; width: min(300px, 22vw); }
  .art--arrow { left: calc(50% - 60px); top: 14%; }
}

/* 3D 画像: Sales Navi の背景のように大きく・薄く（主役の邪魔をしない） */
.art { left: auto !important; right: -6% !important; bottom: -12% !important; top: auto !important; width: min(820px, 62vw) !important; filter: blur(2px) saturate(0.7) brightness(1.15); mix-blend-mode: screen; }
.steps:not([data-index]) .art--0, .steps[data-index="0"] .art--0,
.steps[data-index="1"] .art--1, .steps[data-index="2"] .art--2 { opacity: 0.14 !important; }
.art--arrow { left: 22% !important; right: auto !important; top: -6% !important; bottom: auto !important; width: min(520px, 40vw) !important; opacity: 0.08 !important; }
.shapes--problem .shape--img { width: 520px; opacity: 0.06; filter: blur(2px); }
@media (max-width: 900px) {
  .art { width: 120vw !important; right: -40% !important; bottom: -8% !important; }
  .steps:not([data-index]) .art--0, .steps[data-index="0"] .art--0,
  .steps[data-index="1"] .art--1, .steps[data-index="2"] .art--2 { opacity: 0.1 !important; }
}

/* カーソル追従の光を小さく */
.hero__glow {
  background:
    radial-gradient(200px circle at var(--mx, 70%) var(--my, 30%), rgba(200, 240, 234, 0.4), transparent 65%),
    radial-gradient(110px circle at var(--mx, 70%) var(--my, 30%), rgba(147, 150, 244, 0.45), transparent 70%) !important;
}


/* ================= Hero v3: Sales Navi 型レイアウトの隣の高専生版 ================= */
.hero__panel {
  height: 680px;
  border-radius: 16px;
  background: linear-gradient(105deg, #18307a 0%, #213a89 40%, #2c56b8 100%);
}
.hero__bg { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.hero__glow { display: none !important; }
.hero__body { left: max(7%, calc(50% - 560px)); }
.hero__title span { font-size: 50px; line-height: 1.32; }
.hero__title em { font-size: 1.3em; }
.hero__lead { font-size: 16px; line-height: 2.15; margin-bottom: 34px; }
.hero__photos { right: max(5%, calc(50% - 600px)); }
@media (max-width: 900px) {
  .hero__panel { height: auto; }
  .hero__title span { font-size: 30px; }
  .hero__lead { font-size: 13px; line-height: 1.9; }
}

/* ---------- 双方向に回転する 3D 矢印 ---------- */
.flow__arrow--3d { width: 200px; gap: 14px; }
.a3d__labels { position: relative; width: 200px; height: 30px; }
.a3d__label {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 17px; font-weight: 700; white-space: nowrap; color: #fff;
  animation: a3d-fwd 7s ease-in-out infinite;
}
.a3d__label--back { color: #c8f0ea; animation-name: a3d-back; }
.a3d { width: 170px; height: 90px; perspective: 700px; }
.a3d__spin { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; animation: a3d-spin 7s ease-in-out infinite; }
/* 矢印の形（clip-path）を 12 枚重ねて厚みを出す */
.a3d__layer, .a3d__face {
  position: absolute; inset: 0;
  clip-path: polygon(0 34%, 62% 34%, 62% 6%, 100% 50%, 62% 94%, 62% 66%, 0 66%);
}
.a3d__layer { background: linear-gradient(180deg, #8fa3d8, #5f78c2); transform: translateZ(calc(var(--z) * -1.6px)); }
.a3d__face { background: linear-gradient(180deg, #ffffff 0%, #e6ecfb 55%, #c4d0f1 100%); transform: translateZ(1px); box-shadow: inset 0 2px 0 #fff; }
@keyframes a3d-spin {
  0%, 38% { transform: rotateX(-14deg) rotateY(-18deg); }
  50%, 88% { transform: rotateX(-14deg) rotateY(162deg); }
  100% { transform: rotateX(-14deg) rotateY(342deg); }
}
@keyframes a3d-fwd { 0%, 38% { opacity: 1; transform: none; } 44%, 94% { opacity: 0; transform: translateY(-6px); } 100% { opacity: 1; transform: none; } }
@keyframes a3d-back { 0%, 44% { opacity: 0; transform: translateY(6px); } 50%, 88% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; transform: translateY(6px); } }
.flow__arrow--3d:nth-of-type(4) .a3d__spin, .flow__arrow--3d:nth-of-type(4) .a3d__label { animation-delay: -1.2s; }
@media (max-width: 900px) {
  .flow__arrow--3d { width: auto; flex-direction: column; gap: 6px; padding: 10px 0; }
  .a3d { width: 110px; height: 60px; transform: rotate(90deg); }
  .a3d__labels { width: 240px; }
  .a3d__label { font-size: 14px; }
  .a3d__label--fwd::after { content: ""; }
}
@media (prefers-reduced-motion: reduce) {
  .a3d__spin { animation: none; transform: rotateX(-14deg) rotateY(-18deg); }
  .a3d__label--fwd { animation: none; opacity: 1; }
  .a3d__label--back { animation: none; opacity: 0; }
}
@media (min-width: 901px) {
  .flow { max-width: 1240px; gap: 8px; }
  .flow__node { flex: 1 1 260px; min-width: 240px; }
  .flow__node img { width: 260px; height: 208px; }
  .flow__desc { white-space: nowrap; }
}
.a3d__label--fwd::after { content: " →"; }
.a3d__label--back::before { content: "← "; }
@media (max-width: 900px) {
  .a3d__label--fwd::after { content: " ↓"; }
  .a3d__label--back::before { content: "↑ "; }
}

/* 矢印: 止まらず一定速度で回転。正面(右)向きの間は順方向、裏(左)向きの間は逆方向の文字 */
.a3d__spin { animation: a3d-turn 6s linear infinite; }
@keyframes a3d-turn { from { transform: rotateY(0deg); } to { transform: rotateY(360deg); } }
.a3d__label { animation-duration: 6s; animation-timing-function: linear; }
@keyframes a3d-fwd { 0%, 22% { opacity: 1; } 27%, 73% { opacity: 0; } 78%, 100% { opacity: 1; } }
@keyframes a3d-back { 0%, 22% { opacity: 0; } 27%, 73% { opacity: 1; } 78%, 100% { opacity: 0; } }
.flow__arrow--3d:nth-of-type(4) .a3d__spin, .flow__arrow--3d:nth-of-type(4) .a3d__label { animation-delay: -1.5s; }
@media (max-width: 900px) {
  .flow__arrow--3d { padding: 14px 0; gap: 10px; }
  .a3d { width: 60px; height: 110px; display: grid; place-items: center; transform: none; }
  .a3d__spin { width: 110px; height: 60px; flex: none; }
  .a3d__rot { transform: rotate(90deg); }
}
@media (prefers-reduced-motion: reduce) {
  .a3d__spin { animation: none; transform: none; }
}

/* 新規登録ボタンの＋を中央に（CSS で描画） */
.btn-ico { position: relative; font-size: 0; }
.btn-ico::before, .btn-ico::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 2px; margin: -1px 0 0 -5px; border-radius: 1px; background: currentColor; }
.btn-ico::after { transform: rotate(90deg); }
.a3d__rot { width: 100%; height: 100%; transform-style: preserve-3d; }
@media (max-width: 900px) { .a3d__rot { width: 110px; height: 60px; flex: none; } .a3d__spin { width: 100%; height: 100%; } }
@media (max-width: 900px) { .hero__photos { translate: none !important; } }
@keyframes a3d-fwd { 0%, 24% { opacity: 1; } 25%, 75% { opacity: 0; } 76%, 100% { opacity: 1; } }
@keyframes a3d-back { 0%, 24% { opacity: 0; } 25.5%, 74.5% { opacity: 1; } 75.5%, 100% { opacity: 0; } }

/* 3D 矢印: three.js で書き出した 48 コマを順に表示（ラベルと同じ 6s の時計で同期、2 本とも同じ角度） */
.a3d { width: 170px; height: 100px; perspective: none; }
.a3d__rot { width: 170px; height: 100px; }
.a3d__sprite {
  display: block;
  width: 170px;
  height: 100px;
  background: url("assets/lp/arrow-3d-sprite.png") 0 0 / 8160px 100px no-repeat;
  animation: a3d-frames 6s steps(48) infinite;
}
@keyframes a3d-frames { from { background-position: 0 0; } to { background-position: -8160px 0; } }
.flow__arrow--3d .a3d__label, .flow__arrow--3d:nth-of-type(4) .a3d__label { animation-delay: 0s; }
@media (max-width: 900px) {
  .a3d { width: 100px; height: 150px; display: grid; place-items: center; }
  .a3d__rot { width: 150px; height: 88px; transform: rotate(90deg); }
  .a3d__sprite { width: 150px; height: 88px; background-size: 7200px 88px; animation-name: a3d-frames-sm; }
  @keyframes a3d-frames-sm { from { background-position: 0 0; } to { background-position: -7200px 0; } }
}
@media (prefers-reduced-motion: reduce) { .a3d__sprite { animation: none; } }
.steps { width: calc(100% + 32px); margin-left: -16px; margin-right: -16px; }
@media (max-width: 900px) { .steps { width: calc(100% + 20px); margin-left: -10px; margin-right: -10px; } }
html, body { overflow-x: clip; }
@media (max-width: 900px) {
  .js-fade .reveal[data-reveal="right"]:not(.is-visible), .js-fade .reveal[data-reveal="left"]:not(.is-visible) { transform: translateY(24px); }
}

/* ===== 検証で見つかった不具合の修正 ===== */
/* 1) 小さい画面で新規登録ボタンの文字がはみ出す */
@media (max-width: 900px) {
  .hero__body { left: 0 !important; right: auto; width: 100%; max-width: 560px; }
  .hero__register { white-space: normal; text-align: center; line-height: 1.4; padding: 12px 18px; font-size: clamp(13px, 4.1vw, 16px); gap: 8px; }
  .hero__register .btn-ico { flex-shrink: 0; }
  .hero__business { font-size: clamp(13px, 4.1vw, 16px); }
}
/* 2) 901〜1180px で関係図がはみ出す */
@media (min-width: 901px) and (max-width: 1180px) {
  .flow { gap: 0; }
  .flow__node { min-width: 0; flex: 1 1 0; padding: 0 6px; }
  .flow__node img { width: 100%; max-width: 200px; height: auto; aspect-ratio: 5 / 4; }
  .flow__name { font-size: 26px; }
  .flow__desc { font-size: 15px; white-space: normal; }
  .flow__arrow--3d { width: 150px; flex-shrink: 0; }
  .a3d, .a3d__rot, .a3d__sprite { width: 136px; height: 80px; }
  .a3d__sprite { background-size: 6528px 80px; animation-name: a3d-frames-md; }
  .a3d__labels { width: 150px; }
  .a3d__label { font-size: 13px; white-space: normal; text-align: center; line-height: 1.3; }
}
@keyframes a3d-frames-md { from { background-position: 0 0; } to { background-position: -6528px 0; } }

/* リアルタイム 3D 矢印（canvas） */
.a3d__canvas { display: block; width: 100%; height: 100%; }
.a3d-live .a3d__label { transition: opacity 0.12s linear; }
/* ラベル横の矢印記号は不要（3D 矢印で向きが分かるため） */
.a3d__label--fwd::after, .a3d__label--back::before { content: none !important; }
.a3d__label--back { color: #fff; }

/* PC 幅では「隣の高専生 が解決します！」を常に 1 行に。画面が狭いほど両方を同じ比率で縮める */
@media (min-width: 901px) {
  .solution__heading { flex-wrap: nowrap; gap: clamp(12px, 2.2vw, 31px); }
  .solution__logo { width: min(680px, 47vw); flex-shrink: 1; }
  .solution__suffix { width: min(573px, 39vw); height: auto; flex-shrink: 1; }
}

/* ボタン配色: 新規登録はブランドのミント→スカイ→ラベンダー、法人向けは黒 */
.hero__register {
  background: linear-gradient(100deg, #5fd8c8 0%, #4aa9f0 48%, #8c7cf6 100%);
  color: #fff;
  box-shadow: 0 14px 32px rgba(10, 20, 80, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  text-shadow: 0 1px 2px rgba(10, 30, 90, 0.25);
}
.hero__register:hover { background: linear-gradient(100deg, #6ee3d3 0%, #5ab4f5 48%, #9a8bf8 100%); box-shadow: 0 16px 38px rgba(10, 20, 80, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.4); }
.hero__register .btn-ico { background: #fff; color: #3f7fe0; }
.hero__business { background: #141414; border-color: #141414; color: #fff; backdrop-filter: none; box-shadow: 0 12px 26px rgba(0, 0, 0, 0.3); }
.hero__business:hover { background: #000; border-color: #000; }

/* 新規登録: 紺の補色にあたる暖色（コーラル→オレンジ→アンバー）。文字は読みやすさのため紺 */
.hero__register { background: linear-gradient(100deg, #ff7a6b 0%, #ff9a3d 55%, #ffc23d 100%); color: #14245e; text-shadow: none; box-shadow: 0 14px 32px rgba(255, 120, 60, 0.35), 0 6px 16px rgba(8, 18, 70, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.45); }
.hero__register:hover { background: linear-gradient(100deg, #ff8a7c 0%, #ffa94f 55%, #ffcc55 100%); }
.hero__register .btn-ico { background: #14245e; color: #fff; }

/* 新規登録: Figma 元デザインのピンク→コーラル→アンバー、白文字 */
.hero__register { background: linear-gradient(139.6deg, #ed008c 6.17%, #f4384f 48.25%, #ffb800 93.83%); color: #fff; text-shadow: none; box-shadow: 0 16px 24px rgba(237, 0, 140, 0.18), 0 10px 20px rgba(255, 184, 0, 0.2); }
.hero__register:hover { background: linear-gradient(139.6deg, #f21796 6.17%, #f6495f 48.25%, #ffc020 93.83%); }
.hero__register .btn-ico { background: #fff; color: #ed008c; }

/* 見出しの「高専生」をロゴの書体（画像）に置き換え */
.hero__logo-text { display: inline-block; height: 1.25em; width: auto; margin-right: 0.12em; vertical-align: -0.16em; filter: drop-shadow(0 2px 14px rgba(4, 30, 90, 0.25)); }
.hero__logo-text { height: 1.42em; vertical-align: -0.22em; }

/* 「高専生」をさらに大きく */
.hero__logo-text { height: 1.85em; vertical-align: -0.34em; margin-right: 0.08em; }

/* ボタン配色を白（新規登録）＋半透明の白枠（法人向け）に戻す */
.hero__register { position: relative; overflow: visible; background: linear-gradient(90deg, #ffffff 0%, #eaf6fc 100%); color: var(--brand); text-shadow: none; box-shadow: 0 14px 30px rgba(6, 20, 70, 0.35); }
.hero__register:hover { background: #fff; box-shadow: 0 16px 36px rgba(6, 20, 70, 0.45); }
.hero__register .btn-ico { background: var(--brand); color: #fff; }
.hero__business { background: rgba(255, 255, 255, 0.08); border: 1.5px solid rgba(255, 255, 255, 0.85); color: #fff; box-shadow: none; backdrop-filter: blur(6px); }
.hero__business:hover { background: rgba(255, 255, 255, 0.18); border-color: #fff; }

/* 注目アクション: 左右の斜め上に 3 本線が「ピロン」と出る */
.burst { position: absolute; top: -4px; width: 0; height: 0; pointer-events: none; }
.burst--l { left: 14px; }
.burst--r { right: 14px; }
.burst i {
  position: absolute;
  bottom: 0; left: -2px;
  width: 4px; height: 16px;
  border-radius: 2px;
  background: #ffd35c;
  transform-origin: 50% 100%;
  opacity: 0;
  animation: burst-pop 3.2s cubic-bezier(0.22, 1, 0.36, 1) 1.4s infinite;
}
.burst--l i:nth-child(1) { rotate: -70deg; }
.burst--l i:nth-child(2) { rotate: -42deg; }
.burst--l i:nth-child(3) { rotate: -14deg; }
.burst--r i:nth-child(1) { rotate: 14deg; }
.burst--r i:nth-child(2) { rotate: 42deg; }
.burst--r i:nth-child(3) { rotate: 70deg; }
@keyframes burst-pop {
  0% { opacity: 0; transform: translateY(-4px) scaleY(0.2); }
  6% { opacity: 1; transform: translateY(-10px) scaleY(1); }
  14% { opacity: 0; transform: translateY(-18px) scaleY(0.4); }
  100% { opacity: 0; transform: translateY(-18px) scaleY(0.4); }
}
@media (prefers-reduced-motion: reduce) { .burst { display: none; } }
.burst i { width: 4px; height: 20px; } .burst--l { left: 18px; } .burst--r { right: 18px; }

/* 注目アクション: 手袋の指カーソルがボタンを「ポチッ」と押す */
.burst { display: none !important; }
.tap { position: absolute; right: 18%; bottom: -4px; width: 0; height: 0; pointer-events: none; }
.tap__hand {
  position: absolute;
  left: -14px; top: -10px;
  width: 44px; height: auto;
  filter: drop-shadow(0 6px 10px rgba(6, 20, 70, 0.35));
  transform-origin: 30% 5%;
  opacity: 0;
  animation: tap-hand 3.6s cubic-bezier(0.22, 1, 0.36, 1) 1.6s infinite;
}
.tap__ripple {
  position: absolute;
  left: -16px; top: -26px;
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 3px solid rgba(255, 184, 0, 0.9);
  opacity: 0;
  animation: tap-ripple 3.6s ease-out 1.6s infinite;
}
@keyframes tap-hand {
  0% { opacity: 0; transform: translate(34px, 40px) rotate(-12deg); }
  18% { opacity: 1; transform: translate(0, 0) rotate(-12deg); }
  26% { opacity: 1; transform: translate(0, 0) rotate(-12deg) scale(1); }
  31% { opacity: 1; transform: translate(-2px, -3px) rotate(-12deg) scale(0.86); }
  37% { opacity: 1; transform: translate(0, 0) rotate(-12deg) scale(1); }
  52% { opacity: 1; transform: translate(0, 0) rotate(-12deg); }
  66%, 100% { opacity: 0; transform: translate(34px, 40px) rotate(-12deg); }
}
@keyframes tap-ripple {
  0%, 30% { opacity: 0; transform: scale(0.3); }
  32% { opacity: 1; transform: scale(0.5); }
  50% { opacity: 0; transform: scale(1.8); }
  100% { opacity: 0; transform: scale(1.8); }
}
/* 押した瞬間にボタン自体も少し沈む */
.hero__register.is-entered { animation: tap-press 3.6s ease 1.6s infinite !important; }
@keyframes tap-press { 0%, 30% { transform: none; } 32% { transform: scale(0.97); } 38%, 100% { transform: none; } }
@media (prefers-reduced-motion: reduce) { .tap { display: none; } .hero__register.is-entered { animation: none !important; } }
.tap__hand { max-width: none; }
.tap__hand { width: 56px; left: -18px; top: -12px; } .tap__ripple { width: 40px; height: 40px; left: -20px; top: -30px; }

/* 手のカーソル: Font Awesome Free（CC BY 4.0）。押したら波紋ではなくボタン自体が少しだけ反応 */
.tap__ripple { display: none !important; }
.tap__hand { width: 40px; left: -12px; top: -8px; transform-origin: 35% 8%; }
@keyframes tap-press {
  0%, 30% { transform: none; box-shadow: 0 14px 30px rgba(6, 20, 70, 0.35); }
  32% { transform: translateY(2px) scale(0.985); box-shadow: 0 6px 14px rgba(6, 20, 70, 0.3); }
  40%, 100% { transform: none; box-shadow: 0 14px 30px rgba(6, 20, 70, 0.35); }
}
/* 指が当たる瞬間（31%）とボタンが沈む瞬間をそろえる */
@keyframes tap-press {
  0%, 29% { transform: none; box-shadow: 0 14px 30px rgba(6, 20, 70, 0.35); }
  31% { transform: translateY(2px) scale(0.985); box-shadow: 0 6px 14px rgba(6, 20, 70, 0.3); }
  37%, 100% { transform: none; box-shadow: 0 14px 30px rgba(6, 20, 70, 0.35); }
}

/* 矢印と文字を大きく。文字も矢印と一緒に回る 3D 文字に（JS が rotateY を設定） */
.flow__arrow--3d { perspective: 600px; }
.a3d__labels { transform-style: preserve-3d; backface-visibility: hidden; will-change: transform; }
.a3d__label {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #fff;
  text-shadow: 1px 1px 0 #d6def5, 2px 2px 0 #b9c6ec, 3px 3px 0 #9fb0e2, 4px 4px 0 #8597d4, 5px 5px 8px rgba(5, 15, 60, 0.45);
}
@media (min-width: 1181px) {
  .flow { max-width: 1320px; }
  .flow__arrow--3d { width: 260px; }
  .a3d__labels { width: 260px; height: 38px; }
  .a3d, .a3d__rot { width: 240px; height: 140px; }
}
@media (min-width: 901px) and (max-width: 1180px) {
  .a3d__label { font-size: 16px; }
}
@media (max-width: 900px) {
  .a3d__label { font-size: 18px; }
  .a3d { width: 130px; height: 200px; }
  .a3d__rot { width: 200px; height: 118px; }
}
@media (max-width: 900px) { .flow__arrow--3d { gap: 16px; } }

/* 3D 文字をキャンバス内に描くので、HTML のラベルは読み上げ用にだけ残す */
.a3d-text3d .a3d__labels { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; transform: none !important; }
.a3d-text3d .flow__arrow--3d { gap: 0; }
@media (min-width: 1181px) { .a3d-text3d .a3d, .a3d-text3d .a3d__rot { width: 280px; height: 200px; } .a3d-text3d .flow__arrow--3d { width: 280px; } }
@media (min-width: 901px) and (max-width: 1180px) { .a3d-text3d .a3d, .a3d-text3d .a3d__rot { width: 190px; height: 136px; } .a3d-text3d .flow__arrow--3d { width: 190px; } }
@media (max-width: 900px) {
  .a3d-text3d .a3d { width: 300px; max-width: 100%; height: 150px; }
  .a3d-text3d .a3d__rot { width: 100%; height: 150px; transform: none; }
}

/* 新規登録: Figma 元デザインのピンク→コーラル→アンバー（白文字）に戻す */
.hero__register { background: linear-gradient(139.6deg, #ed008c 6.17%, #f4384f 48.25%, #ffb800 93.83%); color: #fff; text-shadow: none; box-shadow: 0 16px 24px rgba(237, 0, 140, 0.18), 0 10px 20px rgba(255, 184, 0, 0.2); }
.hero__register:hover { background: linear-gradient(139.6deg, #f21796 6.17%, #f6495f 48.25%, #ffc020 93.83%); box-shadow: 0 18px 28px rgba(237, 0, 140, 0.24), 0 12px 22px rgba(255, 184, 0, 0.24); }
.hero__register .btn-ico { background: #fff; color: #ed008c; }
@keyframes tap-press {
  0%, 29% { transform: none; }
  31% { transform: translateY(2px) scale(0.985); }
  37%, 100% { transform: none; }
}

/* ---------- ポートフォリオ（Figma「ポートフォリオ」ページ node 370:1214） ---------- */
.works { padding: 96px 24px 112px; background: #fff; }
.works__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 48px; }
.work-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 358px;
  height: 457px;
  padding: 20px;
  border: 2px solid #213a89;
  border-radius: 10px;
  background: #fff;
  color: #2b2b2b;
  overflow: hidden;
  transition: box-shadow 0.3s ease, translate 0.3s ease;
}
.work-card:hover { translate: 0 -4px; box-shadow: 0 14px 30px rgba(33, 58, 137, 0.14); }
.work-card__img { position: relative; display: block; flex-shrink: 0; width: calc(100% + 40px); height: 196px; margin: -20px -20px 0; overflow: hidden; background: #fff; }
.work-card__img img { position: absolute; max-width: none; object-fit: contain; }
.work-card__img--kids img { left: 0; top: 4px; width: 100%; height: auto; }
.work-card__img--para img { left: 50%; top: -5px; width: 154px; height: 209px; margin-left: -77px; }
.work-card__img--convex img { left: 50%; top: 26px; width: 82px; height: 159px; margin-left: -41px; }
.work-card__tag { margin: 10px 0; padding: 4px 10px; border-radius: 99px; background: #213a89; color: #fffefc; font-size: 13.33px; line-height: 1.2; }
.work-card__title { padding-bottom: 13px; font-size: 18px; font-weight: 700; line-height: 1.45; color: #2b2b2b; }
.work-card__desc { font-size: 12px; line-height: 21.6px; color: #2b2b2b; }
.work-card__more { display: inline-flex; align-items: center; gap: 4px; margin-top: auto; padding-top: 14px; font-family: var(--font-kumbh); font-size: 11px; line-height: 11px; color: #2b2b2b; }
.work-card__more img { width: 30px; height: 11px; object-fit: contain; transition: transform 0.3s ease; }
.work-card:hover .work-card__more img { transform: translateX(4px); }
@media (max-width: 900px) {
  .works { padding: 48px 20px 56px; }
  .works__list { gap: 20px; }
  .work-card { width: 100%; max-width: 400px; height: auto; min-height: 400px; }
  .work-card__img--kids img { top: 0; }
}
/* Figma に合わせた微調整: 画像枠は上に 20px はみ出しつつ本文は 218px から開始、見出しは 22px 行、リスト下に 12px */
.work-card__img { height: 216px; }
.work-card__title { line-height: 22px; }
.works__list { padding-bottom: 12px; }
/* Figma と同じ切り抜き（恐竜と棒グラフのみ）をどの幅でも保つ */

.work-card__img--kids img { left: 50%; top: 4px; width: 356px; height: 276px; margin-left: -178px; }
@media (max-width: 900px) { .work-card__img--kids img { top: 4px; } }

/* ================= 臨場感のあるスクロール演出（事業内容以降） ================= */
/* --- Project Portfolio: 縦スクロールで横に送り、中央の 1 枚を拡大・左右はめくれたカードのように傾ける --- */
.works { position: relative; padding: 0; }
.works--scroll { height: calc(100vh + 140vh); }
.works__sticky { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; padding: 72px 0 40px; }
.works:not(.works--scroll) .works__sticky { position: static; height: auto; padding: 96px 0 112px; }
.works__head { max-width: 1152px; width: calc(100% - 48px); margin: 0 auto 36px; display: flex; align-items: flex-end; gap: 20px; }
.works__head h2 { font-size: 40px; font-weight: 900; line-height: 52px; color: #000; }
.works__count { margin-left: auto; font-family: var(--font-en); font-size: 15px; font-weight: 700; color: #8a93a8; letter-spacing: 0.1em; }
.works__current { color: var(--brand); font-size: 28px; }
.works__viewport { perspective: 1400px; }
.works--scroll .works__list { flex-wrap: nowrap; justify-content: flex-start; width: max-content; padding: 30px 0 42px; will-change: transform; }
.works--scroll .work-card { flex-shrink: 0; transform-origin: 50% 60%; transition: box-shadow 0.4s ease; will-change: transform, opacity; }
.works--scroll .work-card.is-active { box-shadow: 0 30px 60px rgba(33, 58, 137, 0.22); }
.works--scroll .work-card:hover { translate: none; }

/* --- 事業内容: スクロール位置に応じて 1 行ずつフォーカス --- */
.services__list > * { transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.5s ease, box-shadow 0.5s ease, border-color 0.5s ease; }
.services__list.is-focusing > * { opacity: 0.38; transform: scale(0.97); }
.services__list.is-focusing > .is-focus { opacity: 1; transform: scale(1.03); box-shadow: 0 22px 44px rgba(33, 58, 137, 0.18); border-color: var(--brand); }

/* --- 後半セクション: 画面に入るとき「引き → 全体表示」にズーム --- */
[data-zoom] { transform-origin: 50% 30%; will-change: transform; }
.members[data-zoom], .company[data-zoom] { overflow: hidden; }

@media (max-width: 900px) {
  .works--scroll { height: calc(100svh + 160svh); }
  .works__sticky { height: 100svh; padding: 64px 0 24px; }
  .works__head { width: calc(100% - 40px); margin-bottom: 16px; gap: 10px; flex-wrap: wrap; }
  .works__head h2 { font-size: 24px; line-height: 36px; }
  .works__current { font-size: 22px; }
  .works--scroll .works__list { gap: 20px; padding: 16px 0 24px; }
  .works--scroll .work-card { width: 78vw; max-width: 340px; min-height: 0; height: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .works--scroll { height: auto; }
  .works__sticky { position: static; height: auto; }
}
.js-fade .services__list.is-focusing > * { opacity: 0.38; transform: scale(0.97); }
.js-fade .services__list.is-focusing > .is-focus { opacity: 1; transform: scale(1.03); }
@media (max-width: 900px) { .works__head { align-items: baseline; row-gap: 2px; } .works__head .eyebrow-en { flex-basis: 100%; } }

/* ===== 01–03 〜 メンバーまでを隣の高専生の紺で統一。事業内容・実績は全画面で大きく ===== */
.services, .works { position: relative; background: var(--brand); color: #fff; overflow: clip; }
.bg-art { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.bg-art img { position: absolute; max-width: none; opacity: 0.1; filter: blur(3px) saturate(0.6) brightness(1.2); mix-blend-mode: screen; }
.bg-art__a { width: min(900px, 70vw); left: -8%; top: 8%; transform: rotate(-8deg); }
.bg-art__b { width: min(760px, 58vw); right: -10%; bottom: -12%; }
.bg-art__c { width: min(1000px, 76vw); right: -14%; top: 4%; }
.bg-art__d { width: min(700px, 54vw); left: -10%; bottom: -6%; transform: rotate(10deg); }
.services > *:not(.bg-art) { position: relative; z-index: 1; }
.works__sticky { z-index: 1; }

/* 事業内容: 全画面・大きく */
.services { min-height: 100vh; display: flex; align-items: center; padding: 120px 24px; }
.services__inner { width: 100%; max-width: 1240px; }
.services .eyebrow-en { color: rgba(255, 255, 255, 0.75); font-size: 22px; }
.services__heading h2 { color: #fff; font-size: 64px; line-height: 1.2; }
.services .view-more { color: rgba(255, 255, 255, 0.85); font-size: 18px; }
.services__list { gap: 22px; margin-top: 56px; }
.services__banner { border-radius: 18px; box-shadow: 0 20px 50px rgba(0, 10, 50, 0.35); }
.service-row { padding: 40px 48px; border: 1.5px solid rgba(255, 255, 255, 0.35); border-radius: 18px; background: rgba(255, 255, 255, 0.06); color: #fff; font-size: 28px; line-height: 1.4; backdrop-filter: blur(4px); }
.service-row:hover { box-shadow: 0 20px 44px rgba(0, 10, 50, 0.35); }
.service-row__icon { width: 64px; height: 64px; border-radius: 14px; background: #fff; }
.service-row__icon img { width: 30px; height: 30px; filter: brightness(0) saturate(100%) invert(18%) sepia(53%) saturate(2060%) hue-rotate(214deg) brightness(92%) contrast(95%); }
.js-fade .services__list.is-focusing > .is-focus { border-color: #fff; background: rgba(255, 255, 255, 0.14); box-shadow: 0 26px 56px rgba(0, 10, 50, 0.45); }

/* プロジェクト実績: 全画面・大きいカード */
.works__head h2 { color: #fff; font-size: 64px; line-height: 1.2; }
.works .eyebrow-en { color: rgba(255, 255, 255, 0.75); font-size: 22px; }
.works__count { color: rgba(255, 255, 255, 0.55); font-size: 20px; }
.works__current { color: #fff; font-size: 40px; }
.works__head { max-width: 1240px; margin-bottom: 44px; }
.works--scroll .work-card { width: 440px; height: 560px; border-color: rgba(255, 255, 255, 0.9); }
.works--scroll .work-card.is-active { box-shadow: 0 40px 80px rgba(0, 10, 50, 0.5); }
.works .work-card__img { height: 270px; }
.works .work-card__img--kids img { width: 440px; height: 341px; margin-left: -220px; }
.works .work-card__img--para img { width: 190px; height: 258px; margin-left: -95px; }
.works .work-card__img--convex img { top: 34px; width: 104px; height: 201px; margin-left: -52px; }
.works .work-card__title { font-size: 22px; line-height: 30px; }
.works .work-card__desc { font-size: 15px; line-height: 26px; }
.works .work-card__more { font-size: 14px; }

@media (max-width: 900px) {
  .services { min-height: 100svh; padding: 72px 20px; }
  .services .eyebrow-en, .works .eyebrow-en { font-size: 15px; }
  .services__heading h2, .works__head h2 { font-size: 34px; }
  .services__list { margin-top: 28px; gap: 14px; }
  .service-row { padding: 24px 20px; font-size: 18px; }
  .service-row__icon { width: 46px; height: 46px; }
  .service-row__icon img { width: 22px; height: 22px; }
  .works__current { font-size: 28px; }
  .works__head { margin-bottom: 18px; }
  .works--scroll .work-card { width: 82vw; max-width: 380px; height: auto; min-height: 0; }
  .works .work-card__img { height: 220px; }
  .works .work-card__img--kids img { width: 360px; height: 279px; margin-left: -180px; }
  .works .work-card__img--para img { width: 150px; height: 204px; margin-left: -75px; }
  .works .work-card__img--convex img { width: 84px; height: 162px; margin-left: -42px; }
  .works .work-card__title { font-size: 19px; line-height: 27px; }
  .works .work-card__desc { font-size: 13px; line-height: 22px; }
  .bg-art img { opacity: 0.08; }
}
/* 事業内容の各行（バナー以外）の文字をさらに大きく */
.service-row { font-size: 40px; padding: 44px 52px; letter-spacing: 0.02em; }
.service-row__icon { width: 72px; height: 72px; }
.service-row__icon img { width: 34px; height: 34px; }
@media (max-width: 1180px) { .service-row { font-size: 32px; } }
@media (max-width: 900px) { .service-row { font-size: 22px; padding: 26px 20px; } .service-row__icon { width: 50px; height: 50px; } .service-row__icon img { width: 24px; height: 24px; } }
/* 事業内容: フォーカス外の行も薄くしない。行は透けない不透明の面に */
.js-fade .services__list.is-focusing > * { opacity: 1; transform: none; }
.js-fade .services__list.is-focusing > .is-focus { opacity: 1; transform: scale(1.02); }
.service-row {
  background: linear-gradient(180deg, #2b4aa3 0%, #253f95 100%);
  border: 1.5px solid #3d5cb6;
  backdrop-filter: none;
  box-shadow: 0 10px 26px rgba(4, 14, 54, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.js-fade .services__list.is-focusing > .service-row.is-focus { background: linear-gradient(180deg, #3253b0 0%, #2a479e 100%); border-color: #fff; box-shadow: 0 24px 50px rgba(4, 14, 54, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.12); }

/* 事業内容: 背景は白、フォーカスの拡大・縮小を大きく */
.services { background: #fff; color: #1d1d1f; }
.services .eyebrow-en { color: #6e6e73; }
.services__heading h2 { color: #000; }
.services .view-more { color: #2b2b2b; }
.services .bg-art img { mix-blend-mode: multiply; opacity: 0.06; filter: blur(3px) grayscale(0.2); }
.services__list > * { transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.6s ease, border-color 0.6s ease, background 0.6s ease; }
.js-fade .services__list.is-focusing > * { transform: scale(0.9); }
.js-fade .services__list.is-focusing > .is-focus { transform: scale(1.08); z-index: 2; }
.service-row { box-shadow: 0 10px 26px rgba(33, 58, 137, 0.18); }
.js-fade .services__list.is-focusing > .service-row.is-focus { border-color: #213a89; box-shadow: 0 30px 60px rgba(33, 58, 137, 0.35); }
.services__list { gap: 28px; }
@media (max-width: 900px) {
  .js-fade .services__list.is-focusing > * { transform: scale(0.92); }
  .js-fade .services__list.is-focusing > .is-focus { transform: scale(1.05); }
}

/* 事業内容: セクション背景は紺に戻し、各行（枠の中）を白に */
.services { background: var(--brand); color: #fff; }
.services .eyebrow-en { color: rgba(255, 255, 255, 0.75); }
.services__heading h2 { color: #fff; }
.services .view-more { color: rgba(255, 255, 255, 0.85); }
.services .bg-art img { mix-blend-mode: screen; opacity: 0.1; filter: blur(3px) saturate(0.6) brightness(1.2); }
.service-row { background: #fff; color: var(--brand); border: 1.5px solid #fff; box-shadow: 0 12px 30px rgba(4, 14, 54, 0.35); }
.service-row__icon { background: var(--brand); }
.service-row__icon img { filter: none; }
.js-fade .services__list.is-focusing > .service-row.is-focus { background: #fff; border-color: #fff; box-shadow: 0 30px 64px rgba(4, 14, 54, 0.55); }

/* 事業内容の 3 行: バナーと同系統の柄（青の地＋斜めの面＋細かいノイズ）、白文字 */
.service-row, .js-fade .services__list.is-focusing > .service-row.is-focus { color: #fff; border-color: rgba(255, 255, 255, 0.18); background-size: cover; background-position: center; }
.service-row:nth-child(2) { background-image: url("assets/lp/service-pattern-1.svg"); }
.service-row:nth-child(3) { background-image: url("assets/lp/service-pattern-2.svg"); }
.service-row:nth-child(4) { background-image: url("assets/lp/service-pattern-3.svg"); }
.js-fade .services__list.is-focusing > .service-row.is-focus { border-color: rgba(255, 255, 255, 0.6); }
.service-row__icon { background: #fff; }
.service-row__icon img { filter: brightness(0) saturate(100%) invert(18%) sepia(53%) saturate(2060%) hue-rotate(214deg) brightness(92%) contrast(95%); }
.js-fade .services__list.is-focusing > .service-row.is-focus:nth-child(2), .service-row:nth-child(2) { background: url("assets/lp/service-pattern-1.svg") center / cover no-repeat; }
.js-fade .services__list.is-focusing > .service-row.is-focus:nth-child(3), .service-row:nth-child(3) { background: url("assets/lp/service-pattern-2.svg") center / cover no-repeat; }
.js-fade .services__list.is-focusing > .service-row.is-focus:nth-child(4), .service-row:nth-child(4) { background: url("assets/lp/service-pattern-3.svg") center / cover no-repeat; }

/* 事業内容の 3 行: バナーと同じ背景画像（ザラつきのある青＋斜めの面）を使用 */
.service-row:nth-child(n),
.js-fade .services__list.is-focusing > .service-row.is-focus:nth-child(n) { background: #0b56a3 url("assets/lp/service-bg.jpg") center / cover no-repeat; }
@media (max-width: 900px) {
  /* 矢印と縦書きの 3D 文字を中央に */
  .a3d-text3d .flow__arrow--3d { width: 100%; display: flex; justify-content: center; align-items: center; padding: 6px 0; }
  .a3d-text3d .a3d { width: 260px; max-width: 100%; height: 240px; margin: 0 auto; }
  .a3d-text3d .a3d__rot { width: 100%; height: 100%; }
  /* スマホではポチッと押す手のアニメーションを出さない（下のボタンと重なるため） */
  .tap { display: none !important; }
  .hero__register.is-entered { animation: none !important; }
}
@media (max-width: 900px) { .a3d-text3d .a3d { width: 200px; height: 185px; } }
@media (max-width: 900px) { .a3d-text3d .a3d { width: 280px; height: 185px; } }
.cursor { display: none !important; }
/* スマホ: 横長バナーが小さくなるので、ロゴと説明を縦に組み直して大きく表示 */
.services__banner-sp { display: none; }
@media (max-width: 900px) {
  .services__banner-wide { display: none; }
  .services__banner-sp { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 26px 18px 24px; background: #0b56a3 url("assets/lp/service-bg.jpg") center / cover no-repeat; color: #fff; font-size: 16px; font-weight: 700; letter-spacing: 0.04em; text-align: center; }
  .services__banner-sp img { width: 100%; max-width: 300px; height: auto; mix-blend-mode: normal; }
}
@media (max-width: 900px) { .services__banner-sp img { aspect-ratio: 810 / 150; } }
.ai-pricing { position: relative; overflow: hidden; background: #fff; color: #15316e; padding: 92px 24px 112px; }
.ai-pricing::before, .ai-pricing::after { content: ''; position: absolute; width: 170px; height: 72px; background: #e6effc; transform: rotate(-26deg); opacity: .9; }
.ai-pricing::before { left: -45px; top: 130px; box-shadow: 0 78px 0 #edf4fd; }
.ai-pricing::after { right: -55px; top: 84px; transform: rotate(-28deg); box-shadow: 0 78px 0 #edf4fd; }
.ai-pricing__inner { position: relative; z-index: 1; max-width: 1200px; margin: 0 auto; text-align: center; }
.ai-pricing__eyebrow { margin: 0; color: #1a4d9d; font-family: var(--font-en); font-size: 15px; font-weight: 800; letter-spacing: .28em; }
.ai-pricing h2 { margin: 18px 0 18px; color: #183a87; font-size: 46px; line-height: 1.2; font-weight: 900; }
.ai-pricing__lead { margin: 0 0 58px; color: #435575; font-size: 22px; font-weight: 700; }
.ai-pricing__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; max-width: 1025px; margin: 0 auto; text-align: left; }
.ai-plan { position: relative; min-height: 535px; padding: 54px 40px 42px; border-radius: 24px; background: #f0f5fd; box-sizing: border-box; }
.ai-plan--trial { border: 3px solid #1680f5; background: #f7faff; }
.ai-plan__badge { position: absolute; left: 126px; top: -24px; min-width: 236px; padding: 10px 25px; border-radius: 999px; background: #1680f5; color: #fff; font-size: 18px; font-weight: 800; text-align: center; box-sizing: border-box; }
.ai-plan h3 { margin: 0 0 18px; color: #15316e; font-size: 28px; line-height: 1.35; font-weight: 900; text-align: center; }
.ai-plan__price { margin: 0; color: #15316e; font-size: 67px; line-height: 1.1; font-weight: 900; text-align: center; letter-spacing: -.05em; }
.ai-plan__tax { margin: 2px 0 42px; color: #52627b; font-size: 16px; font-weight: 700; text-align: center; }
.ai-plan ul { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.ai-plan li { position: relative; padding-left: 38px; color: #15316e; font-size: 16px; line-height: 1.55; font-weight: 800; }
.ai-plan li::before { content: '✓'; position: absolute; left: 0; top: -.1em; display: grid; width: 28px; height: 28px; place-items: center; border-radius: 50%; background: #dbeaff; color: #0964d9; font-size: 18px; font-weight: 900; }
.ai-plan__button { display: flex; align-items: center; justify-content: center; min-height: 54px; margin-top: 48px; border-radius: 999px; font-size: 17px; font-weight: 800; text-decoration: none; box-sizing: border-box; }
.ai-plan__button--primary { background: #0d5fe0; color: #fff; }
.ai-plan__button--outline { border: 2px solid #153d91; background: #fff; color: #153d91; }
.ai-plan__cost { display: grid; grid-template-columns: auto 1fr; align-items: baseline; column-gap: 24px; row-gap: 6px; max-width: 350px; margin: 4px auto 0; color: #15316e; }
.ai-plan__cost span { font-size: 18px; font-weight: 800; }
.ai-plan__cost strong { font-size: 48px; line-height: 1.15; font-weight: 900; text-align: right; }
.ai-plan--standard .ai-plan__tax { margin: 8px 0 26px; text-align: right; padding-right: 12px; }
.ai-plan--standard .ai-plan__button { margin-top: 48px; }
.ai-pricing__note { margin: 38px 0 0; color: #425576; font-size: 15px; font-weight: 700; }
.ai-pricing__fine { margin: 12px 0 0; color: #64748b; font-size: 13px; }
.ai-contact { padding: 0; background: #fff; color: #2b2b2b; text-align: left; }
.ai-contact__hero { height: 296px; background: #213a89; border-bottom: 3px solid #fff; box-sizing: border-box; }
.ai-contact__hero-inner { max-width: 1120px; margin: 0 auto; padding-top: 150px; }
.ai-contact__hero p { width: 150px; margin: 0; padding-bottom: 5px; border-bottom: 1px solid #fff; color: #fff; font-family: var(--font-en); font-size: 16px; }
.ai-contact__hero h2 { margin: 10px 0 0; color: #fff; font-size: 40px; line-height: 1.25; font-weight: 800; }
.ai-contact__body { max-width: 932px; margin: 0 auto; padding: 80px 0 130px; }
.ai-contact__intro { width: 720px; margin: 0 auto; font-size: 14px; line-height: 28px; }
.ai-contact__intro p { margin: 0; }
.ai-contact__email { margin-top: 8px !important; color: #213a89; }
.ai-contact__email a { color: #213a89; text-decoration: underline; }
.ai-contact__form { display: flex; flex-direction: column; gap: 30px; width: 720px; margin: 65px auto 0; }
.ai-contact__form label:not(.ai-contact__privacy) { display: flex; flex-direction: column; gap: 10px; }
.ai-contact__form label > span { color: #2b2b2b; font-size: 13px; font-weight: 700; }
.ai-contact__form b { display: inline-block; margin-left: 8px; padding: 3px 8px; border-radius: 3px; background: #213a89; color: #fff; font-size: 10px; font-weight: 700; vertical-align: 2px; }
.ai-contact__form input:not([type="checkbox"]), .ai-contact__form textarea { width: 100%; border: 0; border-radius: 7px; background: #e9e9e9; color: #2b2b2b; padding: 0 18px; font: inherit; font-size: 16px; box-sizing: border-box; outline: none; }
.ai-contact__form input:not([type="checkbox"]) { height: 48px; }
.ai-contact__form textarea { min-height: 180px; padding-top: 16px; resize: vertical; }
.ai-contact__form input:focus, .ai-contact__form textarea:focus { box-shadow: 0 0 0 3px rgba(33,58,137,.2); }
.ai-contact__form input::placeholder, .ai-contact__form textarea::placeholder { color: #757575; opacity: 1; }
.ai-contact__privacy { display: flex; align-items: center; gap: 8px; padding-top: 10px; font-size: 13px; }
.ai-contact__privacy input { width: 20px; height: 20px; margin: 0; accent-color: #213a89; }
.ai-contact__privacy a { color: #617ab0; text-decoration: underline; }
.ai-contact__form button { align-self: flex-end; display: flex; align-items: center; gap: 30px; min-width: 240px; padding: 5px 5px 5px 24px; border: 0; border-radius: 5px; background: #213a89; color: #fff; font: inherit; font-size: 16px; cursor: pointer; }
.ai-contact__form button span { display: grid; width: 35px; height: 35px; place-items: center; border: 1px solid #fff; color: #ffae00; font-size: 24px; }
.ai-contact__form button:disabled { opacity: .75; cursor: default; }
.ai-contact__success { margin: 0; color: #213a89; font-weight: 700; }
@media (max-width: 900px) { .ai-pricing { padding: 72px 20px 84px; } .ai-pricing h2 { font-size: 36px; } .ai-pricing__lead { font-size: 18px; margin-bottom: 48px; } .ai-pricing__grid { grid-template-columns: 1fr; gap: 46px; } .ai-plan { min-height: 0; padding: 48px 24px 28px; } .ai-plan__badge { left: 50%; transform: translateX(-50%); white-space: nowrap; } .ai-plan__price { font-size: 56px; } .ai-plan__cost strong { font-size: 40px; } .ai-pricing__note { font-size: 13px; } .ai-contact__hero { height: 220px; } .ai-contact__hero-inner { padding: 108px 20px 0; } .ai-contact__hero h2 { font-size: 32px; } .ai-contact__body { padding: 56px 20px 84px; } .ai-contact__intro, .ai-contact__form { width: 100%; } .ai-contact__form { margin-top: 44px; gap: 24px; } .ai-contact__form button { align-self: stretch; justify-content: space-between; } }
/* 事業内容: 大きさはスクロールに直接追従させる（transition で段付きにならないよう transform は除外） */
.services__list > * { transition: box-shadow 0.4s ease, border-color 0.4s ease; will-change: transform; }
.service-row__icon { display: none !important; }
/* AI社員 content skin: keep the original tonari layout and motion system. */
.ai-logo{display:block;color:#4e63a2;font-size:24px;font-weight:800;letter-spacing:1.8px;line-height:26px}.gnav__logo small{display:block;color:#4e63a2;font-size:8px;letter-spacing:1px;line-height:12px}.hero__title strong{font-weight:900}.hero__lead{white-space:pre-line}.ai-solution-mark{font-weight:900}.ai-solution-suffix{font-weight:700}.ai-footer-logo{display:block;color:#8fa7f1;font-size:28px;font-weight:800;line-height:52px}.ai-contact{padding:100px 24px;text-align:center;background:#e9eef6;color:#213a89}.ai-contact h2{margin:10px 0 12px;font-size:40px;font-weight:900}.ai-contact p:not(.eyebrow-en){margin:0 0 28px;color:#61708a}.ai-contact .btn-brand{background:linear-gradient(110deg,#ed008c,#ffb800)}@media(max-width:700px){.ai-contact{padding:70px 20px}.ai-contact h2{font-size:30px}.ai-logo{font-size:20px}}
.solution__heading { font-size: clamp(64px, 8vw, 124px); line-height: 1.08; }
.solution__heading .ai-solution-mark, .solution__heading .ai-solution-suffix { display: inline-block; }
@media (max-width: 900px) { .solution__heading { font-size: clamp(42px, 12vw, 72px); line-height: 1.12; } }

/* 添付イメージに合わせたAI社員ヒーロー */
.hero { padding-top: 18px; }
.hero__panel {
  position: relative;
  height: 560px;
  overflow: hidden;
  border-radius: 14px;
  background: linear-gradient(110deg, #1b327d 0%, #223e91 50%, #315ab8 100%);
}
.hero__body { z-index: 3; left: max(7%, calc(50% - 560px)); }
.hero__title span { font-size: clamp(38px, 4vw, 56px); line-height: 1.18; }
.hero__title strong { font-size: 1.28em; }
.hero__lead { margin-bottom: 24px; font-size: 14px; line-height: 1.8; }
.hero__register {
  min-height: 44px;
  padding: 10px 22px 10px 16px;
  background: linear-gradient(100deg, #ec078b 0%, #ff3c52 52%, #ffb100 100%);
  box-shadow: 0 9px 22px rgba(255, 81, 75, .28);
  font-size: 14px;
}
.hero__register .btn-ico { width: 18px; height: 18px; font-size: 12px; }
.hero__business {
  height: 42px;
  margin-top: 10px;
  padding: 0 21px;
  border: 0;
  border-radius: 5px;
  background: #050505;
  font-size: 13px;
}
.hero__photos {
  z-index: 2;
  right: max(1%, calc(50% - 600px));
  top: 50%;
  width: 430px;
  height: 560px;
  translate: 0 -50% !important;
}
.hero__photos img { box-shadow: none; border-radius: 0; }
.hero__photos img:not(.hero__photo--1):not(.hero__photo--2) { display: none; }
.hero__photo--1 {
  display: block !important;
  left: 35px;
  top: -12px;
  width: 330px;
  height: 590px;
  object-fit: contain !important;
  object-position: center bottom;
  mix-blend-mode: screen;
  filter: saturate(.88) contrast(1.08);
}
.hero__photo--2 {
  display: block !important;
  left: 230px;
  top: 305px;
  width: 185px;
  height: 155px;
  object-fit: contain !important;
  object-position: center;
  z-index: 4;
  filter: drop-shadow(0 16px 16px rgba(3, 15, 48, .25));
}

@media (min-width: 601px) and (max-width: 900px) {
  .hero { padding: 8px 4px 0; }
  .hero__panel { height: 394px; border-radius: 10px; }
  .hero__body { left: 7%; width: 48%; top: 50%; }
  .hero__title span { font-size: clamp(27px, 5vw, 42px); }
  .hero__lead { font-size: 11px; line-height: 1.75; margin-bottom: 15px; }
  .hero__register { min-height: 38px; padding: 8px 14px 8px 10px; font-size: 11px; }
  .hero__business { height: 36px; padding: 0 16px; font-size: 11px; }
  .hero__photos { right: 0; width: 52%; height: 430px; top: 50%; }
  .hero__photo--1 { left: 5%; top: -7px; width: 74%; height: 455px; }
  .hero__photo--2 { left: 52%; top: 214px; width: 42%; height: 130px; }
}

@media (max-width: 600px) {
  .hero { padding: 8px 10px 0; }
  .hero__panel { height: auto; min-height: 520px; padding: 30px 22px 24px; border-radius: 12px; }
  .hero__body { position: relative; left: 0; top: 0; width: 100%; transform: none; }
  .hero__title span { font-size: 30px; }
  .hero__lead { font-size: 12px; }
  .hero__photos { position: relative; right: auto; top: auto; width: 100%; height: 270px; margin-top: 14px; transform: none; }
  .hero__photo--1 { left: 12%; top: -20px; width: 72%; height: 325px; }
  .hero__photo--2 { left: 48%; top: 130px; width: 45%; height: 120px; }
}
