*{
    margin: 0;
    padding: 0;
}

a{ cursor: pointer; }

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

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

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

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

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

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

#upper{
    width: 984px;
    height: 50px;
    display: inline-block;
    position: relative;
    top: -4px;
}

#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;
    transition: 0.5s;
}

#upmenu{
    width: 750px;
    height: 50px;
    float: left;
}

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

#main{
    width: 960px;
    text-align: center;
    margin: 0 10px;
    padding: 10px;
}

.list{
    position: relative;
    width: 920px;
    height: 280px;
    margin: 15px 0 45px 0;
    display: block;
    text-align: left;
    clear: both;
}

.detail{
    width: 678px;
    padding: 8px;
    margin-bottom: 8px;
    float: left;
}

.shine{
    width: 208px;
    height: 208px;
    position: relative;
    right: 894px;
    animation: anim 4s 1s infinite;
}

@keyframes anim {
    0% { transform: translatex(0px); }
    80% { transform: translatex(0px); }
    100% { transform: translatex(888px); }
}

.icon{
    width: 208px;
    height: 208px;
    margin: 6px;
    float: left;
    overflow: hidden;
    border: 0;
    border-radius: 15px;
}

#ahead{
    width: 0;
    height: 0;
    display: none;
}

#mass { background: url(../image/icon/mass.png) no-repeat; }

#mass:hover{
    background: url(../image/icon/massb.png) no-repeat;
    transition: 0.5s;
}

#job { background: url(../image/icon/jobb.png) no-repeat; }

#job:hover{
    background: url(../image/icon/jobs.png) no-repeat;
    transition: 0.5s;
}

#corpo { background: url(../image/icon/corpo.png) no-repeat; }

#corpo:hover{
    background: url(../image/icon/corpos.png) no-repeat;
    transition: 0.5s;
}

#present { background: url(../image/icon/present.png) no-repeat; }

#present:hover{
    background: url(../image/icon/presents.png) no-repeat;
    transition: 0.5s;
}

#educate { background: url(../image/icon/educate.png) no-repeat; }

#educate:hover{
    background: url(../image/icon/educates.png) no-repeat;
    transition: 0.5s;
}

#hp { background: url(../image/icon/hp.png) no-repeat; }

#hp:hover{
    background: url(../image/icon/hps.png) no-repeat;
    transition: 0.5s;
}

#ad { background: url(../image/icon/ad.png) no-repeat; }

#ad:hover{
    background: url(../image/icon/ads.png) no-repeat;
    transition: 0.5s;
}

#flyer { background: url(../image/icon/flyer.png) no-repeat; }

#flyer:hover{
    background: url(../image/icon/flyers.png) no-repeat;
    transition: 0.5s;
}

#webanime { background: url(../image/icon/webanime.png) no-repeat; }

#webanime:hover{
    background: url(../image/icon/webanimes.png) no-repeat;
    transition: 0.5s;
}

#movie { background: url(../image/icon/movie.png) no-repeat; }

#movie:hover{
    background: url(../image/icon/movies.png) no-repeat;
    transition: 0.5s;
}

#comic { background: url(../image/icon/comic.png) no-repeat; }

#comic:hover{
    background: url(../image/icon/comics.png) no-repeat;
    transition: 0.5s;
}

#live2d { background: url(../image/icon/live2d.png) no-repeat; }

#live2d:hover{
    background: url(../image/icon/live2ds.png) no-repeat;
    transition: 0.5s;
}

#line { background: url(../image/icon/line.png) no-repeat; }

#line:hover{
    background: url(../image/icon/lines.png) no-repeat;
    transition: 0.5s;
}

#anime { background: url(../image/icon/anime.png) no-repeat; }

#anime:hover{
    background: url(../image/icon/animes.png) no-repeat;
    transition: 0.5s;
}

#other { background: url(../image/icon/other.png) no-repeat; }

#other:hover{
    background: url(../image/icon/others.png) no-repeat;
    transition: 0.5s;
}

#info { background: url(../image/icon/info.png) no-repeat; }

#info:hover{
    background: url(../image/icon/infos.png) no-repeat;
    transition: 0.5s;
}

#faq { background: url(../image/icon/faq.png) no-repeat; }

#faq:hover{
    background: url(../image/icon/faqs.png) no-repeat;
    transition: 0.5s;
}

#copy { background: url(../image/icon/copy.png) no-repeat; }

#copy:hover{
    background: url(../image/icon/copys.png) no-repeat;
    transition: 0.5s;
}

#self { background: url(../image/icon/self.png) no-repeat; }

#self:hover{
    background: url(../image/icon/selfs.png) no-repeat;
    transition: 0.5s;
}

#illust { background: url(../image/icon/illust.png) no-repeat; }

#illust:hover{
    background: url(../image/icon/illusts.png) no-repeat;
    transition: 0.5s;
}


#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;
}

#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/comshine.png) no-repeat;
    transition: 0.5s;
	cursor: pointer;
}

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

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

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

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

.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: 198px;
}

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

h3{ color: #FFF; }

.imgs {
    position: relative;
    top: 0;
    left: 0;
}

.imgg {
    position: relative;
    top: -220px;
    opacity: 0;
}

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

.deco {
    position: absolute;
    right: 0;
    bottom: 0;
}

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

.green { color: #7FFF00; }

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

#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: 30px;
    }

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

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

    #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;
        background: url(../image/logo/subtback.png) no-repeat;
    }

    .list { height: 320px; }

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

    .pconly { display: none; }
    .smartonly { display: block; }
    .blinking { width: 36px; }
    .imglink { width: 234px; }
    .copyright { width: 960px; }
    #command li a:hover { background: url(../image/base/comks.png) no-repeat; }

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

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

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

    #undermenu { display: block; }
}
