/* header */
@media (min-width: 1200px) {
  .header:not(.shadow) {
    position: fixed;
    color: #fff;
    background: transparent;
    box-shadow: none;
  }

  .header:not(.shadow) .logo1 {
    display: none;
  }

  .header:not(.shadow) .logo2 {
    display: block;
  }

  .header:not(.shadow) .pulldown {
    color: #01182D;
  }

  .header:not(.shadow) .vr {
    color: #01182D;
    background: #fff;
  }
}


section {
  padding: var(--m-pd) 0;
}

body .title {
  margin-bottom: 20px;
  letter-spacing: -1.2px;
}

body .sub-info {
  line-height: 2;
  color: rgba(1, 24, 45, 0.60);
}

.section-heading {
  display: grid;
  row-gap: 20px;
  margin-bottom: 30px;
}

@media (min-width: 1200px) {
  .section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 50px;
  }

  body .title {
    margin-bottom: 30px;
  }

  .section-heading .title {
    max-width: 21ch;
  }

  .section-heading .sub-info {
    max-width: 62ch;
  }
}


/* idx-banner */
.idx-banner {
  position: relative;
}

.idx-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(179deg, rgba(1, 24, 45, 0.80) 5.78%, rgba(1, 24, 45, 0.00) 25.32%);
}

.idx-banner img, .idx-banner video {
  width: 100%;
  height: auto;
  display: block;
}

.idx-banner .container {
  position: absolute;
  top: 21.5%;
  left: 50%;
  color: #fff;
  transform: translateX(-50%);
  z-index: 1;
}

.idx-banner .title {
  text-align: center;
  line-height: calc(76 / 50);
}

.idx-banner .item-wrap {
  display: none;
}

@media (max-width: 767px) {
  .idx-banner {
    --scale: calc((100vw - 30px) / 767);
  }

  .idx-banner .title {
    font-size: calc(28 * var(--scale));
  }
}

@media (min-width: 1200px) {
  .idx-banner .item-wrap {
    display: block;
  }

  .idx-banner .item {
    position: absolute;
    border-radius: 30px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.60);
    font-family: 'DMSans-Bold';
    display: flex;
    align-items: center;
  }

  .idx-banner .item span {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--style-color);
    position: relative;
  }

  .idx-banner .item span::before, .idx-banner .item span::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
  }

  .idx-banner .item span::before {
    width: 22px;
    height: 2px;
  }

  .idx-banner .item span::after {
    width: 2px;
    height: 22px;
  }

  .idx-banner .item a {
    width: fit-content;
    font-size: 18px;
    padding-left: 20px;
    gap: 9px;
    display: flex;
    align-items: center;
  }

  .idx-banner .item a {
    position: absolute;
    opacity: 0;
    visibility: hidden;
    white-space: nowrap;
  }

  .idx-banner .item:hover a {
    position: relative;
    opacity: 1;
    visibility: visible;
  }

  .idx-banner .item a i {
    width: 24px;
    height: 24px;
    font-size: 12px;
    font-weight: bold;
    color: var(--style-color);
    transform: rotate(-45deg);
    display: flex;
    align-items: center;
    justify-content: center;
  }
}


/* About Keygon */
.idx-about .container {
  display: grid;
  gap: 30px;
}

.idx-about .lt {
  padding-top: 20px;
  padding-left: 20px;
  padding-right: 30px;
  padding-bottom: 30px;
  position: relative;
}

.idx-about .lt::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 32.5%;
  height: auto;
  aspect-ratio: 1;
  transform: scale(.5);
  transform-origin: 0 0;
  border-left: 3px solid var(--style-color);
  border-top: 3px solid var(--style-color);
}

.idx-about img {
  display: block;
  width: 100%;
  position: relative;
  z-index: 1;
}

.idx-about .experience {
  position: absolute;
  right: 0;
  bottom: 0;
  display: grid;
  max-width: 210px;
  padding: clamp(15px, 2.3vw, 30px);
  color: #fff;
  background: var(--style-color);
  z-index: 2;
}

.idx-about .experience strong {
  line-height: calc(32 / 24);
  margin-bottom: 8px;
}

.idx-about .experience span {
  font-size: 2em;
  line-height: 1;
  display: inline-block;
}

.idx-about .experience p {
  font-size: 14px;
  line-height: 20px;
  opacity: .8;
}

.idx-about .info {
  line-height: 2;
  color: var(--txt-color);
}

.idx-about .info>*:first-child {
  color: #01182D99;
}

.idx-about .info>*:not(:last-child) {
  margin-bottom: 20px;
}

.idx-about .figures {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  border-top: 1px solid #E4E9EE;
  margin: 20px 0 30px;
  padding-top: 20px;
}

.idx-about dt {
  color: var(--tit-color);
  font-family: 'DMSans-Bold';
}

.idx-about dd {
  margin-top: 4px;
  color: #01182D99;
}

@media (min-width: 992px) {
  .idx-about .container {
    display: flex;
    align-items: self-start;
    gap: 40px;
  }

  .idx-about .lt {
    flex: 0 0 calc(574 / 1440 * 100%);
    position: sticky;
    top: 90px;
  }

  .idx-about .rt {
    flex: 1;
  }

  .idx-about .figures {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 1200px) {
  .idx-about .figures {
    margin-top: 40px;
    padding-top: 40px;
    margin-bottom: 60px;
  }
}

@media (min-width: 1440px) {
  .idx-about .container {
    gap: 100px;
    align-items: center;
  }
}


/* Core products */
.idx-productscate {
  background: #F4F7F9;
  background-position: 80% 20px;
  background-repeat: no-repeat;
  background-size: auto;
}

.idx-productscate .row {
  row-gap: 20px;
  margin-left: -10px;
  margin-right: -10px;
}

.idx-productscate .row>div {
  padding: 0 10px;
}

.idx-productscate .product-link {
  display: block;
  height: 100%;
  padding: 20px 19px 29px;
  background: #fff;
  border: 1px solid #DDE4E9;
}

.idx-productscate .card-heading {
  color: var(--txt-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.idx-productscate .card-number {
  font-size: 14px;
  line-height: 22px;
  letter-spacing: 1.2px;
}

.idx-productscate .card-heading i {
  width: 24px;
  height: 24px;
  font-size: 16px;
  font-weight: bold;
  transform: rotate(-45deg);
  display: flex;
  justify-content: center;
  align-items: center;
}

.idx-productscate .scale-img img {
  display: block;
  width: 100%;
  aspect-ratio: 232 / 220;
}

.idx-productscate .tit {
  margin: 14px 0 4px;
  color: var(--tit-color);
}

.idx-productscate .info {
  color: var(--txt-color);
}

@media (min-width: 1200px) {
  .idx-productscate .row {
    margin-inline: -10px;
  }

  .idx-productscate .row>div {
    flex: 0 0 20%;
    max-width: 20%;
  }

  .idx-productscate .product-link {
    position: relative;
  }

  .idx-productscate .product-link::before {
    content: '';
    position: absolute;
    left: -1px;
    right: -1px;
    bottom: -1px;
    height: 4px;
    background: transparent;
  }

  .idx-productscate .product-link:hover {
    color: #fff;
    background: var(--style-color);
    border-color: var(--style-color);
    border-bottom-color: transparent;
  }

  .idx-productscate .product-link:hover::before {
    background: var(--sub-color);
  }

  .idx-productscate .product-link:hover .card-number, .idx-productscate .product-link:hover .info {
    color: #fff;
    opacity: .8;
  }

  .idx-productscate .product-link:hover .card-heading i {
    color: var(--sub-color);
  }

  .idx-productscate .product-link:hover .tit {
    color: #fff;
  }
}


/* Access systems */
.idx-systems {
  color: #fff;
  background-color: var(--style-color);
  background-position: right top;
  background-repeat: no-repeat;
  background-size: min(54vw, 934px);
}

.idx-systems .line-title {
  color: var(--sub-color);
}

.idx-systems .line-title::before {
  background: var(--sub-color);
}

.idx-systems .sub-info {
  color: rgba(255, 255, 255, 0.60);
}

.idx-systems .btn {
  color: #fff;
}

.idx-systems .btn i {
  color: #fff;
  border-color: #C7D2DC;
  background: var(--sub-color);
}

.idx-systems .item-wrap {
  display: grid;
  gap: 24px;
}

.idx-systems .lt {
  border-top: 1px solid #ffffff99;
}

.idx-systems .solution-link {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(8px, 1vw, 16px);
  min-height: 90px;
  padding: clamp(10px, 1.05vw, 20px);
  color: #fff;
  background: #ffffff0a;
  border-bottom: 1px solid #ffffff99;
}

.idx-systems .solution-number {
  color: var(--sub-color);
  font-size: 14px;
  line-height: 22px
}

.idx-systems .tit {
  color: #fff;
  font-weight: normal;
  margin-bottom: 6px;
  font-family: 'DMSans-Regular';
}

.idx-systems .info {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.30);
}

.idx-systems .solution-link i {
  width: 20px;
  height: 20px;
  font-size: 14px;
  color: var(--sub-color);
  display: flex;
  align-items: center;
  justify-content: center;
}

.idx-systems .rt {
  position: relative;
}

.idx-systems .rt>img {
  display: block;
  width: 100%;
  aspect-ratio: 930 / 516;
}

@media (min-width: 992px) {
  .idx-systems .item-wrap {
    grid-template-columns: minmax(0, 460fr) minmax(0, 930fr);
    gap: clamp(20px, 2.6vw, 50px);
  }

  .idx-systems .rt {
    position: sticky;
    top: 90px;
    align-self: start;
  }
}

@media (min-width: 1440px) {
  .idx-systems .solution-link {
    min-height: 129px;
  }
}

@media (hover: hover) {
  .idx-systems .solution-link:hover {
    background: #005DC9;
  }
}

/* Keygon advantages */
.keygon-advantages {
  background: #f4f7f9;
}

.keygon-advantages .sub-info {
  margin-bottom: 26px;
}

.keygon-advantages .row {
  row-gap: 20px;
  margin-left: -10px;
  margin-right: -10px;
}

.keygon-advantages .row>div {
  padding: 0 10px;
}

.keygon-advantages .advantage-card {
  height: 100%;
  border: 1px solid #DDE4E9;
  padding: clamp(15px, 2vw, 29px);
  background: #fff;
}

.keygon-advantages .row>div:nth-child(1) {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.keygon-advantages .row>div:nth-child(3) .advantage-card {
  color: #fff;
  background: var(--sub-color);
}

.keygon-advantages .row>div:nth-child(6) .advantage-card {
  color: #fff;
  background: var(--style-color);
}

.keygon-advantages .title span {
  color: var(--sub-color);
}

.keygon-advantages .card-heading {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 12px;
  margin-bottom: 30px;
}

.keygon-advantages .img {
  width: auto;
  height: 70px;
  overflow: hidden;
}

.keygon-advantages .img img {
  height: 100%;
}

.keygon-advantages .row>div:nth-child(3) .img img, .keygon-advantages .row>div:nth-child(6) .img img {
  position: relative;
  top: -70px;
  filter: drop-shadow(0 70px #fff);
}

.keygon-advantages .card-heading span {
  width: 40px;
  height: 40px;
  color: #fff;
  background: var(--sub-color);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.keygon-advantages .row>div:nth-child(3) .card-heading span {
  color: var(--sub-color);
  background: #fff;
}

.keygon-advantages .row>div:nth-child(6) .card-heading span {
  color: var(--style-color);
  background: #fff;
}

.keygon-advantages .tit {
  color: var(--tit-color);
  margin-bottom: 4px;
}

.keygon-advantages .row> :is(:nth-child(3), :nth-child(6)) .tit,
.keygon-advantages .row> :is(:nth-child(3), :nth-child(6)) .info {
  color: inherit;
}

@media (min-width: 1200px) {
  .keygon-advantages .card-heading {
    margin-bottom: 110px;
  }
}



/* Industry projects */
.industry-projects .project-grid {
  display: grid;
  gap: 21px;
}

.industry-projects .project-card {
  color: #fff;
  position: relative;
}

.industry-projects .project-card>img {
  width: 100%;
  height: 100%;
}

.industry-projects .project-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(1, 24, 45, 0.00) 51.44%, #01182D 100%);
  z-index: 1;
}

.industry-projects .info-group {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  color: #fff;
  padding: clamp(16px, 2vw, 30px);
  z-index: 2;
}

.industry-projects .info {
  margin-top: 4px;
  opacity: .8;
}

@media (min-width: 576px) {
  .industry-projects .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .industry-projects .project-card:first-child {
    grid-column: span 2;
  }
}

@media (min-width: 992px) {
  .industry-projects .project-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .industry-projects .project-card:first-child {
    grid-column: span 2;
  }
}

@media (min-width: 1200px) {
  .industry-projects .project-card {
    min-height: 340px;
  }
}

/* idx partners */
.idx-partners {
  background-color: #f4f7f9;
  background-position: 75% top;
  background-repeat: no-repeat;
  background-size: min(55vw, 500px);
}

.idx-partners .lt {
  margin-bottom: 30px;
}

.idx-partners .lt img {
  display: block;
  width: 100%;
}

.idx-partners .swiper-slide {
  display: grid;
  gap: 16px;
}

.idx-partners .partner-logo {
  background: #fff;
}

.idx-partners .partner-logo img {
  width: 100%;
  aspect-ratio: 220 / 90;
}

.idx-partners .swiper-pagination-bullet {
  width: 16px;
  height: 4px;
  border-radius: 0;
}

.idx-partners .swiper-pagination-bullet-active {
  width: 24px;
  background: var(--style-color);
}

@media (min-width: 1200px) {
  .idx-partners .item-wrap {
    display: grid;
    gap: 60px;
    grid-template-columns: minmax(0, 466fr) minmax(0, 954fr);
  }

  .idx-partners .lt {
    margin-bottom: 0;
  }

  .idx-partners .swiper-pagination {
    display: block;
    margin-top: 30px;
    text-align: left;
    padding-left: 17%;
  }
}


/* idx-blog */
.idx-blog .row {
  row-gap: 20px;
  margin-left: -10px;
  margin-right: -10px;
}

.idx-blog .row>div {
  padding: 0 10px;
}

.idx-blog .news-card {
  height: 100%;
  padding: 20px;
  border: 1px solid #DDE4E9;
}

.idx-blog .scale-img img {
  display: block;
  width: 100%;
  aspect-ratio: 406 / 240;
}

.idx-blog .tit {
  margin-top: 20px;
  color: var(--tit-color);
}

.idx-blog .info {
  color: var(--txt-color);
}

.idx-blog .tit {
  margin: 16px 0 8px;
  color: inherit;
}

.idx-blog .news-meta {
  margin-top: 20px;
  padding-top: 20px;
  color: var(--txt-color);
  border-top: 1px solid #E7ECEF;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.idx-blog .news-meta p {
  font-size: 14px;
  line-height: 16px;
  display: flex;
  gap: 20px;
}

.idx-blog .news-meta i {
  width: 20px;
  height: 20px;
  font-size: 14px;
  font-weight: bold;
  transform: rotate(-45deg);
  display: flex;
  justify-content: center;
  align-items: center;
}

@media (min-width: 1200px) {
  .idx-blog .news-card {
    position: relative;
    padding: 30px 30px 31px;
    overflow: hidden;
  }

  .idx-blog .news-card:hover {
    color: #fff;
    background: var(--style-color);
    border: var(--style-color);
  }

  .idx-blog .news-card::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 4px;
    background: transparent;
  }

  .idx-blog .news-card:hover::before {
    background: var(--sub-color);
  }

  .idx-blog .news-card:hover .info {
    color: rgba(255, 255, 255, 0.80);
  }

  .idx-blog .news-card:hover .news-meta {
    border-color: rgba(255, 255, 255, 0.20);
  }

  .idx-blog .news-card:hover .news-meta p {
    color: rgba(255, 255, 255, 0.6);
  }

  .idx-blog .news-card:hover .news-meta i {
    color: var(--sub-color);
  }
}