/* popup */
.pc {
  display: block;
}

.mobile {
  display: none;
}

.layer-popup {
  /* position: absolute; */
  z-index: 9999;
  background-color: #fff;
  box-shadow: 2px 3px 10px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  height: auto !important;
}

.layer-popup:nth-child(1) {
  left: 0;
}

.layer-popup img {
  width: 100%;
  height: auto !important;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.layer-popup .show-chk-wrap {
  display: flex;
  padding: 6px 10px;
  box-sizing: border-box;
  justify-content: space-between;
  align-items: center;
}

.show-chk-div {
  display: flex;
  align-items: center;
  gap: 12px;
}

.layer-popup .show-chk-wrap a {
  font-size: 16px;
  color: #505050;
  cursor: pointer;
}

.layer-popup .show-chk-wrap a:hover {
  color: #222;
  font-weight: 600;
  transition: 0.3s;
}

.close-popup {
  box-sizing: border-box;
  padding: 4px 12px;
  border: 1px solid #999;
  border-radius: 4px;
}

.close-popup:hover {
  border: 1px solid #505050;
  background-color:#505050;
  color: #fff !important;
  transition: 0.3s;
}

.popup-space {
  position: absolute;
  display: flex;
  flex-wrap: wrap;
  top: 5%;
  left: 5%;
  gap: 10px;
  align-items: start;
  z-index: 100;
}


/* main */
#main {
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.main-swiper-container {
  width: 100%;
  height: 100%;
  position: relative;
}

.main-swiper-container .swiper-slide {
  display:flex;
  align-items:center;
  justify-content:center;
  opacity:0;
}

.main-swiper-container .swiper-slide-active {
  opacity:1;
}

.main-swiper-container .swiper-slide.swiper-slide-active .bannerItem {
  -webkit-transform:scale(1) rotate(0deg);
  -ms-transform:scale(1) rotate(0deg);
  transform:scale(1) rotate(0deg)
}

.main-swiper-container .bannerItem { 
  width:100%;
  height:100%;
  display:flex;
  flex-direction: column;
  align-items:center;
  justify-content:center;
  gap: 60px;
  z-index:1;
  transform:scale(1.05) rotate(0.01deg);
  transition: 3.8s linear;
  background-position:center center !important;
  background-size: cover !important;
  background: url(../img/banner.png);
  transform-origin: center center;
}

.banner-div {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.banner-tit,
.banner-desc,
.bannerItem .b-btn {
  opacity: 0;
  transform: translateY(50px);
}

.main-swiper-container .swiper-pagination-custom-wrapper {
  width: 100%;
  z-index: 9;
  position: absolute;
  bottom: 85px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: absolute;
  width: 240px;
}

.banner-button-back {
  transform: rotate(180deg);
}

.nav-btn {
  cursor: pointer;
}

.main-swiper-container .swiper-pagination-custom {
  display: inline-flex;
  justify-content: center;
  width: auto;
  gap: 4px;
}

.main-swiper-container .swiper-pagination-custom .custom-bullet {
  width: 28px;
  height:28px;
  position: relative;
  background: transparent;
  opacity: 1;
  margin: 0 4px;
}

.main-swiper-container .swiper-pagination-custom .custom-bullet:before {
  content: '';
  display: block;
  width: 7px;
  height: 7px;
  margin: 0;
  padding: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-top:-3.5px;
  margin-left:-3.5px;
  font-size:0;
  background:#fff;
  border:none;
  border-radius:50%;
}

.main-swiper-container .swiper-pagination-custom .custom-bullet:after {
  content:'';
  display:block;
  width:50%;
  height:50%;
  position:absolute;
  left:50%;
  top:50%;
  border:1px solid #fff;
  border-radius:50%;
  opacity:0;
  box-sizing:border-box;
  transform:translate3d(-50%,-50%,0);
  transition:width .3s,height .3s,opacity .4s;
}

.main-swiper-container .swiper-pagination-custom .custom-bullet.swiper-pagination-bullet:hover:after, .main-swiper-container .swiper-pagination-custom .custom-bullet.swiper-pagination-bullet-active:after {
  width:100%;
  height:100%;
  opacity:1;
}

.line-tit {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 20px;
  white-space: nowrap;
}

.line-tit .line {
  width: 0;
  background: #BB2323;
  height: 5px;
  border: none;
  transform-origin: left center;
}


/* section2 */
#section2 {
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 60px;
  background: url(../img/st2-bg.png);
  background-position: center center !important;
  background-size: cover !important;
  overflow: hidden;
}

.st-top2 {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.st2-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

.b-btn {
  display: flex;
  height: 54px;
  min-width: 240px;
  padding: 12px 50px 13px 50px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  border-radius: 50px;
  background: #000;
  color: #FFF;
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  line-height: 28.59px; 
  letter-spacing: -0.45px;
  cursor: pointer;
}

.b-btn:hover {
  background: #A02020;
}


/* section3 */
#section3 {
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 60px;
  background: url(../img/st3-bg.png);
  background-position: center center !important;
  background-size: cover !important;
  overflow: hidden;
}


/* section4 */
#section4 {
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: stretch;
  background: #191919;
  overflow: hidden;
}

.st4-left {
  width: 50%;
  overflow: hidden;
}

.st4-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.st4-right {
  width: 50%;
  display: flex;
  box-sizing: border-box;
  padding-left: 60px;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
  flex: 1 0 0;
  background: #191919;
  z-index: 3;
}

.st4-right .line-tit {
  gap: 40px;
}

.st4-right .line-tit .line {
  max-width: 80px;
}


/* section5 */
#section5 {
  width: 100%;
  height: 100vh;
  position: relative;
  background: url(../img/st5-bg.png);
  background-position: center center !important;
  background-size: cover !important;
}

.mouseBlock {
  position: absolute;
  z-index: 1;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
}

.s5 ul {
  display: flex;
  width: 100%;
  height: 100%;
}

.s5 ul li {
  position: relative;
  width: 25%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  overflow: hidden;
  opacity: 1 !important;
}

.s5 ul li:nth-child(3), .s5 ul li:last-child {
  cursor: unset;
}

.s5 ul li .line {
  background-color: transparent;
  position: absolute;
  width: 1px;
  height: 100%;
  bottom: 0;
  right: 0;
}

.s5 ul li .hoverOverlay {
  transition: transform 0.4s cubic-bezier(.45,.46,.05,.96),opacity 0.4s;
  position: absolute;
  width: 100%;
  height: 100%;
  transform-origin: center top;
  transform: scaleY(0);
  bottom: 0;
  left: 0;
  background-color: #BB2323;
}

.s5 ul li .front {
  position: absolute;
  box-sizing: border-box;
  padding: 0 32px;
  width: 100%;
  transition: filter 0.5s,margin-top 0.5s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  color: #FFF;
}

.s5 ul li .front small {
  position: relative;
  color: #FFF;
  text-align: center;
  font-size: 32px;
  font-weight: 600;
  line-height: 120%; /* 38.4px */
  letter-spacing: -0.8px;
  display: flex;
  box-sizing: border-box;
  padding: 21px 35px 21px 34px;
  justify-content: center;
  align-items: center;
}

.s5 ul li .front small:after {
  content: '';
  position:absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -24px;
  background: rgba(255, 255, 255, 0.60);
  height: 3px;
  width: 100px;
}

.s5 ul li:nth-child(2) .front small {
  padding: 0;
  width: 320px;
}

.s5 ul li:nth-child(2) .front small img {
  width: 100%;
}

.s5 ul li .front div {
  color: #FFF;
  text-align: center;
  font-size: 20px;
  font-weight: 500;
  line-height: 150%; /* 30px */
  letter-spacing: -0.5px;
  margin-top: 24px;
}

.s5 ul li .front p {
  display: flex;
  width: 200px;
  height: 44px;
  justify-content: center;
  align-items: center;
  border-radius: 100px;
  border: 1px solid #FFF;
  color: #FFF;
  text-align: center;
  font-size: 18px;
  font-weight: 600;
  line-height: 140%; /* 25.2px */
  letter-spacing: -0.45px;
  margin-top: 16px;
}

.s5 ul li .front p:hover {
  background: #FFF;
  color: #BB2323;
}

.s5 ul li .front p.preparing {
  opacity: 0.4;
}

.s5 ul li .front p.preparing:hover {
  color: #FFF !important;
  background: transparent !important;
}

.s5 ul li:hover .hoverOverlay {
  transition-delay: 0.1s;
  transform: scaleY(1);
  transform-origin: center bottom;
}


/* section6 */
#section6 {
  width: 100%;
  background: #FFF;
  display: flex;
  box-sizing: border-box;
  padding: 120px 0;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 100px;
  align-self: stretch;
  overflow: hidden;
}

#section6 .st-tit, .contact-top .st-tit {
  color: #191919;
}

#section6 .line-tit .line, .contact-top .line-tit .line {
  background: #A02020;
  height: 3px;
}

.logo-swiper-container {
  width: 100%;
}

.logo-swiper-container .swiper-slide {
  width: 270px;
}

.logo-swiper-container img {
  width: 100%;
}


/* contact */
#contact {
  width: 100%;
  background: #FFF;
  display: flex;
  box-sizing: border-box;
  padding: 120px 0;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 80px;
  align-self: stretch;
  position: relative;
  overflow: hidden;
}

.contact-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.contact-top .st-sub-tit {
  color: #505050;
}

.contact-container {
  max-width: 1260px;
  width: 90%;
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 60px;
  z-index: 5;
}

.contact-form {
  display: flex;
  width: calc(100% - 460px);
  box-sizing: border-box;
  padding: 50px 40px;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  border: 2px solid #FFF;
  background: linear-gradient(128deg, rgba(233, 233, 233, 0.80) 6.41%, rgba(255, 255, 255, 0.95) 98.71%);
  box-shadow: 0 16px 40px 0 rgba(7, 26, 49, 0.12);
  backdrop-filter: blur(12px);
}

.flex-input {
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 40px;
}

.item {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-form input[type="text"], input[type="tel"], textarea {
  width: 100%;
  box-sizing: border-box;
  display: flex;
  height: 44px;
  padding: 10px;
  color: #333;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px; 
  letter-spacing: -0.4px;
  border-radius: 8px;
  border: 1px solid rgba(17, 17, 17, 0.16);
  background: #FFF;
}

.contact-form input[type="text"]:focus, .contact-form input[type="tel"]:focus, textarea:focus {
  outline: none;
  border: 1px solid #A02020 !important;
  box-shadow: none !important;
}

.contact-form input[type="text"]::placeholder, .contact-form input[type="tel"]::placeholder, textarea::placeholder {
  color: rgba(51, 51, 51, 0.50);
  font-size: 16px;
  font-weight: 300;
  line-height: 24px; /* 150% */
  letter-spacing: -0.4px;
}

textarea {
  height: 140px;
  resize: none;
}

.item label {
  color: #333;
  font-size: 16px !important;
  font-weight: 600 !important;
  line-height: 24px !important; /* 150% */
  letter-spacing: -0.4px !important;
}

.item label span {
  color: #A02020;
}

.input {
  width: 100%;
}

.item .select-wrap {
  position: relative;
}

.item .select-wrap .select-box {
  width: 100%;
  display: flex;
  height: 44px;
  box-sizing: border-box;
  padding: 10px;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  border-radius: 8px;
  border: 1px solid rgba(17, 17, 17, 0.16);
  background: #FFF;
  color: rgba(51, 51, 51, 0.50);
  font-size: 16px;
  font-weight: 300;
  line-height: 24px; /* 150% */
  letter-spacing: -0.4px;
}

.item .select-wrap .select-box.selected {
  color: #333 !important;
}

.item .select-wrap .arrow {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
}

.item .select-wrap .select-child {
  width: 100%;
  box-sizing: border-box;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid rgba(17, 17, 17, 0.16);
  background: #FFF;
  box-sizing: border-box;
  position: absolute;
  top: 47px;
  left: 0;
  font-size: 16px;
  max-height: 185px;
  overflow-y: scroll;
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
  display: none;
  z-index: 10;
}

.item .select-wrap .select-child::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera*/
}

.item .select-wrap .select-child .option {
  margin-bottom: 10px;
  cursor: pointer;
}

.item .select-wrap .select-child .option:nth-last-child(1) {
  margin-bottom: 0;
}

.email-input {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #333;
  font-size: 16px;
  font-weight: 300;
  line-height: 24px; /* 150% */
  letter-spacing: -0.4px;
}

.form-wrap {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
}

.agree-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
}

.contact-form .round-checkbox {
  width: 30px;
  height: 30px;
  border: none;
  border-radius: 50px;
  appearance: none;
  position: relative;
  cursor: pointer;
  background: #FFF;
  border: 1.2px solid rgba(17, 17, 17, 0.16);
}

.contact-form .round-checkbox:checked::before {
  font-size: 100%;
  color: #fff;
  position: relative;
}

.contact-form .round-checkbox:checked {
  background-image: url("../img/check.png");
  background-size: 20px !important;
  background-position: center center !important;
  background-color: #A02020;
  background-repeat: no-repeat;
  border: none;
}

.contact-form .agree {
  color: #333;
  font-size: 16px !important;
  font-weight: 400;
  line-height: 24px !important; 
  letter-spacing: -0.4px !important;
  cursor: pointer;
}

.contact-form .agree-open {
  color: #A02020;
  font-weight: 600 !important;
  text-decoration: underline;
}

.c-btn {
  width: 160px;
  background: #A02020;
  display: flex;
  box-sizing: border-box;
  padding: 15px 32px;
  justify-content: center;
  align-items: center;
  color: #FFF;
  font-size: 18px;
  font-weight: 600;
  line-height: normal;
  letter-spacing: -0.45px;
  border: none;
  border-radius: 100px;
  cursor: pointer;
}

.c-btn:hover {
  background: #BB2323;
}

.contact-right {
  width: 400px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  border: 2px solid #FFF;
  background: linear-gradient(128deg, rgba(233, 233, 233, 0.80) 6.41%, rgba(255, 255, 255, 0.95) 98.71%);
  box-shadow: 0 16px 40px 0 rgba(7, 26, 49, 0.12);
  backdrop-filter: blur(12px);
}

.contact-right>img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.contact-right-div {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 24px;
  flex: 1 0 0;
  align-self: stretch;
}

.contact-right-div p {
  color: #111;
  text-align: center;
  font-size: 28px;
  font-weight: 600;
  line-height: 150%; /* 42px */
  letter-spacing: -0.7px;
}

.contact-right-div a {
  border-radius: 100px;
  background: #191919;
  display: flex;
  height: 51px;
  box-sizing: border-box;
  padding: 0 24px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  color: #FFF;
  text-align: center;
  font-size: 18px;
  font-weight: 600;
  line-height: 120%; /* 21.6px */
  letter-spacing: -0.45px;
}

.contact-right-div a:hover {
  background: #A02020;
  color: #FFF;
}

.contact-gif {
  width: 100%;
  height: 640px;
  object-fit: cover;
  position: absolute;
  left: 0;
  bottom: 0;
}

@media(max-width: 1500px) {
  .s5 ul li .front {
    padding: 0 12px;
  }
  .s5 ul li .front div {
    font-size: 18px;
    letter-spacing: -0.45px;
  }
}

@media (max-width: 1280px) {
  .s5 ul {
    flex-wrap: wrap;
  }
  .s5 ul li {
    width: 50%;
    height: 50%;
  }
  .s5 ul li:first-child, .s5 ul li:nth-child(2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.30);
  } 
  .s5 ul li:nth-child(2n) .line {
    display: none !important;
  }
  .st4-right {
    padding-left: 40px;
  }
  #section6 {
    padding: 100px 0;
    gap: 80px;
  }
  #contact {
    padding: 100px 0;
  }
  .contact-container {
    gap: 40px;
  }
  .contact-form {
    width: calc(100% - 390px);
    padding: 40px 30px;
  }
  .contact-right {
    width: 350px;
  }
  .contact-right>img {
    height: 530px;
  }
  .flex-input {
    gap: 24px;
  }
}

@media(max-width: 1024px) {
  #section4 {
    height: auto;
  }
  .st4-left {
    width: 40%;
  }
  .st4-right {
    width: 60%;
    padding: 120px 0 120px 40px;
  }
  .logo-swiper-container .swiper-slide {
    width: 220px;
  }
  .contact-form {
    padding: 30px 20px;
    width: calc(100% - 340px);
  }
  .contact-right {
    width: 300px;
  }
  .contact-right>img {
    height: 500px;
  }
  .form-wrap {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
  .c-btn {
    width: 100%;
  }
}

@media(max-width: 900px) {
  .pc {
    display: none !important;
  }
  .mobile {
    display: block;
  }
  .layer-popup .show-chk-wrap {
    margin-top: 0;
  }
  .layer-popup .show-chk-wrap a {
    font-size: 14px;
    line-height: 20px; /* 142.857% */
    letter-spacing: -0.35px;
  }
  .layer-popup .show-chk-wrap .x-btn {
    padding: 0 15px;
  }
  .st-top2 .st-tit {
    font-size: 40px;
    letter-spacing: -1px;
  }
  .st2-wrap {
    flex-direction: column;
  }
  #section4 {
    flex-direction: column;
    align-items: center;
  }
  .st4-left {
    width: 100%;
    aspect-ratio: 1 / 0.8;
  }
  .st4-right {
    padding: 80px 40px;
    width: 90%;
    gap: 20px;
    margin-top: -80px;
  }
  .st4-right .line-tit {
    gap: 20px;
  }
  #section6 {
    padding: 80px 0;
    gap: 60px;
  }
  .logo-swiper-container .swiper-slide {
    width: 180px;
  }
  #contact {
    padding: 80px 0;
    gap: 60px;
  }
  .contact-container {
    flex-direction: column;
    gap: 30px;
  }
  .contact-form, .contact-right {
    width: 100%;
  }
  .contact-right>img {
    height: auto;
    aspect-ratio: 2 / 1;
  }
  .contact-right-div {
    padding: 40px 0;
  }
  .contact-gif {
    height: 550px;
  }
}

@media (max-width: 768px) {
  .layer-popup {
    position: fixed;
    top: 5%;
    left: 5%;
  }
  #section6 {
    padding: 80px 0;
    gap: 50px;
  }
  #contact {
    padding: 70px 16px;
    gap: 50px;
  }
  .contact-container {
    width: 100%;
  }
  .contact-gif {
    height: 480px
  }
}

@media (max-width: 650px) {
  .banner-div {
    gap: 20px;
  }
  .main-swiper-container .bannerItem {
    gap: 40px;
  }
  .main-swiper-container .swiper-pagination-custom-wrapper {
    bottom: 40px;
  }
  #section5 {
    height: auto;
  }
  .mouseBlock {
    display: none;
  }
  .s5 ul {
    height: auto;
  }
  .s5 ul li {
    width: 100%;
    height: auto;
    border-bottom: 1px solid rgba(255, 255, 255, 0.30);
    background: #BB2323;
  }
  .s5 ul li:last-child {
    border-bottom: none !important;
  }
  .s5 ul li .front {
    position: static;
    padding: 60px 0;
  }
  .s5 ul li .line {
    display: none !important;
  }
  .s5 ul li .front div {
    font-size: 16px;
    letter-spacing: -0.4px;
  }
  .main-swiper-container .bannerItem {
    background: url(../img/banner-mo.png);
  }
  .st-top2 .st-tit {
    font-size: 32px;
    letter-spacing: -0.8px;
  }
  .st4-left {
    aspect-ratio: 1 / 0.9;
  }
  .logo-swiper-container .swiper-slide {
    width: 150px;
  }
  .contact-right>img {
    aspect-ratio: 4 / 3;
  }
  .contact-right-div p {
    font-size: 24px;
    letter-spacing: -0.6px;
  }
}

@media (max-width: 480px) {
  .st-top2 .st-tit {
    font-size: 28px;
    letter-spacing: -0.7px;
  }
  .st4-left {
    aspect-ratio: 1 / 1.065;
  }
  .st4-right {
    padding: 80px 20px;
  }
  .logo-swiper-container .swiper-slide {
    width: 135px;
  }
  .flex-input {
    flex-direction: column;
  }
  .email-input {
    flex-wrap: wrap;
  }
  .email-input>input[type="text"] {
    width: 100%;
  }
  .email-input .select-wrap {
    width: calc(100% - 24px);
  }
  textarea {
    height: 116px;
  }
  .contact-gif {
    height: 340px;
  }
  .contact-right-div p {
    font-size: 20px;
    letter-spacing: -0.5px;
  }
}

@media(max-width: 400px) {
  .st4-right {
    padding: 80px 16px;
  }
  .s5 ul li .front div {
    font-size: 15px;
    letter-spacing: -0.375px;
  }
}

@media(max-width: 370px) {
  .contact-form {
    padding: 20px 15px;
  }
}

@media(max-width: 350px) {

}
