@charset "UTF-8";
/*---------------------------reset*/
* {
  padding: 0;
  position: 0;
}
html {
  height: 100%;
  font-size: 62.5%;
}
/* 基礎設定 */
body {
  font-family: "Sawarabi Gothic", sans-serif;
  font-size: 1.6rem;
  color: #444444;
  height: 100%;
  margin: 0;
  padding: 0;
}
ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  vertical-align: bottom;
  max-width: 100%;
  height: auto;
}
/*----------------------ローディングアニメーション*/
#loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* アニメーション本体 */
#loader {
    width: 300px;
    height: 300px;
}

/* 読み込み完了後にローディング画面を非表示にする */
.loaded #loader-wrapper {
    display: none;
}
/*--------------------------- header*/
header {
	top: 0;          
    left: 0; 
    display: flex;
    justify-content: space-between; 
    align-items: center;
    background-color: #fff;
	position: fixed;
    width: 100%; 
	height:70px;
	padding: 0px auto;
    z-index: 100;  
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
header h1 img {
  width: 40px;
  height: auto;
	margin: 10px;
}
nav {
  display: flex;
  align-items: center;
  gap: 30px;
}
.BoxPage {
  display: flex;
  gap: 30px;
  justify-content: space-between;
}

.BoxPage li a {
  padding: 0 10px;
  color: #4a914d;
  font-weight: bold;
  font-size: 2rem;
  padding-right: 15px;
  border-right: 1px solid #4a914d;
}
.BoxPage li a:hover {
  color: #517fd3;
}

/* ----- アイコンスタイル ----- */
.BoxIcon {
  display: flex;
	margin-right: 20px;
}
.BoxIcon li img {
  width: 40px;
  height: auto;
	margin: 10px;
}

/* ベルが揺れるアニメーション */
@keyframes bell-shake {
    0% { transform: rotate(0deg); }
    10% { transform: rotate(15deg); }
    20% { transform: rotate(-15deg); }
    30% { transform: rotate(15deg); }
    40% { transform: rotate(-15deg); }
    50% { transform: rotate(0deg); }
    100% { transform: rotate(0deg); }
}

.bell-shake-animation {
    animation: bell-shake 1.5s ease-in-out  infinite;
	transform-origin: top center;
}


/*--------------------------- main*/
main {
    background-size: cover;
    color: #fff;
    background-image: url(../img/game-item/nanposu/backgraund-nanposu.jpg);
    margin: 0;
    padding: 0;
    padding-bottom: 50px;
}

/* パンくずリスト */
.BreadCrumb {
    margin-top: 60px; 
	margin-bottom: 30px;
    padding: 20px; 
    border-bottom: 1px solid #fff; 
    font-size: 1.4rem; 
}

/* リストリセット */
.BreadCrumb ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex; 
}

/* リスト */
.BreadCrumb li {
    display: flex; 
}

/* リンク */
.BreadCrumb li a {
    text-decoration: none;
    white-space: nowrap;
}

/* ホバー */
.BreadCrumb li a:hover {
    text-decoration: underline; 
    color: #f8ee81;
}

/* 矢印（'>'） */
.BreadCrumb li:not(:last-child)::after {
    content: '>'; 
    margin: 0 8px;
}

/* 現在ページ */
.BreadCrumb li:last-child {
    font-weight: bold;
}

/* ----- ナンパーワンポスト ----- */
.ImgGame{
	width: 90%;
	height: auto;
	margin: 0 auto;
	margin-bottom: 50px;
}

.BoxGame{
    background-image: url(../img/game-item/nanposu/background-star.png);	
}

.BlockIntroduction{
	margin: 0 auto;
    margin-bottom: 100px;
	max-width: 992px;
	
}

dl dt {
    font-weight: 900;
    font-size: 3rem;
    padding-bottom: 10px;
	margin-bottom: 40px;
    border-bottom: 1px solid #FFFFFF;
	text-align: center;
}

.TextIntroduction {
	margin: 0;
	margin-bottom: 50px;
  	padding: 0;
    font-weight: bold;
    font-size: 2rem;
	text-align: center;
}

.TextIntroduction p{
    margin-bottom: 10px;
	text-shadow:2px 2px 2px rgba(0,0,0,0.8);
}

/*---ボタン---*/
.BlockButton{
	display: flex;
	flex-wrap: wrap;
}

.PieceButton{
	width: 400px;
	margin: 0 auto;
	margin-bottom: 100px;
	padding: 20px;
    border: 2px solid #E28430;
	border-radius: 50px;
	background-color: rgba(0,0,0,0.2);
	text-align: center;
}

.PieceButton img{
	width: 200px;
	height: auto;
	margin-bottom: 5px;
}
.PieceButton h3{
	margin: 0;
	margin-bottom: 5px;
	font-size: 3rem;
}

.Price{
	margin-bottom: 10px;
    font-size: 2.4rem;
    font-weight: bold;	 
}

.PieceButton p{
	margin: 0;
	margin-bottom: 5px;
	text-align: left;
	padding: 0 20px;
}

.Details {
    display: block;
	align-items: flex-end;
    width: 90%;
    padding: 10px;
	margin: 5px auto;
    border-radius: 50px;
    border: 2px solid #f49547;
    font-weight: bold;
    font-size: 2rem;
    cursor: pointer;
	  background: #fff;
	  color: #f49547;
	  overflow: hidden;
	  position: relative;
	  z-index: 1;
}
.Details::after {
  background: #f49547;
  position: absolute;
  top: 0;
  left: 0;
  content: '';
  width: 100%;
  height: 100%;
  transform: scale(0, 1);
  transform-origin: top top;
  transition: .1s cubic-bezier(0.45, 0, 0.55, 1);
  z-index: -1;
}
.Details:hover {
  color: #fff;
}
.Details:hover::after {
  transform: scale(1, 1);
}

.MovieIntroduction{
	width: 80%;
	margin: 0 auto;
	margin-bottom: 100px;
	
    /* ★ フェードイン最初*/
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease-out, transform 1s ease-out;
    will-change: opacity, transform;
}

	/* ★ フェードイン後*/
.MovieIntroduction.is-visible {
		opacity: 1;
		transform: translateY(0);
	}

.YouTubeMovie{
width: 100%;
height: auto;
aspect-ratio: 16 / 9;
margin-bottom: 30px;
}
.MovieIntroduction div {
	width: 400px;
	margin: auto;
}

.BlockImpresstion{
	width: 95%;
	height: auto;
	margin: 0 auto;
	margin-bottom: 100px;
    /* ★ フェードイン最初*/
    opacity: 0;
    transform: translateY(20px); 
    transition: opacity 1s ease-out, transform 1s ease-out;
    will-change: opacity, transform;
}

	/* ★ フェードイン後*/
.BlockImpresstion.is-visible {
		opacity: 1;
		transform: translateY(0);
	} 


.BoxRule{
	text-align: center;
	margin: 0 auto;
    margin-bottom: 100px;
	max-width: 100%;
}

.BlockRule dd{
    display: flex;
    gap: 5%;
    align-items: center;
    height: 400px;
    margin: 0;
	margin-bottom: 80px;
    padding: 5%;
	   /* ★ フェードイン最初*/
    opacity: 0;
    transform: translateY(20px); 
    transition: opacity 1s ease-out, transform 1s ease-out;
    will-change: opacity, transform;
}

	/* ★ フェードイン後*/
.BlockRule dd.is-visible {
		opacity: 1;
		transform: translateY(0);
	} 

.ImgRule{
	justify-content: flex-start;
	width: 50%;
}

.BoardNanposu{
	width: 50%;
	height: auto;
		
}

.BoardBackground{
	position: relative;
	z-index: 1;
}
.BoardBackground img {
	width: 100%;
}

/*ボード：あの子カード----------------*/
.ContainAnokoCard{
	position: absolute;
	width: 15%;
	height: auto;
	z-index: 3;	
	left:77%;
	top:12%;
}
.AnokoCard1{
    margin-bottom: 45%;
    box-shadow: 1px 2px 3px rgba(0,0,0,0.5);
}
.AnokoCard2{
	margin-bottom:45%;
	box-shadow: 1px 2px 3px rgba(0,0,0,0.5);
}
.AnokoCard3{
	margin-bottom:45%;
	box-shadow: 1px 2px 3px rgba(0,0,0,0.5);
}
.AnokoCard4{
	margin-bottom:0%;
	box-shadow: 1px 2px 3px rgba(0,0,0,0.5);
}

.SizCard:hover{
	transform: scale(1.3)
}
.SizCard:active{
	transform:translateX(-100%);
}

.AnokoTip{
	position: absolute;
	z-index: 2;
	width: 11%;
	height: auto;
	left: 64%;
	top:44%;
	border-radius: 50%;
	box-shadow: 1px 2px 3px rgba(0,0,0,0.5);
}

.SizTip:hover{
	transform: scale(1.3)
}


/*説明文----------------*/
.TextRule{
	width: 45%;
	height: auto;
    text-align: left;	
}

.TextRule h3{
    width: 100%;
    height: auto;
    text-align: left;
    font-weight: bold;
    font-size: 2.4rem;
}

.TextRule p{
	width: 100%;
	height: auto;
	font-size: 2rem;
	margin: 30px;
}

.TextRule div {
    display: block;
    justify-content: center;
    width: 80%;
    height: auto;
    margin-bottom: 10px;
	padding: 15px;
	text-align: center;
    font-size: 2rem;
    border-radius: 50px;
    background-color: rgba(255, 255, 255, 0.8);
    color: #160e0f;	
}



.ContainNanpaCard1{
	position: absolute;
	display: flex;
	z-index: 2;
	width: 50%;
	height: auto;
	left: 5.5%;
	top:38%;
	gap:4%;
}

.ContainNanpaCard2{
	position: absolute;
	display: flex;
	z-index: 2;
	width: 50%;
	height: auto;
	left: 5.5%;
	top:9%;
	gap:4%;
}

.SizNanpaCard{
	box-shadow: 1px 2px 3px rgba(0,0,0,0.5);
}

.SizNanpaCard:hover{
	transform: scale(1.3)
}
.SizNanpaCard:active{
	transform:translateY(100%);
}

.AnokoTipGet{
	position: absolute;
	z-index: 2;
	width: 11%;
	height: auto;
	left: 6%;
	top:82%;
	animation: slideInFromTop 5s ease-out forwards infinite;
}

/* アニメーション */
@keyframes slideInFromTop {
  0% {
    transform: translate(50%, -100px); 
    opacity: 0;
  }
  50% {
    transform: translate(0, 0);
    opacity: 1;
  }
  100% {
    transform: translate(0, 0);
    opacity: 1;
  }
}


/*  名言スライダー  */
.BoxQuote {
    max-width: 900px; 
    height: 600px;
    overflow: hidden;
    position: relative;
    margin: 40px auto;
    z-index: 1; 
	
	  /* ★ フェードイン最初*/
    opacity: 0;
    transform: translateY(20px); 
    transition: opacity 1s ease-out, transform 1s ease-out;
    will-change: opacity, transform;
}

	/* ★ フェードイン後*/
.BoxQuote.is-visible {
		opacity: 1;
		transform: translateY(0);
} 

.BlockQuote {
    display: flex; 
    width: 800px; 
    height: 100%; 
    position: absolute; 
    top: 0;
    left: 0; 
    transition: transform 0.5s ease-in-out;
}

.ItemQuote {
    flex-shrink: 0;
    width: 800px; 
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
	margin-right: 30px;
}

.ItemQuote img {
    max-width: 100%;
    height: 100%;
    object-fit: cover; 
	box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.3);
	
}

/* --- 矢印ボタンのスタイル --- */
.slide-button {
    position: absolute; 
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5); 
    color: white;
    border: none; 
    padding: 10px 15px;
    cursor: pointer;
    z-index: 10; 
    font-size: 20px;
    border-radius: 5px; 
}

.slide-button.prev {
    left: 10px;
}

.slide-button.next {
    right: 10px;
}
.slide-button:active {
	position: absolute;
    transform: translateY(-40%); 
}

/* --- ドットインジケーターのスタイル --- */
.slide-indicators {
    position: absolute;
    bottom: 30px; 
    left: 50%; 
    transform: translateX(-50%); 
    display: flex;
    gap: 8px; 
    z-index: 10; 
}

.indicator-dot {
    width: 10px; 
    height: 10px; 
    background-color: rgba(150, 150, 150, 0.7);
    border-radius: 50%;
    cursor: pointer; 
}

.indicator-dot.active {
    background-color: #fff;
}

.BoxQuote p{
	margin: 0;
    font-weight: 900;
    font-size: 3rem;
	text-align: center;
}

.BannerAds{
	width: 500px;
	height: auto;
	margin: 0 auto;
	margin-bottom: 100px;
	cursor: pointer;
	  /* ★ フェードイン最初*/
    opacity: 0;
    transform: translateY(20px); 
    transition: opacity 1s ease-out, transform 1s ease-out;
    will-change: opacity, transform;
}

	/* ★ フェードイン後*/
.BannerAds.is-visible {
		opacity: 1;
		transform: translateY(0);
} 

.BannerAds:hover{
	transform: scale(1.1)
}


/*-------------------------footer*/
footer {
    width: 100%;
	height: 300px;
    background-color: #fff;
    padding: 80px auto;
	text-align: center;
	
}
.BoxNav{
	display: flex;
    flex-wrap: wrap;
    justify-content: center; 
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 20px;
    border-bottom: 1px solid #ddd;
    box-sizing: border-box;
}
.BoxNav nav {
  height: 200px;
  display: block;
}
.BoxNav nav a {
  display: flex;
  margin-bottom: 20px;
  padding-top: 20px;
  border-top: 1px solid #ddd;
  align-items: center;
}
.BoxNav nav a:hover {
    color: #517fd3;
    text-decoration: underline;
}
.BoxNav nav a img {
  width: 30px;
  height: 30px;
  justify-content: flex-end;
  margin: 5px;
}

/*-------------------------jump*/
.ATop {
    position: fixed;
	padding: auto;
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
    background-color: rgba(255,248,207,0.80);
    border-radius: 50%;
    border: 2px solid #df001e;
    font-size: 3rem;
    text-decoration: none;
    text-align: center;
    color: #df001e;
}
.ATop:hover{
	transform: scale(1.1)
}

/*----------------------992px変更*/
@media (max-width: 992px) {
	body{
	min-width: 550px;
	}
	
	/*header*/
	header{
		width: 100%;
		padding: 0 10px;
	}
	
	header h1 img { 
    min-width: 40px;
}
	
	.BoxIcon li img {
	width: 0;
    display: none;
}
	
	.BoxPage li a {
		padding: 0 10px;
		color: #4a914d;
		font-weight: bold;
		font-size: 2rem;
		padding-right: 15px;
		border-right: 1px solid #4a914d;
}
	
	.TextIntroduction {
    font-size: 1.6rem; 
	}

	.BlockRule{
	margin: 0;
	padding: 0;}
	
	.BlockRule dd{
    display: block;	
	width: 100%;
	height: auto;
	margin: 0;
	padding: 0;}
	
	.ImgRule{
		justify-content: flex-start;
		width: 100%;
		margin-bottom: 30px;

	}

		.BoardNanposu{
		width:  70%;
		margin: 20px auto;

	}
	
	.TextRule{
    margin: 0 auto;
    margin-bottom: 50px;
    width: 80%;
    max-width: 640px;
    padding: 10px;
    border-radius: 20px;	
	}
	.TextRule h3{
		display: block;
		width: 440px;
		margin: 0 auto;
		margin-bottom: 20px;
		padding-bottom: 10px;
		 font-size: 2rem;
		text-align: center;
		border-bottom: 1px solid #FFFFFF;	
		
	}
	.TextRule p{
		 margin: 0 auto;
		margin-bottom: 20px;
		text-align: center;
		 font-size: 1.6rem;
		 width: 440px;
	}
	.TextRule div{
    margin: 0 auto;
    margin-bottom: 30px;
    font-size: 1.6rem;
    width: 440px;	
	}
	
		/*名言スライダー縮小*/
	.BoxQuote {
        flex-direction: column;
        max-width: 100%;
        padding: 15px; 
        margin: 20px auto; 
    }

    .ItemQuote {
        width: 500px;
		height: auto;
        min-width: auto;
    }
}
	
