body,
html {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    /* background-color: black; 背景色を黒に設定 */
    font-family: 'Noto Sans JP', sans-serif;
}

img {
    max-width: 100%;
}

.top-box {
    height: 100vh;
    color: white;
    min-height: 600px;
}

.box {
    color: white;
    height: 600px;
    /* background-color: white; */
    margin-bottom: 200px;
    position: relative;
    max-width: 1000px;
    margin-top: 100px;
}

@media screen and (max-width: 768px) {
    .box {
        height: 250px;
        margin-bottom: 50%;
    }
}

.store-img-box img {
    height: 60px;
}

@media screen and (max-width: 768px) {
    .store-img-box img {
        height: 40px;
    }
}

.kv-img {
    width: 100%;
    height: 100svh;
    padding: 0rem 2rem;
    position: relative;
    z-index: 0;
    overflow: hidden;
}

.kv-img::before {
    content: "";
    background: url(../img/kv_bg.jpg) center no-repeat;
    background-size: cover;
    position: absolute;
    top: -5px;
    bottom: -5px;
    left: -5px;
    right: -5px;
    /* opacity:0.4; */
    z-index: -1;
    filter: blur(3px);
}



/* ----- 背景用の動画ファイル ----- */
#bg-video {
    position: fixed;
    right: 0;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -100;
    /* background: url('poster.jpg') no-repeat; */
    background-size: cover;
}

/* ----- 背景の上に表示させたいコンテンツ ----- */
.header-title {
    position: relative;
    /*必ず必要*/
    z-index: 2;
    /*必ず必要*/
    display: flex;
    width: 50%;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: auto;
}

.wrap {
    height: 100vh;
    background: linear-gradient(-45deg, rgba(4, 114, 124, 0.4), rgba(17, 66, 99, 0.6));
}

.top-info-text img {
    height: 80px;
}

@media screen and (max-width: 768px) {
    .top-info-text img {
        height: auto;
    }
}

.bg_dots {
    transition: background-color .2s ease-in;
    background-image: url(../mov/bg_dots.png);
    background-repeat: repeat;
    background-position: left top;
    position: fixed;
    top: 0;
    z-index: -5;
    width: 100%;
    height: 100%;
    background-color: black;
    opacity: 0.5;
}

.video-wrap {
    position: fixed;
    top: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    z-index: -10;
}

.video-wrap>video {
    position: absolute;
    left: 50%;
    transform: translateX(-50%) translateY(0%);
    min-height: 100vh;
    min-width: 100vw;
}

.image-wrap {
    position: fixed;
    top: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    z-index: -10;
}

.image-wrap>img {
    position: absolute;
    left: 50%;
    transform: translateX(-50%) translateY(0%);
    min-height: 100vh;
    min-width: 100vw;
    object-fit: cover;
}

/* pc */
@media screen and (min-width: 769px) {
    .video-wrap {
        display: block;
    }

    .image-wrap {
        display: none;
    }
}

/* sp */
@media screen and (max-width: 768px) {
    .video-wrap {
        display: none;
    }

    .image-wrap {
        display: block;
    }
}


/* ----------------------- jisen ----------------------- */
.jizen .bg-box {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}

.bg-box-img {
    transition: background-color .2s ease-in;
    background-image: url(../img/jizen/jizen_bg.png);
    background-repeat: no-repeat;
    background-position: left top;
    background-size: 100% auto;
    position: absolute;
    top: 0;
    z-index: -1;
    width: 100%;
    padding-top: 61%;
    border-radius: 20px;
    /* width: 100%;
    height: 100%; */
}

@media screen and (max-width:768px) {
    .bg-box-img {
        background-size: 100% 100%;
        padding-top: 64%;
    }
}


.bg-box-bar {
    width: 100%;
    height: 100%;
    background-image: url(../img/bg/bg_bar.png);
    background-position: center top;
    background-repeat: repeat;
    position: relative;
    margin-bottom: 50px;
}

@media screen and (max-width:768px) {
    .bg-box-bar {
        margin-bottom: 50%;
    }
}

.bg-box-bar::before {
    content: "";
    display: block;
    position: absolute;
    width: 100%;
    background-position: center top;
    background-repeat: repeat-x;
    background-size: auto 100%;
    background-image: url(../img/bg/bg_bar_up.png);
    top: -15px;
    padding-top: 30px;
}

.bg-box-bar::after {
    content: "";
    display: block;
    position: absolute;
    width: 100%;
    background-position: center top;
    background-repeat: repeat-x;
    background-size: auto 100%;
    background-image: url(../img/bg/bg_bar_down.png);
    bottom: -20px;
    padding-top: 30px;
}

.jizen-title-text {
    position: absolute;
    top: -8%;
    left: 0;
    right: 0;
    width: 50%;
    margin: auto;
    z-index: 1;
}

@media screen and (max-width:768px) {
    .jizen-title-text {
        top: -8%;
    }
}


.jizen-chara {
    position: absolute;
    top: 4%;
    left: -5%;
    width: 54%;
}

.jizen-item {
    position: absolute;
    top: 2%;
    right: -2%;
    width: 50%;
}

@media screen and (max-width:768px) {
    .jizen-chara {
        left: 0%;
    }

    .jizen-item {
        right: 1%;
        width: 48%;
    }
}

/* ------------------ news -------------------- */
@media screen and (max-width:768px) {
    .news .box {
        height: auto;
        margin-bottom: 5%;
    }
}

.news-title-sns img,
.news-title-news img {
    height: 60px;
}

/* .news-sns-btn-box .bg-box-out{
    height: 305px;
} */
@media screen and (max-width:768px) {
    .news-sns-btn-box .bg-box-out {
        height: auto;
    }
}

.news-sns-inbox {
    height: 250px;
    min-height: 185px;
    width: 100%;
}

@media screen and (max-width:768px) {
    .news-sns-inbox {
        height: 20svh;
        min-height: 150px;
    }

    .news-sns-btn-box .news-sns-inbox {
        height: 15svh;
        min-height: 100px;
    }
}

.news-sns-btn img {
    width: 190px;
}

.news-title-news-box {
    width: 456px;
    height: 305px;
    position: relative;
    padding: 1.4rem;
    margin: auto;
}

.news-title-news-text-box {
    height: 100%;
    overflow-y: scroll;
    width: 99%;
    font-size: 0.8rem;
    padding: 0.5rem;
    color: black;
}

@media screen and (max-width:768px) {
    .news-title-news-text-box {
        height: 20svh;
        min-height: 150px;
    }
}


@media screen and (max-width:768px) {

    .news-title-sns img,
    .news-title-news img {
        height: 35px;
    }

    .news-title-sns,
    .news-title-news {
        margin-bottom: 10px !important;
    }

    .news-sns-btn {
        width: 50%;
        margin: 5px auto;
    }

    .news-sns-btn img {
        width: 120px;
    }

    .news-title-news-box {
        width: 300px;
        height: 200px;
    }
}

.d-news-title {
    padding-bottom: 3px;
}

.bg-box-out {
    background-color: black;
    border-radius: 20px;
    padding: 0.1rem;
}

.bg-box-in {
    background-color: black;
    border: 8px solid white;
    border-radius: 10px;
}

.gamesystem-box .bg-box-in {
    padding: 20px;
}

@media screen and (max-width:768px) {
    .bg-box-in {
        border: 6px solid white;
    }

    .gamesystem-box .bg-box-in {
        padding: 10px;
    }
}


.bg-box-in-1 {
    background: linear-gradient(0deg, rgb(254 221 128) 0%, rgb(245 186 81) 20%, rgb(255 233 140) 100%);
    /* background-color: black; */
    border-radius: 20px;
    padding: 8px;
    height: 100%;
}

.bg-box-in-2 {
    background-color: white;
    padding: 5px 5px;
    border-radius: 20px;
    border: 3px solid #ff8900;

    display: flex;
    flex-flow: column;
    align-items: center;
    margin: auto;
    justify-content: space-evenly;
    height: 100%;
}

@media screen and (max-width:768px) {
    .news-sns-btn-box .bg-box-out {
        height: auto;
        border-radius: 15px;
    }

    .bg-box-in-1 {
        padding: 5px;
        border-radius: 15px;
    }

    .bg-box-in-2 {
        border-radius: 15px;
        border: 2px solid #ff8900;
    }
}



/* ----------------------- game-info ----------------------- */
@media screen and (max-width:768px) {
    .game-info .box {
        height: 250px;
    }
}

@media screen and (max-width:768px) {
    .game-info .bg-box-img {
        background-size: 100% 100%;
        padding-top: 80%;
    }
}

.game-info .bg-box {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}

.gemeinfo-title-text {
    position: absolute;
    top: -6%;
    left: 0;
    right: 0;
    margin: auto;
    width: 40%;
    z-index: 1;
}

@media screen and (max-width:768px) {
    .gemeinfo-title-text {
        top: -5%;
    }
}

.slick-box {
    margin-top: 8%;
}

@media screen and (max-width:768px) {
    .slick-box {
        margin-top: 8%;
    }
}

.slider-nav .slick-slide {
    padding: 3px;
}

.slider-single .slick-slide img {
    border-radius: 10px;
    border: 3px solid white;
}

.slider-nav .slick-slide img {
    border-radius: 10px;
}

.game-info .bg-box-img {
    background-image: url(../img/game-info/gameinfo_bg.png);
}

.slick-prev:before {
    content: '◀️';
}

.slick-next:before {
    content: '▶️';
}

@media screen and (max-width:768px) {

    .slick-prev:before,
    .slick-next:before {
        font-size: 15px;
    }
}

/* ----------------------- footer ------------------------ */
footer {
    font-size: 0.8rem;
    background-color: black;
}

.footer-store-info-bnr img {
    height: 45px;
    margin: auto 10px;
}

@media screen and (max-width:768px) {
    .footer-store-info-bnr img {
        height: 35px;
        margin: auto 5px;
    }
}

.footer-store-text-box {
    width: 760px;
    margin: auto;
}

@media screen and (max-width:768px) {
    .footer-store-text-box {
        width: 100%;
    }
}

.footer-store-text-box table {
    width: 390px;
    margin: auto;
    border-collapse: separate;
    border: 1px solid white;
    border-radius: 15px;
    padding: 10px 1px;
}

@media screen and (max-width:768px) {
    .footer-store-text-box table {
        width: 90%;
    }
}

.footer-store-text-box table td {
    /* border-bottom:2px solid white;
	border-right:2px solid white; */
}

.footer-store-text-box table td {
    padding: 0 5spx;
}

.footer-store-text-box table td {
    border-radius: 18px 0 0 0;
}

.footer-store-text-box table td:last-child {
    border-radius: 0 18px 0 0;
}

.footer-store-text-box table tr:last-child td {
    border-radius: 0 0 0 18px;
}

.footer-store-text-box table tr:last-child td:last-child {
    border-radius: 0 0 18px 0;
}

.footer-store-icon {
    border-radius: 5px;
}


/* ------------------------ お知らせモーダル表示 -------------------- */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .6);
    opacity: 0;
    visibility: hidden;
    transition: all .3s;
    z-index: 9;
}

.overlay.show {
    opacity: 1;
    visibility: visible;
}

.mordalContents {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #eee;
    border-radius: 15px;
    width: 450px;
    /* height: 450px; */
    max-height: 75svh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* row-gap: 65px; */
    row-gap: 3px;
    opacity: 0;
    visibility: hidden;
    transition: all .3s;
    z-index: 10;
    padding: 15px;
}

.mordalContents.open {
    opacity: 1;
    visibility: visible;
}

.mordalContents p {
    overflow-y: auto;
}

.btn {
    width: 150px;
    height: 40px;
    display: block;
    margin: 0 auto;
    border-radius: 10px;
    color: #fff;
    text-align: center;
}

.btn:hover {
    background-color: gray;
}

.closeBtn {
    background-color: #333;
}

.openBtn {
    /* background-color: rgb(234, 55, 55); */
    margin-top: 250px;
    margin-bottom: 250px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .mordalContents {
        width: 330px;
        /* height: 330px; */
        max-height: 75svh;
        width: 90%;
        /* height: 60svh; */
        overflow-y: scroll;
    }

    .mordalContents p {
        font-size: 14px;
        overflow-y: scroll;
        padding: 3px;
    }
}

.md-news-title {
    padding: 10px 5px 15px;
    overflow-y: hidden !important;
    /* line-height: 1rem; */
    border-bottom: 1px solid gray;
    width: 100%;
}

@media (max-width: 768px) {
    .md-news-title {
        padding: 10px 5px 15px !important;
    }
}

.news-title-news-text-box .new::after {
    content: 'New!';
    /* 最後に入れたい任意の文字を入力 */
    font-size: 11px;
    /* 文字サイズを11pxに指定 */
    font-weight: bold;
    /* 太文字に指定 */
    line-height: 1.3;
    /* 行間を指定 */
    display: inline-block;
    /* line-heightの背景にも色を入れるため */
    color: #fff;
    /* 文字色を白に指定 */
    background: #F00;
    /* 背景色を赤に指定 */
    border-radius: 15px;
    /* 楕円形にするため角丸 */
    padding: 0 5px;
    /* 上下左右に少し余白 */
    margin-left: 10px;
    /* これを指定すれば上寄せや下寄せが可能 */
    vertical-align: baseline;
    /* これを指定すれば上寄せや下寄せが可能 */
}


/* ------------------ fadeUp ------------------ */
.fadeUp {
    animation-name: fadeUpAnime;
    animation-duration: 2s;
    animation-fill-mode: forwards;
    opacity: 0;
    display: block;
}

@keyframes fadeUpAnime {
    from {
        opacity: 0;
        transform: translateY(100px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* スクロールをしたら出現する要素にはじめに透過0を指定　*/
.fadeUpTrigger {
    opacity: 0;
}


/* ------------------ fadeDown ------------------ */
.fadeDown {
    animation-name: fadeDownAnime;
    animation-duration: 0.5s;
    animation-fill-mode: forwards;
    opacity: 0;
}

@keyframes fadeDownAnime {
    from {
        opacity: 0;
        transform: translateY(-100px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/*==================================================
じわっ
===================================*/

/* ぼかしから出現 */
.blur {
    animation-name: blurAnime;
    animation-duration: 1s;
    animation-fill-mode: forwards;
}

@keyframes blurAnime {
    from {
        filter: blur(10px);
        transform: scale(1.02);
        opacity: 0;
    }

    to {
        filter: blur(0);
        transform: scale(1);
        opacity: 1;
    }
}

/* スクロールをしたら出現する要素にはじめに透過0を指定　*/
.blurTrigger {
    opacity: 0;
}


.fuwafuwa {
    animation: fuwafuwa 3s ease-in-out infinite alternate;
    display: inline-block;
    transition: 1.5s ease-in-out;
}

@keyframes fuwafuwa {
    0% {
        transform: translate(0, 0) rotate(-2deg);
    }

    50% {
        transform: translate(0, -10px) rotate(0deg);
    }

    100% {
        transform: translate(0, 0) rotate(3deg);
    }
}

/* ----------------------- 左から --------------------- */

.fadeLeft {
    animation-name: fadeLeftAnime;
    animation-duration: 0.5s;
    animation-fill-mode: forwards;
    opacity: 0;

}

@keyframes fadeLeftAnime {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ------------------------ 右から ---------------------- */

.fadeRight {
    animation-name: fadeRightAnime;
    animation-duration: 0.5s;
    animation-fill-mode: forwards;
    opacity: 0;
}

@keyframes fadeRightAnime {
    from {
        opacity: 0;
        transform: translateX(100px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}


/* ローディング画面 */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    /* 最前面に配置 */
}

#loading-image {
    width: 100px;
    /* ローディング画像のサイズ */
    animation: wobble 2s infinite;
    /* ゆらゆらアニメーション */
}

/* ゆらゆらアニメーション */
@keyframes wobble {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* コンテンツ初期非表示 */
/* .container {
    display: none;
  } */
.main {
    /* display: none; */
}

#footer {
    display: none;
}
.news-top-btn{
    background-color: #ff8f03;
    width: auto;
    border-radius: 10px;
    padding: 3px;
}
@media screen and (max-width:768px) {
    .news-top-btn{
        
        width: 80%;
        
    }
}