.functions h2 {
  margin-bottom: 3.75rem;
}

.functions-wrap {
  background: var(--blue-gradation);
  padding: 6.25rem 0;
  display: flex;
  flex-direction: column;
  gap: 6.25rem;
}

.function {
  position: relative;
  background: var(--white);
  width: 80%;
  padding: 2.7rem;
}

/* 右から出てくるもの*/
.function-right {
  border-radius: 1.875rem 0 0 1.875rem;
  margin-left: auto;
}

/* 左から出てくるもの */
.function-left {
  border-radius: 0 1.875rem 1.875rem 0;
  margin-right: auto;
  .function-number {
    right: 4.375rem;
  }
  .function-main {
    flex-direction: row-reverse;
  }
}

/* 項目ナンバー */
.function-number {
  font-family: "Roboto", sans-serif;
  font-size: 8.4375rem;
  font-weight: 300;
  letter-spacing: -0.25px;
  background: var(--primary-gradation);
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0px 4px 7px rgba(0, 0, 0, 0.3);
  position: absolute;
  top: -7rem;
}

.function-main {
  display: flex;
  align-items: center;
  gap: 5rem;
  margin-bottom: 1.575rem;
}

.function-main-texts {
  max-width: 37.5rem;
  h3 {
    color: var(--black);
    position: relative;
    font-size: 2.5rem;
    font-weight: 700;
    z-index: 0;
    margin-bottom: 2rem;
    &::before {
      content: "";
      position: absolute;
      bottom: 0;
      left: -0.3125rem;
      right: 0;
      height: 1.5625rem;
      background-color: #f67b5c;
      opacity: 0.4;
      transform: skewX(-20deg);
      z-index: -1;
    }
  }
  p {
    font-size: 1.25rem;
  }
}

.function-main-image {
  width: 40%;
}

.function-pickups-wrap {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
}

.function-pickup {
  border: 3px solid var(--light-blue);
  border-radius: 0.5rem;
  padding: 1.5rem 1.25rem;
  text-align: center;
  flex-basis: 0;
  flex-grow: 1;
  .function-pickup-icon {
    max-width: 3.75rem;
    width: 100%;
  }
  .security-policy-icon {
    max-width: 10rem;
    width: 100%;
  }
  h4 {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--primary-dark-color);
    margin: 0.625rem auto 0.9rem auto;
    span {
      font-size: 1rem;
    }
  }
  p {
    line-height: 1.6;
    font-size: 1.125rem;
    text-align: justify;
  }
  .function-annotation {
    margin-top: 0.5625rem;
    font-size: 0.875rem;
  }
}

@media (max-width: 768px) {
  .function {
    width: inherit;
    padding: 2.5rem;
  }
  .function-main {
    flex-direction: column;
    gap: 1.25rem;
  }
  .function-main-image {
    width: 100%;
  }
  .function-pickups-wrap {
    flex-direction: column;
  }
  .function-number {
    font-size: 7rem;
    top: -5.5rem;
  }
  .function-right {
    margin-left: 1.9375rem;
  }
  .function-left {
    margin-right: 1.9375rem;
    .function-main {
      flex-direction: column;
    }
  }
}
