/* =================================================================
  new-function
================================================================= */
.new-function__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 5rem;
  @media (width < 768px) {
    grid-template-columns: 1fr;
    margin-top: 3.75rem;
  }
}
.new-function__item {
  display: grid;
  grid-template-rows: 9.375rem 6.25rem 0.75fr;
  padding: 2.5rem 1rem;
  border: 1px solid rgba(0, 0, 0, 0.50);
  border-radius: var(--border-radius-xl);
  background: var(--bg-white);
  @media (width < 768px) {
    grid-template-rows: repeat(3, auto);
    gap: 0.62rem;
    padding: 1.25rem;
  }
}
.new-function__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  @media (width < 768px) {
    justify-content: center;
    gap: 2rem;
  }
}
.new-function__num {
  color: rgba(0, 34, 93, 0.30);
  font-family: var(--font-family-en);
  font-size: 7.5rem;
  font-weight: 700;
  line-height: 1;
  @media (width < 768px) {
    font-size: 5rem;
  }
}
.new-function__img {
  max-width: 9.375rem;
  margin-right: 1.5rem;
  @media (width < 768px) {
    width: 6.25rem;
  }
}
.new-function__subtitle {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  line-height: 1.42;
  text-align: center;
  @media (width < 768px) {
    font-size: 1.25rem;
    line-height: 1.6;
  }
}
.new-function__text {
  color: #000;
  font-size: 1.125rem;
  line-height: 1.5;
  letter-spacing: -0.1em;
  @media (width < 768px) {
    font-size: 1rem;
  }
  span {
    color: var(--text-accent);
  }
}
.new-function__note {
  color: #000;
  font-size: 0.875rem;
  line-height: 1.5;
}
.new-function__link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  width: fit-content;
  margin: 1rem auto 0;
  padding: 0.625rem 2rem;
  border: 1px solid var(--border-primary);
  border-radius: var(--border-radius-full);
  transition: all .4s;
  @media (width < 768px) {
    padding: 0.625rem 3.125rem;
  }
  &::after {
    content: '';
    display: inline-block;
    width: 0.4375rem;
    height: 0.625rem;
    background-image: url(/cis/assets/img/common/icon_arrow-right.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    transition: all .4s;
  }
  &:hover {
    @media(hover: hover) {
      color: var(--text-white);
      background-color: var(--bg-primary);
      &::after {
        background-image: url(/cis/assets/img/common/icon_arrow-right_white.svg);
      }
    }
  }
}

/* =================================================================
  system
================================================================= */
.system {
  position: relative;
  z-index: 0;
  background-image: linear-gradient(112deg, #E5F1FF 0.56%, #B1D5FF 71.82%);

}
.system__body {
  position: relative;
  margin-top: 5rem;
  padding: 2.5rem 1rem;
  border-radius: var(--border-radius-lg);
  background: var(--bg-white);
  z-index: 10;
  @media (width < 768px) {
    margin-top: 3.75rem;
    padding: 0.625rem 0 0.625rem 0.3125rem; 
  }
}
.system__img {
  position: relative;
  @media (width < 768px) {
    overflow-x: auto;
  }
  img {
    @media (width < 768px) {
      width: 45rem;
    }
  }
}

/* =================================================================
  function-list
================================================================= */
.function-list {
  .sec__title {
    sub {
      display: inline-block;
      margin-left: 0.25rem;
      font-size: 1rem;
      @media (width < 768px) {
        font-size: 0.875rem;
      }
    }
  }
}
.function-list__body {
  margin-top: 6.25rem;
  @media (width < 768px) {
    margin-top: 3.75rem;
  }
}
.function-list__img {
  width: min(100%, 47.5rem);
  margin-inline: auto;
  figcaption {
    font-size: 0.75rem;
    line-height: 1.5;
    text-align: right;
    @media (width < 768px) {
      margin-top: 1.25rem;
      font-size: 0.875rem;
    }
  }
}

/* =================================================================
  fee-calculation
================================================================= */

.fee-calculation__list {
  display: grid;
  gap: 1.25rem;
  margin-top: 5rem;
  @media (width < 768px) {
    gap: 2.5rem;
    margin-top: 3.75rem;
  }
}
.fee-calculation__item {
  &:first-of-type {
    .fee-calculation__subtitle {
      grid-row: 1/-1;
      align-self: center;
    }
  }
}
.fee-calculation__box {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: repeat(2, auto);
  row-gap: 0.625rem;
  padding: 0.5rem 1.25rem 0.5rem 2.5rem;
  border-radius: var(--border-radius-lg);
  background-color: var(--bg-white);
  @media (width < 768px) {
    padding: 1.25rem 1.875rem;
  }
}
.fee-calculation__subtitle {
  grid-column: 1;
  grid-row: 1;
  align-self: end;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 2rem;
  line-height: 1.5;
  @media (width < 768px) {
    align-self: center;
    gap: 0.625rem;
    font-size: 1.5rem;
    line-height: 1.83;
  }
  &::before {
    content: '';
    display: inline-block;
    width: 2.25rem;
    height: 2.25rem;
    background-image: url(/cis/assets/img/common/icon_check-mark.svg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    @media (width < 768px) {
      width: 1.875rem;
      height: 1.875rem;
    }
  }
}
.fee-calculation__text {
  grid-column: 1;
  grid-row: 2;
  align-self: start;
  padding-left: 3.5rem;
  color: var(--text-black);
  line-height: 1.5;
  @media (width < 768px) {
    grid-column: 1/-1;
    padding-left: 0;
    font-size: 0.875rem;
  }
}
.fee-calculation__img {
  grid-column: 2;
  grid-row: 1/-1;
  width: 9.375rem;
  @media (width < 768px) {
    grid-row: 1;
    width: 5.1875rem;
  }
}