/* スマホCSSここから*/

@media (max-width: 600px) {
	
.invisible-sp {
display: none;
}

img {
width:100%;
height:100%;	
	
	}


body {
text-align: center;
font-family: メイリオ, Meiryo, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Osaka, "ＭＳ Ｐゴシック", "MS PGothic", Verdana, sans-serif;
-webkit-text-size-adjust:100%;
background:#ffffff;
}	
	

#dmm_ntgnavi {
  position: relative;
  z-index: 1000;
}

/* CSS Document */
/* ========================= [ #dmm_ntgnavi ] */
#dmm_ntgnavi {
  background: url(../images_td05/bg_navimain.gif) center center repeat-x #ffffff;
  border-bottom: 1px solid #ccc;
  border-top: 1px solid #ccc;
  font-size: 12px;
  font-family: 'メイリオ', 'Meiryo', 'Hiragino Kaku Gothic Pro', 'ヒラギノ角ゴ Pro W3', 'ＭＳ Ｐゴシック', Verdana, sans-serif;
  display: flex;
  justify-content: space-between;
}

#dmm_ntgnavi ul {
  list-style: none;
  margin: 2px 0;
  padding: 0;
  display: flex;
}

#dmm_ntgnavi ul li {
  margin: 0 6px 0 0;
  line-height: 15px;
}

#dmm_ntgnavi ul.navi_left {
  flex-grow: 2;
}

#dmm_ntgnavi ul.navi_left li a {
  display: block;
  padding: 0 3px 0 8px;
  text-decoration: none;
  border: 1px solid #eee;
  border-radius: 3px;
}

#dmm_ntgnavi ul.navi_left li a:hover {
  background: #eee;
  border: 1px solid #666;
  border-radius: 3px;
}

#dmm_ntgnavi ul.navi_left li a > span {
  display: block;
  padding: 9px 10px 7px 28px;
  color: #333;
  font-weight: bold;
  white-space: nowrap;
}

#dmm_ntgnavi ul.navi_left li.dmm_top img {
  margin: 8px 5px 8px 0;
}

#dmm_ntgnavi ul.navi_left li.ntg_top {
  margin-left: 10px;
}

#dmm_ntgnavi ul.navi_left li.ntg_top a > span {
  background: url(../images_td05/bg_bt_olgtop.gif) 0 center no-repeat;
}

#dmm_ntgnavi ul.navi_left li.ntg_chip a > span {
  background: url(../images_td05/bg_bt_chip.gif) 0 center no-repeat;
  letter-spacing: 0.05em;
}

#dmm_ntgnavi ul.navi_left li.ntg_poi a > span {
  background: url(../images_td05/bg_bt_point.gif) 0 center no-repeat;
  letter-spacing: 0.05em;
}

#dmm_ntgnavi ul.navi_right {
  flex-grow: 1;
  justify-content: flex-end;
  font-size: 10px;
}

#dmm_ntgnavi ul.navi_right li {
  margin: 0 10px 0 0;
  padding: 8px 5px;
}

#dmm_ntgnavi ul.navi_right li.ntg_chip, #dmm_ntgnavi ul.navi_right li.ntg_poi {
  display: none;
}

#dmm_ntgnavi .arrow {
  padding-left: 14px;
  background: url(../images_td05/arrow_common.gif) no-repeat left center;
  color: initial;
  text-decoration: underline;
}

#dmm_ntgnavi .tx-point {
  font-size: 16px;
  font-weight: bold;
  color: #ff4b4b !important;
}

#dmm_ntgnavi p {
  margin: 0;
  line-height: 2.6em;
}

#dmm_ntgnavi .clear {
  clear: both;
}

@media (max-width: 960px) {
  #dmm_ntgnavi ul {
    justify-content: space-between;
  }
  #dmm_ntgnavi ul.navi_left {
    flex-grow: 2;
  }
  #dmm_ntgnavi ul.navi_left li.ntg_top a > span > span {
    display: none;
  }
  #dmm_ntgnavi ul.navi_left li.ntg_chip, #dmm_ntgnavi ul.navi_left li.ntg_poi {
    display: none;
  }
  #dmm_ntgnavi ul.navi_right li {
    display: none;
  }
  #dmm_ntgnavi ul.navi_right li.ntg_chip, #dmm_ntgnavi ul.navi_right li.ntg_poi {
    display: list-item;
  }
}	
	
	
	
	
/*bgvideo*/
.bg_media {
	max-width:640px;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index:-2;
    opacity: 0.5;
	overflow: hidden;
	background: #FFFFFF;
}	
	
		

.bg_media video {
    width:100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    -o-object-fit: cover;
    object-fit: cover;
	overflow: hidden;
	background: #FFFFFF;
}
	

	
	
button{
  padding: 0;
  border: none;
  outline: none;
  font: inherit;
  color: inherit;
  background: none;
}	
	
.menu-container {
 position: relative;
 width:100%;
}

.menu-button {
  width: 45px;
  height: 45px;
  border: none;
  cursor: pointer;
  position: fixed;
  top: 50px;
  right: 10px;
  z-index: 900;
}

.menu {
  margin: 0;
  padding: 0;
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  background: url("../images_td05/sp/menu_bg.webp") no-repeat center bottom;
  background-size: cover;
  z-index: 1001;
}

.menu.open {
  display: block;
  animation: slideIn 0.3s ease;
}
	
.close-button {
  width: 40px;
  height: 40px;
  background: url("../images_td05/sp/menu_close.webp") no-repeat center center;
  background-size: contain;
  border: none;
  cursor: pointer;
  position: fixed;
  top: 1.5%; /* 同じ位置に配置するための値を設定します */
  right: 10px; /* 同じ位置に配置するための値を設定します */
}
	
.menu_list{
  margin:10% auto 10% auto;
  }
	
.menu_list li{
margin:4% auto 0% auto;
}

.menu_list li img{
width: 80%;
}
  

/* .menu_list li:first-child{
margin:15% auto 0 auto;
}
	

.menu_list li:last-child{
margin:5% auto 10% auto;
}	
	 */

	
@keyframes slideIn {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}	
	
		
	

/*FV*/

#fv{
width:100%;
background:url(../images_td05/fv_img.webp) no-repeat center top;
background-size:cover;
}

#fv .fv_logo{
margin:45% 0% 2% 0%;
width: 28%;
}
	
#fv_caption_erea .fv_caption{
margin:1.5% auto 0% auto;
width:100%;
}
		
	
	
#present{
margin:8% auto 0% auto;
width:100%;
background: url("../images_td05/sp/cp1_box.webp") no-repeat center;
background-size:contain;
overflow: visible;
}
		

#present .present_capt01{
margin:0% 2% 2% auto; 
width:75%;
position: relative;
overflow: visible;
}	
	
	
	
/*プレゼントキャンペーン*/	

#present .present_capt02{
margin:2% auto 3% auto;
width:85%;
}			
		
#present .present_capt03{
margin:0% auto 0% auto;
width:85%;
}	

	
#present .present_btn{
margin:6% auto 8% auto;
width:85%;
}

#present a:hover{
  filter: brightness(120%);
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all  0.3s ease;			
  }



/*ゲームボタン遷移*/
	
#link_game_btn{
margin:8% auto 0% auto;
width:100%;
background: url("../images_td05/sp/cp2_box.webp") no-repeat center;
background-size:contain;
overflow: visible;
}	
	
#link_game_btn .capt01{
margin:0% auto 0% 2%;
width:70%;
}	
	
	
#link_game_btn li{
margin:7% auto 0% auto;
width:82%;
}	
	
#link_game_btn li .btn{
margin:5% auto 1% auto;
width:78%;
height: auto;
}		
		
	
#link_game_btn li:last-child{
margin:7% auto 9% auto;
}

#link_game_btn a:hover{
  filter: brightness(120%);
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all  0.3s ease;			
  }


#cp3_4 .cp3_4_1{
  margin:10% auto 0% auto;
  width: 95%;
}

#cp3_4 .cp3_4_2{
  margin:10% auto 10% auto;
  width: 95%;
}
	
	
	
/*about*/	
	
#about {
margin:0% auto 0% auto;
padding-bottom: 5%;
width:100%;
background: url("../images_td05/sp/about_bg.webp") no-repeat center;
background-size:cover;
}
	
	
#about .capt01{
margin:8% auto 3% auto;
width:97%;
}	

.about-schedule-cap{
  width: 80%;
  margin: 2% auto 3% auto;
}
.about-schedule-list p{
  width: 90%;
  margin: 0% auto 3% auto;
}


/*story*/		
	
#story{
margin: 0% auto 0% auto;
padding-bottom: 5%;
width: 100%;
background: url("../images_td05/sp/story_bg.webp") no-repeat center;
background-size:cover;
}	

#story .capt01{
width: 95%;
margin: 6% auto 5% auto;
}	

#story .story-btn{
width: 70%;
margin: 55% auto 3% auto;
cursor: pointer;
}

#story .story-btn:hover{
  filter: brightness(120%);
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all  0.3s ease;			
  }


	
.bg_erea{
margin:0;
top: 0;
left: 0;
max-width: 100%;
width:100%;
height:100%;
position:relative;
z-index:3;
text-align: center;
background-size: cover;
object-fit: cover;
overflow: hidden;
}	
	
	
	
/*pv*/	
#pv{
padding-bottom: 5%;
}	
	
#pv .capt01{
margin:15% auto 5% auto;
width:85%;
}	
	
#pv .pic01{
margin:15% auto 0% auto;
width:40%;
cursor: pointer;
}	

#pv .pic01:hover{
  filter: brightness(120%);
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all  0.3s ease;			
  }

	
#pv #overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 999;
}

#pv #video-popup {
   display: block;
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  padding: 0;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  width: 95%;
  z-index: 9999;
  max-width:800px;
  overflow: visible;
}

	
#pv #popup-video {
  width: 100%; 
  height: auto;
  object-fit: contain; 

}
	

#pv #close-button {
 margin:0% 0% 0% -9%;
 width:10%;
 height:auto;	
 position: absolute;
 top: -50px;
 right:auto;
 font-size: 20px;
 z-index: 9999;
}			
	
#pv .capt02{
margin:15% auto 0 auto;
width:90%;
}		
	

	
/*pack*/

#pack{
  margin: 0 auto;
  padding-bottom: 8%;
  width: 100%;
  background: url("../images_td05/sp/pack_bg.webp")repeat center;
  background-size: 10%;
}

#pack .capt01{
  margin: 8% auto 7% auto;
  width: 95%;
}
#pack .pack-packlist-box{
  width: 95%;
  height: auto;
  background: url("../images_td05/sp/pack_packlist_box.webp")no-repeat center;
  background-size: contain;
}

#pack .pack-packlist-capt{
  width: 92%;
  margin: 0% auto 5% auto;
}

#pack .pack-packlist{
  margin: 7% auto;
}

#pack .pack-packlist img{
  width: 86%;
  margin: 3% auto 3% auto;
  cursor: pointer;
}

#pack .pack-packlist li:hover{
  filter: brightness(120%);
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all  0.3s ease;			
  }


#pack .pack-omake-capt1{
  width: 93%;
  margin: 7% auto 0% auto;
}

#pack .pack-omake{
  width: 95%;
  height: auto;
  background: url("../images_td05/sp/pack_omake_box.webp")no-repeat center;
  background-size: contain;
}

#pack .pack-omake-capt2{
  width: 92%;
  margin: 5% auto 0 auto;
}

#pack .pack-omake-item{
  width: 75%;
  height: auto;
  margin: 7% 0 5% 5%;
}

#pack .pack-omake-capt3{
  width: 90%;
  height: auto;
  margin: 0% auto 9% auto;
}
	


/*illust*/		

#illust{
margin:0% auto 0% auto;
padding-bottom: 8%;
background: url("../images_td05/sp/illust_bg.webp") repeat top;
background-size:70%;
}	
	
#illust .capt01{
margin:8% auto 5% auto;
width: 95%;
}

#illust ul{
display: flex;
flex-wrap: wrap;
width: 95%;
}	

#illust li{
margin:2% auto;
width:47%;
}	

#illust li:hover{
filter: brightness(120%);
-webkit-transition: all 0.3s ease;
-moz-transition: all 0.3s ease;
-o-transition: all 0.3s ease;
transition: all  0.3s ease;			
}

#illust .illust-old-capt{
  margin: 5% auto;
  width: 95%;
}

#illust .illust-old-capt{
  margin: 5% auto 3% auto;
  width: 95%;
}
	
	
/*other*/	

#other{
margin:10% auto 0% auto;
}


#other .capt01{
width: 95%;
margin:0% auto 0% auto;
}	
	
#other .pic01{
margin:5% auto 15% auto;
width:95%;
}		
	

#footer_list{
margin:20% auto 10% auto;
clear:both;
}

#footer_list li{
margin:3% 4%  3%  4%;
float: left;
}

#footer{
margin:0% 0% 0% 0%;
padding:2% 0% 2% 0%;
clear:both;
color:#fff;
background:#4d327d;
}


#page_btn {
	width:27%;
    position: fixed;
    right: 10px;
    bottom: 0;
    z-index: 100;
}

#image-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 999;
}

#image-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1000;
  width: 95%;
  max-width:800px;
  overflow-y: auto;
  max-height: 100vh; 
   -ms-overflow-style: none; 
   scrollbar-width: none;
}

#popup-image {
  width:100%;
  margin: 10% auto;
  height: auto;
}

#close-image-popup {
 margin:0% 0% 0% -10%;
 width:10%;
 height:auto;	
 position: absolute;
 top: 2%;
 right:auto;
 font-size: 20px;
 z-index: 9999;
 cursor: pointer;
}	
	

 }

