@charset "utf-8";
@media (min-width: 520px) and (max-width: 960px) {
	
  .loading-animation-text {
    font-size: 6vw;
    }
	
  .top-wrapper {
    width: 100%;
  }

	
	.popup{
	width: 100%;
	height: 15vw;
	position:fixed;
	top: 0;
	z-index: 999 !important;
}

.popup span{
	color: red;
	font-weight: 400;
}
	.popup p{
		font-size: 5vw;
		line-height: 5vw;
	}
	
	
  .topArea {
    background-image: url("../img/phone/topbackground_phone.png");
    background-repeat: no-repeat;
    background-position: center top;
    padding: 20px 10px;
  }

  .top-subtitle {
    flex-direction: column;
    align-items: center;
  }

  .top-title {
    width: 90%;
    margin: 0 auto;
    padding-top: 20px;
  }

  .top-title img {
    margin-left: 0;
    padding-top: 20px;
  }

  .toptext-area {
    width: 100%;
    padding-left: 40px;
    /*text-align: center;*/
  }

  .toptext-area span {
    font-size: 6vw;
  }

  .top-text {
	font-size: 4vw;
    line-height: 1.6;
	margin-left: 2%;
  }

  .top-button img {
	  display: none;
  }

  .top-dryellow {
    width: 100%;
    margin-top: 20px;
	padding: 0;
  }

  .top-dryellow img {
    width: 100%;
    padding: 0;
  }
	
  .bg-image {
    width: 96%;
  }
	
  .introduction{
		height: auto;
	}

  .introduction h1 {
    font-size: 4.2vw;
	line-height: normal;
	padding-top:130px;
  }
	
	.introduction-chlid{
		padding-top: 0px;
	}

  .introduction-chlid p{
    font-size: 3vw;
    line-height:3.2rem;
	letter-spacing: 0.25rem;
	padding-top: 10px;
  }

	.sp_br{
		display: none;
	}
	
	.marquee-container{
	padding: 150px 0 30px;
	}
	
	.marquee-inner img{
	margin-right: 50px;
	width: 280px;
	height: 168px;
    box-shadow: 6px 6px 0px 0 #3c81a0;
}
	
	.bg-image-present-pc{
		width: 800px;
	}
	
	.present-child02{
		margin-top: 17px;
		padding: 10px;
	}
	
	.present-child02 img{
		width: 65%;
	}
	
	.present-child01{
		line-height: 37px;
	}
	
	.lustrun-section{
		height: 1550px;
	}
	
	.bg-image-lust-pc{
		display: none;
	}
	
	.bg-image-lust-phone{
		display: block;
		z-index: 0;
		width: 800px;
		position: absolute;
		top: 0;
		left: 50%;
		transform: translateX(-50%);
		height: auto;
		pointer-events: none; /* 背景画像がクリックを邪魔しないように */
		padding: 70px 0 0 0 ;
	}
	
	.card-title {
    padding-top: 160px; /* 少し余白を減らす */
  }

 .card-title-child01 {
    font-size: 24pt;  /* 少し小さくしてスマホでも収まるように */
  }

.card-title-child02 {
    font-size: 14pt;    /* 小見出しも縮小 */
  }

.card-title hr{
	width: 290px;
}

.card-gallerywrapper{
	flex-direction: column-reverse; /* 横並び → 縦並び */
    align-items: center;
    gap: 40px;
    padding-top: 20px;
}
	
.card-gallerywrapper-02{
	flex-direction: column; /* 横並び → 縦並び */
    align-items: center;
    gap: 40px;
    padding-top: 0px;
}
	
	.slideBox{
		width: 380px;
		height: 380px;
	}
	
	.item1{
		width: 380px;
		height: 380px;
	}

	
	.card-detail-img{
		display: none;
	}
	
	.card-text{
		width: 500px;
		padding-top: 30px;
	}
	
	.card-text p{
		font-size: 20px;
		padding-top: 0px;
		line-height: 1.8em;
	}
	
	.card-wrapper{
		padding: 30px 0 0 0;
		width: 525px;
	}
	
	.book-section{
		height: 2000px;
	}
	
	.bg-image-book-pc{
		display: none;
	}
	
	.bg-image-book-phone{
		display: block;
		z-index: 0;
		width: 800px;
		position: absolute;
		top: 0;
		left: 50%;
		transform: translateX(-50%);
		height: auto;
		pointer-events: none; /* 背景画像がクリックを邪魔しないように */
		padding: 70px 0 0 0 ;
	}
	
	.book-title {
    padding-top: 100px; /* 少し余白を減らす */
  }

 .book-title-child01 {
    font-size: 24pt;  /* 少し小さくしてスマホでも収まるように */
  }

.book-title hr{
	width: 290px;
}

.book-gallerywrapper{
	flex-direction: column-reverse; /* 横並び → 縦並び */
    align-items: center;
    gap: 4px;
    padding: 20px 0 0 0 ;
}
	
	.book-slideBox{
		width: 350px;
		height: 350px;
	}
	
	.book-item1{
		width: 350px;
		height: 350px;
	}
    
	.book-text01 h2{
		padding-bottom: 0px;
	}
	
	.book-text01{
		width: 500px;
		padding-top: 0px;
	}
	
	.book-text01 p{
		font-size: 20px;
		padding-top: 0px;
		line-height: 1.8em;
	}
	
	.book-wrapper{
		padding: 55px 0 0 0;
		width: auto;
		gap: 0;
	}
	
		.book-wrapper02{
		padding: 55px 0 0 0;
		width: auto;
		gap: 0;
	}
	
	.book-price{
		padding-bottom: 5px;
	}
	
	.book-price02{
		padding-bottom: 5px;
	}
	
	.book-child-img01{
		width: 260px;
	}
}
/* CSS Document */

