/* ----------------------------------------projects_top---------------------------------------- */
#projects_top {
  padding: 0;
}

#projects_top .inner {
  --sub: 15em;
  --gap: 2em;
  gap: var(--gap);
}

#projects_top .sub {
  width: var(--sub);
}

#projects_top .main {
  width: calc(100% - var(--sub) - var(--gap));
}


#projects_top .main .lists {
  --num: 2;
  --gap: 4em;
  gap: var(--gap);
}

#projects_top .main .lists .list {
  width: calc(100% / var(--num) - var(--gap) * (var(--num) - 1) / var(--num));
}

#projects_top .main .lists .list .text {}

#projects_top .main .lists .list .text h3 {
  position: relative;
  color: #fff;
  font-weight: 500;
  padding: 4px 0em 4px 0.5em;
  margin: 0 0 0 -0.5em;
}

#projects_top .main .lists .list .text h3:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: calc(100% + 1em);
  border-bottom: 1.5em solid #004892;
  border-right: 0.5em solid transparent;
  z-index: -2;
}

#projects_top .main .lists .list .text h3:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1.5em;
  background: linear-gradient(to right, var(--bg-color), transparent);
  z-index: -1;
}

#projects_top .main .lists .list .text p {
  color: #81C0E9;
}

#projects_top .main .lists .list .text h4 {
  margin: 1em auto;
  line-height: 1.5;
}

#projects_top .main .lists .list .img {
  position: relative;
  width: 100%;
  margin: 2em auto 0;
}

#projects_top .main .lists .list .img img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
}

#projects_top .main .lists .list .img .empty {
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: #888888;
}

#projects_top .main .lists .list .img span {
  position: absolute;
  top: 0;
  right: 0;
  position: absolute;
  top: -0.7em;
  right: 0;
  font-size: 4em;
  line-height: 1;
}

#projects_top .main .lists .list .text {
  width: 100%;
  margin: 2em auto 0;
}

@media screen and (max-width: 768px) {
  #projects_top .sub {
    width: 100%;
    margin: 2em auto 0;
  }

  #projects_top .main {
    width: 100%;
    padding: 0 0 0 var(--side-padding);
  }

  #projects_top .main .lists {
    --num: 1;
  }
}
