

@media screen and (max-width: 767px) {
	html {
		height: 100%;
	}

	body {
		height: 100%;

	}

	.sp {
		display: inline-block;
	}

	.sp_b {
		display: block;
	}

	.vsp {
		display: none;
	}

	.pc,
	.pc_b {
		display: none;
	}

	/*-----Loading-------*/
	#loading {
		position: fixed;
		width: 100%;
		height: 100%;
		top: 0;
		z-index: 999;
		background: #000;
		text-align: center;
		color: #fff;
		display: none;
	}

	#loading_logo {
		position: absolute;
		width: 100%;
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%);
	}

	#loading_logo img {
		width: 90%;
		height: auto;
	}
	


	/*-----Main-------*/
	main{
		min-width:inherit;
	}

	#top_sp_box {
		width: 100%;
		/* margin-top: 4.6rem; */
	}


	.top_cc_sp,
	.top_logo_sp,
	.top_txt_sp{
		width: 100%;
		height: auto;
		position: absolute;
		margin-top: 0px;
		margin-left: 0px;
		z-index: 20;
	}

	.top_bg_sp {
		width: 100%;
		height: auto;
		margin-top: 0px;
		margin-left: 0px;
		display: block;
		z-index: 10;
	}

	/*------- top_bnr_box ----------------*/
	#top_bnr_box{
		padding-top: 30px;
		padding-bottom: 20px;
	}

	.bnr_senkou,
	.bnr_senkouB{
		width: 60%;
		height: auto;
		margin: 0 5px 10px;
	}


	
	.top_bl{
		width: 90%;
		height: auto;
	}

	#bnr_sp_box {
		width: 100%;
		text-align: center;
	}

	#bnr_sp_box img {
		display: block;
		margin: 0 auto 10px auto;
	}

	#trailer_sp_box {
		width: 100%;
		text-align: center;
		margin: 0px;
		background-color: #000;
		padding-top: 20px;
		padding-bottom: 20px;
		
	}

	#trailer_sp_box h3 {
		margin-top: 30px;
		margin-bottom: 30px;
		color: #681a9d;
}
	
	#trailer_sp_box iframe {
		width: 90%;
		height: calc(100vw * 0.6);
		margin: 0 auto;
	}


	.movie_nav {
		width: 90%;
		display: -webkit-flex;
		display: flex;
		-webkit-flex-wrap: wrap;
		flex-wrap: wrap;
		margin-top: 7px;
		margin-right: auto;
		margin-left: auto;
		margin-bottom: 0;
		padding: 0;
	}

	.movie_nav_box {
		width: 50%;
		padding: 1px;
	}

	.movie_nav_box_long {
		width: 100%;
		padding: 1px;
	}

	.movie_nav_btn {
		display: block;
		min-height: 40px;
		line-height: 40px;
		letter-spacing: 3px;
		text-align: center;
		text-decoration: none;
		background-color: #D5D5D5;
		/*  font-family: 'Noto Sans JP', serif;*/
	}

	.movie_nav_btn.selected {
		background-color: #000000;
	}

	a.movie_nav_btn:link,
	a.movie_nav_btn:visited {
		color: #000000;
	}

	a.movie_nav_btn.selected:link,
	a.movie_nav_btn.selected:visited {
		color: #fff;
	}





	#ftr_sp_box {
		width: 100%;
		text-align: center;
		padding-bottom: 20px;
		display: none;
	}
	

	.pre_bl_sp {
		width: 95%;
		height: auto;
		display: block;
		margin: 0 auto;
	}

	#ftr_sp_bnr {
		width: 100%;
		text-align: center;
		padding-top: 15px;
	}

	#ftr_sp_bnr img {
		width: 90%;
		margin: 0 auto 8px auto;
	}

	#top_tw {
		margin-top: 15px;
		margin-bottom: 0px;
		padding-right: 0px;
		padding-left: 0px;
		padding-bottom: 10px;
		display: flex;
		justify-content: center;
		flex-wrap: wrap;
	}


	.sns {
		margin-top: 0px;
		margin-right: 5px;
		margin-bottom: 0;
		margin-left: 0;
	}




	.tw {
		margin-top: 0px;
		margin-right: 0px;
		margin-left: 5px;
		margin-bottom: 5px;

	}

	.btn_filmarks{
		height: 20px;
		width: auto;;
	}


	.eigacom {
		margin-left: 0px;
		text-align: left;
		float: left;
		margin-top: 0px;

		/*		width: 36px;*/
	}
	

	/*------- SUB PAGE ----------------*/
	.sub_box {
		min-width: inherit;
	}

	.in_box {
		width: 100%;
	}

	h3{
		margin-bottom: 30px;
	}
	
	.txt_box{
		font-size: 12pt;
		line-height: 2em;
	}
	
		/*----------PHOTO SCROLL------------*/

	#slide_photo_pc1 {
		width: 100%;
		height: 150px;
		background: repeat-x url("../images/images/scrl_1_sp.jpg") left top/auto 100%;
		animation: loop-sp infinite 40s linear;
		z-index: 20;
	}

	@keyframes loop-sp {
		0% {
			background-position: 0 0;
		}

		100% {
			background-position: -1450px 0;
		}
	}

	/*------- Introduction ----------------*/

	#intro_box {
	padding-bottom: 10%;
	}


	#intro_box h3{
		font-size: 4vw;
	}

	.chirasiura_txt1{
		margin-top: 8%;
	}

	h3.story{
		margin-top: 83%;
	}

	

	/*------- Story ----------------*/
	#story_box {
		padding-bottom: 50px;
	}

	.story_lead{
		font-size: 15pt;
		line-height: 2.0em;
		margin-bottom: 30px;
		text-align: center;
	}
	
	#story_box .txt_box{
		text-align: left;
		line-height: 2.7em;
	}

	/*------- Director ----------------*/
	#director_box{
		padding-bottom: 50px;
		background-image: url('../images/director_bg_sp.jpg');
	}
	
	.director_pt1{
		width: 70%;
		height: auto;;
	}

	#director_box .cast_name{
		margin-bottom: 30px;
	}

	#director_box  .prof_cmt_box{
		padding: 20px 20px 25px;
	}
	

	/*------- Cast ----------------*/
	#cast_box{
		padding-bottom: 30px;
		background-image: url('../images/cast_bg_sp.jpg');
	}

	#cast_box .txt_box{
/*		display: block;*/
		justify-content: center;
	}
	
	.prof_btn{
		width: 45%;
		margin: 0 2% 50px;
	}
	
	.cast_pbox{
		width: 100%;
		margin-bottom: 10px;
	}
	
	.cast_name{
		font-size: 16pt;
	}
	
	#cast_box .cast_name small{
		display: block;
	}
	
	.pc_btn{
		width: 90%;
		height:auto;
		line-height: 1.6em;
		font-size: 9pt;
		margin: 10px auto 0;
		padding: 5px 0;
	}

	/*----------STAFF------------*/
	#staff_box{
		background-image: url('../images/staff_bg_sp.jpg');
		padding-top: 1px;
		height: auto;
		min-height: inherit;
		max-height: inherit;
	}

	#staff_box .txt_box{
		width: 100%;
	}

	#staff_box .cast_name{
		font-size: 13pt;
		line-height: 1.4em;;
	}

	#staff_box .cast_name small{
		display: block;
	}


	/*----------Profile Mado------------*/

	.prof_mados {
		padding: 30px 20px 30px;
		font-size: 11pt;
		line-height: 1.7em;
	}
	
	.cast_flex{
		display: block;
	}
	
	.cast_ptS{
		width: 70%;
		height: auto;
		margin: 0 auto 20px;
	}
	
	

	.cast_madotxt {
		text-align: justify;
		text-justify: inter-ideograph;
	}


	.prof_mados .cast_name {
		font-size: 18pt;
		margin-bottom: 15px;
		text-align: center;
	}

	.prof_mados .cast_name small {
		display: inline;
	}


	/*------- REVIEW ----------------*/
	#review_box{
		padding-top: 0;
		padding-bottom: 50px;
	}

	#review_box .in_box{
		margin-top: -41vw;
	}

	#review_box .txt_box{
		font-size: 16pt;
		line-height: 1.8em;
	}

}

@media screen and (max-width: 330px) {
	.vsp {
		display: inline-block;
	}

}
