@charset "UTF-8";
/* CSS Document */

/* ========================= [ base ] */

body,
div,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
code,
form,
fieldset,
legend,
input,
button,
textarea,
p,
blockquote,
th,
td {
margin: 0 auto;
padding: 0;
overflow-x: hidden;
overflow: visible;
}

ul,
ol,
dl {
list-style: none;
}

img {
vertical-align:top;
}

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


a,a:hover,a:visited{
    color: inherit;
	cursor: pointer;
	text-decoration: none;
}


button{
        background-color: transparent;
        border: none;
        cursor: pointer;
        outline: none;
        padding: 0;
        appearance: none;
}

*,
::before,
::after {
  background-repeat: no-repeat; /* Set `background-repeat: no-repeat` to all elements and pseudo elements */
  box-sizing: inherit;
}

::before,
::after {
  text-decoration: inherit; /* Inherit text-decoration and vertical align to ::before and ::after pseudo elements */
  vertical-align: inherit;
}

* {
  padding: 0; /* Reset `padding` and `margin` of all elements */
  margin: 0;
}


@media (min-width: 600px) {



.invisible-pc {
display: none;
}



#dmm_ntgnavi {
    background: url(../images/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;
    width: 50%;
}

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

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

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

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

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

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

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

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

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

#dmm_ntgnavi .arrow {
    padding-left: 14px;
    background: url(../images/arrow_common.gif) no-repeat left center;
}

#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;
}

/*bgvideo*/
.bg_media {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index:-2;
    text-align: center;
    background-size: cover;
    object-fit: cover;
    overflow: hidden;
    opacity:0.5;
    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;
        opacity:0.8;
        background: #FFFFFF;
    }

header {
    margin: 0 auto 0 auto;
    padding-bottom: 100px;
    width: 100%;
    height: auto;
    background: url("../images/fv_btnbackground.webp") no-repeat center;
    background-size: 1920px 153px;
    background-position: top;
    color: #fff;
    text-align: center;
    z-index: 100;
    position: fixed; /* ヘッダーを固定 */
    top: 0; /* 画面上部に固定 */
    width: 100%; 
    display: block;
    transition: .3s;
    transform: translateY(-100%); /* ヘッダーを初めは隠す */
    pointer-events: none;
}

.menu-wrapper {
    pointer-events: auto;
  }

header.slideDown {
    transform: translateY(0); /* スライドダウンエフェクト */
    transition: 0.5s; /* トランジションの時間を指定 */
}
	
#header_box {
    margin:0px auto 0px auto;
    max-width:1325px;
    width: 100%;
    overflow: hidden;
}

nav ul {
    margin:0px auto 0px auto;
    justify-content: center;
    display: flex;
}

nav li{
    margin: 5px; /* 上下左右のマージン */
    text-align: center; /* 画像を中央揃え */
}

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

#header_box 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;	
    }

#fv {
    background: url(../images/fv_keyvisual.webp) no-repeat center;
    background-size: 1920px 1080px;
    height: 1250px;
    top: -85px;
    position: relative;
    z-index: 0; /* z-index を 0 に変更 */
	overflow:hidden;
}
	
#fv .title .capt01 {
    position: relative;
    margin: 0px auto 0px auto;
    top: 400px;
}    
    
#fv .title .button-image {
    position: relative; 
    margin: 350px auto 0 auto; 
}
    

#fv .title .button-image-on { 
    display: none; 
    position:relative;
    top: 350px; /* gameplay_btn.webp の margin-top と同じ値 */
    left: 50%; /* 中央寄せにする場合は 50% */
    margin-left: -361.5px; /* 画像の幅の半分を左にずらす */
    z-index: 2;
}

#fv .title a:hover .button-image { /* マウスオーバー時のbutton-imageのスタイル */
    display: none; /* 通常の画像は非表示にする */
}

#fv .title a:hover .button-image-on { /* マウスオーバー時のbutton-image-onのスタイル */
    display: block; /* マウスオーバー時に表示 */
    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;
}



#background-rap {
    background-image: url("../images/background.webp") ;
    background-repeat: repeat;
    background-size: 40%;
}
	
#newgame .btnbutton-image: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;	
    }



#newgame {
    background: url(../images/fv_background.webp) no-repeat center;
    background-size: cover;
    position: relative;
    top: -350px;
    width: 100vw;
    z-index: 20; /* #fv より上に表示 */
    padding-bottom: 200px;
}

#newgame .btn {
    padding-top: 70px;
    width: 100%;
    height: auto;
}

#newgame .button-image: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;	
    }

#newgame .title{
    margin: 50px auto 0 auto;
    width: 100%;
    height: auto;
}

#newgame .detail .info {
    display: flex;
    flex-direction: column; /* 縦方向に配置 */
}

#newgame .detail .info .upper-row {
    display: flex;
    justify-content: space-around;
    gap: 30px; /* アイテム間に10pxの隙間を作る */
}

#newgame .detail .info .lower-row {
    display: flex;
    justify-content: space-around;
    gap: 30px; /* アイテム間に10pxの隙間を作る */
    margin: 40px auto 0 auto;
}

#newgame .detail .info .btn-container {
    margin: 15px auto 0 auto;
}

#newgame .detail .info .btn-container .google-play-button {
    width: 50%;
    height: auto;
}

#overview {
    background: url(../images/overview_background.webp) no-repeat center;
    background-size: cover;
    margin: -350px auto 0px auto;
    width: 100%;
    height: 870px;
    z-index: 100;
}

#overview .title h2 {
    position: relative; /* #overview を基準とした位置に配置 */
    top: -85px;
}

#overview .detail {
    position: relative; /* #overview を基準とした位置に配置 */
    top: -130px;
}

#overview .text {
    position: relative; /* #overview を基準とした位置に配置 */
    top: -35px;
}

#overview .btn {
    position: relative; /* #overview を基準とした位置に配置 */
    margin: 0px auto 10px auto;
}

#overview .button-image: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;	
    }

#overview .popup-image {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 100;
}

#overview .popup-image img {
    width: 60%;
    height: auto;
}


#overview .popup-image {
    overflow: auto; /* スクロールできるようにする */
}



#overview .popup-image .close-button {
    position: absolute;
    top: 20px;
    right: 10%;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

#term {
    margin: 25px auto 0 auto;
    width: 100%;
    height: auto;
}

#collaboration .title {
    margin: 65px auto -40px auto;
    width: 100%;
    height: auto;
}

#collaboration .detail p {
    margin-top: 50px; /* 上マージンを20pxに設定 */
    margin-bottom: 50px; /* 下マージンを20pxに設定 */
}

#campaign {
    margin: 0 auto 0 auto;
    top: -100px;
    width: 100%;
    height: 1020px;
    z-index: 20;
    position: relative;
}
    
#campaign .title img {
    margin-top: 140px;
}

#campaign .detail img {
    margin-top: -60px;
}

#campaign .btn img {
    margin-top: 40px; 
}



#reward .title {
    margin: 0px auto 0px auto;
    width: 100%;
    height: auto;
}

#reward .detail {
    margin: 20px auto 30px auto;
}

#reward .reward_title {
    display: flex;
    margin: 20px auto 35px auto;
}

#reward .reward_title ul {
    display: flex;
}


#reward .reward_title ul.sp {
    display: none;
    
}


#reward .reward_title li {
    margin: 0 5px;
}

#reward .reward_title 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;	
    }


#reward .reward_image .image-container {
    display: none; /* 初期状態ではすべての画像を非表示 */
    width: 100%;
}

#reward .reward_image .image-container.active {
    display: block; /* activeクラスが付いた画像のみを表示 */
}

#reward .reward_image .button-container {
    display: flex;
    justify-content: center;
    margin-top: -125px;
}

#reward .reward_image .button-container img {
    margin: 0 20px 0 20px;

}

/* playerオーバーレイ */
.popup-overlay {
    position: fixed;
    top: 0; 
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    display: none; /* 初期は非表示 */
    justify-content: center;
    align-items: center;
    z-index: 9999;
  }

 
  .popup-content {
    position: relative;
    background: #fff;
    width: 80%;
    max-width: 600px;
    height: 70vh;
    border-radius: 8px;
    overflow: hidden; 
  }

  .popup-content iframe {
    width: 100%;
    height: 100%;
    border: none;
  }

#reward .reward_image .button-container 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;	
    }


#background-rap-2 {
    background-image: url("../images/background.webp") ;
    background-repeat: repeat;
    background-size: 40%;
    position: relative;
    margin-top: 30px;
}

#chara_intro {
    width: 100%;
    height: auto;
}


#chara_intro .title img{
    margin: 70px auto 0px auto;
}

#chara_intro .title img{
    top: 50px;
}

#chara_intro .detail {
    margin: 20px auto 30px auto;
}

#chara_intro .reward_title {
    display: flex;
    margin: 20px auto 35px auto;
}

#chara_intro .reward_title ul {
    display: flex;
    
}

#chara_intro .reward_title ul.sp {
    display: none;
}

#chara_intro .reward_title li {
    margin: 0 5px;
}

#chara_intro .chara_image {
    margin-left: 5%;
}

#chara_intro .chara_image .image-container {
    display: none; /* 初期状態では非表示 */
}

#chara_intro .chara_image .image-container.active {
    display: block; /* activeクラスが付いたら表示 */
}

#chara_intro .chara_image .image-container img {
    width: 234px; /* 画像の幅を指定 */
    height: auto; /* 高さを自動調整 */
    margin: 20px 10px 20px 10px;
}

#chara_intro .chara_image img:nth-child(odd) { /* 奇数番目の画像 */
    transform: translateY(-20px); /* 上に20pxずらす */
}

#chara_intro .chara_image img:nth-child(even) { /* 偶数番目の画像 */
    transform: translateY(20px); /* 下に20pxずらす */
}



#chara_intro 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;	
    }

#chara_intro .image-container .button-image: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 {
    margin: 20px auto 0 auto;
    top: 180px;
    width: 952px;
    height: 806px;
    background: url(../images/pack_background.webp) no-repeat center;
    background-size: cover;
    position: relative;
}

#pack .title .capt01 {
    margin: -200px auto 80px auto;
    width: 100%;
    height: auto;
    position: relative;
}

#pack .detail li {
    display: inline-block;
    margin:12px 1px 12px 1px;
}

#pack .detail .image-container {
    margin: 0 auto 0 auto;
    position: relative;
}

#pack .popup-image {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 100;
}

#pack .popup-image {
    overflow: auto; /* スクロールできるようにする */
}

#pack .popup-image img {
    width: 60%;
    height: auto;
}

#pack .popup-image .close-button {
    position: absolute;
    top: 20px; /* 上からの位置 */
    right: 10%; /* 右からの位置 */
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

#pack .image-container img: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 {
    top: 200px;
    margin:50px auto 0px auto;
    width:100%;
    height:auto;
    position: relative;
    }	
        
#pv .title {
    margin:80px auto 0px auto;
    }	

#pv .pic01{
    margin:20px auto 0px auto;
    }		
    
        
#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: 1100;
    overflow: visible;
    }
    
#pv #video-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1200;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    overflow: visible;
    }
    
#pv #popup-video {
    width: 900px; 
    }
    
#pv #close-button {
    position: fixed;
    top: -20px; 
    right: -10px;
    cursor: pointer;
    z-index: 1200;
    }

#pv .info {
    margin:20px auto 180px auto;
    }



/*illustration*/	
	
#illustration{
    margin:0px auto 0px auto;
    width:1150px;
    height:auto;
    }
        
#illustration .capt01{
    margin:100px auto 50px auto;
    }
        
#illustration .btn li{
    margin:10px 5px 10px 5px;
    display:inline-block;
    }
        
    #illustration 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;	
    }		
        
            
    /*sns*/
    
    
#sns	{
    margin:0px auto 50px auto;
    width:1000px;
    height:auto;
    }
        
#sns .capt01{
    margin:100px auto 50px auto;
    }
        
#sns .btn li{
    margin:10px 11px 10px 11px;
    display:inline-block;
    }
        
#sns 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;	
    }





    /* 画像popup */
.img-popup {
    display: none; /* 初期は非表示 */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* 背景の半透明レイヤー */
    z-index: 9999;
  }
  
  
  .img-popup.show {
    display: block;
  }
  
  
  .img-popup-inner {
    position: relative;
    width:1100px;
    margin: 50px auto 100px auto;
    padding:0px 0px 0px 0px;
    max-height: 100vh; /* 画面の高さを超えたらスクロール */
    overflow: auto;
  }
  
  .img-popup-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: transparent;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
  }
  
  
  .img-popup-content {
    margin:0px 0px 50px 0px;
    overflow-y: auto; /* 縦にスクロール可能 */
  }
  
  
  .img-popup-trigger {
    display: inline-block;
    margin: 10px;
    cursor: pointer;
  }

#page_btn {
    position: fixed;
    right: 50px;
    bottom: 0;
    z-index: 99;
}
    
    
#page_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;	
}

.common-footer .copy{
    position: relative;
    top:40px;
    color:#757575;
    font-size:14px;
    z-index: 2;
}

footer{
    position: relative;
    z-index: 98;
    background: #fff;
    height: 100px;
    }

    
@media screen and (max-width:768px){
.common-footer{
    flex-direction:column;
    text-align:center;
}
.common-footer p{
    margin-top:20px;
    font-size:10px;
}
    }

	}