header{
    
    height: 90px;
    background-color: rgba(0, 0, 0, 0);
    border-bottom: 1px solid #fff;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.header_logo{
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    

}
.header_logo img{
    width: 275px;
    position: absolute;
}
@media (max-width: 768px) {
    header{
        height: 70px;
        background-color: #1B1818;
    }

.header_logo img {
    width: 50%;
}
}
@media (max-width: 768px) {
        .header_logo img {
        width: 30%;
    }
}
@media (max-width: 430px) {
        .header_logo img {
        width: 40%;
    }
}
@media (max-width: 375px) {
    header{
        height: 70px;
    }
    .header_logo img{
        width: 60%;
    }

}


/* ------header end  */






.section_1{
    width: 100%;
    height: 100vh;
    position: relative;
    background-color: #1B1818;
    top: 0;
    left: 0;
}
.main_bg{
    overflow: hidden;
    position: relative;
  width: 100%;
  height: 100vh;
    
}
.main_bg video:nth-of-type(1){
    width: 100%;
  height: 100%;
    object-fit: cover;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    
}
.main_bg video:nth-of-type(2){
    display: none;
}
.btn_wrap a {
    width: 100%;
    height: 100%;
    display: block;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.btn_wrap{
    position: absolute;
    bottom: 0%;
    left: 50%;
    width: 893px;
    height: 132px;
    display: flex;
    transform: translate(-50%, -50%);
    justify-content: space-between;
}
.btn_1, .btn_2{
    width: 426px;
    height: 131px;
    background-color: #ffffff20;
    border: 1px solid #fff;
}
.sec_1_icon_1 img, .sec_1_icon_2 img{
    width: 52px;
    margin: 0 auto;
}
.btn_wrap p{
    color: #fff;
    padding-top: 19px;
        display: flex;
    text-align: center;
    justify-content: center;
    font-size: 16px;
    text-align: center;
}



.btn_1:hover, .btn_2:hover{
    background-color: #81000050;
}
@media (max-width: 1024px){
    .main_bg {
        height: auto;
    }
    .main_bg video:nth-of-type(1){
        display: none;
    }
    .main_bg video:nth-of-type(2){
    width: 100%;
    height: 60%;
    object-fit: cover;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    display: block;
    }
}

@media (max-width: 1024px) {
    .section_1{
        height: auto;
    }
    .btn_1, .btn_2 {
        width: 87vw;
        
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .btn_1{
        margin-bottom: 15px;
    }
   
    .btn_wrap {
    width: 100%;
    position: absolute;
    bottom: 20px; 
    left: 50%;
    transform: translateX(-50%);
    flex-direction: column;
    align-items: center;
  }
    .btn_wrap img{
        display: none;
    }
    .btn_wrap p{
    padding-top: 0;

    }
    .btn_wrap p{
    font-size: 14px;

    }
}
@media (max-width: 768px) {
 .section_1{
    top: 70px;
    height: 105vw;
    background-color: #1B1818;
 }
 .btn_wrap{
    bottom: 19px;
}
}
@media (max-width: 620px) {
     .section_1{
    height: 133vw;
    border-bottom: 1px solid #ffffff40;
     }
}
@media (max-width: 430px) {
     .section_1{
    height: 147vw;
     }
}
@media (max-width: 375px) {
    .section_1 {
        height: 150vw;
    }
}
@media (max-width: 430px) {
  .btn_1, .btn_2 {
    height: 61px;
    font-size: 14px;
  }

  .main {
    height: 100vh; 
    padding-bottom: 20px;
  }
}



/* -----sec_1 end */
.section_2_2{
    display: none;
}
.section_2 {
  background-image: url(../img/sec_2_main.png);
  background-position: center;
  background-size: cover;
  padding: 315px 0;

  overflow: hidden;
}


.sec_2_img {
    height: 35vw;
  z-index: 2;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease, transform 1s ease;
}
.sec_2_img.active {
  opacity: 1;
  transform: translateY(0);
}
.sec_2_img img {
  width: 100%;
  height: 35vw;
  box-shadow: rgb(144 38 38 / 54%) 0px 4px 30px;
}


.sec_2_text {
  position: absolute;
  top: 0;
  left: 0;
  padding: 7vw 0vw 3vw 6vw;       
  max-width: 50vw;         
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 1s ease 0.6s, transform 1s ease 0.6s;
  word-break: break-word;
  overflow-wrap: break-word;
}
.sec_2_text.active {
  opacity: 1;
  transform: translateX(0);
}

.sec_2_text h3 {
  font-size: clamp(22px, 2.8vw, 42px);
  line-height: 1.3;
  margin-bottom: 40px;
}

.sec_2_text p {
   font-size: clamp(20px, 1.4vw, 18px);
  line-height: 1.6;
  margin-bottom: 30px;
}

.sec_2_text span {
  font-size: clamp(20px, 1.4vw, 18px);
  color: #CE0019;
}

.sec_2_text_2{
    display: none;
}


@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(50px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1638px) {
    .sec_2_text {
        padding: 6vw 0vw 3vw 6vw;
    }
    .sec_2_text p {
    font-size: clamp(18px, 1.4vw, 18px);
    }
}


@media (max-width: 1435px) {
  .sec_2_text {
            padding: 5vw 0vw 3vw 6vw;
    max-width: 60vw;
  }
}
@media (max-width: 1269px) {
    .sec_2_text {
            padding: 4vw 0vw 3vw 6vw;
    max-width: 60vw;
  }
}

@media (max-width: 1212px) {
    .sec_2_text h3 {
    font-size: clamp(22px, 2.6vw, 42px);
    }
    .sec_2_text p {
        font-size: clamp(16px, 1.4vw, 18px);
    }
    .sec_2_text span {
  font-size: clamp(16px, 1.4vw, 18px);
    }
}

@media (max-width: 1080px) {
    .section_2{
        padding: 225px 0;
    }
    .sec_2_text_2{
    display: block;
        position: absolute;
    top: 0;
    left: 0;
            padding:9vw 0vw 3vw 6vw;
}
.sec_2_img img {
    position: relative;
    height: 44vw;
}
.sec_2_img {
    height: 44vw;
}
.sec_2_text{
    display: none;
}

.sec_2_text_2 h3 {
    font-size: clamp(22px, 2.6vw, 42px);
        line-height: 1.3;
    margin-bottom: 40px;
    }
    .sec_2_text_2 p {
        font-size: clamp(16px, 1.4vw, 18px);
            line-height: 1.6;
    margin-bottom: 30px;
    }
    .sec_2_text_2 span {
  font-size: clamp(16px, 1.4vw, 18px);
    }
    
}
@media (max-width: 876px) {
    .sec_2_text_2 {
        padding: 6vw 6vw 3vw 6vw;
    }
    .sec_2_text_2 h3 {
        font-size: clamp(22px, 3.6vw, 42px);
        margin-bottom: 33px;
    }
}
@media (max-width: 820px) {
    .section_2 {
        padding: 155px 0;
    }
}

@media (max-width: 768px) {
    .section_2_2{
        position: relative;
        top: 70px;
    }
        .section_2 {
        padding: 155px 0;
        padding-top: 245px;
    }
    .sec_2_text_box_2 p:nth-of-type(1),
    .sec_2_text_box_2 p:nth-of-type(2){
        display: none;
    }
    .sec_2_text_box_2 p:nth-of-type(3){
        display: block;
    }
    .sec_2_text_box_2 h3{
        font-size: 4vw;
    }
    .sec_2_text_box_2 p{
        font-size: 16px;
        padding-bottom: 0;
    }
    .sec_2_img {
        height: 50vw;
    }
        .sec_2_img img {
        height: 50vw;
    }

}
@media (max-width: 652px) {
        .sec_2_img {
        height: 70vw;
    }
        .sec_2_img img {
        height: 70vw;
    }
        .sec_2_text_2 h3 {
        font-size: clamp(22px, 5.6vw, 42px);
        }
        .sec_2_text_2 {
        padding: 6vw 6vw 6vw 6vw;
    }
        .sec_2_text_2 p {
        margin-bottom: 25px;
    }

}
@media (max-width: 507px) {
    .section_2 {
        padding: 135px 0;
    }
        .sec_2_img {
        height: 90vw;
    }
        .sec_2_img img {
        height: 90vw;
    }
        .sec_2_text_2 {
        padding: 13vw 6vw 6vw 6vw;
    }
}
@media (max-width: 430px) {
        .sec_2_img img, .sec_2_img{
        height: 100vw;
    }
        .sec_2_text_2 {
        padding: 11vw 6vw 6vw 6vw;
    }
        .sec_2_text_2 h3 {
        font-size: clamp(22px, 6.6vw, 42px);
    }
        .sec_2_text_2 p {
        font-size: clamp(14px, 1.4vw, 18px);
        }
}
@media (max-width: 375px) {
        .sec_2_container_2 {
        padding: 100px 0;
        }
    .sec_2_text_box_2 h3{
        font-size: 22px;
        padding-bottom: 20px;
    }
    .sec_2_text_box_2 p{
        font-size: 16px;
        padding-bottom: 0;
        line-height: 27px;
    }
        .sec_2_text_box_2 {
        padding: 25px;
    }
}
/* -----section_2_end------ */



.section_3 {
  background-color: #ffffff;
  height: auto;
}

.sec_3_title {
  padding-bottom: 151px;
}

.sec_3_text_box {
  background-color: #EFC3C3;
  height: 64px;
  overflow: hidden;
  position: relative;
}

.marquee_wrap {
  overflow: hidden;
  width: 100%;
  position: relative;
}

.marquee {
  display: flex;
  animation: marquee 200s linear infinite;
  width: max-content;
}

.marquee span {
  font-size: 4vw;
  color: #fff;
  white-space: nowrap;
  margin-right: 1vw;
  line-height: 1.5;
  display: inline-block;
}


.marquee_inner {
  display: flex;
  animation: marquee 50s linear infinite;
}

.marquee_inner span {
  font-size: 48px;
  color: #fff;
  white-space: nowrap;
  line-height: 64px;
}

@keyframes marquee {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}

.sec_3_con_title{
    padding-bottom: 124px;
    padding-left: 8vw;
}
.sec_3_con_title h4{
    font-size: 48px;
}

.sec_3_con_title p{
    font-size: 22px;
}
.sec_3_container{
    padding-bottom: 189px;
}
.sec_3_con{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 70px;
}
.sec_3_con_img_1 video, .sec_3_con_img_2 video{
    width: 40vw;
    border-radius: 30px 30px 0 0;
}

.sec_3_con_1, .sec_3_con_2{
    width: 40vw;
    border-radius: 30px;
    background-color: #fff;
    box-shadow: 0px 4px 30px rgba(0, 0, 0, 0.25);
}
.sec_3_con_1_text, .sec_3_con_2_text{
    text-align: center;
        padding: 10px;
}

.sec_3_con_1_text p:nth-of-type(1),
.sec_3_con_2_text p:nth-of-type(1){
    padding-top: 26px;
    padding-bottom: 18px;
    font-size: 22px;
    font-weight: 500;

}
.sec_3_con_1_text p:nth-of-type(2),
.sec_3_con_2_text p:nth-of-type(2){
    font-size: 18px;
    line-height: 30px;
    padding-bottom: 36px;
}
.web-view {
  display: block;
}

.mobile-view {
  display: none;
}
.section_3 > .sec_3_title_top:last-of-type .sec_3_text_box {
 background-color: #FBA3A3;

}

@media (max-width: 1024px) {
.sec_3_text_box {
    height: 35px;
    
}
.marquee_inner span {
    font-size: 30px;
    line-height: 34px;
}
.sec_3_con_img_1 video, .sec_3_con_img_2 video {
    width: 45vw;
}
.sec_3_con_1, .sec_3_con_2 {
    width: 45vw;
}
.sec_3_con {
    gap: 30px;
}

}
@media (max-width: 768px) {
    
    .sec_3_con {
    flex-direction: column;
    }
    .sec_3_con_img_1 video, .sec_3_con_img_2 video {
    width: 85vw;
}
.sec_3_con_1, .sec_3_con_2 {
    width: 85vw;
}
    .sec_3_con {
        gap: 50px;
    }
    .sec_3_con_1_text p:nth-of-type(1), .sec_3_con_2_text p:nth-of-type(1) {
    padding-top: 13px;
    }
    .sec_3_con_1_text p:nth-of-type(2), .sec_3_con_2_text p:nth-of-type(2) {
    padding-bottom: 16px;
}
.sec_3_title {
    padding-bottom: 140px;
}
.sec_3_con_title {
    padding-bottom: 74px;
}
.sec_3_title_bottom{
    width: 100%;
    overflow: hidden;
}
.sec_3_title_bottom img{
    right: 40px;
    width: 130%;
    position: relative;
}

    .sec_3_con_title h4 {
    font-size: 38px;
}
.sec_3_con_title p {
    padding-top: 6px;
    font-size: 18px;
}


.web-view {
    display: none;
  }

  .mobile-view {
    width: 100vw;
    display: block;
    overflow: hidden;
  }

  .marquee {
  display: flex;
  width: calc(6 * 100vw + 5 * 4vw);
  animation: marqueeSlide 80s linear infinite;
}

.marquee img {
  width: 182vw;
  height: 19vw;
  flex-shrink: 0;
  margin-right: 4vw;
  object-fit: cover;
}
}

@keyframes marqueeSlide {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}



@media (max-width: 620px) {
    .sec_3_con_title h4 {
    font-size: 38px;
}
.sec_3_con_title p {
    padding-top: 6px;
    font-size: 18px;
}

}
@media (max-width: 500px) {
        .sec_3_con_title h4 {
        font-size: 28px;
    }
        .sec_3_con_title p {
        font-size: 16px;
    }
    .sec_3_con_1_text p:nth-of-type(1), .sec_3_con_2_text p:nth-of-type(1) {
    font-size: 18px;
    padding-top: 5px;
    padding-bottom: 14px;
    }
    .sec_3_con_1_text p:nth-of-type(2), .sec_3_con_2_text p:nth-of-type(2) {
    font-size: 14px;
    line-height: 22px;
    }

}
@media (max-width: 430px) {
  .sec_3_title {
    padding-bottom: 90px;
  }
      .sec_3_con_title {
        padding-bottom: 54px;
    }
    .sec_3_container {
    padding-bottom: 139px;
}
.marquee img {
width: 239vw;
height: 25vw;
  flex-shrink: 0;
  margin-right: 4vw;
  object-fit: cover;
}

  
}
@media (max-width: 375px) {
    .sec_3_title {
        padding-bottom: 100px;
    }
        .sec_3_con_title {
        padding-bottom: 50px;
    }
    .sec_3_con_1_text p:nth-of-type(1), .sec_3_con_2_text p:nth-of-type(1) {
    font-size: 18px;
    padding-top: 5px;
    padding-bottom: 14px;
    }
    .sec_3_con_1_text p:nth-of-type(2), .sec_3_con_2_text p:nth-of-type(2) {
    font-size: 14px;
    line-height: 22px;
    }

}
/* -----section_3 end------- */
.sec_4_bg {
  height: 57vw;
  background-image: url(../img/RUBY_bg.jpg);
  background-size: cover;
  box-shadow: 0px 4px 30px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.sec_4_title {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 2;
  gap: 0;
  overflow: visible;

}

.sec_4_title img {
  width: 26vw;
  margin-left: -13vw;
  animation: floatSway 4.5s linear infinite;
}

.sec_4_title img:first-child {
  margin-left: 0;
}

.sec_4_title img:nth-child(1) {
  animation-delay: 0s;
}

.sec_4_title img:nth-child(2) {
  animation-delay: 1.1s;
}

.sec_4_title img:nth-child(3) {
  animation-delay: 2.2s;
}

.sec_4_title img:nth-child(4) {
  animation-delay: 3.3s;
}

@keyframes floatSway {
  0% {
    transform: translateY(0) rotate(0deg);
  }
  25% {
    transform: translateY(-12px) rotate(1.5deg);
  }
  50% {
    transform: translateY(-25px) rotate(0deg);
  }
  75% {
    transform: translateY(-12px) rotate(-1.5deg);
  }
  99% {
    transform: translateY(0) rotate(0deg);
  }

}


.floating {
  animation: floatSway 4.5s linear infinite;
}


@media (max-width: 768px) {
    .sec_4_bg {
    height: 80vw;
    background-position: center;
    }
    .sec_4_title img{
        width: 35vw;
    }
    .sec_4_title img {
    width: 38vw;
    margin-left: -20vw;
    }
}
@media (max-width: 768px) {
        .sec_4_bg {
        height: 100vw;
        }
            .sec_4_title img {
        width: 40vw;
            }
}


/* ------section_4_end------- */

.section_5 {
  width: 100%;
  height: 90vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #FFF7F7;
}

.sec_5_wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.sec_5_sns {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  margin-bottom: 30px;
  width: fit-content;
}

.sec_5_sns img {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.sec_5_sns p {
  font-size: 32px;
  font-weight: 600;
  margin-left: 10px;
}

.sec_5_img {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.sec_5_img img {
  width: 16vw;
  height: auto;
}
.sec_5_img_2{
    display: none;
}
@media (max-width: 1250px) {
    .section_5{
        height: 70vh;
    }
}
@media (max-width: 1024px) {
    .sec_5_img{
        gap: 20px;
    }
    .sec_5_img img {
    width: 22vw;
    }
    .section_5 {
    width: 100%;
    height: 65vh;
    }
    .sec_5_sns p {
    font-size: 28px;
    }
    .sec_5_sns img {
    width: 44px;
    }
}
@media (max-width: 768px) {
        .section_5 {
        width: 100%;
        height: 50vh;
    }
    .sec_5_sns img {
    width: 50px;
    height: 50px;
    }
    .sec_5_sns p {
    font-size: 24px;
    }
    .sec_5_sns{
        gap: 0;
    }
}
@media (max-width: 580px) {
        .section_5 {
        width: 100%;
        height: 45vh;
    }
        .sec_5_img img {
        width: 25vw;
    }
    
        .sec_5_img {
        gap: 10px;
    }
    .sec_5_sns img {
        width: 35px;
    }
        .sec_5_sns p {
        font-size: 22px;
    }
    .sec_5_sns {
    margin-bottom: 10px;
    }
}
@media (max-width: 420px) {
    .sec_5_sns img {
    width: 40px;
    height: 40px;
    }
    .sec_5_sns p {
    font-size: 22px;
    }
    
}
@media (max-width: 375px) {
    .sec_5_img img {
        width: 30vw;
    }
        .sec_5_sns {
        margin-bottom: 20px;
    }
        .sec_5_sns img {
        width: 35px;
        }
            .sec_5_sns p {
        font-size: 20px;
    }
}
/* ------sec_5_end */


footer{
    background-color: #E38282;
        display: flex;
        flex-direction: column;
    justify-content: center;
}
.foo_top{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.footer_logo{
    width: 275px;
    padding-top: 41px;
    padding-bottom: 24px;
    display: flex;
    justify-content: center;
}
.foo_text{
    color: #fff;
    text-align: center;
    font-size: 16px;
}
.foo_text p{
    color: #fff !important;
    user-select: text;
}

.foo_text a,
.foo_text a:visited,
.foo_text a:hover,
.foo_text a:active,
.foo_text a:focus {
  color: #fff !important;
  text-decoration: none;
  -webkit-tap-highlight-color: #fff;
}


.foo_text{
    line-height: 40px;
    padding-bottom: 45px;
}
.copy_writer{
    color: #ffffff60;
    text-align: center;
    height: 80px;
    border-top: 1px solid #fff;
    display: flex;
    align-items: center;
    font-size: 14px;
}
@media (max-width: 1024px) {
.footer_logo{
width: 255px;
    padding-top: 30px;
    padding-bottom: 14px;
}
.foo_text {
    line-height: 35px;
    padding-bottom: 30px;
    font-size: 14px;
}
.copy_writer {
    height: 70px;
    font-size: 13px;
}
}
@media (max-width: 530px) {
        .footer_logo {
        width: 215px;
        padding-top: 25px;
        padding-bottom: 5px;
    }
        .foo_text {
        line-height: 30px;
        padding-bottom: 25px;
        font-size: 12px;
    }
        .copy_writer {
        height: 60px;
        font-size: 12px;
    }

}
@media (max-width: 375px) {
        .copy_writer {
        height: 60px;
        font-size: 11px;
    }
}







