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

html {
	overflow-y:scroll;
 }

body {
    background-image: url("../img/N用_body_back.jpg");
    background-size: contain;
    font-family: serif;
    font-size: 40px;
    font-weight: 500;
    line-height: 1.6;
    max-width: 600px;
    color: #000000;
    margin: 0 auto;
  }

img {
	width: 100%;
	vertical-align: bottom;
	}

p{
	font-size: 14px;
}

span {
  display: inline-block;
  text-align: center;
}

.mainvisual {
  background-image: url("../img/N用main_back.jpg");
  background-size: cover;
}

/* 縮小 */
.zoomOut{
  animation-name:zoomOutAnime;
  animation-duration:0.5s;
  animation-fill-mode:forwards;
}

.animedelay02 {
  animation-delay: 0.2s;
}

.animedelay04 {
  animation-delay: 0.4s;
}

.animedelay06 {
  animation-delay: 0.6s;
}

.animedelay08 {
  animation-delay: 0.8s;
}

.animedelay1 {
  animation-delay: 1s;
}

.animedelay12 {
  animation-delay: 1.2s;
}

@keyframes zoomOutAnime{
  from {
  transform: scale(1.2);
  opacity: 0;
  }

  to {
    transform:scale(1);
  opacity: 1;
  }
}

/* スクロールをしたら出現する要素にはじめに透過0を指定　*/
 
.zoomOutTrigger{
    opacity: 0;
}
  
/* ぼかしから出現 */
.blur{
  animation-name:blurAnime;
  animation-duration:1s;
  animation-fill-mode:forwards;
  animation-delay: 1s;
}

@keyframes blurAnime{
  from {
  filter: blur(10px);
  transform: scale(1.02);
  opacity: 0;
  }

  to {
  filter: blur(0);
  transform: scale(1);
  opacity: 1;
  }
}

/* スクロールをしたら出現する要素にはじめに透過0を指定　*/
 
.blurTrigger{
    opacity: 0;
}

.fadeUp{
  animation-name:fadeUpAnime;
  animation-duration:1s;
  animation-fill-mode:forwards;
  animation-delay: 1.5s;
  opacity:0;
}
  
  @keyframes fadeUpAnime{
    from {
      opacity: 0;
    transform: translateY(100px);
    }
  
    to {
      opacity: 1;
    transform: translateY(0);
    }
  }

/* 下へ */
.flipDown{
  animation-name:flipDownAnime;
  animation-duration:1s;
  animation-fill-mode:forwards;
  opacity:0;
}
  
  @keyframes flipDownAnime{
    from {
      transform: perspective(2500px) rotateX(100deg);
    opacity: 0;
    }
  
    to {
      transform: perspective(2500px) rotateX(0);
    opacity: 1;
    }
  }

  .flipDownTrigger{
    opacity: 0;
}

.under {
  font-size: 16px;
}

#tt_title {
  width:100%;
  text-align: center;
  margin-bottom: 60px;
}

#tt_title p {
  padding: 0 40px;
  color: #fff;
}

#jp_dream {
  background: url("/img/N用2_back.jpg");
  background-size: cover;
  padding: 30px 30px 40px 30px;
}

#jp_dream p {
  font-size: 14px;
  color: #fff;
}

.southand_million {
  text-align: left;
  font-size:12px;
}

.bg_txt {
  font-size: 20px;
}

.middium {
  float: left;
  font-size: 21px;
  color: #ffffff;
  border-bottom: solid 2px #e60000;
  text-shadow: 2px 2px 3px #1b1b1b;
  margin-bottom: 5px;
}
  
.middium2 {
  float: right;
  font-size: 21px;
  color: #ffffff;
  border-bottom: solid 2px #e60000;
  text-shadow: 2px 2px 3px #1b1b1b;
  margin-bottom: 30px;
}

.mny_list {
  width: 100%;
  background-image: url("../img/N用_等級_back.jpg");
  background-size: 100%;
}

.mny_list img {
  width: 100%;
}

.how__to {
  width: 100%;
  background-image: url("../img/N用_4back.jpg");
  background-size: 100%;
}

.how__to img {
  width: 100%;
}
 
.clicktxt {
  width: 90%;
	display: block;
	margin: 30px auto 30px;
	padding: 12px 10px;
	background: #ffffff;
  border: double #000 5px;
	text-align: center;
	color: #000000;
	font-size: 16px;
	font-weight: bold;
	letter-spacing: 1px;
	box-sizing: border-box;
}

.switchdsp {
  background-color: #272727;
  padding: 5px 0;
}

.switchdsp input {
  display: none;
}
  
.switchdsp .dsp {
  padding: 0px 10px;
  height: 0;
  overflow: hidden;
  transition: 0.9s;
  opacity: 0;
}
  
.switchdsp input:checked ~ .dsp {
  padding: 0px 25px 0px 25px;
  background:#FFF;
  height: auto;
  opacity: 1;
}

.dsp h3{
  font-size:24px;
  margin:10px;
}

.dsp p{
  font-size:14px;
  margin:10px;
}

#roulette {
  font-family: 'Arial', sans-serif;
  background: #131313;
  text-align: center;
  padding: 0;
  background-image: url("../img/N用2_back.jpg");
  background-size: cover;
}

#slot-container {
  width: 80%;
  height: 80px;
  margin: 30px auto 30px auto;
  padding: 0;
  border: double 2px #bd8919;
  background-color: #ffffff85;
  overflow: hidden;
  position: relative;
  z-index: 1; /* 基本レイヤー */
}
  
#slot {
  display: flex;
  flex-direction: column;
  transition: transform 3s ease-out;
}
  
.slot-item {
  height: 75px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  z-index: 2;
}
  
.slot-img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  transition: transform 0.3s ease, filter 0.3s ease;
  z-index: 2;
}
  
.slot-img:hover {
  filter: brightness(1.1);  /* 少し明るく */
}
  
#startBtn, #nextBtn {
  padding: 10px 20px;
  font-family: serif;
  margin: 15px auto 30px auto;
  cursor: pointer;
}

#startBtn {
  background-color: rgb(255, 255, 255);
  font-size: 16px;
  border: solid 2px #ffd000;
  border-radius: 10px; 
  cursor: pointer;
}
  
#nextBtn {
  display: none;
  background-color: green;
  font-family: serif;
  font-size: 16px;
  border: solid 2px #ffffff;
  border-radius: 10px;      /* 角を少し丸める（好みに応じて） */
  color: white;
  text-decoration: none;
}

#nextBtn a {
  color: white;
  text-decoration: none;
}
  
#nextBtn:hover {
  transform: scale(1.1);    /* ホバー時にちょっと大きくする */
  transition: transform 0.3s;
}

#winOverlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.356);
  color: red;
  font-size: 64px;
  font-weight: bold;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  z-index: 9999;
}
  
.animate-win {
  animation: flashWin 6s ease-out;
}
  
  @keyframes flashWin {
    0%   { opacity: 0; transform: scale(0.5); }
    30%  { opacity: 1; transform: scale(1.1); }
    45%  { opacity: 1; transform: scale(1); }
    60%  { opacity: 1; transform: scale(1); }
    100% { opacity: 0; transform: scale(1); }
  }
  
.win-img {
  width: 100%; /* 必要に応じて調整 */
  height: auto;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 0 10px gold);
}

/* スライダー全体のスタイル */
.slider {
  background-image: url("../img/N用_5back.jpg");
  background-size: cover;
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  overflow-x: scroll; /* 横スクロールを有効にする */
  scroll-behavior: smooth; /* スムーズなスクロール */
  width: 100%; /* 親要素に合わせて幅を調整 */
}

.slider li {
  flex: 0 0 100%; /* 各スライドは親要素（100%）の幅に合わせる */
  display: inline-block; /* スライドをインラインで表示 */
}

.slider img {
  width: 100%; /* 画像のサイズを親要素に合わせる */
  height: auto;
}

footer {
	text-align: center;
	padding: 48px 0;
	background: #000;
	}

/*リンクの形状*/
#page-top a{
  display: flex;
  justify-content:center;
  align-items:center;
  border-radius: 5px;
  width: 150px;
  height: 100px;
  color: #fff;
  text-align: center;
  text-transform: uppercase; 
  text-decoration: none;
  font-size:0.6rem;
  transition:all 0.3s;
}

/*リンクを右下に固定*/
#page-top {
  position: fixed;
  right: 10px;
  bottom:50px;
  z-index: 2;
    /*はじめは非表示*/
  opacity: 0;
  transform: translateX(100px);
}

/*　左の動き　*/

#page-top.LeftMove{
  animation: LeftAnime 0.5s forwards;
}

@keyframes LeftAnime{
  from {
    opacity: 0;
  transform: translateX(200px);
  }
  to {
    opacity: 1;
  transform: translateX(0);
  }
}

/*　右の動き　*/

#page-top.RightMove{
  animation: RightAnime 0.5s forwards;
}
@keyframes RightAnime{
  from {
    opacity: 1;
  transform: translateX(0);
  }
  to {
    opacity: 1;
  transform: translateX(200px);
  }
}

footer p {
  color: #FFF;
	font-size: 10px;
	line-height: 24px;
}