:root {
  --er-red: #c8172d;
  --er-red-dark: #a81224;
  --er-ink: #191b1f;
  --er-muted: #5e646c;
  --er-line: #e7e8ea;
  --er-width: 1200px;
  --er-wide-width: 1600px;
}

html,
body {
  max-width: 100%;
  margin: 0;
  overflow-x: clip;
}

* {
  box-sizing: border-box;
}

@media (min-width: 769px) {
  header .layout {
    max-width: 1380px;
    min-height: 96px;
    padding-inline: 20px;
  }

  .web_head .layout {
    display: flex;
    align-items: center;
    width: min(100%, 1380px);
  }

  .web_head .logo {
    flex: 0 0 180px;
    width: 180px;
    margin-right: 8px;
  }

  .web_head .logo img {
    display: block;
    width: 180px;
    height: auto;
  }

  .web_head .nav_wrap {
    flex: 1 1 auto;
    min-width: 0;
  }

  header .head_nav {
    display: flex;
    align-items: center;
    gap: 12px;
    white-space: nowrap;
  }

  header .head_nav > li > a {
    padding-inline: 8px !important;
    font-size: 12px !important;
  }

  header .head_right {
    flex: 0 0 150px;
    width: 150px;
  }

  .web_head .btn--search {
    flex: 0 0 30px;
  }

  .web_head .change-language {
    flex: 0 0 88px;
  }

  .web_head .inquiry_btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-inline: 16px;
    font-size: 15px;
    line-height: 1;
    white-space: nowrap;
  }
}

.er-home-hero {
  position: relative;
  width: min(100%, var(--er-width));
  min-height: 593px;
  margin: 0 auto;
  overflow: visible;
  background: #f2f3f4;
  color: var(--er-ink);
}

.er-home-hero__stage {
  position: relative;
  min-height: 593px;
  overflow: clip;
}

.er-home-hero__stage::before {
  position: absolute;
  z-index: 2;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.86) 0%, rgba(255, 255, 255, 0.74) 31%, rgba(255, 255, 255, 0.38) 45%, transparent 65%);
  content: "";
  pointer-events: none;
}

.er-home-hero__slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity 0.38s ease;
  pointer-events: none;
}

.er-home-hero__slide.is-active {
  opacity: 1;
}

.er-home-hero__slide img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 593px;
  object-fit: contain;
}

.er-home-hero__slide[data-home-slide="industrial"] img {
  padding: 18px 0 44px 210px;
  object-position: right center;
}

.er-home-hero__slide[data-home-slide="pilot"] img {
  padding: 28px 0 52px 180px;
  object-position: right center;
}

.er-home-hero__content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(52%, 620px);
  min-height: 593px;
  padding: 96px 0 38px 56px;
}

.er-home-hero__eyebrow {
  margin: 0 0 16px;
  color: var(--er-red);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.13em;
}

.er-home-hero h1 {
  margin: 0;
  font-size: clamp(42px, 3.7vw, 53px);
  line-height: 1.06;
  letter-spacing: -0.035em;
}

.er-home-hero__copy {
  max-width: 500px;
  margin: 26px 0 0;
  color: var(--er-muted);
  font-size: 16px;
  line-height: 1.7;
}

.er-home-hero__proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin: 26px 0 0;
  padding: 0;
  font-size: 13px;
  font-weight: 700;
  list-style: none;
}

.er-home-hero__proof li::before {
  margin-right: 8px;
  color: var(--er-red);
  content: "•";
}

.er-home-hero__cta {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 30px;
  padding: 0 24px;
  background: var(--er-red);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
}

.er-home-hero__cta:hover,
.er-home-hero__cta:focus-visible {
  background: var(--er-red-dark);
}

.er-home-hero__tabs {
  position: absolute;
  z-index: 4;
  right: 36px;
  bottom: 24px;
  display: flex;
  gap: 8px;
}

.er-home-hero__tabs button {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(23, 25, 29, 0.18);
  background: rgba(255, 255, 255, 0.92);
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.er-home-hero__tabs button span {
  margin-right: 8px;
  color: var(--er-red);
}

.er-home-hero__tabs button.is-active {
  border-color: var(--er-red);
  background: var(--er-red);
  color: #fff;
}

.er-home-hero__tabs button.is-active span {
  color: #fff;
}

.er-home-hero__stage::after {
  position: absolute;
  z-index: 5;
  right: 0;
  bottom: 0;
  left: 0;
  height: 10px;
  background: var(--er-red);
  content: "";
}

@media (min-width: 769px) and (max-width: 1100px) {
  header .head_nav {
    gap: 12px;
  }

  header .head_nav > li > a {
    font-size: 11px;
  }
}

@media (max-width: 768.98px) {
  .er-home-hero {
    width: calc(100% - 20px);
    min-height: 0;
  }

  .er-home-hero__stage {
    display: flex;
    min-height: 0;
    flex-direction: column;
  }

  .er-home-hero__stage::before {
    display: none;
  }

  .er-home-hero__content {
    order: 1;
    width: 100%;
    min-height: 0;
    padding: 34px 20px 18px;
  }

  .er-home-hero h1 {
    font-size: clamp(31px, 9.5vw, 39px);
    line-height: 1.08;
  }

  .er-home-hero__copy {
    margin-top: 18px;
    font-size: 14px;
    line-height: 1.55;
  }

  .er-home-hero__proof {
    gap: 8px 15px;
    margin-top: 18px;
    font-size: 11px;
  }

  .er-home-hero__cta {
    width: 100%;
    margin-top: 20px;
  }

  .er-home-hero__slide {
    position: relative;
    order: 2;
    height: 290px;
  }

  .er-home-hero__slide:not(.is-active) {
    display: none;
  }

  .er-home-hero__slide img {
    height: 290px;
    min-height: 290px;
    padding: 0 3px 16px !important;
    object-position: center !important;
  }

  .er-home-hero__tabs {
    position: relative;
    right: auto;
    bottom: auto;
    order: 3;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    padding-bottom: 8px;
  }

  .er-home-hero__tabs button {
    min-height: 48px;
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    font-size: 10px;
  }

  .er-home-hero__stage::after {
    height: 8px;
  }
}

@media (min-width: 769px) {
  body[data-edge-homepage="overlay-v20260713"] .web_main.index_main {
    padding-top: 96px;
  }

  .er-home-hero::after {
    position: absolute;
    z-index: 0;
    top: 0;
    bottom: 0;
    left: 100%;
    width: max(0px, calc((100vw - 100%) / 2));
    background:
      linear-gradient(90deg, var(--er-red) 0%, rgba(200, 23, 45, 0) 100%) left bottom / 100% 10px no-repeat,
      linear-gradient(90deg, #f2f3f4 0%, #f7f7f7 55%, #fff 100%);
    content: "";
    pointer-events: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .er-home-hero__slide {
    transition: none;
  }
}

.index-new-about,
.index-new-product,
.index-new-way,
.index-new-hot,
.index-new-blog {
  scroll-margin-top: 100px;
}

.index-new-about .layout,
.index-new-product .layout,
.index-new-way .layout,
.index-new-hot .layout,
.index-new-blog .layout {
  width: min(calc(100% - 40px), 1200px);
  margin-inline: auto;
}

.index-new-about,
.index-new-product,
.index-new-hot,
.index-new-blog {
  padding-block: 88px;
}

.index-new-way {
  padding-block: 92px;
}

.index-title {
  color: var(--er-ink);
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.index-new-title {
  max-width: 760px;
  color: var(--er-muted);
  font-size: 14px;
  line-height: 1.6;
}

body[data-edge-homepage="overlay-v20260713"] .index-new-about .item-img {
  border-radius: 24px;
  overflow: hidden;
}

body[data-edge-homepage="overlay-v20260713"] .index-new-about .item-img img {
  border-radius: inherit;
}

@media (min-width: 951px) {
  body[data-edge-homepage="overlay-v20260713"] .index-new-about {
    padding-block: 72px;
  }

  body[data-edge-homepage="overlay-v20260713"] .index-new-about > .layout {
    width: min(calc(100% - 40px), var(--er-width));
    max-width: none;
    margin-inline: auto;
  }

  body[data-edge-homepage="overlay-v20260713"] .index-new-about .flex_row {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: 40px;
    align-items: center;
  }

  body[data-edge-homepage="overlay-v20260713"] .index-new-about .item-img {
    width: auto !important;
    min-width: 0;
    border-radius: 28px;
    overflow: hidden;
  }

  body[data-edge-homepage="overlay-v20260713"] .index-new-about .item-img img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 876 / 663;
    border-radius: inherit;
    object-fit: cover;
  }

  body[data-edge-homepage="overlay-v20260713"] .index-new-about .item-content {
    width: auto !important;
    min-width: 0;
    padding: 18px 0 0 !important;
    transform: none !important;
  }

  body[data-edge-homepage="overlay-v20260713"] .index-new-about .index-title {
    margin: 0 0 20px !important;
    font-size: clamp(36px, 2.5vw, 44px) !important;
  }

  body[data-edge-homepage="overlay-v20260713"] .index-new-about .text-desc {
    max-width: 720px !important;
    margin-bottom: 26px !important;
    text-align: left !important;
  }

  body[data-edge-homepage="overlay-v20260713"] .index-new-about .text-desc p {
    margin: 0;
    color: var(--er-muted) !important;
    font-size: 18px !important;
    line-height: 1.55 !important;
  }

  body[data-edge-homepage="overlay-v20260713"] .index-new-about .index-btn {
    display: inline-flex;
    width: auto !important;
    height: 46px !important;
    min-height: 46px;
    margin: 0 0 30px !important;
    padding: 0 22px;
    border: 2px solid var(--er-red);
    border-radius: 0;
    background: var(--er-red);
    color: #fff;
    font-size: 14px !important;
    font-weight: 700;
    line-height: 1 !important;
    text-decoration: none;
    white-space: nowrap;
    transform: none !important;
  }

  body[data-edge-homepage="overlay-v20260713"] .index-new-about .new-about-swiper {
    width: 100%;
    padding-bottom: 0 !important;
    overflow: hidden;
  }

  body[data-edge-homepage="overlay-v20260713"] .index-new-about .new-about-swiper .swiper-wrapper {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    width: 100% !important;
    transform: none !important;
  }

  body[data-edge-homepage="overlay-v20260713"] .index-new-about .new-about-swiper .swiper-slide {
    width: auto !important;
    margin: 0 !important;
    overflow: hidden;
    border-radius: 18px !important;
    box-shadow: 0 10px 22px rgba(30, 35, 42, 0.12) !important;
  }

  body[data-edge-homepage="overlay-v20260713"] .index-new-about .new-about-swiper .swiper-slide-duplicate {
    display: none !important;
  }

  body[data-edge-homepage="overlay-v20260713"] .index-new-about .new-about-swiper .media-frame,
  body[data-edge-homepage="overlay-v20260713"] .index-new-about .new-about-swiper img {
    display: block;
    width: 100%;
    height: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
  }
}

@media (min-width: 1600px) {
  .web_head .layout {
    width: min(calc(100% - 80px), var(--er-wide-width));
    max-width: var(--er-wide-width);
  }

  .er-home-hero {
    width: min(calc(100% - 80px), var(--er-wide-width));
    min-height: 660px;
  }

  .er-home-hero__stage,
  .er-home-hero__slide img,
  .er-home-hero__content {
    min-height: 660px;
  }

  .er-home-hero__content {
    width: min(50%, 700px);
    padding: 110px 0 46px 72px;
  }

  .er-home-hero h1 {
    font-size: 58px;
  }

  .er-home-hero__slide[data-home-slide="industrial"] img {
    padding: 20px 0 48px 300px;
  }

  .er-home-hero__slide[data-home-slide="pilot"] img {
    padding: 30px 0 54px 270px;
  }

  body[data-edge-homepage="overlay-v20260713"] .index-new-about > .layout {
    width: min(calc(100% - 80px), var(--er-wide-width));
  }

  body[data-edge-homepage="overlay-v20260713"] .index-new-about .flex_row {
    gap: 48px;
  }
}

.index-new-product .item-img,
.index-new-way .item-img,
.index-new-hot .item-img,
.index-new-blog .item-img {
  overflow: hidden;
  background: #f2f3f4;
}

.index-new-product .item-img img,
.index-new-way .item-img img,
.index-new-hot .item-img img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.index-new-blog .item-img img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.index-new-product h3,
.index-new-way h3,
.index-new-hot h3 {
  display: -webkit-box;
  min-height: 2.7em;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.index-new-blog .desc p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.index-new-product a:not(.index-btn),
.index-new-way a:not(.index-btn),
.index-new-hot a:not(.index-btn),
.index-new-blog a:not(.index-btn) {
  color: var(--er-ink);
  text-decoration: none;
}

.index-new-product h3,
.index-new-way h3,
.index-new-hot h3 {
  margin: 12px 0 0;
  font-size: 16px;
  line-height: 1.35;
}

.index-btn,
.inquiry_btn {
  background: var(--er-red);
  color: #fff;
}

.index-btn:hover,
.inquiry_btn:hover {
  background: var(--er-red-dark);
}

@media (min-width: 1101px) {
  .web_footer .footer-items {
    display: grid !important;
    grid-template-columns: 150px 220px 220px 165px minmax(260px, 1fr);
    gap: 20px;
    align-items: start;
  }

  .web_footer .footer-item {
    width: auto !important;
  }

  .web_footer .footer-title {
    min-height: 2.7em;
    line-height: 1.35;
    white-space: normal;
  }

  .web_footer .footer-nav a {
    overflow-wrap: anywhere;
  }
}

@media (max-width: 768.98px) {
  .index-new-about,
  .index-new-product,
  .index-new-way,
  .index-new-hot,
  .index-new-blog {
    padding-block: 58px;
  }

  .index-new-about .layout,
  .index-new-product .layout,
  .index-new-way .layout,
  .index-new-hot .layout,
  .index-new-blog .layout {
    width: calc(100% - 28px);
  }

  .index-title {
    font-size: 30px;
  }

  body[data-edge-homepage="overlay-v20260713"] .index-new-product .swiper-wrapper,
  body[data-edge-homepage="overlay-v20260713"] .index-new-hot .swiper-wrapper {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px !important;
    transform: none !important;
  }

  body[data-edge-homepage="overlay-v20260713"] .index-new-product .swiper-slide,
  body[data-edge-homepage="overlay-v20260713"] .index-new-hot .swiper-slide {
    width: auto !important;
    margin: 0 !important;
  }
}

@media (max-width: 359px) {
  body[data-edge-homepage="overlay-v20260713"] .index-new-product .swiper-wrapper,
  body[data-edge-homepage="overlay-v20260713"] .index-new-hot .swiper-wrapper {
    grid-template-columns: 1fr !important;
  }
}
