/* B案 下層ページ共通 */
.subpage main {
  overflow: hidden;
}


.subpage .kf-header-nav a[aria-current="page"] {
  color: var(--cyan);
}

.subpage-hero {
  position: relative;
  min-height: 590px;
  color: var(--white);
  background: linear-gradient(135deg, #50c9ce 0%, #1ea0d1 100%);
  isolation: isolate;
}

.subpage-hero .kf-container {
  position: relative;
  min-height: inherit;
  padding-block: 54px 72px;
}

.subpage-breadcrumb {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 0 0 66px;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: .08em;
}

.subpage-breadcrumb a {
  opacity: .78;
}

.subpage-breadcrumb a:hover,
.subpage-breadcrumb a:focus-visible {
  opacity: 1;
  text-decoration: underline;
}

.subpage-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
  gap: clamp(48px, 7vw, 110px);
  align-items: center;
}

.subpage-hero-kicker {
  margin: 0 0 18px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
}

.subpage-hero h1 {
  margin: 0;
  font-size: clamp(34px, 4vw, 47px);
  font-weight: 850;
  line-height: 1.42;
  letter-spacing: .045em;
}

.subpage-hero-lead {
  max-width: 690px;
  margin: 30px 0 0;
  font-size: clamp(15px, 1.35vw, 18px);
  font-weight: 600;
  line-height: 2.05;
}

.subpage-hero-visual {
  position: relative;
  width: 800px;
}

.service-page .subpage-hero-grid {
  grid-template-columns: minmax(0, 1fr) minmax(430px, 1fr);
  gap: clamp(24px, 3.5vw, 54px);
}

.service-page .subpage-hero-visual {
  justify-self: start;
  width: min(760px, 53vw);
  margin-left: clamp(-64px, -4vw, -30px);
}

.subpage-hero-visual img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 28px 36px rgba(0, 69, 92, .2));
}

.knowledge-page .subpage-hero {
  min-height: 610px;
  background: #159eae;
}

.knowledge-page .subpage-hero .kf-container {
  width: min(100%, 1500px);
  padding: 0;
}

.knowledge-page .subpage-breadcrumb {
  position: absolute;
  z-index: 2;
  top: 36px;
  left: clamp(32px, 4vw, 120px);
}

.knowledge-page .subpage-hero-grid {
  min-height: inherit;
  grid-template-columns: 47% 53%;
  gap: 0;
}

.knowledge-page .subpage-hero-copy {
  z-index: 1;
  min-width: 0;
  padding: 118px clamp(40px, 4vw, 72px) 72px clamp(32px, 4vw, 120px);
}

.knowledge-page .subpage-hero h1 {
  white-space: nowrap;
}

.knowledge-hero-photo {
  align-self: stretch;
  overflow: hidden;
}

.knowledge-hero-photo::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(21, 158, 174, .35), transparent 38%);
  content: "";
}

.knowledge-hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 48% center;
  filter: none;
}

.page-anchor-nav {
  position: relative;
  z-index: 5;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(25, 81, 100, .08);
}

.page-anchor-nav ul {
  display: flex;
  align-items: stretch;
  justify-content: center;
  width: min(calc(100% - 48px), 1120px);
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.page-anchor-nav li {
  flex: 1;
}

.page-anchor-nav a {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  color: #32434c;
  font-size: 14px;
  font-weight: 750;
  text-align: center;
  transition: color .2s ease, background .2s ease;
}

.page-anchor-nav li + li a {
  box-shadow: inset 1px 0 #e4ecef;
}

.page-anchor-nav a:hover,
.page-anchor-nav a:focus-visible {
  color: var(--cyan);
  background: #f6fbfb;
}

.subpage-section {
  position: relative;
  padding: clamp(92px, 9vw, 138px) 0;
}

.subpage-section--white {
  background: var(--white);
}

.subpage-section--pale {
  background: #edf8f9;
}

.subpage-section--gray {
  background: #f3f2ef;
}

.subpage-section--cyan {
  color: var(--white);
  background: linear-gradient(150deg, #4bc7cb 0%, #149fc4 100%);
}

.subpage-heading {
  max-width: 850px;
  margin: 0 auto 58px;
  text-align: center;
}

.subpage-heading--left {
  margin-inline: 0;
  text-align: left;
}

.subpage-heading-number {
  display: block;
  margin-bottom: 16px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: .16em;
}

.subpage-section--cyan .subpage-heading-number {
  color: var(--white);
  opacity: .78;
}

.subpage-heading h2 {
  margin: 0;
  font-size: clamp(30px, 3.2vw, 46px);
  font-weight: 850;
  line-height: 1.5;
  letter-spacing: .045em;
}

.subpage-heading p {
  margin: 22px 0 0;
  color: #53616b;
  line-height: 2;
}

.subpage-section--cyan .subpage-heading p {
  color: rgba(255, 255, 255, .9);
}

/* サービス紹介: ページ全体のリード文（社内-104）。
   文字サイズはCMC様指示「見出し(46px)と小見出し(25px)の中間くらい」 */
.service-intro {
  padding-bottom: 0;
}

.service-intro-lead {
  max-width: 1080px;
  margin: 0 auto;
  font-size: clamp(26px, 2.8vw, 33px);
  font-weight: 750;
  line-height: 1.9;
  letter-spacing: .045em;
  text-align: center;
}

.service-feature-grid {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(420px, 1.08fr);
  gap: clamp(42px, 7vw, 92px);
  align-items: center;
}

.service-process-stack {
  grid-column: 1 / -1;
  display: grid;
  gap: clamp(24px, 3vw, 42px);
  width: min(100%, 1080px);
  margin-top: clamp(18px, 3vw, 44px);
  margin-inline: auto;
}

.service-feature-grid--reverse .service-feature-copy {
  order: 2;
}

.service-feature-grid--reverse .service-feature-visual {
  order: 1;
}

.service-feature-copy h3 {
  margin: 0 0 24px;
  font-size: clamp(25px, 2.5vw, 25px);
  line-height: 1.55;
}

.service-feature-copy p {
  margin: 0;
  color: #53616b;
  line-height: 2.1;
}

.service-feature-copy p.caption {
  border:1px solid var(--cyan);
  padding:20px;
  font-size:14px;
  border-radius: 8px;
}



.service-feature-copy p + p {
  margin-top: 22px;
}

.subpage-section--cyan .service-feature-copy p {
  color: rgba(255, 255, 255, .92);
}


.service-feature-visual {
  min-width: 0;
  padding: clamp(20px, 3vw, 40px);
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 26px 60px rgba(20, 77, 96, .12);
}
.service-feature-visual.large{
  padding: clamp(20px, 3vw, 20px);
}

.service-feature-visual img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.service-proof {
  margin-top: 54px;
  padding: clamp(30px, 4vw, 52px);
  background: #f4f9f9;
  border-radius: 8px;
}

.service-proof p {
  margin: 0;
  color: #43535d;
  line-height: 2.05;
}

.service-process-block {
  margin-top: clamp(76px, 8vw, 118px);
  padding-top: clamp(70px, 7vw, 104px);
  border-top: 1px solid #dbe9eb;
}

.process-showcase {
  max-width: 1080px;
  margin-inline: auto;
  overflow: hidden;
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 24px 60px rgba(25, 87, 105, .11);
}



.process-stage img,
.process-stage video {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 16px 38px rgba(39, 75, 87, .1);
}

.process-video {
  position: relative;
  display: block;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 9;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: #10222a;
  cursor: pointer;
}

.process-video img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease, filter .35s ease;
}

.process-video::after {
  position: absolute;
  inset: 0;
  background: rgba(0, 35, 45, .08);
  content: "";
  transition: background-color .25s ease;
}

.process-video-trigger__play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  display: grid;
  width: clamp(68px, 7vw, 94px);
  aspect-ratio: 1;
  place-items: center;
  border: 3px solid #fff;
  border-radius: 50%;
  background: rgba(0, 174, 190, .9);
  box-shadow: 0 12px 30px rgba(0, 44, 56, .3);
  transform: translate(-50%, -50%);
  transition: background-color .25s ease, transform .25s ease;
}

.process-video-trigger__play::before {
  width: 0;
  height: 0;
  margin-left: 8%;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-left: 19px solid #fff;
  content: "";
}

.process-video:hover img,
.process-video:focus-visible img {
  filter: brightness(.88);
  transform: scale(1.025);
}

.process-video:hover .process-video-trigger__play,
.process-video:focus-visible .process-video-trigger__play {
  background: #008e9d;
  transform: translate(-50%, -50%) scale(1.08);
}

.process-video:focus-visible {
  outline: 3px solid var(--subpage-yellow);
  outline-offset: 4px;
}

body.is-video-modal-open {
  overflow: hidden;
}

.video-modal[hidden] {
  display: none;
}

.video-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  padding: clamp(20px, 4vw, 56px);
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .24s ease, visibility .24s ease;
}

.video-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.video-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 22, 28, .82);
  cursor: pointer;
}

.video-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(1120px, 100%);
  padding: clamp(12px, 1.4vw, 18px);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(0, 0, 0, .35);
  transform: translateY(16px) scale(.985);
  transition: transform .24s ease;
}

.video-modal.is-open .video-modal__dialog {
  transform: translateY(0) scale(1);
}

.video-modal__frame {
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 6px;
  background: #000;
}

.video-modal__video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.video-modal__close {
  position: absolute;
  top: -18px;
  right: -18px;
  z-index: 2;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 8px 22px rgba(0, 0, 0, .24);
  cursor: pointer;
}

.video-modal__close::before,
.video-modal__close::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 22px;
  height: 2px;
  background: #fff;
  content: "";
}

.video-modal__close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.video-modal__close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.video-modal__close:hover,
.video-modal__close:focus-visible {
  background: #008e9d;
}

.video-modal__close:focus-visible {
  outline: 3px solid var(--subpage-yellow);
  outline-offset: 3px;
}

.ai-feature-list {
  display: grid;
  gap: 10px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.ai-feature-title {
  margin: 34px 0 14px;
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: .04em;
}

.ai-feature-list li {
  position: relative;
  padding: 13px 16px 13px 46px;
  background: rgba(255, 255, 255, .13);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
}

.ai-feature-list li::before {
  position: absolute;
  top: 50%;
  left: 17px;
  content: "✓";
  transform: translateY(-50%);
}

.tool-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 62px;
}

.tool-gallery figure {
  display: flex;
  flex-direction: column;
  margin: 0;
  overflow: hidden;
  background: var(--white);
  border-radius: 18px;
  box-shadow: 0 22px 44px rgba(3, 72, 94, .16);
}

.tool-gallery img {
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: contain;
  object-position: left top;
  background: var(--white);
}

.tool-gallery figcaption {
  padding: 15px 18px 18px;
  color: #27434f;
  font-size: 13px;
  font-weight: 750;
}

.onboarding-flow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.onboarding-flow li {
  position: relative;
  min-width: 0;
  padding: 26px 20px 24px;
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 16px 38px rgba(37, 83, 99, .09);
  text-align: center;
}

.onboarding-flow li::after {
  position: absolute;
  top: 50%;
  right: -16px;
  z-index: 1;
  color: var(--cyan);
  content: "›";
  font-size: 28px;
  transform: translateY(-60%);
}

.onboarding-flow li:last-child::after {
  display: none;
}

.onboarding-flow img {
  width: auto;
  height: 74px;
  margin: 0 auto 14px;
  object-fit: contain;
}

.onboarding-flow b {
  display: block;
  margin-bottom: 8px;
  color: var(--cyan);
  font-size: 12px;
}

.onboarding-flow span {
  display: block;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.65;
}

.onboarding-note {
  margin: 46px auto 0;
  color: #50616b;
  text-align: center;
}

.subpage-cta {
  margin: 34px 0 0;
  text-align: center;
}

.subpage-cta .button {
  min-width: min(360px, 100%);
}

.button--outline-white {
  color: var(--white);
  background: transparent;
  border-color: rgba(255, 255, 255, .86);
}

.button--outline-white:hover,
.button--outline-white:focus-visible {
  color: var(--cyan);
  background: var(--white);
  border-color: var(--white);
}

.knowledge-intro-card {
  max-width: 920px;
  margin: 0 auto;
  padding: clamp(38px, 6vw, 72px);
  background: #f5f9f9;
  border-radius: 8px;
  box-shadow: 0 20px 52px rgba(28, 78, 95, .07);
}

.knowledge-intro-card p {
  margin: 0;
  color: #384a54;
  font-size: clamp(16px, 1.7vw, 20px);
  line-height: 2.15;
}

.macro-micro-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.perspective-card {
  min-height: 320px;
  padding: clamp(34px, 5vw, 58px);
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 20px 48px rgba(29, 85, 102, .09);
}

.perspective-card .perspective-label {
  display: inline-flex;
  min-width: 92px;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--white);
  background: var(--cyan);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
}

.perspective-card:nth-child(2) .perspective-label {
  background: var(--blue);
}

.perspective-card h3 {
  margin: 0 0 18px;
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.55;
}

.perspective-card p {
  margin: 0;
  color: #53616b;
  line-height: 2;
}

.visualization-panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(38px, 5vw, 64px);
  align-items: center;
}

.visualization-copy {
  max-width: 920px;
  margin-inline: auto;
}

.visualization-copy .subpage-heading {
  margin-bottom: 28px;
  text-align: center;
}

.visualization-copy p {
  margin: 0;
  color: #53616b;
  line-height: 2.1;
}

.visualization-map {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: center;
  padding: clamp(32px, 5vw, 54px);
  background: linear-gradient(145deg, #eff9f9, #dff3f5);
  border-radius: 8px;
  width: min(100%, 960px);
  margin-inline: auto;
}

.visualization-map span {
  display: grid;
  min-height: 128px;
  place-items: center;
  padding: 18px;
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(31, 93, 107, .1);
  color: #304750;
  font-weight: 800;
  text-align: center;
}

.visualization-map i {
  display: none;
}

.system-message {
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
}

.system-message p {
  margin: 0;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 650;
  line-height: 2.15;
}

.system-progress {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 50px auto 0;
  padding: 0;
  list-style: none;
}

.system-progress li {
  position: relative;
  padding: 28px 20px;
  background: rgba(255, 255, 255, .14);
  border-radius: 8px;
  font-size: 16px;
  font-weight: 800;
}

.system-progress li::after {
  position: absolute;
  top: 50%;
  right: -16px;
  content: "›";
  font-size: 28px;
  transform: translateY(-55%);
}

.system-progress li:last-child::after {
  display: none;
}

#system .system-message {
  color: #304750;
}

#system .system-progress li {
  color: #304750;
  background: #fff;
  border: 1px solid #dcebed;
  box-shadow: 0 14px 34px rgba(31, 93, 107, .08);
}

#system .system-progress li::after {
  color: var(--cyan);
}

/*
 * [TERA 2026-08-04] Backlog P_CMC_KAIZENFARM_RENEWAL-102（元課題 CMC-71）
 * 「フローの黄色の部分だけが目立っているので、全部同じ色で揃えたい。
 *   現在の水色のフローに合わせる。」
 * → 2番目だけ黄色にしていた指定を外し、1・3番目と同じ白＋水色枠に統一する。
 *   矢印は既に3つとも水色（var(--cyan)）で揃っているため変更不要。
 */
/* #system .system-progress li:nth-child(2) {
  color: #171b1f;
  background: var(--subpage-yellow);
} */

@media (max-width: 960px) {
  .subpage-hero-grid,
  .service-feature-grid,
  .visualization-panel {
    grid-template-columns: 1fr;
  }

  .subpage-hero .kf-container {
    padding-block: 42px 64px;
  }

  .subpage-breadcrumb {
    margin-bottom: 42px;
  }

  .subpage-hero-visual {
    width: min(620px, 88%);
    margin-inline: auto;
  }

  .service-page .subpage-hero-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .service-page .subpage-hero-visual {
    justify-self: center;
    width: min(620px, 88%);
    margin-inline: auto;
  }

  .knowledge-page .subpage-hero .kf-container {
    width: 100%;
  }

  .knowledge-page .subpage-hero-grid {
    grid-template-columns: 1fr;
  }

  .knowledge-page .subpage-hero-copy {
    padding: 112px 32px 58px;
  }

  .knowledge-page .subpage-hero h1 {
    white-space: normal;
  }

  .knowledge-page .subpage-breadcrumb {
    left: 32px;
  }

  .knowledge-hero-photo {
    min-height: 320px;
  }

  .service-feature-grid--reverse .service-feature-copy,
  .service-feature-grid--reverse .service-feature-visual {
    order: initial;
  }


  .service-feature-visual {
    width: min(720px, 100%);
    margin-inline: auto;
  }

  .process-showcase {
    overflow: hidden;
  }

  .tool-gallery {
    grid-template-columns: 1fr;
  }

  .tool-gallery figure {
    width: min(760px, 100%);
    margin-inline: auto;
  }

  .onboarding-flow {
    grid-template-columns: repeat(2, 1fr);
  }

  .onboarding-flow li::after {
    display: none;
  }
}

@media (max-width: 720px) {
  .subpage-hero {
    min-height: auto;
  }

  .subpage-hero .kf-container {
    width: calc(100% - 40px);
    padding-block: 28px 52px;
  }

  .subpage-breadcrumb {
    margin-bottom: 34px;
  }

  .subpage-hero h1 {
    font-size: clamp(30px, 7.2vw, 42px);
    line-height: 1.45;
  }

  .subpage-hero-lead {
    margin-top: 22px;
    font-size: 14px;
    line-height: 1.9;
  }

  .subpage-hero-visual {
    width: 100%;
  }

  .knowledge-page .subpage-breadcrumb {
    top: 26px;
    left: 20px;
  }

  .knowledge-page .subpage-hero-copy {
    padding: 94px 20px 48px;
  }

  .knowledge-hero-photo {
    min-height: 240px;
  }

  .page-anchor-nav {
    overflow-x: auto;
  }

  .page-anchor-nav ul {
    width: max-content;
    min-width: 100%;
  }

  .page-anchor-nav li {
    flex: 0 0 auto;
  }

  .page-anchor-nav a {
    min-width: 144px;
    min-height: 64px;
    padding: 10px 16px;
    font-size: 12px;
  }

  .subpage-section {
    padding-block: 76px;
  }

  .service-intro {
    padding-bottom: 0;
  }

  .subpage-heading {
    margin-bottom: 40px;
  }

  .subpage-heading h2 {
    font-size: 28px;
  }

  .knowledge-page .subpage-heading,
  .knowledge-page .subpage-heading--left {
    margin-inline: auto;
    text-align: center;
  }

  .knowledge-page .subpage-heading--left h2::after {
    margin-inline: auto;
  }

  .service-feature-copy h3 {
    font-size: 24px;
  }

  .service-feature-grid {
    gap: 32px;
  }

  .service-proof {
    margin-top: 36px;
  }

  .onboarding-flow,
  .macro-micro-grid,
  .system-progress {
    grid-template-columns: 1fr;
  }

  .onboarding-flow li {
    display: grid;
    grid-template-columns: 84px minmax(0, 1fr);
    column-gap: 20px;
    align-items: center;
    padding: 18px 20px;
    text-align: left;
  }

  .onboarding-flow img {
    grid-row: 1 / 3;
    width: auto;
    height: 84px;
    margin: 0;
  }

  .onboarding-flow b {
    margin: 0 0 5px;
    font-size: 11px;
  }

  .onboarding-flow span {
    width: 100%;
    font-size: 13px;
    line-height: 1.55;
    text-align: center;
  }

  .visualization-map {
    grid-template-columns: 1fr;
  }

  .visualization-map span {
    min-height: 92px;
  }

  .system-progress li::after {
    top: auto;
    right: 50%;
    bottom: -35px;
    transform: translateX(50%) rotate(90deg);
  }

  .system-progress {
    gap: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .subpage * {
    scroll-behavior: auto !important;
  }
}

/* Yellow sub-colour accents shared by the two B-plan subpages. */
.subpage {
  --subpage-yellow: #fff600;
}

.subpage-hero .kf-container {
  z-index: 1;
}

.subpage-breadcrumb > span:last-child {
  padding: 4px 10px 5px;
  color: #171b1f;
  background: var(--subpage-yellow);
}

.subpage-heading-number {
  display: inline-grid;
  min-width: 52px;
  min-height: 30px;
  place-items: center;
  padding: 4px 10px;
  color: #171b1f;
  background: var(--subpage-yellow);
  border-radius: 999px;
  line-height: 1;
}

.subpage-section--cyan .subpage-heading-number {
  color: #171b1f;
  opacity: 1;
}

.subpage-heading h2::after {
  display: block;
  width: 54px;
  height: 5px;
  margin: 18px auto 0;
  background: var(--cyan);
  content: "";
}

.subpage-heading--left h2::after {
  margin-inline: 0;
}

.service-feature-copy h3::before {
  position: relative;
  top: -.08em;
  display: inline-block;
  width: 10px;
  height: 10px;
  margin: 0 12px 0 0;
  background: var(--subpage-yellow);
  content: "";
  transform: rotate(45deg);
  vertical-align: middle;
}

.service-feature-visual,
.tool-gallery figure {
  border-top: 6px solid var(--subpage-yellow);
}

.onboarding-flow b {
  width: fit-content;
  margin-inline: auto;
  padding: 4px 9px;
  color: #171b1f;
  background: var(--subpage-yellow);
  border-radius: 999px;
}

.ai-feature-list li::before {
  color: var(--subpage-yellow);
}

.knowledge-intro-card {
  border-left: 8px solid var(--subpage-yellow);
}

.perspective-card .perspective-label,
.perspective-card:nth-child(2) .perspective-label {
  color: #171b1f;
  background: var(--subpage-yellow);
}

.visualization-map span:nth-child(2),
.system-progress li:nth-child(2) {
  color: #171b1f;
  background: var(--subpage-yellow);
}

/* Reuse the top page's section-action button, including its arrow and hover. */
.subpage .section-action.subpage-cta {
  margin: 52px 0 0;
}

.subpage .contact-cta {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  min-width: min(360px, 100%);
  color: #fff;
  background: #149fc4;
  border-color: #149fc4;
}

.subpage .contact-cta img {
  width: 23px;
  height: 15px;
  object-fit: contain;
}

.subpage .contact-cta:hover,
.subpage .contact-cta:focus-visible {
  color: #fff;
  background: #0a7f86;
  border-color: #0a7f86;
}

.subpage-section--cyan .section-action .kf-btn {
  color: #fff;
  border-color: #fff;
}

.subpage-section--cyan .section-action .kf-btn.kf-arrow::after {
  border-color: #fff;
}

.subpage-section--cyan .section-action .kf-btn:hover,
.subpage-section--cyan .section-action .kf-btn:focus-visible {
  color: #0dacb5;
  background: #fff;
  border-color: #fff;
}

.subpage-section--cyan .section-action .kf-btn:hover::after,
.subpage-section--cyan .section-action .kf-btn:focus-visible::after {
  border-color: #0dacb5;
}

@media (max-width: 960px) {
  .subpage-heading h2::after {
    height: 4px;
    margin-top: 14px;
  }

  .subpage .section-action.subpage-cta {
    margin-top: 38px;
  }
}

/* Hero title bands reveal from the left and follow each line's text width. */
.subpage-hero .hero-title-line {
  display: inline;
  padding: .04em .18em .1em;
  color: #fff;
  background: linear-gradient(#0a7f86, #0a7f86) no-repeat left center / 0 100%;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  animation: subpage-title-band-in 1.2s .3s cubic-bezier(.22, 1, .36, 1) forwards;
}

.subpage-hero .hero-title-line:nth-of-type(2) {
  animation-delay: .5s;
}

.subpage-hero .hero-title-line:nth-of-type(3) {
  animation-delay: .7s;
}

@keyframes subpage-title-band-in {
  0% {
    background-size: 0 100%;
  }

  100% {
    background-size: 100% 100%;
  }
}

@media (max-width: 720px) {
  .process-video-trigger__play {
    width: 62px;
    border-width: 2px;
  }

  .process-video-trigger__play::before {
    border-top-width: 9px;
    border-bottom-width: 9px;
    border-left-width: 15px;
  }

  .video-modal {
    padding: 12px;
  }

  .video-modal__dialog {
    width: 100%;
    padding: 8px;
  }

  .video-modal__close {
    top: -14px;
    right: -6px;
    width: 42px;
    height: 42px;
  }

  .video-modal__close::before,
  .video-modal__close::after {
    width: 19px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .process-video img,
  .process-video-trigger__play,
  .video-modal,
  .video-modal__dialog {
    transition: none;
  }
}

.service-feature-copy h4{
  font-size: 120%;
}