.ecosystem {
  p {
    width: 100%;
    font-size: 16px;
    line-height: 1.6;
    color: #292984;
    &:first-child {
      text-align: center;
      max-width: 730px;
      margin-left: auto;
      margin-right: auto;
    }
  }
  h3 {
    display: inline-flex;
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 0;
    letter-spacing: 0.05rem;
    text-transform: inherit;
    width: 400px;
    margin-left: auto;
    outline: none;
    @media screen and (max-width: 769px) {
      width: 50%;
    }
    @media screen and (max-width: 399px) {
      width: 100%;
      margin-bottom: 15px;
    }
    a {
      font-size: 24px !important;
      @media screen and (max-width: 399px) {
        font-size: 21px !important;
      }
    }
    + p {
      display: inline-flex !important;
      justify-content: flex-end;
      align-items: center;
      max-width: 330px;
      margin: 0 auto 0 0;
      @media screen and (max-width: 769px) {
        width: 50%;
      }
      @media screen and (max-width: 399px) {
        justify-content: flex-start;
        width: 100%;
      }
      span > span {
        @media screen and (min-width: 768px) {
          &:not(:last-child) {
            margin-right: 15px;
          }
        }

        @media screen and (max-width: 767px) {
          width: 20px;
          height: 20px;
        }
      }
      + p {
        max-width: 730px;
        padding: 25px 0;
        border-bottom: 1px solid #f2f2f2;
        margin-bottom: 25px;
        margin-left: auto;
        margin-right: auto;

        @media screen and (max-width: 399px) {
          padding: 15px 0;
          margin-bottom: 15px;
        }
      }
    }
    &:hover {
      a {
        cursor: pointer;
        color: #05d2dd !important;
      }
    }
  }
  table {
    max-width: 1110px;
    padding-bottom: 80px;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    color: #ffffff;
    font-family: "Kanit", sans-serif;
    line-height: 1;
    font-weight: 500;
    tbody {
      display: flex;
      flex-wrap: wrap;
      width: 100%;
      tr {
        border: transparent;
        display: flex;
        flex-direction: column;
        position: relative;
        &:hover {
          cursor: pointer;
          &:after {
            content: "";
            position: absolute;
            width: 100%;
            height: 4px;
            background-color: #292984;
            bottom: -6px;
            left: 0;
          }
        }
        td {
          display: flex;
          width: 100%;
          padding: 0;
        }
        &:first-child {
          background-color: #ff961c;
          width: 74%;
          padding: 20px 0 15px 40px;
          @media screen and (max-width: 1109px) {
            width: 68%;
          }
          @media screen and (max-width: 767px) {
            width: 100%;
            border-bottom: 2px solid #ffffff;
            padding: 20px 0 15px 20px;
          }
          td {
            &:first-child {
              font-size: 66px;
              @media screen and (max-width: 1109px) {
                font-size: 56px;
              }
              @media screen and (max-width: 991px) {
                font-size: 48px;
              }
              @media screen and (max-width: 767px) {
                font-size: 42px;
              }
            }
            &:last-child {
              font-size: 200px;
              @media screen and (max-width: 1109px) {
                font-size: 180px;
              }
              @media screen and (max-width: 767px) {
                font-size: 90px;
              }
            }
          }
        }
        &:nth-child(2),
        &:nth-child(3) {
          width: 13%;
          border-left: 2px solid #ffffff;
          padding: 0;
          justify-content: space-between;
          @media screen and (max-width: 1109px) {
            width: 16%;
          }
          @media screen and (max-width: 767px) {
            width: 50%;
          }
          td {
            &:first-child {
              font-size: 30px;
              padding: 35px 15px 0 20px;
              @media screen and (max-width: 991px) {
                font-size: 24px;
              }
              @media screen and (max-width: 767px) {
                padding: 15px;
              }
            }
            &:last-child {
              font-size: 66px;
              padding-bottom: 30px;
              @media screen and (max-width: 1109px) {
                font-size: 56px;
              }
              @media screen and (max-width: 991px) {
                font-size: 48px;
              }
              @media (min-width: 768px) {
                justify-content: center;
              }
              @media screen and (max-width: 767px) {
                font-size: 42px;
                padding-bottom: 15px;
                padding-left: 15px;
              }
            }
          }
        }
        &:nth-child(2) {
          background-color: #05d2dd;
          @media screen and (max-width: 767px) {
            border-left: none;
          }
        }
        &:nth-child(3) {
          background-color: #8f68fc;
        }
      }
    }
  }
  .container-ecosystem {
    display: flex;
    flex-wrap: wrap;
    h1 {
      font-size: 38px;
      line-height: 1.2;
      font-weight: 500;
      margin: 55px auto 30px auto;
      max-width: 730px;
      width: 100%;
      outline: none;
      @media screen and (max-width: 767px) {
        font-size: 28px;
      }
    }
  }
}
