/* ----------------------------------- */
/* Zennoh Energy Index Page            */
/* ----------------------------------- */
.breadcrumb {
  margin-bottom: 12rem;
}

.page-title {
  padding: 11.9rem 0 10.9rem;
}
@media screen and (max-width: 768px) {
  .page-title {
    padding: 3.7rem 0 5.2rem;
  }
  .page-title .page-title__category {
    margin-bottom: 1rem;
  }
}

.zennoh-index {
  padding: 0 0 12rem;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: row;
  justify-content: center;
  max-width: 128rem;
  margin: 0 auto;
}
@media screen and (min-width: 769px) {
  .zennoh-index {
    justify-content: flex-end;
    padding-right: 8.8rem;
  }
}
.zennoh-index .zennoh-index__header {
  pointer-events: none;
  z-index: 0;
  left: 2rem;
  position: absolute;
}
.zennoh-index .zennoh-index__bg-text {
  font-size: 10rem;
  font-weight: 700;
  line-height: 10rem;
  color: #F5F5F5;
  font-family: "Poppins", sans-serif;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  white-space: nowrap;
}
.zennoh-index .zennoh-index__body {
  position: relative;
  z-index: 1;
  width: 90.8rem;
}
.zennoh-index .zennoh-index__grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 7.2rem 7.2rem;
}
.zennoh-index .zennoh-index__item:nth-child(2) .zennoh-index__card-image--title {
  top: 51%;
  left: 51.4%;
}
.zennoh-index .zennoh-index__item:nth-child(4) .zennoh-index__card-image--title {
  top: 56.2%;
  left: 51.4%;
}
.zennoh-index .zennoh-index__card {
  display: block;
  text-decoration: none;
  color: #000000;
}
@media screen and (min-width: 769px) {
  .zennoh-index .zennoh-index__card:hover .zennoh-index__card-image img {
    opacity: 0.6;
  }
  .zennoh-index .zennoh-index__card:hover .zennoh-index__card-icon {
    transform: translateX(0.8rem);
  }
  .zennoh-index .zennoh-index__card:hover .zennoh-index__card-title {
    color: #E50011;
  }
  .zennoh-index .zennoh-index__card:hover .zennoh-index__card-body::after {
    width: 100%;
  }
}
.zennoh-index .zennoh-index__card-image {
  overflow: hidden;
  border-radius: 0.8rem;
  position: relative;
  height: 24rem;
  width: 100%;
  aspect-ratio: 8/5;
}
.zennoh-index .zennoh-index__card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.zennoh-index .zennoh-index__card-image--title {
  position: absolute;
  top: 51%;
  left: 48%;
  transform: translate(-50%, -50%);
  width: fit-content;
  padding: 0.6rem;
  font-size: 1.4rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.04em;
  background: #0027ff;
}
.zennoh-index .zennoh-index__card-image--recruit {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: url("../../images/top/brand_title_bg.png") no-repeat center;
  background-size: cover;
  display: flex;
  align-items: flex-start;
  padding: 1.4rem 2rem;
}
.zennoh-index .zennoh-index__recruit-text {
  font-size: 4.8rem;
  max-width: 22.7rem;
  font-weight: 600;
  color: #FFFFFF;
  line-height: 1;
  font-family: var(--font-en);
  text-transform: uppercase;
}
.zennoh-index .zennoh-index__card-body {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  padding: 1.6rem 0 1.4rem;
  border-bottom: 1px solid #cecece;
  position: relative;
  justify-content: space-between;
}
.zennoh-index .zennoh-index__card-body::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 0;
  height: 2px;
  background: #E50011;
  transition: width 0.35s ease;
}
.zennoh-index .zennoh-index__card-info {
  flex: 1;
}
.zennoh-index .zennoh-index__card-num {
  display: block;
  font-size: 1.2rem;
  font-weight: 500;
  color: #E50011;
  font-family: "Poppins", sans-serif;
  letter-spacing: 0.04em;
  line-height: 1.7rem;
}
.zennoh-index .zennoh-index__card-title {
  display: block;
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 2.8rem;
  color: #000000;
  transition: color 0.2s ease;
  margin-top: -0.2rem;
}
.zennoh-index .zennoh-index__card-icon {
  width: 2rem;
  height: 2rem;
  flex-shrink: 0;
  margin-right: 1.6rem;
  margin-bottom: 0.2rem;
  align-self: end;
  transition: transform 0.3s ease;
}
@media screen and (max-width: 768px) {
  .zennoh-index {
    padding: 5rem 0 9.7rem;
    flex-direction: column;
    overflow-x: hidden;
  }
  .zennoh-index .zennoh-index__card-image--recruit {
    padding: 1.2rem 1.6rem;
  }
  .zennoh-index .zennoh-index__body {
    max-width: 33.9rem;
    margin: 0 auto;
  }
  .zennoh-index .zennoh-index__card-body {
    padding: 2.28rem 0 1.2rem;
  }
  .zennoh-index .zennoh-index__item--1 .zennoh-index__card-body {
    padding: 1.5rem 0 1.2rem;
  }
  .zennoh-index .zennoh-index__item--5 .zennoh-index__card-body {
    padding: 1.4rem 0 1.2rem;
  }
  .zennoh-index .zennoh-index__card-num {
    font-size: 1rem;
    margin-bottom: -0.3rem;
  }
  .zennoh-index .zennoh-index__card-image {
    width: 33.9rem;
    height: 19.5rem;
  }
  .zennoh-index .zennoh-index__bg-text {
    font-size: 4.6rem;
    line-height: 1;
    top: 0;
    left: 0;
    transform: rotate(0deg);
    white-space: nowrap;
  }
  .zennoh-index .zennoh-index__header {
    margin-right: 0;
    margin-bottom: 0.8rem;
    width: 100%;
    overflow: hidden;
    position: relative;
    left: 0;
  }
  .zennoh-index .zennoh-index__bg {
    overflow: hidden;
  }
  .zennoh-index .zennoh-index__bg-track {
    display: flex;
    width: max-content;
    animation: zennoh-marquee 30s linear infinite;
    will-change: transform;
    transform: translate3d(0, 0, 0);
  }
  .zennoh-index .zennoh-index__bg-group {
    display: flex;
    flex: 0 0 auto;
    gap: 3rem;
    padding-right: 3rem;
  }
  .zennoh-index .zennoh-index__bg-group span {
    font-size: 4.6rem;
    font-weight: 700;
    color: #F5F5F5;
    font-family: "Poppins", sans-serif;
    white-space: nowrap;
    line-height: 1;
  }
  .zennoh-index .zennoh-index__item {
    width: 100%;
  }
  .zennoh-index .zennoh-index__item .zennoh-index__card-icon {
    margin-bottom: 0.4rem;
  }
  .zennoh-index .zennoh-index__grid {
    grid-template-columns: 1fr;
    width: 100%;
    gap: 4rem;
  }
  .zennoh-index .zennoh-index__card-title {
    font-size: 1.6rem;
  }
  .zennoh-index .zennoh-index__recruit-text {
    font-size: 3.6rem;
    max-width: 18.4rem;
  }
}

.zennoh-energy-company .zennoh-index__item:last-child .zennoh-index__card-icon {
  width: 2.6rem;
  height: 2.6rem;
  margin-bottom: -0.1rem;
}

@media screen and (max-width: 768px) {
  .breadcrumb {
    margin-bottom: 2.4rem;
  }
}
@keyframes zennoh-marquee {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-50%, 0, 0);
  }
}
