i {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

:root {
  --mvw: calc((100% - 380px) / 5);

  @media all and (max-width: 1000px) {
    --mvw: calc((100% - 380px) / 3);
  }
}

.int {
  padding: 100px 0 120px 0;
  box-sizing: border-box;
  background: #f6f6f6;

  @media all and (max-width: 1120px) {
    padding: 60px 0 10px 0;

    .inner {
      width: 100%;
    }
  }

  @media all and (max-width: 767px) {
    .btn_wrap {
      margin: 30px auto 70px auto;
    }
  }
}

.tab-wrap {
  margin-top: 50px;

  .tab_btns {
    display: flex;
    border-bottom: 2px solid #002f76;
    box-sizing: border-box;
    gap: 0 12px;

    @media all and (max-width: 1120px) {
      overflow: scroll;

      -ms-overflow-style: none;
      scrollbar-width: none;

      &::-webkit-scrollbar {
        display: none;
      }
    }
  }

  @media all and (max-width: 767px) {
    margin-top: 40px;
  }
}

.tab-btn {
  width: 10%;
  background: white;
  padding: 7px 0;
  border-radius: 6px 6px 0 0;
  font-size: 1.5rem;
  font-weight: bold;
  color: #b5b5b5;
  text-align: center;
  list-style: none;
  cursor: pointer;
  border: 1px solid #cecece;
  border-bottom: none;
  transition: all 0.3s ease;

  &:hover {
    background: linear-gradient(to bottom, #00a0dc 0%, #00266e 100%);
    border: 1px solid #00a0dc;
    border-bottom: none;
    color: #fff;
  }

  @media all and (max-width: 1120px) {
    min-width: 97px;
  }

  &.show {
    background: linear-gradient(to bottom, #00a0dc 0%, #00266e 100%);
    border: 1px solid #00a0dc;
    border-bottom: none;
    color: #fff;
  }
}

.tab-wrap2 {
  .tab_btns2 {
    display: flex;
    box-sizing: border-box;
    gap: 0 12px;

    @media all and (max-width: 1120px) {
      padding: 25px 30px;
    }

    @media all and (max-width: 767px) {
      padding: 25px 30px;
      box-sizing: border-box;
      display: grid;
      grid-template-columns: 1fr 1fr 1fr;
      gap: 15px 10px;
    }
  }
}

.tab-btn2 {
  margin: 20px 0 50px 0;
  text-align: center;
  font-size: 1.4rem;
  border-radius: 100px;
  width: 98px;
  padding: 4px 10px;
  box-sizing: border-box;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
  background: white;
  cursor: pointer;
  transition: all 0.3s ease;

  &:hover {
    background: #00a0dc;
    color: white;
  }

  @media all and (max-width: 1120px) {
    margin: 0;
  }

  &.show2 {
    background: #00a0dc;
    color: white;
  }
}

.tab-contents,
.tab-contents2 {
  display: none;

  &.show,
  &.show2 {
    display: block;
    min-height:40px;
  }
}

.tab_in2 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  margin-bottom: 60px;
  gap: 16px;

  .bx {
    border: 2px solid #00a0dc;
    border-radius: 8px;
    background: white;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;

    &:hover {
      opacity: 0.7;
    }

    p {
      margin: 0;
    }
    .bx-body {
      padding: 10px 15px 0 15px;
      .ttl {
        min-height: 64px;
        line-height: 1.4;
        font-weight: bold;
        color: #000;
        font-size: 2.2rem;
        box-sizing: border-box;
      }

      .txt {
        padding: 10px 0;
        font-size: 1.4rem;
        line-height: 1.6;
        color: #333;
      }
    }

    .bt {
      color: white;
      background: #00a0dc;
      text-align: center;
      font-size: 1.2rem;
      font-weight: bold;
      padding: 2.5px 0;
      box-sizing: border-box;
    }
  }

  @media all and (max-width: 1120px) {
    grid-template-columns: 1fr 1fr 1fr;
    padding: 0 20px;
  }

  @media all and (max-width: 900px) {
    grid-template-columns: 1fr 1fr;
  }

  @media all and (max-width: 767px) {
    padding: 0 10px 20px 10px;
    box-sizing: border-box;
    grid-template-columns: 1fr;
    margin-bottom: 0;
    position: relative;

    /* &:before {
      content: "";
      position: absolute;
      bottom: 0;
      left: 3.35%;
      margin-top: 0;
      margin-left: 0;
      width: 93.3%;
      height: 1px;
      background: #00a0dc;
    } */

    .bx {
      .bx-body {
        padding: 15px 20px 0 20px;
        .ttl {
          min-height: 0;
          font-size: 2rem;

          br {
            display: none;
          }
        }
      }

      .bt {
        color: white;
        background: #00a0dc;
        text-align: center;
        font-size: 1.2rem;
        font-weight: bold;
        padding: 2.5px 0;
        box-sizing: border-box;
      }
    }
  }
}
