@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@300;400&display=swap');
* {
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
.scroll-area {
	position:absolute;
	right: 20px;
	bottom: 0;
	padding-bottom: 0;
	z-index:0; /*文字が上にならない様*/
}
@media only screen and ( max-width : 767px ) {
.scroll-area {
	right: 15px;
	padding-bottom: 10px;
}
}
@media only screen and ( max-width : 500px ) {
.scroll-area {
	display: none;
}
}

.scroll_down {
  position: relative;
  width: 20px;
  height: 190px;
  background-position: 50% 50%;
  background-repeat: no-repeat;
  background-size: cover;
	z-index: 10;
}
.scroll_down:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80%;
  background: linear-gradient(180deg,rgba(#000, 0) 0, rgba(#000, .8) 80%, rgba(#000, .8) 100%);
  }
.scroll_down a {
  display: inline-block;
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  width: 13px;
  padding: 10px 15px 110px 0;
  color: #fff; /*scroll文字色*/
  font-size: 14px;
  font-family: 'Josefin Sans', sans-serif;
	font-weight: 100;
  line-height: 1;
  letter-spacing: .2em;
  text-transform: uppercase;
  text-decoration: none;
  writing-mode: vertical-lr;
  transition: .2s;
  overflow: hidden;
  margin: auto;
}
.scroll_down a:before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%; /*線の位置*/
  width: 1px; /*線の太さ*/
  height: 100px; /*線の長さ*/
  background: rgba(255,255,255,0); /*下の線*/
}
.scroll_down a:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%; /*線の位置*/
  width: 1px; /*線の太さ*/
  height: 100px; /*線の長さ*/
  background: #fff; /*動く線*/
}
@media only screen and ( max-width : 767px ) {
.scroll_down {
  width: 10px;
  height: 90px;
}
.scroll_down a {
  padding: 10px 15px 90px 0;
  font-size: 10px;
}
.scroll_down a:before {
  left: 35%; /*線の位置*/
  height: 80px; /*線の長さ*/
}
.scroll_down a:after {
  left: 35%; /*線の位置*/
  height: 80px; /*線の長さ*/
}
}


.scroll_down a:hover {
  opacity: .5;
}

#type01 a:after {
  animation: sdl01 1.5s cubic-bezier(1, 0, 0, 1) infinite;
}

@keyframes sdl01 {
  0% {
    transform: scale(1, 0);
    transform-origin: 0 0;
  }
  50% {
    transform: scale(1, 1);
    transform-origin: 0 0;
  }
  50.1% {
    transform: scale(1, 1);
    transform-origin: 0 100%;
  }
  100% {
    transform: scale(1, 0);
    transform-origin: 0 100%;
  }
}
