.intro_05 {
  /*  */
  .organ_chart .organ_ul {
    display: flex;
    flex-direction: column;
    justify-content: center;
    list-style: none;
    padding-left: 0;
    width: 100%;
    align-items: center;

    .organ_li {
      padding: 30px 0;
    }
    .organ_li.organ_top {
      position: relative;
      margin-bottom: 0;

      h3 {
        background-color: var(--main-blue-normal);
        width: 200px;
        height: 200px;
        display: flex;
        justify-content: center;
        align-items: center;
        color: var(--white);
        border-radius: 100px;
        margin-bottom: 0;
      }
    }
    .organ_li.organ_top::after {
      width: 1px;
      height: 40px;
      background-color: var(--gray-lighter);
      content: '';
      display: block;
      position: absolute;
      bottom: -10px;
      left: 50%;
    }
    &:has(.organ_li:nth-child(3)) .organ_li.organ_top::after {
      height: 180px;
      bottom: -150px;
    }
    .organ_li.organ_second {
      ul {
        list-style: none;
        display: flex;
        justify-content: center;
        padding-left: 0;
        gap: 40px;

        li {
          width: 200px;
          max-width: calc(50% - 20px);
          display: flex;
          justify-content: center;
          align-items: center;
          padding: 15px 20px;
          background-color: var(--primary-03-light);
          border-radius: 5px;
          border: 1px solid var(--primary-03-normal);
          position: relative;

          h4 {
            margin-bottom: 0;
          }
        }
        li:first-child::after {
          width: 20px;
          height: 1px;
          content: '';
          display: block;
          position: absolute;
          background-color: var(--gray-lighter);
          right: -21px;
          top: 50%;
        }
        li:nth-child(2)::after {
          width: 20px;
          height: 1px;
          content: '';
          display: block;
          position: absolute;
          background-color: var(--gray-lighter);
          left: -21px;
          top: 50%;
        }
      }
    }
    .organ_li.organ_third {
      position: relative;

      h4 {
        width: 200px;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 15px 20px;
        background-color: var(--purple-light);
        border-radius: 5px;
        border: 1px solid var(--purple-normal);
        margin-bottom: 0;
      }
    }
    .organ_li.organ_third::after {
      width: 1px;
      height: 40px;
      background-color: var(--dark-lighter);
      content: '';
      display: block;
      position: absolute;
      bottom: -10px;
      left: 50%;
    }
    .organ_li.organ_fourth {
      width: 100%;
      padding-top: 40px;

      .fourth_ul {
        display: flex;
        width: 100%;
        justify-content: center;
        list-style: none;
        padding-left: 0;

        .fourth_li {
          position: relative;
          width: 25%;
          padding: 0 10px;

          .fourth_item {
            /*  */
            .fourth_item_h {
              width: 100%;
              text-align: center;
              display: flex;
              align-items: center;
              padding: 10px;
              background-color: var(--dark-normal);
              color: var(--white);
              justify-content: center;
              border-radius: 5px;
              text-decoration: none;
              /*  */
              h5 {
                margin-bottom: 0;
                color: var(--white);
              }
            }
            .fourth_item_h.active {
              background-color: var(--primary-03-normal);
            }
            .fourth_item_h:hover {
              background-color: var(--dark-normal-hover);
            }
            .fourth_item_h.active:hover {
              background-color: var(--primary-03-normal);
            }
            .fourth_item_b {
              background-color: var(--light-normal);
              padding: 20px 10px;
              margin-top: 5px;
              border-radius: 5px;
              /*  */
              > ul {
                list-style: none;
                padding-left: 10px;
                /*  */
                > li {
                  padding-left: 10px;
                  position: relative;
                }
                > li::before {
                  width: 3px;
                  height: 3px;
                  background-color: var(--main-blue-normal);
                  content: '';
                  display: block;
                  position: absolute;
                  left: 0;
                  border-radius: 2px;
                  top: 11px;
                }
              }
            }
          }
        }
        &:not(:has(.fourth_li:nth-child(2))) .fourth_li::after {
          display: none;
        }

        .fourth_li::before {
          height: 30px;
          left: 50%;
          border-left: 1px solid var(--gray-lighter);
          content: '';
          display: block;
          position: absolute;
          top: -30px;
        }
        .fourth_li.total:first-child:before {
          height: 50px;
          top: -50px;
        }

        &:has(.total) .fourth_li:nth-child(2):not(:last-child)::before {
          border-top: 1px solid var(--gray-lighter);
          width: 50%;
          left: 50%;
        }
        .fourth_li::after {
          width: 100%;
          left: 0;
          border-top: 1px solid var(--gray-lighter);
          content: '';
          display: block;
          position: absolute;
          top: -30px;
        }
        &:has(.total) .fourth_li:nth-child(2):not(:last-child)::after {
          top: -50px;
        }
        .fourth_li:last-child::after {
          left: auto;
          right: 50%;
        }
        .fourth_li:first-child::after {
          left: 50%;
          right: auto;
        }
        .fourth_li.total:first-child::after {
          top: -50px;
        }
      }
    }
  }
}

.organ_table {
  /*  */
  & th {
    border-bottom: 2px solid var(--ai_primary-500);
  }
}

@media (max-width: 991.98px) {
  /*  */
  .intro_05 {
    /*  */
    .organ_chart .organ_ul {
      /*  */
      .organ_li {
        padding: 20px 0;
      }
      & .organ_li.organ_top {
        /*  */
        h3 {
          display: flex;
          justify-content: center;
          align-items: center;
          position: relative;
          width: 160px;
          height: 160px;
          margin-bottom: 0;
          color: var(--white);
          border-radius: 100px;
          background-color: var(--main-blue-normal);
          z-index: 1;
        }
      }
      .organ_li.organ_top::after {
        bottom: auto;
        top: 0;
        height: 100%;
        transform: translateY(20px);
      }
      & .organ_li.organ_second {
        /*  */
        & ul {
          gap: 20px;
          /*  */
          li {
            width: 120px;
          }
        }
      }
      .organ_li.organ_third::after {
        height: 60px;
        bottom: -40px;
      }
      .organ_li.organ_fourth {
        /*  */
        .fourth_ul {
          flex-direction: column;
          gap: 20px;
          padding: 0 30px;

          .fourth_li {
            width: 100%;
            margin-bottom: 0;
          }
          &:has(.fourth_li:nth-child(2)) {
            /*  */
            .fourth_li::after {
              left: -20px;
              width: auto;
              height: 100%;
              top: 0;
              border: 0;
              border-left: 1px solid var(--gray-lighter);
            }
            .fourth_li:first-child::after {
              width: calc(50% + 20px);
              height: calc(100% + 20px);
              left: -20px;
              border-top: 1px solid var(--gray-lighter);
              border-left: 1px solid var(--gray-lighter);
              top: -30px;
            }
            .fourth_li:last-child:after {
              display: none;
            }
            .fourth_li:not(:first-child)::before {
              width: 30px;
              height: 60px;
              left: -20px;
              border-top: 0;
              border-bottom: 1px solid var(--gray-lighter);
              border-left: 1px solid var(--gray-lighter);
              top: 50%;
              transform: translate(0, -100%);
            }
          }
        }
      }
    }
  }
}
