@charset "utf-8";

/***** main 국산차 *****/

main {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.main-tbox {
  color: #fff;
  text-align: center;
  letter-spacing: -0.05em;
  animation: rl 0.2s 0.6s both;
  margin: 65px auto 0;
  word-break: keep-all;
}

.main-tbox h1 {
  color: var(--title, #222);
  font-family: Noto Sans CJK KR;
  font-size: 70px;
  font-style: normal;
  font-weight: 700;
  line-height: 80px;
  letter-spacing: -1.4px;
}

.main-tbox p {
  color: var(--unnamed, #777);
  text-align: center;
  font-family: Noto Sans CJK KR;
  font-size: 22px;
  font-style: normal;
  font-weight: 400;
  line-height: 35px;
  letter-spacing: -0.44px;
  margin-top: 10px;
}

.main-best {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 30px auto;
  gap: 30px;
  width: 100%;
  flex-direction: column;
}

.main-best-icon {
}

.main-best-icon img {
  height: 258.622px;
}

.main-best ul,
.main-best-link {
  flex-direction: column;
  display: flex;
  align-items: center;
  justify-content: center;
}

.main-best ul {
  justify-content: space-between;
  width: calc(100% - 90px);
  display: none;
}

.main-best-link {
  flex-direction: column;
  gap: 7.5px;
  color: #fff;
  cursor: pointer;
}

.main-best-link i.img-box {
}

.main-best-link i.img-box img {
  height: 50px;
}

.main-best-link span {
  color: #d7133f;
  font-weight: 700;
}

.logo-box {
  margin: 0 auto;
  background: #ffffff;
  box-shadow: 0px 15px 15px rgba(0, 0, 0, 0.1);
  border-radius: 75px;
  width: 100%;
}

.logo-box ul {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  padding: 30px 20px;
  gap: 8px;
  justify-content: center;
}

.logo-box.type-a ul {
  padding: 30px 80px;
}

.logo-box-more {
  display: none;
}

.logo-box-more.on {
  display: none !important;
}

.logo-box-btn {
  position: relative;
  display: flex;
  align-items: center;
  flex-direction: column;
  width: 120px;
  height: 120px;
  background: #f7f5f3;
  border-radius: 50%;
  letter-spacing: -0.05em;
  border: 1px solid transparent;
  transition: 0.3s;
  cursor: pointer;
  width: 96px;
  height: 96px;
  justify-content: center;
}

.logo-box-btn:hover {
  transform: translateY(-5px);
}

.logo-box-btn::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  transition: 0.3s;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  border: 2.25px solid transparent;
}

.logo-box-btn.type-a,
.logo-box-btn.type-b {
  border-color: #ededed;
  background: #fff;
}

.logo-box-btn.type-a span {
  font-weight: 700;
}

.logo-box-btn.type-b p {
  margin: auto;
}

.logo-box-btn.on {
  background: #fff;
}

.logo-box-btn.on::after {
  border-color: #d7133f;
}

.logo-box-btn.type-fast.on {
  background: #000;
}

.logo-box-btn.type-fast.on::after {
  border-color: #ededed;
}

.logo-box-btn.type-fast.on .icon {
  background-image: url(../img/main-icon2-2.svg);
}

.logo-box-btn.type-fast.on span {
  color: #fff;
}

/*  */
.logo-box-btn.type-fast:hover {
  background: #000;
}

.logo-box-btn.type-fast:hover::after {
  border-color: #ededed;
}

.logo-box-btn.type-fast:hover .icon {
  background-image: url(../img/main-icon2-2.svg);
}

.logo-box-btn.type-fast:hover span {
  color: #fff;
}

/*  */

.logo-box-btn p {
  margin-top: auto;
  line-height: 33px;
  font-weight: 700;
  font-size: 1.406rem;
}

button#preorder-btn {
  padding-bottom: 8.2px;
}

button#preorder-btn p {
  line-height: 1;
  font-size: 40px;
}

button#preorder-btn span {
  margin-top: 3.2px;
}

.logo-box-btn p img {
  vertical-align: middle;
  width: 60px;
}

.logo-box-btn span {
  margin: 5px 0 30px;
  font-weight: 400;
  line-height: 17px;
  letter-spacing: -0.05em;
}

.logo-box-btn .icon {
  display: inline-block;
  width: 41px;
  height: 50px;
  background: url(../img/main-icon2.svg) no-repeat center center / contain;
}

.logo-box-btn.type-b {
  /* border: none;
    color: #fff;
    background: #D7133F; */
}

.logo-box-btn.type-b::after {
  display: none;
}

.logo-box-btn.type-b:hover {
  border: none;
  color: #fff;
  background: #d7133f;
}

/* main banner */
.sec-main-banner {
  background: #f5f5f3;
}

.sec-main-banner .in .title-box {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: space-between;
  width: 100%;
}

.sec-main-banner .in .title-box .txt-box {
  max-width: 381px;
}

.sec-main-banner .in .title-box .txt-box h1 {
  color: var(--title, #222);
  font-family: Noto Sans CJK KR;
  font-size: 35px;
  font-style: normal;
  font-weight: 700;
  line-height: 35px;
  letter-spacing: -0.7px;
}

.sec-main-banner .in .title-box .txt-box p {
  color: var(--unnamed, #777);
  font-family: Noto Sans CJK KR;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 26px;
  letter-spacing: -0.32px;
  margin-top: 15px;
}

.sec-main-banner .in .title-box img {
  height: 224.564px;
}

.sec-main-banner > .in {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 60px 30px 80px;
}

.main-banner-img {
  flex: 2;
}

.main-banner-title h1 {
  font-size: 2.5rem;
  line-height: 58px;
  letter-spacing: -0.02em;
}

.main-banner-title p {
  margin-top: 5px;
  line-height: 160%;
  font-weight: 700;
  letter-spacing: -0.05em;
}

.main-radio-box {
  display: flex;
  align-items: center;
  margin: 10px 0 30px;
  gap: 30px;
}

.main-input-box {
  display: flex;
  gap: 20px;
}

.mib-box {
  width: 50%;
}

.mib-box p {
  margin-bottom: 15px;
  font-weight: 700;
  line-height: 160%;
  letter-spacing: -0.02em;
}

.mib-box input {
  width: 100%;
  padding-bottom: 7px;
  border-bottom: 1px solid #222222;
}

.mib-box input::placeholder {
  font-size: 0.875rem;
  line-height: 20px;
  letter-spacing: -0.05em;
  color: #aaaaaa;
}

.main-banner-btn .form-wrap {
  margin: 20px 10px 0;
}

.ag-label {
  display: inline-block;
  font-weight: 700;
  font-size: 0.875rem;
  line-height: 160%;
  letter-spacing: -0.02em;
}

.ag-label span {
  color: #d7133f;
}

.mbb-box {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.mbb-box a {
  width: 33%;
  font-weight: 700;
  font-size: 1rem;
  line-height: 160%;
  letter-spacing: -0.02em;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.mbb-box a.mbb-quick-btn {
  background: black;
  display: block;
  width: 100%;
  padding: 22px 0;
  font-size: 1.143rem;
  color: #fff;
  max-width: 300px;
}

.mbb-talk-btn {
  position: relative;
  padding-left: 30px;
  background: #f4e81b;
}

.mbb-talk-btn::before {
  content: "";
  position: absolute;
  width: 28px;
  height: 28px;
  top: 50%;
  left: 40px;
  transform: translateY(-50%);
  background: url(../img/icon-talk2.png) no-repeat center center / contain;
}

.mbb-call-btn {
  color: #f5f5f3;
  font-family: "Montserrat";
  background: #222222;
}

/***** 수입차 *****/
.main-import {
  background-image: url(../img/main-img2.jpg);
}

.main-input-box.main-input-box2 {
  margin-top: 20px;
}

.mbb-talk-btn {
  padding-left: 20px;
}

.mbb-talk-btn::before {
  left: 15px;
}

.main-best ul {
  width: 100%;
  flex-direction: column-reverse;
  align-items: flex-start;
  gap: 20px;
}

.logo-box.type-a ul {
  padding: 30px 20px;
}

.logo-box ul > li:nth-child(n + 10) {
  /* display: none; */
}

.logo-box-more {
  display: block;
}

.logo-box ul.on li {
  display: block;
}

.logo-box-btn p img {
  width: 50px;
}

.logo-box-btn.type-fast .icon {
  max-height: none;
  height: 40px;
}

.logo-box-btn p {
  margin: 0;
}

.logo-box-btn span {
  margin: 0;
}

.car-item-box.on > li {
  display: block !important;
}

.main-inner {
  width: 100%;
}

.main-banner-img img {
  width: 100%;
}

.main-banner-tbox {
  flex: 3;
  width: 100%;
}

.main-banner-tbox .main-banner-sec {
  padding: 40px;
  background: white;
}

.main-banner-title h1 {
  line-height: 38px;
  font-size: 1.857rem;
}

.main-banner-title p {
  font-weight: 400;
}

.main-input-box {
  flex-direction: column;
  gap: 30px;
}

.mib-box {
  width: 100%;
}

.mbb-box a.mbb-talk-btn,
.mbb-box a.mbb-call-btn {
  position: fixed;
  bottom: 0;
  width: 50%;
  padding: 20px 0;
  font-size: 1.143rem;
}

.mbb-box a.mbb-talk-btn {
  left: 0;
  padding-left: 20px;
}

.mbb-box a.mbb-call-btn {
  right: 0;
  color: #f5f5f3;
  background: #777777;
}

.car-item-box > li:nth-child(n + 6) {
  /* display: none; */
}

.main-part {
  background: #d7133f;
  padding: 30px 30px 60px;
  border-radius: 50px 50px 0px 0px;
}

section.sec-main-car {
  margin-top: 30px;
}

table.car-item-table.table {
  border-spacing: 0 10px;
  border-collapse: separate;
}

.sec-inner.main-inner {
  background: #d7133f;
}

/* 230829 */
.main-best .swiper-container {
  width: calc(100% - 40px);
  overflow: hidden;
}

.main-best .swiper-container .swiper-wrapper {
}

.main-best .swiper-container .swiper-wrapper .swiper-slide.main-best-link {
  display: block;
  display: flex;
  width: fit-content;
  flex-direction: column-reverse;
}

.main-best .swiper-container .swiper-wrapper .swiper-slide.main-best-link .txt {
  display: flex;
  padding: 5px 30px;
  gap: 5px;
  border-radius: 100px;
  background: var(--title, #222);
  align-items: center;
  width: fit-content;
  margin: 0 auto;
}

.main-best
  .swiper-container
  .swiper-wrapper
  .swiper-slide.main-best-link
  .txt
  strong {
  color: var(--unnamed, #fff);
  text-align: center;
  font-family: Noto Sans CJK KR;
  font-size: 22px;
  font-style: normal;
  font-weight: 700;
  line-height: 40px;
  letter-spacing: -0.44px;
}

.main-best
  .swiper-container
  .swiper-wrapper
  .swiper-slide.main-best-link
  .txt
  p {
}

.main-best
  .swiper-container
  .swiper-wrapper
  .swiper-slide.main-best-link
  .txt
  p
  span {
  color: #ffcd49;
  text-align: center;
  font-family: Noto Sans CJK KR;
  font-size: 22px;
  font-style: normal;
  font-weight: 700;
  line-height: 30px;
  letter-spacing: -0.44px;
}

.main-best
  .swiper-container
  .swiper-wrapper
  .swiper-slide.main-best-link
  i.img-box {
  display: block;
  margin-top: 15px;
}

.main-best
  .swiper-container
  .swiper-wrapper
  .swiper-slide.main-best-link
  i.img-box
  img {
  height: auto;
  width: 340px;
}

.main-tbox h1 span {
  color: #d7133f;
}

@media screen and (max-width: 720px) {
  .main-best-icon img {
    height: 158.622px;
  }
  .main-inner .car-item-box {
    margin: 0 auto;
    grid-template-columns: 1fr;
  }

  .sec-main-banner > .in {
    padding: 60px 20px;
  }

  .main-tbox {
    margin: 45px auto 0;
  }

  .main-tbox h1 {
    font-size: 36px;
    letter-spacing: -0.72px;
  }

  .main-tbox p {
    margin-top: 0;
    font-size: 14px;
    letter-spacing: -0.28px;
  }

  .main-best
    .swiper-container
    .swiper-wrapper
    .swiper-slide.main-best-link
    .txt
    strong {
    font-size: 18px;
    line-height: 18.854px;
    letter-spacing: -0.36px;
  }

  .main-best
    .swiper-container
    .swiper-wrapper
    .swiper-slide.main-best-link
    .txt
    p
    span {
    font-size: 18px;
    line-height: 14.141px;
    letter-spacing: -0.36px;
  }

  .main-best
    .swiper-container
    .swiper-wrapper
    .swiper-slide.main-best-link
    .txt {
    padding: 10px 20px;
    gap: 2.357px;
    border-radius: 47.135px;
  }

  .main-best
    .swiper-container
    .swiper-wrapper
    .swiper-slide.main-best-link
    i.img-box {
    margin-top: 8.44px;
  }

  .main-best
    .swiper-container
    .swiper-wrapper
    .swiper-slide.main-best-link
    i.img-box
    img {
    width: 170px;
    display: block;
    margin: 0 auto;
  }

  .main-best {
    margin: 30px auto 60px;
  }

  .logo-box {
    border-radius: 50px;
    box-shadow: 5px 10px 30px 0px rgba(0, 0, 0, 0.2);
  }

  .logo-box-btn {
    width: 80px;
    height: 80px;
  }

  .sec-main-banner .in .title-box {
    display: block;
  }

  .sec-main-banner .in .title-box .txt-box {
    text-align: center;
  }

  .sec-main-banner .in .title-box .txt-box h1 {
    word-break: keep-all;
  }

  .sec-main-banner .in .title-box .txt-box p {
    word-break: keep-all;
  }

  .sec-main-banner .in .title-box img {
    display: block;
    margin: 30px auto 0;
  }
}

@media screen and (max-width: 360px) {
  .main-best-icon img {
    height: 108.622px;
  }
  .logo-box-btn {
    width: 80px;
    height: 80px;
  }

  .logo-box-btn span {
    font-size: 0.857rem;
  }

  .main-inner .car-item-box {
    gap: 40px;
    width: calc(100% - 40px);
  }

  .car-item {
    max-width: 280px;
  }

  .car-item .txt p {
    max-width: 180px;
  }

  .sec-main-banner {
    margin-top: 60px;
  }

  .sec-main-banner > .in {
    padding: 20px;
  }

  .main-banner-title h1 {
    font-size: 1.714rem;
  }

  .main-banner-title p {
    font-size: 1rem;
    word-break: keep-all;
  }

  .mbb-box a.mbb-quick-btn {
    padding: 15px 0;
  }
}
