a {text-decoration: none; color: inherit;}
ul {list-style: none;}

/*****ローディング画面*****/

#loading {
  position: fixed;
  z-index: 999;
  width: 100%;
  height: 100%;
  background: #FACD89;/*変更可能*/
  text-align: center;
  color: #EB6100;/*変更可能*/
}

/*ローディングバー*/
#loading_text {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 999;
  width: 100%;
  transform: translate(-50%, -50%);
  color: #EB6100;/*変更可能*/
}



/*****ナビゲーション*****/
.openbtn {
  position: fixed;
  top: 10px;
  right: 15px;
  z-index: 9999;
  cursor: pointer;
  width: 50px;
  height: 50px;
}

.openbtn span {
  display: inline-block;
  transition: all.4s;
  position: absolute;
  left: 14px;
  height: 3px;
  border-radius: 2px;
  background-color: #E8380D;
  width: 55%;
}

.openbtn span:nth-of-type(1) {
  top: 15px;
}

.openbtn span:nth-of-type(2) {
  top: 23px;
}

.openbtn span:nth-of-type(3) {
  top:31px;
}

.openbtn.active span:nth-of-type(1) {
  top: 18px;
  left: 18px;
  transform: translateY(6px) rotate(-45deg);
  width: 45%;
}

.openbtn.active span:nth-of-type(2) {
  opacity: 0;
}

.openbtn.active span:nth-of-type(3) {
  top: 30px;
  left: 18px;
  transform: translateY(-6px) rotate(45deg);
  width: 45%;
}

#top_nav.panelactive {
  position: fixed;
  z-index: 999;
  top: 0;
  width: 100%;
  height: 100vh;
}

#top_nav_list {
  display: none;
  position: fixed;
  z-index: 999;
  width: 100%;
  height: 100vh;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

#top_nav.panelactive #top_nav_list {
  display: block;
}

#top_nav ul {
  opacity: 0;
  position: absolute;
  z-index: 999;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
}

#top_nav ul li {
  font-size: 30px;
  letter-spacing: 0.1em;
}

#top_nav.panelactive ul {
  opacity: 1;
}

#top_nav.panelactive ul li {
  animation-name: gnaviAnime;
  animation-duration: 1s;
  animation-delay: 0.2s;
  animation-fill-mode: forwards;
  opacity: 0;
}

@keyframes gnaviAnime {
  0% {opacity: 0;}
  100% {opacity: 1;}
}

.circle-bg {
  position: fixed;
  z-index: 3;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: #FACD89;
  transform: scale(0);
  top: -50px;
  left: calc(50% - 50px);
  transition: all 1s;
}

.circle-bg.circleactive {
  transform: scale(50);
}

.gnavi li a {
  position: relative;
}

.gnavi li a:hover {
  color: #E8380D;
}

.gnavi li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;

  width: 100%;
  height: 2px;
  background: #E8380D;

  transition: all .3s;
  transform: scale(0,1);
  transform-origin: center top;
}

.gnavi li a:hover::after {
  transform: scale(1,1);
}




/*****紙吹雪を降らす*****/
html,body {
  height: 100%;
}

#particles-js {
  position: fixed;
  z-index: -1;
  width: 100%;
  height: 100%;
}

#wrapper {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
}


/*****texttyping*****/
.blur{
	animation-name:blurAnime;
	animation-duration:3s;
	animation-fill-mode:forwards;
}

@keyframes blurAnime{
  from {
	filter: blur(10px);
	transform: scale(1.02);
	opacity: 0;
  }

  to {
	filter: blur(0);
	transform: scale(1);
	opacity: 1;
  }
}
 
.blurTrigger{
    opacity: 0;
}



/*page top link*/

#page-top a{
	display: flex;
	justify-content:center;
	align-items:center;
	background: #E8380D;
	border-radius: 5px;
	width: 60px;
	height: 60px;
	color: #fff;
	text-align: center;
	text-transform: uppercase; 
	text-decoration: none;
	font-size:0.6rem;
	transition:all 0.3s;
}

#page-top a:hover{
	opacity: 0.75;
  transition: 0.4s;
}

/*リンクを右下に固定*/
#page-top {
	position: fixed;
	right: 10px;
	bottom:10px;
	z-index: 2;
    /*はじめは非表示*/
	opacity: 0;
	transform: translateY(100px);
}

/*　上に上がる動き　*/

#page-top.UpMove{
	animation: UpAnime 0.5s forwards;
}
@keyframes UpAnime{
  from {
    opacity: 0;
	transform: translateY(100px);
  }
  to {
    opacity: 1;
	transform: translateY(0);
  }
}

/*　下に下がる動き　*/

#page-top.DownMove{
	animation: DownAnime 0.5s forwards;
}
@keyframes DownAnime{
  from {
  	opacity: 1;
	transform: translateY(0);
  }
  to {
  	opacity: 1;
	transform: translateY(100px);
  }
}



/*scroll animation*/
