.air-ecu-page {
  background: #eef7ff;
}

/* Figma 163:150 - vehicle HVAC ECU redesign */
.air-v2-main {
  overflow: hidden;
  background: #f2f9ff;
  color: #2f3548;
}

.air-v2-hero {
  height: 400px;
  background: url("./assets/air-conditioner-control-ecu/v2-hero-bg.png") center / cover no-repeat;
}

.air-v2-hero__inner {
  height: 100%;
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
}

.air-v2-hero h1,
.air-v2-intro__copy h2,
.air-v2-heading h2 {
  margin: 0;
  color: #2f3548;
  font-size: 32px;
  line-height: 39px;
  font-weight: 800;
  letter-spacing: 0;
}

.air-v2-hero p,
.air-v2-intro__copy > span,
.air-v2-heading > span {
  margin: 10px 0 0;
  color: #666;
  font-family: "Outfit", "Noto Sans JP", sans-serif;
  font-size: 16px;
  line-height: 19px;
  font-weight: 300;
  letter-spacing: 0;
}

.air-v2-hero > .container > span {
  max-width: 800px;
  margin-top: 10px;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0.2em;
}

.air-v2-intro {
  background: #fff;
}

.air-v2-intro__inner {
  position: relative;
  height: 264px;
  display: flex;
  align-items: flex-start;
}

.air-v2-intro__copy {
  width: min(928px, 72%);
  padding-top: 36px;
}

.air-v2-intro__copy > span {
  display: block;
  margin-top: 10px;
}

.air-v2-intro__copy p {
  margin: 12px 0 0;
  color: #2f3548;
  font-size: 16px;
  line-height: 28px;
  letter-spacing: 0.06em;
}

.air-v2-intro__product {
  position: absolute;
  right: 0;
  top: 54px;
  width: 303px;
  height: 170px;
  object-fit: contain;
}

.air-v2-interior {
  width: 100%;
  height: 610px;
  background: url("./assets/air-conditioner-control-ecu/v2-interior.jpg") center / cover no-repeat;
}

.air-v2-capability-shell {
  position: relative;
  z-index: 2;
  width: min(1200px, calc(100vw - 48px));
  height: 264px;
  margin-top: -120px;
}

.air-v2-capability-panel {
  position: absolute;
  inset: 0;
  background: url("./assets/air-conditioner-control-ecu/v2-feature-panel.png") center / 100% 100% no-repeat;
}

.air-v2-capability-grid {
  position: relative;
  z-index: 1;
  width: 998px;
  margin: 0 auto;
  padding-top: 41px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

.air-v2-capability-grid article {
  display: grid;
  justify-items: center;
  grid-template-rows: 88px 40px;
  gap: 8px;
}

.air-v2-capability-grid img {
  width: 88px;
  height: 88px;
  object-fit: contain;
}

.air-v2-capability-grid h3 {
  margin: 0;
  color: #313131;
  font-size: 28px;
  line-height: 40px;
  font-weight: 400;
  letter-spacing: 0;
  text-align: center;
}

.air-v2-overview {
  padding: 32px 0 0;
  background: #f2f9ff;
}

.air-v2-heading {
  text-align: center;
}

.air-v2-heading > span {
  display: block;
  margin-top: 15px;
}

.air-v2-flow {
  position: relative;
  width: 100%;
  aspect-ratio: 1336 / 256;
  margin-top: 30px;
}

.air-v2-flow-scroll {
  width: 100%;
}

.air-v2-flow__node,
.air-v2-flow__display {
  position: absolute;
  top: 9px;
  width: 16.47%;
  height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.05);
}

.air-v2-flow__node--motor { left: 0; }
.air-v2-flow__node--air { left: 25.52%; }
.air-v2-flow__node--main { left: 51.05%; }

.air-v2-flow__node img {
  object-fit: contain;
}

.air-v2-flow__node--motor img {
  width: 60px;
  height: 60px;
  margin-bottom: 26px;
}

.air-v2-flow__node--air img,
.air-v2-flow__node--main img {
  width: 156px;
  height: 87px;
  margin-bottom: 12px;
}

.air-v2-flow__node h3,
.air-v2-flow__display h3 {
  margin: 0;
  color: #000;
  font-size: 16px;
  line-height: 19px;
  font-weight: 400;
  letter-spacing: 0;
  text-align: center;
  white-space: nowrap;
}

.air-v2-flow__display {
  left: 76.57%;
  top: 0;
  width: 23.43%;
  height: 217px;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.air-v2-flow__display img {
  width: 100%;
  height: 217px;
  box-sizing: border-box;
  object-fit: contain;
  border: 6px solid #fff;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.air-v2-flow__display h3 {
  position: absolute;
  top: 237px;
  left: 0;
  width: 100%;
}

.air-v2-flow__connection {
  position: absolute;
  top: 0;
  width: 9.06%;
  height: 217px;
}

.air-v2-flow__connection--1 { left: 16.47%; }
.air-v2-flow__connection--2 { left: 41.99%; }
.air-v2-flow__connection--3 { left: 67.51%; }

.air-v2-flow__connection::before,
.air-v2-flow__connection::after {
  position: absolute;
  left: 14px;
  width: calc(100% - 28px);
  height: 2px;
  content: "";
  background: #f59e0b;
}

.air-v2-flow__connection::before {
  top: 64px;
}

.air-v2-flow__connection::after {
  top: 156px;
}

.air-v2-flow__label {
  position: absolute;
  left: 0;
  width: 100%;
  color: #8f8f8f;
  font-size: 12px;
  line-height: 15px;
  text-align: center;
  white-space: nowrap;
}

.air-v2-flow__label--top { top: 32px; }
.air-v2-flow__label--bottom { top: 126px; }

.air-v2-flow__label--top::before,
.air-v2-flow__label--bottom::after {
  position: absolute;
  width: 11px;
  height: 12px;
  content: "";
  background: #f59e0b;
}

.air-v2-flow__label--top::before {
  left: 8px;
  top: 26px;
  clip-path: polygon(100% 0, 0 50%, 100% 100%);
}

.air-v2-flow__label--bottom::after {
  right: 8px;
  top: 26px;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.air-v2-process {
  min-height: 280px;
  margin-top: 34px;
  padding: 64px 52px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 72px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.05);
}

.air-v2-process article {
  text-align: center;
}

.air-v2-process h3 {
  margin: 0;
  color: #000;
  font-size: 20px;
  line-height: 24px;
  font-weight: 500;
}

.air-v2-process p {
  margin: 28px auto 0;
  color: #545454;
  font-size: 16px;
  line-height: 24px;
}

.air-v2-functions {
  padding: 95px 0 0;
  background: #f2f9ff;
}

.air-v2-function-list {
  display: grid;
  gap: 40px;
  margin-top: 60px;
}

.air-v2-function-card {
  height: 260px;
  padding: 56px 58px;
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  align-items: center;
  gap: 20px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.05);
}

.air-v2-function-card img {
  width: 160px;
  height: 148px;
  object-fit: contain;
}

.air-v2-function-card h3 {
  margin: 0;
  color: #2f3548;
  font-size: 28px;
  line-height: 42px;
  font-weight: 400;
  letter-spacing: 0.08em;
}

.air-v2-function-card p {
  position: relative;
  margin: 10px 0 0;
  padding-left: 18px;
  color: #545454;
  font-size: 20px;
  line-height: 42px;
  letter-spacing: 0.08em;
}

.air-v2-function-card p::before {
  position: absolute;
  left: 0;
  content: "·";
  color: #2085f9;
}

.air-v2-specs {
  padding: 80px 0 140px;
  background: #f2f9ff;
}

.air-v2-spec-table {
  position: relative;
  height: 325px;
  margin-top: 40px;
  overflow: hidden;
  border-radius: 12px;
  background: #f7fbff;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.05);
}

.air-v2-spec-table__logo {
  position: absolute;
  right: 96px;
  bottom: 18px;
  width: 158px;
  height: 158px;
  opacity: 0.05;
}

.air-v2-spec-row {
  position: relative;
  z-index: 1;
  min-height: 48px;
  display: grid;
  grid-template-columns: 130px 196px minmax(0, 1fr);
  border-bottom: 1px solid rgba(67, 164, 255, 0.25);
}

.air-v2-spec-row > div {
  min-width: 0;
  padding: 0 20px;
  display: flex;
  align-items: center;
  color: #6c707d;
  font-size: 14px;
  line-height: 48px;
  letter-spacing: 0.1em;
}

.air-v2-spec-row > div:first-child {
  justify-content: center;
  padding: 0;
  border-right: 1px solid rgba(67, 164, 255, 0.25);
  background: #43a4ff;
  color: #fff;
  font-size: 18px;
  letter-spacing: 0;
}

.air-v2-spec-row > div:nth-child(2) {
  border-right: 1px solid rgba(67, 164, 255, 0.25);
}

.air-v2-spec-head {
  min-height: 85px;
  border-bottom-color: rgba(255, 255, 255, 0.72);
  background: #43a4ff;
}

.air-v2-spec-head > div {
  justify-content: center;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
}

.air-v2-spec-head > div:first-child,
.air-v2-spec-head > div:nth-child(2) {
  border-right-color: rgba(255, 255, 255, 0.72);
}

.air-v2-spec-row:last-child {
  border-bottom: 0;
}

@media (max-width: 1180px) {
  .air-v2-flow-scroll {
    margin-top: 34px;
    padding-bottom: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-inline: contain;
    scrollbar-color: rgba(66, 164, 255, 0.55) transparent;
    scrollbar-width: thin;
  }

  .air-v2-flow {
    width: max(100%, 960px);
    height: 256px;
    aspect-ratio: auto;
    margin-top: 0;
  }

  .air-v2-process {
    min-height: 0;
    padding: 48px 36px;
    gap: 32px;
  }

  .air-v2-process h3 {
    font-size: 18px;
  }

  .air-v2-process p {
    margin-top: 20px;
    font-size: 15px;
  }
}

@media (max-width: 1080px) {
  .air-v2-intro__copy {
    width: calc(100% - 270px);
  }

  .air-v2-intro__product {
    width: 250px;
  }

  .air-v2-capability-grid {
    width: calc(100% - 180px);
  }

  .air-v2-capability-grid h3 {
    font-size: 22px;
  }

  .air-v2-function-card {
    height: auto;
    min-height: 260px;
  }
}

@media (max-width: 780px) {
  .air-v2-hero {
    height: 320px;
  }

  .air-v2-hero h1,
  .air-v2-intro__copy h2,
  .air-v2-heading h2 {
    font-size: 26px;
    line-height: 1.3;
  }

  .air-v2-hero > .container > span {
    max-width: 340px;
    letter-spacing: 0.08em;
  }

  .air-v2-intro__inner {
    height: auto;
    min-height: 470px;
    padding: 44px 0;
    display: grid;
    gap: 28px;
  }

  .air-v2-intro__copy {
    width: 100%;
    padding: 0;
  }

  .air-v2-intro__copy p {
    font-size: 14px;
    line-height: 1.8;
  }

  .air-v2-intro__product {
    position: static;
    justify-self: center;
    width: min(260px, 76vw);
    height: auto;
  }

  .air-v2-interior {
    height: 360px;
  }

  .air-v2-capability-shell {
    width: calc(100vw - 28px);
    height: auto;
    min-height: 196px;
    margin-top: -70px;
  }

  .air-v2-capability-grid {
    width: calc(100% - 48px);
    padding-top: 30px;
    gap: 8px;
  }

  .air-v2-capability-grid article {
    grid-template-rows: 64px auto;
  }

  .air-v2-capability-grid img {
    width: 64px;
    height: 64px;
  }

  .air-v2-capability-grid h3 {
    font-size: 13px;
    line-height: 1.4;
  }

  .air-v2-overview {
    padding-top: 54px;
  }

  .air-v2-process {
    margin-top: 22px;
    padding: 30px 22px;
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .air-v2-process p {
    margin-top: 12px;
  }

  .air-v2-functions {
    padding-top: 64px;
  }

  .air-v2-function-list {
    margin-top: 38px;
    gap: 22px;
  }

  .air-v2-function-card {
    min-height: 0;
    padding: 30px 22px;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 18px;
    text-align: center;
  }

  .air-v2-function-card img {
    width: 120px;
    height: 112px;
  }

  .air-v2-function-card h3 {
    font-size: 22px;
    line-height: 1.4;
  }

  .air-v2-function-card p {
    padding-left: 0;
    font-size: 15px;
    line-height: 1.8;
    letter-spacing: 0.04em;
  }

  .air-v2-function-card p::before {
    position: static;
    margin-right: 5px;
  }

  .air-v2-specs {
    padding: 64px 0 88px;
  }

  .air-v2-spec-table {
    height: auto;
  }

  .air-v2-spec-row {
    grid-template-columns: 54px 92px minmax(0, 1fr);
  }

  .air-v2-spec-row > div {
    padding: 8px 10px;
    font-size: 12px;
    line-height: 1.5;
    overflow-wrap: anywhere;
  }

  .air-v2-spec-row > div:first-child,
  .air-v2-spec-head > div {
    font-size: 13px;
  }
}

/* Responsive stabilization for the active Figma v2 layout. */
@media (max-width: 1280px) {
  .air-v2-main {
    overflow-x: clip;
  }

  .air-v2-intro__inner {
    height: auto;
    min-height: 320px;
    padding-block: 40px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(250px, 31%);
    align-items: center;
    gap: 32px;
  }

  .air-v2-intro__copy {
    width: auto;
    padding-top: 0;
  }

  .air-v2-intro__product {
    position: static;
    width: min(303px, 100%);
    height: auto;
    justify-self: end;
  }
}

@media (max-width: 1100px) {
  .air-v2-hero {
    height: 340px;
  }

  .air-v2-hero__inner {
    padding-inline: 24px;
  }

  .air-v2-intro__inner {
    grid-template-columns: minmax(0, 1fr) minmax(230px, 34%);
    gap: 24px;
  }

  .air-v2-intro__copy p {
    font-size: 15px;
    line-height: 1.75;
    letter-spacing: 0.035em;
  }

  .air-v2-capability-grid {
    width: calc(100% - 96px);
    gap: 24px;
  }

  .air-v2-function-card {
    padding: 42px 40px;
    grid-template-columns: 136px minmax(0, 1fr);
    gap: 28px;
  }

  .air-v2-function-card img {
    width: 136px;
    height: 126px;
  }

  .air-v2-function-card h3 {
    font-size: 24px;
    line-height: 1.4;
  }

  .air-v2-function-card p {
    font-size: 17px;
    line-height: 1.9;
    letter-spacing: 0.04em;
  }
}

@media (max-width: 900px) {
  .air-v2-intro__inner {
    min-height: 0;
    padding-block: 48px;
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .air-v2-intro__product {
    width: min(300px, 72vw);
    justify-self: center;
  }

  .air-v2-interior {
    height: clamp(340px, 54vw, 480px);
  }

  .air-v2-capability-shell {
    height: 220px;
    margin-top: -92px;
  }

  .air-v2-capability-grid {
    width: calc(100% - 64px);
    padding-top: 34px;
    gap: 16px;
  }

  .air-v2-capability-grid article {
    grid-template-rows: 74px auto;
  }

  .air-v2-capability-grid img {
    width: 74px;
    height: 74px;
  }

  .air-v2-capability-grid h3 {
    font-size: 17px;
    line-height: 1.4;
  }

  .air-v2-process {
    padding: 38px 28px;
    gap: 24px;
  }

  .air-v2-process h3 {
    min-height: 50px;
    display: grid;
    place-items: center;
  }
}

@media (max-width: 780px) {
  .air-v2-hero {
    height: auto;
    min-height: 300px;
  }

  .air-v2-hero__inner {
    min-height: 300px;
    padding-block: 54px;
  }

  .air-v2-hero h1 {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .air-v2-hero > .container > span {
    line-height: 1.65;
  }

  .air-v2-intro__inner {
    padding-block: 40px;
  }

  .air-v2-intro__copy p {
    margin-top: 18px;
    line-height: 1.9;
  }

  .air-v2-interior {
    height: 330px;
    background-position: center;
  }

  .air-v2-capability-shell {
    min-height: 204px;
    margin-top: -64px;
  }

  .air-v2-capability-panel {
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 12px 24px rgba(37, 92, 151, 0.1);
    backdrop-filter: blur(10px);
  }

  .air-v2-capability-grid {
    width: calc(100% - 28px);
    padding: 28px 6px 22px;
  }

  .air-v2-overview {
    padding-top: 56px;
  }

  .air-v2-flow-scroll {
    margin-top: 30px;
    padding: 0;
    overflow: visible;
  }

  .air-v2-flow {
    width: 100%;
    height: auto;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .air-v2-flow__node,
  .air-v2-flow__display {
    position: relative;
    inset: auto;
    width: min(100%, 360px);
    height: 210px;
    flex: 0 0 auto;
  }

  .air-v2-flow__node--motor { order: 1; }
  .air-v2-flow__connection--1 { order: 2; }
  .air-v2-flow__node--air { order: 3; }
  .air-v2-flow__connection--2 { order: 4; }
  .air-v2-flow__node--main { order: 5; }
  .air-v2-flow__connection--3 { order: 6; }
  .air-v2-flow__display { order: 7; }

  .air-v2-flow__display {
    height: auto;
  }

  .air-v2-flow__display img {
    width: 100%;
    height: auto;
    aspect-ratio: 312 / 217;
  }

  .air-v2-flow__display h3 {
    position: static;
    width: 100%;
    margin-top: 12px;
  }

  .air-v2-flow__connection {
    position: relative;
    inset: auto;
    width: min(280px, 100%);
    height: 112px;
    flex: 0 0 112px;
  }

  .air-v2-flow__connection::before,
  .air-v2-flow__connection::after {
    top: 10px;
    width: 2px;
    height: 92px;
  }

  .air-v2-flow__connection::before {
    left: calc(50% - 14px);
  }

  .air-v2-flow__connection::after {
    left: calc(50% + 14px);
  }

  .air-v2-flow__label {
    left: calc(50% + 34px);
    width: calc(50% - 34px);
    text-align: left;
    white-space: normal;
  }

  .air-v2-flow__label--top { top: 19px; }
  .air-v2-flow__label--bottom { top: 68px; }

  .air-v2-flow__label--top::before,
  .air-v2-flow__label--bottom::after {
    width: 12px;
    height: 10px;
  }

  .air-v2-flow__label--top::before {
    left: -52px;
    top: 70px;
    clip-path: polygon(0 0, 100% 0, 50% 100%);
  }

  .air-v2-flow__label--bottom::after {
    left: -24px;
    top: -66px;
    clip-path: polygon(50% 0, 100% 100%, 0 100%);
  }

  .air-v2-process {
    margin-top: 42px;
  }

  .air-v2-process h3 {
    min-height: 0;
  }

  .air-v2-function-card {
    width: 100%;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 18px;
    text-align: center;
  }

  .air-v2-function-card p {
    padding-left: 0;
  }

  .air-v2-function-card p::before {
    position: static;
    margin-right: 5px;
  }

  .air-v2-spec-table {
    overflow: hidden;
  }
}

@media (max-width: 560px) {
  .air-ecu-page .floating-tools {
    display: none;
  }

  .air-v2-hero h1,
  .air-v2-intro__copy h2,
  .air-v2-heading h2 {
    font-size: 24px;
  }

  .air-v2-hero p,
  .air-v2-intro__copy > span,
  .air-v2-heading > span {
    font-size: 14px;
  }

  .air-v2-interior {
    height: 270px;
  }

  .air-v2-capability-shell {
    width: calc(100vw - 20px);
    min-height: 184px;
    margin-top: -46px;
  }

  .air-v2-capability-grid {
    width: calc(100% - 16px);
    padding-top: 24px;
    gap: 4px;
  }

  .air-v2-capability-grid article {
    grid-template-rows: 58px auto;
    gap: 8px;
  }

  .air-v2-capability-grid img {
    width: 58px;
    height: 58px;
  }

  .air-v2-capability-grid h3 {
    font-size: 12px;
    line-height: 1.35;
    overflow-wrap: anywhere;
  }

  .air-v2-process {
    padding: 28px 18px;
  }

  .air-v2-process h3 {
    font-size: 17px;
    line-height: 1.45;
  }

  .air-v2-process p {
    font-size: 14px;
    line-height: 1.75;
  }

  .air-v2-function-card {
    padding: 26px 18px;
  }

  .air-v2-function-card img {
    width: 104px;
    height: 96px;
  }

  .air-v2-function-card h3 {
    font-size: 20px;
  }

  .air-v2-function-card p {
    font-size: 14px;
  }

  .air-v2-spec-row {
    grid-template-columns: 42px 82px minmax(0, 1fr);
  }

  .air-v2-spec-row > div {
    padding: 8px 7px;
    font-size: 11px;
    letter-spacing: 0.02em;
  }

  .air-v2-spec-row > div:first-child,
  .air-v2-spec-head > div {
    font-size: 12px;
  }

  .air-v2-spec-table__logo {
    right: 14px;
    width: 110px;
    height: 110px;
  }
}

.air-ecu-page .topbar {
  background: rgba(255, 255, 255, 0.84);
}

.air-ecu-main {
  overflow: hidden;
  background: #eef7ff;
}

.air-hero {
  position: relative;
  height: clamp(320px, 20.84vw, 400px);
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.2)),
    url("./assets/air-conditioner-control-ecu/hero-bg.png") center center / cover no-repeat;
}

.air-hero__inner {
  height: 100%;
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
  color: #2f3548;
}

.air-hero h1,
.air-copy h2,
.air-section-heading h2 {
  margin: 0;
  color: #2f3548;
  font-size: 32px;
  line-height: 1.22;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.air-hero p,
.air-copy span,
.air-section-heading span {
  display: block;
  margin: 14px 0 0;
  font-family: "Outfit", "Noto Sans SC", sans-serif;
  color: #666;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 300;
}

.air-hero span {
  display: block;
  max-width: 680px;
  margin-top: 22px;
  color: #2f3548;
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: 0.18em;
}

.section-band {
  background: #fff;
}

.air-intro {
  min-height: 760px;
}

.air-intro__inner {
  min-height: 760px;
  display: grid;
  grid-template-columns: minmax(0, 686px) minmax(360px, 522px);
  align-items: center;
  justify-content: space-between;
  gap: 72px;
}

.air-copy {
  color: #2f3548;
}

.air-copy span,
.air-section-heading span {
  margin-top: 28px;
}

.air-copy p {
  margin: 27px 0 0;
  color: #545454;
  font-size: 16px;
  line-height: 28px;
  letter-spacing: 0.06em;
}

.air-intro__visual {
  justify-self: end;
  width: min(522px, 100%);
}

.air-intro__visual img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.air-environment {
  position: relative;
  padding-bottom: 104px;
  background: #eef7ff;
}

.air-environment__scene {
  width: 100%;
  height: clamp(420px, 56.3vw, 1081px);
  min-height: 420px;
  background:
    linear-gradient(180deg, rgba(238, 247, 255, 0) 74%, #eef7ff 100%),
    url("./assets/air-conditioner-control-ecu/interior-bg.png") center center / cover no-repeat;
}

.air-feature-shell {
  position: relative;
  z-index: 1;
  width: min(1200px, calc(100vw - 48px));
  min-height: 0;
  aspect-ratio: 1399 / 264;
  margin-top: -177px;
  display: block;
}

.air-feature-panel {
  position: absolute;
  inset: 0;
  background: url("./assets/air-conditioner-control-ecu/feature-panel.png") center center / 100% 100% no-repeat;
  pointer-events: none;
}

.air-feature-grid {
  position: absolute;
  left: 50%;
  top: 45px;
  transform: translateX(-50%);
  z-index: 1;
  width: min(1070px, calc(100% - 220px));
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 46px;
  align-items: start;
  text-align: center;
}

.air-feature-grid article {
  display: grid;
  justify-items: center;
  grid-template-rows: 88px minmax(40px, auto);
  gap: 4px;
  min-width: 0;
  align-content: start;
}

.air-feature-grid img {
  width: 88px;
  height: 88px;
  object-fit: contain;
}

.air-feature-grid h3 {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  max-width: 100%;
  margin: 0;
  color: #313131;
  font-size: 28px;
  line-height: 40px;
  font-weight: 400;
  letter-spacing: 0.04em;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

html[lang="en"] .air-feature-grid h3 {
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: 0;
}

html[lang="ja"] .air-feature-grid h3 {
  font-size: 24px;
  line-height: 1.32;
  letter-spacing: 0.02em;
}

.air-overview {
  padding: 86px 0 92px;
  background: #eef7ff;
}

.air-section-heading {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.air-section-heading p {
  margin: 28px auto 0;
  color: #2f3548;
  font-size: 16px;
  line-height: 32px;
  letter-spacing: 0.08em;
}

.air-flow-scroll {
  --air-flow-shadow-gutter: 48px;
  width: calc(100% + var(--air-flow-shadow-gutter) + var(--air-flow-shadow-gutter));
  margin: 38px 0 0 calc(0px - var(--air-flow-shadow-gutter));
  overflow: visible;
  padding: 36px var(--air-flow-shadow-gutter) 72px;
  -webkit-overflow-scrolling: touch;
}

.air-flow-scroll::-webkit-scrollbar {
  height: 6px;
}

.air-flow-scroll::-webkit-scrollbar-track {
  border-radius: 999px;
  background: rgba(174, 215, 255, 0.22);
}

.air-flow-scroll::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(86, 155, 244, 0.42);
}

.air-flow-diagram {
  position: relative;
  width: 100%;
  margin: 0;
  aspect-ratio: 1336 / 988;
}

.air-flow-row {
  display: contents;
}

.air-flow-node,
.air-motor-stack {
  position: absolute;
  z-index: 3;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #fff;
  box-shadow:
    0 2px 7px rgba(54, 83, 120, 0.025),
    0 14px 34px rgba(54, 83, 120, 0.052),
    0 30px 60px rgba(54, 83, 120, 0.024);
  color: #000;
  text-align: center;
  font-size: 18px;
  line-height: 1.45;
  font-weight: 500;
}

.air-flow-row--main > .air-flow-node--tall {
  left: 0;
  top: 0;
  width: 12.57%;
  height: 48.58%;
}

.air-flow-row--main > .air-motor-stack {
  left: 27.17%;
  top: 0;
  width: 12.57%;
  height: 48.58%;
}

.air-flow-row--main > .air-flow-node--board {
  left: 54.42%;
  top: 0;
  width: 12.57%;
  height: 48.58%;
}

.air-flow-row--main > .air-flow-node--ecu {
  left: 79.34%;
  top: 0;
  width: 20.66%;
  height: 48.58%;
}

.air-flow-row--router > .air-flow-node--wide {
  left: 0;
  top: 58.7%;
  width: 100%;
  height: 15.59%;
}

.air-flow-row--devices > .air-flow-node:first-child {
  left: 0;
  top: 84.41%;
  width: 47.01%;
  height: 15.59%;
}

.air-flow-row--devices > .air-flow-node:last-child {
  left: 52.92%;
  top: 84.41%;
  width: 47.01%;
  height: 15.59%;
}

.air-motor-stack {
  padding: 0;
  align-content: initial;
  gap: 0;
}

.air-motor-unit {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 60px;
  display: block;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.air-motor-unit:nth-child(1) {
  top: 12.5%;
}

.air-motor-unit:nth-child(2) {
  top: 31.25%;
}

.air-motor-unit:nth-child(3) {
  top: 50%;
}

.air-motor-unit:nth-child(4) {
  top: 68.75%;
}

.air-motor-unit img {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.air-motor-stack strong {
  position: absolute;
  left: 50%;
  top: 91.04%;
  transform: translate(-50%, -50%);
  margin: 0;
  font-size: 18px;
  font-weight: 500;
}

.air-flow-node--ecu {
  padding: 0;
  align-content: initial;
  gap: 0;
}

.air-flow-node--ecu img {
  position: absolute;
  left: 50%;
  top: 50.1%;
  width: 82%;
  max-width: none;
  height: auto;
  object-fit: contain;
  transform: translate(-50%, -50%);
}

.air-flow-node--ecu span {
  position: absolute;
  left: 50%;
  top: 77.7%;
  transform: translate(-50%, -50%);
}

.air-flow-arrow {
  position: absolute;
  z-index: 1;
  width: 16.36%;
  height: 10.12%;
  background: url("./assets/air-conditioner-control-ecu/overview-card-bg-fixed.png") center center / 100% 100% no-repeat;
  overflow: hidden;
}

.air-flow-arrow::before,
.air-flow-arrow::after {
  content: none;
}

.air-flow-row--main > .air-flow-arrow:nth-child(2) {
  left: 10.7%;
  top: 19.23%;
}

.air-flow-row--main > .air-flow-arrow:nth-child(4) {
  left: 38.02%;
  top: 19.23%;
}

.air-flow-row--main > .air-flow-arrow:nth-child(6) {
  left: 62.95%;
  top: 19.23%;
}

.air-router-line {
  position: absolute;
  display: none;
  left: 7.9%;
  top: 54.05%;
  width: 77.86%;
  height: 4.76%;
  border-left: 24px solid rgba(174, 215, 255, 0.78);
  border-right: 24px solid rgba(174, 215, 255, 0.78);
  border-bottom: 24px solid rgba(174, 215, 255, 0.78);
  border-radius: 0 0 4px 4px;
}

.air-flow-down-icon {
  position: absolute;
  z-index: 2;
  width: 7.49%;
  height: 10.07%;
  object-fit: contain;
  pointer-events: none;
}

.air-flow-down-icon--ecu {
  left: 85.93%;
  top: 48.58%;
}

.air-flow-down-icon--vr {
  left: 19.85%;
  top: 74.29%;
}

.air-flow-down-icon--pc {
  left: 72.73%;
  top: 74.29%;
}

.air-advantages {
  padding: 106px 0 96px;
  background: #eef7ff;
}

.air-advantage-list {
  width: min(1200px, 100%);
  margin: 72px auto 0;
  display: grid;
  gap: 40px;
}

.air-advantage-card {
  min-height: 260px;
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  align-items: center;
  gap: 80px;
  padding: 48px 78px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.05);
}

.air-advantage-card img {
  width: 160px;
  height: 148px;
  object-fit: contain;
}

.air-advantage-card h3 {
  margin: 0;
  color: #2f3548;
  font-size: 28px;
  line-height: 42px;
  font-weight: 400;
  letter-spacing: 0.08em;
}

.air-advantage-card p {
  margin: 20px 0 0;
  color: #545454;
  font-size: 20px;
  line-height: 42px;
  letter-spacing: 0.08em;
}

.air-specs {
  padding: 0 0 170px;
  background: #eef7ff;
}

.air-spec-table {
  position: relative;
  overflow: hidden;
  width: min(1200px, 100%);
  margin: 40px auto 0;
  border-radius: 8px;
  background: rgba(247, 251, 255, 0.9);
  box-shadow: 0 18px 38px rgba(59, 107, 161, 0.12);
}

.air-spec-table__logo {
  position: absolute;
  right: 86px;
  bottom: 48px;
  width: 222px;
  height: 222px;
  object-fit: contain;
  opacity: 0.05;
  pointer-events: none;
}

.air-spec-row {
  --spec-col-index: 130px;
  --spec-col-item: 196px;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: var(--spec-col-index) var(--spec-col-item) minmax(0, 1fr);
  min-height: 48px;
  border-bottom: 1px solid rgba(88, 165, 255, 0.32);
}

.air-spec-row:last-child {
  border-bottom: 0;
}

.air-spec-row > div {
  min-width: 0;
  display: flex;
  align-items: center;
  padding: 0 20px;
  color: #6c707d;
  font-size: 14px;
  line-height: 1.55;
  letter-spacing: 0.12em;
  overflow-wrap: anywhere;
}

.air-spec-row > div:first-child {
  justify-content: center;
  color: #fff;
  background: #43a4ff;
  font-size: 18px;
  letter-spacing: 0;
}

.air-spec-row > div:nth-child(2) {
  border-right: 1px solid rgba(88, 165, 255, 0.28);
}

.air-spec-head {
  min-height: 84px;
  background: #43a4ff;
  border-bottom: 0;
}

.air-spec-head > div {
  justify-content: center;
  color: #fff;
  border-right: 1px solid rgba(255, 255, 255, 0.28);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.air-spec-head > div:last-child {
  border-right: 0;
}

.air-spec-head::before,
.air-spec-head::after {
  content: "";
  position: absolute;
  z-index: 2;
  pointer-events: none;
}

.air-spec-head::before {
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.46);
}

.air-spec-head::after {
  top: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  background:
    linear-gradient(
      90deg,
      transparent calc(var(--spec-col-index) - 0.5px),
      rgba(255, 255, 255, 0.34) calc(var(--spec-col-index) - 0.5px),
      rgba(255, 255, 255, 0.34) calc(var(--spec-col-index) + 0.5px),
      transparent calc(var(--spec-col-index) + 0.5px),
      transparent calc(var(--spec-col-index) + var(--spec-col-item) - 0.5px),
      rgba(255, 255, 255, 0.34) calc(var(--spec-col-index) + var(--spec-col-item) - 0.5px),
      rgba(255, 255, 255, 0.34) calc(var(--spec-col-index) + var(--spec-col-item) + 0.5px),
      transparent calc(var(--spec-col-index) + var(--spec-col-item) + 0.5px)
    );
}

.air-ecu-page .reveal {
  opacity: 1;
  transform: none;
}

.air-ecu-page.js-enabled .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.58s ease, transform 0.58s ease;
}

.air-ecu-page.js-enabled .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1180px) {
  .air-intro__inner {
    min-height: auto;
    padding: 84px 0;
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .air-intro__visual {
    justify-self: center;
  }

  .air-feature-shell {
    width: min(1040px, calc(100vw - 48px));
    margin-top: -122px;
  }

  .air-feature-grid {
    top: 10%;
    width: min(820px, calc(100% - 120px));
    gap: clamp(18px, 2.4vw, 28px);
  }

  .air-feature-grid article {
    grid-template-rows: clamp(52px, 6.1vw, 72px) minmax(clamp(32px, 3.2vw, 38px), auto);
    gap: clamp(3px, 0.5vw, 6px);
  }

  .air-feature-grid img {
    width: clamp(52px, 6.1vw, 72px);
    height: clamp(52px, 6.1vw, 72px);
  }

  .air-feature-grid h3 {
    min-height: clamp(32px, 3.2vw, 38px);
    font-size: clamp(18px, 2.1vw, 22px);
    line-height: 1.34;
    letter-spacing: 0.02em;
  }

  html[lang="en"] .air-feature-grid h3 {
    font-size: clamp(15px, 1.7vw, 18px);
    line-height: 1.28;
  }

  html[lang="ja"] .air-feature-grid h3 {
    font-size: clamp(17px, 1.9vw, 20px);
    line-height: 1.3;
  }

  .air-flow-diagram {
    aspect-ratio: auto;
    display: grid;
    gap: 44px;
  }

  .air-flow-row {
    display: grid;
    align-items: center;
    justify-content: center;
  }

  .air-flow-node,
  .air-motor-stack,
  .air-flow-arrow,
  .air-flow-down-icon,
  .air-router-line {
    position: static;
  }

  .air-flow-node,
  .air-motor-stack {
    min-height: 154px;
  }

  .air-flow-row--main > .air-flow-node--tall,
  .air-flow-row--main > .air-motor-stack,
  .air-flow-row--main > .air-flow-node--board,
  .air-flow-row--main > .air-flow-node--ecu,
  .air-flow-row--router > .air-flow-node--wide,
  .air-flow-row--devices > .air-flow-node:first-child,
  .air-flow-row--devices > .air-flow-node:last-child {
    left: auto;
    top: auto;
    width: auto;
    height: auto;
  }

  .air-flow-row--main {
    grid-template-columns: repeat(2, minmax(220px, 1fr));
    gap: 32px;
  }

  .air-flow-arrow,
  .air-flow-down-icon {
    display: none;
  }

  .air-flow-node--tall,
  .air-motor-stack,
  .air-flow-node--board,
  .air-flow-node--ecu {
    min-height: 240px;
  }

  .air-router-line {
    display: none;
  }

  .air-flow-row--devices {
    grid-template-columns: repeat(2, minmax(220px, 1fr));
    gap: 32px;
  }

  .air-advantage-card {
    gap: 48px;
    padding: 42px 54px;
  }
}

@media (max-width: 780px) {
  .air-hero {
    height: 320px;
  }

  .air-hero h1,
  .air-copy h2,
  .air-section-heading h2 {
    font-size: 28px;
  }

  .air-hero span {
    max-width: 340px;
    letter-spacing: 0.08em;
  }

  .air-intro {
    min-height: 0;
  }

  .air-environment {
    padding-bottom: 72px;
  }

  .air-environment__scene {
    height: 56vw;
    min-height: 280px;
    background-size: cover;
  }

  .air-feature-shell {
    width: min(620px, calc(100vw - 48px));
    aspect-ratio: auto;
    min-height: auto;
    margin-top: 0;
    padding-top: 38px;
  }

  .air-feature-panel {
    display: none;
  }

  .air-feature-grid {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    width: min(620px, 100%);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
  }

  .air-feature-grid article {
    min-height: 190px;
    padding: 24px 18px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 12px 24px rgba(45, 101, 173, 0.1);
    grid-template-rows: 76px 60px;
    gap: 14px;
    align-content: center;
  }

  .air-feature-grid img {
    width: 76px;
    height: 76px;
  }

  .air-feature-grid h3,
  html[lang="en"] .air-feature-grid h3,
  html[lang="ja"] .air-feature-grid h3 {
    min-height: 60px;
    font-size: 22px;
    line-height: 1.35;
    letter-spacing: 0.02em;
  }

  .air-overview,
  .air-advantages {
    padding: 72px 0;
  }

  .air-section-heading p,
  .air-copy p,
  .air-advantage-card p {
    font-size: 15px;
    line-height: 1.8;
    letter-spacing: 0.04em;
  }

  .air-flow-diagram {
    margin-top: 48px;
    gap: 26px;
  }

  .air-flow-row--main,
  .air-flow-row--devices {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .air-flow-node--tall,
  .air-motor-stack,
  .air-flow-node--board,
  .air-flow-node--ecu,
  .air-flow-node {
    min-height: 132px;
    padding: 24px 20px;
  }

  .air-motor-stack {
    grid-template-columns: repeat(4, 60px);
    justify-content: center;
    align-content: center;
  }

  .air-motor-stack strong {
    grid-column: 1 / -1;
  }

  .air-advantage-list {
    margin-top: 48px;
    gap: 24px;
  }

  .air-advantage-card {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 18px;
    padding: 34px 24px;
  }

  .air-advantage-card h3 {
    font-size: 24px;
    line-height: 1.45;
  }

  .air-specs {
    padding-bottom: 100px;
  }

  .air-spec-table {
    overflow-x: auto;
  }

  .air-spec-row {
    --spec-col-index: 64px;
    --spec-col-item: 180px;
    min-width: 760px;
  }

  .air-spec-row > div {
    padding: 10px 12px;
    font-size: 12px;
    letter-spacing: 0.04em;
  }

  .air-spec-row > div:first-child,
  .air-spec-head > div {
    font-size: 14px;
  }

  .air-spec-table__logo {
    right: 24px;
    bottom: 24px;
    width: 132px;
    height: 132px;
  }
}

@media (max-width: 520px) {
  .air-hero {
    background-position: center center;
  }

  .air-intro__inner {
    padding: 62px 0;
  }

  .air-copy span,
  .air-section-heading span {
    margin-top: 18px;
  }

  .air-environment__scene {
    min-height: 240px;
  }

  .air-feature-grid {
    grid-template-columns: 1fr;
  }

  .air-feature-grid article {
    min-height: 154px;
  }

  .air-motor-stack {
    grid-template-columns: repeat(2, 60px);
  }
}

@media (max-width: 1180px) {
  .air-flow-scroll {
    --air-flow-shadow-gutter: 24px;
    width: calc(100% + var(--air-flow-shadow-gutter) + var(--air-flow-shadow-gutter));
    margin-top: 24px;
    margin-left: calc(0px - var(--air-flow-shadow-gutter));
    padding: 28px var(--air-flow-shadow-gutter) 60px;
    overflow-x: auto;
    overflow-y: hidden;
  }

  .air-flow-diagram {
    position: relative;
    display: block;
    width: 100%;
    min-width: 980px;
    margin: 0;
    aspect-ratio: 1336 / 988;
    gap: 0;
  }

  .air-flow-row,
  .air-flow-row--main,
  .air-flow-row--router,
  .air-flow-row--devices {
    display: contents;
    grid-template-columns: none;
    gap: 0;
  }

  .air-flow-node,
  .air-motor-stack {
    position: absolute;
    z-index: 3;
    min-height: 0;
    padding: 0;
  }

  .air-flow-row--main > .air-flow-node--tall {
    left: 0;
    top: 0;
    width: 12.57%;
    height: 48.58%;
  }

  .air-flow-row--main > .air-motor-stack {
    left: 27.17%;
    top: 0;
    width: 12.57%;
    height: 48.58%;
  }

  .air-flow-row--main > .air-flow-node--board {
    left: 54.42%;
    top: 0;
    width: 12.57%;
    height: 48.58%;
  }

  .air-flow-row--main > .air-flow-node--ecu {
    left: 79.34%;
    top: 0;
    width: 20.66%;
    height: 48.58%;
  }

  .air-flow-row--router > .air-flow-node--wide {
    left: 0;
    top: 58.7%;
    width: 100%;
    height: 15.59%;
  }

  .air-flow-row--devices > .air-flow-node:first-child {
    left: 0;
    top: 84.41%;
    width: 47.01%;
    height: 15.59%;
  }

  .air-flow-row--devices > .air-flow-node:last-child {
    left: 52.92%;
    top: 84.41%;
    width: 47.01%;
    height: 15.59%;
  }

  .air-motor-stack {
    grid-template-columns: none;
    justify-content: initial;
    align-content: initial;
    padding: 0;
    gap: 0;
  }

  .air-motor-stack strong {
    grid-column: auto;
    margin: 0;
  }

  .air-flow-node--ecu {
    padding: 0;
    align-content: initial;
    gap: 0;
  }

  .air-flow-arrow {
    position: absolute;
    z-index: 1;
    display: block;
    width: 16.36%;
    height: 10.12%;
  }

  .air-flow-row--main > .air-flow-arrow:nth-child(2) {
    left: 10.7%;
    top: 19.23%;
  }

  .air-flow-row--main > .air-flow-arrow:nth-child(4) {
    left: 38.02%;
    top: 19.23%;
  }

  .air-flow-row--main > .air-flow-arrow:nth-child(6) {
    left: 62.95%;
    top: 19.23%;
  }

  .air-router-line {
    position: absolute;
    display: none;
  }

  .air-flow-down-icon {
    position: absolute;
    z-index: 2;
    display: block;
    width: 7.49%;
    height: 10.07%;
  }

  .air-flow-down-icon--ecu {
    left: 85.93%;
    top: 48.58%;
  }

  .air-flow-down-icon--vr {
    left: 19.85%;
    top: 74.29%;
  }

  .air-flow-down-icon--pc {
    left: 72.73%;
    top: 74.29%;
  }
}

@media (max-width: 520px) {
  .air-flow-scroll {
    --air-flow-shadow-gutter: 7px;
    width: calc(100% + var(--air-flow-shadow-gutter) + var(--air-flow-shadow-gutter));
    margin-left: -7px;
    padding-left: 7px;
    padding-right: 7px;
  }
}
