/* header */

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  background-color: white;
  margin-left: auto;
  margin-right: auto;
  z-index: 100;
  box-shadow: 0 5px 5px -5px #dbdbdb;
  display: flex;
  justify-content: flex-end;
}

.header-container {
  height: 100px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo a {
  width: 196px;
  height: 55px;
  float: left;
  background-image: url("/img/logo2x.png");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  text-indent: -9999em;
  margin-top: 0px;
}

.menu {
  width: 55%;
  height: 100%;
}

.menu-title {
  display: flex;
  height: 100%;
}

.menu-item {
  display: flex;
  align-items: center;
  position: relative;
  justify-content: center;
  text-align: center;
  flex-grow: 1;
}

.menu-item:first-child .drop-menu::after,
.menu-item:last-child .drop-menu::after {
  height: 0;
  width: 70px;
  content: "";
  background-color: black;
  position: absolute;
  top: 0;
  opacity: 0.9;
  transition: height 0.5s ease, opacity 0.5s ease;
}

.menu-item:first-child .drop-menu::after {
  left: -70px;
  border-radius: 0 0 0 20px;
}

.menu-item:last-child .drop-menu::after {
  right: -70px;
  border-radius: 0 0 20px 0;
}

.drop-menu {
  width: 100%;
  position: absolute;
  top: 100%;
  height: 0;
  background-color: rgba(0, 0, 0, 0.9);
  opacity: 0;
  transition: height 0.5s ease, opacity 0.5s ease;
}

.menu-item {
  font-size: 18px;
  font-weight: 600;
  color: #0d0d0d;
}

.drop-menu {
  font-size: 15px;
  font-weight: 400;
  color: var(--main-color);
}

.menu-item a:hover {
  /* background-color: #e6ecee; */
  color: var(--point-color);
}

.menu:hover .drop-menu {
  display: flex;
  flex-direction: column;
  height: 200px;
  opacity: 0.9;
}

.menu:hover .drop-menu::after {
  height: 200px;
}

.menu:hover .drop-menu li {
  font-size: var(--);
  opacity: 1;
  transition-delay: 0.275s;
  pointer-events: auto;
}

.drop-menu li {
  line-height: 30px;
  display: block;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease-in-out;
}

.drop-menu li:first-child {
  margin-top: 25px;
}

.drop-menu li a {
  color: #d3d3d3;
}

.drop-menu li a:hover {
  color: var(--point-color);
}

.btn-total {
  display: none;
  position: relative;
  width: 20px;
  height: 16px;
}

.btn-total span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #000;
  transition: all 0.5s;
}

.btn-total span:nth-of-type(1) {
  top: 0;
}

.btn-total span:nth-of-type(2) {
  top: 50%;
  transform: translateY(-50%);
}

.btn-total span:nth-of-type(3) {
  bottom: 0;
}

/* slide */

.slide-container::part {
  width: 100%;
}

.slide {
  width: 100%;
  height: 600px;
  background-size: cover;
  background-position: center;
  color: var(--white);
  text-align: left;
  margin-top: 100px;
}

.slide1 {
  background-image: url("/img/slide11.png");
  background-size: cover;
}

.slide2 {
  background-image: url("/img/slide22.png");
}

.slide3 {
  background-image: url("/img/slide33.png");
}

.text-content {
  display: flex;
  flex-direction: column;
  height: 100%;
  height: 430px;
  padding: 80px 0 80px 0;
  justify-content: space-between;
}

.text-content p > span {
  display: block;
}

/* fontstyle */

.text-content p:nth-of-type(1) {
  font-size: 23px;
  color: var(--point-color);
  font-style: normal;
  font-weight: 100;
  line-height: 30px;
}

.text-content > h2 {
  font-weight: 600;
  font-size: 50px;
}

.text-content p:nth-of-type(2) {
  color: #d9d9d9;
  font-size: 18px;
  font-style: normal;
  font-weight: 100;
  line-height: 30px;
}

/* logostyle */

.slide .logos img:nth-child(1) {
  width: 160px;
  display: block;
}

.slide .logos img:nth-child(2) {
  width: 180px;
  display: block;
  margin-bottom: 10px;
}

.slide .logos img:nth-child(3) {
  width: 40px;
  display: block;
}

.slide .logos {
  gap: 30px;
  display: flex;
  opacity: 0.7;
}

/* section1 */

.sec1-wrapper {
  height: 110px;
  display: flex;
  justify-content: space-around;
  gap: 5px;
  transition: 0.3s ease;
}

.sec1-menu1,
.sec1-menu2 {
  display: flex;
  flex: 1;
  box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.1);
}

.sec1-menu1-logo,
.sec1-menu2-logo {
  flex: 1;
}

.sec1-menu1-box,
.sec1-menu2-box {
  flex: 0.6;
}

.sec1-menu1-logo,
.sec1-menu2-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.sec1-menu1-box,
.sec1-menu2-box {
  background-color: var(--main-color);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.sec1-.menu1-box p {
  color: #e0e0e0;
}

.sec1-menu1-box:hover p {
  color: var(--point-color);
}

.sec1-menu2-box {
  border-left: 1px solid #d9d9d9;
  background-color: rgb(248, 248, 248);
  color: var(--black);
  font-weight: 600;
}

.sec1-menu2-box:hover p {
  color: var(--point-color);
}

.sec1-menu1-box p::after,
.sec1-menu2-box p::after {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 6px solid #d9d9d9;
  margin-left: 8px;
  vertical-align: middle;
}

.sec1-menu1-box p span,
.sec1-menu2-box p span {
  font-weight: 400;
}

/* section2 */

.sec2-wrapper {
  text-align: center;
}

.sec2-item,
.sec2-menu {
  margin-bottom: 40px;
}

.sec2-item p:first-of-type {
  color: var(--main-color);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 2px;
}

.sec2-item > h2 {
  font-size: 45px;
  font-weight: 700;
  line-height: normal;
}

.sec2-item > h2 > span {
  font-size: 40px;
  font-weight: 500;
  line-height: normal;
}

.sec2-menu > div * {
  margin-bottom: 20px;
}

.sec2-menu {
  display: flex;
}

.sec2-menu > div {
  flex: 1;
}

.sec2-menu {
  gap: 10px;
  justify-content: center;
  flex: 1;
}

.sec2-menu > div {
  flex: 1;
  transition: flex 0.3s ease-in-out;
  background-color: var(--white);
}

.sc2-wrap {
  padding-top: 40px;
}

.sec2-text span {
  display: block;
  margin-bottom: 0;
}

.sc2-wrap p:first-of-type {
  color: var(--main-color);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 2px;
}

.sc2-wrap p:last-child {
  line-height: 22px;
  color: #555;
  font-size: 16px;
}

.sec2-menu > div:hover {
  flex: 1.2;
  transition: flex 0.3s ease-in-out;
  box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.1);
}

.sec2-menu > div.transition {
  flex: 1;
  transition: flex 0.3s ease-in-out;
  opacity: 0.5;
}

.sec2-link {
  background-color: var(--m-color);
  width: 192px;
  height: 42px;
  color: #fff;
  background-color: var(--main-color);
  padding: 10px 20px;
}

.sec2-link:hover {
  background-color: var(--hover-color);
  color: var(--point-color2);
}

.sec2-link::after {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 6px solid var(--g1);
  margin-left: 8px;
  vertical-align: middle;
}

/* @media (max-width: 768px) {
  .sec2-menu {
    flex-direction: column;
  }
} */

/* section3 */

.sc3-wrapper {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.sec3-item1,
.sec3-item2 {
  width: 100%;
  height: 110px;
  background-color: var(--white);
}

.sec3-item1 > div,
.sec3-item2 > div {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sec3-item2 .text {
  margin-right: 25px;
}

.sec3-icon {
  width: 50px;
  height: 50px;
  background-color: var(--white);
  margin-right: 20px;
  background-repeat: no-repeat;
}

.sec3-item1 .sec3-icon {
  background-image: url(/img/phone.svg);
}

.sec3-item2 .sec3-icon {
  background-image: url(/img/kakao.svg);
  background-size: cover;
}

.auth .sub-container {
  margin: 50px 0 80px 30px;
  background-image: url(/img/auth-car.png);
  background-repeat: no-repeat;
  background-position: right;

  .content1 {
    width: 50%;
    padding-right: 50px;
  }

  .content1 div {
    margin: 0 0 45px 40px;
  }

  .content1 div span {
    display: block;
  }

  .content1 div h4 {
    color: var(--main-color);
    margin-bottom: 15px;
  }

  .content1 div p {
    font-size: 16px;
    margin-bottom: 10px;
    line-height: 21px;
  }

  .content1 div h5 {
    color: #868686;
    margin-top: 10px;
  }
}

#vision .content-img img {
  margin: 10% 0;
  width: 100%;
}

/* history */

.history {
  display: flex;
}

.history p:first-of-type {
  font-size: 40px;
}

.history {
  display: flex;
  margin-bottom: 0px;
  justify-content: left;

  & p {
    position: relative;
    display: inline-block;
    min-width: 200px;
    padding-right: 20px;
    border-right: 1px solid red;
    color: #a1b0c9;
    font-family: Pretendard;
    font-size: 40px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    text-align: right;

    & span {
      position: absolute;
      right: -20px;
      top: 00px;
      display: inline-block;
    }
  }

  & h4 {
    display: block;
    color: #a1b0c9;
    font-family: Pretendard;
    font-size: 40px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    text-align: right;
    padding-bottom: 40px;
  }
}

.history-text {
  margin-left: 100px;
  font-size: 18px;
  font-weight: 500;
  line-height: 30px;
}

#history .content-img img {
  margin: 10% 0;
  width: 100%;
}

video {
  width: 100%;
  height: auto;
}

.video-wrap {
  margin-top: 50px;
  padding-bottom: 10px;
}

.video-wrap2 {
  display: flex;
  margin: 50px 0;
  gap: 20px;
}

.video {
  width: 100%;
  text-align: center;
}

.video > p {
  margin: 10px 0;
}

.as .content-img img {
  width: 100%;
  height: auto;
}

.google-form {
  padding: 40px;
  text-align: center;
}

/* footer */

footer {
  height: 200px;
  background-image: url(/img/footer-img.png);
  background-color: #1c1d2b;
  color: #ffffff;
  background-blend-mode: multiply;
  padding: 50px;
  bottom: 0;
}

.footer-logo:hover {
  content: url("/img/footer-hover.svg");
}

.footer-wrapper {
  display: flex;
  width: 50%;
}

.footer-call p,
.footer-kakao p {
  color: #cacaca;
}

.footer-call > p > span,
.footer-kakao > p > span {
  color: var(--white);
  font-size: 22px;
  font-weight: 500;
}

.footer-content1 {
  flex: 1;
  display: flex;
  justify-content: space-between;
  flex-direction: column;
}

.footer-content2 {
  flex: 1;
}

.footer-content2 > div {
  margin-top: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 22px;
  color: var(--g1);
}

.footer-content2 > p {
  margin-top: 20px;
  font-weight: 200;
  color: var(--g1);
  font-size: 16px;
  color: #bdbdbd;
}

.contnet-img > img {
  width: 100%;
  padding: 60px;
}

#sub-section {
  position: relative;
}

.m-gnb_wrap {
  display: none;
}

.sub-contetnt > img {
  width: 100%;
  margin: 70px auto;
}

.contentMImg {
  display: none;
}

.content-img {
  position: relative;
  & > a {
    position: absolute;
  }
  & .tunning-content-url {
    width: 35%;
    top: 36%;
    height: 9%;
    left: 56%;
    opacity: 0;
  }
  & .commercial-content-url {
    width: 39%;
    top: 37%;
    height: 9%;
    left: 60%;
    opacity: 0;
  }
  & .passenger-content-url {
    width: 36%;
    top: 19%;
    height: 4.5%;
    left: 57%;
    opacity: 0;
  }
}

@media screen and (max-width: 1300px) {
  .logo {
    margin: 20px 0;
  }

  .menu1-logo {
    margin: 10px;
  }

  .sec1-wrapper {
    min-height: 200px;
    flex-direction: column;
  }

  @media screen and (max-width: 1220px) {
    .container {
      width: 90%;
    }

    .menu {
      width: 70%;
    }

    .sec2-menu {
      display: flex;
      flex-direction: column;
      width: 100%;
    }

    .sc2-wrap {
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
    }

    .sc3-wrapper {
      flex-direction: column;
    }

    footer {
      height: 100%;
    }

    .footer-wrapper {
      display: flex;
      flex-direction: column;
      text-align: center;
    }
  }

  @media screen and (max-width: 750px) {
    .container {
      width: 90%;
    }

    header {
      position: relative;
      z-index: 100;
    }

    .menu {
      display: none;
    }

    .header-container {
      flex-direction: row;
    }

    .mySwiper {
      margin-top: -100px;
    }

    .sec1-wrapper img {
      width: 70%;
    }

    .sec1-wrapper p {
      font-size: 16px;
    }

    .menu-title {
      display: none;
    }

    .text-overlay h2 {
      font-size: 18px;
    }

    /* system */

    .system-menu2 {
      display: flex;
      flex-direction: column;

      .large {
        width: 100%;
      }
    }

    /* 슬라이드 */

    .slide {
      height: 80%;
      text-align: center;
      justify-content: space-between;
    }

    .slide .logos {
      height: auto;
      opacity: 0.5;
      justify-content: center;
    }

    /* .text-content {
    height: 400px;
    transform: scale(0.8);
    padding: 40px 0 60px 0;
    margin: 0;
  } */

    .sec2-item h2,
    .sec2-item h2 > span {
      font-size: 30px;
    }

    section,
    .mySwiper {
      margin-bottom: 50px;
    }

    .box-wrap .left {
      height: 100%;
    }

    /* 푸터 */

    .footer-logo {
      width: 200px;
      margin-bottom: 20px;
    }

    .footer-wrapper {
      text-align: left;
    }

    .footer-call {
      margin-bottom: 2px;
    }

    .footer-content2 div {
      text-align: left;
      font-size: 14px;
      color: #bdbdbd;
    }

    .footer-content2 p {
      text-align: left;
      font-size: 14px;
      color: #8b8b8b;
    }

    .menu-container {
      margin-top: 100px;
    }

    .sub-title {
      height: auto;
      flex-direction: column;
      padding: 20px 50px;

      h4 {
        margin: 0 0 10px 20px;
      }
    }

    /* subpage 메인사진 반응형  */

    .auth .sub-container {
      flex-direction: column;
      margin-top: 50px;
      background: none;

      .content1 {
        width: 90%;
      }
    }

    .auth .sub-container .content1 > div span {
      display: inline;
    }

    .system-menu1 {
      display: flex;
      flex-direction: column;
      text-align: center;
      margin-bottom: 20px;

      .system-menu1-left {
        margin: 30px auto;
      }
    }

    .contnet-img > img {
      display: none;
    }

    .sub-contetnt * {
      display: none;
    }

    .contentMImg {
      display: block;
      position: relative;
      img {
        width: 100%;
      }
      & .mTunning-content-url {
        position: absolute;
        width: 62%;
        top: 57%;
        height: 7%;
        left: 30%;
        opacity: 0;
      }
      & .mcommercial-content-url {
        position: absolute;
        width: 62%;
        top: 62%;
        height: 6%;
        left: 32%;
        opacity: 0;
      }
      & .mpassenger-content-url {
        width: 59%;
        top: 21%;
        height: 2%;
        left: 32%;
        opacity: 0;
      }
    }

    #intro .intro-wrap {
      padding: 10%;
    }

    .video-wrap > .video > iframe {
      width: 100%;
      height: 250px;
    }

    .video-wrap2 > .video > iframe {
      width: 100%;
      height: 250px;
    }

    .video-wrap2 {
      flex-direction: column;
      margin: 50px 0;
      gap: 20px;
    }

    .close {
      overflow: hidden;
    }

    section {
      position: relative;
    }

    /* 모바일 햄버거버튼 */

    .btn-total {
      display: block;
      background-color: transparent;
    }

    .m-gnb_wrap {
      display: block;
      position: fixed;
      top: 0;
      right: -80%;
      width: 80%;
      height: 100%;
      background-color: #fff;
      z-index: 3;
      transition: all 0.5s;
      overflow: hidden;
    }

    .m-gnb_bg {
      display: none;
      content: "";
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.4);
      cursor: pointer;
    }

    header.open .m-gnb_bg {
      display: block;
    }

    header.open .m-gnb_wrap {
      right: 0;
    }

    header.open .m-gnb_bg {
      display: block;
    }

    header.open .btn-total {
      z-index: 4;
    }

    header.open .btn-total span:nth-of-type(1) {
      top: 7px;
      transform: rotate(45deg);
      background-color: #fff;
    }

    header.open .btn-total span:nth-of-type(2) {
      opacity: 0;
    }

    header.open .btn-total span:nth-of-type(3) {
      bottom: 7px;
      transform: rotate(-45deg);
      background-color: #fff;
    }

    header.open .btn-total {
      width: 20px;
      height: 16px;
    }

    .m-gnb_top {
      height: 100px;
      border-bottom: 1px solid #c0c0c0;
      background-color: #39364e;
      box-shadow: 0px 0px 10px 0px rgba(20, 20, 20, 0.5);
    }

    .m-gnb_top img {
      margin: 20px 0 0 20px;
      transform: scale(0.8);
    }

    .m-gnb {
      padding: 20px 40px;
      font-size: 20px;
      font-weight: 400;
    }

    .m-depth1 li {
      margin-bottom: 30px;
    }

    .m-drop-menu li {
      font-size: 15px;
      margin: 10px 0 0 20px;
    }

    .m-depth1 > li > a {
      font-size: 18px;
      font-weight: bold;
    }

    .m-drop-menu li::before {
      content: "- ";
    }
  }

  @media screen and (max-width: 480px) {
    .slide h2 {
      font-size: 35px;
    }

    .slide p:first-of-type {
      font-size: 18px;
      padding: 0 20px;
    }

    .text-content p:last-of-type() {
      font-size: 10px;
    }

    .text-content {
      padding: 40px 0 50px 0;
    }

    .text-content p span {
      font-size: 14px;
      display: inline;
    }

    .mySwiper .slide .logos {
      gap: 10px;
    }

    .mySwiper .slide .logos img {
      width: 40%;
    }

    .mySwiper .slide .logos img:last-child {
      width: 15%;
    }

    .sec2-text span {
      display: inline;
      margin-bottom: 0;
    }

    .sec2-item p:first-of-type {
      font-size: 15px;
    }

    .sec1-wrapper p {
      font-size: 14px;
    }

    .sec3-item1 > div,
    .sec3-item2 > div {
      scale: 0.8;
    }

    footer {
      padding: 50px 10px;
    }

    .footer-kakao > p > span {
      font-size: 20px;
    }
  }
}
