@charset "utf-8";
@media (min-width: 320px) and (max-width: 520px) {
	
	
	
	.popup{
		height: 18vw;
	}
	
	.popup p{
		font-size: 5vw;
		padding-bottom: 2vw;
		margin-top: 2.5vw;
	}
  .top-wrapper {
    width: 100%;
  }

  .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 {
	width: 100%;
    margin-left: 0;
    padding-top: 20px;
  }

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

  .toptext-area span {
    font-size: 28px;
  }

  .top-text {
    font-size: 16pt;
    line-height: 1.6;
  }

  .top-button img {
	  display: none;
  }

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

  .top-dryellow img {
    width: 100%;
    padding: 0;
  }
	
  .bg-image {
    width:98%;
  }
	
  .introduction{
		height: auto;
	}
	
	.introduction-chlid{
		padding-top: 5px;
	}

  .introduction h1 {
    font-size: 12pt;
	line-height: normal;
	padding-top:60px;
  }

  .introduction-chlid p{
    font-size: 2.8vw;
    line-height:1.2rem;
	letter-spacing: 0.3rem;
  }
	
	.sp_br{
		display: block;
	}
	
	.marquee-container{
	padding: 0px 0 0px;
	}
	
	.marquee-inner img{
	margin-right: 50px;
	width: 280px;
	height: 168px;
    box-shadow: 6px 6px 0px 0 #3c81a0;
}
	
	.body-lead p{
		font-size: 14px;
		width: 90%;
		margin: 0 auto;
	    letter-spacing:0.2rem;
		text-align: left;
		padding: 0;
}	
	.sp_br00{
		display: none;
	}
	
	.style_css{
		display: none;
	}
	
	.small_css{
		display: block;
	}	
	
	.present-wrapper{
  text-align: center;
	margin: 40px 0 0 0;
	padding: 80px 0 100px 0;
}
	
	.bg-image-present-pc{
		display: none;
	}
	
	.bg-image-present-phone{
		display: block;
		z-index: 0;
		width: 390px;
		position: absolute;
		top: 0;
		left: 50%;
		transform: translateX(-50%);
		max-width: 520px; /* 必要に応じて調整 */
		height: auto;
		pointer-events: none; /* 背景画像がクリックを邪魔しないように */
		padding: 70px 0 0 0 ;
	}

.present-child01{
	margin: 0 auto;
	color: #FFFFFF;
	font-family: "fot-tsukuaoldmin-pr6n", sans-serif;
    font-weight: 300;
    font-style: normal;
	letter-spacing: 0rem;
	text-align: left;
	font-size: 12pt;
	width: 350px;
	padding: 35px 0 0 0;
	line-height: 1.7rem;
}

.pre-sapn1{
	font-weight: 800;
	font-size: 13pt;
}

.pre-span2{
	font-size: 12px;
	color: #ffffff;
	text-align: center;
}

.present-child02{
	width: auto;
	margin-left: auto;
	margin-right: auto;
	margin: 0px 0 0 0 ;
	padding: 20px 0 0 0;
}
	
.present-child02 img{
	width: 60%;
}
	
	.lineup-wrapper{
		padding: 0 0 55px 0;
	}

.lineup-wrapper img{
	width: 300px;
}
	
	.lustrun-section{
		height: 800px;
	}

.bg-image-lust-pc{
	display: none;
}

.bg-image-lust-phone{
		display: block;
		z-index: 0;
		width: 400px;
		position: absolute;
		top: 0;
		left: 50%;
		transform: translateX(-50%);
		/*height: auto;*/
		pointer-events: none; /* 背景画像がクリックを邪魔しないように */
		padding: 0px 0 0 0 ;
	}
	
.card-gallerywrapper{
    flex-direction: column-reverse; /* 横並び → 縦並び */
    align-items: center;
    gap: 40px;
    padding-top: 0px;
}

	.card-title {
    padding-top: 50px;
  }

 .card-title-child01 {
    font-size: 12pt;
	margin: 3px;
  }

.card-title-child02 {
    font-size: 10pt;
	}

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

.card-gallerywrapper{
	flex-direction: column-reverse; /* 横並び → 縦並び */
    align-items: center;
    gap: 2px;
    padding-top: 0px;
}

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

	
	.card-detail-img{
		display: none;
	}
	
	.glass-wrapper p{
		font-size: 7px;
		line-height: 12px;
	}
	
	.card-text{
		width: 250px;
		padding-top: 0px;
	}

.card-text h2{
	font-size: 18px;
	padding: 0px;
	margin: 4px;
}

.card-text span{
	font-size: 16px;
}

	
	.card-text p{
		font-size: 12px;
		padding-top: 0px;
		line-height: 1.55em;
	}
	
	.card-wrapper{
		padding: 10px 0 0 0;
		width: 280px;
		gap: 20px;;
		margin: 0 auto;
	}

	.card-item{
		width: 130px;
}

	.card-item span{
		font-size: 16px;
}

	.card-item p{
		font-size: 13px;
		margin: 0;
		line-height: 20px;
}
	
	.card-button{
		width: 130px;
}
	
	.book-section{
		height: 950px;
	}

.bg-image-book-pc{
	display: none;
}

.bg-image-book-phone{
		display: block;
		z-index: 0;
		width: 400px;
		position: absolute;
		top: 0;
		left: 50%;
		transform: translateX(-50%);
		/*height: auto;*/
		pointer-events: none; /* 背景画像がクリックを邪魔しないように */
		padding: 0px 0 0 0 ;
	}
	
.book-gallerywrapper{
    flex-direction: column-reverse; /* 横並び → 縦並び */
    align-items: center;
    gap: 40px;
    padding-top: 0px;
}

	.book-title {
    padding-top: 0px;
  }

 .book-title-child01 {
    font-size: 13pt;
	 margin: 3px;
  }

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

.book-gallerywrapper{
	flex-direction: column-reverse; /* 横並び → 縦並び */
    align-items: center;
    gap: 12px;
    padding: 0px;
}
	
	.book-slideBox{
		min-width: 180px;
		min-height: 0px;
		width: 180px;
		height: 180px;
	}
	
	.book-item1{
		width: 180px;
		height: 180px;
	}
	
	.book-text01{
		width: 250px;
		padding-top: 0px;
	}

.book-text01 h2{
	font-size: 18px;
	padding-top: 0px;
}
	
	.book-text01 p{
		font-size: 12px;
		padding-top: 5px;
		line-height: 1.55em;
	}
	
	.book-wrapper{
		padding: 40px 0 0 0;
		width: 280px;
		gap: 30px;
		margin: 0 auto;
	}
	
		.book-wrapper02{
		padding: 40px 0 0 0;
		width: 280px;
		gap: 30px;
		margin: 0 auto;
	}

	.book-item1{
		width: 180px;
		height: 180px;
}
	
	.book-button{
		width: 120px;
}
	
	.book-text{
		display: none;
	}
	
	.book-child-img01{
		width: 120px;
	}
	
	.book-price{
		font-size: 9px;
		padding-bottom: 0px;
	}
	
		.book-price02{
		font-size: 9px;
		padding-bottom: 0px;
		margin-top: 10px;
	}
	
	.book-backdesign{
		padding: 30px;
	}
	
	.firstsite-button{
		width: 250px;
	}
	
	.mitsubishi-mark{
		width: 80%;
	}
	
	.mitsubishi-figure{
		width: 90%;
	}
	
    .share-biutton{
	padding: 0 10px;
}
	
	.footer-nav a {
		font-size: 3.3vw;
	}
	
	 .loading-animation-text {
    writing-mode: vertical-rl; /* 縦書き */
    text-orientation: upright; /* 文字を立てる */
    font-size: 10vw;
    border-right: none; /* 横書きカーソル無効 */
    border-bottom: 2px solid #333; /* 縦書きカーソル */
    animation: typewriter-vertical 4s steps(40) 1s 1 normal both,
      blinkTextCursorVertical 500ms steps(40) infinite normal;
  }

  /* 縦書きアニメーション */
  @keyframes typewriter-vertical {
    from {
      max-height: 0;
    }
    to {
      max-height: 100vh;
    }
  }

  @keyframes blinkTextCursorVertical {
    from {
      border-bottom-color: #333;
    }
    to {
      border-bottom-color: transparent;
    }
  }


/* CSS Document */
