
html {
  scroll-padding-top: 0px; /* 固定ヘッダの高さ分 */
  font-size: 62.5%;
  overflow-x: hidden;
}

body {
  line-height: 1.6875;

  font-family: "Zen Kaku Gothic New", sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 1.5rem;
}
.blg-font{
    font-family: 'BLG';
    src: url(../font/bleage_font.ttf);
}

.body-bg{
  /* width: 100%;
  aspect-ratio: 16 / 9; 
  background-image: url(../img/kv_bg5.jpg);
  background-size: contain;
  background-repeat: repeat;
  background-size: 700px auto;  */
  background: url(../img/kv_bg6-100.jpg) center / cover no-repeat fixed;
  background-position: center center;
}
.module_title{
  display: none;
}
/* ================================= */
/* ローディング */
/* ================================= */
#loading {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 10000;
	backdrop-filter: blur(30px);
	transition: .8s ease-in-out;
  }

  #loading.js-load {
	backdrop-filter: blur(0px);
  }

  #load {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	transition: .3s ease-in-out;
	opacity: 1;
	overflow: hidden;
  }

  #load_t {
	position: absolute;
	transition: 0.5s ease-in-out;
	width: 100%;
	height: 200%;
	bottom: 49%;
	left: 0;
	background-color: rgb(100, 100, 100); /* Temporary color for testing */
	transform: skewY(336deg);
	transition: .8s ease-in-out;
	overflow: hidden;
  }

  #load_t.js-load {
	bottom: 300%;
  }

  #load_b {
	position: absolute;
	transition: 0.5s ease-in-out;
	width: 100%;
	height: 200%;
	top: 49%;
	left: 0;
	transform: skewY(336deg);
	transition: .8s ease-in-out;
	overflow: hidden;
  }

  #load_b.js-load {
	top: 300%;
  }

  #load_b::before {
	content: "";
	width: 100%;
	height: 2px;
	position: absolute;
	top: 0;
	right: 0;
	background:  #3c562d;
	z-index: 10;
  }

  #load_b::after {
	content: "";
	height: 2px;
	position: absolute;
	top: 0;
	right: 0;
  background: linear-gradient(90deg, #ffefbe,#c27b17);
	transition: .4s ease-in-out;
	animation: loadbarAni 1.2s linear;
	animation-fill-mode: forwards;
	z-index: 11;
  }

  .load_bg {
	position: absolute;
	width: 100%;
	height: 200%;
	background-color:  #3c562d;
  }

  #load_t .load_bg {
	transform: skewY(-336deg);
	top: 0;
	left: 0;
  }

  #load_b .load_bg {
	transform: skewY(-336deg);
	bottom: 0;
	right: 0;
  }

  @keyframes loadbarAni {
	0% {
	  width: 0%;
	}

	20% {
	  width: 10%;
	}

	30% {
	  width: 40%;
	}

	50% {
	  width: 40%;
	}

	60% {
	  width: 60%;
	}

	80% {
	  width: 85%;
	}

	100% {
	  width: 90%;
	}
  }

  #load_b.js-loadfin::after {
	width: 100%;
	animation-fill-mode: none;
  }
/* ================================= */
/* 背景用コード */
/* ================================= */
/* 背景用レイヤー全体を管理 */
/* .background-layer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  overflow: hidden; 
} */

/* 背景色レイヤー */
/* .background-layer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #c30000;
  z-index: 1;
} */

/* テクスチャレイヤー */
/* .background-layer::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../img/bg.webp');
  background-size: cover;
  background-position: center;
  mix-blend-mode: multiply;
  z-index: 2;
  opacity: 0.7;
} */

/* コンテンツエリア */
/* .texture-bg {
  position: relative;
  z-index: 3; 
  min-height: 100vh; 
  overflow: auto; 
  max-width: 450px;
  margin: 0 auto;
}
@media (min-width: 450px) {
.texture-bg {
  box-shadow: 3px 3px 3px black;
}
} */

/* ================================= */
/* ヘッダー*/
/* ================================= */
.header-contents{
  background-color: rgb(23, 23, 23);
  z-index: 3;
  position: fixed;
  z-index: 5;
  width: 100%;
  color: white;
  padding: 1rem 0;
  top: 0;
  display: flex;
  justify-content: space-between;
}
.blg img{
  height: 25px;
  width: auto;
  background-color: rgb(23, 23, 23);
  margin-left: 2rem;
}

/* ================================= */
/*メイン*/
/* ================================= */
main{
  position: relative;
  z-index: 2;
}

.omikuji-ttl{
  padding-top: 10rem;
}
.omikuji-ttl img{
  width: calc(100% - 40px);
  margin: 0 auto;
  display: block;
}

.omikuji-txt{
  padding: 3rem 0 5rem;
  color: white;
  font-size: 1.5rem;
  text-align: center;
  text-shadow: #c30000 0px 0 10px;
}
.zoomIn {
  opacity: 0; /* 初期状態を隠す */
}

.zoomIn.animate {
  animation-name: zoomInAnime;
  animation-duration: 0.6s;
  animation-fill-mode: forwards;
}

@keyframes zoomInAnime {
  from {
    transform: scale(0.6);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}


/* ------------------------- */
/* くも */
/* ------------------------- */
.cloud1{
  position: absolute;
  z-index: 3;
  width: 180px;
  right: -6%;
  bottom: 58%;
}

.cloud2{
  position: absolute;
  z-index: 3;
  width: 130px;
  right: -8%;
  bottom: 38%;
  z-index: -1;
}

.cloud3{
  position: absolute;
  z-index: 3;
  width: 130px;
  left: 3%;
  bottom: 48%;
  z-index: 2;
}

.cloud4{
  position: absolute;
  z-index: 3;
  width: 260px;
  left: -5%;
  bottom: 63%;
  z-index: -1;
}
.cloud5{
  position: absolute;
  z-index: 3;
  width: 240px;
  left: 48%;
  bottom: 48%;
  z-index: -1;
}

.click-img{
  position: absolute;
  z-index: 3;
  width: 100px;
  right: 8%;
  bottom: 65%;
  z-index: 5;
}

.damu-img{
  position: absolute;
  z-index: 3;
  width: 110px;
  right: 6%;
  z-index: 5;
  bottom: 67%;
}
@media (min-width: 400px) {
  .damu-img{
    right: 12%;
    bottom: 65%;
  }
}
@media (min-width: 450px) {
  .damu-img{
    width: 120px;
    bottom: 63%;
  }
}

.huwa-move{
  animation: huwa-move 1.5s ease-in-out infinite alternate-reverse;
}
@keyframes huwa-move {
  0% {
    transform: translateY(-0%);
  }
  100% {
    transform: translateY(10%);
  }
}

.huwa-move2{
  animation: huwa-move2 1.5s ease-in-out infinite alternate-reverse;
}
@keyframes huwa-move2 {
  0% {
    transform: translateY(-20%);
  }
  100% {
    transform: translateY(10%);
  }
}

.huwa-move3{
  animation: huwa-move3 3.5s ease-in-out infinite alternate-reverse;
}
@keyframes huwa-move3 {
  0% {
    transform: translateY(-10%);
  }
  100% {
    transform: translateY(0%);
  }
}

.click-move{
  animation: animScale 4s infinite ease-out;
  transform-origin: 50% 50%;
  animation-play-state: running;
  backface-visibility: hidden;
}
@keyframes animScale {
  0% { transform: scale(0.8, 0.8); }
  5% { transform: scale(1.1, 1.1); }
  10% { transform: scale(1, 1); }
  15% { transform: scale(1.1, 1.1); }
  20% { transform: scale(1, 1); }
  100% { transform: scale(1, 1); }
}

/* 島田さん */
.bg_kv{
  width: 100%;
  height: auto;
  position: relative;
}
.kv-relative{
  max-width: 450px;
  position: relative;
  z-index: 1;
  overflow: hidden; 
  margin: 0 auto;
  box-shadow: 0px 20px 30px rgba(0, 0, 0, 0.363);
  /* background-color: #c30000;  */
  /* background-image: url(../img/shima_kv-100.jpg); */
  /* background-size: contain; */
  margin-top: 45px;
}
.bg-light{
  height: 100%;
  z-index: -1;
  overflow: hidden;
  position: absolute;
  top: -5%;
  bottom: 0;
  left: -140%;
  margin: 0 auto;
}

@media (min-width: 400px) {
  .bg-light{
      left: -132%;
  }
}
@media (min-width: 420px) {
  .bg-light{
      left: -120%;
  }
}
@media (min-width: 450px) {
  .bg-light{
      left: -110%;
  }
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.rotate {
  animation: rotate 40s infinite linear;
}

.kv-img{
  width: calc(100% - 55px);
  margin: 0 auto;
  display: block;
  padding-bottom: 5rem;
  position: absolute;
  z-index: 1;
  top: 24%;
  left: 50%;
  transform: translateX(-50%);
}


/* ボタン */
.omikuji-btn{
  display: block;
  margin: 0 auto;
  position: absolute;
  top: 52%;
  z-index: 100;
}
.omikuji-btn:hover{
  opacity: 0.6;
}
.omikuji-btn img{
  width: calc(100% - 40px);
  margin: 0 auto;
  display: block;
}
.attention{
  color: white;
  text-align: center;
}


/* ======================================== */
/* SNS */
/* ======================================== */
footer{
    position: relative;
    z-index: 2;
}

.footer-wrap img{
  width: 100%;
}
.footer-wrap {
  width: calc(100% - 60px);
  padding: 5rem 0 0;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
  gap: 10px;
  max-width: 400px;
}
@media (min-width: 700px) {
  .footer-wrap {
      gap: 20px;
      padding: 10rem 0 0 0;
  }
}
.footer-inner {
  padding: 7rem auto 0;
  background-color: white;
}
.blg-logo {
  width: 40px;
  margin: 5rem auto;
  display: block;
}
.copy {
  font-size: 1rem;
  font-weight: normal;
  text-align: center;
  padding-bottom: 5rem;
}

/* -------------------- */
/* BGM */
/* -------------------- */

/* 再生ボタン */
#playBtn {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-right: 2rem;
}
.playbtn-txt{
  font-size: 1.3rem;
}


/* 再生ボタンにマウスが載っているとき */
#playBtn:hover {
  border-bottom: 1px solid #c30000;
}