@charset "UTF-8";
/* CSS Document */

body{
	margin: 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;
}
.title{
	margin-top: 0px;
	padding-top:70px; /*上に余白を付ける*/
	display: flex;
	font-size: 15px;
	align-items: center;
	justify-content: center;
	
}
.bf{
    padding-top: 0px;
    font-weight: 600;
}
a{
	color: #2F2F2F;
}

.gazou{
	margin-left: 10px;
	width: 97%;
	height: auto;
	margin-bottom: 10px;
}

#ayano{
	margin-bottom: 100px;
	
}
#natumi{
	margin-bottom: 100px;
}
#inamin{	
	margin-bottom: 100px;}
.graida{
	display: flex;
	margin-bottom: 20px;
}
.gura{width: 200px;
	height: auto;
	
}
.q{
    padding-left: 10px;
    font-size: 16px;
    width: 100%;
    height: 50px;
    padding-top: 15px;
    font-weight: 600;
    color: #48BFB9;
}
.a{
	padding-left: 10px;
	margin-bottom: 40px;
}
.first{
	width: 200px;
}
.q3{
	display: flex;
	margin-bottom: 30px;
}
.contents{
	padding-top: 30px;
}

.txt_anime {
  width: 100%;
  height: 100px;
  line-height:100px;
  overflow: hidden;
}
.inner{
	padding-top: 100px;
	margin-top: -100px;
}
.fudda{
	text-align: center;
    margin: 0px;
    padding: 0px;
    background-color: #B4FFFB;	
	
}
.back{
	margin-top: 20px;
	text-align: center;
	padding-bottom: 50px;
}


.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; /*非表示に*/
  }
}