@font-face {
	font-family: 'kktt-851H';
	src: url("../font/851H-kktt_004.ttf");
}

@font-face {
	font-family: 'ki_kokumin';
	src: url("../font/ki_kokumin/font_1_kokumr_1.00_rls.ttf");
}

.loading{
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    z-index:2;
    background-color: #000000;
}

#loadingimg{
    width: 90%;
    max-width: 500px;
    opacity: 0;
}

#loadingicon{
    width: 32px;
}

#loadingtext{
    font-size: 14px;
    color: #ffffff;
}

.onieyecatching{
    width: 100%;
    background-color: rgba(0,0,0,0.7);
}

.onieyecatching img{
    width: 100%;
}

#particles{
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
    background-color: #000000;
}

.oniintroductionnavi{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.oniintroductionnaviheader{
    width:100%;
    display: flex;
    justify-content: center;
}

.oniintroductionnavidescription{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 30px;
    margin-bottom: 17px;
}

.oniintroductionnavidescription h1{
    font-size: 32px;
    font-weight: 600;
    color: #ffffff;
}

.oniintroductionnavidescription p{
    font-size: 14px;
    font-weight: 400;
    color: #ffffff;
}

.oniintroductionbody{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.oniintroductionsub{
    width: 630px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 17px;
}

.oniintroductionsub p{
    width: 100%;
    font-size: 26px;
    line-height: 1.5;
    color: #ffffff;
}

.oniintroductionslider{
    width: 100%;
    max-width: 1000px;
    height: 135px;
    position: relative;
    overflow: hidden;
}

.oniintroductionslider img{
    width: 240px;
    height: 135px;
    position: absolute;
    top: 0;
    left: 0;
}

.onigamerulesnavi{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.onigamerulesnaviheader{
    width:100%;
    display: flex;
    justify-content: center;
}

.onigamerulesnavidescription{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 30px;
    margin-bottom: 10px;
}

.onigamerulesnavidescription h1{
    font-size: 32px;
    font-weight: 600;
    color: #ffffff;
}

.onigamerulesnavidescription p{
    font-size: 14px;
    font-weight: 400;
    color: #ffffff;
}

.onigamerulesbody{
    width: 630px;
}

.onigamerulessub{
    width: 100%;
}

.onigamerulessub ol{
    width: 100%;
    padding-left: 30px;
    list-style-type: upper-roman;
    list-style-position: outside;
}

.onigamerulessub ol li{
    margin-bottom: 5px;
    font-size: 26px;
    line-height: 1.2;
    color: #ffffff;
}

.onicastnavi{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.onicastnaviheader{
    width:100%;
    display: flex;
    justify-content: center;
}

.onicastnavidescription{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 30px;
    margin-bottom: 10px;
}

.onicastnavidescription h1{
    font-size: 32px;
    font-weight: 600;
    color: #ffffff;
}

.onicastnavidescription p{
    font-size: 14px;
    font-weight: 400;
    color: #ffffff;
}

.castphoto{
    width: 806px;
    display: flex;
    justify-content: center;
}

.castprofile{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 5px;
}

.castprofile img{
    width: 100px;
    height: 100px;
    border-radius:50px;
    border: solid 3px #ffffff;
}

.castprofile p{
    font-size: 16px;
    line-height: 1.5;
    color: #ffffff;
}

.onicastbody{
    width: 806px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin-bottom: 28px;
}

.onicastsub{
    width: 300px;
    margin: 10px;
}

.onicastsub h2{
    font-size: 26px;
    font-weight: 600;
    text-align: center;
    color: #ffffff;
    border-bottom: solid 1px #ffffff;
}

.onicastsub div{
    display: flex;
}

.onicastsub div ul{
    list-style: none;
}

.onicastsub div ul li{
    font-size: 20px;
    font-weight: 600;
    line-height: 1.2;
    color: #ffffff;
}

.onicastsub p{
    font-size: 20px;
    font-weight: 600;
    line-height: 1.2;
    color: #ffffff;
}

.onicastsub a{
    font-size: 14px;
    line-height: 1.8;
    color: #ffffff;
}

.onicastsub div p:nth-child(1) {
    margin-right: 20px;
}

.onitrailernavi{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.onitrailernaviheader{
    width:100%;
    display: flex;
    justify-content: center;
}

.onitrailernavidescription{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 30px;
    margin-bottom: 10px;
}

.onitrailernavidescription h1{
    font-size: 32px;
    font-weight: 600;
    color: #ffffff;
}

.onitrailernavidescription p{
    font-size: 14px;
    font-weight: 400;
    color: #ffffff;
}

.onitrailerbody{
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 28px;
}

.trailerplayer{
    width: 580px;
    height: 326px;
    position: relative;
    border-radius: 2px;
    border: solid 3px #909090;
}

.trailerthumbnail{
    width: 100%;
    height: 100%;
    position: absolute;
}

.trailerbutton{
    width: 50px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
}

.onimainstorynavi{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.onimainstorynaviheader{
    width:100%;
    display: flex;
    justify-content: center;
}

.onimainstorynavidescription{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 30px;
    margin-bottom: 10px;
}

.onimainstorynavidescription h1{
    font-size: 32px;
    font-weight: 600;
    color: #ffffff;
}

.onimainstorynavidescription p{
    font-size: 14px;
    font-weight: 400;
    color: #ffffff;
}

.onimainstorybody{
    width: 100%;
    max-width: 640px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 28px;
}

.mainstoryplayer{
    width: 300px;
    margin: 10px;
    margin-top: 5px;
}

.mainstoryplayer p{
    width: 100%;
    font-size: 26px;
    margin-bottom: 3px;
    text-align: center;
    font-weight: bold;
    color: #ffffff;
    text-shadow: 0 0 3px #c1d9d5,0 0 6px #c1d9d5;
}

.mainstorythumbnail{
    width: 100%;
    border-radius: 2px;
    border: solid 3px #909090;
}

.aboutnavifooter{
    width: 100%;
    display: flex;
    justify-content: center;
}

.aboutdetailbuttun{
    margin-bottom: 12px;
}

.aboutdetailbuttun a{
    text-decoration: none;
}

.aboutdetailbuttuncontent{
    height: 50px;
    width: 285px;
    display: flex;
    justify-content: center;
    align-items: center;
    background:  #111111;
    border: solid 1px #ffffff;
}

.aboutdetailbuttuncontent img{
    width: 20px;
    height: 20px;
    margin-right: 8px;
}

.aboutdetailbuttuncontent p{
    font-size: 15px;
    font-weight: bold;
    color: #ffffff;
}

footer{
    color: #ffffff;
}

footer a{
    color: #ffffff;
}
@media screen and (max-width: 1024px) {
    .oniintroductionsub{
        width: 90%;
        max-width: 630px;
    }

    .onigamerulesbody{
        width: 90%;
        max-width: 630px;
    }

    .onigamerulessub ol{
        padding-left: 45px;
    }
    
    .castphoto{
        width: 90%;
        max-width: 806px;
        flex-wrap: wrap;
    }
    
    .onicastbody{
        width: 90%;
        max-width: 806px;
    }

    .onicastsub div ul li{
        font-size: 20px;
    }
    
    .onicastsub p{
        font-size: 20px;
    }

    .trailerplayer{
        width: 352px;
        height: 198px;
    }
}

@media screen and (max-width: 370px) {
    .trailerplayer{
        width: 304px;
        height: 171px;
    }

    .onicastsub div ul li{
        width: 200px;
    }
}