*{
    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;
}

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

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

#forestback:before {
    content: "";
    display: block;
    position: fixed;
    z-index: -1;
    width: 100%;
    height: 100%;
    background: url(../image/back/forest.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{
    position: relative;
    width: 984px;
    height: 50px;
    display: inline-block;
    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;
	cursor: pointer;
    transition: 0.5s;
}

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

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

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

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

#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/combase.png) no-repeat;
}

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

#object {
    width: 960px;
    height: 440px;
    margin-bottom: 30px;
}

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

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

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

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

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

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

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


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

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

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

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

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

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

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

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

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-bottom: 20px;
    background: url(../image/logo/line.png) no-repeat;
}

.jobtitle {
    position: relative;
    width: 960px;
    height: 100px;
    margin-bottom: 20px;
    background: url(./title/jobline.png) no-repeat;
}

.title240 {
    width: 960px;
    height: 100px;
    margin-bottom: 10px;
    background: url(./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(./title/line160.png) no-repeat;
}

.sentence{
    text-align: left;
    margin: 20px 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: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; }

.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 40px 0;
    background: url(./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;
}

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

    #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(./title/smartline.png) no-repeat;
    }

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

    .title240{
        height: 140px;
        padding: 0;
        margin-top: 20px;
        background: url(./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;
        margin: 20px 0;
        background: url(./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; }

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

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

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

    #undermenu { display: block; }
    #updown { margin: 0; }
    
    #object { height: 640px; }
    .icon,.shine {
        width: 312px;
        height: 312px;
        margin: 4px;
        border-radius: 24px;
    }
    .shine { right: 1340px; }
    @keyframes anim {
        0% { transform: translatex(0px); }
        80% { transform: translatex(0px); }
        100% { transform: translatex(1340px); }
    }
}
