*{
    margin: 0;
    padding: 0;
}

a{ cursor: pointer; }

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

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

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

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

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

#copybox{
    display: inline-block;
    width: 960px;
    text-align: left;
    background: url(../image/back/copyback.png) no-repeat;
    background-position: top;
}

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

#information {
    width: 900px;
    height: 960px;
    padding: 42px;
}

.letter {
    width: 940px;
    padding: 10px;
    text-align: left;
}

.lbox {
    width: 574px;
    text-align: left;
    float: right;
}

.rbox {
    width: 330px;
    height: 330px;
    margin: 0 15px;
    float: right;
    position: relative;
}

#skelbox {
    width: 330px;
    height: 330px;
    opacity: 0;
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
    transition: 0.5s;
}

#skelbox:hover {
    opacity: 1;
}

.like {
    width: 900px;
    margin: 10px 30px;
    text-align: left;
}

table{
    border: 0;
    text-align: left;
    padding-left: 10px;
}

.selfish th{
    width: 240px;
    color: #FFF;
    background: url(../image/other/thbackg.png) repeat-y;
    padding: 3px 3px 3px 18px;
}

.selfish td{
    width: 360px;
    color: #000;
    font-weight: bold;
    background: url(../image/other/tdbackw.png) repeat-y;
    padding: 3px 3px 3px 18px;
}

input{
    width: 540px;
    height: 30px;
    padding-left: 6px;
    font-size: 90%;
}

textarea{
    width: 580px;
    height: 280px;
    padding: 6px;
    font-size: 90%;
}

button{
    width: 192px;
    height: 70px;
    font-size: 24px;
    font-family: serif;
    color: #FFF;
    border: 0;
    background: url(../image/base/combase.png) no-repeat;
    transition: 0.5s;
}

button:hover{
    background: url(../image/base/comshine.png) no-repeat;
    cursor: pointer;
}

.infobt{
    width: 192px;
    height: 70px;
    font-size: 24px;
    font-family: serif;
    color: #FFF;
    background-color: RBGA(255, 255, 255, 0);
    border: 0;
    background: url(../image/base/combase.png) no-repeat;
    transition: 0.5s;
}

.infobt:hover{
    background: url(../image/base/comshine.png) no-repeat;
    cursor: pointer;
}

.illustbox {
    width: 960px;
    padding: 12px;
}

.list{
    width: 936px;
    height: 100%;
    margin: 12px;
    padding: 12px;
    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;
    border: solid 2px rgba(255,255,255,0);
    font-size: 24px;
    line-height: 46px;
    text-decoration: none;
    color: #FFF;
    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;
    background-size: 100%;
}

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

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

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

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

h2{
    color: #fff;
    font-size: 30px;
    font-weight: bold;
    margin: 20px;
}

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

.subtitle {
    position: relative;
    text-align: center;
    display: inline-block;
    width: 960px;
    height: 75px;
    margin: 20px 0;
    background: url(../image/other/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;
}

#updown {
    float: left;
}

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

h3{ color: #FFF; }


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

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

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

iframe {
    overflow: hidden;
}

.yellow { color: rgb(255, 255, 132); }

.green { color: #7FFF00; }

.pconly { display: block; }
.smartonly { display: none; }
.phrase { display: inline-block; }
.smapro { display: none; }
.copyright { width: 720px; }
.coution { margin: 0 40px; }
.sentence { padding: 0 20px;}

.sentence a{
    color: #FFFF7F;
    text-decoration: none;
}


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

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

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

    #information {
        background: url(../image/base/backk.png) repeat;
        padding: 30px;
    }

    .illustbox {
        padding: 12px 0;
    }

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

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

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

    .letter { width: 916px; }

    .like { margin: 0 auto; }

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

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

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

    .pconly { display: none; }
    .smartonly { display: block; }
    .blinking { width: 36px; }
    .imglink { width: 234px; }
    .copyright { width: 960px; }
    .coution { margin-left: 60px; }
    #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; }
    #updown { margin: 0; }
    
}
