/* ここからホーム */
.home-background {
    background-color: #131315;
    /* background-color: #4c62b9; */
    background-color: #343a40;
    color: transparent;
}

.footer {
    margin-top: 0 !important;
}


.backgraund {
    background-image: url('https://static.igem.wiki/teams/5140/backgraund-space.png') !important;
    background-size: contain;
}

.home-page {
    color: white !important;
    text-align: center;
    font-family: sans-serif;
    margin-bottom: 0;
}


.home-logo {
    width: 80%;
    height: 80%;
    /* background-color: #95b4b8; */
    /* transform: translate(-50%, -50%);  */
   
    /* display: block; */
    margin: auto;
    padding: auto;
    z-index: 0;
    text-align: center;
    margin: 0 0 0 5%;
    box-sizing: border-box;
    /* position: absolute; */
}

.home-title {
    position: relative;
    overflow: hidden;
    /* padding-left: 10%; */
}

.anime {
    position: absolute;
    z-index: 4;
    box-sizing: border-box;
    width: 77%;
    height: auto;
    /* max-width: 100%;  
    max-height: 100%; */
    left: 51.8%;
    top: 47%;
    transform: translate(-50%, -50%); 
}

.home-title h2 {
    font-size: 2vw;
    font-weight: 500;
    color: #f3d35e;
    color: #f3d33d;
    font-family: 'Inter', sans-serif;
    /* background-color: #95b4b8; */

}

.home-sub-title {
    font-size: 2vw;
    font-weight: 500;
    color: #f3d35e;
    color: #f3d33d;
    font-family: 'Inter', sans-serif;
}

.home-kuhaku {
    margin-top: 15%;
    color: transparent;
}



/* .home-kuhaku2 {
    padding-bottom: 5%;
    color: transparent;
    background-color: #4c62b9;
} */

.home-trans {
    padding-top: 5%;
    opacity: 0;
}



.home-flex {
    
    margin: 0;
    
}





.home-text {
    text-align: left;
    /* background-color: #b6beff; */
    /* padding: 2%; */
    margin: 2%;
    padding: 2% 2% 2% 5%;
    width: 60%;
    margin-bottom: 6%;
    margin-top: 5%;
    z-index: 2;
}


.home-flex-flex {
    display: flex;
    /* background-color: beige; */
    width: 55vw;
    height: 2.5vw;
    margin-bottom: 0.4vw;
}

.home-hako {
    background-color: #ffd700;
    background-color: #f3d35e;
    background-color: #f3d33d;
    color: transparent;
    border-radius: 3px;
    width: 0.8vw;
    height: 2.1vw;
    margin: 0.35% 1.3% 0 1%;
    align-items: center;
}


/* .home-image {
    
    margin: 3% 5% 3% 6%;
    width: 20%;
    height: 20%;
    margin-bottom: 10%;
    margin-top: 3%;
    z-index: 2;
    box-sizing: border-box;
} */

.home-image {
    width: 20%;
    height: 20%;
    margin: 3% 5% 3% 6%;
    margin-bottom: 10%;
    margin-top: 3%;
    z-index: 2;
    box-sizing: border-box;
    margin-top: 7%;
}

.home-image img {
    display: block;
    width: 80%;
    height: 80%;
    margin: auto;
    align-items: center;
    
}

.home-text h3 {
    /* margin-bottom: 2%; */
    font-size: 2.2vw;
    font-weight: 550;
    color: #ffd700;
    color: #f3d35e;
    color: #f3d33d;
}

.home-text p {
    text-align: justify;
    /* font-size: 20px; */
    font-size: 1.3vw;
    padding-left: 0.4vw;
    padding-top: 0.4vw;
    color: #F5F5F5 ;
    font-family:sans-serif;
    /* background-color: #b6beff; */
    margin-bottom: 0;
}

.home-more {
    margin-top: 0.6vw;
    font-size:1.6vw;
    padding-left: 0.4vw;
    font-style: italic;
    /* background-color: #95b4b8; */
    font-weight: 560;
    font-family: sans-serif;
    text-decoration: none;
}

.slide-text {
    position: relative;
    color: #F5F5F5;
    overflow: hidden;
    transition: color 0.1s ease;
    display: inline-block;
}

.slide-text::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    /* width: 100%;
    height: 100%; */
    color: #f3d35e;
    z-index: -1;
    transition: left 0.1s ease;
}

.slide-text:hover::before {
    left: 0;
    color: #f3d35e;
}

.slide-text:hover {
    color: #f3d35e;
    color: #a2d7da;
    transform: scale(1.1);
}



.home-fadein {
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    transition-delay: 0.6s;
}

/* .visible-fadein {
    opacity: 1;
} */



.ilast1 {
    /* width: 70vw;
    /* height: 70vw; */ 
    position: absolute;
    z-index: 1;
    /* top:  8vw; */
    top: 70vw;
    width: 65vw;
    height: 65vw;
    left: 0;
    /* box-sizing: border-box; */
    /* overflow: hidden; */
    /* object-fit: cover; */
}

.ilast2 {
    position:absolute;
    top: 100vw;
    width: 50vw;
    height: 50vw;
    right: -10vw;
}

/* .ilast1::before {
    content:  '';
    background: linear-gradient(to bottom, rgba(255, 0, 0, 0.3) 50%, rgba(0, 0, 255, 0.3) 100%);
    position: absolute;
    top: 100vw;
    width: 60vw;
    height: 60vw;
    left: 0;
    z-index: 2;
} */



/* ここからアニメーション */

.container-potition1 {
    
    /* position: relative; */
    display: flex;
    flex-wrap: wrap;
    /* background-color: #222;
    background-color: #000011; */
    background-color: #131315;
    /* background-color: cornflowerblue; */
    /* background-color: #161620; */
    box-sizing: border-box;
    /* background: linear-gradient(to bottom, #131315 60%, #4c62b9 100%); */

    justify-content: flex-start;
    /* margin: 0 5% 0 5%; */
    /* border: 2pt solid #ffd700; */
    z-index: 2;
    top: 0;
    /* margin-bottom: 20%; */
    height: 100%;
    width: 100%;
    /* margin: 0 10% 0 10%; */
    /* color: #ffd700; */
    padding: 0 4.5% 0 4.5%;
}

.container-position2 {
    position: relateve;
    /* background-color: #b6beff; */
    /* width: 100vw;
    height: 100vh; */
    /* width: 100px;
    height: 100px; */
    /* top: 20%; */
    /* margin: 0 5% 0 5%; */
    z-index: 3;
    
    /* width: 100%; */
}

@media screen and (max-width: 1400px) {
    .circle {
        display: none;
    }
}


/* .container2 {
    margin-top: 10%;
    position: relative;
 } */
 
 
 /* 背景に固定された線 */
 .line {
    position: absolute;
    /* left: 50%; */
    /* top: 10%;
    left: 65%; */
    width: 0.4vw;
    height: 16%;
    background-color: #ffd900;
    background-color: #ffa500;
    background-color: #a2d7da;
    background-color: #95b4b8;
    /* transform: translateX(-50%); */
    z-index: 2;
 }

.line1 {
    /* position: absolute; */
    top: 5%;
    left: 64.5%;
    height: 13%;
    /* transform: translateX(-4px); */
    /* transform: translateY(-50px); */
}

.line2 {
    top:18%;
    left: 32%;
    width: 33.1%;
    height: 0.4vw;
    transform: translateY(-50%);
}

.line3 {
    top: 18%;
    left: 32.5%;
    transform: translateX(-50%);
    height: 21%;
}

.line4 {
    top:38.7%;
    left: 32.5%;
    width: 33%;
    height: 0.4vw;
    transform: translateY(-50%);
}

.line5 {
    top: 39%;
    left: 65%;
    transform: translateX(-50%);
    height: 17.5%;
}

/* .line6 {
    top: 58%;
    left: 0%;
    width: 65%;
    height: 0.4vw;
    transform: translateY(-50%);
} */

 .circley {
    position: absolute;
    /* left: 65%;
    top: 10%; */
    width: 1.7vw;
    height: 1.7vw;
    background-color: #ffd700;
    background-color: #ffa500;
    background-color: #a2d7da;
    background-color: #95b4b8;
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 2;
 }

 .circle-1 {
    left: 64.7%;
    top: 5%;
 }

 .circle-2 {
    left: 64.7%;
    top: 17.4%;
 }

 .circle-3 {
    left: 32.5%;
    top: 17.4%;
 }

 .circle-4 {
    left: 32.5%;
    top: 38.2%;
 }

 .circle-5 {
    left: 65%;
    top: 38.2%;
 }

 .circle-6 {
    left: 65%;
    top: 54%;
    width: 5vw;
    height: 5vw;
 }

 /* .container-line {
    border-bottom: #ffd900;
    background-color: cadetblue;
    position: absolute;
    height: 200px;
    width: 200px;
    top: 30%;
    left: 0;
    transform: translateY(-200px);
 } */

 
 /* 赤い丸 */
 .circle {
    position: absolute;
    /* left: 50%; */
    top: 30%;
    left: 57.4%;
    top: 10vw;
    left: 15vw;

    width: 9vw;
    height: 9vw;
    /* width: 13vw;
    height: 13vw; */
    /* background-color: red; */
    border-radius: 50%; 
    /* /* transform: translateX(-50%); */
    /* transform: translateY(-50%);  */
    z-index: 3;
    /* transform-origin: top left; */
    /* padding: 2%; */
    /* transition: top 0.01s ease, left 0.01s ease; 位置の変更に対するアニメーション */
 }
 
 /* .kuhaku2 {
    height: 800px;
    background-color: #001;
 } */

 #slideshow {
    position: relative; 
    width: 150%;
    height: 150%; 
    /* overflow: hidden; */
    object-fit: cover;
    transition: transform 0.3s ease; /* 回転にアニメーションを追加 */
    transform-origin: top right;
    /* transform-origin: ; */
    /* background-color: #ff5; */
    /* transform: translateX(-50%);
    transform: translateY(-50%);  */
  } 
  .slide {
    position: absolute;
    width: 120%;
    height: 120%;
    opacity: 0;
    transition: opacity 0.1s;
    object-fit: cover;
    transition: transform 0.3s ease; /* 回転にアニメーションを追加 */
    /* transform-origin: center center; 回転の基準点を中央に設定 */
    /* background-color: #131315; */
    /* background-color: #222; */
    transform: translateX(-50%);
    transform: translateY(-50%);  
    border-radius: 50%;
    padding: 6%;
    top: 0%;
  }
  .visible {
    opacity: 1;
  }


  .relative-box {
    position: relative;
    /* background-color: #ffd900; */
    overflow: hidden;
    margin-bottom: 0;
    
  }
 

/* 装飾 */
/* .home-tentai {
    width: 1.7vw;
    height: 1.7vw; 
    background-color: #ffd700;
    background-color: #ffa500;
    background-color: #a2d7da;
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 1;
    position: absolute;
} 

.tentai1 {
    width: 4vw;
    height: 4vw;
    background-color: #e9ee66;
    
    top: 27vw;
    left: 12vw;
    z-index: 2;
}

.tentai2 {
    width: 2vw;
    height: 2vw;
    background-color: #a2d7da;
    
    top: 25vw;
    left: 18vw;
    z-index: 2;
} */

/* .home-stars {
    width: 22vw;
    height: 22vw;
    position: absolute;
    box-sizing: border-box;
    top: 20vw;
    left: 0vw;
    z-index: 1;
    background-color: #b6beff;
} */