*{
    margin: 0;
    padding: 0;
}

body{
    text-align: center;
    color: #fff;
    font-size: 24px;
    font-family: serif;
    -webkit-text-size-adjust: 100%;
}

#flyback:before {
    content: "";
    display: block;
    position: fixed;
    z-index: -1;
    width: 100%;
    height: 100%;
    background: url(../image/back/stone.jpg) top no-repeat;
    background-position: top;
    background-size: cover;
}

#wildback:before {
    content: "";
    display: block;
    position: fixed;
    z-index: -1;
    width: 100%;
    height: 100%;
    background: url(../image/back/wilder.jpg) top no-repeat;
    background-position: center;
    background-size: cover;
}

#desertback:before {
    content: "";
    display: block;
    position: fixed;
    z-index: -1;
    width: 100%;
    height: 100%;
    background: url(../image/back/desert.jpg) top no-repeat;
    background-position: bottom;
    background-size: cover;
}

#lakeback:before {
    content: "";
    display: block;
    position: fixed;
    z-index: -1;
    width: 100%;
    height: 100%;
    background: url(../image/back/lake.jpg) top no-repeat;
    background-position: top;
    background-size: cover;
}

#cityback:before {
    content: "";
    display: block;
    position: fixed;
    z-index: -1;
    width: 100%;
    height: 100%;
    background: url(../image/back/city.jpg) top no-repeat;
    background-position: top;
    background-size: cover;
}

#castleback:before {
    content: "";
    display: block;
    position: fixed;
    z-index: -1;
    width: 100%;
    height: 100%;
    background: url(../image/back/castle.jpg) top no-repeat;
    background-position: top;
    background-size: cover;
}

#remainsback:before {
    content: "";
    display: block;
    position: fixed;
    z-index: -1;
    width: 100%;
    height: 100%;
    background: url(../image/back/remains.jpg) top no-repeat;
    background-position: top;
    background-size: cover;
}

#header{
    height: 120px;
    margin: 0 auto;
    background: url(../image/base/tophead.png) repeat-x;
}

#foot{
    height: 120px;
    font-size: 16px;
    padding-top: 24px;
    background: url(../image/base/foot.png) repeat-x;
}

#upper{
    width: 984px;
    height: 50px;
    display: inline-block;
}

#logo {
    width: 234px;
    height: 70px;
    float: left;
    background: url(../image/logo/logotop.png) no-repeat;
}

#logo:hover {
    background: url(../image/logo/logotops.png) no-repeat;
	cursor: pointer;
    transition: 0.5s;
}

#cont{
    width: 960px;
    margin: 0 auto;
    padding: 12px;
    text-decoration: none;
    background: url(../image/base/backk.png) repeat;
}

#field{
    width: 960px;
    height: 800px;
    text-align: center;
}

.mfield{
    width: 960px;
    height: 600px;
    text-align: center;
}

#main{
    width: 960px;
    padding: 12px;
    margin-bottom: 30px;
}

#anime {
    width: 324px;
    height: 274px;
    margin-left: 36px;
    float: left;
}

#number {
    width: 600px;
    float: left;
}

#illust {
    width: 880px;
    margin: 10px 40px;
    text-align: left;
}

#topmenu{
    list-style: none;
    position: relative;
    top: 20px;
}

#topmenu li{
    margin: 0;
    padding: 0;
    text-align: center;
    float: left;
}

#topmenu li a{
    display: block;
    margin: 0;
    padding: 0;
    width: 150px;
    height: 50px;
    font-size: 20px;
    line-height: 50px;
    text-decoration: none;
    color: #FFF;
    background: url(../image/base/skel150.png) no-repeat;
}

#topmenu li a:hover{
    text-decoration: none;
    background: url(../image/base/topmenu2.png) no-repeat;
    transition: 0.5s;
	cursor: pointer;
}

#command{
    list-style: none;
}

#command li{
    margin: 0;
    padding: 0;
    text-align: center;
    float: left;
}

#command li a{
    display: block;
    margin: 0;
    padding: 0;
    width: 236px;
    height: 78px;
    font-size: 28px;
    line-height: 78px;
    text-decoration: none;
    color: #FFF;
    background: url(../image/base/comkb.png) no-repeat;
}

#command li a:hover{
    text-decoration: none;
    background: url(../image/base/comks.png) no-repeat;
    transition: 0.5s;
	cursor: pointer;
}

.comcomic{
    list-style: none;
}

.comcomic li{
    margin: 0;
    padding: 0;
    text-align: center;
    float: left;
}

.comcomic li a{
    display: block;
    margin: 0;
    padding: 0;
    width: 260px;
    height: 70px;
    font-size: 20px;
    line-height: 70px;
    text-decoration: none;
    color: #FFF;
    background: url(../image/base/comm260b.png) no-repeat;
}

.comcomic li a:hover{
    text-decoration: none;
    background: url(../image/base/comm260s.png) no-repeat;
    transition: 0.5s;
	cursor: pointer;
}

h1{
    display: inline-block;
    height: 40px;
    padding-top: 10px;
    font-size: 24px;
    font-weight: bold;
    line-height: 50px;
    white-space: nowrap;
}

h2{
    height: 40px;
    padding: 0px;
    margin: 10px 0;
    font-size: 24px;
    font-weight: bold;
    line-height: 40px;
    text-decoration: none;
    border-bottom: #FFF solid 2px;
}

iframe {
    border: 0;
    scrollbar-width: none;
    overflow: hidden;
}

.title {
    position: relative;
    width: 960px;
    height: 100px;
    margin: 20px 0;
    background: url(../image/logo/line.png) no-repeat;
}

.title240 {
    position: relative;
    width: 960px;
    height: 100px;
    margin-bottom: 10px;
    background: url(./image/title/subline240.png) no-repeat;
}

.subtitle {
    position: relative;
    width: 960px;
    height: 75px;
    margin: 20px 0;
    text-align: center;
    background: url(./image/title/line160.png) no-repeat;
}

.sentence{
    text-align: left;
    margin: 10px 60px;
}

.list {
    width: 960px;
    text-align: left;
    clear: both;
}

.subl {
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
}

.subr {
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
    opacity: 0;
}

.subr:hover{
    opacity: 1;
    transition: 0.5s;
}

@keyframes blink {
    0% {opacity: 0;}
    75% {opacity: 1;}
    100% {opacity: 1;}
}

.blinking{
    animation:blink 1s ease-in-out infinite alternate;
}

.imglink { width: 216px; }

.imglink:hover{
    opacity: 0.5;
    transition: 0.5s;
}

.window { margin-right: 20px; }

h3{ margin: 12px 0 24px; }

.gray{
    color: #e6e6e6;
    margin-left: 50px;
}

.deco a{
    color: #7FFF00;
    text-decoration: none;
}

td{ text-align: right; }

.yellow { color: #FF0; }

.green { color: #7FFF00; }

.copyright { width: 720px; }
.pconly { display: block; }
.smartonly { display: none; }

#undermenu {
    width: 944px;
    height: 78px;
    margin: 20px 8px;
    display: none;
    clear: both;
}

@media screen and ( max-width: 767px )
{
    body{
        width: 960px;
        background-size: auto 100%;
        font-size: 36px;
    }

    h1{
        font-size: 36px;
        display: block;
    }

    #mainhead { width: 960px; }

    .subhead {
        font-size: 28px;
        margin: 10px 20px 0 0;
        height: 28px;
        float: right;
    }

    #upper { width: 960px; }

    #logo {position: relative;
           top: -38px;
           left: 20px;
    }

    #cont {
        width: 960px;
        background: none;
        margin: 0;
        padding: 0;
    }

    #command li a {
        background: url(../image/base/comkb.png) no-repeat;
    }

    #command li a:hover { background: url(../image/base/comks.png) no-repeat; }

    .title {
        height: 140px;
        background: url(../image/logo/subtback.png) no-repeat;
    }

    .pconly { display: none; }
    .smartonly{ display: block; }
    .blinking { width: 36px; }
    .imglink { width: 324px; }
    .copyright { width: 960px; }
    #undermenu { display: block; }
    .list { background: url(../image/base/backk.png) repeat; }
    
    #topmenu{ display: none; }

    #foot {
        font-size: 24px;
        height: 144px;
        background-size: 100% auto;
    }

}
