@font-face {
	font-family: 'DelaGothicOne';
	src: url(/config/font/DelaGothicOne-Regular.ttf);
}

:root {
  --primary: #ebc908;
  --primary-text: #1a1a1a;
  --secondary: #ff1dec;
  --secondary-text: #ffffff;
  --accent: #333;
  --accent-text: rgb(255, 255, 255);
}

@keyframes gradation {
	0%,100% {
		background-position: 0%;
	}
	50% {
		background-position: 100%;
	}
}

body {
  font-family: DelaGothicOne !important;
}


.bgtrans {
  position: fixed;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  background: #000000;
  z-index: -1;
}
.bgtrans::after {
  content: '';
  background-color: rgba(0,0,0,.5);
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  height: 100%;
}

.bgtrans li {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: 50% 50%;
  background-repeat: none;
  opacity: 0;
  -webkit-animation: anime 9s linear 0s infinite ;
  animation: anime 9s linear 0s infinite ;
}
.bgtrans li:nth-child(1) { 
  background-image: url(/config/images/bgs/1.png)   /* 背景画像を入力して下さい */
}
.bgtrans li:nth-child(2) {
  background-image: url(/config/images/bgs/2.png);
  -webkit-animation-delay: 1s;
  animation-delay: 1s;
}
.bgtrans li:nth-child(3) {
  background-image: url(/config/images/bgs/3.png);
  -webkit-animation-delay: 2s;
  animation-delay: 2s;
}
.bgtrans li:nth-child(4) {
  background-image: url(/config/images/bgs/4.png);
  -webkit-animation-delay: 3s;
  animation-delay: 3s;
}

.bgtrans li:nth-child(5) { 
  background-image: url(/config/images/bgs/5.png);
  -webkit-animation-delay: 4s;
  animation-delay: 4s;
}
.bgtrans li:nth-child(6) {
  background-image: url(/config/images/bgs/6.png);
  -webkit-animation-delay: 5s;
  animation-delay: 5s;
}
.bgtrans li:nth-child(7) {
  background-image: url(/config/images/bgs/7.png);
  -webkit-animation-delay: 6s;
  animation-delay: 6s;
}
.bgtrans li:nth-child(8) {
  background-image: url(/config/images/bgs/8.png);
  -webkit-animation-delay: 8s;
  animation-delay: 8s;
}

@-webkit-keyframes anime { 
  0% {
      -webkit-animation-timing-function: ease-in;
      opacity: 0;
  }
  10% {
      -webkit-transform: scale(1.1);
      opacity: 1;
  }
  40% {
      -webkit-transform: scale(1.2);
          -webkit-animation-timing-function: ease-out;
      opacity: 1;
  }
  50% {
      -webkit-transform: scale(1.3);
      opacity: 0;
  }
  100% { opacity: 0 }
}
@keyframes anime { 
  0% {
      animation-timing-function: ease-in;
      opacity: 0;
  }
  10% {
      transform: scale(1.1);
      opacity: 1;
  }
  40% {
      transform: scale(1.2);
          animation-timing-function: ease-out;
      opacity: 1;
  }
  50% {
      transform: scale(1.3);
      opacity: 0;
  }
  100% { opacity: 0 }
}



@keyframes fadein {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}



label {
  width: 82px;
  height: 42px;
  background: #ebc908;
  position: relative;
  display: inline-block;
  border-radius: 46px;
  transition: 0.4s;
  box-sizing: border-box;
}

input:checked + label{
  background-color: #fa1d9c;
}

label::after {
  content: "EN";
  font-family: DelaGothicOne;
  text-align: center;
  color: #ffffff;
  display: inline-block;
  width: 38px;
  height: 38px;
  vertical-align: middle;
  background-image: url("/config/images/stackey.png") !important;
  opacity: .8;
  background-size: contain !important;
  vertical-align: middle;
  border: solid rgba(0,222,0) 2px;
  position: absolute;
  border-radius: 100%;
  left: 0;
  top: 0;
  z-index: 2;
  background: rgba(0,222,0,0.5);
  box-shadow: 0px 5px 11px 2px rgba(0, 0, 0, 0.7);
  transition: 0.4s;
  cursor: pointer;
}

input:checked + label::after{
  content: "JP";
  left: 40px;
}

