@charset "utf-8";

/* =====================
  about-head
===================== */
.about-head {
  position: relative;
  display: block grid;
  grid-auto-flow: column;
  justify-content: flex-start;
  align-items: baseline;
  gap: 16px;
  padding-inline-start: 49px;

  &::before {
    content: '';
    position: absolute;
    inline-size: 60px;
    aspect-ratio: 1 / 1;
    background-color: rgb(255, 226, 138);
    opacity: 0.502;
    border-radius: calc(infinity * 1px);
    inset-inline-start: 0;
    inset-block-start: -13px;
  }

  & h2 {
    font-size: 30px;
    color: rgb(79, 155, 101);
    font-weight: bold;
    position: relative;
    z-index: 2;
    letter-spacing: 1px;
  }

  & p {
    font-size: 18px;
    color: rgb(79, 155, 101);
    font-weight: bold;
    position: absolute;
    inset-inline-start: 64px;
    inset-block-start: -29px;
    letter-spacing: 0.8px;
  }

  & picture {
    translate: 0 -4px;
  }
}

/* =====================
  about-anchor
===================== */
.about-anchor {
  display: block flex;
  align-items: center;
  border-radius: 10px;
  background-color: rgb(79, 155, 101);
  color: white;
  justify-content: center;
  font-size: 24px;
  font-weight: 500;
  gap: 13px;
  padding-block: 18px;
  padding-inline: 20px;

  &::before {
    content: '';
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    background-image: url('../../img/about/pen.png');
    inline-size: 24px;
    block-size: 24px;
    translate: -11px 0;
  }
}

/* =====================
  inner
===================== */
.about-contents main article .inner {
  max-width: 104rem;
  width: 93%;
  margin-left: auto;
  margin-right: auto;
  min-width: auto;
}

/* =====================
  title
===================== */
.about-contents .second-title::after {
  background-image: url('../../img/about/title.png');
  width: 49px;
  height: 11px;
}

/* =====================
  lead
===================== */
.about-lead {
  margin-block-start: 78px;
  position: relative;
  margin-block-end: 63px;

  /* ==== body ==== */
  .about-body {
    inline-size: 850px;
    padding-inline: 60px;
    padding-block: 51px 77px;
    border-radius: 20px;
    background-color: rgb(254, 240, 208);
    display: block grid;
    gap: 49px;

    & h3 {
      font-size: 24px;
      color: rgb(79, 155, 101);
      letter-spacing: 1px;
      font-weight: bold;
      text-decoration-line: underline;
      text-decoration-style: solid;
      text-underline-offset: 14px;
      text-decoration-thickness: 1px;
      text-decoration-color: currentColor;
    }

    & p {
      font-size: 15.504px;
      line-height: 1.875;
      font-weight: 500;
      color: rgb(26, 39, 30);
    }
  }

  /* ==== picture ==== */
  .about-picture {
    position: absolute;
    inset-inline-end: 0;
    display: block flow;
    inset-block-end: -63px;
  }
}

/* =====================
  vision
===================== */
section.vision {
  margin-block-start: 92px;

  /* ==== item ==== */
  .item {
    position: relative;
    display: block grid;
    grid-auto-flow: column;
    justify-content: flex-end;
    align-items: flex-end;
    margin-block-start: -60px;
    padding-inline-end: 40px;
    gap: 54px;
  }

  .body {
    font-size: 16px;
    inline-size: 268.5px;
    font-weight: 500;
    color: rgb(26, 39, 30);
    line-height: 2;
    padding-block-end: 23px;
  }
}

/* =====================
  services
===================== */
section.services {
  margin-block-start: 107px;

  /* ==== item1 ==== */
  .item[data-id='1'] {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0 34px;
    margin-block-start: 72px;

    & li {
      background: white;
      display: block grid;
      box-shadow: 0px -5px 18px 2px rgba(75, 75, 75, 0.1);
      padding-block: 52px 16px;
      grid-template-rows: subgrid;
      grid-row: span 3;
      position: relative;
      gap: 11px;

      &::before {
        content: '';
        position: absolute;
        inset-inline-start: 50%;
        translate: -13% -50%;
        background-repeat: no-repeat;
        background-size: contain;
        background-position: center;
        background-image: url('../../img/about/li01-a.png');
        inline-size: 56px;
        block-size: 56px;
      }

      &:nth-child(2)::before {
        background-image: url('../../img/about/li02-a.png');
      }
      &:nth-child(3)::before {
        background-image: url('../../img/about/li03-a.png');
      }
      &:nth-child(1) .picture {
        translate: -5px -1px;
      }
      &:nth-child(2) .picture {
        translate: 3px -18px;
      }
      &:nth-child(3) .picture {
        translate: 0 -18px;
      }
    }

    .lead {
      display: block grid;
      place-content: center;
      font-size: 18px;
      color: rgb(239, 129, 31);
      font-weight: bold;

      & span {
        text-align: center;
        line-height: 1.4;
      }
    }

    .body {
      font-size: 16px;
      color: rgb(26, 39, 30);
      line-height: 1.875;
      font-weight: bold;
      padding-inline: 30px;
    }

    .picture {
      display: block flow;
      margin-inline: auto;
      margin-block-start: 10px;
    }
  }

  /* ==== item[data-id="2"] ==== */
  .item[data-id='2'] {
    margin-block-start: 62px;
    border: 2px solid rgb(239, 178, 31);
    display: block grid;
    border-width: 4px;
    border-radius: 40px;
    padding-block: 64px 47px;
    gap: 37px;

    .about-head {
      inline-size: fit-content;
      margin-inline: auto;
    }

    & ul {
      inline-size: fit-content;
      margin-inline: auto;
      font-size: 16px;
      color: rgb(26, 39, 30);
      line-height: 2.25;
      font-weight: 500;
      display: block grid;
      gap: 10.8px;

      & li {
        text-indent: -1em;
        padding-inline-start: 1em;
        letter-spacing: 0.7px;
      }
    }
  }
}

/* =====================
  register
===================== */
section.register {
  margin-block-start: 90px;

  .item {
    margin-block-start: 41px;
    padding-inline-start: 35px;
    gap: 28px;
    display: block grid;
    grid-auto-flow: column;
    justify-content: flex-start;
    align-items: center;
    grid-template-columns: 300px 1fr;

    .button {
      display: block grid;
      gap: 24px;

      & p {
        text-align: center;
        font-weight: 500;
        font-size: 16px;
        letter-spacing: 0.8px;
        color: rgb(26, 39, 30);
      }
    }

    & ul {
      margin-block-start: 4px;
      font-size: 16px;
      color: rgb(26, 39, 30);
      line-height: 2.25;
      font-weight: 500;
      display: block grid;
      gap: 10px;
      inline-size: fit-content;
      margin-inline: auto 0;

      & li {
        position: relative;
        letter-spacing: 0.7px;

        &::before {
          position: absolute;
          content: '';
          display: block flow;
          background-color: rgba(150, 236, 160, 0.502);
          inline-size: 15px;
          aspect-ratio: 1 / 1;
          translate: -29px 5px;
          border-radius: calc(infinity * 1px);
        }
      }
    }
  }
}

/* =====================
  cost
===================== */
section.cost {
  margin-block-start: 90px;
  padding-block-end: 102px;

  /* ==== item ==== */
  .item {
    display: block grid;
    gap: 49px 0;
    margin-inline: auto;
    grid-template-columns: 273px 1fr;
    inline-size: fit-content;
    margin-block-start: 36px;

    /* ==== tr ==== */
    .tr {
      display: block grid;
      grid-template-columns: subgrid;
      grid-column: 1 / -1;
      align-items: center;
    }

    /* ==== dt ==== */
    & dt {
      font-size: 18px;
      letter-spacing: 0.6px;
      font-weight: 500;
      color: rgb(26, 39, 30);
      line-height: 1.778;
      /* padding-inline-end: 29px; */
    }

    /* ==== dd ==== */
    & dd {
      font-size: 30px;
      color: rgb(255, 15, 15);
      line-height: 1.067;
      position: relative;
      padding-inline-start: 0;

      & span {
        position: relative;
        padding-inline-start: 29px;
        text-align: center;
        z-index: 2;
        display: block flow;
        font-weight: bold;
      }

      &::after {
        content: '';
        background-color: rgb(255, 242, 40);
        opacity: 0.502;
        display: block flow;
        position: absolute;
        left: 50%;
        translate: -48% -21px;
        block-size: 23px;
        inline-size: 102%;
        z-index: 1;
      }
    }
  }
}
