@import url(lower.css);

.mission {
  padding-block: max(10vw, 80px) max(5vw, 50px);
  h2 {
    width: fit-content;
    margin-inline: auto;
    font-size: max(5vw, 3em);
    text-transform: uppercase;
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: 0.1em;
    position: relative;
    margin-bottom: 0.6em;
    isolation: isolate;
    img {
      position: absolute;
      inset: auto 0 0.16em auto;
      width: 2em;
      z-index: -1;
    }
  }
  .lead {
    font-size: clamp(16px, 1.6vw, 24px);
    text-align: center;
    line-height: 2;
    font-weight: 500;
    word-break: keep-all;
  }
  ol {
    width: min(100%, 800px);
    margin: max(5vw, 50px) auto 0;
    display: flex;
    flex-direction: column;
    gap: max( 5vw, 50px);
    counter-reset: num 0;
    > li {
      counter-increment: num 1;
      isolation: isolate;
      border: 2px solid;
      background-color: var(--bg-c);
      border-radius: 1em;
      padding: max(3vw, 1.8em) max(4vw, 1.2em) max(5vw, 2.4em);
      &::before {
        font-size: clamp(1.6rem, 2.8vw, 40px);
        color: var(--primary-c);
        content: "0" counter(num) ".";
        font-weight: 600;
      }
    }
  }
  h3 {
    font-size: clamp(1.2rem, 1.8vw, 26px);
    margin-bottom: 0.8em;
    font-weight: 600;
    color: var(--primary-c);
  }
  ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
    line-height: 1.6;
    li {
      position: relative;
      padding-left: 1.8em;
      &::before {
        position: absolute;
        content: "";
        width: 1em;
        aspect-ratio: 1;
        background: #fff;
        inset: 0.3em auto auto 0;
        border-radius: 50%;
      }
    }
  }
}