.gallery img {
  width: 100%;
  height: auto;
}

@font-face {
  font-family: "HyundaiSansHead";
  font-weight: 300;
  font-style: normal;
  src: url("../font/HyundaiSansHeadKRLight.ttf") format("truetype");
}

@font-face {
  font-family: "HyundaiSansHead";
  font-weight: 400;
  font-style: normal;
  src: url("../font/HyundaiSansHeadKRRegular.ttf") format("truetype");
}

@font-face {
  font-family: "HyundaiSansHead";
  font-weight: 500;
  font-style: normal;
  src: url("../font/HyundaiSansHeadKRMedium.ttf") format("truetype");
}

@font-face {
  font-family: "HyundaiSansHead";
  font-weight: 600;
  font-style: normal;
  src: url("../font/HyundaiSansHeadKRBold.ttf") format("truetype");
}

@font-face {
  font-family: "HyundaiSansText";
  font-weight: 400;
  font-style: normal;
  src: url("../font/HyundaiSansTextKRRegular.ttf") format("truetype");
}

@font-face {
  font-family: "HyundaiSansText";
  font-weight: 500;
  font-style: normal;
  src: url("../font/HyundaiSansTextKRMedium.ttf") format("truetype");
}

@font-face {
  font-family: "HyundaiSansText";
  font-weight: 600;
  font-style: normal;
  src: url("../font/HyundaiSansTextKRBold.ttf") format("truetype");
}

.block {
  display: block;
}

.m-t-5 {
  margin-top: 5px;
}

.m-t-33 {
  margin-top: 33px;
}

* {
  box-sizing: border-box;
  text-decoration: none;
  margin: 0;
  padding: 0;
  list-style: none;
}

.bullet {
  word-break: keep-all;
  position: relative;
  padding-left: 10px;
  font-family: "HyundaiSansText";
  font-weight: 400;
  font-size: 19px;
  letter-spacing: -0.76px;

  &::after {
    left: 0;
    top: 0;
    position: absolute;
    content: "-";
  }
}

img {
  max-width: 100%;
}

.gap15 {
  gap: 15px;
}

.m-b-60 {
  margin-bottom: 60px;
}

.htext {
  font-family: "HyundaiSansHead";
  font-weight: 400;
}

.ft18 {
  letter-spacing: -0.72px;

  font-size: 18px;
}

.text-fff {
  color: #fff;
}

.main-body {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
}

.d-flex {
  display: flex;
}

.align-center {
  align-items: center;
}

.j-sb {
  justify-content: space-between;
}

.mb-f-d-c {
  flex-direction: column;
}

.mb-d-block {
  display: none;
}

.title-group {
  font-weight: 600;
  font-family: "HyundaiSansText";
  color: #fff;
  padding-left: 25px;
}

.f400 {
  font-weight: 400 !important;
}

.top-sub-title {
  font-size: 25px;
}

.body-title {
  line-height: 1;
  font-size: 87px;
}

.body-title-ele {
  line-height: 1;
  font-size: 87px;
}
.body-title-elec {
  line-height: 1;
  font-size: 87px;
}

.flex-end {
  align-items: flex-end;
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  display: none;
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  outline: 0;
  background: rgb(0 0 0 / 49%);

  .modal-content {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;

    .modal-body {
      position: relative;
    }

    .modal-body-mobile {
      position: relative;
    }

    iframe {
      background: #fff;
    }

    .btn-close {
      position: absolute;
      right: -64px;
      top: 0;
      border: 0;
      cursor: pointer;
      background: none;
    }
  }
}

.bg-fff-modal {
  background: #fff;
  width: 578px;
  /* height: 328px; */
  padding: 50px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  position: relative;
  font-family: "HyundaiSansText";

  h1 {
    margin-bottom: 40px;

    img {
    }
  }

  h6 {
    a {
      font-size: 19px;
      padding: 13px 23px;
      background: #505050 0% 0% no-repeat padding-box;
      border-radius: 26px;
      display: inline-block;
      color: #fff;
      font-weight: 400;
      margin-top: 30px;
    }
  }

  p {
    font-size: 24px;
    letter-spacing: -1px;
  }

  .btn-close-modal {
    position: absolute;
    right: -64px;
    top: 0;
    border: 0;
    cursor: pointer;
    background: none;
  }
}

.fade {
  transition: opacity 0.15s linear;
}

.c-info-bottom {
  table {
    width: 100%;
    border-collapse: collapse;
    border-top: 2px solid #707070;
    border-bottom: 2px solid #707070;

    tr {
      border-bottom: 1px solid #d5d5d5;

      th {
        background: #e1e1e1;
        font-family: "HyundaiSansText";
        font-weight: 600;
        font-size: 16px;
      }

      td {
        font-size: 17px;
        font-weight: 400;
        font-family: "HyundaiSansText";
      }

      th,
      td {
        padding: 13px 20px;
      }
    }
  }
}

.bg-fff-p-inner {
  padding: 60px;
  background: #fff;
}
.bg-fff-p-inner-pop {
  padding: 38px;
  background: #fff;
}

/* 비공개자료 모달창 */
#content3 {
  min-width: 720px;
  width: 100%;
  font-size: 25px;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#exhibitionTabs {
  text-align: right;
  margin-bottom: 22px;

  span {
    padding-left: 36px;
    color: #fff;
    font-family: "HyundaiSansText";
    font-size: 20px;
    font-weight: 600;
    cursor: pointer;
    position: relative;

    &:not(:first-child)::after {
      content: "";
      position: absolute;
      border-left: 1px solid #fff;
      height: 18px;
      width: 1px;
      left: 17px;
      top: 3px;
    }
  }
}

.c-info-top {
  display: flex;
  gap: 30px;
  align-items: center;
  font-size: 16px;
  margin-bottom: 42px;

  div {
    p {
      margin-bottom: 0;

      span {
        font-size: 16px;
        font-family: "HyundaiSansText";
        font-weight: 400;
        color: #000;

        &#ceoName {
          &::after {
            content: none;
            position: absolute;
            border-left: 1px solid #000;
            height: 14px;
            width: 1px;
            left: 5px;
            top: 3px;
          }
        }
      }
    }
  }

  img {
    height: 53px;
  }
}

@media (max-width: 767px) {
  .main-body {
    /* padding: 37px; */
    padding: 37px 37px 24px 37px;
  }

  .mb-d-none {
    display: none;
  }

  .mb-d-block {
    display: block;
  }

  .title-group {
    margin-top: 36px;
    padding-left: 0;
  }

  .top-sub-title {
    font-size: 15px;
  }

  .body-title {
    font-size: 55px;
    line-height: normal;
  }

  .body-title-ele {
    font-size: 25px;
    line-height: normal;
  }
  .body-title-elec {
    font-size: 40px;
    line-height: normal;
  }
  .pop-cont {
    .m-b-60 {
      margin-bottom: 8px;
    }

    .bg-fff-p-inner {
      padding: 28px 15px;
    }
    .bg-fff-p-inner-pop {
      padding: 28px 15px;
    }
  }

  #exhibitionTabs {
    text-align: center;

    span {
      display: block;
      padding-left: 0;
      padding: 15px 0;
      font-size: 14px;

      &:not(:last-child) {
        border-bottom: 1px solid #fff;
      }

      &::after {
        display: none;
      }
    }
  }
}

@media (max-width: 767px) {
  .modal {
    & .modal-content {
      iframe {
        width: 100% !important;
      }
    }
  }

  .modal-body {
    width: 92%;
  }

  .modal-body-mobile {
    width: 84%;
  }

  .modal {
    & .modal-content {
      .btn-close {
        top: initial;
        top: -60px;
        right: 0px;

        img {
          height: 43px;
        }
      }
    }
  }
}

@media (max-width: 767px) {
  .c-info-top {
    display: block;

    img {
      height: 33px;
    }

    & div {
      p {
        margin-top: 11px;
        margin-bottom: 0;
      }
    }
  }

  .c-info-bottom {
    & table {
      & tr {
        th,
        td {
          font-size: 12px;
          padding: 13px 6px;
          min-width: 63px;
        }
      }
    }
  }

  .bg-fff-modal {
    width: 92%;
    padding: 15px;

    h1 {
      margin-bottom: 25px;

      img {
        height: 33px;
      }
    }

    h6 {
      a {
        font-size: 13px;
        padding: 10px 18px;
      }
    }

    p {
      font-size: 13px;
    }
  }

  .btn-close-modal {
    top: initial !important;
    bottom: -60px;
    right: 0px !important;

    img {
      height: 43px;
    }
  }
}

@media (max-width: 767px) {
  #content3 {
    min-width: 100%;
    font-size: 20px;
    min-height: 271px;
  }
}

.pc-only {
  display: block;
}
.mobile-only {
  display: none;
}

@media screen and (max-width: 768px) {
  .pc-only {
    display: none;
  }
  .mobile-only {
    display: block;
  }

  .c-info-top {
    display: flex;
    gap: 30px;
    align-items: center;
    font-size: 16px;
    margin-bottom: 11px;

    div {
      p {
        margin-bottom: 0;

        span {
          font-size: 16px;
          font-family: "HyundaiSansText";
          font-weight: 400;
          color: #000;

          &#ceoName {
            &::after {
              content: none;
              position: absolute;
              border-left: 1px solid #000;
              height: 14px;
              width: 1px;
              left: 5px;
              top: 3px;
            }
          }
        }
      }
    }

    img {
      height: 53px;
    }
  }
}
