*{
    margin: 0;
    padding: 0;
}

body{
    text-align: center;
    color: #e6e6e6;
    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;
}

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

#foot{
    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: 100%;
    text-align: center;
}

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

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

#number {
    width: 600px;
    margin-top: 10px;
    font-size: 36px;
    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: 183px;
    height: 46px;
    font-size: 24px;
    line-height: 46px;
    text-decoration: none;
    color: #FFF;
    border: solid 2px rgba(255,255,255,0);
    background: rgba(255,255,255,0);
}

#topmenu li a:hover{
    text-decoration: none;
    border: solid 2px rgba(255,255,255,1);
    background: rgba(255,255,255,0.5);
    transition: 0.5s;
	cursor: pointer;
}

.comicmenu {
    width: 520px;
    height: 70px;
    margin: 0 auto;
}

.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: 40px;
    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-bottom: 20px;
    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;
}

#sword {
    position: relative;
    width: 960px;
    height: 100px;
    margin-bottom: 40px;
    background: url(../image/logo/line.png) no-repeat;
}

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

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

.list {
    width: 960px;
    text-align: left;
    padding: 0 12px;
    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:hover{
    opacity: 0.5;
    transition: 0.5s;
}

.window { margin-right: 20px; }

h3{
    font-size: 32px;
    color: #FFF;
    margin: 12px 0 24px; }

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

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

td{ text-align: right; }

.yellow { color: #FF0; }

.anideco a{
    color: #FFF;
    text-decoration: none;
}

.green { color: #7FFF00; }

.pconly { display: block; }
.smartonly { display: none; }
.phrase { display: inline-block; }
.smapro { display: none; }
.copyright { width: 720px; }

.topic {
    font-size: 32px;
    font-weight: bold;
    color: #FFF;
    margin: 24px 0;
}

.imglink {
    width: 240px;
    margin-right: 40px;
}


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

.coution { margin: 0 40px; }

.matter {
    margin-left: 24px;
    font-size: 28px;
    color: #FFF;
}

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

#itemlist {
    width: 960px;
    height: 540px;
}

.itlist {
    list-style: none;
}

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

.itlist li a {
    display: block;
    margin: 0;
    padding: 0;
    width: 192px;
    height: 192px;
}

.itlist li a:hover {
    text-decoration: none;
    transform: scale(1.1);
    overflow: visible;
    opacity: 0.5;
    transition: 0.25s;
	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/combase.png) no-repeat;
}

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

#comflyer{
    list-style: none;
}

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

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

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

#mainhead {
    display: inline-block;
    width: 1080px;
}

.subhead{
    display: inline-block;
    font-size: 24px;
    font-weight: bold;
    color: #FFF;
}

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

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

    h3 {
        font-size: 36px;
        color: #FFF;
        text-align: center;
    }

    #mainhead { width: 960px; }

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

    #upper { width: 960px; }

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

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

    #main {
        width: 920px;
        background: url(../image/base/backk.png) repeat;
    }

    .title {
        height: 140px;
        padding: 0;
        margin-top: 20px;
        background: url(./image/title/smartline.png) no-repeat;
    }

    .title240{
        height: 140px;
        padding: 0;
        margin-top: 20px;
        background: url(./image/title/smart240.png) no-repeat;
    }
    
    #sword {
        height: 140px;
        margin: 20px 0;
        background: url(../image/logo/subtback.png) no-repeat;
    }

    #anime {
        margin: 20px auto 0 auto;
        float: none;
    }
    
    #number {
        width: 900px;
        margin: 10px;
        font-size: 60px;
        text-align: center;
        float: none;
    }

    .field {
        padding: 20px 0;
        background: url(../image/base/backk.png) repeat;
    }
    
    .subtitle {
        margin: 20px 0;
        height: 112px;
        background: url(../image/other/smartline.png) no-repeat;
    }

    .price {
        height: 112px;
        background: url(./image/title/pricelinek.png) no-repeat;
    }

    .list {
        width: 936px;
        padding: 24px 4px;
        margin: 0 8px;
        background: url(../image/base/backk.png) repeat;
    }

    .detail {
        width: 672px;
        margin-right: 12px;
    }

    .lbox {
        width: 880px;
        padding: 10px 20px;
        float: none;
    }

    .rbox {
        margin: 0 auto;
        float: none;
    }

    #comflyer li a {
        width: 240px;
        height: 84px;
        font-size: 28px;
        line-height: 84px;
    }

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

    .comicmenu {
        width: 780px;
        height: 105px;
    }

    .comcomic li a {
        width: 390px;
        height: 105px;
        font-size: 30px;
        line-height: 105px;
        background-size: 100%;
    }

    .comcomic li a:hover { background-size: 100%; }    

    .pconly { display: none; }
    .smartonly { display: block; }
    .blinking { width: 36px; }
    .imglink {
        width: 324px;
        margin: 0;
    }
    .copyright { width: 960px; }
    .sentence { margin: 10px 40px; }
    .matter {
        margin-left: 10px;
        font-size: 32px;
    }
    .coution { margin-left: 60px; }

    .smapro {
        display: block;
        text-align: left;
        padding-left: 6px;
    }
    
    #topmenu{ display: none; }

    #itemlist { height: 1020px; }

    .itlist li a {
        width: 320px;
        height: 320px;
    }

    #window {
        float: none;
        margin: 0 auto;
    }

    #dother,#object { height: 880px; }
    #foot {
        font-size: 24px;
        background-size: 100% auto;
    }

    #undermenu { display: block; }
    #updown { margin: 0; }
    
}
