.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;
      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 {
          padding: 0 10px;
          width: 25%;

          position: relative;
          .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;
        }
      }
    }
  }
}

/*조직도 상세 추가 - 250416*/
.organ_table {
  width: 100%;
  display: block;
  margin-top: -150px;
  padding-top: 150px;
  .organ_tit {
    padding-left: 10px;
    font-weight: 600;
    position: relative;
    margin-bottom: 30px;
  }
  .organ_tit::before {
    width: 3px;
    height: 100%;
    background-color: var(--main-blue-normal);
    content: '';
    display: block;
    position: absolute;
    left: 0;
    top: 0;
  }
  .table_box {
    display: none;
  }
  .table_box.show {
    display: block;
  }
  .table {
    width: 100%;
    position: relative;
    th {
      font-size: 14px;
      color: var(--dark-lighter, #b2bbc6);
      padding: 20px 15px;
      text-align: center;
      white-space: nowrap;
    }
    td {
      vertical-align: middle;
      padding: 20px 15px;
      text-align: center;
    }
  }
}
@media (max-width: 991.98px) {
  .intro_05 {
    .organ_chart .organ_ul {
      .organ_li {
        padding: 20px 0;
      }
      & .organ_li.organ_top {
        h3 {
          background-color: var(--main-blue-normal);
          width: 160px;
          height: 160px;
          display: flex;
          justify-content: center;
          align-items: center;
          color: var(--white);
          border-radius: 100px;
          margin-bottom: 0;
        }
      }
      .organ_li.organ_top::after {
        bottom: -140px;
        height: 160px;
      }
      & .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%;
          }
          &: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: -40px;
            }
          }
          /* .fourth_li:nth-child(2)::after {
            left: -20px;
            content: '';
            display: block;
            position: absolute;
            height: 100%;
            border-left: 1px solid var(--gray-lighter);
            width: 1px;
            top: 0;
          }
          .fourth_li:nth-child(3)::before {
            width: 30px;
            height: 60px;
            left: -20px;
            border-top: 0;
            border-right: 0;
            border-bottom: 1px solid var(--gray-lighter);
            border-left: 1px solid var(--gray-lighter);
            top: -40px;
          }
          .fourth_li:nth-child(3)::after {
            left: -20px;
            content: '';
            display: block;
            position: absolute;
            height: 100%;
            border-left: 1px solid var(--gray-lighter);
            width: 1px;
            top: 0;
          }
          .fourth_li:nth-child(4)::before {
            width: 30px;
            height: 60px;
            left: -20px;
            border-top: 0;
            border-right: 0;
            border-bottom: 1px solid var(--gray-lighter);
            border-left: 1px solid var(--gray-lighter);
            top: -40px;
          } */
        }
      }
    }
  }
}
