*{
    margin: 0;
    padding: 0;
}

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

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

#shibuyaback:before {
    content: "";
    display: block;
    position: fixed;
    z-index: -1;
    width: 100%;
    height: 100%;
    background: url(../image/back/shibuya.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;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

#upper{
    width: 1020px;
    height: 72px;
    display: inline-block;
}

#logo {
    width: 270px;
    height: 72px;
    float: left;
    background: url(../image/logo/logo270b.png) no-repeat;
}

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

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

#field {
    width: 960px;
    height: 100%;
    padding: 20px;
}

.conport{
    width: 1000px;
    margin-bottom: 40px;
}

.list {
    width: 480px;
    padding: 10px;
    text-align: center;
    float: left;
}

.wide {
    width: 960px;
    margin: 20px;
}

.face {
    width: 480px;
    margin: 20px 260px;
}

.number {
    position: relative;
    width: 100px;
    float: left;
    color: #FFF;
    vertical-align: middle;
    font-size: 64px;
    clear: both;
}

.portlist {
    width: 280px;
    padding: 10px;
    float: left;
}

.portpc {
    width: 280px;
    padding: 10px;
    float: 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;
}

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

h1{
    display: inline-block;
    height: 40px;
    padding-top: 8px;
    font-size: 24px;
    font-weight: bold;
    color: #FFF;
    line-height: 48px;
    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;
}

.backk{ font-size: 36px; }

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

.title {
    position: relative;
    width: 1000px;
    height: 100px;
    margin: 20px 0;
    background: url(./logo/line1000.png) no-repeat;
    background-size: 100%; 
}

.valleytitle {
    position: relative;
    width: 1000px;
    height: 100px;
    margin: 20px 0;
    background: url(./logo/linevalley.png) no-repeat;
    background-size: 100%; 
}

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

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

#illustbox {
    width: 960px;
    height: 720px;
    padding: 20px;
}

#illustmenu {
    list-style: none;
}

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

#illustmenu li a {
    display: block;
    margin: 0;
    padding: 0;
    width: 320px;
    height: 320px;
}

#illustmenu li a:hover {
    text-decoration: none;
    transform: scale(1.1);
    overflow: visible;
    opacity: 0.5;
    transition: 0.25s;
	cursor: pointer;
}

.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{
    color: #FFF;
    font-size: 32px;
}

.name {
    font-size: 28px;
    color: #FFF;
}

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

.phrase { display: inline-block; }

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

.imglink { width: 320px; }

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

.green { color: #7FFF00; }

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

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

#undermenu {
    display: none;
    clear: both;
}

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

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

    h3 {
        font-size: 54px;
        background: url(../image/base/backk.png) repeat;
    }

    #mainhead { width: 960px; }

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

    #upper { width: 980px; }

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

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

    .conport {
        width: 960px;
        background: none;
        margin: 0;
        padding: 10px;
    }

    .list {
        width: 960px;
        padding: 0;
        float: none;
        margin: 60px 10px;
        background: url(../image/base/backk.png) repeat;
    }

    .wide {
        margin: 20px 10px;
        background: url(../image/base/backk.png) repeat;
    }

    .face {
        width: 960px;
        margin: 20px 10px;
    }

    .name {
        display: block;
        font-size: 48px;
        background: url(../image/base/backk.png) repeat;
    }

    .title {
        width: 980px;
        height: 140px;
        background: url(./logo/line980.png) no-repeat;
    }

    .valleytitle {
        width: 980px;
        height: 140px;
        background: url(./logo/line980valley.png) no-repeat;
    }
    
    .number{
        width: 960px;
        height: 100%;
        margin: 20px 0;
        background: url(../image/base/backk.png) repeat;
        float: none;
    }

    .portlist {
        width: 460px;
        height: 460px;
        margin-bottom: 40px;
    }

    .portpc { display: none; }

    #undermenu {
        display: block;
        width: 944px;
        height: 78px;
        margin: 20px 18px;
    }

    #illustbox { padding: 10px; }
    
    #field { padding: 10px; }
    .pconly { display: none; }
    .smartonly{ display: block; }
    .blinking { width: 36px; }
    .imglink { width: 440px; }
    .copyright { width: 960px; }
    #command li a:hover { background: url(../image/base/comks.png) no-repeat; }
    .sentence {
        margin: 0;
        padding: 10px;
        background: url(../image/base/backk.png) repeat; }
    
    .backk {
        font-size: 54px;
        background: url(../image/base/backk.png) repeat;
    }
    
    #topmenu{ display: none; }

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

}
