@import 'reset.css';
@import 'base.css';
@import 'footer.css';
@import 'load.css';

/* --------------------------------------
    スクリーン
-------------------------------------- */

.main-screen {
    position: relative;
    width: 100%;
    overflow: hidden;
}
@media screen and (max-width: 599px) {
    .main-screen {
        text-align: center;
    }
}

.main-screen-img {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -2;
    opacity: 0;
    background: center/cover no-repeat url(/image/firstview-pc.jpg);
}
@media screen and (max-width: 599px) {
    .main-screen-img {
        background: center/cover no-repeat url(/image/firstview-sp.jpg);
    }
}
.main-screen .screen-cloud {
    opacity: 0;
}
.main-screen.open-screen .main-screen-img,
.main-screen.open-screen .main-screen-txt,
.main-screen.open-screen .screen-cloud {
	animation: show-mainvisual 1.5s .3s linear forwards;
}
@keyframes show-mainvisual {
	0%{
        opacity: 0;
	}
	100% {
        opacity: 1;
	}
}

@media screen and (max-width: 599px) {
    .main-screen .wrap-inner {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        width: 100%;
    }
}

/* 装飾 */
.main-screen:before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    z-index: -1;
    background: rgba(0, 0, 0, .8);
}
.main-screen-over:before,
.main-screen-over:after {
    content: "";
    display: block;
    position: absolute;
    right: 0;
    left: 0;
    padding-top: 17%;
}
@media screen and (max-width: 599px) {
    .main-screen-over:before,
    .main-screen-over:after {
        padding-top: 21%;
    }

}
.main-screen-over:before {
    top: 0;
    background: center/cover no-repeat url(/image/pagescreen-over-top.png);
}
/* @media screen and (max-width: 599px) {
    .main-screen-over:before {
        background: center/cover no-repeat url(/image/pagescreen-over-top.png);
    }
} */
.main-screen-over:after {
    bottom: 0;
    background: center/cover no-repeat url(/image/firstview-over-bottom.png);
}

/* テキスト */
.main-screen-txt {
    position: relative;
    font-weight: 700;
    color: #fff;
    padding: 250px 0;
    opacity: 0;
}

@media screen and (max-width: 599px) {
    .main-screen-txt {
        padding: 150px 0;
    }
}
.main-screen-txt-logo {
    margin-bottom: 24px;
}
.main-screen-txt-logo img {
    width: 220px;
}
@media screen and (max-width: 599px) {}
.main-screen-txt-ttl {
    font-size: 49px;
    margin-bottom: 3rem;
}
@media screen and (max-width: 599px) {
    .main-screen-txt-ttl {
        font-size: 32px;
    }
}

@media screen and (min-width: 600px) {
    .main-screen-txt-desc {
        font-size: 18px;
    }
}


/* --------------------------------------
    コンテンツ
-------------------------------------- */
/* 構成 */
.main-content {
    padding: 130px 0;
}
@media screen and (max-width: 599px) {
    .main-content {
        padding: 80px 0;
    }
}

/* 見出し */
.main-headline {
    text-align: center;
    margin-bottom: 80px;
}
@media screen and (max-width: 599px) {
    .main-headline {
        margin-bottom: 56px;
    }
}
.main-headline img {
    height: 72px;
}

@media screen and (max-width: 599px) {
    .main-headline img {
        height: 50px;
    }
}
.main-bg-cover {
    position: relative;
}
.main-bg-cover:before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    right :0;
    left: 0;
    background: linear-gradient(rgba(255, 244, 216, 1), rgba(255, 244, 216, .7), rgba(255, 244, 216, 1));
    background: -webkit-linear-gradient(rgba(255, 244, 216, 1), rgba(255, 244, 216, .7), rgba(255, 244, 216, 1));
    background: -moz-linear-gradient(rgba(255, 244, 216, 1), rgba(255, 244, 216, .7), rgba(255, 244, 216, 1));
}

@media screen and (max-width: 599px) {
    .main-bg-cover:before {
        background: linear-gradient(rgba(255, 244, 216, 1), rgba(255, 244, 216, .5), rgba(255, 244, 216, 1));
        background: -webkit-linear-gradient(rgba(255, 244, 216, 1), rgba(255, 244, 216, .5), rgba(255, 244, 216, 1));
        background: -moz-linear-gradient(rgba(255, 244, 216, 1), rgba(255, 244, 216, .5), rgba(255, 244, 216, 1));
    }
}

/* ニュース */
@media screen and (min-width: 960px) {
    .main-news .wrap {
        width: 648px;
    }
}

@media screen and (min-width: 600px) {
    .main-news {
        background: center/contain no-repeat url(/image/bg-main-news.png);
    }
}
.main-news-list li {
    border-bottom: 1px dashed #ADA181;
    padding: 8px 0;
}

.main-news-list li:not(:last-child) {
    margin-bottom: 16px;
}
@media screen and (max-width: 599px) {
    .main-news-list li:not(:last-child) {
        margin-bottom: 8px;
    }
}

.main-news-list li a:hover {
    text-decoration: underline;
}
@media screen and (min-width: 600px) {
    .main-news-list li a {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
    }
}
@media screen and (min-width: 600px) {
    .main-news-list li .news-time {
        width: 110px;
    }
    .main-news-list li .news-txt {
        flex: 1;
    }
}
@media screen and (max-width: 599px) {
    .main-news-list li .news-time {
        margin-bottom: 4px;
    }
}

/* ゲーム */
.main-game {
    background: center/cover no-repeat url(/image/bg-main-game-pc.jpg);
}
@media screen and (max-width: 599px) {
    .main-game {
        background: center/cover no-repeat url(/image/bg-main-game-sp.jpg);
    }
}
.main-game-list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.main-game-list li {
    width: 50%;
    position: relative;
}
@media screen and (min-width: 600px) {
    .main-game-list li {
        width: 31%;
    }
    .main-game-list li:not(:nth-child(3n)) {
        margin-right: 3%;
    }
    .main-game-list li:not(:nth-last-child(-n+3)) {
        margin-bottom: 3%;
    }
}

.main-game-list li a {
    display: block;
    position: relative;
    transition: all 0.3s;
    overflow: hidden;
}
.main-game-list li a:hover:after {
    background: rgba(0, 0, 0, .6);
}
.main-game-list li a:before {
    content: "";
    display: block;
    padding-top: 100%;
}
.main-game-list li a:after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right : 0;
    bottom: 0;
    background: rgba(0, 0, 0, .4)
}
.main-game-list li .tag {
    font-size: 12px;
    font-weight: 700;
    display: inline-block;
    position: absolute;
    z-index: 2;
}
@media screen and (min-width: 600px) {
    .main-game-list li .tag {
        left: 50%;
        top: 0;
        transform: translate(-50%, -50%);
        -webkit-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
        padding: 4px 16px;
        font-size: 13px;
    }
}
@media screen and (max-width: 599px) {
    .main-game-list li .tag {
        left: 4px;
        top: 4px;
        padding: 2px 8px;
        font-size: 10px;
    }
}
.main-game-list li .tag.color-red {
    background: #F02525;
    color: #fff;
}
.main-game-list li .tag.color-white {
    background: #fff;
    color: #111;
}
.main-game-list li .tag.color-blue {
    background: blue;
    color: #fff;
}
.main-game-list li .tag.color-black {
    background: #111;
    color: #fff;
}
.main-game-list li .tag.color-gray {
    background: gray;
    color: #fff;
}
.main-game-list li .tag.color-darkorange {
    background: #ff8c00;
    color: #fff;
}
.main-game-list li img {
    position: absolute;
    height: 100%;
    width: 100%;
    left: 0;
    -o-object-fit: cover;
    object-fit: cover;
    top: 0;
    -ms-transform: none;
    -moz-transform: none;
    -webkit-transform: none;
    transform: none;
    transition: .3s all;
}
.main-game-list li a:hover img {
    -ms-transform: scale(1.2,1.2);
    -moz-transform: scale(1.2,1.2);
    -webkit-transform: scale(1.2,1.2);
    transform: scale(1.2,1.2);
}
.main-game-list-txt {
    position: absolute;
    width: 100%;
    text-align: center;
    top: 50%;
    padding: 0 24px;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    color: #fff;
    font-weight: 700;
    z-index: 1;
}

@media screen and (max-width: 599px) {
    .main-game-list-txt {
        padding: 0 16px;
    }
}