.expertise-list--container {
  padding-bottom: 136px;
  position: relative;
}

@media screen and (min-width: 1280px) {
  .expertise-list--container {
    padding-bottom: 0;
  }
}

.expertise-list--container .line0,
.expertise-list--container .line1,
.expertise-list--container .line2 {
  display: none;
}

@media screen and (min-width: 1280px) {
  .expertise-list--container .line0,
  .expertise-list--container .line1,
  .expertise-list--container .line2 {
    display: block;
    position: absolute;
    left: 0;
    background: var(--yellow);
  }
}

.expertise-list--container .line0 {
  top: 0;
  width: 160px;
  height: 0;
}

.expertise-list--container .line1 {
  width: 0;
  height: 160px;
  top: 0;
  left: 0px;
}

.expertise-list--container .line2 {
  height: 0;
  width: 160px;
  top: 0;
  left: 220px;
}

.expertise-list--container .line4 {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 80px;
  width: 100%;
  background: var(--yellow);
}

@media screen and (min-width: 1280px) {
  .expertise-list--container .line4 {
    display: none;
  }
}

.expertise-list--header {
  padding: 64px 16px 0;
  margin-bottom: 64px;
  position: relative;
}

@media screen and (min-width: 1280px) {
  .expertise-list--header {
    padding: 120px 80px 0 286px;
  }
}

.expertise-list--header p {
  text-wrap: balance;
  margin-top: 40px;
}

@media screen and (min-width: 1024px) {
  .expertise-list--header p {
    margin-top: 56px;
    max-width: 840px;
  }
}

.expertise-list--header .uptitle {
  margin-top: 0;
  margin-bottom: 18px;
}

.expertise-list--header .btn {
  margin-top: 40px;
}

@media screen and (min-width: 1280px) {
  .expertise-list--header .btn {
    margin-top: 0;
    float: right;
    transform: translateY(-100%);
  }
}

.expertise-list--list {
  padding: 0 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 56px;
  position: relative;
}

@media screen and (min-width: 768px) {
  .expertise-list--list {
    padding: 0 16px 80px;
  }
}

@media screen and (min-width: 1280px) {
  .expertise-list--list {
    padding: 0 80px 80px 520px;
  }
}

.expertise-list--item {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 100%;
}

@media screen and (min-width: 768px) {
  .expertise-list--item {
    flex: auto;
  }
}

@media screen and (min-width: 1024px) {
  .expertise-list--item {
    flex: 100%;
  }
}

.expertise-list--item span {
  color: var(--yellow);
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 500;
  line-height: 180%;
  letter-spacing: 0.56px;
  display: inline-block;
  margin-bottom: 4px;
}

@media screen and (min-width: 1024px) {
  .expertise-list--item span {
    font-size: 1.125rem;
    margin-bottom: 12px;
  }
}

.expertise-list--item a {
  font-family: var(--bebas);
  font-size: 2.5rem;
  font-style: normal;
  font-weight: 400;
  line-height: 100%;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: all 0.6s;
  max-width: 90%;
}

@media screen and (min-width: 1024px) {
  .expertise-list--item a {
    max-width: unset;
    gap: 32px;
    font-size: 4.5rem;
  }
}

.expertise-list--item a::after {
  content: "";
  flex-shrink: 0;
  height: 48px;
  width: 80px;
  background: url("../images/icon-double-arrow.svg"), var(--yellow);
  background-size: 24px 24px;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: all 0.6s;
  display: none;
}

@media screen and (min-width: 1024px) {
  .expertise-list--item a::after {
    display: block;
  }
}

@media screen and (min-width: 1280px) {
  .expertise-list--item a::after {
    background-size: 40px 40px;
    height: 72px;
    width: 120px;
  }
}

.expertise-list--item a::before {
  content: "";
  position: absolute;
  left: 0;
  top: calc(50% - 5px);
  height: 10px;
  width: 10px;
  background: var(--yellow);
  opacity: 0;
  transition: all 0.6s;
}

.expertise-list--item a:hover {
  padding-left: 32px;
  color: var(--yellow);
}

.expertise-list--item a:hover::before,
.expertise-list--item a:hover::after {
  opacity: 1;
}

@media screen and (min-width: 1024px) {
  .expertise-list h2 {
    display: inline;
  }
  .expertise-list .uptitle {
    margin-right: 40px;
    margin-bottom: 0;
    display: inline-block;
  }
}
