@charset "UTF-8";
/* CSS Document */
body{
    margin-top: 0px;
    padding: 0px;
    background-image: url("image/back.png");
    font-family: YuGothic, "Yu Gothic medium", "Hiragino Sans", Meiryo, sans-serif;
    font-style: normal;
    color: #5F6067;
    font-weight: lighter;
}
.header{
	background-color: rgba(255,255,255,0.9);
	width: 100%;
	height: 50px;
	padding-top: 12px;
	display: flex;
	position: fixed;
	z-index: 30;
	justify-content:space-around;
	
}


.tiisame{
	padding-left: 53%;
	display: flex;
	font-size: 20px;
	align-items:center;
	}
.topdesign{
	margin-top: 0px;
	margin-left: 10px;
    font-size: 34px;
	font-weight: lighter;
}
.img-fluid{
	width: 100%;
	height: auto;

}

.yazirusi{
	text-align: right;
	margin-right: 22%;
	margin-bottom: 5%;
}
.ya{
	width: 10px;
}

.youso{
	display: flex;
	justify-content: center;
	padding-bottom: 90px;
}
.youso p{
	margin-left: 10px;
}
.youso img{
	width: 328px;
	height: auto;
}
.rei{
	width: 100%;
	height: auto;
	opacity: 0;
	transform: translateY(30px);
	transition: opacity 1.5s, transform 1s;
}
.rei.active{
   opacity: 1;
	transform: translateY(0px);
	
}
.takusan{
	width: 100%;
	display: flex;
	justify-content:space-around;
	
	}
.korezennbu{
	padding-top: 30px;
	font-size:42px;
margin-top: 10%;
	margin-left: 5%;
}
.tukkomi{
	display: flex;
	align-items: center;
padding-left: 53%;
	font-size: 17px;
	
}
#koe{
	padding-top:110px; /*上に余白を付ける*/
margin-top: -100px; /*上の余白を打ち消す*/
	text-align: center;
	font-size: 19px;
	}
.ositene{
	font-size: 13px;
	text-align: center;
	
}

.nigao{
	width: 270px;
	height: auto;
	margin-bottom: 40px;
}
ul{
    text-align: center;
}
ul li{
list-style: none;
}
a{
	color: #2F2F2F;
}

.huki{
	width: 70px;
	margin-left: 25px;
	
}

.midasi{
	font-size: 19px;
	text-align: center;
	
}

.fudda{
	text-align: center;
    margin: 0px;
    padding: 0px;
    background-color: #B4FFFB;	
	
}
.back{
	margin-top: 20px;
	text-align: center;
	padding-bottom: 50px;
}
.syousai{
	height: auto;
	display: flex;
	justify-content: center;
}
.zituha{
	font-size: 37px;
	margin-left: 5%;
}
.desitarl{
	display: flex;
	padding-left: 40%;
}

#keturn{
	padding-top: 100px; /*上に余白を付ける*/
margin-top: -100px; /*上の余白を打ち消す*/
	font-size: 25px;
	margin-left: 6%;
}
.kwsk{
	margin-top: 50px;
text-align: center;
	
}
.scrollbig {
  overflow: hidden;
  width: 100%;
  height:200px;
}
 
.scrollmd {
  overflow: hidden;
  position: relative;
  width: 100%;
  height: inherit;
}
 
.scroll {
  display: flex;
  align-items: center;
  justify-content: space-around;
  position: absolute;
  left: 0%;
  top: 0%;
  width: inherit;
  height: inherit;
  animation-duration: 25s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}
 

.scroll:nth-child(1) {
  animation-name: first;
}
 
.scroll:nth-child(2) {
  animation-name: second;
}
 
@keyframes first {
  from {
    left: 0%;
  }
  to {
    left: -410%;
  }
}
 
@keyframes second {
  from {
    left: 410%;
  }
  to {
    left: 0%;
  }
}

@keyframes animetxt {
100% {
  transform: translateX(-100%);
 }
}

HTML CSSResult Skip Results Iframe
EDIT ON
/***カーテンのように開くアニメーション***/
body::before, body::after{
  content: "";
  position: fixed; /*固定表示*/
  top: 0;
  width: 100%;
  height: 100vh;
  background:#9EFFF0; /*劇のカーテン色*/
  animation: curtainOpen 0.5s forwards;
  animation-delay: 0.5s; /*遅延時間(遅延時間)*/
  z-index: 999; /*最前面に*/
}
body::before{
  left: 0;
}
body::after{
  right: 0;
}

@keyframes curtainOpen{
  0%{
    width: 50vw; /*閉じている状態*/
  }
  100%{ 
    width: 0; /*開く*/
    visibility: hidden; /*非表示に*/
  }
}