@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
   
}
body{
   background: #949798;
    overflow-x: hidden;
    font-feature-settings: "palt";
}
.rachel_nav {
    margin-left: auto;
    margin-right: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 80%;
    padding: 2% 0;
    color: #f6df4c;
  
}
.rachel_nav h1 a{ 
    color: #f6df4c;
    text-decoration: none;
}
.logo{
    line-height: 0;
    font-size: 2vw;
    font-weight: 700;
}
.rachel_nav ul {
    margin-left: auto;
    font-size: 2vw;
    display: flex;
    list-style: none;
    
}

.rachel_nav  ul li{
    margin-left: 1vw;
    font-size: 1.2vw;
    font-weight: 600;
    
}

.rachel_nav  ul li a{
    color: #f6df4c;
    margin-left: 1vw;
    font-size: 1.2vw;
    font-weight: 600;
    text-decoration: none;
  
}

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

.hero_section {
    width: 100%;
    height: 45vw;
    margin-left: auto;
    margin-right: auto;
}

.hero_raychel {
    width: 96%;
    height: 100%;
    position: relative;
    margin-left: auto;
    margin-right: auto;
}

.hero_raychel img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: 0.3s 0.2s;
}
.hero_raychel img:hover{
    height: 100%;
    width: 100%;
    object-fit: cover;
    filter: none;
    transition: 0.3s 0.1s;
}
.headline {
    position: absolute;
    top: 60%;
    left: 5%;
    font-size: 10vw;
    color: #f6df4c;
    transform: translateY(-10%, -70%);
    z-index: 3;
    font-family: "Bebas Neue", sans-serif;
}
.contents{
    width: 80%;
    margin-right: auto;
    margin-left: auto;
}
.box{
    width: 100%;
    height: 25vw;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 3%;
   
}

.box:nth-child(even){
    flex-direction: row-reverse;
}

.rachel_image{
    width: 40%;
    height: 100%;
    z-index: 2;
    box-shadow: 1vw 1vw #f6df4c;
    overflow: hidden;
}
.rachel_image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.1s;
    filter: grayscale(100%);

}
.rachel_image img:hover{
    transition: 0.1s;
    filter: none;
}
.introduction,
.testimony,
.impetus{
    margin-bottom: 1vw;
    color: #f6df4c;
    font-size: 2vw;
    z-index: 2;
}


.rachel_p{
    position: relative;
    width: 55%;
    z-index: 2;
}
.rachel_p p{
    font-size: 1.3vw;
    color: #f6df4c;
    font-weight: 600;
    z-index: 2;    
}



.floatingarea{
    position: relative;
}

.floating_rachel{
    width:100%;
    height:10vw;
    overflow: hidden;
}
.floating{
    
    position:absolute;
    top:60%;
    transform:translateY(-60%);/* 縦の高さ */
    animation-timing-function: linear ;/* animation-timing-functionはアニメーションの速度を指定することができる */
    animation-duration: 15s;/*15秒かけてアニメーションが動く */
    animation-iteration-count: infinite;/* animation-iteration-countはアニメーションが無限に繰り返されるという意味だよ */
    animation-delay: 0s;/* アニメーションをいつ開始するかを指定する﻿
    アニメーションの開始を指定時間だけ遅らせる﻿
    画面にアニメーションをする要素が入ってきてからの開始時間を指定する﻿ */
    animation-name: move01;/* アニメーションに付けた名前 */
    z-index: 100;
    overflow: hidden;
}
.floating img{
    display: block;
    animation: move02 1s ease-in-out infinite alternate-reverse;/* alternate-reversを入れると動きが滑らかに変わる */
    width: 40vw;
    height: 20vw;
    object-fit: cover;
    
}

@keyframes move01{
    0%{
        right: -20%;
    }
    
    100%{
       right: 100%;
    }
  }
@keyframes move02{
    0% {
      transform: translateY(-10%);
    }
    100% {
      transform: translateY(0%);
    }
}

.wave{
    height: 30vw;
}

.wave img{
    object-fit: cover;
    width: 100%;
    height: 100%;
}
.floatingarea p{
    text-align: center;
    font-size: 1vw;
    background-color: #2A6F97;
    color: #f6df4c;
    padding: 1% 0;
}
footer{
    background-color: #2A6F97;
    padding: 1%;
}
.marquee {
    padding: 1vw 0;
    overflow: hidden;
  }   
  
.marquee-text {
    display: inline-block;
    padding-left: 100%;
    white-space: nowrap;
    animation: marquee 60s linear infinite;
    color: #f6df4c;
    font-size: 6vw;
    font-family: "Bebas Neue", sans-serif;
    font-weight: 400;
    font-style: normal;  
  }
  
.marquee-texts {
    display: inline-block;
    padding-left: 100%;
    white-space: nowrap;
    animation: marquees 60s linear infinite;
    color:#f6df4c;
    font-size: 6vw;
    font-family: "Bebas Neue", sans-serif;
    font-weight: 400;
    font-style: normal;  
}
  
@keyframes marquee {
    0% { transform: translate(0); }
    100% { transform: translate(-100%); }
}
@keyframes marquees{
    0%{
        transform: translate(-100%);
    }
    100%{
        transform: translate(0);
    }
}