.moveToLink {
  height: 48px;

  &.on ul {
    position: fixed;
    top: 160px;
    width: 100%;
    height: 62px;
    max-width: calc(
      var(--container-max-width) - (var(--bs-gutter-x) * 0.5) * 2
    );
    padding: calc((62px - 48px) / 2) 0;
    z-index: 9999;

    &::after {
      content: '';
      display: block;
      position: absolute;
      top: 0;
      left: 50%;
      width: 100vw;
      height: 100%;
      background: #373b4e;
      transform: translateX(-50%);
      z-index: -1;
    }
  }

  & ul {
    display: flex;
    gap: 8px;
    justify-content: center;
    height: 48px;

    & li {
      width: calc(100% / 6);
      height: 100%;
      margin-bottom: 0;

      & a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 100%;
        min-width: 8rem;
        padding: 0 20px;
        line-height: 1.25;
        color: #babbbd;
        font-size: calc(1rem + 2px);
        background-color: #ededed;
        border: 0 none;
        border-radius: 9999px;
      }
      &.on a {
        color: #fff;
        background-color: var(--ai_primary-500);
      }
    }
  }
}

.program[class*='item'] {
  padding-top: 80px;
  margin-top: 80px;
  border-top: 1px solid #babbbd;

  & > article:not(:last-of-type) {
    margin-bottom: 2rem;
  }

  @media screen and (max-width: 500px) {
    /*  */
    & table {
      /*  */
      & col:nth-of-type(1) {
        width: 6rem;
      }
      & tr td {
        word-break: keep-all;
      }
    }
  }
}

.zone {
  display: flex;
  gap: 0 2rem;
}
.zone .information {
  flex-shrink: 0;
  width: 38%;
}
.zone .information h4 {
  font-family: 'Pretendard Variable';
  font-weight: 700;
  font-size: 2.5rem;
  line-height: 3rem;
}

.zone .picture {
  order: -1;
}

.experience {
  margin-top: 60px;
}
.experience h5 {
  margin-bottom: 1.25rem;
  color: var(--ai_02-500);
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1.2;

  &::before {
    content: '';
    display: inline-block;
    width: 10px;
    height: 10px;
    margin-top: 5px;
    margin-right: 12px;
    vertical-align: top;
    background-color: var(--ai_02-500);
    border: 3px solid var(--ai_02-50);
    border-radius: 10px;
    box-sizing: content-box;
  }
}
.experience ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 20px;
}
.experience li {
  overflow: hidden;
  margin-bottom: 0;
  border: 1px solid #ededed;
  border-radius: 10px;
}
.experience li dl {
  display: flex;
  gap: 16px 0;
  flex-wrap: wrap;
  position: relative;
  padding: 20px 20px 20px calc(192px + 28px); 
  min-height: 189px;
}
.experience li dt {
  order: -1;
  font-weight: 700;
  font-size: 1.5rem;
}
.experience li dd.subText {
  width: 100%;

  & span.rows {
    height: calc(1.5em * 2);
  }
}

.experience li dd.picture {
  position: absolute;
  top: 0;
  left: 0;
  width: 192px;
  text-align: center;
  border-right: 1px solid #ededed;
  box-sizing: content-box;
  border-radius: 10px; 
  overflow: hidden; 

  & .img_bx {
    width: 192px;
    height: 192px;
  }
}

@media screen and (max-width: 991.98px) {
  /*  */
  .moveToLink {
    /*  */
    & ul {
      /*  */
      & li {
        width: calc(100% / 4);
      }
    }
    &.on ul {
      /* top: 36px; */
      max-width: calc(720px - (var(--bs-gutter-x) * 0.5) * 2);
    }
  }

  .zone .information h4 {
    font-size: calc(2.5rem * 0.75);
  }

  .experience ul {
    grid-template-columns: 1fr;
  }
}
@media screen and (max-width: 500px) {
  .moveToLink {
    height: calc(48px * 2);

    & ul {
      flex-wrap: wrap;
      display: grid;
      grid-template-columns: repeat(2, 1fr);

      & li {
        width: auto;
        height: 48px;
      }
    }

    &.on ul {
      display: block;
      width: 100vw;
      overflow-x: scroll;
      left: 0;
      padding-right: 8px;
      font-size: 0;
      white-space: nowrap;
      background-color: #373b4e;

      & li {
        display: inline-block;
        min-width: 7rem;
        margin-left: 8px;
      }
    }
  }

  .zone {
    flex-wrap: wrap;
  }
  .zone .information {
    width: 100%;
  }
  .zone .picture {
    order: 1;
    margin-top: 1rem;
  }

  .experience ul {
    grid-template-columns: 1fr;
  }
  .experience li dl {
    flex-flow: column nowrap;
    padding-top: 40px;
    padding-left: 20px;
  }
  .experience li dd.picture {
    order: -2;
    position: static;
    width: 100%;
    height: auto;
    border-right: 0 none;
    transform: none;

    & .img_bx {
      width: 200px;
      height: 200px;
    }
  }
  .experience li dt,
  .experience li dd.subText {
    text-align: center;

    & span.rows {
      text-align: center;
    }
  }
}

@media screen and (min-width: 768px) {
  :root {
    --container-max-width: 720px;
  }
}
@media screen and (min-width: 992px) {
  :root {
    --container-max-width: 960px;
  }
}
@media screen and (min-width: 1200px) {
  :root {
    --container-max-width: 1140px;
  }
}
@media screen and (min-width: 1400px) {
  :root {
    --container-max-width: 1320px;
  }
}
