html{
	background-image:url(./../img/Background.jpg);
    background-size: 960px 100%;
	background-attachment: fixed;
    color:white;
}

body {
    margin: 0;
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
    border: solid 3px #FF0004;
    color: aliceblue;
    background: linear-gradient(130deg, rgba(66, 0, 0, 1) 49%, rgba(0, 0, 0, 1) 100%);
}

a {
    color: white;
}

footer {
    display:fle;
    border: solid 3px red;
    flex-direction: column;
}

#logo {
    width: auto;
    height: 70px;
    margin-top:5px;
}
#header-list{
    display: flex;
    width: 40%;
    margin:15px 0;
    justify-content: space-around;
}

#top-main-wrap {
    border-right: solid 3px red;
    border-left: solid 3px red;
}

#footer-flex {
    padding-top:10px;
    display: flex;
    justify-content: space-evenly;
}

#cmark {
    padding-top:20px;
    padding-bottom:20px;
    text-align: center;
    margin: 0;
    color: white;
}

/*----------ここまで共通-----------------------*/

/*index.html---------------------------------*/
/*img-slide*/
.slide {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 300px;
    margin: auto;
    border-bottom: solid 1px red;
}

.slide img {
    display: block;
    position: absolute;
    width: inherit;
    height: inherit;
    left: 100%;
    animation: slideAnime 10s ease infinite;
}

.slide img:nth-of-type(1) {
    animation-delay: 0s
}

.slide img:nth-of-type(2) {
    animation-delay: 3s
}

.slide img:nth-of-type(3) {
    animation-delay: 4s
}

@keyframes slideAnime {
    0% {
        left: 100%
    }
    4% {
        left: 0
    }
    29% {
        left: 0
    }
    33% {
        left: -100%
    }
    100% {
        left: -100%
    }
}

/*info-game-enable*/
#new_info {
    margin: 10px;
}

#new_info h1 {
    text-decoration: underline;
    text-decoration-color: white;
}

#new_info_p {
    font-weight: 700;
}

#sec_url {
    font-weight: 200;
}

#sec_url a {
    color: white;
    font-weight: 700;
    text-decoration-color: bisque;
}

#sec_url a:hover {
    color: white;
    font-weight: 800;
    text-decoration-color: white;
}

/*index.html-news*/
#news {
    display: flex;
    width: 100%;
    border-top: solid 1px red;
    justify-content: space-between;
}

#news h1{
    padding-left:20px;
}


#news_contents {
    height: 500px;
    overflow-y: scroll;
    width: 80%;
}

#news_contents p {
    margin: 40px auto;
    padding: 5px 10px;
    width:90%;
    border: 1px solid white;
}

#news_contents p a {
    font-weight: 800;
}

#news_contents p a:hover {
    text-decoration-color: red;
    color: red;
}

#news_contents #header-list a {
    margin-right: 10px;
    font-size: 1.2em;
    color: white;
}

/*story.html------------------------------------------*/
#story{
    text-align:center;
    color:red;
    font-family: HG正楷書体-PRO;
}

#story h1{
    margin:0;
    padding:20px;
}
#story p{
    font-size:20px;
    margin:0;
    padding-top: 50px;
}

.fade1 {
    opacity: 0;
    animation: fadein-bottom 1.5s .3s ease-out forwards;
}

.fade1 {
    opacity: 0;
    animation-name: fadein-bottom;
    animation-duration: 1.5s;
    animation-delay: .3s;
    animation-timing-function: ease-out;
    animation-fill-mode: forwards;
}

@keyframes fadein-bottom {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade2 {
    opacity: 0;
    animation: fadein-bottom 1.5s .5s ease-out forwards;
}

.fade2 {
    opacity: 0;
    animation-name: fadein-bottom;
    animation-duration: 1.5s;
    animation-delay: .8s;
    animation-timing-function: ease-out;
    animation-fill-mode: forwards;
}

@keyframes fadein-bottom {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/*chara.html-------------------------------*/
#chara-space{
    padding-bottom:20px;
}

.chara-wrap{
    margin-top:20px;
    padding:20px;
    display:flex;
    flex-wrap: nowrap;
}
.chara-wrap img{
    width:25%;
    margin:25px;
    height:auto;
}
.chara-wrap p{
    font-size:25px;
}
.chara-text-wrap{
    display: flex;
    width:70%;
    flex-direction: column;
    padding-left:30px;
    justify-content: center;
}
.chara-text-wrap p{
    margin-top: 0;
}

#ch-main{
    color:forestgreen;
    background: radial-gradient(circle, rgba(255,255,255,1) 0%, rgba(113,113,113,1) 100%);
}
#ch-rock{
    background: rgb(204,209,8);
    background: radial-gradient(circle, rgba(204,209,8,1) 29%, rgba(255,4,4,1) 100%);
    color:darkblue;
}
#ch-pure{
    color: indigo;
    background: rgb(41,217,0);
    background: radial-gradient(circle, rgba(41,217,0,1) 0%, rgba(167,141,82,1) 71%, rgba(255,121,161,1) 100%);
}
#ch-misha{
    background: rgb(53,63,255);
    background: radial-gradient(circle, rgba(53,63,255,1) 44%, rgba(174,179,255,1) 100%);
    color:black;
}
#ch-yara{
    background: rgb(209,8,48);
    background: radial-gradient(circle, rgba(209,8,48,1) 0%, rgba(0,0,0,1) 100%);
    color: silver;
}
#ch-zuuty{
    background: rgb(2,0,36);
    background: linear-gradient(6deg, rgba(2,0,36,1) 0%, rgba(121,9,112,1) 35%, rgba(0,212,255,1) 100%);
    color:chartreuse;
}





/*spec.html---------------------------------------*/
/*sitemap.html---------------------------------------*/
#map-h1,#spec-h1,#chara-h1{
    margin:0;
    padding:20px;
}

#map-flex,#spec-flex,#chara-flex{
    display:flex;
    flex-wrap: wrap;
    justify-content:center;
}

.ch-mapwrap{
    width:30%;
}
.mapwrap{
    width:25%;
}
.ch-mapwrap img{
    width:70%;
    padding-left:15%;
    margin:0 auto;
}
.ch-mapwrap p{
    text-align: center;
}
.mapwrap h2{
    text-align: center;
}
.mapwrap p{
    text-align: center;
}

/*help.html---------------------------------------*/
.contents2{
    border-right: solid 3px red;
    border-left: solid 3px red;
}

.contents2 h1{
    margin-top:0;
    padding:20px;  
}

p.Note{
	text-align: left;
	padding:0px 20px;
	font-size:17px;
	font-family: HG正楷書体-PRO;
	color:white;
}

p.Note-r{
	text-align: right;
	margin-right:10%;
    margin-bottom:0;
    padding-bottom:40px;
	font-size:17px;
	font-family: HG正楷書体-PRO;
	color:white;
}

/**********************************************************************************/
@media screen and (max-width:760px){
    #header-list{
        width: 100%;
    }
    .slide{
        height:0;
    }
    #news{
        flex-direction: column;
        align-items: center;
    }
    #news_contents {
        width: 100%;
    }
    #story h1{
        font-size:2rem;
    }
    #story p{
        font-size:1rem;
    }
    .ch-mapwrap{
        width:33%;
    }
    .mapwrap img{
        width:80%;
        padding:0 10%;
    }
    .chara-wrap{
        padding:10px;
        display:flex;
        flex-wrap: wrap;
        flex-direction: column;
        align-items: center;

    }
    .chara-wrap img{
        width:50%;
        margin:15px;
    }
    .chara-wrap h1{
        font-size: 2rem;
    }
    .chara-wrap p{
        font-size:1.2rem;
    }
    .chara-text-wrap{
        display: flex;
        width:100%;
        flex-direction: column;
        padding-left:0px;
        align-items: center;
    }
    #map-h1,#spec-h1{
        margin:0;
        text-align: center;
    }
    
    #map-flex,#spec-flex{
        display:flex;
        flex-wrap: wrap;
        flex-direction: row;
        align-items: center;
    }
    .mapwrap{
        width:50%;
    }
}
@media screen and (max-width:430px){
    #map-flex,#spec-flex{
        display:flex;
        flex-wrap: wrap;
        flex-direction: column;
        align-items: center;
    }
    .mapwrap{
        width:100%;
    }
}