:root {
  --top-card-height-a: 10.2vw;
  --top-card-height-b: 13.4vw;
  --top-card-gap: calc(10px + 0.7vw);
  --card-radius: calc(4px + 0.4vw);
  --card-radius: 0;
}

section.top-cards {
  z-index: 1;
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--top-card-gap);
  padding: 0 var(--padding-hor);
  background-color: var(--mono16);
  padding-top: 0.4vw;
  padding-bottom: 110px;
}

section.top-cards .main-copy {
  opacity: 0;
  position: relative;
  grid-column: 1;
  grid-row: 1;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  width: calc(50vw);
}

section.top-cards .main-copy svg {
  width: 76%;
  fill: var(--main-copy);
  transition-timing-function: ease-in-out;
  transition-duration: 0.4s;
}

section.top-cards .main-events {
  opacity: 0;
  display: flex;
  flex-direction: column;
  grid-column: 1;
  grid-row: 2/4;
  position: relative;
  width: calc(50vw);
  /* box-shadow: 1.2px 1.8px 5px 0.2px rgba(0, 0, 0, 0.56); */
  justify-content: flex-end;
  cursor: pointer;
  opacity: 0;
  overflow: hidden;
}

#event-links {
  display: none;
}

#event-link-wrap {
  display: none;
}

#event-subject-wrap p {
  display: none;
}

#event-subject-wrap p:nth-child(1) {
  display: block;
}

section.top-cards .main-events .bottom-wrap {
  position: absolute;
  z-index: 10;
  width: 100%;
  background-color: rgba(50, 50, 50, 0.4);
  border-bottom-left-radius: var(--card-radius);
  border-bottom-right-radius: var(--card-radius);
  text-align: left;
  pointer-events: none;
}

section.top-cards .main-events .bottom-wrap h3 {
  margin-top: calc(6px + 0.2vw);
  margin-left: 0.9vw;
  color: var(--color-white-for-black-bg);
  font-family: "Poppins";
  font-weight: 600;
  font-size: calc(0.7rem + 0.3vw);
  line-height: calc((0.7rem + 0.3vw) * 1.2);
  letter-spacing: 0;
}

section.top-cards .main-events .bottom-wrap p {
  margin-top: 0.2vw;
  margin-left: 0.9vw;
  color: var(--color-white-for-black-bg);
  font-weight: 400;
  font-size: calc(0.6rem + 0.4vw);
  letter-spacing: calc(-0.01rem - 0.02vw);
}

#thumb-wrap {
  z-index: 1000;
  position: relative;
  display: flex;
  flex-direction: row;
  margin-left: 0.9vw;
  width: 100%;
}

#thumb-wrap>div {
  margin: 0;
  margin-right: 8px;
  padding: calc(4px + 0.2vw) 0 calc(6px + 0.2vw) 0;
  pointer-events: all;
  opacity: 0.3;
}

#thumb-wrap>div>p {
  margin: 0;
  width: calc(22px + 2vw);
  height: calc(2px + 0.05vw);
  background-color: #fff;
}

section.top-cards .card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: var(--card-radius);
  height: var(--top-card-height-b);
  /*box-shadow: 0.6px 1.4px 4px 0.2px rgba(0, 0, 0, 0.56);*/
  background: no-repeat center / 106%;
  /*bottom: 1.8vw;*/
  cursor: pointer;
  opacity: 0;
  will-change: top;
  will-change: transform;
  transition-duration: 0.4s;
}

section.top-cards .card p {
  font-family: "Poppins";
  font-weight: 600;
  font-size: calc(0.5rem + 0.5vw);
  letter-spacing: 0;
  color: var(--color-white-for-black-bg);
}

section.top-cards .card img {
  position: relative;
  top: -4px;
  display: inline;
  margin-left: 2px;
  width: 14px;
  opacity: 1;
}


@media all and (min-width:540px) {
  section.top-cards .card:hover {
    background-size: 118%;
  }
}

/*
section.top-cards .card:nth-child(3) {
  background-image: url("/assets/images/main/top_cards/link.jpg?v=2");
}

section.top-cards .card:nth-child(4) {
  background-image: url("/assets/images/main/top_cards/basis.jpg?v=2");
}

section.top-cards .card:nth-child(5) {
  background-image: url("/assets/images/main/top_cards/harmony.jpg?v=2");
}

section.top-cards .card:nth-child(6) {
  background-image: url("/assets/images/main/top_cards/eternity.jpg?v=2");
}

section.top-cards .card:nth-child(7) {
  background-image: url("/assets/images/main/top_cards/value.jpg?v=1");
}

section.top-cards .card:nth-child(8) {
  background-image: url("/assets/images/main/top_cards/rnd.jpg?v=1");
}

section.top-cards .card:nth-child(9) {
  background-image: url("/assets/images/main/top_cards/heritage.jpg?v=2");
}

section.top-cards .card:nth-child(10) {
  background-image: url("/assets/images/main/top_cards/leadership.jpg?v=1");
  background-position: 10% 15%;
}

section.top-cards .card:nth-child(11) {
  background-image: url("/assets/images/main/top_cards/compliance.jpg?v=3");
}

section.top-cards .card:nth-child(12) {
  background-image: url("/assets/images/main/top_cards/career.jpg?v=1");
}

section.top-cards .card:nth-child(13) {
  background-image: url("/assets/images/main/top_cards/news.jpg?v=1");
}

section.top-cards .card:nth-child(14) {
  background-image: url("/assets/images/main/top_cards/invest.jpg?v=2");
}
*/


/* career recruit except */
section.top-cards .main-events video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

section.top-cards .main-events .video-text {
  position: absolute;
  top: 0;
  left: 0;
  padding: 1.4vw 1.8vw;
  text-align: left;
  color: #fff;
}

section.top-cards .main-events .video-text h3 {
  font-weight: 500;
  font-size: 2.1vw;
  line-height: 3.5vw;
  letter-spacing: -0.04rem;
}

section.top-cards .main-events .video-text h2 {
  position: relative;
  left: calc(-4px - 0.15vw);
  font-weight: 500;
  font-size: 3.4vw;
  line-height: 4.9vw;
  letter-spacing: -0.08rem;
}

section.top-cards .main-events .video-text h5 {
  margin-top: 4vw;
  font-weight: 500;
  font-size: 1.2vw;
  line-height: 2vw;
  letter-spacing: -0.03rem;
}

section.top-cards .main-events .video-text h4 {
  margin-top: 0.4vw;
  font-weight: 500;
  font-size: 1.7vw;
  line-height: 2.4vw;
  letter-spacing: -0.04rem;
}

section.top-cards .main-events .video-text button {
  position: relative;
  left: calc(-2px - 0.15vw);
  margin-top: 4.5vw;
  padding: calc(8px + 0.4vw) calc(18px + 0.8vw) calc(7px + 0.4vw) calc(18px + 0.8vw);
  font-weight: 500;
  font-size: 1.2vw;
  line-height: 1.3vw;
  letter-spacing: -0.03rem;
  color: #fff;
  border: 1px solid #fff;
  border-radius: 30px;
}